/*
Theme Name: Medibridge-Maghreb
Theme URI: https://medibridge-maghreb.de
Author: Medibridge-Maghreb GmbH
Author URI: https://medibridge-maghreb.de
Description: Professionelles WordPress-Theme für Medibridge-Maghreb – spezialisierter Partner für die Vermittlung von Pflegefachkräften aus Marokko nach Deutschland. Modernes, responsives Design mit Emerald-Farbschema.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medibridge
Tags: healthcare, business, one-page, responsive, custom-colors, custom-logo, full-width-template, blog
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-emerald-50:  #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-200: #a7f3d0;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-slate-50:    #f8fafc;
  --color-slate-100:   #f1f5f9;
  --color-slate-200:   #e2e8f0;
  --color-slate-400:   #94a3b8;
  --color-slate-500:   #64748b;
  --color-slate-600:   #475569;
  --color-slate-700:   #334155;
  --color-slate-900:   #0f172a;
  --color-white:       #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;
  --radius-2xl: 2.5rem;
  --radius-3xl: 3rem;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
  --shadow-emerald: 0 10px 30px -5px rgb(5 150 105 / .3);

  --transition: 200ms ease;
  --max-width: 80rem;
  --container-px: clamp(1rem, 4vw, 2rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-slate-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-slate-900);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 2rem 0 1rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.entry-content a { color: var(--color-emerald-600); text-decoration: underline; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}
.site-wrapper { overflow: hidden; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-100);
  transition: box-shadow var(--transition);
}
#masthead.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo .logo-icon {
  background: var(--color-emerald-600);
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.site-logo .logo-icon svg { width: 1.375rem; height: 1.375rem; color: #fff; }
.site-logo .logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-slate-900);
}
.site-logo .logo-text span { color: var(--color-emerald-600); }
.custom-logo { height: 2.5rem; width: auto; }

/* Desktop nav */
.primary-navigation { display: none; }
@media (min-width: 768px) {
  .primary-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.primary-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.primary-navigation .nav-menu a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-slate-600);
  transition: color var(--transition);
}
.primary-navigation .nav-menu a:hover,
.primary-navigation .nav-menu .current-menu-item > a,
.primary-navigation .nav-menu .current_page_item > a { color: var(--color-emerald-600); }

.nav-cta {
  display: none;
  background: var(--color-slate-900);
  color: var(--color-white) !important;
  padding: .625rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--transition) !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--color-slate-700) !important; }
@media (min-width: 768px) { .nav-cta { display: inline-block; } }

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: none; background: none;
  cursor: pointer;
  color: var(--color-slate-600);
  border-radius: var(--radius-sm);
}
.menu-toggle:hover { background: var(--color-slate-100); }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }
.icon-close { display: none; }
.menu-toggle.is-active .icon-open  { display: none; }
.menu-toggle.is-active .icon-close { display: block; }

/* Mobile nav drawer */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--color-slate-100);
  background: var(--color-white);
  padding: .5rem 0 1.5rem;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu .nav-menu a {
  display: block;
  padding: 1rem calc(var(--container-px));
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-slate-700);
  border-bottom: 1px solid var(--color-slate-50);
}
.mobile-menu .nav-cta-wrap { padding: 1rem var(--container-px) 0; }
.mobile-menu .nav-cta {
  display: block !important;
  text-align: center;
  background: var(--color-emerald-600) !important;
  border-radius: var(--radius-md) !important;
  padding: .875rem !important;
  font-size: 1rem !important;
}

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */
.page-header-wrap {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}
.page-header-wrap h1 { margin-bottom: .5rem; }
.page-header-wrap .page-description {
  font-size: 1.25rem;
  color: var(--color-slate-600);
  max-width: 42rem;
  margin-inline: auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  padding-top: clamp(7rem, 15vw, 12rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
}
.hero-blob-1,
.hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  top: -10%; left: -10%;
  width: 40%; height: 40%;
  background: var(--color-emerald-50);
  opacity: .6;
}
.hero-blob-2 {
  bottom: -10%; right: -10%;
  width: 40%; height: 40%;
  background: #eff6ff;
  opacity: .6;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .875rem;
  border-radius: 9999px;
  background: var(--color-emerald-50);
  border: 1px solid var(--color-emerald-100);
  color: var(--color-emerald-700);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.hero-badge svg { width: .875rem; height: .875rem; }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-slate-900);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--color-emerald-600);
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  line-height: 1.75;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* Hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-emerald-600);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.0625rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-emerald);
  text-decoration: none;
}
.btn-primary:hover { background: var(--color-emerald-700); }
.btn-primary svg { width: 1.25rem; height: 1.25rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-white);
  color: var(--color-slate-900);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.0625rem;
  font-weight: 600;
  border: 1px solid var(--color-slate-200);
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.btn-secondary:hover { background: var(--color-slate-50); }

