/* ==========================================================================
   drawing1 — Landingpage
   Farben/Typografie verbindlich nach app/branding/BRAND.md
   ========================================================================== */

/* --------------------------------------------------------------- Schriften
   Selbst gehostet (assets/fonts/), latin-Subset, woff2, SIL OFL — siehe
   assets/fonts/LICENSE.txt. Kein Google-CDN: die Seite verspricht CH-Hosting
   und Datenhaltung ohne Dritte, also darf sie auch keine Schrift von einem
   Drittserver holen (jeder Aufruf uebertraegt die Besucher-IP). Zweiter Grund:
   der LCP-Text braucht keinen DNS+TLS-Roundtrip zu zwei Fremdhosts mehr.
   Archivo und Instrument Sans sind variabel — eine Datei deckt beide
   Schnitte ab (font-weight-Range im @font-face). Nicht im latin-Subset
   enthaltene Sonderzeichen (≈ ≠ →) kamen auch vorher schon aus der
   System-Fallback-Schrift; Verhalten unveraendert. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #101820;
  --paper: #F7F9FB;
  --surface: #FFFFFF;
  --grid: #DFE6EC;
  --steel: #5B6B7A;
  --primary: #0E3A5C;
  --primary-hover: #155084;
  --dark-section: #0B141D;
  --dark-text: #C9D6E2;
  --diff-added: #2F9E44;
  --diff-removed: #E03131;
  --diff-changed: #F08C00;
  --diff-moved: #1E6FB3;

  /* Akzent fuer dunkle Flaechen: --primary/--primary-hover haben auf
     --dark-section nur 1,6 : 1 bzw. 2,3 : 1 und sind dort unbenutzbar. Dieser
     Aufheller derselben Farbe erreicht 7,4 : 1. BRAND.md fuehrt ihn (noch)
     nicht als Token — hier benannt, damit er nicht als Zufallswert im CSS
     verstreut liegt. */
  --primary-on-dark: #7FB6E4;

  /* Zeichnungs-Linienhierarchie im Dark-Hero (ISO 128: Kontur > Bemassung) */
  --dl-contour: #E4EDF4;
  --dl-dim: rgba(201, 214, 226, .62);
  --dl-faint: rgba(201, 214, 226, .40);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --sect-pad: 112px;
  --topbar-h: 68px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: clamp(2.25rem, 3.5vw, 3rem); line-height: 1.08; text-wrap: pretty; }
h2 { font-weight: 600; font-size: clamp(1.75rem, 2.9vw, 2.25rem); line-height: 1.15; max-width: 36ch; }
h3 { font-weight: 600; font-size: 1.375rem; line-height: 1.28; }

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

a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 3px;
  border-radius: 2px;
}
.sect--dark :focus-visible, .hero :focus-visible, .cta :focus-visible, .topbar :focus-visible {
  outline-color: var(--primary-on-dark);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--primary);
  padding: 12px 18px; font-family: var(--font-mono); font-size: 14px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- Bausteine */

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.wrap--narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8CA3B6;
  margin: 0 0 18px;
}
.eyebrow--dark { color: var(--steel); }

.lede {
  font-size: 19px;
  color: var(--steel);
  /* 34em ~= 68 Zeichen. Nicht 62ch: die ch-Einheit misst die Breite der "0"
     und liegt in Instrument Sans deutlich ueber der mittleren Zeichenbreite —
     62ch ergaben real ueber 80 Zeichen pro Zeile. */
  max-width: 34em;
  margin-top: 20px;
}

.mono-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.mono-line--light { color: rgba(255, 255, 255, .72); }
.mono { font-family: var(--font-mono); font-size: 0.94em; }
/* Fachkuerzel duerfen nicht am Bindestrich umbrechen ("Q-\nDAS") */
.nowrap { white-space: nowrap; }

.footnote {
  font-size: 14px;
  color: var(--steel);
  max-width: 42em;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--grid); }
.btn--outline:hover { border-color: var(--primary); background: rgba(14, 58, 92, .04); color: var(--primary); }
.btn--onprimary { background: var(--surface); color: var(--primary); }
.btn--onprimary:hover { background: var(--paper); color: var(--primary-hover); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

/* Sekundaerer Weg als Textlink, nicht als zweiter Button: zwei gleich grosse
   Rahmen untereinander lesen sich als konkurrierende CTAs (Brief: „Demo
   primaer, Beispielbericht klar sekundaer"). */
.linkcta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--dark-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 0 4px;
}
.linkcta::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .16s ease;
}
.linkcta:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.linkcta:hover::after { transform: rotate(-45deg) translate(2px, 2px); }

/* Messwerte in Mono: der Mono-Wortabstand ist bei grossen Graden doppelt so
   breit wie noetig ("≈ 90 %" faellt sonst auseinander). */
