/* ==========================================================================
   apollo consulting — Komponenten-Ebene

   Setzt auf css/tokens.css auf. HIER STEHT KEIN HEX-WERT.
   Alles zieht aus den semantischen Tokens (--text-*, --surface-*, --btn-*).

   Aufbau:
     1  Reset & Grundtypografie
     2  Layout: Container, Sektions-Tiers, Naht-Kollaps
     3  Buttons
     4  Header & Navigation
     5  Karten
     6  Bausteine: Capsule, Badges, Testimonial, Logo-Leiste, FAQ
     7  Kontaktleiste (Desktop)
     8  Footer
     9  Cookie-Banner
    10  Bewegung & Reduced Motion

   Layout-Regeln, die nicht wegdiskutiert werden (Herkunft: SEOGEO
   LAYOUT-STANDARD.md, siehe ~/.claude/skills/website-bauen/references/
   bau-stolpersteine.md Abschnitt A):
     - EIN Sektionsrhythmus ueber --section-pad, keine Sonderwerte
     - gleichfarbige Naehte kollabieren auf --section-pad-seam
     - Lesebreite klassen-gezielt kappen, nie als Blanket-Regel
     - kein horizontaler Ueberlauf, in keiner Ansicht
   ========================================================================== */

/* ── 1 · Reset & Grundtypografie ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  /* clip statt hidden: hidden wuerde position:sticky brechen (Sticky-Stack mobil) */
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  color: var(--text-heading);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: 3px; }

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }
li { margin-bottom: var(--space-2); }

strong, b { font-weight: var(--fw-semibold); color: var(--text-heading); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: var(--space-3) var(--space-5);
  background: var(--surface-dark); color: var(--text-on-dark);
  font-family: var(--font-heading); font-weight: var(--fw-semibold);
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 2 · Layout ──────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-md { max-width: var(--container-md); }

.section { padding-block: var(--section-pad); }
.section-light { background: var(--surface-subtle); }
.section-dark  { background: var(--surface-dark); color: var(--text-on-dark); }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-inverse); }
.section-dark strong { color: var(--text-inverse); }
/* Buttons ausnehmen: sonst faerbt die Link-Regel den Text auf dem Signal-Button
   gelbgruen — gemessen 1,63:1 auf Gruen. Buttons tragen ihre eigene Farbe. */
.section-dark a:not(.btn) { color: var(--color-accent-hi); }
.section-dark a:not(.btn):hover { color: var(--text-inverse); }

/* Gleichfarbige Naehte kollabieren — sonst addieren sich zwei volle Paddings
   zu einem leeren Doppelband. Je Farb-Tier ein Selektorpaar. */
.section-dark + .section-dark,
.section-light + .section-light,
.section:not(.section-light):not(.section-dark) + .section:not(.section-light):not(.section-dark) {
  padding-top: var(--section-pad-seam);
}
.section-dark:has(+ .section-dark),
.section-light:has(+ .section-light),
.section:not(.section-light):not(.section-dark):has(+ .section:not(.section-light):not(.section-dark)) {
  padding-bottom: var(--section-pad-seam);
}

/* Lesebreite — klassen-gezielt, NIE als .container > p Pauschalregel
   (die verschiebt kurze zentrierte Zeilen nach links) */
.section-intro,
.prose p,
.block-text { max-width: var(--measure); }
.section-intro-center { max-width: 68ch; margin-inline: auto; text-align: center; }

