/* ===================================================================
   MICHAEL SCHLOSSER | SENIOR MARKETING MANAGER
   Stylesheet – vollständig variablenbasiert (Design Tokens)
   ===================================================================
   Aufbau dieser Datei:
   1. Fonts (selbst gehostet)
   2. Design Tokens (:root) – Farben, Typografie, Abstände, Formen
   3. Reset & Basis-Elemente
   4. Layout-Utilities
   5. Komponenten (Buttons, Nav, Cards, …)
   6. Sektionen (Hero, Problem, Angebot, Trust, Testimonial, CTA, Footer)
   7. Responsive Breakpoints
   =================================================================== */

/* ===================================================================
   1. FONT LOADING (selbst gehostet – kein Drittanbieter-Request, DSGVO-konform)
   =================================================================== */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v18-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v18-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v18-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v18-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-italic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-italic-500.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ===================================================================
   2. DESIGN TOKENS
   =================================================================== */
:root {

  /* ---------- 2.1 Basisfarben als RGB-Rohwerte ----------
     Grundlage für alle Transparenzstufen weiter unten.
     Wird EINE Markenfarbe geändert, ändern sich automatisch
     alle daraus abgeleiteten Text-, Rahmen- und Flächenfarben. */
  --color-primary-rgb: 36, 59, 77;      /* #243B4D – Ägäis-Blau (Headlines, Text) */
  --color-accent-rgb:  184, 147, 94;    /* #B8935E – Gold (Akzent, CTA) */
  --color-white-rgb:   255, 255, 255;
  --color-bg-rgb:       247, 242, 231;   /* #F7F2E7 – Marmor-Elfenbein (Haupthintergrund) */
  --color-ink-rgb:      10, 31, 61;      /* #0A1F3D – dunkles Marineblau (Anker-Sektionen) */
  --shadow-rgb:         10, 20, 35;      /* dunkles Navy statt reinem Schwarz für wärmere Schatten */

  /* ---------- 2.2 Markenfarben (deckend) ---------- */
  --color-primary:       rgb(var(--color-primary-rgb));
  --color-secondary:     #3E5F71;                          /* mittleres Ägäis-Blau, Reserve */
  --color-accent:        rgb(var(--color-accent-rgb));
  --color-accent-hover:  #9F7743;
  --color-bg:            rgb(var(--color-bg-rgb));
  --color-bg-alt:        #EFE6D2;                          /* helles Steingrau – Alt-Sections */
  --color-white:         rgb(var(--color-white-rgb));
  --color-ink:           rgb(var(--color-ink-rgb));         /* dunkle Bild-/Portrait-Flächen */
  --color-ink-deep:      #071528;                          /* CTA-Hintergrund */
  --color-ink-darker:    #040D19;                          /* Footer-Hintergrund */

  /* ---------- 2.3 Text-Tokens – auf HELLEM Hintergrund ----------
     Eine Opazitäts-Skala auf Basis von --color-primary-rgb.
     Je niedriger die Zahl, desto zurückhaltender die Betonung. */
  --text-heading:     var(--color-primary);                     /* H1–H3, volle Deckkraft */
  --text-body:        rgba(var(--color-primary-rgb), 0.82);     /* Standard-Fließtext */
  --text-body-soft:   rgba(var(--color-primary-rgb), 0.68);     /* Lead-Absätze, Subheadlines */
  --text-muted:       rgba(var(--color-primary-rgb), 0.55);     /* Nav-Links, sekundäre Labels */
  --text-faint:       rgba(var(--color-primary-rgb), 0.42);     /* Datumsangaben, Rollen */
  --text-subtle:      rgba(var(--color-primary-rgb), 0.30);     /* am wenigsten betont */

  /* ---------- 2.4 Text-Tokens – auf DUNKLEM "Ink"-Hintergrund ----------
     Für die bewusst dunklen Ankerbereiche: CTA, Footer, Lightbox. */
  --text-on-ink:         rgba(var(--color-white-rgb), 0.94);
  --text-on-ink-soft:    rgba(var(--color-white-rgb), 0.68);
  --text-on-ink-muted:   rgba(var(--color-white-rgb), 0.42);
  --text-on-ink-subtle:  rgba(var(--color-white-rgb), 0.24);

  /* ---------- 2.5 Flächen & Rahmen – hell ---------- */
  --surface-raised:   var(--color-white);                       /* Cards */
  --surface-hover:    var(--color-bg-alt);
  --surface-muted:    rgba(var(--color-primary-rgb), 0.035);    /* Platzhalter-Flächen */
  --surface-icon:     rgba(var(--color-primary-rgb), 0.06);     /* Icon-Kreise in Cards */

  --border-subtle:    rgba(var(--color-primary-rgb), 0.08);
  --border-default:   rgba(var(--color-primary-rgb), 0.14);
  --border-strong:    rgba(var(--color-primary-rgb), 0.30);

  /* ---------- 2.6 Flächen & Rahmen – auf dunklem "Ink"-Hintergrund ---------- */
  --surface-on-ink:        rgba(var(--color-white-rgb), 0.10);
  --surface-on-ink-hover:  rgba(var(--color-white-rgb), 0.18);
  --border-on-ink:         rgba(var(--color-white-rgb), 0.14);
  --border-on-ink-medium:  rgba(var(--color-white-rgb), 0.20);
  --border-on-ink-strong:  rgba(var(--color-white-rgb), 0.50);

  /* ---------- 2.7 Komponenten-Tokens (nur an 1 Stelle im Einsatz) ---------- */
  --nav-bg:              rgba(var(--color-bg-rgb), 0.90);
  --nav-bg-mobile:       rgba(var(--color-bg-rgb), 0.97);
  --nav-toggle-bar:      rgba(var(--color-primary-rgb), 0.75);
  --icon-bubble-bg:      rgba(var(--color-accent-rgb), 0.18);   /* Problem-Liste Check-Icons */
  --icon-hover-bg:       rgba(var(--color-accent-rgb), 0.16);   /* Card-Icon bei Hover */
  --card-hover-border:   rgba(var(--color-accent-rgb), 0.30);
  --cta-top-border:      rgba(var(--color-accent-rgb), 0.20);
  --lightbox-overlay-bg: rgba(var(--color-ink-rgb), 0.92);
  --hero-overlay:        linear-gradient(160deg, transparent 50%, rgba(var(--color-ink-rgb), 0.45) 100%);

  /* ---------- 2.8 Schatten ---------- */
  --shadow-sm:      0 4px 24px rgba(var(--shadow-rgb), 0.10);   /* Nav beim Scrollen */
  --shadow-md:      0 10px 30px rgba(var(--shadow-rgb), 0.10);  /* Cards, Standard */
  --shadow-lg:      0 20px 45px rgba(var(--shadow-rgb), 0.16);  /* Cards Hover */
  --shadow-badge:   0 8px 24px rgba(var(--shadow-rgb), 0.14);   /* Hero-Badge, Lightbox-Close */
  --shadow-image:   0 20px 60px rgba(var(--shadow-rgb), 0.45);  /* Lightbox-Bild auf dunklem Overlay */

  /* ---------- 2.9 Typografie ---------- */
  --font-headline: 'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;

  /* Fluid Type Scale – passt sich automatisch der Viewport-Breite an.
     clamp(MIN, BEVORZUGT, MAX) – kein Media Query nötig, um Textgrößen anzupassen. */
  --fs-h1:            clamp(2.75rem, 2.05rem + 2.7vw, 4.625rem);   /* ~44–74px */
  --fs-h2:            clamp(2rem, 1.55rem + 1.75vw, 3.25rem);      /* ~32–52px */
  --fs-h3:            clamp(1.25rem, 1.13rem + 0.5vw, 1.625rem);   /* ~20–26px */
  --fs-lead:          clamp(1rem, 0.93rem + 0.3vw, 1.1875rem);     /* ~16–19px */
  --fs-hero-sub:      clamp(1rem, 0.93rem + 0.25vw, 1.125rem);     /* ~16–18px */
  --fs-testimonial:   clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem);   /* ~22–34px */
  --fs-cta-headline:  clamp(2.25rem, 1.6rem + 2.6vw, 3.625rem);    /* ~36–58px */
  --fs-body:          1.0625rem;   /* 17px – Basis-Fließtext */
  --fs-small:         0.9375rem;   /* 15px – Card-Text, Buttons */
  --fs-label:         0.6875rem;   /* 11px – Eyebrows/Section-Labels */
  --fs-nav-link:      0.8125rem;   /* 13px */
  --fs-caption:       0.875rem;    /* 14px – Rollen, Bildunterschriften */

  --lh-tight:   1.15;
  --lh-snug:    1.4;
  --lh-normal:  1.65;
  --lh-relaxed: 1.7;

  /* ---------- 2.10 Abstände (Spacing-Skala) ---------- */
  --space-3xs: 0.25rem;  /* 4px */
  --space-2xs: 0.5rem;   /* 8px */
  --space-xs:  0.75rem;  /* 12px */
  --space-sm:  1rem;     /* 16px */
  --space-md:  1.25rem;  /* 20px */
  --space-lg:  1.75rem;  /* 28px */
  --space-xl:  2.25rem;  /* 36px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-fluid: clamp(2.5rem, 1.4rem + 4vw, 5rem);  /* Grid-Gaps, 40–80px */

  --max-w:        1280px;
  --section-gap:  140px;
  --nav-height:   68px;
  --nav-blur:     16px;
  --hero-top-space: 80px;
  --hero-min-height: 860px;

  /* ---------- 2.11 Radien (Formen) ---------- */
  --radius-sm:   8px;
  --radius-md:   10px;
  --radius-lg:   14px;   /* Cards */
  --radius-xl:   16px;   /* Bild-Container */
  --radius-full: 50%;

  /* ---------- 2.12 Icon-/Element-Größen (Formen) ---------- */
  --icon-dot:   8px;    /* Stationen-Punkte */
  --icon-sm:    22px;   /* Problem-Liste Check-Icons */
  --icon-md:    40px;   /* Hero-Badge-Icon */
  --icon-lg:    56px;   /* Card-Icon-Kreise */
  --icon-close: 44px;   /* Lightbox-Schließen-Button */

  /* ---------- 2.13 Bild-Seitenverhältnisse ---------- */
  --ratio-hero-img:            4 / 5;
  --ratio-hero-img-mobile:     4 / 3;
  --ratio-problem-img:         1 / 1;
  --ratio-problem-img-mobile:  16 / 9;
  --ratio-portrait:            5 / 4;

  /* ---------- 2.14 Bewegung ---------- */
  --transition:         0.25s ease;
  --transition-slow:    0.4s ease-out;
  --transition-reveal:  0.65s ease;
}

