/* UNOY Komponenten — Abschnitt 6 der Design-Doc
 * Buttons · Eyebrows · Cards · Inputs · Chips · Hero-Pattern
 *
 * Einbinden pro Seite:
 *   <link rel="stylesheet" href="../shared/components.css">
 */

/* ============================================================
   Typografie-Helper-Klassen — Abschnitt 3
   ============================================================ */
.h-hero {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 84px);
  /* Impeccable Overdrive 2026-05-28: tighter tracking + optical line-height
     für editorial-cinematic Anmutung. Update 2026-05-28: line-height von 0.98/1.0
     auf 1.08/1.1 erhöht — Ascender/Descender brauchten Atem bei langen Headlines. */
  letter-spacing: -0.028em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-900);
}
@media (min-width: 1100px) {
  .h-hero { line-height: 1.08; letter-spacing: -0.03em; }
}
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px); /* -12% */
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-900);
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 42px); /* -12% */
  letter-spacing: -0.015em;
  /* Großzügige line-height, damit Inter-Light-Highlight Spans mit ihren
     ausgeprägten Ascendern/Descendern nicht in den nächsten Block bluten. */
  line-height: 1.3;
  color: var(--ink-900);
  /* Tailwind-CDN generiert .h-1 { height: 0.25rem } als Utility und kollidiert
     mit unserer Typo-Klasse — daher explizit aushebeln, sonst clipt das h2 auf
     4 px Höhe und der nachfolgende Italic-Block überlappt mit der Headline. */
  height: auto !important;
}
/* Italic-Glyph-Containment in mehrzeiligen Headings:
   Italic-Span rendert als eigenständiger Block mit garantierter Höhe.
   !important + hohe Specificity, damit keine andere Regel überschreiben kann.
   Hero-Bereich hat seine eigene Inline-Block-Variante mit Glow-Animation. */
h2.h-1 em.serif-italic,
h2.h-display em.serif-italic,
h3.h-2 em.serif-italic,
.h-display > em.serif-italic,
.h-1 > em.serif-italic,
.h-2 > em.serif-italic {
  display: block !important;
  line-height: 1.2 !important;
  margin-top: 0.15em !important;
  padding-bottom: 0.2em !important;
  position: relative !important;
  z-index: 1 !important;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.2vw, 28px); /* -12% */
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink-900);
  /* Tailwind-CDN .h-2 utility (height: 0.5rem) aushebeln */
  height: auto !important;
}
.h-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px; /* Phase 6 · 2026-05-27 · zurück auf 22 für klare Hierarchie zu body-md (17) */
  line-height: 1.3;
  color: var(--ink-900);
  /* Tailwind-CDN generiert .h-3 { height: 0.75rem } als Utility und kollidiert
     mit unserer Typo-Klasse — daher explizit aushebeln. */
  height: auto !important;
}
.body-md {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: var(--ink-700);
}
.meta {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;  /* Phase 6 · 2026-05-27 · differenziert von .eyebrow (11px caps) */
  color: var(--ink-500);
}
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
}
.serif-italic {
  /* 2026-05-28: italic-serif → Inter Light 300, sehr enges Tracking als Highlight */
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.06em;
  color: var(--accent-500);
}

/* ============================================================
   Eyebrow (Sektions-Label) — Abschnitt 6
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;  /* 2026-05-28: 11 → 13.5 (+23%) für bessere Lesbarkeit der Section-Marker */
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow--onDark {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Buttons — Abschnitt 6
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--motion-micro) var(--motion-ease),
    color var(--motion-micro) var(--motion-ease),
    transform var(--motion-micro) var(--motion-ease);
  text-decoration: none;
  user-select: none;
}

.btn--primary {
  background: var(--accent-500);
  color: var(--ink-900);
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: var(--accent-600);
}

.btn--secondary {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-300);
}
.btn--secondary:hover {
  background: var(--paper-20);
}

.btn--text {
  background: transparent;
  color: var(--ink-900);
  height: auto;
  padding: 0;
  border: none;
  text-decoration: none;
  transition: color var(--motion-micro) var(--motion-ease);
}
.btn--text:hover {
  color: var(--accent-700);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.btn--onDark.btn--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--onDark.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Card — Abschnitt 6
   ============================================================ */
.card {
  background: var(--paper-00);
  border: 1px solid var(--paper-30);
  border-radius: var(--radius-card);
  padding: 32px;
  transition:
    box-shadow var(--motion-standard) var(--motion-ease),
    transform var(--motion-standard) var(--motion-ease);
}
.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

/* ============================================================
   Input — Abschnitt 6
   ============================================================ */
.input {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-input);
  background: var(--paper-00);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  transition:
    border-color var(--motion-micro) var(--motion-ease),
    box-shadow var(--motion-micro) var(--motion-ease);
  width: 100%;
}
.input:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 2px var(--accent-500);
}
.label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 6px;
}

/* ============================================================
   Chip — Abschnitt 6
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--paper-20);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: background-color var(--motion-micro) var(--motion-ease);
}
.chip--selected {
  background: var(--accent-500);
  color: var(--ink-900);
}

/* ============================================================
   Hairline-Divider (Ersatz für 1px-Borders zwischen Sektionen)
   ============================================================ */
.hairline {
  height: 1px;
  background: var(--ink-200);
  border: none;
  margin: 0;
}

/* ============================================================
   Hero-Pattern — Abschnitt 5.2
   ============================================================ */
/* DV-Pattern (Delivery-Verstehen) Baseline-Defaults · 2026-05-28
   Vergleich-Subpages und so-funktioniert-unoy nutzen .dv-* Klassen im Markup,
   definieren sie aber NICHT inline. Ohne diese Baseline würden alle .dv-container
   bis zum Viewport-Rand stretchen. Per-Page Inline-Definitionen überschreiben
   diese Defaults bei Bedarf. */
.dv-section { padding: 96px 0; }
@media (max-width: 880px) { .dv-section { padding: 64px 0; } }
.dv-container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 880px) { .dv-container { padding: 0 24px; } }
.dv-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
}
.dv-h2 {
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.018em; line-height: 1.15;
  color: var(--ink-900); margin: 0; max-width: 22ch;
}
.dv-h2 em {
  font-family: var(--font-italic); font-style: normal;
  font-weight: 300; color: var(--accent-500);
  letter-spacing: -0.06em;
}
.dv-body {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
  color: var(--ink-700); margin: 0; max-width: 60ch;
}
.dv-p02 {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
  align-items: start; margin-bottom: 56px;
}
@media (max-width: 880px) { .dv-p02 { grid-template-columns: 1fr; gap: 16px; } }
.dv-p03 {
  display: grid; grid-template-columns: 180px 1fr; gap: 48px;
  align-items: start; padding-top: 24px; border-top: 1px solid var(--ink-200);
}
@media (max-width: 880px) { .dv-p03 { grid-template-columns: 1fr; gap: 16px; } }
/* dv-reveal: default sichtbar als Fallback, falls JS-Init nicht greift.
   Pages mit Inline-dv-reveal-Definition setzen opacity:0 + JS-Trigger,
   das überschreibt diese sichere Default. */
.dv-reveal { opacity: 1; transform: none; filter: none; }

/* fp-block-divider Baseline · 2026-05-28
   Kunden-Pages nutzen das FairPlane-Pattern als Block-Trenner zwischen Sections.
   pwc.html nutzt die Klasse ohne Inline-Definition → ohne max-width sprengt Content.
   Diese Baseline constrained auf site-max + per-page-CSS überschreibt bei Bedarf. */
.fp-block-divider {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 80px 0 32px;
  padding-left: 48px;
  padding-right: 48px;
}
@media (max-width: 880px) {
  .fp-block-divider { padding: 48px 24px 16px; }
}
.fp-block-divider__inner {
  padding-top: 32px;
  border-top: 1px solid var(--ink-200);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .fp-block-divider__inner { grid-template-columns: 1fr; gap: 16px; }
}
.fp-block-divider__h {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0;
}
.fp-block-divider__h em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 300;
  color: var(--accent-500);
  letter-spacing: -0.06em;
}
.fp-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  padding-top: 8px;
}

/* H-01 Split-Hero (Text-Spalte links, Visual rechts) — Headlines LINKSBÜNDIG
   2026-05-28 v2: User-Update — im Split-Layout fluchten Headlines & Body links
   in ihrer eigenen Lese-Spalte. Standard-.hero bleibt zentriert (anderes Pattern).
   Greift auf alle 25 H-01 Pages (Service-Sub-Pages, Wissen-Vergleich, Delivery, etc.). */
.h01-text {
  align-items: flex-start !important;
  text-align: left !important;
}
.h01-text > .h01-h1,
.h01-text > .h01-body,
.h01-text > .h01-eyebrow-row,
.h01-text > .h01-cta-row,
.h01-text > .h01-cta {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.h01-eyebrow-row {
  justify-content: flex-start !important;
}

/* H-01 Visual-Spalte: subtile Idle-Animations für Photo + Mockup-Card.
   Wachtell-Boardroom-restraint: lange Laufzeiten (18-22s), kleine Amplituden. */
.h01-visual__photo {
  animation: h01-photo-drift 18s ease-in-out infinite;
  will-change: transform;
}
.h01-visual__photo img {
  animation: h01-photo-zoom 22s ease-in-out infinite;
  will-change: transform;
}
.h01-mockup {
  animation: h01-mockup-float 8s ease-in-out infinite;
  will-change: transform;
}
.h01-mockup__star {
  animation: h01-star-pulse 3.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes h01-photo-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -6px, 0); }
}
@keyframes h01-photo-zoom {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
@keyframes h01-mockup-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}
@keyframes h01-star-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .h01-visual__photo,
  .h01-visual__photo img,
  .h01-mockup,
  .h01-mockup__star {
    animation: none !important;
    transform: none !important;
  }
}

/* Tailwind-Fallback für Nav + Erledigt-Bar — UNABHÄNGIG VON KLASSENNAMEN
   2026-05-28 v2: Positionale Selektoren statt .hidden.lg\:flex, falls
   Tailwind-CDN auf file:// nicht lädt. Greift auf die DOM-Struktur:
   .site-nav__inner enthält [logo-anchor, nav-items-div, right-group-div]. */