.section-head { margin-bottom: var(--space-7); }
.eyebrow {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--fs-overline);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--color-brand);
}
.section-dark .eyebrow { color: var(--color-accent-hi); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Marken-Hairline als Trenner — der Verlauf ist Akzent, nie Flaeche */
.hairline { height: 4px; background: var(--ac-gradient); border: 0; margin: 0; }

/* ── 3 · Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-3);
  min-height: 48px;                 /* Touch-Target */
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: var(--fw-semibold);
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primaer auf hellem Grund: Petrol + Weiss = 5,99:1 */
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn-primary:hover { background: var(--btn-primary-bg-hover); color: var(--btn-primary-text); box-shadow: var(--shadow-md); }

/* Sekundaer auf hellem Grund */
.btn-secondary { background: transparent; color: var(--color-brand-strong); border-color: var(--border-default); }
.btn-secondary:hover { background: var(--surface-subtle); color: var(--color-brand-strong); border-color: var(--color-brand); }

/* Signal-Button: Gruen traegt NUR dunkle Schrift (7,61:1). Weiss auf Gruen = 2,38:1, gesperrt.
   Das ist der auffaellige CTA. Globale Regel, ohne Ausnahme:
       dunkler Sektionsgrund  → Signal-Gruen mit dunkler Schrift
       heller Sektionsgrund   → Marken-Petrol mit weisser Schrift
   Farbe folgt dem Hintergrund, nicht dem Inhalt. */
.btn-accent { background: var(--btn-accent-bg); color: var(--btn-accent-text); font-weight: var(--fw-bold); }
.btn-accent:hover { background: var(--ac-lime); color: var(--btn-accent-text); box-shadow: 0 12px 32px rgba(116,185,89,.35); }

/* Ghost auf dunklem Grund — die Hero-Variante der Design-Vorlage */
.btn-ghost {
  background: transparent; color: var(--text-inverse);
  border-color: var(--btn-ghost-border);
  padding: 10px 10px 10px var(--space-6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: var(--btn-ghost-bg-hover); color: var(--text-inverse); }
/* Pfeilkreis: der einzige Ort, an dem der Verlauf im Button auftaucht */
.btn-ghost .btn-arrow,
.btn .btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none;
  border-radius: var(--radius-pill);
  background: var(--ac-gradient-diag);
  color: var(--ac-white);
}
.btn-primary .btn-arrow { background: rgba(255,255,255,.18); }
/* Signal-Button: dunkler Kreis statt Verlauf — Gruen auf Gruen verschwindet. */
.btn-accent .btn-arrow { background: var(--ac-black); color: var(--ac-white); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.cta-note { font-size: var(--fs-body-sm); color: var(--text-muted-aa); margin: var(--space-3) 0 0; }
.section-dark .cta-note { color: var(--text-on-dark-muted); }

/* ── 4 · Header & Navigation ─────────────────────────────────────────────── */

.site-header {
  position: absolute; inset-inline: 0; top: 0; z-index: 50;
  background: transparent;
}
/* Auf Seiten ohne dunklen Hero traegt der Header selbst die dunkle Flaeche */
.site-header.is-solid { position: sticky; background: var(--surface-dark); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); flex-wrap: wrap;
  width: 100%; max-width: 1360px; margin-inline: auto;
  padding: var(--space-5) clamp(20px, 4vw, 56px);
  box-sizing: border-box;        /* sonst laeuft die Nav aus dem Viewport */
}
.brand { display: inline-flex; flex: none; }
.brand-logo { height: 58px; width: auto; }
@media (max-width: 600px) { .brand-logo { height: 44px; } }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav > a, .nav-trigger {
  /* min-height 44: Touch-Target-Mindestmass, gilt auch fuer die Nav */
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-heading);
  font-size: 0.9375rem; font-weight: var(--fw-medium);
  color: var(--text-on-dark-muted);
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color var(--dur-slow) var(--ease-standard);
}
.nav > a:hover, .nav-trigger:hover,
.nav > a[aria-current="page"] { color: var(--text-inverse); text-decoration: none; }

.nav-item-dropdown { position: relative; }
.nav-trigger::after {
  content: ''; display: inline-block; margin-left: 8px;
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-base) var(--ease-standard);
}
.nav-trigger[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }

.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px; padding: var(--space-5);
  background: var(--surface-dark-raised);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.nav-dropdown[data-open="true"] {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-group-label {
  display: block; margin: var(--space-4) 0 var(--space-2);
  font-family: var(--font-heading); font-size: var(--fs-overline);
  font-weight: var(--fw-semibold); letter-spacing: var(--ls-overline);
  text-transform: uppercase; color: var(--color-accent-hi);
}
.nav-group-label:first-child { margin-top: 0; }
.nav-dropdown ul { list-style: none; margin: 0; padding: 0; }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block; padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark); font-weight: var(--fw-medium);
}
.nav-dropdown a:hover { background: rgba(255,255,255,.07); color: var(--text-inverse); text-decoration: none; }
.nav-dropdown a small {
  display: block; margin-top: 2px;
  font-family: var(--font-body); font-size: var(--fs-caption); font-weight: var(--fw-regular);
  color: var(--text-on-dark-muted);
}

.nav-cta { color: var(--btn-primary-text) !important; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.burger span { display: block; height: 2px; width: 26px; background: var(--text-inverse); transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-fast); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: var(--space-2);
    padding: 96px var(--space-5) var(--space-7);
    background: var(--surface-dark);
    border-left: 1px solid var(--border-on-dark);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav > a, .nav-trigger { font-size: 1.0625rem; padding: var(--space-3) 0; text-align: left; }
  .nav-item-dropdown { position: static; }
  .nav-dropdown {
    position: static; transform: none; min-width: 0; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 0 var(--space-4);
    display: none;
  }
  .nav-dropdown[data-open="true"] { display: block; transform: none; }
  .nav-cta { margin-top: var(--space-4); }
}

/* ── 5 · Karten ──────────────────────────────────────────────────────────── */

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--space-6);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--text-primary); }

/* Leistungsfeld-Karte: ganze Karte ist der Link (Link-Juice auf die Money-Pages) */
.leistungs-card { padding: 0; }
.leistungs-card > a {
  display: flex; flex-direction: column; gap: var(--space-3);
  height: 100%; padding: var(--space-6);
  color: inherit; text-decoration: none;
}
.leistungs-card > a:hover { text-decoration: none; color: inherit; }
.leistungs-card .card-icon {
  width: 44px; height: 44px; flex: none;
  color: var(--color-brand);
}
/* Watermark: dasselbe Symbol gross und dezent im Hintergrund — Wiedererkennung */
.leistungs-card .card-watermark {
  position: absolute; right: -18px; bottom: -18px;
  width: 132px; height: 132px;
  color: var(--color-brand);
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}
.leistungs-card > a > * { position: relative; z-index: 1; }
.leistungs-card .card-more {
  margin-top: auto; padding-top: var(--space-4);
  font-family: var(--font-heading); font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm); letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-brand);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.leistungs-card .card-more::after {
  content: ''; width: 7px; height: 7px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-standard);
}
@media (hover: hover) {
  .leistungs-card:hover .card-more::after { transform: rotate(45deg) translate(3px, -3px); }
}