/* ===================================================================
   3. RESET & BASIS-ELEMENTE
   =================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===================================================================
   4. LAYOUT-UTILITIES
   =================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-fluid);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

section {
  padding-block: var(--section-gap);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border-default);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: block;
}

/* ===================================================================
   5. TYPOGRAFIE
   =================================================================== */
h1, h2, h3 {
  font-family: var(--font-headline);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: var(--lh-tight);
  color: var(--text-heading);
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-md);
  font-weight: 400;
  color: var(--text-body);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-body-soft);
}

/* ===================================================================
   6. BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

/* Sekundär-Button auf hellem Hintergrund (Hero, etc.) */
.btn-secondary {
  background: transparent;
  color: var(--text-body-soft);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-icon);
  color: var(--text-heading);
  border-color: rgba(var(--color-primary-rgb), 0.6);
}

/* Sekundär-Button auf dunklem "Ink"-Hintergrund (CTA-Sektion) */
.btn-secondary-light {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--border-on-ink-strong);
}

.btn-secondary-light:hover {
  background: var(--surface-on-ink);
  border-color: var(--color-white);
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* ===================================================================
   7. STICKY NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--fs-nav-link);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-cta {
  font-size: var(--fs-nav-link);
  padding: var(--space-sm) var(--space-md);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--nav-toggle-bar);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-md) clamp(20px, 5vw, 80px) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  gap: 4px;
  background: var(--nav-bg-mobile);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--text-body-soft);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--color-accent);
}