@media (min-width: 1024px) {
  /* Nav-Items Gruppe = das erste <div> innerhalb .site-nav__inner */
  .site-nav__inner > div:first-of-type {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 24px !important;
    white-space: nowrap !important;
    visibility: visible !important;
  }
  /* Right-Group = das zweite <div> innerhalb .site-nav__inner */
  .site-nav__inner > div:last-of-type {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .site-nav__inner > * { flex-shrink: 0; }
  .site-nav__inner > div:first-of-type { flex-shrink: 1; min-width: 0; }
}
@media (max-width: 1023px) {
  /* Mobile: Nav-Items-Group hidden, Mobile-Menu-Button sichtbar */
  .site-nav__inner > div:first-of-type { display: none !important; }
}

/* Erledigt-Bar oben — direkt Layout, unabhängig von Tailwind */
#erledigt-bar {
  display: block;
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.025em;
  overflow: hidden;
}
#erledigt-bar > div {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  height: 32px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
}
@media (min-width: 768px) { #erledigt-bar > div { gap: 40px !important; } }
@media (min-width: 1024px) {
  #erledigt-bar > div { padding-left: 48px !important; padding-right: 48px !important; }
}

.hero {
  padding-top: var(--hero-pad-desktop);
  padding-bottom: var(--hero-pad-desktop);
  padding-left: max(24px, calc((100% - var(--site-max)) / 2));
  padding-right: max(24px, calc((100% - var(--site-max)) / 2));
  background: var(--paper-10);
  /* User-Anforderung 2026-05-28: Hero-Überschriften und -Texte sind IMMER zentriert.
     Block bleibt via padding max()-Trick auf --site-max constrained (= Header/Footer-Breite),
     aber Text-Alignment ist mittig — H1/H2/H3 und P behalten ihre max-widths mit auto-Margins
     für klassische Hero-Zentrierung. Gilt für Light- UND Dark-Heros site-weit. */
  text-align: center;
}

/* Hero-Children: Block-Constraint auf --site-max + zentriert via auto-Margin.
   Die originalen max-widths (.h-hero: 18ch, .sub: 540px) bleiben unangetastet — das
   sorgt für die klassische schmale Hero-Säule. !important nötig, falls einzelne Stubs
   noch inline-Margins haben. */
.hero:not(.hero--dark) > h1,
.hero:not(.hero--dark) > h2,
.hero:not(.hero--dark) > h3,
.hero:not(.hero--dark) > p,
.hero:not(.hero--dark) > .h-hero,
.hero:not(.hero--dark) > .h-display,
.hero:not(.hero--dark) > .h-1,
.hero:not(.hero--dark) > .h-2,
.hero:not(.hero--dark) > .sub,
.hero:not(.hero--dark) > .cta-row,
.hero:not(.hero--dark) > .lead,
.hero:not(.hero--dark) > .body-md {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================================
   Hero-Dark — invertierte Variante mit subtiler Orb-Animation
   + Impeccable Overdrive 2026-05-28: Material-Grain + Entry-Choreography
   ============================================================ */
.hero--dark {
  position: relative;
  overflow: hidden;
  max-width: none;
  background: #0a0a0a;
  color: #ffffff;
  isolation: isolate;
  /* Hero erstreckt sich hinter die transparente Nav, damit das
     Frosted-Glass-Panel direkt auf dem Schwarz sichtbar wird */
  margin-top: calc(var(--nav-height-desktop) * -1);
  /* Volle Viewport-Höhe — Inhalt wird per Flex vertikal zentriert.
     padding statt margin, damit der Hintergrund hinter der Nav durchscheint. */
  min-height: 100vh;
  min-height: 100svh; /* iOS Safari: small-viewport-height ohne Address-Bar-Sprünge */
  padding-top: var(--nav-height-desktop);
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (max-width: 767px) {
  .hero--dark {
    margin-top: calc(var(--nav-height-mobile) * -1);
    padding-top: var(--nav-height-mobile);
    padding-bottom: 16px;
  }
}
.hero--dark > * {
  position: relative;
  z-index: 1;
}

/* Material-Grain deaktiviert (2026-05-28) — auf Light-Hero erzeugte das mix-blend
   overlay Pattern einen Grau-Schleier. Hintergrund bleibt jetzt sauber. */

/* ===========================================================
   Impeccable Overdrive Move 1 · Hero-Entry-Choreography
   1.8s orchestrierter Reveal aller Hero-Children mit staffeligem fade-up.
   Wachtell-Boardroom: ease-out-quart für natural deceleration, kein bounce.
   Backwards fill-mode → Element startet hidden vor Animation. */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(1.5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.hero--dark > .eyebrow,
.hero--dark > .h-hero,
.hero--dark > .sub,
.hero--dark > .hero-models,
.hero--dark > .cta-row,
.hero--dark > .micro-promise {
  animation: hero-fade-up 800ms cubic-bezier(0.25, 1, 0.5, 1) both;
}
.hero--dark > .eyebrow       { animation-delay:   0ms; }
.hero--dark > .h-hero        { animation-delay: 180ms; }
.hero--dark > .sub:nth-of-type(1) { animation-delay: 460ms; }
.hero--dark > .hero-models   { animation-delay: 700ms; }
.hero--dark > .sub:nth-of-type(2) { animation-delay: 1100ms; }
.hero--dark > .cta-row       { animation-delay: 1280ms; }
.hero--dark > .micro-promise { animation-delay: 1480ms; }

/* Models-Rows: zusätzlicher interner Stagger
   (innerhalb der bereits eingeblendeten .hero-models)
   für sequenzielles Reveal der drei Liefermodelle */
.hero--dark .hero-models__row {
  animation: hero-fade-up 600ms cubic-bezier(0.25, 1, 0.5, 1) both;
}
.hero--dark .hero-models__row:nth-of-type(1) { animation-delay: 820ms; }
.hero--dark .hero-models__row:nth-of-type(2) { animation-delay: 940ms; }
.hero--dark .hero-models__row:nth-of-type(3) { animation-delay: 1060ms; }

@media (prefers-reduced-motion: reduce) {
  .hero--dark > *,
  .hero--dark .hero-models__row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* Inhalts-Wrapper für sauberes max-width-Verhalten innerhalb Flex.
   Universal: ALLE direkten Kinder der Hero werden auf Container-Breite
   constrained, damit Inhalt nicht über Header/Footer hinausragt. */
.hero--dark > .eyebrow,
.hero--dark > .h-hero,
.hero--dark > .h-display,
.hero--dark > .sub,
.hero--dark > .cta-row,
.hero--dark > .hero-models,
.hero--dark > .micro-promise,
.hero--dark > p,
.hero--dark > h1,
.hero--dark > h2,
.hero--dark > div:not(.hero__bg):not(.hero__orb) {
  width: 100%;
  max-width: var(--site-max);
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
/* Erhöhte Specificity (.hero.hero--dark) damit spätere .hero .sub-Regel
   nicht ungewollt überschreibt */
.hero.hero--dark .h-hero,
.hero.hero--dark .h-display,
.hero.hero--dark .h-1,
.hero.hero--dark .h-2,
.hero.hero--dark .h-3 {
  color: #ffffff;
}
.hero.hero--dark .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}
.hero.hero--dark .sub {
  color: rgba(255, 255, 255, 0.88);
}
.hero.hero--dark .btn--primary {
  background: var(--accent-500);
  color: var(--ink-900);
}
.hero.hero--dark .btn--primary:hover {
  background: var(--accent-600);
}
.hero.hero--dark .btn--text {
  color: rgba(255, 255, 255, 0.95);
}
.hero.hero--dark .btn--text:hover {
  color: var(--accent-500);
}

/* Hero-Models Pill-Cards Hover (2026-05-28: incrementelle Hero-Verbesserung) */
.hero--dark .hero-models__row:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(245, 184, 0, 0.20) !important;
  transform: translateY(-2px);
  transition: background-color .25s var(--motion-ease-out, ease-out),
              border-color .25s var(--motion-ease-out, ease-out),
              transform .25s var(--motion-ease-out, ease-out);
}

/* Animations-Layer: 4 driftende, weichgezeichnete Lichtpunkte
   — gerade so sichtbar (Opacity 4–7 %), 50–80 s Loop */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* 2026-05-28: Vignette deaktiviert — auf Light-Hero erzeugte das dunkle Radial
   einen Grau-Schleier, der unerwünscht war. */
.hero__bg::before {
  /* dezenter Vignetten-Verlauf für Tiefe */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.025), transparent 60%),
    radial-gradient(100% 100% at 50% 100%, rgba(245, 184, 0, 0.015), transparent 70%);
  z-index: 0;
}
/* Background-Video — monochrom, 95% transparent, hinter allen anderen Layern.
   Sehr leiser visueller Anker: das Material ist nur als Geist erkennbar. */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.03; /* 2026-05-28: 0.08 → 0.03, deutlich transparenter — Video als Andeutung statt visuelles Element */
  filter: grayscale(1);
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg-video { display: none; }
}
.hero__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  pointer-events: none;
}
.hero__orb--1 {
  width: 760px;
  height: 760px;
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.35), transparent 70%);
  opacity: 0.18;
  /* Konstante Ambient-Bewegung → linear (Emil-Framework) */
  animation: heroDrift1 56s linear infinite;
}
.hero__orb--2 {
  width: 640px;
  height: 640px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
  opacity: 0.07;
  animation: heroDrift2 64s linear infinite;
}
.hero__orb--3 {
  width: 520px;
  height: 520px;
  top: 22%;
  right: 18%;
  background: radial-gradient(circle, rgba(166, 120, 0, 0.6), transparent 65%);
  opacity: 0.14;
  animation: heroDrift3 72s linear infinite;
}
.hero__orb--4 {
  width: 580px;
  height: 580px;
  bottom: 8%;
  left: 22%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.4), transparent 65%);
  opacity: 0.10;
  animation: heroDrift4 80s linear infinite;
}

/* Translate-Range enger (50–60 px statt 70–110 px) und Scale-Range zahmer
   (0.98–1.04 statt 0.94–1.10) → ruhigeres Atmen statt großzügiges Driften.
   Keyframe-Peaks gestaggert (40 / 55 / 50 / 60 %) damit die 4 Orbs nicht
   synchron starten — auch bei verschiedenen Durations. */
@keyframes heroDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40%      { transform: translate3d(50px, 40px, 0) scale(1.04); }
}
@keyframes heroDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  55%      { transform: translate3d(-60px, -30px, 0) scale(1.03); }
}
@keyframes heroDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-40px, 50px, 0) scale(0.98); }
}
@keyframes heroDrift4 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  60%      { transform: translate3d(45px, -35px, 0) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb {
    animation: none;
  }
}

/* ============================================================
   Hero Flow-Tree — Line-Style UNOY-Tree-Construction (rechts)
   8s Loop: stagger-construct mit Scale-In → hold → fade → restart
   Plus Camera-Zoom + Translate auf der ganzen SVG für Drift.
   ============================================================ */