/* Sticky-Stack-Container: Karten darin sind vom Reveal ausgenommen (animations.js) */
.leistungs-stack { display: grid; gap: var(--space-5); }

/* ── 6 · Bausteine ───────────────────────────────────────────────────────── */

/* Citation Capsule — der Block, den KI-Systeme zitieren */
.capsule {
  position: relative;
  margin-top: var(--space-7);
  padding: var(--space-6) var(--space-6) var(--space-6) calc(var(--space-6) + 4px);
  background: var(--surface-tint);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.capsule::before {
  content: ''; position: absolute; inset-block: 0; left: 0; width: 4px;
  background: var(--ac-gradient-diag);
}
.capsule p { margin: 0; font-size: var(--fs-body-lg); line-height: var(--lh-body); color: var(--text-heading); }
.capsule .capsule-stand { display: block; margin-top: var(--space-3); font-size: var(--fs-caption); color: var(--text-muted-aa); }

/* Trust-Baustein (Auditoren-Tiefe) */
.trust-note {
  display: flex; gap: var(--space-4); align-items: flex-start;
  margin-top: var(--space-6); padding: var(--space-5);
  border: 1px solid var(--border-subtle); border-left: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--surface-page);
}
.trust-note strong { display: block; font-family: var(--font-heading); }
.trust-note svg { width: 26px; height: 26px; flex: none; color: var(--color-brand); }

/* Outcome-Liste mit Haken */
.outcome-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.outcome-list li { position: relative; margin: 0; padding-left: 38px; }
.outcome-list li::before {
  content: ''; position: absolute; left: 0; top: .3em;
  width: 20px; height: 11px;
  border-left: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* Auszeichnungs-/Badge-Zeile — gross und zentriert, nicht als Mini-Reihe */
.awards { text-align: center; }
.awards-label {
  display: block; margin-bottom: var(--space-5);
  font-family: var(--font-heading); font-size: var(--fs-overline);
  font-weight: var(--fw-semibold); letter-spacing: var(--ls-overline);
  text-transform: uppercase; color: var(--text-muted-aa);
}
.section-dark .awards-label { color: var(--text-on-dark-muted); }
.awards-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 44px);
}
.awards-logos img { height: 96px; width: auto; }
@media (max-width: 900px) { .awards-logos img { height: 72px; } }
@media (max-width: 600px) { .awards-logos img { height: 58px; } }

/* Hervorhebung einzelner Kennwerte, die im Text ohnehin stehen.
   Sparsam einsetzen: hoechstens eine Hervorhebung je Sektion, sonst wird aus
   dem Akzent Rauschen. Kein neuer Text, nur Auszeichnung. */
.mark {
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  white-space: nowrap;
}
.section-dark .mark, .hero-follow .mark { color: var(--color-accent-hi); }
/* Im Hero traegt der Kicker bereits Gelbgruen — die Hervorhebungen nehmen
   deshalb das Marken-Gruen (7,61:1 auf dem Hero-Grund), sonst konkurrieren
   zwei gleiche Akzente um dieselbe Aufmerksamkeit. */
.hero .mark { color: var(--color-accent); }
.mark--underline {
  white-space: normal;
  background-image: var(--ac-gradient);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 100%;
  padding-bottom: 2px;
}

/* Farbe je Leistungskarte — die sechs Karten laufen die Marken-Rampe entlang
   (Blau → Grün, „Klarheit → Klimafreundlichkeit"). Das ist die Logik der CI,
   nicht Dekoration: das Raster wiederholt den Verlauf der Bildmarke.
   Dosierung: Karte bleibt WEISS. Farbe traegt nur die Icon-Plakette und eine
   3-px-Oberkante — sonst waeren es sechs Hintergrundfarben auf einer Seite. */
.leistungs-card { --k: var(--ac-petrol); }
.leistungs-card:nth-child(1) { --k: var(--ac-cobalt); }
.leistungs-card:nth-child(2) { --k: var(--ac-petrol); }
.leistungs-card:nth-child(3) { --k: var(--ac-teal); }
.leistungs-card:nth-child(4) { --k: var(--ac-green-700); }
.leistungs-card:nth-child(5) { --k: var(--ac-green); }
.leistungs-card:nth-child(6) { --k: var(--ac-lime-700); }

.leistungs-card::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--k);
  z-index: 2;
}

.leistungs-card .card-icon {
  box-sizing: content-box;
  padding: 11px;
  border-radius: var(--radius-md);
  /* Tint aus der Kartenfarbe statt fester Flaeche — bleibt automatisch hell
     genug fuer das dunkle Icon darauf. */
  background: color-mix(in srgb, var(--k) 12%, #ffffff);
  color: var(--k);
  transition: background-color var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard);
}
.leistungs-card .card-more { color: var(--k); }
.leistungs-card .card-watermark { color: var(--k); opacity: .07; }