/* ===================================================================
   8. SCROLL-ANIMATION (Reveal-on-Scroll)
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================================
   9. SEKTION 01 — HERO
   =================================================================== */
#hero {
  padding-top: calc(var(--nav-height) + var(--hero-top-space));
  padding-bottom: var(--section-gap);
  background: var(--color-bg);
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-fluid);
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--color-accent);
}

.hero-eyebrow-text {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-headline {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--text-heading);
  margin-bottom: 0;
}

.hero-headline em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-sub {
  margin-top: var(--space-lg);
  font-size: var(--fs-hero-sub);
  line-height: var(--lh-relaxed);
  color: var(--text-body-soft);
  max-width: 480px;
}

.hero-right {
  display: flex;
  justify-content: center; /* oder: flex-end, falls rechtsbündig gewünscht */
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: var(--ratio-hero-img);
  background: var(--color-ink);
  max-width: 450px;   /* ← neu: begrenzt die Bildgröße */
  width: 100%;        /* ← neu: bleibt auf kleinen Screens flexibel */
}

/* Bild füllt den Container komplett aus */
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-badge);
}

.hero-badge-icon {
  width: var(--icon-md);
  height: var(--icon-md);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--text-muted);
  line-height: var(--lh-snug);
}

.hero-badge-text strong {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-primary);
}