/* Hero avatars */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  object-fit: cover;
  margin-right: -.75rem;
}
.trust-text { font-size: .875rem; color: var(--color-slate-500); }
.trust-text strong { color: var(--color-slate-900); font-weight: 700; }

/* Hero image */
.hero-image-wrap {
  position: relative;
}
.hero-image-inner {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-2xl);
}
.hero-image-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.4), transparent);
}
.hero-badge-float {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-slate-100);
  display: flex;
  align-items: center;
  gap: 1rem;
  display: none;
}
@media (min-width: 640px) { .hero-badge-float { display: flex; } }
.hero-badge-float .icon-wrap {
  background: var(--color-emerald-100);
  padding: .75rem;
  border-radius: .75rem;
}
.hero-badge-float .icon-wrap svg { width: 1.5rem; height: 1.5rem; color: var(--color-emerald-600); }
.hero-badge-float strong { display: block; font-size: 1.375rem; font-weight: 800; color: var(--color-slate-900); }
.hero-badge-float span { font-size: .625rem; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; color: var(--color-slate-500); }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--color-emerald-600);
  margin-bottom: 1rem;
}
.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-slate-900);
  letter-spacing: -0.025em;
}
.section-subheading {
  font-size: 1.0625rem;
  color: var(--color-slate-600);
  line-height: 1.7;
  margin-top: .75rem;
  max-width: 42rem;
}
.section-center { text-align: center; margin-inline: auto; max-width: 48rem; }

/* ============================================================
   SERVICES SECTION (Dienstleistungen Überblick)
   ============================================================ */
.services-overview-section {
  padding: 6rem 0;
  background: var(--color-slate-50);
}
.services-overview-section .header { margin-bottom: 5rem; }

.feature-cards {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .feature-cards { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-slate-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--color-emerald-200);
  box-shadow: 0 20px 40px -8px rgba(5,150,105,.07);
}
.feature-card .card-icon {
  background: var(--color-slate-50);
  width: 3.5rem; height: 3.5rem;
  border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}
.feature-card:hover .card-icon { background: var(--color-emerald-600); }
.feature-card .card-icon svg { width: 1.75rem; height: 1.75rem; color: var(--color-emerald-600); transition: color var(--transition); }
.feature-card:hover .card-icon svg { color: var(--color-white); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.feature-card p { color: var(--color-slate-600); line-height: 1.7; margin: 0; }

/* ============================================================
   PROCESS SECTION (Home)
   ============================================================ */
.process-home-section { padding: 6rem 0; }
.process-home-grid {
  display: grid;
  gap: 5rem;
  align-items: center;
}
@media (min-width: 1024px) { .process-home-grid { grid-template-columns: 1fr 1fr; } }

.process-steps { margin-top: 3rem; }
.process-step {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-bottom: 3rem;
}
.process-step::before {
  content: '';
  position: absolute;
  left: 1.375rem;
  top: 3rem;
  bottom: 0;
  width: 1px;
  background: var(--color-slate-200);
  transition: background var(--transition);
}
.process-step:last-child { padding-bottom: 0; }
.process-step:last-child::before { display: none; }
.step-number {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--color-slate-200);
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--color-slate-400);
  font-size: .875rem;
  transition: border-color var(--transition), color var(--transition);
  position: relative; z-index: 1;
}
.process-step:hover .step-number {
  border-color: var(--color-emerald-600);
  color: var(--color-emerald-600);
}
.step-content h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step-content p { color: var(--color-slate-600); margin: 0; line-height: 1.7; max-width: 24rem; }