@media (hover: hover) {
  .leistungs-card:hover { border-color: color-mix(in srgb, var(--k) 45%, #ffffff); }
  .leistungs-card:hover .card-icon { background: var(--k); color: var(--ac-white); }
}
/* Gruen und Gelbgruen tragen keinen weissen Text (2,38:1 bzw. 1,46:1) —
   dort bleibt die Schrift dunkel. Gemessen, nicht geschaetzt. */
.leistungs-card:nth-child(5):hover .card-icon,
.leistungs-card:nth-child(6):hover .card-icon { color: var(--ac-black); }

/* Trust-Chips (Textbadges im Hero) */
.trust-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); }
.trust-chips li {
  margin: 0; list-style: none;
  font-family: var(--font-heading); font-size: var(--fs-body-sm);
  color: var(--text-on-dark-muted);
  display: inline-flex; align-items: center; gap: var(--space-3);
}
.trust-chips li + li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-accent-hi); opacity: .8;
}

/* Testimonial */
.testimonial-card {
  display: flex; gap: var(--space-5); align-items: flex-start;
  max-width: var(--container-md);
  padding: var(--space-6);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.testimonial-card img {
  width: 84px; height: 84px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: center top;
}
.testimonial-card blockquote { margin: 0; font-size: var(--fs-body-lg); color: var(--text-heading); }
.testimonial-card cite { display: block; margin-top: var(--space-3); font-style: normal; font-size: var(--fs-body-sm); color: var(--text-muted-aa); }
@media (max-width: 600px) { .testimonial-card { flex-direction: column; } }

/* Kundenlogo-Leiste — eingebettet, versetzt, mit Luft. Keine Sticker-Reihe. */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
  gap: clamp(28px, 5vw, 64px) clamp(24px, 4vw, 56px);
}
.logo-wall img {
  max-height: 54px; width: auto; margin-inline: auto;
  filter: grayscale(1); opacity: .62;
  transition: filter var(--dur-slow) var(--ease-standard), opacity var(--dur-slow) var(--ease-standard);
}
@media (hover: hover) {
  .logo-wall img:hover { filter: grayscale(0); opacity: 1; }
}
/* Versatz gegen die Sticker-Optik: jede zweite Spalte leicht abgesenkt */
@media (min-width: 900px) {
  .logo-wall img { transform: translateY(0); }
  .logo-wall > *:nth-child(even) img { transform: translateY(14px); }
}

/* FAQ */
.faq { max-width: var(--container-md); margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--border-subtle);
}
.faq details:first-of-type { border-top: 1px solid var(--border-subtle); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-5) 0;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-bold);
  line-height: var(--lh-heading); color: var(--text-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; margin-top: .45em;
  width: 12px; height: 12px;
  border-right: 2px solid var(--color-brand); border-bottom: 2px solid var(--color-brand);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-standard);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--color-brand); }
.faq .faq-answer { padding: 0 0 var(--space-5); max-width: var(--measure); }

/* Einklapper fuer lange Textblöcke — Text bleibt IM DOM, nur visuell gekuerzt */
.capsule-body { position: relative; }
@media (max-width: 767px) {
  .capsule-body:not(.is-expanded) {
    max-height: 15em; overflow: hidden;
  }
  .capsule-body:not(.is-expanded)::after {
    content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 5em;
    background: linear-gradient(to bottom, transparent, var(--surface-page));
    pointer-events: none;
  }
  .section-light .capsule-body:not(.is-expanded)::after {
    background: linear-gradient(to bottom, transparent, var(--surface-subtle));
  }
  .section-dark .capsule-body:not(.is-expanded)::after {
    background: linear-gradient(to bottom, transparent, var(--surface-dark));
  }
}
.capsule-toggle {
  display: none;
  margin-top: var(--space-4); padding: var(--space-3) var(--space-5);
  min-height: 44px;
  font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: var(--fs-body-sm);
  color: var(--color-brand); background: transparent;
  border: 1px solid var(--border-default); border-radius: var(--radius-pill);
  cursor: pointer;
}
@media (max-width: 767px) { .capsule-toggle { display: inline-block; } }
.section-dark .capsule-toggle { color: var(--color-accent-hi); border-color: var(--border-on-dark); }