/* ===================================================================
   10. SEKTION 02 — PROBLEM
   =================================================================== */
#problem {
  background: var(--color-bg-alt);
}

.problem-img-wrap {
  aspect-ratio: var(--ratio-problem-img);
  background: var(--surface-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Bild füllt den Container komplett aus (ersetzt vorheriges inline style="…") */
.problem-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-text {
  max-width: 520px;
}

.problem-list {
  list-style: none;
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-body);
  color: var(--text-body-soft);
  line-height: var(--lh-snug);
}

.problem-list-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: var(--icon-sm);
  height: var(--icon-sm);
  border-radius: var(--radius-full);
  background: var(--icon-bubble-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fußnotentext unter der Problem-Liste (ersetzt vorheriges inline style="…") */
.problem-footnote {
  margin-top: var(--space-lg);
  color: var(--text-muted);
}

/* ===================================================================
   11. SEKTION 03 — ANGEBOT / KOMPETENZEN
   =================================================================== */
#angebot {
  background: var(--color-bg);
}

.angebot-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.angebot-header .lead {
  color: var(--text-body-soft);
}

.card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
}

.card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: var(--icon-lg);
  height: var(--icon-lg);
  border-radius: var(--radius-full);
  background: var(--surface-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: background var(--transition);
}

.card:hover .card-icon {
  background: var(--icon-hover-bg);
}

.card:hover .card-icon svg {
  stroke: var(--color-accent);
}

.card-icon svg {
  transition: stroke var(--transition);
  stroke: var(--text-muted);
}

.card h3 {
  font-size: var(--fs-h3);
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--text-body-soft);
  margin-bottom: 0;
}

/* ===================================================================
   12. SEKTION 04 — TRUST / ERFAHRUNG
   =================================================================== */
#trust {
  background: var(--color-bg-alt);
}

.trust-img-wrap {
  position: relative;
}