/* Why card */
.why-card {
  background: var(--color-emerald-600);
  border-radius: var(--radius-3xl);
  padding: 3rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.why-card .bg-icon {
  position: absolute;
  top: 0; right: 0;
  padding: 2rem;
  opacity: .08;
}
.why-card .bg-icon svg { width: 12rem; height: 12rem; }
.why-card h4 { font-size: 1.75rem; margin-bottom: 2rem; line-height: 1.3; }
.why-list { list-style: none; padding: 0; margin-bottom: 3rem; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.why-list li:last-child { margin-bottom: 0; }
.why-list li .check {
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  padding: .25rem;
  flex-shrink: 0;
  margin-top: .125rem;
}
.why-list li .check svg { width: 1rem; height: 1rem; }
.why-divider { border: none; border-top: 1px solid rgba(255,255,255,.2); margin: 2.5rem 0; }
.why-quote { display: flex; align-items: center; gap: 1rem; }
.why-quote .quote-icon {
  background: rgba(255,255,255,.1);
  padding: 1rem;
  border-radius: .875rem;
}
.why-quote .quote-icon svg { width: 2rem; height: 2rem; }
.why-quote blockquote {
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 700;
  margin: 0;
}
.why-quote cite { display: block; font-size: .8125rem; color: var(--color-emerald-200); font-style: normal; margin-top: .25rem; }

/* ============================================================
   MISSION QUOTE SECTION (Home)
   ============================================================ */
.mission-section { padding: 6rem 0; background: var(--color-white); }
.mission-card {
  background: var(--color-slate-50);
  border-radius: var(--radius-3xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.mission-card .bg-icon {
  position: absolute;
  top: 0; right: 0;
  padding: 2rem;
  opacity: .04;
}
.mission-card .bg-icon svg { width: 12rem; height: 12rem; color: var(--color-slate-900); }
.mission-stars { display: flex; gap: .25rem; margin-bottom: 1.5rem; }
.mission-stars span {
  width: 1.25rem; height: 1.25rem;
  background: var(--color-emerald-500);
  border-radius: .25rem;
  display: block;
}
.mission-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-slate-900);
  line-height: 1.5;
  max-width: 40rem;
  margin-bottom: 2rem;
}
.mission-author { display: flex; align-items: center; gap: 1rem; }
.mission-author .icon-wrap {
  background: var(--color-emerald-600);
  padding: .75rem;
  border-radius: .75rem;
}
.mission-author .icon-wrap svg { width: 1.5rem; height: 1.5rem; color: var(--color-white); }
.mission-author strong { display: block; color: var(--color-slate-900); font-weight: 700; }
.mission-author span { font-size: .875rem; color: var(--color-slate-500); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 6rem 0;
  background: var(--color-slate-900);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16,185,129,.12) 0%, transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  gap: 5rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info .section-label { color: var(--color-emerald-500); }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3.125rem); color: var(--color-white); margin-bottom: 1.5rem; }
.contact-info p { color: var(--color-slate-400); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 3rem; }

.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1.5rem; }
.contact-item .ci-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: .875rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 1.5rem; height: 1.5rem; color: var(--color-emerald-500); }
.contact-item .ci-label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-slate-500);
  margin-bottom: .25rem;
  display: block;
}
.contact-item .ci-value { font-size: 1.125rem; font-weight: 500; }

/* Contact form card */
.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-2xl);
  color: var(--color-slate-900);
}
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.form-group:last-of-type { margin-bottom: 2rem; }
.form-label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-slate-500);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  color: var(--color-slate-900);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.form-textarea { resize: vertical; min-height: 7rem; }
.btn-submit {
  width: 100%;
  background: var(--color-emerald-600);
  color: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  font-size: 1.0625rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  box-shadow: 0 8px 24px -4px rgba(5,150,105,.3);
}
.btn-submit:hover { background: var(--color-emerald-700); }