/* Leitsatz-Sektion (Volker + Melanie) */
.leitsatz { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.leitsatz-figure { position: relative; }
.leitsatz-figure img { width: 100%; max-width: 520px; margin-inline: auto; }
.leitsatz-kicker { font-family: var(--font-heading); font-size: var(--fs-body-lg); color: var(--text-on-dark-muted); margin-bottom: var(--space-2); }
.leitsatz-claim { font-family: var(--font-display); font-weight: var(--fw-extra); font-size: var(--fs-display); line-height: var(--lh-tight); color: var(--text-inverse); margin: 0; }
.leitsatz-names { margin-top: var(--space-5); font-size: var(--fs-body-sm); color: var(--text-on-dark-muted); }
.leitsatz-names strong { color: var(--text-inverse); display: inline; }
@media (max-width: 860px) { .leitsatz { grid-template-columns: 1fr; } .leitsatz-figure { order: -1; } }

/* Zweispalter Text | Medium — gegen tote Flaechen rechts */
.split {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.split--media-first .split__media { order: -1; }
/* Bilder im Zweispalter werden auf ein ruhiges Format beschnitten, statt in
   ihrer Originalhoehe zu stehen — ein hochkantes Shooting-Foto wuerde die
   Sektion sonst erschlagen (gemessen: 887 px neben 3 Absaetzen Text). */
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  max-height: 560px;          /* Deckel: kein Bild erschlaegt seinen Textnachbarn */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__media--hoch img { aspect-ratio: 4 / 5; object-position: center 24%; }
.split__text > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--media-first .split__media { order: 0; }
}

/* Absender-Grafik: „Vier Absender, ein Adressat: Sie." — visualisiert genau
   diesen Satz aus dem Text, erfindet nichts dazu. */
.absender {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: var(--space-4);
  padding: var(--space-6);
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.absender__col { display: grid; gap: var(--space-3); }
.absender__chip {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-heading); font-weight: var(--fw-medium);
  font-size: var(--fs-body-sm); color: var(--text-heading);
}
.absender__chip svg { width: 20px; height: 20px; flex: none; color: var(--color-brand); }
.absender__arrows { width: 46px; height: 132px; color: var(--border-strong); }
.absender__ziel {
  display: grid; place-items: center; gap: var(--space-2);
  aspect-ratio: 1; width: 100%; max-width: 168px; margin-inline: auto;
  border-radius: 50%;
  background: var(--surface-dark); color: var(--text-inverse);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.absender__ziel b {
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: var(--fs-h2); line-height: 1; color: var(--text-inverse);
}
.absender__ziel span { font-size: var(--fs-caption); color: var(--text-on-dark-muted); max-width: 16ch; }
@media (max-width: 560px) {
  .absender { grid-template-columns: 1fr; }
  .absender__arrows { width: 100%; height: 34px; transform: rotate(90deg); justify-self: center; }
}

/* Kennzahl-Kachel: hebt eine Zahl heraus, die im Text steht */
.kennzahl {
  display: grid; gap: var(--space-3);
  padding: var(--space-7) var(--space-6);
  background: var(--surface-dark); color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative; overflow: hidden;
}
.kennzahl::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px;
  background: var(--ac-gradient);
  z-index: 2;
}
/* Motiv hinter der Kennzahl. Auf dem fast schwarzen Grund kommt der helle
   Satellitenbild-Freisteller erst richtig heraus — und hier liegt kein
   Fliesstext darueber, nur grosse Schrift (fuer die gilt 3:1 statt 4,5:1). */
.kennzahl::before {
  content: '';
  position: absolute; z-index: 0;
  right: -20%; bottom: -16%;
  width: 76%; aspect-ratio: 1;
  /* Zwei Ebenen in EINEM Pseudo: oben ein Scrim, der nach links hin abdunkelt
     (dort steht der Text), unten das Motiv. Ohne den Scrim fiel der Kontrast
     des Kleintexts auf 1,34:1 (an den Pixeln gemessen). */
  background:
    linear-gradient(100deg,
      var(--surface-dark) 0%, rgba(20,22,26,.94) 34%,
      rgba(20,22,26,.55) 58%, rgba(20,22,26,.1) 82%, transparent 100%),
    url('/assets/motive/erd-hand.webp') no-repeat center / contain;
  opacity: .95;
  transform: rotate(8deg);
  pointer-events: none;
}
.kennzahl > * { position: relative; z-index: 1; }
.kennzahl__wert {
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: clamp(2.75rem, 6vw, 4.25rem); line-height: 1;
  color: var(--color-accent-hi);
}
.kennzahl__label { font-family: var(--font-heading); font-size: var(--fs-body-lg); color: var(--text-inverse); }
.kennzahl__note { font-size: var(--fs-body-sm); color: var(--text-on-dark-muted); max-width: 34ch; margin-inline: auto; }

/* Bild-Abschluss: dunkle CTA-Sektion mit dezentem Motiv */
.section-dark.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.section-dark.has-bg > .section-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.section-dark.has-bg > .section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.section-dark.has-bg > .section-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--surface-dark) 0%, rgba(20,22,26,.72) 45%, var(--surface-dark) 100%);
}

/* Abbinder */
.abbinder {
  margin-top: var(--space-7); padding-top: var(--space-6);
  border-top: 1px solid var(--border-on-dark);
  text-align: center;
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-h3); color: var(--text-inverse);
}

/* ── 7 · Kontaktleiste (Desktop) ─────────────────────────────────────────── */

.contact-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-standard);
}
.contact-rail.is-visible { opacity: 1; pointer-events: auto; }
.contact-rail a {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--color-brand); color: var(--ac-white);
  transition: background-color var(--dur-base) var(--ease-standard);
}
.contact-rail a + a { border-top: 1px solid rgba(255,255,255,.16); }
.contact-rail a:hover { background: var(--color-brand-strong); text-decoration: none; }
.contact-rail svg { width: 21px; height: 21px; }
/* Erst ab 1400 px einblenden: darunter ist zwischen Container (max 1200 px)
   und Viewport-Rand kein Platz, die Leiste wuerde Inhalt ueberdecken —
   auf 1280 px waren es die letzten beiden Kundenlogos. */
