/* Tokens aus design/tokens.json */
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations'); 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: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/jetbrains-mono-latin-400-normal.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 {
  --surface: #f2f2f2;
  --surface-raised: #ffffff;
  --ink: #0a0a0a;
  --ink-muted: #5c5c5c;
  --line: #d9d9d9;
  --line-strong: #8c8c8c;
  --accent: #c8261a;
  --on-accent: #ffffff;
  --status-warning: #9a5b00;
  --status-good: #1f7a3a;

  --sans: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Schwarze Bühne: Hero, Footer, dunkle Karten */
.stage {
  --surface: #0a0a0a;
  --surface-raised: #161616;
  --ink: #f5f5f5;
  --ink-muted: #a3a3a3;
  --line: #2a2a2a;
  --line-strong: #6b6b6b;
  --accent: #ff4d3d;
  --status-warning: #f5a524;
  --status-good: #3ecf6e;
  --on-accent: #0a0a0a;
  background: var(--surface);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/24px var(--sans); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 10; background: #fff; color: #0a0a0a; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.skip:focus { top: var(--space-4); }

/* Typografie */
.display-xl { font-size: clamp(48px, 9.5vw, 120px); line-height: .92; font-weight: 700; letter-spacing: -.045em; }
.display-l { font-size: clamp(36px, 6vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.h1 { font-size: clamp(30px, 4.2vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.lead { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.body-l { font-size: 18px; line-height: 28px; }
.muted { color: var(--ink-muted); }
.copy { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.small { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.numeral { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--ink-muted); }
.mono { font-family: var(--mono); font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }

/* Raster */
.container { max-width: 1120px; margin: 0 auto; padding-inline: var(--space-6); position: relative; }
.wrap { max-width: 1120px; margin: 0 auto; border-inline: 1px solid var(--line); position: relative; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12); }
.span-2 { grid-column: span 2; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.card { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-6); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-6); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: 400 15px/20px var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 500; padding: 0 6px 0 20px; }
.btn-primary:hover { color: var(--surface); }
.btn-primary .arrow { width: 30px; height: 30px; border-radius: var(--radius-pill); background: #c8261a; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary:hover .arrow { background: #0a0a0a; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-accent:hover { color: var(--on-accent); }
.btn:disabled { cursor: not-allowed; opacity: .55; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Film Grain: dunkel deutlich, hell fein */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: overlay;
}
.grain-light::after { opacity: .1; mix-blend-mode: multiply; }
.grain-strong::after { opacity: .4; }

@media (max-width: 860px) {
  .cols, .cards { grid-template-columns: minmax(0, 1fr); }
  .cols { gap: var(--space-8); }
  .span-2 { grid-column: auto; }
}
@media (max-width: 1150px) {
  .wrap { margin-inline: var(--space-2); }
}

[x-cloak] { display: none !important; }

/* Label, Abschnitt */
.label { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sq { flex: none; width: 8px; height: 8px; background: var(--accent); }
.sec { position: relative; border-top: 1px solid var(--line); padding: var(--space-24) var(--space-16); scroll-margin-top: var(--space-4); }
.sec.first { border-top: none; }
.x { position: absolute; top: -9px; width: 16px; height: 16px; font-size: 16px; line-height: 16px; text-align: center; color: var(--line-strong); z-index: 3; }
.x-left { left: -9px; }
.x-right { right: -9px; }
.tick { position: absolute; top: -1px; left: var(--space-16); width: 16px; height: 1px; background: var(--accent); }
.titel { margin: var(--space-6) 0 var(--space-12); max-width: 760px; }
.hinweis { margin-top: var(--space-6); max-width: 720px; }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); z-index: 3; }
.home { display: inline-flex; color: var(--ink); }
.wordmark text { font: 700 40px var(--sans); letter-spacing: -1.6px; fill: currentColor; }
.wordmark rect { fill: var(--accent); }
.nav ul { display: flex; flex-wrap: wrap; gap: var(--space-1); padding: var(--space-1); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.nav li a { display: block; font-size: 14px; line-height: 20px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); text-decoration: none; }
.nav li a[aria-current='page'] { background: var(--surface-raised); }
.nav .menu { display: none; }

/* Hero */
.hero { padding-block: var(--space-24); z-index: 3; }
.hero-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-8); align-items: center; }
.hero h1 { margin-top: var(--space-6); }
.hero h1 span { display: block; }
.hero h1.claim { font-size: clamp(40px, 5.4vw, 68px); }
.hero-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); margin-top: var(--space-16); align-items: end; }
.intro { max-width: 460px; margin-bottom: var(--space-8); }
.facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-3); margin: 0; }
.facts div { flex: 0 1 auto; min-width: 160px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.facts dt { font-size: clamp(32px, 3.2vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.facts dd { max-width: 150px; margin: auto 0 0; padding-top: var(--space-1); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.codeblatt { display: block; width: 100%; height: auto; }
.codeblatt .zeilen { font: 10px var(--mono); }
.codeblatt .befund { font: 500 12px var(--sans); }

/* Varianten */
.varianten li { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); }
.varianten h3 { margin-top: var(--space-3); font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.varianten .btn { margin-top: auto; align-self: flex-start; }

/* Problem */
.probleme { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-12); }
.probleme svg { display: block; margin-bottom: var(--space-4); }
.probleme h3 { font-weight: 400; color: var(--accent); margin-bottom: var(--space-2); }

/* Prüfbereiche */
.bereiche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bereiche li { background: var(--surface); padding: var(--space-8); }
.bereiche h3 { margin: var(--space-6) 0 var(--space-2); font-size: 22px; line-height: 1.3; font-weight: 600; hyphens: auto; }

/* Bericht */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16); align-items: center; }
.bericht-titel { margin: var(--space-6) 0 var(--space-4); }
.bericht { margin: 0; padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.bericht li { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.bericht li:last-child { border-bottom: none; }
.fundstelle { background: var(--surface); border-radius: var(--radius-sm); padding: var(--space-3); }
.badge { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 20px; font-weight: 500; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-3); }
.dot { width: 8px; height: 8px; border-radius: var(--radius-pill); }
.rot { background: var(--accent); }
.gelb { background: var(--status-warning); }
.gruen { background: var(--status-good); }

/* Fotoband */
.band { height: 360px; overflow: hidden; display: flex; align-items: flex-end; padding: var(--space-8) var(--space-16); border-top: 1px solid var(--line); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.band-text { position: relative; z-index: 3; width: 100%; display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; align-items: flex-end; }
.band-text .label { background: var(--surface); color: var(--ink); padding: var(--space-2) var(--space-3); }

/* Ablauf */
.schritte li { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6); align-items: baseline; padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.schritte li:last-child { border-bottom: 1px solid var(--line); }
.schritte h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }

/* Preise */
.preise li { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); }
.preise li.stage { background: var(--surface); }
.preise h3 { display: flex; align-items: center; gap: var(--space-2); font-weight: 400; }
.preis { font-size: clamp(36px, 4.4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.preise .btn { margin-top: auto; }
.preise .invers { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 500; }

/* FAQ, Über mich */
.faq-titel { margin-top: var(--space-6); }
.frage { padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.frage:last-child { border-bottom: 1px solid var(--line); }
.frage h3 { margin-bottom: var(--space-2); font-size: 18px; line-height: 1.4; font-weight: 600; }
.mitte { align-items: center; }
.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 360px; display: flex; align-items: flex-end; padding: var(--space-6); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-raised); }
.portrait span { position: relative; z-index: 3; font-size: 13px; color: var(--ink-muted); }
.ueber-text { margin: var(--space-6) 0 var(--space-4); }

/* Schnellcheck */
.check { display: flex; flex-direction: column; gap: var(--space-8); padding-block: var(--space-24); z-index: 3; }
.check h2 { max-width: 820px; }
.check fieldset { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-start; border: 0; padding: 0; margin: 0; min-width: 0; }
.feld { flex: 1 1 260px; display: flex; flex-direction: column; gap: var(--space-2); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.check input[type='text'], .check input[type='email'] { width: 100%; min-height: 44px; background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); padding: 0 var(--space-4); font: 400 15px var(--sans); }
.check input[aria-invalid='true'] { border-color: var(--accent); }
.check fieldset:disabled input { cursor: not-allowed; }
/* Auf Höhe der Eingabefelder: Labelzeile plus Abstand */
.check .btn-accent { margin-top: 28px; }
.ok { flex-basis: 100%; display: flex; gap: var(--space-2); align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.ok input { margin: 3px 0 0; accent-color: var(--accent); }
/* Fehlertext in Weiß mit Signal-Quadrat: Rot ist auf Schwarz nicht für Fließtext vorgesehen */
.fehler { font-size: 13px; line-height: 20px; color: var(--ink); }
.fehler::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: var(--space-2); background: var(--accent); }
.voll { flex-basis: 100%; }
.status { margin-top: var(--space-4); }
.hp { position: absolute; left: -9999px; }

/* Textseiten, Footer */
.textseite { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); padding: var(--space-32) var(--space-6); min-height: 60vh; }
.footer { display: flex; flex-direction: column; gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-muted); z-index: 3; }
.footer-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); }
.footer-spalten div { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.footer-spalten p { color: var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-spalten a { text-decoration: none; }

/* Unterseiten */
.seitenkopf { display: flex; flex-direction: column; gap: var(--space-6); padding-block: var(--space-16) var(--space-24); z-index: 3; }
.seitenkopf h1 { max-width: 900px; hyphens: auto; }
.seitenkopf p:last-child { max-width: 640px; }
.foto { margin: 0; border-bottom: 1px solid var(--line); }
.foto img { display: block; width: 100%; height: clamp(220px, 34vw, 400px); object-fit: cover; }
.foto + .sec { border-top: none; }
.hochformat { margin: 0; max-width: 360px; }
.hochformat img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
.aufruf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-8); padding-block: var(--space-24); z-index: 3; }
.aufruf > div { display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }
.abstand { margin-top: var(--space-6); }
.karte-titel { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; margin-bottom: var(--space-2); }
.karte-titel a { text-decoration: none; }
.liste { margin-top: var(--space-6); padding: 0; }
.liste li { padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.befunde { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.befund { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); break-inside: avoid; }
.befund-kopf { display: flex; justify-content: space-between; align-items: center; }
.befund dl { margin: 0; }
.befund dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-top: var(--space-3); }
.befund dd { margin: 0; font-size: 15px; line-height: 22px; }
.artikelkarte { display: flex; flex-direction: column; gap: var(--space-3); }
.artikelkarte img { display: block; width: 100%; height: 160px; object-fit: cover; }
.prosa > * { max-width: 680px; }
.prosa p, .prosa ul, .prosa ol { margin-bottom: var(--space-4); }
.prosa h2 { hyphens: auto; overflow-wrap: anywhere; font-size: 24px; line-height: 1.3; font-weight: 600; margin: var(--space-12) 0 var(--space-4); }
.prosa h2:first-child { margin-top: 0; }
.prosa ul { list-style: square; padding-left: var(--space-6); }
.prosa ol { list-style: decimal; padding-left: var(--space-6); }
.prosa li { margin-bottom: var(--space-2); }
.prosa code { font-family: var(--mono); font-size: .88em; overflow-wrap: anywhere; }
.prosa pre { background: var(--surface-raised); border-radius: var(--radius-sm); padding: var(--space-4); overflow-x: auto; }
.prosa pre code { overflow-wrap: normal; }