/* WordPress form fallback (Contact Form 7, WPForms) */
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea { margin-bottom: .5rem; }
.wpcf7-submit { background: var(--color-emerald-600) !important; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page { padding-top: 8rem; padding-bottom: 6rem; }
.service-cards {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px)  { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-slate-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: 0 20px 40px -8px rgba(5,150,105,.07); }
.service-card .card-icon {
  background: var(--color-emerald-50);
  width: 4rem; height: 4rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  transition: background var(--transition);
}
.service-card:hover .card-icon { background: var(--color-emerald-600); }
.service-card .card-icon svg { width: 2rem; height: 2rem; color: var(--color-emerald-600); transition: color var(--transition); }
.service-card:hover .card-icon svg { color: var(--color-white); }
.service-card h3 { font-size: 1.375rem; margin-bottom: 1rem; }
.service-card p { color: var(--color-slate-600); margin-bottom: 2rem; line-height: 1.7; }
.service-card ul { margin: 0; }
.service-card ul li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--color-slate-500);
  padding: .4rem 0;
}
.service-card ul li::before {
  content: '';
  width: .375rem; height: .375rem;
  border-radius: 50%;
  background: var(--color-emerald-500);
  flex-shrink: 0;
}

/* ============================================================
   PROCESS PAGE
   ============================================================ */
.process-page { padding-top: 8rem; padding-bottom: 6rem; background: rgba(248,250,252,.3); }
.process-steps-full { max-width: 52rem; margin: 4rem auto 0; }
.process-step-full {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-bottom: 5rem;
}
.process-step-full:last-child { padding-bottom: 0; }
.process-step-full .step-line {
  position: absolute;
  left: 1.5rem;
  top: 4rem;
  bottom: 0;
  width: 1px;
  background: var(--color-slate-200);
}
.process-step-full:last-child .step-line { display: none; }
.step-num-badge {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  background: var(--color-emerald-600);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-emerald);
  position: relative; z-index: 1;
}
.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: box-shadow var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); }
.step-card h3 { font-size: 1.375rem; margin-bottom: 1rem; }
.step-card p { color: var(--color-slate-600); margin-bottom: 1.5rem; line-height: 1.7; }
.step-details {
  display: grid;
  gap: .75rem;
}
@media (min-width: 640px) { .step-details { grid-template-columns: 1fr 1fr; } }
.step-detail {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: var(--color-slate-500);
}
.step-detail svg { width: 1rem; height: 1rem; color: var(--color-emerald-500); flex-shrink: 0; }

.process-cta {
  margin-top: 3rem;
  background: var(--color-emerald-600);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  color: var(--color-white);
}
.process-cta h3 { font-size: 1.5rem; color: var(--color-white); margin-bottom: 1rem; }
.process-cta p { color: rgba(255,255,255,.85); max-width: 36rem; margin-inline: auto; margin-bottom: 2rem; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-white);
  color: var(--color-emerald-600);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  box-shadow: 0 20px 40px -8px rgba(5,150,105,.3);
}
.btn-white:hover { background: var(--color-emerald-50); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page { padding-top: 8rem; padding-bottom: 6rem; }
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.about-meta-item { display: flex; align-items: center; gap: 1rem; }
.about-meta-item .meta-icon {
  background: var(--color-emerald-100);
  padding: .75rem;
  border-radius: .75rem;
}
.about-meta-item .meta-icon svg { width: 1.5rem; height: 1.5rem; color: var(--color-emerald-600); }
.about-meta-item strong { display: block; color: var(--color-slate-900); font-weight: 700; }
.about-meta-item span { font-size: .875rem; color: var(--color-slate-500); }

.about-image-wrap {
  position: relative;
}
.about-image-inner {
  border-radius: var(--radius-3xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-2xl);
}
.about-image-inner img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute;
  bottom: -2rem; right: -2rem;
  background: var(--color-emerald-600);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  color: var(--color-white);
  box-shadow: var(--shadow-xl);
  display: none;
}
@media (min-width: 640px) { .about-badge-float { display: block; } }
.about-badge-float strong { display: block; font-size: 2.5rem; font-weight: 800; }
.about-badge-float span { font-size: .6875rem; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; color: var(--color-emerald-100); }