@media (max-width: 1399px), (hover: none) { .contact-rail { display: none; } }

/* ── 8 · Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding-block: var(--section-pad) var(--space-6);
  border-top: 4px solid transparent;
  border-image: var(--ac-gradient) 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-7) var(--space-6);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a { color: var(--text-on-dark-muted); }
.footer-col a:hover { color: var(--text-inverse); }
.footer-col-eyebrow {
  display: block; margin-bottom: var(--space-4);
  font-family: var(--font-heading); font-size: var(--fs-overline);
  font-weight: var(--fw-semibold); letter-spacing: var(--ls-overline);
  text-transform: uppercase; color: var(--color-accent-hi);
}
.footer-col-brand img { height: 64px; width: auto; margin-bottom: var(--space-5); }
.footer-tagline { color: var(--text-on-dark-muted); max-width: 38ch; }
.footer-claim {
  margin-top: var(--space-4);
  font-family: var(--font-display); font-weight: var(--fw-extra);
  letter-spacing: .06em; color: var(--color-accent-hi);
}
.footer-contact li { color: var(--text-on-dark-muted); line-height: var(--lh-body); }
.footer-linkedin { display: inline-flex; align-items: center; gap: var(--space-3); margin-top: var(--space-4); min-height: 44px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--border-on-dark);
  font-size: var(--fs-body-sm); color: var(--text-on-dark-muted);
}
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--text-inverse); }

/* ── 9 · Cookie-Banner ───────────────────────────────────────────────────── */

.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 100;
  background: var(--surface-dark-raised); color: var(--text-on-dark);
  border-top: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  max-width: var(--max-width); margin-inline: auto;
  padding: var(--space-5) var(--gutter);
}
.cookie-banner-text p { margin: var(--space-2) 0 0; font-size: var(--fs-body-sm); color: var(--text-on-dark-muted); max-width: 60ch; }
.cookie-banner-text strong { color: var(--text-inverse); font-family: var(--font-heading); }
.cookie-banner-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.cookie-banner .btn-secondary { color: var(--text-on-dark); border-color: var(--border-on-dark); }
.cookie-banner .btn-secondary:hover { background: rgba(255,255,255,.08); color: var(--text-inverse); }

/* ── 10 · Bewegung ───────────────────────────────────────────────────────── */

/* animations.js injiziert .reveal/.in-view selbst. Hier nur, was das Markup
   zusaetzlich braucht: Sektions-Reveal fuer Nicht-Card-Blöcke. */
.reveal-block { opacity: 0; transform: translateY(24px); }
.reveal-block.in-view,
.no-js .reveal-block { opacity: 1; transform: none; }
.reveal-block {
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-block { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ══ Kosmische Akzente ══════════════════════════════════════════════════════
   „apollo" ist der Markenname, der Hero zeigt die Erde aus dem Orbit — der
   Rest der Seite darf das leise aufgreifen. Bewusst dezent und CSS-only:
   keine zusaetzlichen Bilder, keine Requests, kein Gewicht.
   Drei Platzierungen, mehr nicht:
     1 Sternenfeld auf den dunklen Flaechen
     2 Orbit-Ringe hinter dem „Sie"-Ziel der Absender-Grafik
     3 Punktekranz der Bildmarke als grosses, sehr blasses Watermark
   ========================================================================= */

/* 1 · Sternenfeld — feine Punkte in unregelmaessigem Raster, zwei Ebenen fuer
       Tiefe. Liegt hinter dem Inhalt und faengt keine Klicks. */
.section-dark, .hero-follow { position: relative; isolation: isolate; }
.section-dark::before, .hero-follow::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px     at 12% 18%, rgba(255,255,255,.95), transparent 62%),
    radial-gradient(1.5px 1.5px at 27% 62%, rgba(255,255,255,.7),  transparent 62%),
    radial-gradient(2.4px 2.4px at 41% 28%, rgba(255,255,255,.9),  transparent 62%),
    radial-gradient(1.4px 1.4px at 55% 78%, rgba(255,255,255,.62), transparent 62%),
    radial-gradient(2px 2px     at 68% 14%, rgba(255,255,255,.85), transparent 62%),
    radial-gradient(1.5px 1.5px at 79% 52%, rgba(255,255,255,.66), transparent 62%),
    radial-gradient(2.2px 2.2px at 88% 82%, rgba(255,255,255,.9),  transparent 62%),
    radial-gradient(1.4px 1.4px at 94% 34%, rgba(255,255,255,.6),  transparent 62%),
    radial-gradient(1.8px 1.8px at 6% 74%,  rgba(255,255,255,.72), transparent 62%),
    radial-gradient(1.5px 1.5px at 34% 92%, rgba(255,255,255,.6),  transparent 62%),
    radial-gradient(1.7px 1.7px at 19% 44%, rgba(255,255,255,.68), transparent 62%),
    radial-gradient(1.3px 1.3px at 48% 8%,  rgba(255,255,255,.55), transparent 62%),
    radial-gradient(2px 2px     at 61% 40%, rgba(255,255,255,.8),  transparent 62%),
    radial-gradient(1.4px 1.4px at 73% 70%, rgba(255,255,255,.6),  transparent 62%),
    radial-gradient(1.9px 1.9px at 84% 22%, rgba(255,255,255,.75), transparent 62%),
    radial-gradient(1.3px 1.3px at 3% 30%,  rgba(255,255,255,.55), transparent 62%);
  background-repeat: no-repeat;
  opacity: 1;
  animation: sternenAtem 9s ease-in-out infinite;
}
/* Zweite, weitere Ebene mit Marken-Nebel: gibt der Flaeche Tiefe statt Flachheit */
.section-dark::after, .hero-follow::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 62% at 88% 6%,  rgba(26,145,154,.22), transparent 70%),
    radial-gradient(52% 58% at 6% 96%,  rgba(62,86,152,.26),  transparent 72%);
}
/* Der Abschluss-CTA traegt bereits ein Erd-Foto — dort kein Nebel doppelt */
.section-dark.has-bg::after { display: none; }