.stat, .kpi__val, .price__num, .scene .c-big, .feat__visual .m-big {
  word-spacing: -0.22em;
}
/* dasselbe fuer Mono-Werte mitten im Fliesstext ("≈ 90 %", "1–3 h") */
.mono { word-spacing: -0.18em; }

/* Schweizer Tausendertrenner (U+2019) in Mono: das Zeichen belegt eine ganze
   Zelle, die Zahl faellt dadurch in zwei Haelften auseinander ("12 ’ 000").
   Zelle beidseitig zusammenziehen. Nur in Mono noetig — im Fliesstext ist der
   Apostroph proportional. */
.tsep { letter-spacing: -0.17em; margin-left: -0.17em; }

/* ------------------------------------------------------------------ Topbar */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.topbar.is-solid {
  background: rgba(11, 20, 29, .90);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(201, 214, 226, .14);
}
.topbar__inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.topbar__brand { display: flex; align-items: center; line-height: 0; }
.topbar__brand img { width: 148px; height: auto; }
.topbar__nav { display: flex; gap: 28px; margin-left: auto; }
.topbar__nav a {
  color: var(--dark-text);
  text-decoration: none;
  font-size: 15px;
}
.topbar__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
/* visibility, nicht nur opacity: sonst haengt der unsichtbare Button in der
   Tab-Reihenfolge und der Fokus verschwindet fuer einen Tabstop ins Nichts. */