/* Formulare auf hellem Grund */
.felder { display: flex; flex-direction: column; gap: var(--space-4); border: 0; padding: 0; margin: 0; min-width: 0; }
.felder .feld { flex: none; }
.felder input, .felder select, .felder textarea { width: 100%; min-height: 44px; background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); padding: var(--space-2) var(--space-4); font: 400 15px/22px var(--sans); }
.felder textarea { resize: vertical; }
.felder [aria-invalid='true'] { border-color: var(--accent); }
.felder .senden { align-self: flex-start; }

/* Checkliste, Rechner */
.listenkopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-2); }
.gruppe { border: 0; padding: 0; margin: var(--space-12) 0 0; min-width: 0; }
.gruppe legend { display: flex; align-items: baseline; gap: var(--space-4); font-size: 22px; font-weight: 600; margin-bottom: var(--space-4); }
.gruppe label { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-top: 1px solid var(--line); break-inside: avoid; }
.gruppe input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--ink); }
.split.oben { align-items: start; }
.ergebnis { padding: var(--space-8); position: sticky; top: var(--space-6); }
.ergebnis .small { margin-top: var(--space-4); }
.ergebnis .small:first-child { margin-top: 0; }

@media print {
  .nav, .footer, .aufruf, .nicht-drucken, .foto, .grain::after { display: none !important; }
  body, .stage { background: #fff; color: #000; }
  .stage { --ink: #000; --ink-muted: #444; }
  .wrap { border: 0; margin: 0; }
  .sec { padding: 24px 0; }
  .seitenkopf { padding-block: 0 24px; }
}

@media (max-width: 860px) {
  .sec { padding: var(--space-16) var(--space-6); }
  .tick { left: var(--space-6); }
  .x { display: none; }
  .hero { padding-block: var(--space-16); }
  .hero-top, .hero-bottom, .split { grid-template-columns: minmax(0, 1fr); }
  .split { gap: var(--space-8); }
  .facts { justify-content: flex-start; }
  .bereiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: var(--space-6); }
  .befunde { grid-template-columns: minmax(0, 1fr); }
  .footer-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ergebnis { position: static; }
  .schritte li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
}
@media (max-width: 760px) {
  .nav ul { order: 3; width: 100%; justify-content: center; border-radius: var(--radius-md); }
  .nav li a { font-size: 13px; padding-inline: var(--space-2); }
  .nav .anfrage { padding-inline: var(--space-4); }
  /* Mit Alpine: Menü hinter einem Knopf */
  .nav-js .menu { display: inline-flex; padding-inline: var(--space-4); }
  .nav-js .home { margin-right: auto; }
  .nav-js ul, .nav-js .anfrage { display: none; }
  .nav-js.nav-offen ul { display: flex; flex-direction: column; }
  .nav-js.nav-offen li a { font-size: 15px; padding: var(--space-3) var(--space-4); }
  .nav-js.nav-offen .anfrage { display: inline-flex; order: 4; width: 100%; }
}
@media (max-width: 600px) {
  .probleme { grid-template-columns: minmax(0, 1fr); }
  .check .btn-accent { margin-top: 0; }
}
@media (max-width: 560px) {
  .bereiche { grid-template-columns: minmax(0, 1fr); }
}
.cols > .label { align-self: start; }

/* ============ Startseite ============ */
.start-hero { overflow: hidden; }
.sh-inhalt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); align-items: center; padding-block: var(--space-16) var(--space-24); z-index: 3; }
.sh-text { display: flex; flex-direction: column; gap: var(--space-6); }
.sh-titel { font-size: clamp(44px, 6.6vw, 92px); line-height: .95; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }
.sh-intro { max-width: 560px; color: var(--ink-muted); }
.sh-intro, .sh-titel, .sh-text .actions, .sh-vertrauen, .sh-text .label { animation: auftauchen .8s cubic-bezier(.2,.7,.2,1) both; }
.sh-titel { animation-delay: .08s; }
.sh-intro { animation-delay: .18s; }
.sh-text .actions { animation-delay: .28s; }
.sh-vertrauen { animation-delay: .38s; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: 13px; color: var(--ink-muted); }
.sh-vertrauen li { display: flex; align-items: center; gap: var(--space-2); }
.sh-vertrauen li::before { content: ''; width: 10px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg) translateY(-2px); }
@keyframes auftauchen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scanner */
.scanner { display: block; width: 100%; height: auto; animation: auftauchen 1s .3s cubic-bezier(.2,.7,.2,1) both; }
.scanner text { font: 11px var(--mono); fill: #a3a3a3; }
.scanner .sc-befund text { font: 500 12px var(--sans); fill: #f5f5f5; }
.scanner .sc-nr text { fill: #6b6b6b; font-size: 10px; }
.sc-blink { fill: #ff4d3d; animation: blinken 1.2s steps(2) infinite; }
@keyframes blinken { 50% { opacity: 0; } }
.sc-strahl { animation: strahl 8s linear infinite; }
@keyframes strahl { 0% { transform: translateY(48px); opacity: 1; } 70% { transform: translateY(372px); opacity: 1; } 72%, 100% { transform: translateY(372px); opacity: 0; } }
.sc-befund { opacity: 0; animation: 8s linear infinite; }
.sc-b1 { animation-name: befund1; } .sc-b2 { animation-name: befund2; } .sc-b3 { animation-name: befund3; }
@keyframes befund1 { 0%, 17% { opacity: 0; } 19%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes befund2 { 0%, 36% { opacity: 0; } 38%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes befund3 { 0%, 55% { opacity: 0; } 57%, 94% { opacity: 1; } 100% { opacity: 0; } }
.sc-lauf { animation: 8s linear infinite lauf; }
.sc-ergebnis { opacity: 0; animation: 8s linear infinite ergebnis; }
@keyframes lauf { 0%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes ergebnis { 0%, 71% { opacity: 0; } 73%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* Laufband */
.laufband { overflow: hidden; border-top: 1px solid var(--line); padding-block: var(--space-6); position: relative; z-index: 3; }
.laufband-spur { display: flex; width: max-content; gap: var(--space-16); animation: laufen 40s linear infinite; }
.laufband-spur span { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-muted); white-space: nowrap; }
@keyframes laufen { to { transform: translateX(-50%); } }
.laufband-gross { border-top: 1px solid var(--line); padding-block: var(--space-8) var(--space-6); }
.laufband-gross .laufband-spur { gap: var(--space-12); animation-duration: 30s; }
.laufband-gross span { display: inline-flex; align-items: baseline; gap: 6px; font-size: clamp(64px, 12vw, 168px); line-height: 1; font-weight: 700; letter-spacing: -.05em; color: var(--ink); }
.laufband-gross span:nth-child(even) { color: var(--line-strong); }
.laufband-gross .sq { width: .14em; height: .14em; }

/* Wort für Wort */
.woerter { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.js .woerter span { color: #c4c4c4; transition: color .25s; }
.js .woerter span.an { color: var(--ink); }
.beleg { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-4); margin-top: var(--space-12); }
.beleg-bild { margin: 0; }
.beleg-bild img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--radius-md); }
.beleg-karte { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); }
.beleg-cve { font-size: 18px; color: var(--accent); }
.beleg-karte a { margin-top: auto; }

/* Einblenden beim Scrollen */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].sichtbar { opacity: 1; transform: none; }
.ecken [data-reveal]:nth-child(2) { transition-delay: .08s; }
.ecken [data-reveal]:nth-child(3) { transition-delay: .16s; }
.ecken [data-reveal]:nth-child(4) { transition-delay: .24s; }

/* Gestapelte Befunde */
.stapel { display: flex; flex-direction: column; gap: var(--space-6); }
.stapel-karte { position: sticky; top: var(--space-6); height: clamp(340px, 46vw, 460px); border-radius: var(--radius-md); overflow: hidden; background: #0a0a0a; color: #f5f5f5; }
.stapel-karte:nth-child(2) { top: calc(var(--space-6) + 16px); }
.stapel-karte:nth-child(3) { top: calc(var(--space-6) + 32px); }
.stapel-karte:nth-child(4) { top: calc(var(--space-6) + 48px); }
.stapel-karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.stapel-karte:hover img { transform: scale(1); }
.stapel-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-8); }
.stapel-text > div { max-width: 560px; background: rgba(10, 10, 10, .72); padding: var(--space-6); border-radius: var(--radius-md); align-self: flex-start; }
.stapel-nr { font-size: 48px; font-weight: 600; letter-spacing: -.03em; color: rgba(245, 245, 245, .6); }
.stapel-text h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin: var(--space-4) 0 var(--space-2); }
.stapel-text p { font-size: 15px; line-height: 22px; color: #d4d4d4; }
.stapel-badge { border-color: #2a2a2a; color: #f5f5f5; }
.stapel-karte .rot { background: #ff4d3d; }
.stapel-karte .gelb { background: #f5a524; }

/* Ergebnis */
.haken { display: flex; flex-direction: column; margin-top: var(--space-6); }
.haken li { display: flex; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.haken li::before { content: ''; flex: none; width: 12px; height: 7px; margin-top: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.bericht-live li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: var(--space-4); }
.balken { height: 6px; background: var(--surface); border-radius: var(--radius-pill); overflow: hidden; }
.balken-fuell { display: block; height: 100%; width: 0; border-radius: var(--radius-pill); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.sichtbar .balken-fuell.rot { width: 92%; }
.sichtbar .balken-fuell.gelb { width: 58%; }
.sichtbar .balken-fuell.gruen { width: 24%; }
.bericht-live li:nth-child(2) .balken-fuell { transition-delay: .15s; }
.bericht-live li:nth-child(3) .balken-fuell { transition-delay: .3s; }
.bericht-live li:nth-child(4) .balken-fuell { transition-delay: .45s; }
.js .bericht-live:not(.sichtbar) .badge { opacity: 0; }
.bericht-live .badge { transition: opacity .4s .6s; }

/* Prozess mit abgeschnittenen Ecken */
.prozess { overflow: hidden; }
.prozess-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-6); position: relative; z-index: 1; }
.riesenmarke { position: absolute; left: -2%; bottom: -4%; font-size: clamp(120px, 22vw, 300px); line-height: 1; font-weight: 700; letter-spacing: -.06em; color: #e6e6e6; white-space: nowrap; pointer-events: none; z-index: 0; }
.ecken { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); position: relative; z-index: 1; }
.ecke { display: flex; flex-direction: column; gap: var(--space-2); min-height: 280px; padding: var(--space-6); background: var(--surface-raised); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.ecke svg { width: 40px; height: 40px; padding: 8px; margin-bottom: auto; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: square; border: 1px solid var(--accent); border-radius: var(--radius-sm); }
.ecke h3 { font-size: 20px; font-weight: 600; }
.ecke.dunkel { background: #0a0a0a; color: #f5f5f5; }
.ecke.dunkel .small, .ecke.dunkel .copy { color: #a3a3a3; }
.ecke.dunkel svg { stroke: #ff4d3d; border-color: #ff4d3d; }

/* Varianten als Akkordeon */
.varianten-bühne, .varianten-buehne { position: relative; }
.varianten-inhalt { padding-block: var(--space-24); z-index: 3; }
.variante { background: var(--surface-raised); border-radius: var(--radius-md); margin-bottom: var(--space-3); }
.variante summary { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; align-items: center; gap: var(--space-6); padding: var(--space-6); cursor: pointer; list-style: none; }
.variante summary::-webkit-details-marker { display: none; }
.v-nr { font-size: clamp(44px, 6vw, 72px); line-height: 1; font-weight: 700; letter-spacing: -.05em; color: #2e2e2e; }
.v-titel { display: flex; flex-direction: column; gap: var(--space-1); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.015em; }
.v-fuer { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }
.v-plus { position: relative; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.v-plus::before, .v-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s; }
.v-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.variante[open] .v-plus::after { transform: translate(-50%, -50%) rotate(0); }
.variante summary:hover .v-nr { color: var(--accent); }
.v-inhalt { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-8); align-items: center; padding: 0 var(--space-6) var(--space-6) calc(120px + var(--space-12)); animation: auftauchen .5s both; }
.v-inhalt img { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-md); }
.v-inhalt p { color: var(--ink-muted); margin-bottom: var(--space-6); }

/* Schluss */
.schluss { position: relative; z-index: 3; }
.schluss-inhalt { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); padding-block: var(--space-24) var(--space-16); }
.schluss-inhalt h2 { max-width: 900px; }

@media (max-width: 860px) {
  .sh-inhalt, .beleg { grid-template-columns: minmax(0, 1fr); }
  .ecken { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variante summary { grid-template-columns: 64px minmax(0, 1fr) 32px; gap: var(--space-4); padding: var(--space-4); }
  .v-inhalt { grid-template-columns: minmax(0, 1fr); padding: 0 var(--space-4) var(--space-4); }
  .bericht-live li { grid-template-columns: 90px minmax(0, 1fr) auto; gap: var(--space-3); }
  .stapel-text { padding: var(--space-4); }
}
@media (max-width: 560px) {
  .ecken { grid-template-columns: minmax(0, 1fr); }
  .ecke { min-height: 0; }
  .ecke svg { margin-bottom: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sc-befund, .sc-ergebnis { opacity: 1; }
  .sc-strahl, .sc-lauf { opacity: 0; }
  .laufband-spur { animation: none; }
}
.prozess-kopf { margin-bottom: var(--space-12); }
.prozess-kopf .titel { margin-bottom: 0; }

/* FAQ als Akkordeon */
.faq-kopf { display: flex; flex-direction: column; gap: var(--space-4); align-self: start; position: sticky; top: var(--space-6); }
.faq-liste { display: flex; flex-direction: column; gap: var(--space-2); }
.faq-eintrag { background: var(--surface-raised); border-radius: var(--radius-md); }
.faq-eintrag summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); cursor: pointer; list-style: none; }
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag h3 { font-size: 17px; line-height: 1.4; font-weight: 600; }
.faq-eintrag .v-plus { flex: none; }
.faq-eintrag[open] .v-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-eintrag summary:hover h3 { color: var(--accent); }
.faq-eintrag > p { padding: 0 var(--space-6) var(--space-6); max-width: 640px; animation: auftauchen .35s both; }
.hochformat img { filter: grayscale(1); }
@media (max-width: 860px) { .faq-kopf { position: static; } .faq-eintrag summary { padding: var(--space-4); } .faq-eintrag > p { padding: 0 var(--space-4) var(--space-4); } }
/* Text in allen Ablauf-Karten auf gleicher Höhe */
.ecke svg { margin-bottom: var(--space-12); }

/* Quellen unter Ratgebern */
.quellen { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.quellen h2 { margin-top: 0; }
.prosa .quellen ol { padding-left: var(--space-6); font-size: 15px; line-height: 22px; }
.quellen a { overflow-wrap: anywhere; }
.quellen .small { margin-top: var(--space-6); }

/* Vorschau Beispielbericht */
.blatt { display: block; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.blatt img { display: block; width: 100%; height: auto; }
.blatt-gross { max-width: 380px; justify-self: center; }
.blaetter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-4); }
.blaetter li { display: flex; flex-direction: column; gap: var(--space-3); }
a.blatt { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s; }
a.blatt:hover, a.blatt:focus-visible { transform: translateY(-4px); border-color: var(--ink); }
@media (max-width: 860px) { .blaetter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .blaetter { grid-template-columns: minmax(0, 1fr); } }

/* Schnellcheck: Bestätigung und Ergebnis (im .stage-Kontext) */
.urteil-zeile { display: flex; gap: var(--space-3); align-items: baseline; }
.marke { flex: none; width: 9px; height: 9px; background: var(--line-strong); }
.marke.marke-rot { background: var(--accent); }
.marke.marke-gelb { background: var(--status-warning); }
.marke.marke-gruen { background: var(--status-good); }

.scan { border-top: 1px solid var(--line); }
.scan li { display: grid; grid-template-columns: 8px minmax(0, 1fr); background: none; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.scan .punkt { width: 8px; height: 8px; margin-top: 7px; background: var(--line-strong); }
.scan .scan-rot .punkt { background: var(--accent); }
.scan .scan-gelb .punkt { background: var(--status-warning); }
.scan .scan-gruen .punkt { background: var(--status-good); }
.scan b { display: block; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.scan p { font-size: 15px; line-height: 22px; }

.scan-hinweise { display: grid; gap: var(--space-2); }
.scan-hinweise li { font-size: 13px; line-height: 20px; color: var(--ink-muted); padding-left: var(--space-4); position: relative; }
.scan-hinweise li::before { content: '–'; position: absolute; left: 0; }

.ergebnis { display: grid; gap: var(--space-6); }
.ergebnis .actions { margin-top: var(--space-2); }

.bestaetigung { display: grid; gap: var(--space-4); max-width: 720px; }
.bestaetigung .mono { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }
.bestaetigung .weg { display: grid; gap: var(--space-2); }
.bestaetigung h4 { font-size: 15px; line-height: 22px; font-weight: 600; }
.bestaetigung form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-2); }

.empfehlung { border-left: 2px solid var(--line-strong); padding-left: var(--space-4); font-size: 15px; line-height: 22px; }
.empfehlung-rot { border-left-color: var(--accent); }
.empfehlung-gelb { border-left-color: var(--status-warning); }
.empfehlung-gruen { border-left-color: var(--status-good); }

/* Kurzcheck-Ergebnis: Weg zum Gutachten */
.gutachten-karte { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-8); background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-8); }
.gutachten-text, .gutachten-preis { display: grid; gap: var(--space-3); align-content: start; }
.gutachten-karte h4, .gutachten-karte p { margin: 0; }
.gutachten-preis { border-left: 1px solid var(--line); padding-left: var(--space-8); }
.gutachten-liste { display: grid; gap: var(--space-2); margin-top: var(--space-2); }
.gutachten-liste li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: var(--space-3); font-size: 15px; line-height: 22px; }
.gutachten-liste li::before { content: ''; width: 8px; height: 8px; margin-top: 7px; background: var(--accent); }
.gutachten-preis .preis { font-size: clamp(32px, 4vw, 44px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.gutachten-preis .preis .small { font-size: 15px; font-weight: 400; letter-spacing: 0; }
.gutachten-preis .btn { width: 100%; }
@media (max-width: 860px) {
  .gutachten-karte { grid-template-columns: minmax(0, 1fr); padding: var(--space-6); }
  .gutachten-preis { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--space-6); }
}