@keyframes sternenAtem {
  0%, 100% { opacity: .7; }
  50%      { opacity: 1; }
}

/* 2 · Orbit-Ringe hinter dem Ziel der Absender-Grafik.
       Inhaltlich passend: ein Zentrum, alles laeuft darauf zu. */
.absender__ziel { position: relative; }
.absender__ziel::before,
.absender__ziel::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.absender__ziel::before { width: 132%; height: 132%; }
.absender__ziel::after  { width: 168%; height: 168%; border-style: dashed; opacity: .6; }

/* 3 · Punktekranz der Bildmarke als grosses, sehr blasses Watermark.
       Nur EINMAL auf der Seite — sonst wird aus dem Akzent Tapete. */
.section--marke { position: relative; overflow: hidden; }
.section--marke::before {
  content: '';
  position: absolute; z-index: 0;
  right: -14%; top: 50%; transform: translateY(-50%);
  width: min(760px, 62vw); aspect-ratio: 1;
  /* Nur die Punkte-Bildmarke, ohne Wortmarke — sonst schimmert Schrift durch
     und es wirkt wie ein Fleck statt wie eine Textur. */
  background: url('/assets/logo/apollo-bildmarke.webp') no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}
.section--marke > .container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .section-dark::before, .hero-follow::before { animation: none; opacity: .85; }
}

/* ══ Nachschärfungen 09.08.2026 (Punkte 1–5 aus der Gestaltungs-Durchsicht) ══ */

/* 1 · FAQ bekommt Kontur: Nummer, Karten-Optik, farbige Kante bei offener Frage.
      Vorher war der Block 785 px reine Typografie ohne visuellen Anker. */
.faq { counter-reset: faq; }
.section:has(> .container > .faq) .section-head { text-align: center; }
.faq details {
  counter-increment: faq;
  position: relative;
  margin-bottom: var(--space-3);
  padding-left: var(--space-8);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-out);
}
.faq details:first-of-type { border-top: 1px solid var(--border-subtle); }
.faq details::before {
  content: '0' counter(faq);
  position: absolute; left: var(--space-5); top: var(--space-5);
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: var(--fs-h4); line-height: 1;
  color: var(--border-strong);
  transition: color var(--dur-base) var(--ease-standard);
}
.faq details[open] {
  border-left-color: var(--color-brand);
  box-shadow: var(--shadow-sm);
}
.faq details[open]::before { color: var(--color-brand); }
@media (hover: hover) {
  .faq details:hover { border-left-color: var(--color-brand); }
}
.faq summary { padding: var(--space-5) var(--space-5) var(--space-5) 0; }
.faq .faq-answer { padding: 0 var(--space-5) var(--space-5) 0; }
@media (max-width: 600px) {
  .faq details { padding-left: var(--space-7); }
  .faq details::before { left: var(--space-4); font-size: var(--fs-body); }
}

/* 2 · Hero-Anschluss: die drei Ergebnisse als eigenstaendige Kacheln.
      Sie laufen dieselbe Marken-Rampe wie die Leistungskarten weiter — so
      liest die Seite als ein Stueck und nicht als zwei Systeme. */
.outcome-cards {
  list-style: none; margin: var(--space-8) 0 0; padding: 0;
  counter-reset: outcome;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.outcome-cards li {
  counter-increment: outcome;
  --k: var(--ac-teal);
  position: relative; overflow: hidden;
  margin: 0; padding: var(--space-7) var(--space-6) var(--space-6);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
  transition: background-color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.outcome-cards li:nth-child(1) { --k: var(--ac-petrol); }
.outcome-cards li:nth-child(2) { --k: var(--ac-teal); }
.outcome-cards li:nth-child(3) { --k: var(--ac-green); }

/* Oberkante in der Kartenfarbe — dasselbe Motiv wie bei den Leistungskarten */
.outcome-cards li::after {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--k);
}

/* Grosse, blasse Nummer als Tiefenebene */
.outcome-cards li::before {
  content: '0' counter(outcome);
  position: absolute; right: -14px; bottom: -40px;
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: 8.5rem; line-height: 1;
  color: var(--k);
  opacity: .16;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}

/* Haken in einer Plakette statt frei stehend */
.outcome-cards .haken {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--k) 26%, transparent);
  color: var(--k);
  position: relative; z-index: 1;
}
.outcome-cards .haken svg { width: 21px; height: 21px; }
.outcome-cards li span:not(.haken) { position: relative; z-index: 1; display: block; }