.topbar__cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.topbar.is-cta .topbar__cta {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

/* -------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  background: var(--dark-section);
  color: var(--dark-text);
  padding: calc(var(--topbar-h) + 72px) 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -20%;
  width: 96%;
  height: 170%;
  background: radial-gradient(closest-side, rgba(21, 80, 132, .30), rgba(21, 80, 132, 0) 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 36px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--dark-text);
  margin: 22px 0 0;
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__trust {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.trustrow {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(201, 214, 226, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}
.trustrow li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--dark-text);
  border: 1px solid rgba(201, 214, 226, .22);
  padding: 5px 10px;
}
.mono-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8CA3B6;
  margin: 14px 0 0;
}

.hero__visual { min-width: 0; }
.hero__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7C93A8;
  margin-top: 14px;
  text-align: right;
}

/* --------------------------------------------------- Hero-SVG: Grundstile */

.scene { display: block; width: 100%; height: auto; }
.scene text { font-family: var(--font-mono); }

.scene .sheet { fill: rgba(255, 255, 255, .04); }
.scene .ln { fill: none; stroke: var(--dl-contour); stroke-width: 1.15; }
.scene .ln-thin-static { fill: none; stroke: var(--dl-dim); stroke-width: .65; }
.scene .hatch { fill: url(#hatch); stroke: none; opacity: .85; }
.scene .cl {
  stroke: var(--dl-faint);
  stroke-width: .6;
  stroke-dasharray: 9 2.5 1.6 2.5;
}
.scene .ext, .scene .dim { fill: none; stroke: var(--dl-dim); stroke-width: .6; }
.scene .arrow { fill: var(--dl-dim); }
.scene .gdt { stroke: var(--dl-contour); stroke-width: .9; }
.scene .knockout { fill: var(--dark-section); }

.scene .t-dim { font-size: 11px; fill: var(--dl-contour); }
.scene .t-gdt { font-size: 10.5px; fill: var(--dl-contour); }
.scene .t-callout { font-size: 12px; fill: var(--dl-contour); }
.scene .t-mark { font-size: 10px; fill: var(--dl-dim); }
.scene .t-label { font-size: 9.5px; letter-spacing: .08em; fill: #8CA3B6; }
.scene .t-tb { font-size: 9.5px; letter-spacing: .05em; fill: #94AABC; }
.scene .t-rev { font-weight: 500; fill: var(--dl-contour); }

.scene .diff-changed { fill: rgba(240, 140, 0, .18); stroke: var(--diff-changed); stroke-width: 1; }
.scene .diff-added { fill: none; stroke: var(--diff-added); stroke-width: 1.5; }
.scene .diff-added-cl { stroke: var(--diff-added); stroke-width: .8; stroke-dasharray: 5 2 1.5 2; }
.scene .diff-removed { fill: none; stroke: var(--diff-removed); stroke-width: 1.5; stroke-dasharray: 5 3; }

.scene .leader { stroke: rgba(201, 214, 226, .55); stroke-width: .7; }
.scene .bub { fill: var(--paper); }
.scene .bub--changed { stroke: var(--diff-changed); stroke-width: 1.6; }
.scene .bub--added { stroke: var(--diff-added); stroke-width: 1.6; }
.scene .bub--removed { stroke: var(--diff-removed); stroke-width: 1.6; }
.scene .t-bub { font-size: 12px; font-weight: 500; fill: var(--ink); }

.scene .card__bg { fill: var(--surface); stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.scene .c-title { font-size: 10px; font-weight: 500; letter-spacing: .06em; fill: var(--primary); }
.scene .c-meta { font-size: 8.5px; letter-spacing: .04em; fill: var(--steel); }
.scene .c-rule { stroke: var(--grid); stroke-width: 1; }
.scene .c-num { font-size: 10px; font-weight: 500; fill: var(--steel); }
.scene .c-val { font-size: 10.5px; fill: var(--ink); }
.scene .c-state { font-size: 9.5px; fill: var(--steel); }
.scene .c-big { font-size: 15px; font-weight: 500; fill: var(--primary); }
.scene .c-track { fill: var(--grid); }
.scene .c-fill { fill: var(--primary); }
.scene .c-foot { font-size: 8px; letter-spacing: .03em; fill: #8698A8; }
.scene .dot--changed { fill: var(--diff-changed); }
.scene .dot--added { fill: var(--diff-added); }
.scene .dot--removed { fill: var(--diff-removed); }
.scene .mark__dot { fill: var(--primary); }

/* ------------------------------ Hero-SVG: EINE orchestrierte 13-s-Sequenz
   Der Brief sieht ~8 s vor. Gemessen war das zu knapp: der Aufbau frisst die
   ersten Sekunden, der aussagekraeftige Endzustand (drei Befunde + Bericht)
   stand nur ~2 s und wurde sofort wieder weggewischt. Wer in den ersten drei
   Sekunden urteilt, sah einen halbleeren Kasten. Jetzt: schnellerer Aufbau,
   Befunde ab ~4 s, und ab ~7 s ein Standbild von 5,5 s — der Endzustand ist
   die Botschaft, also gehoert ihm die meiste Zeit. */

.scene .ln { stroke-dasharray: 100; stroke-dashoffset: 100; }
.scene .fade, .scene .val-new, .scene .rev-c,
.scene .diff-changed, .scene .d-b, .scene .d-c,
.scene .leader, .scene .bubble, .scene .card, .scene .card-row { opacity: 0; }
.scene .scan { opacity: 0; }

.scene .stage { animation: cycle 13s linear infinite; }

.scene .ln.s0 { animation: draw-s0 13s linear infinite; }
.scene .ln.s1 { animation: draw-s1 13s linear infinite; }
.scene .ln.s2 { animation: draw-s2 13s linear infinite; }
.scene .fade.s0 { animation: fade-s0 13s linear infinite; }
.scene .fade.s1 { animation: fade-s1 13s linear infinite; }
.scene .fade.s2 { animation: fade-s2 13s linear infinite; }
.scene .fade.s3 { animation: fade-s3 13s linear infinite; }
.scene .fade.s4 { animation: fade-s4 13s linear infinite; }

.scene .scan { animation: scan 13s linear infinite; }
.scene .rev-b { animation: rev-out 13s linear infinite; }
.scene .rev-c { animation: rev-in 13s linear infinite; }
.scene .val-old { animation: val-out 13s linear infinite; }
.scene .val-new { animation: val-in 13s linear infinite; }

.scene .d-a { animation: pop-a 13s linear infinite; }
.scene .d-b { animation: pop-b 13s linear infinite; }
.scene .d-c { animation: pop-c 13s linear infinite; }

.scene .bubble { transform-box: fill-box; transform-origin: center; }
.scene .b1 .leader { animation: fade-lead-1 13s linear infinite; }
.scene .b2 .leader { animation: fade-lead-2 13s linear infinite; }
.scene .b3 .leader { animation: fade-lead-3 13s linear infinite; }
.scene .b1 .bubble { animation: bubble-1 13s linear infinite; }
.scene .b2 .bubble { animation: bubble-2 13s linear infinite; }
.scene .b3 .bubble { animation: bubble-3 13s linear infinite; }

.scene .card { animation: card-in 13s linear infinite; }
.scene .card-row.r1 { animation: row-1 13s linear infinite; }
.scene .card-row.r2 { animation: row-2 13s linear infinite; }
.scene .card-row.r3 { animation: row-3 13s linear infinite; }
.scene .mark__dot { animation: dot-flash 13s linear infinite; }

.scene.is-paused *, .scene.is-paused { animation-play-state: paused !important; }

/* Schmale Viewports: Berichtskarte unter das Blatt, vergroessert (viewBox via hero.js).
   Ohne JS bleibt die Desktop-Komposition — sie funktioniert dort ebenfalls. */
.scene.is-stacked .card-slot {
  transform: translate(8px, 360px) scale(1.45) translate(-414px, -168px);
}

@keyframes cycle {
  0% { opacity: 0; }
  3%, 96% { opacity: 1; }
  100% { opacity: 0; }
}
/* Phase 1 — die Zeichnung entsteht (0,1 – 2,6 s) */
@keyframes draw-s0 { 0%, 1% { stroke-dashoffset: 100; } 6%, 100% { stroke-dashoffset: 0; } }
@keyframes draw-s1 { 0%, 5% { stroke-dashoffset: 100; } 10%, 100% { stroke-dashoffset: 0; } }
@keyframes draw-s2 { 0%, 9% { stroke-dashoffset: 100; } 14%, 100% { stroke-dashoffset: 0; } }
@keyframes fade-s0 { 0%, 2% { opacity: 0; } 6%, 100% { opacity: 1; } }
@keyframes fade-s1 { 0%, 5% { opacity: 0; } 10%, 100% { opacity: 1; } }
@keyframes fade-s2 { 0%, 10% { opacity: 0; } 14%, 100% { opacity: 1; } }
@keyframes fade-s3 { 0%, 13% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes fade-s4 { 0%, 15% { opacity: 0; } 20%, 100% { opacity: 1; } }

/* Phase 2 — Scan + Revisionswechsel (2,8 – 4,0 s) */
@keyframes scan {
  0%, 21% { opacity: 0; transform: translateX(18px); }
  22.5% { opacity: 1; }
  29% { opacity: 1; }
  31%, 100% { opacity: 0; transform: translateX(422px); }
}
@keyframes rev-out { 0%, 26% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes rev-in { 0%, 26% { opacity: 0; } 28%, 100% { opacity: 1; } }

/* Phase 3 — drei Befunde + Ballons (4,0 – 5,8 s) */
@keyframes val-out { 0%, 30% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes val-in { 0%, 30% { opacity: 0; } 32%, 100% { opacity: 1; } }
@keyframes pop-a { 0%, 30% { opacity: 0; } 32.5%, 100% { opacity: 1; } }
@keyframes pop-b { 0%, 32.5% { opacity: 0; } 35%, 100% { opacity: 1; } }
@keyframes pop-c { 0%, 35% { opacity: 0; } 37%, 100% { opacity: 1; } }
@keyframes fade-lead-1 { 0%, 36% { opacity: 0; } 38%, 100% { opacity: 1; } }
@keyframes fade-lead-2 { 0%, 38% { opacity: 0; } 40%, 100% { opacity: 1; } }
@keyframes fade-lead-3 { 0%, 40% { opacity: 0; } 42%, 100% { opacity: 1; } }
@keyframes bubble-1 {
  0%, 36% { opacity: 0; transform: scale(.45); }
  38.5% { opacity: 1; transform: scale(1.14); }
  40.5%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes bubble-2 {
  0%, 38% { opacity: 0; transform: scale(.45); }
  40.5% { opacity: 1; transform: scale(1.14); }
  42.5%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes bubble-3 {
  0%, 40% { opacity: 0; transform: scale(.45); }
  42.5% { opacity: 1; transform: scale(1.14); }
  44.5%, 100% { opacity: 1; transform: scale(1); }
}

/* Phase 4 — Berichtskarte (5,6 – 7,0 s), dann 5,5 s Standbild + Cross-Fade */
@keyframes card-in {
  0%, 43% { opacity: 0; transform: translateX(20px); }
  49%, 100% { opacity: 1; transform: translateX(0); }
}
@keyframes row-1 { 0%, 49.5% { opacity: 0; } 51%, 100% { opacity: 1; } }
@keyframes row-2 { 0%, 51% { opacity: 0; } 52.5%, 100% { opacity: 1; } }
@keyframes row-3 { 0%, 52.5% { opacity: 0; } 54%, 100% { opacity: 1; } }
/* Sanktionierte Bruecke Marke -> Diff-Welt: der Ballon-Punkt leuchtet KURZ amber */
@keyframes dot-flash {
  0%, 55% { fill: var(--primary); }
  57% { fill: var(--diff-changed); }
  61%, 100% { fill: var(--primary); }
}

/* ---------------------------------------------------------------- Sektionen */

.sect { padding: var(--sect-pad) 0; background: var(--surface); }
/* Sprungmarken: die Topbar liegt fix ueber dem Inhalt. Ohne das landet auf
   schmalen Viewports (--sect-pad 64px < --topbar-h) die Sektionsueberschrift
   unter der Leiste. */
.sect[id], .hero[id], .cta[id], [id="bericht"], [id="design-partner"] {
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}
.sect--paper { background: var(--paper); }
.sect--dark { background: var(--dark-section); color: var(--dark-text); }
.sect--dark h2, .sect--dark h3 { color: #fff; }

.sect--grid { background: var(--paper); position: relative; overflow: hidden; }
.sect--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 62%, transparent);
  pointer-events: none;
}

/* Problem-Karten */
.cards { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-plain {
  background: var(--surface);
  border: 1px solid var(--grid);
  border-radius: 6px;
  padding: 28px 26px 30px;
}
/* Zwei Zeilen reserviert: sonst startet der Fliesstext je Karte auf anderer
   Hoehe und die Dreierreihe wirkt verrutscht statt gesetzt. */
.card-plain h3 { font-size: 19px; margin-bottom: 10px; min-height: 2.56em; }
.card-plain p:last-child { color: var(--steel); font-size: 16px; }
.stat {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

/* Feature-Zickzack */
.feat {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: 64px;
  align-items: stretch;
  padding: 72px 0;
  border-bottom: 1px solid var(--grid);
}
.feat:first-of-type { margin-top: 40px; border-top: 1px solid var(--grid); }
.feat:last-of-type { border-bottom: 0; padding-bottom: 8px; }
.feat--flip .feat__text { order: 2; }
.feat__text h3 { margin-bottom: 16px; }
.feat__text p { color: var(--steel); }
.feat__text strong { color: var(--ink); font-weight: 500; }
.feat__text .mono-line { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--grid); }
.feat__text { display: flex; flex-direction: column; justify-content: center; }
/* Das Panel laeuft auf Textspaltenhoehe und zentriert die Figur darin: als
   halbhoher, schwebender Kasten war das Produktvisual kleiner als der Text
   daneben — und die Werte darin an der Lesbarkeitsgrenze. */
.feat__visual {
  background: var(--paper);
  border: 1px solid var(--grid);
  padding: 18px;
  min-width: 0;
  display: flex;
  align-items: center;
}
.sect--paper .feat__visual { background: var(--surface); }
.feat__visual svg { display: block; width: 100%; height: auto; }

/* Produkt-Mocks (SVG) */
.feat__visual text { font-family: var(--font-mono); }
.m-plate { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.m-cl { stroke: var(--grid); stroke-width: .8; stroke-dasharray: 9 2.5 1.6 2.5; }
.m-leader { stroke: var(--steel); stroke-width: .8; }
.m-dimline { stroke: var(--steel); stroke-width: .7; fill: none; }
.m-bub { fill: var(--surface); stroke: var(--primary); stroke-width: 1.5; }
.m-bubtx { font-size: 12px; font-weight: 500; fill: var(--primary); }
.m-th { font-size: 10.5px; letter-spacing: .08em; fill: var(--steel); }
.m-rule { stroke: var(--grid); stroke-width: 1; }
.m-rule--strong { stroke: var(--steel); stroke-width: 1; }
.m-num { font-size: 12.5px; font-weight: 500; fill: var(--primary); }
.m-val { font-size: 13.5px; fill: var(--ink); }
.m-type { font-size: 12px; fill: var(--steel); }
.m-gdt { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.m-foot { font-size: 9.5px; letter-spacing: .04em; fill: var(--steel); }

.m-sheet { fill: var(--surface); stroke: var(--grid); stroke-width: 1; }
.m-label { font-size: 11.5px; font-weight: 500; letter-spacing: .1em; fill: var(--steel); }
.m-tiny { font-size: 12px; fill: var(--ink); }
.m-arrowline { stroke: var(--steel); stroke-width: 1; }
.m-arrowhead { fill: var(--steel); }
.m-moved { fill: none; stroke: var(--diff-moved); stroke-width: 1; stroke-dasharray: 4 3; opacity: .75; }
.m-movedtx { font-size: 11px; letter-spacing: .02em; fill: var(--diff-moved); }
.m-removed { fill: none; stroke: var(--diff-removed); stroke-width: 1.6; stroke-dasharray: 4.5 3; }
.m-added { fill: none; stroke: var(--diff-added); stroke-width: 1.6; }
.m-changed { fill: rgba(240, 140, 0, .18); stroke: var(--diff-changed); stroke-width: 1.2; }

.lg-tx { font-size: 11.5px; fill: var(--steel); }
.lg-added { fill: var(--diff-added); }
.lg-removed { fill: var(--diff-removed); }
.lg-changed { fill: var(--diff-changed); }
.lg-moved { fill: var(--diff-moved); }
.lg-unassess { fill: none; stroke: var(--steel); stroke-width: 1.4; stroke-dasharray: 2.4 2; }

.m-page { fill: var(--surface); stroke: var(--grid); stroke-width: 1; }
.m-doctitle { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; fill: var(--primary); }
.m-key { font-size: 10px; letter-spacing: .06em; fill: var(--steel); }
.m-hash { font-size: 11.5px; fill: var(--ink); }
.m-big { font-size: 19px; font-weight: 500; fill: var(--primary); }
.m-track { fill: var(--grid); }
.m-fill { fill: var(--primary); }

/* How it works */
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  counter-reset: step;
}
.step { position: relative; padding-top: 34px; }
.step::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: -40px;
  height: 1px;
  background: rgba(201, 214, 226, .28);
}
.step:last-child::before { right: 0; }
/* Bemassungspfeil-Optik: der Pfeil zeigt in den naechsten Schritt */
.step::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -40px;
  width: 9px;
  height: 9px;
  background: var(--primary-on-dark);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.step:last-child::after { display: none; }
.step__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--primary-on-dark);
  margin: 0 0 12px;
}
.step h3 { font-size: 20px; margin-bottom: 12px; min-height: 2.56em; }
.step p { color: var(--dark-text); font-size: 16px; }
.step .mono-line { color: #8CA3B6; margin-top: 14px; }

/* OCR-Demo */
.ocrdemo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 52px 0 0;
}
.ocrdemo__tile {
  margin: 0;
  padding: 26px 26px 24px;
  border: 1px solid var(--grid);
  background: var(--paper);
}
.sect--paper .ocrdemo__tile { background: var(--surface); }
.ocrdemo__tile--good { border-color: rgba(14, 58, 92, .30); background: var(--surface); }
.ocrdemo__blur, .ocrdemo__crisp {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  margin: 6px 0 4px;
  color: var(--ink);
}
.ocrdemo__blur { filter: blur(2.4px); color: var(--steel); }
.ocrdemo__crisp { color: var(--primary); }
.ocrdemo__out {
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 14px 0 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--grid);
  color: var(--primary);
}
.ocrdemo__out--bad { color: var(--diff-removed); }
.ocrdemo__out span::before { content: "→ "; color: var(--steel); }
.ocrdemo figcaption { font-size: 15px; color: var(--steel); }

/* Vergleichstabelle */
.tablewrap { margin-top: 40px; overflow-x: auto; }
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 720px;
}
.cmp th, .cmp td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--grid);
  vertical-align: top;
}
.cmp thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--steel);
  white-space: nowrap;
}
/* Der Markenname wird nie versalisiert (BRAND.md): die Spalte traegt ihn im
   Kopf, also faellt hier das uppercase weg — Sperrung bleibt. */
.cmp thead th:last-child { color: var(--primary); text-transform: none; letter-spacing: .04em; }
.cmp tbody th { font-weight: 500; width: 24%; }
.cmp th:first-child, .cmp td:first-child { padding-left: 0; }
.cmp td { color: var(--steel); }
.cmp td:last-child { color: var(--ink); background: rgba(14, 58, 92, .035); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

/* Offener Stand */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--grid);
  padding: 30px 28px;
}
.panel--tech { position: relative; border-radius: 0; }
.panel--tech::before, .panel--tech::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--primary);
}
.panel--tech::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.panel--tech::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }
.panel__title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 20px;
}