.trust-portrait {
  width: 100%;
  aspect-ratio: var(--ratio-portrait);
  border-radius: var(--radius-xl);
  background: var(--color-ink);
  border: 1px solid var(--border-on-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* Bild füllt den Container komplett aus, Zoom-Effekt bleibt erhalten */
.trust-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
  transform-origin: center center;
}

.trust-portrait:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Pan-Zoom beim Hover: nur auf Geräten mit echter Maus (Desktop) */
@media (hover: hover) and (pointer: fine) {
  .trust-portrait:hover img {
    transform: scale(1.60);
  }
}

.trust-stations {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.trust-station {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.trust-station-dot {
  flex-shrink: 0;
  margin-top: 6px;
  width: var(--icon-dot);
  height: var(--icon-dot);
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

.trust-station-info strong {
  display: block;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-heading);
}

.trust-station-info span {
  font-size: var(--fs-caption);
  color: var(--text-faint);
}

/* ===================================================================
   13. LIGHTBOX / BILD-POPUP (Fallback für Touch-Geräte)
   =================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: var(--lightbox-overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-overlay.open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-image);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: var(--icon-close);
  height: var(--icon-close);
  border-radius: var(--radius-full);
  background: var(--surface-on-ink);
  border: 1px solid var(--border-on-ink-medium);
  color: var(--color-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.lightbox-close:hover {
  background: var(--surface-on-ink-hover);
}

/* ===================================================================
   14. SEKTION 05 — TESTIMONIAL
   =================================================================== */
#testimonial {
  background: var(--color-bg);
}

.testimonial-inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.testimonial-quote-mark {
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
}

.testimonial-text {
  font-family: var(--font-headline);
  font-size: var(--fs-testimonial);
  font-style: italic;
  font-weight: 400;
  line-height: var(--lh-relaxed);
  color: var(--text-heading);
  margin-bottom: var(--space-xl);
}

.testimonial-divider {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3xs);
}

.testimonial-author-name {
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--text-heading);
}

.testimonial-author-role {
  font-size: var(--fs-caption);
  color: var(--text-faint);
}

/* ===================================================================
   15. SEKTION 06 — CTA / ABSCHLUSS
   Bewusst dunkler "Ink"-Hintergrund als Kontrastanker zum hellen Rest
   der Seite + goldene Trennlinie oben zur Abgrenzung.
   =================================================================== */
#cta {
  background: var(--color-ink-deep);
  border-top: 1px solid var(--cta-top-border);
  padding-block: var(--section-gap);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-fluid);
  align-items: center;
}

.cta-text {
  max-width: 520px;
}

.cta-eyebrow {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-md);
}

.cta-headline {
  font-family: var(--font-headline);
  font-size: var(--fs-cta-headline);
  color: var(--color-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
}

.cta-sub {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--text-on-ink-soft);
  margin-bottom: 0;
}

/* ===================================================================
   16. FOOTER
   =================================================================== */
footer {
  background: var(--color-ink-darker);
  padding: var(--space-lg) clamp(20px, 5vw, 80px);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--fs-caption);
  color: var(--text-on-ink-subtle);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-links a {
  font-size: var(--fs-caption);
  color: var(--text-on-ink-subtle);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-on-ink-soft);
}

/* ===================================================================
   17. RESPONSIVE — MOBILE FIRST BREAKPOINTS
   =================================================================== */
@media (max-width: 960px) {
  :root {
    --section-gap: 100px;
  }

  .hero-content,
  .grid-2,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: var(--space-2xl);
  }

  .hero-img-wrap {
    aspect-ratio: var(--ratio-hero-img-mobile);
    max-height: 480px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .problem-img-wrap {
    aspect-ratio: var(--ratio-problem-img-mobile);
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 64px;
  }

  .hero-badge {
    display: none;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================================================
   18. BARRIEREFREIHEIT — Reduced Motion
   Respektiert die Systemeinstellung "Bewegung reduzieren".
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .trust-portrait img {
    transition: none;
  }
}