@media (hover: hover) {
  .outcome-cards li:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--k) 55%, transparent);
    box-shadow: 0 18px 44px rgba(0,0,0,.45);
  }
  .outcome-cards li:hover::before { opacity: .22; }
}
@media (max-width: 860px) { .outcome-cards { grid-template-columns: 1fr; } }

/* Der Einleitungsabsatz wird zum Lead: groesser, mit Akzentkante */
.hero-follow-intro {
  position: relative;
  padding-left: var(--space-6);
  max-width: 72ch;
}
.hero-follow-intro::before {
  content: ''; position: absolute; left: 0; top: .25em; bottom: .25em;
  width: 3px; border-radius: 2px;
  background: var(--ac-gradient-diag);
}
.hero-follow-intro p {
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-on-dark);
}
@media (max-width: 600px) {
  .hero-follow-intro { padding-left: var(--space-5); }
  .outcome-cards li::before { font-size: 5.5rem; }
}

/* 3 · Kundenlogo-Sektion als eigener Vertrauensblock statt Anhang */
.logo-section { background: var(--surface-subtle); }
.logo-section .logo-heading {
  margin: 0 0 var(--space-7);
  text-align: center;
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-h3); color: var(--text-heading);
}

/* 4 · Abbinder gross setzen — das ist die Marken-Signatur, keine Fusszeile */
.abbinder {
  margin-top: var(--space-9); padding-top: var(--space-7);
  border-top: 1px solid var(--border-on-dark);
  text-align: center;
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  line-height: 1.15; letter-spacing: var(--ls-tight);
  color: var(--text-inverse);
  text-wrap: balance;
}
.abbinder em {
  font-style: normal;
  background: var(--ac-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* 5 · Marken-Hairline an weiteren Naehten — gibt dem Scrollen Takt.
      Sparsam: nur an den drei Wechseln, die eine Zaesur sind. */
.seam-top {
  position: relative;
  /* border-image statt ::before: das Pseudo-Element wird vom Sternenfeld der
     dunklen Sektionen belegt. Beides auf ::before = die Hairline gewinnt und
     die Sterne verschwinden (Fehler vom 09.08.2026). */
  border-top: 3px solid transparent;
  border-image: var(--ac-gradient) 1;
}

/* ══ Satellitenbild-Motive (Fussabdruck, Hand) ══════════════════════════════
   Beide Motive sind fuer spaetere Heroes vorgesehen (Fussabdruck laut
   Masterdatei fuer die CO2-Bilanz-Seite). Auf der Startseite deshalb bewusst
   klein und leise — sie sollen wiedererkennbar sein, nicht dominieren. */

/* Fussabdruck als Watermark der CO2-Bilanz-Karte. Inhaltlich exakt: der
   Carbon Footprint IST ein Fussabdruck. Ersetzt dort das Icon-Watermark. */
.leistungs-card--footprint .card-watermark { display: none; }
.leistungs-card--footprint::after {
  content: '';
  position: absolute; right: -6%; bottom: -8%;
  width: 62%; aspect-ratio: 1.56;
  background: url('/assets/motive/erd-fussabdruck.webp') no-repeat right bottom / contain;
  opacity: .16;
  z-index: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-standard),
              transform var(--dur-slow) var(--ease-out);
}
@media (hover: hover) {
  .leistungs-card--footprint:hover::after { opacity: .3; transform: translateY(-4px); }
}

/* Hand als sehr blasses Hintergrundmotiv in der Wert-statt-Pflicht-Sektion.
   Liegt hinter dem Text, nimmt ihm keinen Kontrast. */
.section--hand { position: relative; overflow: hidden; }
.section--hand::after { content: none; }   /* ersetzt: Hand sitzt jetzt in der Kachel */
.section--hand > .container { position: relative; z-index: 1; }
@media (max-width: 900px) { .section--hand::after { display: none; } }

/* Interaktiver Canvas-Hintergrund (js/interaktiver-hintergrund.js).
   Skill: ~/.claude/skills/interaktiver-hintergrund/
   Das Skript ist CI-neutral — die Farben kommen ausschliesslich von hier. */
.ihg {
  position: absolute; inset: 0; z-index: 0;
  --ihg-punkt:   255,255,255;   /* Sterne */
  --ihg-linie-a: 26,145,154;    /* --ci-tuerkis-hell */
  --ihg-linie-b: 116,185,89;    /* --ci-gruen */
  --ihg-glanz:   116,185,89;    /* Halo unter der Maus */
}
.section-dark > .container,
.hero-follow > .container { position: relative; z-index: 1; }
/* Wo das Canvas laeuft, wird das statische CSS-Sternenfeld ausgeblendet —
   der Marken-Nebel (::after) bleibt. Ohne Canvas (reduced-motion, Touch)
   bleibt das CSS-Feld als Ersatz stehen. */
[data-ihg-aktiv]::before { background-image: none !important; }