.ticks, .crosses { list-style: none; margin: 0; padding: 0; }
.ticks li, .crosses li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--steel);
}
.ticks li:last-child, .crosses li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 1.8px solid var(--primary);
  border-bottom: 1.8px solid var(--primary);
  transform: rotate(-45deg);
}
.crosses li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 12px;
  height: 1.8px;
  background: var(--steel);
}
.ticks li strong, .crosses li strong { color: var(--ink); font-weight: 500; }

.kpis {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
}
.kpis li { background: var(--surface); padding: 24px 22px; }
.kpi__val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 8px;
  line-height: 1;
}
.kpi__lbl { font-size: 14px; color: var(--steel); margin: 0; }

.partner {
  margin-top: 24px;
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--grid);
  border-left: 3px solid var(--primary);
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.partner h3 { margin-bottom: 12px; }
.partner p:last-child { color: var(--steel); max-width: 34em; }
.partner .btn { flex: none; }

/* Preise */
.prices {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--grid);
  border-radius: 6px;
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.price--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 18px 40px -28px rgba(16, 24, 32, .55);
}
.price__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  margin: 0;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.price__name { font-size: 20px; margin: 0; }
.price__amount { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.price__num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.price__unit { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel); }
.price__prefix { font-size: 16px; color: var(--steel); margin-right: 6px; }
.price__for { font-size: 16px; color: var(--ink); margin: 0; }
.price .ticks { margin-bottom: auto; }
.price .ticks li { font-size: 15px; }
.prices__note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--grid);
  text-align: center;
}
.footnote a { color: var(--primary); }

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--grid); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--grid); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--primary);
  transition: transform .18s ease, opacity .18s ease;
}
.faq summary::before { width: 14px; height: 1.6px; margin-top: -0.8px; }
.faq summary::after { width: 1.6px; height: 14px; margin-top: -7px; right: 14.2px; }
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq summary:hover { color: var(--primary); }
/* Geoeffnet auch ohne Maus erkennbar (vorher nur ueber :hover) */
.faq details[open] summary { color: var(--primary); }
.faq__body { padding: 0 0 24px; max-width: 34em; }
.faq__body p { color: var(--steel); font-size: 16px; }
.faq__body strong { color: var(--ink); font-weight: 500; }