/* Values */
.values-section { margin-bottom: 6rem; }
.values-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-slate-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); }
.value-card .card-icon {
  background: var(--color-emerald-50);
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.value-card .card-icon svg { width: 1.75rem; height: 1.75rem; color: var(--color-emerald-600); }
.value-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.value-card p { color: var(--color-slate-600); margin: 0; line-height: 1.7; }

/* Vision */
.vision-card {
  background: var(--color-slate-900);
  border-radius: var(--radius-3xl);
  padding: clamp(3rem, 6vw, 5rem);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.vision-card .bg-icon {
  position: absolute;
  top: 0; right: 0;
  padding: 3rem;
  opacity: .04;
}
.vision-card .bg-icon svg { width: 12rem; height: 12rem; }
.vision-card h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--color-white); margin-bottom: 2rem; position: relative; z-index: 1; }
.vision-card p { color: var(--color-slate-400); line-height: 1.8; font-size: 1.0625rem; position: relative; z-index: 1; }

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz, AGB, Cookie)
   ============================================================ */
.legal-page { padding-top: 8rem; padding-bottom: 6rem; }
.legal-content { max-width: 52rem; }
.legal-content h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 3rem; }
.legal-content section { margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.375rem; margin-bottom: 1rem; color: var(--color-slate-900); }
.legal-content h3 { font-size: 1.125rem; margin-bottom: .75rem; color: var(--color-slate-900); }
.legal-content p { color: var(--color-slate-600); line-height: 1.8; margin-bottom: .875rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { color: var(--color-slate-600); margin-bottom: .5rem; line-height: 1.7; }
.legal-content a { color: var(--color-emerald-600); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--color-slate-50);
  border-top: 1px solid var(--color-slate-200);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.footer-brand .logo-icon {
  background: var(--color-emerald-600);
  width: 2.25rem; height: 2.25rem;
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .logo-icon svg { width: 1.25rem; height: 1.25rem; color: var(--color-white); }
.footer-brand .logo-text {
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.025em; color: var(--color-slate-900);
}
.footer-brand .logo-text span { color: var(--color-emerald-600); }
.footer-brand p { color: var(--color-slate-500); font-size: .9375rem; max-width: 22rem; line-height: 1.7; margin: 0; }

.footer-col h4 {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-slate-900);
  margin-bottom: 1.5rem;
}
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul a {
  font-size: .9375rem;
  color: var(--color-slate-500);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-emerald-600); }

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-slate-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: .875rem; color: var(--color-slate-400); margin: 0; }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.blog-page { padding-top: 8rem; padding-bottom: 6rem; }
.posts-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-slate-100);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card .post-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card .post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card .post-body { padding: 1.5rem; }
.post-card .post-date {
  font-size: .75rem;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.post-card h2 { font-size: 1.125rem; margin-bottom: .75rem; }
.post-card h2 a { color: var(--color-slate-900); transition: color var(--transition); }
.post-card h2 a:hover { color: var(--color-emerald-600); }
.post-card .post-excerpt { color: var(--color-slate-500); font-size: .9375rem; line-height: 1.65; margin: 0; }

/* Single post */
.single-post { padding-top: 8rem; padding-bottom: 6rem; }
.post-layout { max-width: 52rem; margin-inline: auto; }
.post-layout .post-header { margin-bottom: 3rem; }
.post-layout .post-header h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.post-layout .post-meta { font-size: .875rem; color: var(--color-slate-400); }
.post-layout .post-featured-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
}
.entry-content { color: var(--color-slate-700); line-height: 1.8; font-size: 1.0625rem; }
.entry-content p { margin-bottom: 1.5rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 4rem; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: .5rem;
  border: 1px solid var(--color-slate-200);
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-slate-700);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--color-emerald-50); border-color: var(--color-emerald-300); color: var(--color-emerald-700); }
.pagination .current { background: var(--color-emerald-600); border-color: var(--color-emerald-600); color: var(--color-white); }

/* ============================================================
   ACCESSIBILITY & FOCUS
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-emerald-500);
  outline-offset: 2px;
}
.screen-reader-text {
  position: absolute;
  clip: rect(1px,1px,1px,1px);
  overflow: hidden;
  height: 1px; width: 1px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-0 { margin-top: 0 !important; }
.text-emerald { color: var(--color-emerald-600); }

/* ============================================================
   ANIMATIONS (no JS fallback: always visible)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .animate-fade-up {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity .6s ease, transform .6s ease;
  }
  .animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