.hero__tree {
  /* 2026-05-28: komplett ausgeblendet — Hero-Background bewusst ruhiger,
     Fokus liegt auf Models-Cards und Trust-Bar */
  display: none !important;
}
/* Sanftes Atmen — nur Scale, kein Translate. */
@keyframes hero-tree-camera {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.hero__tree .ht-node {
  transform-box: fill-box;
  transform-origin: center;
}
.hero__tree .ht-node rect {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 1;
}
.hero__tree .ht-node--page rect,
.hero__tree .ht-node--page-end rect,
.hero__tree .ht-node--magic-trunk rect {
  stroke: rgba(245, 184, 0, 0.42);
  fill: rgba(245, 184, 0, 0.04);
}
.hero__tree .ht-node--always rect,
.hero__tree .ht-node--cond rect {
  stroke: rgba(255, 255, 255, 0.28);
}
.hero__tree .ht-node text {
  fill: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-anchor: middle;
  letter-spacing: 0.02em;
}
.hero__tree .ht-node--page text,
.hero__tree .ht-node--page-end text,
.hero__tree .ht-node--magic-trunk text {
  fill: rgba(245, 184, 0, 0.68);
}
.hero__tree .ht-node--always text,
.hero__tree .ht-node--cond text {
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.45);
}
.hero__tree .ht-line {
  fill: none;
  stroke: rgba(245, 184, 0, 0.36);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.hero__tree .ht-dot {
  fill: rgba(245, 184, 0, 0.55);
}
.hero__tree .ht-flow {
  fill: rgba(245, 184, 0, 0.85);
  filter: drop-shadow(0 0 6px rgba(245, 184, 0, 0.7));
}

/* Master 12s loop. 3 Hauptäste plus nested Sub-Branch unter Magic B.
   Scale-in entrances; alle Elemente faden bei 92% gemeinsam aus. */
/* Phase 1 — Trunk */
.hero__tree .ht-node--page         { animation: hero-tree-pop-1  10s ease-out infinite; }
.hero__tree .ht-line--1            { animation: hero-tree-draw-1 10s ease-out infinite; }
.hero__tree .ht-dot--1             { animation: hero-tree-pop-2  10s ease-out infinite; }
.hero__tree .ht-node--always       { animation: hero-tree-pop-2  10s ease-out infinite; }
.hero__tree .ht-line--2            { animation: hero-tree-draw-2 10s ease-out infinite; }
.hero__tree .ht-dot--2             { animation: hero-tree-pop-3  10s ease-out infinite; }
.hero__tree .ht-node--magic-trunk  { animation: hero-tree-pop-3  10s ease-out infinite; }
.hero__tree .ht-line--3            { animation: hero-tree-draw-3 10s ease-out infinite; }
.hero__tree .ht-dot--3             { animation: hero-tree-pop-4  10s ease-out infinite; }
/* Hauptast-Lines (3 Stück) */
.hero__tree .ht-line--4a,
.hero__tree .ht-line--4b,
.hero__tree .ht-line--4c           { animation: hero-tree-draw-4 10s ease-out infinite; }
/* 3 Hauptast-Cond-Pills */
.hero__tree .ht-cond--a,
.hero__tree .ht-cond--b,
.hero__tree .ht-cond--c            { animation: hero-tree-pop-5  10s ease-out infinite; }
/* Cond → Magic Drops (3 Stück) */
.hero__tree .ht-line--5a,
.hero__tree .ht-line--5b,
.hero__tree .ht-line--5c           { animation: hero-tree-draw-6 10s ease-out infinite; }
/* 3 Main Magics */
.hero__tree .ht-mag--a,
.hero__tree .ht-mag--b,
.hero__tree .ht-mag--c             { animation: hero-tree-pop-7  10s ease-out infinite; }
/* Sub-Branch von Magic B (Trunk-Drop + 2 Sub-Branch-Lines) */
.hero__tree .ht-line--7-trunk,
.hero__tree .ht-line--7a,
.hero__tree .ht-line--7b           { animation: hero-tree-draw-7sub 10s ease-out infinite; }
.hero__tree .ht-dot--4             { animation: hero-tree-pop-8sub 10s ease-out infinite; }
/* 2 Sub-Cond-Pills (NEU — zwischen Main-Magics und Endpunkten) */
.hero__tree .ht-subcond--a,
.hero__tree .ht-subcond--b         { animation: hero-tree-pop-8sub 10s ease-out infinite; }
/* Drops zu Endpunkten: Goto A & C direkt, Sub-Goto B-1 & B-2 nach Sub-Cond */
.hero__tree .ht-line--6a,
.hero__tree .ht-line--6c,
.hero__tree .ht-line--8a,
.hero__tree .ht-line--8b           { animation: hero-tree-draw-8 10s ease-out infinite; }
/* 4 Endpunkte: Goto A, Sub-Goto B-1, Sub-Goto B-2, Goto C */
.hero__tree .ht-goto--a,
.hero__tree .ht-goto--c,
.hero__tree .ht-subgoto--a,
.hero__tree .ht-subgoto--b         { animation: hero-tree-pop-9  10s ease-out infinite; }
/* Konvergenz-Lines: 4 Drops + Bus + Final-Drop zu Start Ziel */
.hero__tree .ht-line--9a,
.hero__tree .ht-line--9b1,
.hero__tree .ht-line--9b2,
.hero__tree .ht-line--9c,
.hero__tree .ht-line--9bus,
.hero__tree .ht-line--9drop        { animation: hero-tree-draw-10 10s ease-out infinite; }
/* Phase 1 Konvergenz: Start Ziel */
.hero__tree .ht-node--page-end     { animation: hero-tree-pop-11 10s ease-out infinite; }

/* Phase 2 — Validation + Delivery (untere Tree-Hälfte) */
.hero__tree .ht-line--11           { animation: hero-tree-draw-12 10s ease-out infinite; }
.hero__tree .ht-dot--5             { animation: hero-tree-pop-12  10s ease-out infinite; }
.hero__tree .ht-late--1            { animation: hero-tree-pop-12  10s ease-out infinite; }
.hero__tree .ht-line--12           { animation: hero-tree-draw-13 10s ease-out infinite; }
.hero__tree .ht-dot--6             { animation: hero-tree-pop-13  10s ease-out infinite; }
.hero__tree .ht-late--2            { animation: hero-tree-pop-13  10s ease-out infinite; }
.hero__tree .ht-line--13           { animation: hero-tree-draw-14 10s ease-out infinite; }
.hero__tree .ht-line--14a,
.hero__tree .ht-line--14b          { animation: hero-tree-draw-14 10s ease-out infinite; }
.hero__tree .ht-late--3            { animation: hero-tree-pop-14  10s ease-out infinite; }
.hero__tree .ht-line--15a,
.hero__tree .ht-line--15b          { animation: hero-tree-draw-15 10s ease-out infinite; }
.hero__tree .ht-late--4            { animation: hero-tree-pop-15  10s ease-out infinite; }

/* Stagger slots inside the 16s loop. Each pop = scale-in entrance with overshoot. */
@keyframes hero-tree-pop-1  { 0%, 1%  { opacity: 0; transform: scale(0.85); } 4%  { opacity: 1; transform: scale(1.06); } 6%  { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-2  { 0%, 6%  { opacity: 0; transform: scale(0.85); } 9%  { opacity: 1; transform: scale(1.06); } 11% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-3  { 0%, 12% { opacity: 0; transform: scale(0.85); } 15% { opacity: 1; transform: scale(1.06); } 17% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-4  { 0%, 20% { opacity: 0; transform: scale(0.85); } 23% { opacity: 1; transform: scale(1.06); } 25% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-5  { 0%, 28% { opacity: 0; transform: scale(0.85); } 31% { opacity: 1; transform: scale(1.06); } 33% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-7  { 0%, 36% { opacity: 0; transform: scale(0.85); } 39% { opacity: 1; transform: scale(1.06); } 41% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-8sub { 0%, 42% { opacity: 0; transform: scale(0.85); } 45% { opacity: 1; transform: scale(1.06); } 47% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-9  { 0%, 49% { opacity: 0; transform: scale(0.85); } 52% { opacity: 1; transform: scale(1.06); } 54% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-11 { 0%, 60% { opacity: 0; transform: scale(0.85); } 63% { opacity: 1; transform: scale(1.06); } 65% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-12 { 0%, 67% { opacity: 0; transform: scale(0.85); } 70% { opacity: 1; transform: scale(1.06); } 72% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-13 { 0%, 73% { opacity: 0; transform: scale(0.85); } 76% { opacity: 1; transform: scale(1.06); } 78% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-14 { 0%, 78% { opacity: 0; transform: scale(0.85); } 81% { opacity: 1; transform: scale(1.06); } 83% { transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hero-tree-pop-15 { 0%, 82% { opacity: 0; transform: scale(0.85); } 84% { opacity: 1; transform: scale(1.06); } 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(0.96); } }

/* Line-draw keyframes — pathLength="1" so dashoffset 0..1 = 0..100% */
@keyframes hero-tree-draw-1  { 0%, 4%  { stroke-dashoffset: 1; opacity: 0; } 5%  { opacity: 1; } 8%  { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-2  { 0%, 10% { stroke-dashoffset: 1; opacity: 0; } 11% { opacity: 1; } 14% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-3  { 0%, 18% { stroke-dashoffset: 1; opacity: 0; } 19% { opacity: 1; } 22% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-4  { 0%, 24% { stroke-dashoffset: 1; opacity: 0; } 25% { opacity: 1; } 30% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-6  { 0%, 33% { stroke-dashoffset: 1; opacity: 0; } 34% { opacity: 1; } 36% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-7sub { 0%, 40% { stroke-dashoffset: 1; opacity: 0; } 41% { opacity: 1; } 44% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-8  { 0%, 47% { stroke-dashoffset: 1; opacity: 0; } 48% { opacity: 1; } 50% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-10 { 0%, 53% { stroke-dashoffset: 1; opacity: 0; } 54% { opacity: 1; } 58% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-12 { 0%, 65% { stroke-dashoffset: 1; opacity: 0; } 66% { opacity: 1; } 69% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-13 { 0%, 71% { stroke-dashoffset: 1; opacity: 0; } 72% { opacity: 1; } 75% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-14 { 0%, 76% { stroke-dashoffset: 1; opacity: 0; } 77% { opacity: 1; } 80% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes hero-tree-draw-15 { 0%, 80% { stroke-dashoffset: 1; opacity: 0; } 81% { opacity: 1; } 83% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 1; opacity: 0; } }

/* Motion-Flow: data dots traveling along the trunk path */
.hero__tree .ht-flow--trunk-1 {
  offset-path: path('M 290 50 L 290 78 M 290 110 L 290 138 M 290 178 L 290 206');
  offset-distance: 0%;
  animation: hero-tree-flow-trunk 2s linear infinite;
  animation-delay: -0.3s;
}
.hero__tree .ht-flow--trunk-2 {
  offset-path: path('M 290 50 L 290 78 M 290 110 L 290 138 M 290 178 L 290 206');
  offset-distance: 0%;
  animation: hero-tree-flow-trunk 2s linear infinite;
  animation-delay: -1.2s;
}
.hero__tree .ht-flow--branch {
  offset-path: path('M 290 206 L 290 230 L 70 230 L 70 252');
  offset-distance: 0%;
  animation: hero-tree-flow-branch 1.5s linear infinite;
  animation-delay: -0.5s;
}
@keyframes hero-tree-flow-trunk {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes hero-tree-flow-branch {
  0%   { offset-distance: 0%;   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ============================================================
   Hero Floating UI-Bits — abstract shapes drifting im Hintergrund
   12 elements (Punkte, Plus-Signs, kleine Frames)
   ============================================================ */
.hero__bit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.hero__bit--1 { top: 22%; right: 35%; width: 12px; height: 12px;
  background: rgba(245, 184, 0, 0.65);
  box-shadow: 0 0 18px rgba(245, 184, 0, 0.6);
  animation: hero-bit-drift-a 7s ease-in-out infinite; }
.hero__bit--2 { top: 68%; right: 12%; width: 8px;  height: 8px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
  animation: hero-bit-drift-b 8s ease-in-out infinite; animation-delay: -1.5s; }
.hero__bit--3 { top: 38%; right: 50%; width: 6px;  height: 6px;
  background: rgba(255, 255, 255, 0.55);
  animation: hero-bit-drift-c 10s ease-in-out infinite; animation-delay: -4s; }
.hero__bit--4 { top: 80%; right: 28%; width: 9px;  height: 9px;
  background: rgba(245, 184, 0, 0.55);
  box-shadow: 0 0 14px rgba(245, 184, 0, 0.4);
  animation: hero-bit-drift-a 11s ease-in-out infinite; animation-delay: -6s; }
.hero__bit--5 { top: 12%; right: 8%;  width: 16px; height: 16px; border-radius: 2px;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.32);
  animation: hero-bit-drift-b 12s ease-in-out infinite; animation-delay: -2.5s; }
.hero__bit--6 { top: 56%; right: 6%;  width: 24px; height: 24px; border-radius: 0;
  background: transparent; border: 1.5px solid rgba(245, 184, 0, 0.32);
  animation: hero-bit-drift-c 14s ease-in-out infinite; animation-delay: -7.5s; }
.hero__bit--7 { top: 30%; right: 70%; width: 7px;  height: 7px;
  background: rgba(245, 184, 0, 0.55);
  box-shadow: 0 0 10px rgba(245, 184, 0, 0.4);
  animation: hero-bit-drift-a 8.5s ease-in-out infinite; animation-delay: -3.5s; }
.hero__bit--8 { top: 50%; right: 78%; width: 9px;  height: 9px;
  background: rgba(255, 255, 255, 0.50);
  animation: hero-bit-drift-c 9.5s ease-in-out infinite; animation-delay: -5s; }
.hero__bit--9 { top: 88%; right: 60%; width: 22px; height: 22px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 50%;
  animation: hero-bit-drift-b 13s ease-in-out infinite; animation-delay: -3s; }
.hero__bit--10 { top: 8%; right: 56%; width: 8px;  height: 8px;
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  animation: hero-bit-drift-a 6.5s ease-in-out infinite; animation-delay: -1s; }
.hero__bit--11 { top: 64%; right: 88%; width: 5px;  height: 5px;
  background: rgba(245, 184, 0, 0.70);
  box-shadow: 0 0 8px rgba(245, 184, 0, 0.4);
  animation: hero-bit-drift-c 7.5s ease-in-out infinite; animation-delay: -5.5s; }
.hero__bit--12 { top: 18%; right: 18%; width: 13px; height: 13px; border-radius: 0;
  background: transparent; border: 1px solid rgba(245, 184, 0, 0.34);
  animation: hero-bit-drift-b 16s ease-in-out infinite; animation-delay: -9s; }

/* Bit-Atmen — nur Opacity + sanfter Scale, kein Translate.
   Bits bleiben an Ort und Stelle und pulsieren rein/raus. */
@keyframes hero-bit-drift-a {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  20%      { opacity: 1; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.25); }
  80%      { opacity: 0.7; transform: scale(0.95); }
}
@keyframes hero-bit-drift-b {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  25%      { opacity: 1; transform: scale(1.1); }
  50%      { opacity: 0.85; transform: scale(1.4); }
  75%      { opacity: 1; transform: scale(1); }
}
@keyframes hero-bit-drift-c {
  0%, 100% { opacity: 0; transform: rotate(0deg) scale(0.85); }
  30%      { opacity: 0.95; transform: rotate(60deg) scale(1.1); }
  50%      { opacity: 0.55; transform: rotate(180deg) scale(1.25); }
  70%      { opacity: 0.95; transform: rotate(300deg) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__tree, .hero__bit { animation: none; opacity: 0.6; }
  .hero__tree .ht-line { stroke-dashoffset: 0; opacity: 1; }
  .hero__tree .ht-node, .hero__tree .ht-dot { opacity: 1; }
}

/* ============================================================
   OVERDRIVE-LAYER — Cinematic Editorial Polish
   Fünf orchestrierte Effekte, die der Site eine Premium-Bühne
   geben ohne in Slop zu kippen. Alle Compositor-only, alle
   reduced-motion-aware, alle Pointer-aware.
   ============================================================ */

/* O2: Hero Letter-by-Letter Reveal
   Splittet die Homepage-Hero-Headline in Zeichen-Spans.
   Jedes Char animiert mit cascading delay. */
.hero--dark .h-hero .char,
.hero--dark .h-display .char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.25em, 0);
  animation: charReveal 760ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  /* Stabiles Glyph-Rendering — verhindert Subpixel-Jitter
     während der staggered Char-Reveals. */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  will-change: opacity, transform;
}
@keyframes charReveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.hero--dark .h-hero .char[style*="animation"]:not(:hover),
.hero--dark .h-display .char[style*="animation"]:not(:hover) {
  /* Nach Animation-Ende will-change auflösen via animation-fill-mode forwards
     erreicht — der Compositor-Layer wird vom Browser nach kurzer Zeit
     automatisch dropped. */
}
@media (prefers-reduced-motion: reduce) {
  .hero--dark .h-hero .char,
  .hero--dark .h-display .char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* O3: Magnetic-CTA + Active-Press deaktiviert — Primary-Buttons sollen
   beim Hover keine Bewegung machen. Nur sanfter Background-Color-Wechsel
   (siehe Basisregel weiter oben in dieser Datei) bleibt erhalten. */
.btn--primary {
  transform: none;
  transition: background-color var(--motion-micro) var(--motion-ease-out);
  will-change: auto;
}
.btn--primary:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary {
    transform: none;
    transition: background-color var(--motion-micro) var(--motion-ease-out);
  }
}

/* O4: Hero-Orb Scroll-Parallax — Orbs bewegen sich langsamer als Content
   beim Scrollen. JS setzt --scroll-y; CSS multipliziert pro Orb anders. */
.hero--dark .hero__orb--1 { transform: translate3d(0, calc(var(--scroll-y, 0) * -0.15px), 0); }
.hero--dark .hero__orb--2 { transform: translate3d(0, calc(var(--scroll-y, 0) * -0.22px), 0); }
.hero--dark .hero__orb--3 { transform: translate3d(0, calc(var(--scroll-y, 0) * -0.10px), 0); }
.hero--dark .hero__orb--4 { transform: translate3d(0, calc(var(--scroll-y, 0) * -0.28px), 0); }
@media (prefers-reduced-motion: reduce) {
  .hero--dark .hero__orb--1,
  .hero--dark .hero__orb--2,
  .hero--dark .hero__orb--3,
  .hero--dark .hero__orb--4 {
    transform: none !important;
  }
}

/* O5: Marquee-Speed-Boost auf Hover — Logos beschleunigen subtil */
.logo-marquee:hover .logo-marquee__track {
  animation-duration: 24s;
  transition: animation-duration 720ms ease;
}

/* O6: Section-Reveal mit Scale + Blur — dramatischer als reines Translate */
.reveal-cinematic {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  /* filter: blur entfernt — verursachte Repaint-Flicker pro Frame.
     Reine Translate+Opacity-Transition ist GPU-only und sauber. */
  transition:
    opacity 560ms cubic-bezier(0.42, 0, 0.58, 1),
    transform 560ms cubic-bezier(0.42, 0, 0.58, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.reveal-cinematic.is-inview,
.reveal-cinematic.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-cinematic,
  .reveal-cinematic.is-inview,
  .reveal-cinematic.visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* O7: Hover-Lift mit Soft-Shadow — Cards heben sich beim Hover
   site-weit aus dem Layout (nur Pointer-Geräte). */
@media (hover: hover) and (pointer: fine) {
  a.group, a.customer-card, a.use-card, .card-lift {
    transition:
      transform 320ms cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 320ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  a.group:hover:not(.no-lift),
  a.customer-card:hover,
  a.use-card:hover,
  .card-lift:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow:
      0 22px 44px -16px rgba(10, 10, 11, 0.18),
      0 8px 18px -8px rgba(245, 184, 0, 0.05);
  }
}

/* ============================================================
   CLARIFY-PASS — Mikro-Typografie + System-Konsistenz site-weit
   Sieben Verschärfungen, die jede einzelne Seite klarer machen,
   ohne Inhalte zu verändern.
   ============================================================ */

/* C1: Optisch ausbalancierte Headlines via text-wrap: balance.
   Modern CSS — Browser bricht Headlines so um, dass die Zeilen
   visuell gleich lang sind. Verhindert „Hänger-Worte" auf der
   letzten Zeile, die typografisch immer hässlich aussehen. */
.h-hero,
.h-display,
.h-1,
.h-2,
.h-3 {
  text-wrap: balance;
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 8 4 4; /* min-word, min-before, min-after */
}

/* C2: Body-Text via text-wrap: pretty.
   Modern CSS — verhindert Orphans (einzelne Wörter auf letzter Zeile).
   Plus deutsche Silbentrennung für lange Komposita. */
p, .body-md, .sub, .lead {
  text-wrap: pretty;
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 10 5 5;
}

/* C3: Site-wide Kerning + Ligaturen. Subtile Anhebung der
   text-rendering-Qualität — Browser nutzen normalerweise „auto",
   was bei kleinem Text Optimierung weglässt. */
body {
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* C4: Small-Text Tracking. Text unter 14 px wirkt durch Anti-Aliasing
   visuell kondensiert — gegensteuernde Letter-Spacing-Erhöhung. */
.meta,
.eyebrow,
small,
.text-xs,
.text-sm:not(.h-3):not(.h-2):not(.h-1) {
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}

/* C5: Lead-Class für Section-Intro-Texte (zwischen Heading und Body).
   Macht die zweite Hierarchie-Stufe klarer als ein generischer Body. */
.lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 65ch;
}

/* ============================================================
   C5b: Typografie-Utilities (Phase 5 / Welle A · 2026-05-27)
   Ersetzen wiederkehrende Inline-Styles. Positionale Properties
   (margin, transform) bleiben weiterhin inline pro Verwendung.
   ============================================================ */

.t-mono-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;  /* 2026-05-28: 11 → 13 (+18%) für bessere Lesbarkeit */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  line-height: 1;
}

.t-mono-eyebrow-sm {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 700;
  line-height: 1;
}

.t-card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-900);
}

.t-card-quote-serif {
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink-900);
  letter-spacing: -0.06em;
}

.t-body-14 {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
}

.t-meta-14 {
  font-family: var(--font-sans);
  font-size: 14px;  /* Phase 6 · 2026-05-27 · 13 → 14 für klarere Differenzierung zu .eyebrow (11px caps) */
  line-height: 1.5;
  color: var(--ink-500);
}

.t-label-14 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

.t-link-secondary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* ============================================================
   C5c: Component-Utilities (Phase 5 / Welle A.3 + B · 2026-05-27)
   ============================================================ */

/* Pill-Button mit Akzent-Hintergrund (Hero-CTA, Nav-Mega-Demo-CTA).
   Häufigste Single-Style-Wiederholung site-weit (258× vor Konsolidierung). */
.btn-pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent-500, #F5B800);
  color: var(--ink-900, #0A0A0B);
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Card mit Hairline-Border. Wachtell-editorial Default-Card-Aesthetic. */
.card-hairline {
  background: var(--paper-00);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 32px;
}

/* ============================================================
   C5d: Engine-3+1-Grid (Phase 7 · 2026-05-27)
   Asymmetrisches Layout für die 4 UNOY Engines auf der Homepage:
   Legal Engine als großer Anker links (2 Spalten breit, 3 Zeilen hoch),
   Claims / Back Office / Ratgeber rechts gestapelt.
   Ersetzt das vorherige 4-Karten-Grid (.lp-cards-4).
   ============================================================ */

.lp-grid-engines {
  container-type: inline-size;
  container-name: persona-router;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0;
  min-height: 560px;
}

.lp-engine-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 30px 28px;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.lp-engine-card--hero {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding: 40px 36px;
}

.lp-engine-card--stacked {
  grid-column: 2;
  padding: 24px 24px;
  min-height: 0;
}

/* Footer mit CTA-Links — separat damit margin-top: auto den Block nach unten zieht */
.lp-engine-card__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
  border-color: rgba(0,0,0,0.12);
}

.lp-engine-card--terra .lp-engine-card__cta {
  border-color: rgba(10,10,11,0.18); /* 2026-05-28: war white-rgba — Terra ist jetzt hell, dark border passt */
}

/* Engine-Farbvarianten — vollflächig (wie das alte lp-card-Pattern) */
/* 2026-05-28: Engine-Card-Farben heller für bessere Kontrast-Balance.
   Terra zusätzlich auf dark text (war white → unlesbar auf Hellorange).
   Hue bleibt erhalten, Sättigung/Helligkeit angehoben. */
.lp-engine-card--steel { background: #DCE2E4; color: var(--ink-900); }
.lp-engine-card--sand  { background: #EFE8D2; color: var(--ink-900); }
.lp-engine-card--terra { background: #ECB99A; color: var(--ink-900); }
.lp-engine-card--sage  { background: #C2C8BC; color: var(--ink-900); }
/* Legacy-Alias: alte Klasse --sky bleibt funktional, gleicher Sage-Ton.
   Falls noch Stubs --sky referenzieren, bekommen sie automatisch die neue Farbe. */
.lp-engine-card--sky   { background: #C2C8BC; color: var(--ink-900); }

/* Responsive: Container-Query — Engine-Grid reagiert auf eigene Breite, nicht Viewport.
   Phase 10 · 2026-05-27. Bei <720px Container-Breite: vertikales Stacking. */
@container persona-router (max-width: 720px) {
  .lp-grid-engines {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .lp-engine-card--hero,
  .lp-engine-card--stacked {
    grid-column: 1;
    grid-row: auto;
  }
  .lp-engine-card--hero { padding: 32px 28px; }
}

/* C6: Inline-Links in Body-Text bekommen einheitliche Underline-Offset
   und decoration-thickness. Konsistenz site-weit. */
p a:not(.btn):not([class*="text-primary"]):not(.nav-link) {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in oklch, var(--accent-700) 60%, transparent);
}
p a:not(.btn):not([class*="text-primary"]):not(.nav-link):hover {
  text-decoration-color: var(--accent-700);
  text-decoration-thickness: 2px;
}

/* C7: Caps + Tracking für Eyebrows verschärft.
   Alte Eyebrow-Pattern-Varianten (Tailwind-Adhoc) werden auf
   das gleiche Tracking gezogen wie .eyebrow. */
[class*="tracking-[0.02em]"][class*="uppercase"][class*="font-bold"],
[class*="tracking-[0.15em]"][class*="uppercase"],
[class*="tracking-widest"][class*="uppercase"] {
  font-feature-settings: "kern" 1, "liga" 0, "ss01" 1;
}

/* ============================================================
   SITE-WIDE-MOTION — Fünf orchestrierte Animations-Pattern, die
   sich nicht aufdrängen aber überall wahrnehmbar sind.
   Alle reduced-motion-aware, alle Compositor-only (transform/opacity).
   ============================================================ */

/* M1: Scroll-Progress-Indicator
   Gold-Line am oberen Viewport-Rand, scaleX basiert auf --scroll-progress.
   Fixed, 2 px hoch, immer sichtbar, nutzt origin-left für saubere Right-Wachstum. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-500);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  z-index: 100;
  pointer-events: none;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* M2: Image Lazy-Reveal
   IntersectionObserver-getriggert. Bilder fade-in + scale 0.98 → 1.0
   beim Eintritt in den Viewport. Apple-style image entrance. */
img.lazy-reveal,
.lazy-reveal img {
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 720ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 720ms cubic-bezier(0.23, 1, 0.32, 1);
}
img.lazy-reveal.is-loaded,
.lazy-reveal.is-loaded img,
img.lazy-reveal.is-inview,
.lazy-reveal.is-inview img {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  img.lazy-reveal,
  .lazy-reveal img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* M3: Heading-Entrance
   Headlines bekommen einen sanften Fade + 4px Translate beim Eintritt.
   GPU-only (transform + opacity), keine letter-spacing- oder filter-blur-
   Animationen mehr — die triggerten Layout-Recalc bzw. Paint pro Frame
   und führten zum sichtbaren Zucken auf großen Display-Headlines. */
.h-display.is-typeset,
.h-1.is-typeset {
  animation: headingEntrance 560ms cubic-bezier(0.23, 1, 0.32, 1) both;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  will-change: opacity, transform;
}
@keyframes headingEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 4px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .h-display.is-typeset,
  .h-1.is-typeset {
    animation: none;
  }
}

/* M4: CTA-Row Child Stagger
   Buttons in einer CTA-Row, die in den View kommen, staggered einzeln rein. */
.cta-row.is-inview > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.cta-row > * {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 460ms var(--motion-ease-out),
    transform 460ms var(--motion-ease-out);
}
.cta-row > *:nth-child(1) { transition-delay: 60ms; }
.cta-row > *:nth-child(2) { transition-delay: 180ms; }
.cta-row > *:nth-child(3) { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .cta-row > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* M5: View-Transitions (Cross-Page Fade)
   Browser-native page transition zwischen verlinkten Seiten.
   Modernes API, Fallback ist nahtloser Sprung wie bisher. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: pageFadeOut 240ms var(--motion-ease-out) both;
}
::view-transition-new(root) {
  animation: pageFadeIn 320ms var(--motion-ease-out) both;
}
@keyframes pageFadeOut {
  to { opacity: 0; transform: translate3d(0, -4px, 0); }
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
}

/* ============================================================
   DELIGHT-LAYER — Drei choreografierte Hero-Polishes
   Alle scoped auf .hero--dark, alle reduced-motion-aware.
   ============================================================ */

/* Delight 1: Cursor-Spotlight
   Ein extrem dezenter Goldschimmer, der dem Cursor folgt.
   --mx / --my werden von page-motion.js auf mousemove gesetzt (in %).
   Default 50%/50% (Mitte) für initialen State und Touch-Geräte. */
.hero--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(245, 184, 0, 0.10),
    transparent 35%
  );
  opacity: 0;
  transition: opacity 480ms var(--motion-ease-out);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero--dark.is-cursor-active::after {
  opacity: 1;
}
@media (hover: none) or (pointer: coarse) {
  .hero--dark::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--dark::after { display: none; }
}

/* Delight 2: First-Load-Choreografie
   Jedes Kind der hero--dark animiert sequenziell rein, statt alles
   gleichzeitig zu zeigen. Apple-style staggered entrance. */
.hero--dark > .eyebrow,
.hero--dark > .h-hero,
.hero--dark > .h-display,
.hero--dark > .sub,
.hero--dark > .cta-row {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  animation: heroEnter 720ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.hero--dark > .eyebrow  { animation-delay:  80ms; }
.hero--dark > .h-hero,
.hero--dark > .h-display { animation-delay: 240ms; }
.hero--dark > .sub      { animation-delay: 440ms; }
.hero--dark > .cta-row  { animation-delay: 620ms; }

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero--dark > .eyebrow,
  .hero--dark > .h-hero,
  .hero--dark > .h-display,
  .hero--dark > .sub,
  .hero--dark > .cta-row {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Delight 3: Italic-Akzent-Highlight
   Das gelbe Instrument-Serif-Italic-Wort im Hero bekommt einen Sub-Pixel-
   Highlight beim Erscheinen — so als würde ein Spotlight kurz draufgehen.
   Effekt: text-shadow fade-in nach der heroEnter-Animation. */
.hero--dark .h-hero .serif-italic,
.hero--dark .h-display .serif-italic {
  display: inline-block;
  animation: italicGlow 1600ms cubic-bezier(0.23, 1, 0.32, 1) 880ms both;
}
@keyframes italicGlow {
  0%   { text-shadow: 0 0 0 rgba(245, 184, 0, 0); }
  40%  { text-shadow: 0 0 24px rgba(245, 184, 0, 0.45); }
  100% { text-shadow: 0 0 0 rgba(245, 184, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--dark .h-hero .serif-italic,
  .hero--dark .h-display .serif-italic {
    animation: none;
  }
}

.hero .eyebrow {
  margin-bottom: 24px;
}
.hero .h-hero,
.hero .h-display {
  margin-bottom: 24px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hero .sub {
  max-width: 540px;
  margin: 0 auto 40px;
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1.5;
}
.hero .cta-row {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
/* Standalone CTA row (außerhalb hero, z.B. Final-CTA) */
.cta-row {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 1023px) {
  .hero { padding: 168px 24px; }
}
@media (max-width: 767px) {
  .hero { padding: var(--hero-pad-mobile) 16px; }
  .hero .h-hero { font-size: 49px; } /* -12.5% */
  .hero .h-display { font-size: 39px; } /* -11% */
}

/* ============================================================
   Section-Wrapper
   ============================================================ */
/* Universelle Section-Constraint · 2026-05-27
   max() trick: padding wächst auf wide-viewports automatisch,
   damit Section-Content niemals breiter als --site-max wird,
   egal ob die Section einen .container hat oder nicht.
   Ergebnis: alle Sektionen site-weit haben dieselbe Content-Edge wie Header/Footer. */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  padding-left: max(24px, calc((100% - var(--site-max)) / 2));
  padding-right: max(24px, calc((100% - var(--site-max)) / 2));
}
@media (max-width: 767px) {
  .section { padding: var(--section-pad-mobile) 16px; }
}
.section--paper {
  background: var(--paper-10);
}
.section--tinted {
  background: var(--paper-20);
}
.section--card {
  background: var(--paper-00);
}
.section--dark {
  background: var(--gradient-dark, linear-gradient(180deg, #14181C 0%, #1A1F26 100%));
  color: #ffffff;
}

/* Engine-Tonal-Section-Backgrounds · 2026-05-28
   Dezente 50er-Tints für semantische Section-Bühnen.
   Anwendung: <section class="section section--steel-50">...</section>
   Restraint: max 1-2 getönte Sections pro Scroll, sonst Bonbon-Laden.
   100er-Stops verfügbar für stärkeren Effekt, sparsam einsetzen. */
.section--steel-50  { background: var(--steel-50);  }
.section--steel-100 { background: var(--steel-100); }
.section--sand-50   { background: var(--sand-50);   }
.section--sand-100  { background: var(--sand-100);  }
.section--terra-50  { background: var(--terra-50);  }
.section--terra-100 { background: var(--terra-100); }
.section--sage-50   { background: var(--sage-50);   }
.section--sage-100  { background: var(--sage-100);  }

/* Dark-Tonal-Variants für dramatische Sections — 900er-Stops.
   Text-Color wird automatisch auf weiß gesetzt. */
.section--steel-900 { background: var(--steel-900); color: var(--ink-on-dark-900); }
.section--sand-900  { background: var(--sand-900);  color: var(--ink-on-dark-900); }
.section--terra-900 { background: var(--terra-900); color: var(--ink-on-dark-900); }
.section--sage-900  { background: var(--sage-900);  color: var(--ink-on-dark-900); }
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.7); }
.section--dark .h-display,
.section--dark .h-1,
.section--dark .h-2,
.section--dark .h-3,
.text-white .h-display,
.text-white .h-1,
.text-white .h-2,
.text-white .h-3 { color: #ffffff; }
.section--dark .body-md { color: rgba(255, 255, 255, 0.75); }

/* ============================================================
   Legacy-Override — alte .mega / .mega-wordmark Klassen auf
   neue Doc-Typografie ziehen (Inter 700, nicht 300).
   Inline-styles in HTML überschreiben Doc-Typo, deshalb !important.
   ============================================================ */
.mega,
.mega-wordmark {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: clamp(32px, 4.4vw, 56px); /* -12% */
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
  color: var(--ink-900);
}
/* Innerhalb dunkler Sections weiß */
.section--dark .mega,
.section--dark .mega-wordmark,
.bg-\[\#0a0a0a\] .mega,
.bg-\[\#0a0a0a\] .mega-wordmark,
.text-white.mega,
.text-white.mega-wordmark {
  color: #ffffff;
}
/* Yellow-accent span im Heading (statt text-primary-container plain)
   bekommt automatisch Inter Light 300 in Gold */
.mega .text-primary-container,
.mega-wordmark .text-primary-container,
.h-display .text-primary-container,
.h-1 .text-primary-container,
.h-2 .text-primary-container {
  font-family: var(--font-italic) !important;
  font-style: normal !important;
  font-weight: 300 !important;
  color: var(--accent-500) !important;
  letter-spacing: -0.06em !important;
}

/* ============================================================
   Eyebrow-Override — alte .font-headline.italic Eyebrows auf
   Standard-Eyebrow-Look ziehen (Inter Bold uppercase 0.6875rem)
   ============================================================ */
p.font-headline.italic.text-sm,
.font-headline.italic.text-sm {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: var(--ink-500);
}

/* ============================================================
   Card-Innenabstände — Heading→Body in generischen Karten
   (verhindert engen Überlapp-Eindruck wie auf funktionen-Page)
   ============================================================ */
a.group > .h-2,
a.group > .h-3,
.group > .h-2,
.group > .h-3 {
  line-height: 1.25;
  margin-bottom: 24px;
}
a.group .h-2 + p,
a.group .h-3 + p,
.group .h-2 + p,
.group .h-3 + p {
  margin-top: 0;
  line-height: 1.6;
}

/* Generischer Heading→Body Abstand: Tailwind mb-4 (16 px) ist auf .h-2
   und .h-3 zu eng. Erzwinge größere Werte direkt — Margin-Collapse mit
   nachfolgendem <p> bedeutet, das mt von <p> würde sonst geschluckt.
   :not()-Kette erhöht Specificity auf (0,5,0) → schlägt Tailwind und
   inline-<style>-Tags der Sub-Pages mit nur (0,1,0).
   Plus: Line-Clamp auf 2 Zeilen — zu lange Headings werden mit "…"
   abgeschnitten. min-height reserviert beide Zeilen, damit kürzere
   Headlines genauso viel Platz nehmen → Cards alignen vertikal. */
.h-2:not(.hero .h-2):not(.hero--dark .h-2):not(.h-display) {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 36px !important;
  line-height: 1.22 !important;
  min-height: 2.44em; /* 2 × 1.22 line-height = beide Zeilen reserviert */
}
.h-3:not(.hero .h-3):not(.hero--dark .h-3):not(.h-display):not(.model-card .h-3) {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 26px !important;
  line-height: 1.28 !important;
  min-height: 2.56em; /* 2 × 1.28 line-height */
}

/* Model-Card Headline (Self / Partner / Supervised) muss als
   Inline-Flex-Item neben Icon + Pill stehen — Line-Clamp/Min-Height
   würde die Headline 2 Zeilen hoch auf 100% Breite zwingen. */
.model-card .h-3 {
  display: inline !important;
  -webkit-line-clamp: none !important;
  line-clamp: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
/* ============================================================
   Polish-Pass — Site-wide Refinements
   ============================================================ */

/* 1. Selection-Handle: Goldener Highlight statt Browser-Default */
::selection { background: rgba(245, 184, 0, 0.28); color: var(--ink-900); }

/* 2. Smoothes Scrolling für Anchor-Links (CMD+Click etc.) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 3. Focus-Rings: Doc-konform 2 px Gold mit 2 px Offset */
*:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
.btn:focus-visible,
a.btn:focus-visible {
  outline-offset: 3px;
}

/* 4. Optisch-balancierte Bullet-Lists in Body-Prose */
.prose ul,
.prose ol {
  padding-left: 1.5em;
}
.prose li {
  padding-left: 0.25em;
  margin-bottom: 0.5em;
  line-height: 1.55;
}
.prose li::marker {
  color: var(--accent-700);
}

/* 5. Subtile Section-Trenner per Hairline statt sichtbarer Border */
.section + .section,
.section + section {
  position: relative;
}

/* 6. Image/Video global mit weichem Bottom-Shadow für Tiefe */
img.elevated,
video.elevated,
.elevated > img,
.elevated > video {
  box-shadow: 0 30px 60px -20px rgba(10, 10, 11, 0.10),
              0 14px 28px -10px rgba(10, 10, 11, 0.06);
  border-radius: 18px;
}

/* 7. Tabular-Nums für alle Stats und Preise — alignment */
.stats-number,
.h-display[data-count-to],
.h-1[data-count-to],
[data-count-to],
.tabular-nums {
  font-feature-settings: "tnum", "lnum", "ss01";
  font-variant-numeric: tabular-nums lining-nums;
}

/* Doppelte Absicherung: Body-<p> direkt nach Heading bekommt explizit
   margin-top:0 — verhindert Margin-Collapse-Edge-Cases. */
.h-2:not(.hero .h-2):not(.hero--dark .h-2) + p,
.h-3:not(.hero .h-3):not(.hero--dark .h-3) + p {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Headings, die direkt eine Liste/Karten-Group folgen, brauchen weniger.
   Nur p direkt nach Heading bekommt den großen Gap. */
.h-2:not(.hero .h-2) + ul,
.h-2:not(.hero .h-2) + ol,
.h-2:not(.hero .h-2) + div {
  margin-top: 4px;
}

/* !important nötig: Tailwind CDN injectet eigene .container-Utility
   (max-width: 1536px ab xl) und überschreibt diese Rule per Load-Order.
   Wir wollen aber site-weit var(--site-max) (= 1440px seit 2026-05-28). */
.container {
  max-width: var(--site-max) !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}
.prose {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ============================================================
   Logo-Reihe (Social Proof) — Abschnitt 5.5
   ============================================================ */
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.logo-row img {
  height: 40px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--motion-standard) var(--motion-ease);
}
.logo-row img:hover {
  opacity: 0.8;
}

/* ============================================================
   Logo-Bar — statische Kundenlogo-Reihe (z.B. wissen-Page)
   Gleicher Look wie Marquee, aber ohne Animation
   ============================================================ */
.logo-bar-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 280ms var(--motion-ease-out),
              filter   280ms var(--motion-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .logo-bar-img:hover {
    opacity: 1;
    filter: grayscale(0);
  }
}
@media (max-width: 767px) {
  .logo-bar-img {
    height: 26px;
    max-width: 110px;
  }
}

/* ============================================================
   Logo-Marquee — endlos scrollende Kundenlogos
   (zwei identische Tracks à n Logos hintereinander → nahtlos)
   ============================================================ */
.logo-marquee {
  position: relative;
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logoMarquee 32s linear infinite;
  /* Start die Animation mitten im Loop, damit der erste Eindruck mittig wirkt,
     nicht "Track-Start ganz links". -16s = Hälfte von 32s. */
  animation-delay: -16s;
  will-change: transform;
}
.logo-marquee__track:hover {
  animation-play-state: paused;
}
.logo-marquee__track img {
  height: 34px;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--motion-standard) var(--motion-ease),
              filter var(--motion-standard) var(--motion-ease);
  flex-shrink: 0;
}
.logo-marquee__track img:hover {
  opacity: 1;
  filter: grayscale(0);
}
@keyframes logoMarquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .logo-marquee {
    -webkit-mask-image: none;
            mask-image: none;
  }
}
@media (max-width: 767px) {
  .logo-marquee__track {
    gap: 56px;
    animation-duration: 24s;
  }
  .logo-marquee__track img {
    height: 28px;
  }
}

/* ============================================================
   Main-Nav — Abschnitt 5.1
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height-desktop);
  /* Initial: 95 % transparent (5 % Tint) mit Frosted-Glass-Effekt */
  background: rgba(251, 251, 253, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  /* Discrete state change (scrolled vs not) → snappy < 300 ms + Custom-Ease-Out */
  transition:
    background-color 240ms var(--motion-ease-out),
    border-color    240ms var(--motion-ease-out),
    box-shadow      240ms var(--motion-ease-out);
}
/* Beim Scrollen ab ~16 px: voll deckend */
.site-nav.is-scrolled {
  background: rgba(251, 251, 253, 1);
  border-bottom-color: var(--ink-200);
  box-shadow: 0 1px 0 rgba(10, 10, 11, 0.04);
}
/* Über dunklem Hero (body[data-hero-dark]): helle Nav-Schrift solange nicht gescrollt */
body[data-hero-dark] .site-nav:not(.is-scrolled) .wordmark,
body[data-hero-dark] .site-nav:not(.is-scrolled) .nav-link,
body[data-hero-dark] .site-nav:not(.is-scrolled) .meta {
  color: rgba(255, 255, 255, 0.92);
}
body[data-hero-dark] .site-nav:not(.is-scrolled) .wordmark__dot {
  color: var(--accent-500);
}
body[data-hero-dark] .site-nav:not(.is-scrolled) {
  background: rgba(10, 10, 11, 0.05);
}
body[data-hero-dark] .site-nav:not(.is-scrolled) .btn--primary {
  background: var(--accent-500);
  color: var(--ink-900);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  /* +48px Außen-Box, damit die Content-Kanten (nach 2×24px Padding) exakt
     mit `.container` (max-width: var(--site-max), kein Padding) fluchten. */
  max-width: calc(var(--site-max) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.wordmark__dot {
  font-family: var(--font-italic);
  font-style: normal;
  color: var(--accent-500);
  margin-left: 1px;
  letter-spacing: -0.06em;
}
/* UNOY-Logo (img-basiert): wird als <img> eingefügt, mit CSS-Filter
   für Farbadaption (weiß-Variante über Dark-Hero, Gold-Akzent auf Hover). */
.unoy-logo {
  display: inline-block;
  height: 36px;
  width: auto;
  max-width: 130px;
  vertical-align: middle;
  object-fit: contain;
  transition: filter 240ms var(--motion-ease-out);
}
@media (max-width: 767px) {
  .unoy-logo {
    height: 30px;
    max-width: 110px;
  }
}
/* Über dunklem Hero (body[data-hero-dark]): Logo invertiert auf weiß
   solange nicht gescrollt. invert(1) flippt Schwarz→Weiß. */
body[data-hero-dark] .site-nav:not(.is-scrolled) .unoy-logo {
  filter: invert(1);
}
/* Hover-Akzent: subtiler Gold-Tint via Sepia + Hue-Rotate */
.wordmark:hover .unoy-logo {
  filter: sepia(1) saturate(4) hue-rotate(-12deg);
}
body[data-hero-dark] .site-nav:not(.is-scrolled) .wordmark:hover .unoy-logo {
  filter: invert(1) sepia(1) saturate(3) hue-rotate(350deg);
}
.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-900);
  padding: 8px 0;
  transition: color var(--motion-micro) var(--motion-ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--accent-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-standard) var(--motion-ease);
}
.nav-link:hover::after {
  transform: scaleX(1);
}
@media (max-width: 767px) {
  .site-nav { height: var(--nav-height-mobile); }
}

/* ============================================================
   Mega-Menu (Desktop) — Service-Dropdown
   Frosted-Glass-Panel über volle Breite, 12-Col-Grid innen.
   Toggle-State: .nav-group.is-open zeigt das Dropdown.
   ============================================================ */
.nav-group {
  position: relative;
}
/* Hover-Brücke: 24px transparent zwischen Trigger und Dropdown,
   damit der Cursor das Menü erreicht ohne dass der Hover abbricht. */
.nav-group::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}
.nav-group__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-group__caret {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
  transition: transform var(--motion-micro) var(--motion-ease);
}
.nav-group.is-open .nav-group__caret {
  transform: rotate(180deg);
}

.nav-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-height-desktop, 64px);
  z-index: 49;
  /* Solider Hintergrund — kein Blur, voll opaque */
  background: var(--paper-10);
  border-bottom: 1px solid var(--ink-200);
  box-shadow: 0 24px 64px -12px rgba(10, 10, 11, 0.10);
  /* Initial: hidden, smooth fade */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 220ms var(--motion-ease-out),
    transform 220ms var(--motion-ease-out),
    visibility 220ms var(--motion-ease-out);
}
.nav-group.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mega__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}
@media (min-width: 1024px) {
  .nav-mega__inner {
    padding: 40px 48px;
  }
}
.nav-mega__col {
  padding: 0 24px;
}
.nav-mega__col + .nav-mega__col {
  border-left: 1px solid var(--ink-200);
}
@media (min-width: 1024px) {
  .nav-mega__col {
    padding: 0 36px;
  }
}
.nav-mega__heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 28px 0;
}
.nav-mega__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mega__link {
  display: block;
  padding: 16px 0;
  border-top: 1px solid var(--ink-200);
  text-decoration: none;
  transition: padding-left var(--motion-micro) var(--motion-ease);
}
.nav-mega__link:hover {
  padding-left: 8px;
}
.nav-mega__link:last-child {
  border-bottom: 1px solid var(--ink-200);
}
.nav-mega__tag {
  /* 2026-05-28: italic-serif → Mono-Pill (besser lesbar, konsistent mit Wide-Variante) */
  display: inline-block;
  padding: 3px 10px;
  background: rgba(20, 24, 28, 0.06);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.nav-mega__title {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color var(--motion-micro) var(--motion-ease);
}
.nav-mega__link:hover .nav-mega__title {
  color: var(--accent-700);
}
.nav-mega__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.4;
  max-width: 56ch;
}
/* Compact-Variante (für Economics-Spalte) */
.nav-mega__link--compact {
  padding: 12px 0;
}
.nav-mega__link--compact .nav-mega__title {
  font-size: 14.5px;
  margin-bottom: 2px;
}
.nav-mega__link--compact .nav-mega__sub {
  font-size: 12px;
}

/* DE/EN-Switcher in der Nav */
.nav-langs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav-lang {
  padding: 4px 8px;
  border-radius: 9999px;
  color: var(--ink-500);
  text-decoration: none;
  transition: color var(--motion-micro) var(--motion-ease), background-color var(--motion-micro) var(--motion-ease);
}
.nav-lang:hover {
  color: var(--ink-900);
}
.nav-lang.is-active {
  color: var(--ink-900);
  background: var(--paper-30);
}
body[data-hero-dark] .site-nav:not(.is-scrolled) .nav-lang { color: rgba(255, 255, 255, 0.65); }
body[data-hero-dark] .site-nav:not(.is-scrolled) .nav-lang:hover { color: #fff; }
body[data-hero-dark] .site-nav:not(.is-scrolled) .nav-lang.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

/* ============================================================
   Mobile Menu — Vollbild-Overlay
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper-10);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 280ms var(--motion-ease-out);
  /* Wird per .open Klasse aktiviert */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 24px;
}
.mobile-menu__close {
  background: transparent;
  border: 0;
  padding: 8px;
  color: var(--ink-900);
  cursor: pointer;
}
.mobile-menu__section {
  margin-bottom: 28px;
}
.mobile-menu__top {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-200);
}
.mobile-menu__heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding-left: 12px;
  margin: 16px 0 8px 0;
}
.mobile-menu__sublink {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink-700);
  text-decoration: none;
}
.mobile-menu__sublink:active,
.mobile-menu__sublink:hover {
  color: var(--ink-900);
}
.mobile-menu__cta-row {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}
/* Wenn Mobile-Menü offen → Body-Scroll sperren */
body.mobile-menu-open { overflow: hidden; }

/* ============================================================
   Footer — Abschnitt 5.6
   ============================================================ */
.site-footer {
  background: var(--paper-20);
  padding: 80px 24px 40px;
  color: var(--ink-500);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: var(--site-max);
  margin: 0 auto 48px;
}
@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
.site-footer__col h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-900);
  margin-bottom: 16px;
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__col a {
  color: var(--ink-500);
  font-size: 14px;
  transition: color var(--motion-micro) var(--motion-ease);
}
.site-footer__col a:hover {
  color: var(--ink-900);
}
.site-footer__bar {
  max-width: var(--site-max);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--ink-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-500);
}

/* ============================================================
   Motion: Reveal-on-scroll + Flow-Pattern
   Abschnitt 9: 8px Translation, 460ms Sektions-Fade, Apple-Easing
   ============================================================ */

.reveal,
.reveal-blur {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity var(--motion-section) var(--motion-ease-out),
    transform var(--motion-section) var(--motion-ease-out);
  will-change: opacity, transform;
  /* Stabiles Text-Rendering während der Translation — verhindert
     Subpixel-Jitter und das typische "Flimmern" beim GPU-Layer-Up/Down. */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform-style: preserve-3d;
}
.reveal.is-inview,
.reveal.visible,
.reveal-blur.is-inview,
.reveal-blur.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  /* Nach Animation will-change auflösen, damit der GPU-Layer freigegeben
     werden kann. Element bleibt durch translate3d(0,0,0) compositor-promoted. */
  will-change: auto;
}

/* Reveal-Zoom: Zoom-Out-on-Enter — Element startet leicht größer
   (scale 1.08) und settelt auf scale(1). Wirkt als sanftes
   Heranziehen statt eines herauswachsenden Effekts. */
.reveal-zoom {
  opacity: 0;
  transform: translate3d(0, -4px, 0) scale(1.08);
  transition:
    opacity 560ms var(--motion-ease-out),
    transform 560ms var(--motion-ease-out);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.reveal-zoom.is-inview,
.reveal-zoom.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-zoom,
  .reveal-zoom.is-inview,
  .reveal-zoom.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Stagger — Children of .reveal-stagger cascade in at 60ms steps */
.reveal-stagger > .reveal { transition-delay: 0ms; }
.reveal-stagger.is-inview > .reveal:nth-child(1),
.reveal-stagger.visible > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-inview > .reveal:nth-child(2),
.reveal-stagger.visible > .reveal:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-inview > .reveal:nth-child(3),
.reveal-stagger.visible > .reveal:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-inview > .reveal:nth-child(4),
.reveal-stagger.visible > .reveal:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-inview > .reveal:nth-child(5),
.reveal-stagger.visible > .reveal:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-inview > .reveal:nth-child(n+6),
.reveal-stagger.visible > .reveal:nth-child(n+6) { transition-delay: 300ms; }

/* ============================================================
   EMIL-OVERRIDES — Legacy-Animations-Patterns site-weit auf
   Emil-Framework-konforme Defaults ziehen. !important nötig,
   weil Inline-<style>-Tags in 40+ Sub-Pages diese Klassen mit
   eigenen Werten neu definieren. CSS-Source-Order reicht nicht.
   ============================================================ */

/* 1. .fade-in-up: 32 px → 8 px, 0.7 s → 320 ms, sym. ease → custom ease-out */
.fade-in-up {
  opacity: 0 !important;
  transform: translate3d(0, 8px, 0) !important;
  transition:
    opacity var(--motion-section) var(--motion-ease-out) !important,
    transform var(--motion-section) var(--motion-ease-out) !important;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fade-in-up.is-inview,
.fade-in-up.visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  will-change: auto;
}

/* 2. Inline-.reveal-Overrides (translateY(40px)) zurück auf 8 px */
.reveal {
  transform: translate3d(0, 8px, 0) !important;
}
.reveal.is-inview,
.reveal.visible {
  transform: translate3d(0, 0, 0) !important;
}

/* 3. .nav-dropdown: transition: all → spezifische Properties + ease-out */
.nav-dropdown {
  transition:
    opacity 200ms var(--motion-ease-out) !important,
    transform 200ms var(--motion-ease-out) !important,
    visibility 200ms var(--motion-ease-out) !important;
}

/* 4. .filter-chip: transition: all → background + color spezifisch */
.filter-chip {
  transition:
    background-color 200ms var(--motion-ease-out) !important,
    color 200ms var(--motion-ease-out) !important,
    border-color 200ms var(--motion-ease-out) !important;
}

/* 5. Card-Image-Hover: duration-700 (Tailwind) → 280 ms ease-out
      Card-Bilder mit group-hover:scale-105 sollen schnell reagieren,
      nicht 700 ms herauszoomen. */
.group:hover img.transition-transform,
img.transition-transform.duration-700 {
  transition-duration: 280ms !important;
  transition-timing-function: var(--motion-ease-out) !important;
}

/* 6. Generisches transition-all in HTML — wo möglich auf transform/opacity
      einschränken. Das ist eine "best effort"-Regel; einzelne Edge-Cases
      mit anderen Property-Bedürfnissen müssen pro Element gefixt werden. */
.transition-all {
  transition-duration: 240ms !important;
  transition-timing-function: var(--motion-ease-out) !important;
}

/* 7. Button-Press-Feedback: scale(0.97) auf :active für JEDE pressbare
      Form. Sonner/Family-Standard, macht UI "responsive". */
button:active:not(:disabled),
.btn:active,
a.btn:active,
a[role="button"]:active {
  transform: scale(0.97);
}
button,
.btn,
a.btn,
a[role="button"] {
  transition: transform 160ms var(--motion-ease-out),
              background-color 160ms var(--motion-ease-out),
              color 160ms var(--motion-ease-out),
              border-color 160ms var(--motion-ease-out);
}

/* 8. Hover-States nur auf Geräten mit echtem Pointer aktivieren —
      verhindert Flash-Hover-States auf Touchscreens beim Tap.
      Wir overriden Tailwind's group-hover:scale-* für Card-Images. */
@media (hover: none) or (pointer: coarse) {
  .group:hover img.transition-transform {
    transform: none !important;
  }
}

/* 9. Reduced-Motion: zusätzliche Fallbacks für Legacy-Klassen */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .fade-in-up.is-inview,
  .fade-in-up.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .nav-dropdown,
  .filter-chip,
  .transition-all {
    transition: none !important;
  }
  .group:hover img.transition-transform {
    transform: none !important;
  }
}

/* ============================================================
   CUSTOMER-CARD-OVERRIDES — Kontrast & Hierarchie
   Cards mit Video/Bild-Hintergrund + dunklem Overlay haben
   schwache Text-Kontraste (white/40–60). Wir heben die Defaults
   site-weit auf lesbare Werte und entfernen font-light.
   ============================================================ */
.customer-card {
  isolation: isolate;
}

/* Body-Text: white/50–60 → white/85 (deutlich lesbarer auf Image-BG) */
.customer-card .text-white\/50,
.customer-card .text-white\/60 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Labels & Eyebrows: white/40 → white/72 (Mid-Hierarchie sichtbar) */
.customer-card .text-white\/40 {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Mikro-Labels: white/30 → white/55 (Top-Stat-Caption noch lesbar) */
.customer-card .text-white\/30 {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* font-light auf engem Body raus — macht ohnehin schon dünnen Text
   auf Image-BG schwer lesbar. Default-Inter ist 400, das reicht. */
.customer-card p.font-light {
  font-weight: 400 !important;
}

/* Stat-Zahlen: Hierarchie-Boost. Aktuell text-xl/2xl mit font-light →
   text-2xl mit Inter Semibold liest sich klarer als „Anchor"-Element */
.customer-card p.font-headline {
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

/* Body-Copy auf Card: text-xs → text-sm Mindestgröße. Smaller-than-14px
   ist auf Image-BG mit Overlay grenzwertig — Lighthouse warnt zu Recht. */
.customer-card p.text-xs:not([class*="tracking"]):not([class*="font-bold"]) {
  font-size: 0.875rem !important; /* text-sm */
  line-height: 1.55 !important;
}

/* Heading→Body Abstand: mb-4 (16 px) ist zu eng für h-2/h-3-Größen
   auf großen Cards. 28 px gibt klare Hierarchie zwischen Headline
   und Lead-Text. */
.customer-card .h-2 {
  margin-bottom: 28px !important;
  line-height: 1.15;
}
.customer-card .h-3 {
  margin-bottom: 20px !important;
  line-height: 1.2;
}
/* Eyebrow-Reihe (Pill + Tagline) → Heading-Abstand: mb-6 (24 px) */
.customer-card > div > div.flex.items-center,
.customer-card > div > div.flex.items-center.gap-3,
.customer-card > div > div.mb-4 {
  margin-bottom: 24px !important;
}

/* Hover-State: Card hebt leicht ab und Overlay wird einen Tick dunkler →
   bessere Affordance, dass die ganze Card klickbar ist */
.customer-card {
  transition: transform 280ms var(--motion-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .customer-card:hover {
    transform: translateY(-2px);
  }
  .customer-card:hover > div[class*="bg-\\[rgba"] {
    background: rgba(10, 10, 11, 0.62) !important;
    transition: background-color 280ms var(--motion-ease-out);
  }
}

/* Reduced-Motion: kein Lift-Effekt */
@media (prefers-reduced-motion: reduce) {
  .customer-card,
  .customer-card:hover {
    transform: none !important;
  }
}

/* ============================================================
   Flow-Pattern — progressive step reveal with connecting line
   Verwendung: <ol class="flow"> <li class="flow-step">...</li> </ol>
   ============================================================ */

.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.flow::before {
  /* Connecting line running behind the step numbers */
  content: '';
  position: absolute;
  top: 20px;           /* aligned to step-number center */
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--ink-200) 0%,
    var(--accent-500) var(--flow-progress, 0%),
    var(--ink-200) var(--flow-progress, 0%),
    var(--ink-200) 100%
  );
  transition: background var(--motion-section) var(--motion-ease);
  z-index: 0;
}
@media (max-width: 767px) {
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow::before { display: none; }
}

.flow-step {
  position: relative;
  z-index: 1;
  padding: 0;
  background: var(--paper-10);
  /* Initial state: pre-reveal */
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity var(--motion-section) var(--motion-ease),
    transform var(--motion-section) var(--motion-ease);
}
.flow-step.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.flow-step:nth-child(1).is-inview { transition-delay: 0ms; }
.flow-step:nth-child(2).is-inview { transition-delay: 140ms; }
.flow-step:nth-child(3).is-inview { transition-delay: 280ms; }

.flow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-10);
  border: 2px solid var(--ink-200);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  margin-bottom: 24px;
  transition:
    background var(--motion-standard) var(--motion-ease),
    border-color var(--motion-standard) var(--motion-ease),
    color var(--motion-standard) var(--motion-ease);
}
.flow-step.is-inview .flow-step__num {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--ink-900);
}

.flow-step__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.flow-step__body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-700);
}

/* ============================================================
   Button press-feedback — 98% scale on :active (120ms)
   Respektiert reduced-motion
   ============================================================ */
.btn:active {
  transform: scale(0.98);
  transition-duration: var(--motion-micro);
}

/* ============================================================
   A11y — reduced-motion Gate für alle Reveal/Flow
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-blur,
  .reveal.is-inview, .reveal.visible,
  .flow-step, .flow-step.is-inview,
  .btn:active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .flow::before {
    background: var(--ink-200) !important;
  }
}

/* ============================================================
   Typography Polish (Impeccable /typeset Abschnitt 9 + OpenType)
   ============================================================ */

/* Body-Baseline — aktiviert Ligaturen, proportionale Ziffern */
body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* Tabular numerals — Preise, Daten, Zahlen in Tabellen */
.tabular-nums,
.mono,
table,
.price,
.duration {
  font-variant-numeric: tabular-nums;
}

/* Content-prose — 65ch Lesebreite für lange Paragraphen */
.prose-body,
.section .prose > p,
.section .prose-body > p {
  max-width: 65ch;
}

/* Paragraph rhythm inside .prose — Doc §4 Content-Breite 640px */
.prose {
  max-width: 640px;
}

/* Optical alignment for "quote-hanging" first-line */
blockquote.serif-italic,
.pull-quote {
  font-feature-settings: "kern" 1, "liga" 1;
  hanging-punctuation: first last;
}

/* Smaller weight contrast on deep dark backgrounds (Doc motion reference) */
.section--dark .body-md,
.section--dark p {
  line-height: 1.55;
  font-weight: 400;
}

/* ============================================================
   ERLEDIGT-Bar — explizite Größe (Tailwind-CDN arbitrary klassen
   greifen auf Customer-Detailseiten teilweise nicht zuverlässig)
   ============================================================ */
#erledigt-bar {
  font-size: 0.6875rem;       /* 11px */
  line-height: 1.4;
  letter-spacing: 0.01em;
}
#erledigt-bar a,
#erledigt-bar span {
  font-size: 0.6875rem;
}


/* ============================================================
   nav-mega--wide · 4-Spalten-Layout (Phase 1 Wissenbereich-Umbau)
   ============================================================ */
.nav-mega--wide {
  /* Wider than default — needed for 4 columns */
}
.nav-mega--wide .nav-mega__inner {
  /* normalisiert auf --site-max, damit Wide-Menü mit Header/Footer bündig schliesst */
  max-width: var(--site-max);
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 36px 28px;
}
/* Remove vertical border-separators between cols in wide mode */
.nav-mega--wide .nav-mega__col + .nav-mega__col {
  border-left: none;
  padding: 0;
}
.nav-mega--wide .nav-mega__col {
  padding: 0;
}
.nav-mega--wide .nav-mega__heading {
  margin-bottom: 14px;
  font-size: 10.5px;
}
.nav-mega--wide .nav-mega__col-intro {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.45;
  margin: 0 0 10px;
}
.nav-mega--wide .nav-mega__link--compact {
  padding: 10px 0;
  border-top-color: var(--ink-200);
}
.nav-mega--wide .nav-mega__link--compact:hover {
  padding-left: 4px;
}
.nav-mega--wide .nav-mega__link--compact .nav-mega__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.nav-mega--wide .nav-mega__link--compact .nav-mega__sub {
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 2px;
}
.nav-mega--wide .nav-mega__link--compact .nav-mega__tag {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 0 4px;
  background: rgba(20, 24, 28, 0.06);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
}

/* Bottom CTA-Bar of wide megabar
   Full-bleed background + constrained content: Linie und gelber Verlauf gehen
   über die gesamte Menü-Breite (Sibling von __inner, also bis zum Viewport).
   Der Inhalt (Text links, Button rechts) wird via max()-Padding-Trick auf
   --site-max eingerastet — bündig zum Header-Logo links und CTA-Button rechts. */
.nav-mega__cta-bar {
  width: 100%;
  margin: 18px 0 0;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: max(24px, calc((100% - var(--site-max)) / 2));
  padding-right: max(24px, calc((100% - var(--site-max)) / 2));
  border-top: 1px solid var(--ink-200);
  background: linear-gradient(135deg, rgba(245, 184, 0, 0.06) 0%, rgba(245, 184, 0, 0.02) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Responsive: collapse 4-col into 2-col on narrow screens */
@media (max-width: 1100px) {
  .nav-mega--wide .nav-mega__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
@media (max-width: 720px) {
  .nav-mega--wide .nav-mega__inner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .nav-mega__cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ============================================================ */
/* LP-Cards · § 17.2 Image-First Cards (Bild 3 + Bild 7 Spec)   */
/* Verbindlich seit 2026-05-16 (Phase 11 Compliance-Sweep)      */
/* ============================================================ */

.lp-cards-3,
.lp-cards-4 {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
/* Phase 10 · 2026-05-27 · auto-fit + minmax statt feste Spalten.
   Bricht automatisch auf weniger Spalten bei schmaleren Containern,
   ohne dass Media-Queries das steuern müssen. */
.lp-cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lp-cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

.lp-card {
  aspect-ratio: 3 / 5;
  min-height: 560px;
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.lp-cards-4 .lp-card {
  min-height: 520px;
  padding: 36px 28px;
  border-radius: 16px;
}

/* Card-Layout: Visual oben (flex: 1) + Caption unten */
.lp-card__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.lp-card__caption {
  margin-top: auto;
}

.lp-card__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900, #0A0A0B);
  margin: 0 0 8px;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.lp-card__label em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 300;
  color: var(--accent-700, #A67800);
  letter-spacing: -0.06em;
}

.lp-card__body {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-500, #6E6E72);
  margin: 0;
  line-height: 1.5;
}

/* Color-Wash-Varianten — § 17.2 Standard-Palette + erweitert */
.lp-card--steel  { background: #C5CDD0; }
.lp-card--sand   { background: #E5DDC5; }
.lp-card--cream  { background: #EFE7D8; }
.lp-card--gold   { background: #F5EDD0; border: 1.5px solid var(--accent-500, #F5B800); }
.lp-card--terra  { background: #D88A4F; }
.lp-card--orange { background: #EFA67A; }
.lp-card--stone  { background: #EAE9E5; }
.lp-card--beige  { background: #E5DDC5; }
.lp-card--sky    { background: #C9D7E8; }
.lp-card--sage   { background: #D4DDD0; }
.lp-card--mint   { background: #DCE8DD; }
.lp-card--dark   { background: #14181C; }

/* Dark / Terra / Orange Cards: helle Text-Farbe */
.lp-card--terra .lp-card__label,
.lp-card--orange .lp-card__label,
.lp-card--dark .lp-card__label {
  color: rgba(255, 255, 255, 0.96);
}
.lp-card--terra .lp-card__label em,
.lp-card--orange .lp-card__label em,
.lp-card--dark .lp-card__label em {
  color: rgba(255, 255, 255, 0.92);
}
.lp-card--terra .lp-card__body,
.lp-card--orange .lp-card__body,
.lp-card--dark .lp-card__body {
  color: rgba(255, 255, 255, 0.72);
}

/* Mini-Mockup-Card im Visual-Bereich */
.lp-mockup {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow:
    0 20px 40px -16px rgba(10, 10, 11, 0.18),
    0 6px 16px rgba(10, 10, 11, 0.08);
  font-family: var(--font-sans);
  width: 100%;
  max-width: 260px;
}

.lp-mockup--sm { max-width: 220px; padding: 14px 16px; }
.lp-mockup--md { max-width: 280px; }

.lp-mockup__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500, #6E6E72);
  font-weight: 600;
}

.lp-mockup__title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900, #0A0A0B);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

.lp-mockup__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 12.5px;
  color: var(--ink-700, #2B2B2D);
  border-top: 1px solid var(--ink-200, #E8E8ED);
}
.lp-mockup__item:first-of-type { border-top: none; padding-top: 0; }

.lp-mockup__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-700, #2B2B2D);
  padding: 6px 0;
}

.lp-mockup__row--strike {
  text-decoration: line-through;
  opacity: 0.5;
}

.lp-mockup__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  font-weight: 600;
  background: var(--paper-20, #F5F5F7);
  color: var(--ink-700, #2B2B2D);
}

.lp-mockup__pill--warn {
  background: #FFE6CC;
  color: #A65A1F;
}

.lp-mockup__pill--err {
  background: #FFD6D6;
  color: #B13427;
}

/* Lifestyle-Foto im Visual */
.lp-card__photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.92);
}

.lp-card--photo {
  padding: 0;
}

.lp-card--photo .lp-card__visual {
  margin-bottom: 0;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 24px;
}

.lp-card--photo .lp-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.65) 60%, rgba(0, 0, 0, 0.85) 100%);
  color: #FFFFFF;
  margin-top: 0;
}
.lp-card--photo .lp-card__label { color: #FFFFFF; }
.lp-card--photo .lp-card__label em { color: var(--accent-500, #F5B800); }
.lp-card--photo .lp-card__body { color: rgba(255, 255, 255, 0.85); }

/* Floating Mockup Variant — schwebt über Foto-Card */
.lp-card__floating {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 980px) {
  .lp-cards-3,
  .lp-cards-4 { grid-template-columns: 1fr 1fr; }
  .lp-card { min-height: 480px; }
  .lp-cards-4 .lp-card { min-height: 440px; }
}

@media (max-width: 640px) {
  .lp-cards-3,
  .lp-cards-4 { grid-template-columns: 1fr; }
  .lp-card { aspect-ratio: 4 / 3; min-height: 360px; }
  .lp-cards-4 .lp-card { aspect-ratio: 4 / 3; min-height: 340px; }
}

/* End LP-Cards · § 17.2 Image-First Cards */


/* ============================================================ */
/* LP-11 · Asymmetric Use-Case-Sequence (Bild "Use Cases" Spec) */
/* Verbindlich seit 2026-05-16 (Phase 11 — § 5.3.2 Image-First) */
/* ============================================================ */

.lp-usecase {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 56px;
  align-items: center;
  margin-top: 64px;
}

.lp-usecase + .lp-usecase {
  margin-top: 80px;
}

.lp-usecase--reverse {
  grid-template-columns: 8fr 4fr;
}

.lp-usecase__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-usecase__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-700, #A67800);
  font-weight: 600;
  margin: 0;
}

.lp-usecase__label {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900, #0A0A0B);
  margin: 0;
  letter-spacing: -0.014em;
  line-height: 1.25;
}

.lp-usecase__label em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 300;
  color: var(--accent-700, #A67800);
  letter-spacing: -0.06em;
}

.lp-usecase__body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500, #6E6E72);
  margin: 0;
}

.lp-usecase__visual {
  aspect-ratio: 16 / 11;
  background: var(--paper-30, #EDEDF0);
  border-radius: 18px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lp-usecase__visual--steel  { background: #DCE0E2; }
.lp-usecase__visual--stone  { background: #EAE9E5; }
.lp-usecase__visual--sand   { background: #E5DDC5; }
.lp-usecase__visual--sky    { background: #D6DFEB; }
.lp-usecase__visual--sage   { background: #DCE3D8; }
.lp-usecase__visual--cream  { background: #EFE7D8; }
.lp-usecase__visual--dark   {
  background: linear-gradient(135deg, #14181C 0%, #1A1F26 100%);
}

.lp-usecase__mockup {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow:
    0 28px 64px -24px rgba(10, 10, 11, 0.18),
    0 8px 20px rgba(10, 10, 11, 0.06);
  font-family: var(--font-sans);
  width: 100%;
  max-width: 640px;
}

.lp-usecase__visual--dark .lp-usecase__mockup {
  box-shadow:
    0 32px 72px -16px rgba(0, 0, 0, 0.5),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.lp-usecase__mockup--md { max-width: 560px; }
.lp-usecase__mockup--sm { max-width: 460px; }

.lp-usecase__mockup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500, #6E6E72);
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-200, #E8E8ED);
}

.lp-usecase__mockup-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-700, #2B2B2D);
  border-bottom: 1px solid var(--ink-200, #E8E8ED);
}

.lp-usecase__mockup-step:last-child { border-bottom: none; }

.lp-usecase__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper-20, #F5F5F7);
  color: var(--ink-700, #2B2B2D);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.lp-usecase__step-num--active {
  background: var(--accent-500, #F5B800);
  color: var(--ink-900, #0A0A0B);
}

.lp-usecase__step-num--done {
  background: #2D7A2D;
  color: #FFFFFF;
}

.lp-usecase__step-label {
  flex: 1;
}

.lp-usecase__step-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500, #6E6E72);
}

/* Responsive */
@media (max-width: 980px) {
  .lp-usecase,
  .lp-usecase--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lp-usecase--reverse .lp-usecase__visual { order: -1; }
  .lp-usecase__visual {
    aspect-ratio: 4 / 3;
    padding: 32px 24px;
  }
  .lp-usecase__mockup { max-width: 100%; }
}

/* End LP-11 */


/* ============================================================ */
/* LP-12 · Feature-Spotlight (Bild "AI-powered drafting" Spec)  */
/* Layered Visual + Capabilities-Akkordeon                      */
/* Verbindlich seit 2026-05-16 (Phase 11)                       */
/* ============================================================ */

.lp-feature-spotlight {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}

.lp-feature-spotlight--reverse {
  grid-template-columns: 4fr 8fr;
}

.lp-feature-spotlight--reverse .lp-feature-spotlight__visual {
  order: 2;
}

/* === Visual-Spalte: Layered Background + Floating Card === */

.lp-feature-spotlight__visual {
  aspect-ratio: 4 / 3;
  background: var(--paper-30, #EDEDF0);
  border-radius: 18px;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-feature-spotlight__visual--lavender {
  background: linear-gradient(135deg, #D6D5E8 0%, #C7C6DC 100%);
}
.lp-feature-spotlight__visual--steel { background: #DCE0E2; }
.lp-feature-spotlight__visual--sand { background: #E5DDC5; }
.lp-feature-spotlight__visual--cream { background: #EFE7D8; }

/* Document-Background (verblasst) */
.lp-feature-spotlight__doc {
  position: absolute;
  inset: 56px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow:
    0 24px 56px -20px rgba(10, 10, 11, 0.18),
    0 8px 20px rgba(10, 10, 11, 0.06);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-700, #2B2B2D);
  opacity: 0.45;
}

.lp-feature-spotlight__doc--header {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #2B579A;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(43, 87, 154, 0.3);
  z-index: 3;
}

.lp-feature-spotlight__doc-redline {
  color: #B13427;
  text-decoration: underline;
  text-decoration-color: #B13427;
}

/* Floating-Action-Card (über dem Document) */
.lp-feature-spotlight__action {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 22px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow:
    0 32px 72px -16px rgba(10, 10, 11, 0.25),
    0 12px 28px rgba(10, 10, 11, 0.12);
  font-family: var(--font-sans);
}

.lp-feature-spotlight__action-prompt {
  background: var(--paper-20, #F5F5F7);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700, #2B2B2D);
  margin-bottom: 12px;
}

.lp-feature-spotlight__action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--paper-20, #F5F5F7);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-700, #2B2B2D);
  margin-bottom: 14px;
}

.lp-feature-spotlight__action-pill-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #2B579A;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.lp-feature-spotlight__action-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-900, #0A0A0B);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.lp-feature-spotlight__action-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900, #0A0A0B);
  margin: 0 0 4px;
}

.lp-feature-spotlight__action-subtitle {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-500, #6E6E72);
  margin: 0 0 18px;
}

.lp-feature-spotlight__suggestion {
  border-top: 1px solid var(--ink-200, #E8E8ED);
  padding: 12px 0;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-700, #2B2B2D);
}

.lp-feature-spotlight__suggestion-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--ink-900, #0A0A0B);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.lp-feature-spotlight__suggestion--open {
  display: block;
  padding: 14px 0;
}

.lp-feature-spotlight__suggestion-head {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
}

.lp-feature-spotlight__suggestion-head b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900, #0A0A0B);
}

.lp-feature-spotlight__suggestion-body {
  margin: 10px 0 14px;
  padding-left: 36px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-700, #2B2B2D);
}

.lp-feature-spotlight__suggestion-actions {
  display: flex;
  gap: 8px;
  padding-left: 36px;
  align-items: center;
}

.lp-feature-spotlight__btn {
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-feature-spotlight__btn--ghost {
  background: transparent;
  color: var(--ink-700, #2B2B2D);
}
.lp-feature-spotlight__btn--dark {
  background: var(--ink-900, #0A0A0B);
  color: #FFFFFF;
}

/* === Text-Spalte (Eyebrow + Headline + Body + Akkordeon) === */

.lp-feature-spotlight__text {
  padding-top: 12px;
}

.lp-feature-spotlight__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500, #6E6E72);
  font-weight: 600;
  margin: 0 0 14px;
}

.lp-feature-spotlight__h {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink-900, #0A0A0B);
  margin: 0 0 16px;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

.lp-feature-spotlight__h em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 300;
  color: var(--accent-700, #A67800);
  letter-spacing: -0.06em;
}

.lp-feature-spotlight__body {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-700, #2B2B2D);
  margin: 0 0 36px;
}

/* === Capabilities-Akkordeon === */

.lp-feature-spotlight__caps {
  border-top: 1px solid var(--ink-200, #E8E8ED);
}

.lp-feature-spotlight__cap {
  border-bottom: 1px solid var(--ink-200, #E8E8ED);
  padding: 18px 0;
}

.lp-feature-spotlight__cap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900, #0A0A0B);
  letter-spacing: -0.005em;
}

.lp-feature-spotlight__cap-toggle {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--ink-500, #6E6E72);
  font-weight: 300;
  line-height: 1;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.lp-feature-spotlight__cap-body {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-500, #6E6E72);
  display: none;
}

.lp-feature-spotlight__cap.is-open .lp-feature-spotlight__cap-body {
  display: block;
}

.lp-feature-spotlight__cap.is-open .lp-feature-spotlight__cap-toggle::before {
  content: '×';
}
.lp-feature-spotlight__cap:not(.is-open) .lp-feature-spotlight__cap-toggle::before {
  content: '+';
}

/* Responsive */
@media (max-width: 980px) {
  .lp-feature-spotlight,
  .lp-feature-spotlight--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lp-feature-spotlight--reverse .lp-feature-spotlight__visual { order: 0; }
  .lp-feature-spotlight__visual {
    aspect-ratio: 4 / 3;
    padding: 32px;
  }
  .lp-feature-spotlight__doc { inset: 32px; padding: 24px; }
}

/* End LP-12 */


/* ============================================================ */
/* 3-Spalten-Nav (Nav links · Logo Mitte · Actions rechts)     */
/* Verbindlich seit 2026-05-16 (Phase 12 Header-Redesign)      */
/* ============================================================ */

.site-nav__inner--centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: calc(var(--site-max) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav__inner--centered .site-nav__nav                     { justify-self: start;
  display: flex;
  align-items: center;
  gap: 32px; }

/* Nav-Layout: siehe Tailwind-Fallback-Block ~Z340 (positionale Selektoren).
   Diese alte Klassen-basierte Regel obsolet — nur als Backup falls Tailwind doch lädt. */
.site-nav .hidden.lg\:flex {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 24px !important;
}

.site-nav__inner--centered .site-nav__logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}

.site-nav__inner--centered .site-nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mega-Menu im 3-Spalten-Layout: nav-group anchor bleibt, mega bleibt fixed */
.site-nav__inner--centered .nav-group {
  position: relative;
}

/* Mobile: zurück zum 2-Spalten-Layout mit Logo links + Menu-Button rechts */
@media (max-width: 1023px) {
  .site-nav__inner--centered {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .site-nav__inner--centered .site-nav__nav {
    display: none;
  }
  .site-nav__inner--centered .site-nav__logo {
    justify-self: start;
  }
  .site-nav__inner--centered .site-nav__actions {
    justify-self: end;
  }
}

/* End 3-Spalten-Nav */


/* ============================================================ */
/* LP-13 Maturity-Pattern (4-Stufen-Skalierung)                 */
/* Verbindlich seit 2026-05-16 · § 19.6                          */
/* ============================================================ */

.lp-maturity {
  max-width: 1024px;
  margin: 0 auto;
}

.lp-maturity__header {
  margin-bottom: 48px;
}

.lp-maturity__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500, #6E6E72);
  margin: 0 0 24px;
}

.lp-maturity__h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink-900, #0A0A0B);
  margin: 0 0 18px;
}

.lp-maturity__lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-500, #6E6E72);
  margin: 0;
  max-width: 70ch;
}

/* Skalierungs-Achse */
.lp-maturity__axis {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 32px;
}

.lp-maturity__axis-label {
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 14px;
  color: var(--ink-500, #6E6E72);
  flex-shrink: 0;
  letter-spacing: -0.06em;
}

.lp-maturity__axis-mid {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500, #6E6E72);
  flex-shrink: 0;
}

.lp-maturity__axis-line {
  flex: 1;
  height: 1px;
  background: var(--ink-200, #E8E8ED);
}

/* 2x2 Card Grid */
.lp-maturity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .lp-maturity__grid {
    grid-template-columns: 1fr;
  }
}

/* Maturity Card */
.lp-maturity__card {
  padding: 32px;
  background: var(--paper-00, #FFFFFF);
  border: 1px solid var(--ink-200, #E8E8ED);
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.lp-maturity__card--highlight {
  border: 1px solid rgba(245, 184, 0, 0.40);
  background: rgba(245, 184, 0, 0.05);
  border-radius: 18px;
}

.lp-maturity__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lp-maturity__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--paper-20, #F5F5F7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700, #2B2B2D);
  flex-shrink: 0;
}

.lp-maturity__card--highlight .lp-maturity__icon {
  background: rgba(245, 184, 0, 0.18);
  color: var(--accent-700, #A67800);
}

.lp-maturity__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.lp-maturity__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-500, #6E6E72);
  margin: 0;
}

.lp-maturity__card--highlight .lp-maturity__num {
  color: var(--accent-700, #A67800);
}

.lp-maturity__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink-900, #0A0A0B);
  margin: 0 0 16px;
}

.lp-maturity__body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-500, #6E6E72);
  margin: 0 0 16px;
  flex: 1;
}

.lp-maturity__card--highlight .lp-maturity__body {
  color: var(--ink-900, #0A0A0B);
  font-weight: 400;
}

.lp-maturity__footer {
  padding-top: 16px;
  border-top: 1px solid var(--ink-200, #E8E8ED);
}

.lp-maturity__card--highlight .lp-maturity__footer {
  border-top: 1px solid rgba(245, 184, 0, 0.30);
}

.lp-maturity__reps {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12.5px;
  color: var(--ink-500, #6E6E72);
  margin: 0;
}

.lp-maturity__reps strong {
  color: var(--ink-900, #0A0A0B);
  font-weight: 600;
}

.lp-maturity__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-maturity__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(245, 184, 0, 0.10);
  color: var(--accent-700, #A67800);
  border-radius: 9999px;
}

/* End LP-13 */

/* === UNIFIED DARK BACKGROUND — verbindlich seit 2026-05-21 ===
   Eine einzige Quelle für alle Dunkel-Bereiche der Site.
   Überschreibt sowohl Tailwind-Klasse bg-[#0a0a0a] als auch
   Inline-Style background:#0a0a0a per CSS-Spezifität.
   ============================================================ */
.bg-\[\#0a0a0a\],
[style*="background: #0a0a0a"],
[style*="background:#0a0a0a"],
[style*="background-color: #0a0a0a"],
[style*="background-color:#0a0a0a"] {
  background: linear-gradient(180deg, #14181C 0%, #1A1F26 100%) !important;
}