/* Schluss-CTA */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
/* 34ch: bricht zwischen den zwei Saetzen statt mitten im ersten */
.cta h2 { color: #fff; max-width: 34ch; margin: 0 auto; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 34em; margin: 22px auto 0; }
.cta .btn { margin-top: 34px; }
.cta .mono-line {
  margin: 22px auto 0;
  max-width: 52ch;
  text-wrap: balance;
}

/* Footer */
.footer { background: var(--paper); border-top: 1px solid var(--grid); padding: 64px 0 28px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer__brand img { width: 150px; height: auto; }
.footer__brand p { margin-top: 18px; font-size: 15px; color: var(--steel); }
.footer__nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__nav a { font-size: 15px; color: var(--steel); text-decoration: none; }
.footer__nav a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.footer__head {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 4px;
}
.footer__addr {
  font-style: normal;
  font-size: 15px;
  color: var(--steel);
  margin: 8px 0 0;
  line-height: 1.5;
}
.footer__ch { font-size: 14px; color: var(--steel); margin: 6px 0 0; }
.footer__base {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--grid);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--steel);
}
.footer__base p { margin: 0; }

/* Scroll-Reveal (nur mit JS aktiv, einmalig) */
html.js .reveal { opacity: 0; transform: translateY(14px); }
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .3, 1);
}

/* ------------------------------------------------------------- Breakpoints */

@media (max-width: 1080px) {
  :root { --sect-pad: 88px; }
  .hero__inner { gap: 40px; }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 li:last-child { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar__nav { display: none; }
  .topbar__cta {
    margin-left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .hero { padding-top: calc(var(--topbar-h) + 44px); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__trust { margin-top: 0; }
  .feat, .steps, .ocrdemo, .split, .prices { grid-template-columns: minmax(0, 1fr); }
  .feat { gap: 32px; padding: 48px 0; }
  .feat--flip .feat__text { order: 0; }
  .steps { gap: 32px; }
  .step::before, .step::after { display: none; }
  .step { padding-top: 0; border-top: 1px solid rgba(201, 214, 226, .28); padding-top: 24px; }
  /* Einspaltig gibt es keine Reihe, an der etwas auszurichten waere — die
     reservierte zweite Zeile wuerde nur eine Luecke aufreissen. */
  .step h3 { min-height: 0; }
  .partner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .price--featured { order: -1; }
  .prices { gap: 20px; }
}

@media (max-width: 620px) {
  :root { --sect-pad: 64px; }
  body { font-size: 16px; }
  .wrap, .topbar__inner, .hero__inner { padding-left: 20px; padding-right: 20px; }
  .lede, .hero__sub { font-size: 17px; }
  .hero { padding-bottom: 56px; }
  .hero__actions .btn { width: 100%; }
  .hero__caption { text-align: left; }
  .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .cards { margin-top: 36px; }
  .card-plain h3 { min-height: 0; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .stat { font-size: 30px; }
  /* Technische Figuren randlos: mehr Breite = lesbare Werte */
  .feat__visual {
    margin-left: -20px;
    margin-right: -20px;
    padding: 14px 4px;
    border-left: 0;
    border-right: 0;
  }
  /* Die Figuren behalten ihren viewBox, schrumpfen auf dem Handy also auf
     ~0,72 der Desktop-Groesse — die Messwerte landen damit bei 8–9 px. Die
     Schriftgrade in den Figuren werden deshalb gegengesteuert. Die Werte sind
     einzeln gegen Kollisionen geprueft (Zellenbreiten im FCF-Rahmen, Abstand
     Wert -> Zustandsspalte, Legendenzeile); mehr geht nicht, ohne dass Text
     aus seinem Rahmen laeuft. */
  .feat__visual .m-val { font-size: 16px; }
  .feat__visual .m-type { font-size: 13.5px; }
  .feat__visual .m-num { font-size: 14px; }
  .feat__visual .m-th { font-size: 12px; }
  .feat__visual .m-tiny { font-size: 13.5px; }
  .feat__visual .m-foot { font-size: 11px; }
  .feat__visual .m-key { font-size: 11.5px; }
  .feat__visual .m-hash { font-size: 13px; }
  .feat__visual .m-doctitle { font-size: 14px; }
  .feat__visual .m-label { font-size: 13px; }
  .feat__visual .m-bubtx { font-size: 13px; }
  .feat__visual .m-big { font-size: 21px; }
  .feat__visual .m-movedtx { font-size: 12px; }
  /* 12 px ist das Maximum: bei 12,5 stoesst „hinzugefuegt" an den Punkt der
     naechsten Legendenmarke. */
  .feat__visual .lg-tx { font-size: 12px; }
  .hero__visual { margin: 0 -20px; }
  .hero__caption { padding: 0 20px; }
  .ocrdemo__blur, .ocrdemo__crisp { font-size: 32px; }
  /* Vergleichstabelle wird zur Liste — kein horizontales Scrollen,
     die drawing1-Spalte darf nie ausserhalb des Viewports liegen */
  .tablewrap { overflow: visible; }
  .cmp { min-width: 0; font-size: 15px; }
  .cmp thead { display: none; }
  .cmp tbody tr { display: block; padding: 18px 0 20px; border-bottom: 1px solid var(--grid); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp tbody th, .cmp tbody td { display: block; width: auto; border: 0; padding: 0; }
  .cmp tbody th {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .cmp tbody td { margin-top: 10px; padding: 10px 14px; }
  .cmp tbody td:first-of-type { background: var(--paper); }
  .cmp tbody td::before {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 4px;
  }
  .cmp tbody td:nth-of-type(1)::before { content: "OCR-basierte Werkzeuge"; }
  /* Markenname bleibt klein (BRAND.md) — deshalb kein uppercase in dieser Zeile */
  .cmp tbody td:nth-of-type(2)::before {
    content: "drawing1 · Vektor-Extraktion";
    color: var(--primary);
    text-transform: none;
    letter-spacing: .04em;
    font-size: 11.5px;
  }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  /* Tippziele: 15-px-Links waren 24 px hoch, das trifft auf dem Handy niemand */
  .footer__nav { gap: 0; }
  .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__head { margin-bottom: 0; }
  .footer__base { flex-direction: column; }
  .topbar__brand img { width: 128px; }
  .faq summary { font-size: 17px; padding-right: 40px; }
  .partner { padding: 26px 22px; }
  .price { padding: 28px 22px 26px; }
}

/* ------------------------------------------------------- Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* Statisches Endbild = Phase 3 + 4 (Social-Share-Motiv) */
  .scene .stage { opacity: 1; }
  .scene .ln { stroke-dashoffset: 0; }
  .scene .fade, .scene .diff-changed, .scene .d-b, .scene .d-c,
  .scene .leader, .scene .bubble, .scene .card, .scene .card-row,
  .scene .val-new, .scene .rev-c { opacity: 1; transform: none; }
  .scene .val-old, .scene .rev-b, .scene .scan { opacity: 0; }
  .scene .mark__dot { fill: var(--primary); }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------- Rechtliche Unterseiten
   Impressum/Datenschutz teilen Footer und Typografie mit der Startseite, aber
   nicht die fixe Dark-Topbar (die setzt einen dunklen Hero unter sich voraus).
   Stattdessen eine helle, mitlaufende Leiste. */

.legalbar {
  background: var(--surface);
  border-bottom: 1px solid var(--grid);
}
.legalbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--topbar-h);
  padding-top: 10px;
  padding-bottom: 10px;
}
.legalbar__brand { display: flex; align-items: center; line-height: 0; }
.legalbar__brand img { width: 140px; height: auto; }
.legalbar__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--steel);
  text-decoration: none;
}
.legalbar__back:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.legal { padding: 64px 0 88px; background: var(--paper); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.875rem, 3vw, 2.5rem); margin-bottom: 8px; }
.legal h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  max-width: none;
}
.legal p, .legal li { color: var(--steel); font-size: 16px; max-width: 34em; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--primary); }
/* Footer der Unterseiten traegt nur die Basiszeile — ohne die 64 px Kopfraum
   der Startseite bliebe darueber ein leeres Band stehen. */
.footer--slim { padding: 24px 0; }
.footer--slim .footer__base { margin-top: 0; padding-top: 0; border-top: 0; }
.footer--slim a { color: var(--steel); }
.footer--slim a:hover { color: var(--primary); }

.legal__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel);
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--grid);
}
/* Noch zu ergaenzende Angaben sichtbar markiert, damit nichts unbemerkt
   platzhalterhaft live geht. */
.todo {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(240, 140, 0, .16);
  border-bottom: 1px solid var(--diff-changed);
  color: var(--ink);
  padding: 1px 4px;
}

/* Blueprint-Buehne in der Schluss-CTA (Runde 7 Banner, inline SVG) */
.cta .cta__banner{
  display:block;
  width:min(680px,100%);
  height:auto;
  margin:0 auto 40px;
  border-radius:6px;
  box-shadow:0 14px 44px rgba(0,0,0,.35);
}
