/* ================================================================
   Verkaufsbegleiter — Wartelisten- und Launch-Funnel
   ----------------------------------------------------------------
   Aufbau, Inhalte und Logik: Vorlage „Abendstein“.
   Bildsprache: Vorlage „Variation“ — Licht statt Rahmen.
   Farben: Papier, Tinte, Orange. Jede Kante ist ein box-shadow-Ring
   mit 0 Unschärfe, nie ein border. Rundungen: je größer, desto runder.
   Die Klassennamen (vb-*, fn-*) bleiben die von Abendstein, damit
   js/funnel.js unverändert arbeitet.
   ================================================================ */

/* ---------- Schriften: selbst gehostet (SIL Open Font License), siehe fonts/ ----------
   Lateinischer Zeichensatz inkl. Umlaute, ß, „“ und €. Keine Anfrage an Google. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 750; font-display: swap; src: url(../fonts/bricolage-grotesque-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/instrument-sans-latin.woff2) format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --bg: #F8F4F0;            /* Papier */
  --bg-2: #F0EAE4;
  --surface: #FFFDFB;
  --ink: #241C19;           /* Tinte */
  --muted: #6C625F;
  --accent: #BF4000;        /* Orange, lesbar auf Papier */
  --accent-soft: rgba(254, 94, 30, .10);
  --glow: #FE5E1E;          /* Markenorange */
  --ok: #2C6E47;   --ok-soft: rgba(44, 110, 71, .11);
  --warn: #8A5A00; --warn-soft: rgba(196, 138, 20, .16);
  --risk: #B6322B; --risk-soft: rgba(182, 50, 43, .10);
  --btn-1: #FF7A3D; --btn-2: #F05510; --btn-3: #C94406;
  --btn-ink: #FFFFFF;
  --edge-rgb: 24, 17, 15;
  --shadow-rgb: 36, 28, 25;
  --hi: rgba(255, 255, 255, .85);
  --glass-card: rgba(255, 253, 251, .78);
  --glass-nav: rgba(248, 244, 240, .86);
  --glass-chip: rgba(255, 255, 255, .14);
  --badge-ring: #FFFFFF;
  --peach: #FFB27A;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-frame: 32px; --r-pill: 28px; --r-card: 24px; --r-mid: 21px;
  --r-box: 18px; --r-box-sm: 14px;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --t1: 120ms; --t2: 180ms; --t3: 280ms; --t4: 380ms;

  --ring-chip: inset 0 0 0 1px rgba(var(--edge-rgb), .14);
  --ring-ctrl: inset 0 0 0 1.5px rgba(var(--edge-rgb), .22);
  --ring-sel: inset 0 0 0 2px var(--accent);
  --lift: 0 1px 2px rgba(var(--shadow-rgb), .06), 0 18px 40px -20px rgba(var(--shadow-rgb), .30);
  --float: 0 2px 4px rgba(var(--shadow-rgb), .06), 0 28px 60px -24px rgba(var(--shadow-rgb), .42);
  --rest: 0 12px 28px -22px rgba(var(--shadow-rgb), .35);

  --measure: 38rem;
  --tap: 52px;

  /* Namen aus Abendstein, die in Inline-Stilen der Seiten vorkommen */
  --anthrazit: var(--ink);
  --grey: var(--muted);
  --r-img: var(--r-box);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18110F; --bg-2: #1E1714; --surface: #241C19; --ink: #F5F3F1; --muted: #A8A19E;
    --accent: #FF8A57; --accent-soft: rgba(254, 94, 30, .14);
    --ok: #7FCB9C; --ok-soft: rgba(127, 203, 156, .13);
    --warn: #E8B45C; --warn-soft: rgba(232, 180, 92, .15);
    --risk: #F08A80; --risk-soft: rgba(240, 138, 128, .13);
    --edge-rgb: 245, 243, 241; --shadow-rgb: 0, 0, 0; --hi: rgba(255, 255, 255, .07);
    --glass-card: rgba(36, 28, 25, .78); --glass-nav: rgba(24, 17, 15, .86);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #18110F; --bg-2: #1E1714; --surface: #241C19; --ink: #F5F3F1; --muted: #A8A19E;
  --accent: #FF8A57; --accent-soft: rgba(254, 94, 30, .14);
  --ok: #7FCB9C; --ok-soft: rgba(127, 203, 156, .13);
  --warn: #E8B45C; --warn-soft: rgba(232, 180, 92, .15);
  --risk: #F08A80; --risk-soft: rgba(240, 138, 128, .13);
  --edge-rgb: 245, 243, 241; --shadow-rgb: 0, 0, 0; --hi: rgba(255, 255, 255, .07);
  --glass-card: rgba(36, 28, 25, .78); --glass-nav: rgba(24, 17, 15, .86);
  color-scheme: dark;
}

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong, b { font-weight: 650; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h3 { line-height: 1.2; letter-spacing: -.01em; }
p, li, dd, .faq-body { text-wrap: pretty; }
/* Der kursive Ausklang aus Abendstein wird hier zur Akzentfarbe */
h1 em, h2 em, h3 em, .vb-quote em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
.vb-ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed; z-index: 300; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: var(--r-box-sm); background: var(--ink); color: var(--bg); }

/* ---------- Typografie ---------- */
.t-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.t-display { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; }
.t-h3 { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -.015em; }
.t-h4 { font-family: var(--font-display); font-weight: 650; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
.t-small { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.tnum { font-variant-numeric: tabular-nums; }
.fn-h1 { font-size: clamp(2.25rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 1.1rem; }
.fn-h1 sup { font-size: .45em; vertical-align: super; color: var(--muted); letter-spacing: 0; }
.fn-lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.fn-prose { display: grid; gap: 1rem; max-width: var(--measure); }
.fn-small { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.fn-src { font-size: .86rem; color: var(--muted); margin-top: .6rem; }
.fn-fn { font-size: .92rem; color: var(--muted); max-width: 36rem; line-height: 1.55; margin-top: 1.5rem; padding-left: 14px; box-shadow: inset 2px 0 0 rgba(var(--edge-rgb), .14); }
.fn-fn sup { font-size: .8em; }

/* ---------- Layout ---------- */
.fn-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 700px) { .fn-wrap { padding-left: 24px; padding-right: 24px; } }
.fn-sec { padding-block: clamp(56px, 8vw, 104px); }
.fn-sec.is-tight { padding-block: clamp(28px, 4vw, 48px); }
.fn-sec.is-band { background: var(--bg-2); }
.fn-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 5vw, 48px); }
.fn-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.fn-head p { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.fn-head .fn-row, .fn-head > div { margin-top: 4px; }
/* Handy (01.12.): weniger Luft zwischen den Sections, graue Sections als abgerundete Flächen mit weicher Kante */
@media (max-width: 640px) {
  .fn-sec { padding-block: 40px; }
  .fn-head { margin-bottom: 20px; }
  .fn-sec.is-band {
    margin-inline: 8px; border-radius: 24px;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--bg-2) 40%, var(--bg)), var(--bg-2) 24px, var(--bg-2) calc(100% - 24px), color-mix(in srgb, var(--bg-2) 40%, var(--bg)));
  }
  .fn-sec.is-band > .fn-wrap { padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
  .fn-sec.is-band + .fn-sec.is-band { margin-top: 8px; }
}
.fn-grid { display: grid; gap: 16px; }
.fn-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fn-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fn-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fn-stack { display: grid; gap: 16px; align-content: start; }
.fn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.vb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.fn-grid > *, .vb-split > *, .vb-price-grid > *, .fn-hero > *, .vb-expert > * { min-width: 0; }

/* ---------- Navigation: Glas 86 % ---------- */
.fn-navwrap {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass-nav);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(var(--edge-rgb), .08);
}
.vb-topnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; min-height: 66px; }
.vb-topnav .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.vb-topnav .brand small { font-family: var(--font-body); font-weight: 500; font-size: .86rem; letter-spacing: 0; color: var(--muted); }
@media (max-width: 640px) { .vb-topnav .brand small { display: none; } } /* wie bei den Werkzeugen: passt auf dem Handy nicht in die Zeile */
.vb-topnav .links { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.vb-topnav .links a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 8px 12px; border-radius: var(--r-pill); transition: color var(--t2) var(--ease), background var(--t2) var(--ease); }
.vb-topnav .links a:hover, .vb-topnav .links a.active { color: var(--ink); background: rgba(var(--edge-rgb), .06); }
.vb-topnav .vb-btn { --h: 44px; padding: 0 18px; font-size: .95rem; }
@media (max-width: 860px) { .vb-topnav .links { display: none; } }

/* Marke: Preisschild-Haus mit Haken (../bilder/logo.svg) */
.vb-mark {
  width: 30px; height: 30px; flex: none; display: inline-block;
  background: url(../bilder/logo.svg) center / contain no-repeat;
  font-size: 0; color: transparent; overflow: hidden;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.vb-mark.sm { width: 22px; height: 22px; }
/* Auf dunklem Grund (Schlussband, Dunkelmodus) liegt das Schild auf einer hellen Scheibe. */
.vb-mark.lg { width: 60px; height: 60px; border-radius: 50%; background-color: #F5F3F1; background-size: 78%; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 10px 24px -10px rgba(0,0,0,.5); }
:root[data-theme="dark"] .vb-mark { border-radius: 50%; background-color: #F5F3F1; background-size: 78%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vb-mark { border-radius: 50%; background-color: #F5F3F1; background-size: 78%; } }

/* Pflicht-Hinweis unter der Navigation */
.fn-chipbar { padding-top: 16px; }

/* ---------- Buttons: Pille, Verlauf 135°, Schatten in Buttonfarbe ---------- */
.vb-btn {
  --h: var(--tap);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border: 0; border-radius: var(--r-pill);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  color: var(--ink); background: var(--surface);
  box-shadow: var(--ring-ctrl), inset 0 1px 0 var(--hi), 0 10px 24px -14px rgba(var(--shadow-rgb), .35);
  transition: transform var(--t2) var(--ease), box-shadow var(--t3) var(--ease), filter var(--t2) var(--ease), background var(--t2) var(--ease);
}
.vb-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px rgba(var(--edge-rgb), .34), inset 0 1px 0 var(--hi), 0 14px 28px -14px rgba(var(--shadow-rgb), .4); }
.vb-btn:active { transform: translateY(0) scale(.985); transition-duration: var(--t1); }
.vb-btn-primary {
  color: var(--btn-ink);
  background: linear-gradient(135deg, var(--btn-1) 0%, var(--btn-2) 55%, var(--btn-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 24px -12px var(--btn-2);
}
.vb-btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 30px -12px var(--btn-2); filter: saturate(1.08); }
.vb-btn-secondary { /* ruhige Pille, siehe .vb-btn */ }
.vb-btn-quiet { background: none; box-shadow: none; color: var(--muted); padding: 0 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.vb-btn-quiet:hover { color: var(--ink); background: none; box-shadow: none; transform: none; }
.vb-btn-light { color: var(--ink); background: #FFFDFB; box-shadow: inset 0 1px 0 #fff, 0 12px 28px -12px rgba(0,0,0,.55); }
.vb-btn-light:hover { box-shadow: inset 0 1px 0 #fff, 0 16px 32px -12px rgba(0,0,0,.6); }
.vb-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.vb-btn-block { width: 100%; white-space: normal; }
@media (max-width: 640px) { .vb-btn:not(.vb-btn-quiet) { width: 100%; white-space: normal; } .vb-topnav .vb-btn { width: auto; } }

.vb-link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vb-link:hover { text-decoration-thickness: 2px; }
.vb-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.vb-link-arrow:hover { text-decoration: underline; }

/* ---------- Chips & Signale: 1px Ring ---------- */
.vb-chip, .vb-signal {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--ink); background: var(--surface);
  box-shadow: var(--ring-chip);
}
.vb-chip .vb-ic, .vb-signal .vb-ic { width: 16px; height: 16px; }
.vb-chip.is-info { color: var(--muted); }
.vb-chip.is-info .vb-ic { color: var(--accent); }
.vb-chip.is-lock { color: var(--muted); background: transparent; }
.vb-chip.is-done { color: var(--ok); background: var(--ok-soft); box-shadow: none; }
.vb-chip.is-active { color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.vb-signal { box-shadow: none; }
.vb-signal.ok { background: var(--ok-soft); color: var(--ok); }
.vb-signal.warn { background: var(--warn-soft); color: var(--warn); }
.vb-signal.stop { background: var(--risk-soft); color: var(--risk); }

/* ---------- Karten: Ring, Lichtkante, ruhiger Schatten ---------- */
.vb-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(20px, 3vw, 28px); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--rest); }
.vb-callout {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 16px 20px 16px 16px; border-radius: var(--r-box); background: var(--surface);
  box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi);
}
.vb-callout > svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.vb-callout h4 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; margin-bottom: 4px; }
.vb-callout p { font-size: 1rem; color: var(--muted); }
.vb-callout p strong { color: var(--ink); }
.vb-callout.is-warn > svg { background: var(--warn-soft); color: var(--warn); }
.vb-callout.is-honest > svg { background: rgba(var(--edge-rgb), .07); color: var(--ink); }
.vb-quote { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.4; letter-spacing: -.01em; }
.vb-quote::before { content: "„"; color: var(--accent); }
.vb-quote::after { content: "“"; color: var(--accent); }
.vb-quote-src { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.vb-fact-num { font: 650 clamp(2.2rem, 4.4vw, 3rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.vb-fact-lbl { font-size: .95rem; color: var(--muted); margin-top: 8px; max-width: 16rem; }
.fn-fact { display: grid; align-content: start; }
.fn-fact .vb-fact-num { color: var(--accent); }
.fn-fact p:not(.fn-src) { color: var(--ink); }
.fn-voice { display: grid; gap: 10px; align-content: start; }

/* ---------- Listen ---------- */
.vb-list { list-style: none; display: grid; gap: 10px; max-width: var(--measure); }
.vb-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.vb-list li > svg { width: 20px; height: 20px; margin-top: 4px; color: var(--ok); }
.vb-list.is-arrow li > svg { color: var(--muted); }
.vb-list-num { list-style: none; counter-reset: n; display: grid; gap: 12px; }
.vb-list-num li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.vb-list-num li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 650 .95rem/1 var(--font-display); color: var(--accent); background: var(--accent-soft); }

/* Fortschritt: Verlauf in Buttonfarbe */
.vb-progress { height: 6px; border-radius: 99px; background: rgba(var(--edge-rgb), .09); overflow: hidden; }
.vb-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--btn-1), var(--btn-2)); transition: width var(--t4) var(--ease); }

/* Checkliste zum Abhaken */
.vb-checklist { max-width: 52rem; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--lift); overflow: hidden; }
.vb-checklist-head { display: grid; gap: 12px; padding: 20px 22px; box-shadow: 0 1px 0 rgba(var(--edge-rgb), .08); }
.vb-checklist-head .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vb-checklist-head h4 { font-size: 1.15rem; }
.vb-check-item { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 16px 22px; cursor: pointer; box-shadow: 0 1px 0 rgba(var(--edge-rgb), .08); transition: background var(--t2) var(--ease); }
.vb-check-item:last-child { box-shadow: none; }
.vb-check-item:hover { background: rgba(var(--edge-rgb), .025); }
.vb-check-item .vb-check { min-height: 0; padding-top: 2px; }
.vb-check-item .t { font-weight: 650; }
.vb-check-item .s { font-size: .95rem; color: var(--muted); }
.vb-check-item.is-checked .t { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(var(--edge-rgb), .3); }

/* Erledigt-Meldung */
.vb-done-msg { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-box); background: var(--ok-soft); opacity: 0; transform: translateY(6px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.vb-done-msg.on { opacity: 1; transform: none; }
.vb-done-msg .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3E8D5E, #2C6E47); box-shadow: 0 8px 18px -10px #2C6E47; }
.vb-done-msg .ic svg { width: 22px; height: 22px; }
.vb-done-msg b { display: block; }
.vb-done-msg span { font-size: .98rem; color: var(--muted); }

/* ---------- Formulare ---------- */
.vb-field { display: grid; gap: 6px; }
.vb-field > label { font-size: .95rem; font-weight: 600; }
.vb-input, .vb-textarea {
  width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: var(--r-box-sm);
  font: 500 1.04rem/1.4 var(--font-body); color: var(--ink); background: var(--surface); box-shadow: var(--ring-ctrl);
  transition: box-shadow var(--t2) var(--ease);
}
.vb-textarea { padding: 14px 18px; min-height: 130px; resize: vertical; }
.vb-input:focus, .vb-textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-soft); }
.vb-input::placeholder, .vb-textarea::placeholder { color: var(--muted); opacity: .8; }
.vb-input.is-error, .vb-textarea.is-error { box-shadow: inset 0 0 0 2px var(--risk); }
.vb-help { font-size: .9rem; color: var(--muted); }
.vb-error { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--risk); }
.vb-error svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

.vb-check, .vb-radio { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-size: 1rem; }
.vb-check input, .vb-radio input, .vb-option input {
  appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0;
  background: var(--surface); box-shadow: var(--ring-ctrl); cursor: pointer; display: grid; place-items: center;
  transition: box-shadow var(--t2) var(--ease), background var(--t2) var(--ease);
}
.vb-check input { border-radius: 8px; }
.vb-check input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--t2) var(--ease); }
.vb-check input:checked { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.vb-check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.vb-radio input, .vb-option input { border-radius: 50%; }
.vb-radio input::after, .vb-option input::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform var(--t3) var(--ease); }
.vb-radio input:checked, .vb-option input:checked { box-shadow: inset 0 0 0 2px var(--accent); }
.vb-radio input:checked::after, .vb-option input:checked::after { transform: scale(1); }
.fn-consent-check { align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.fn-consent-check input { margin-top: 1px; }

/* Auswahlkarten wie im Selbsttest der Variation */
.fn-options { display: grid; gap: 10px; }
.fn-options legend h2, .fn-options legend { width: 100%; }
.vb-option {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: center;
  min-height: 60px; padding: 14px 18px; border-radius: var(--r-box);
  font: 500 1.04rem/1.35 var(--font-body); color: var(--ink); cursor: pointer;
  background: var(--bg); box-shadow: var(--ring-ctrl);
  transition: box-shadow var(--t2) var(--ease), background var(--t2) var(--ease), transform var(--t1) var(--ease);
}
.vb-option:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px rgba(var(--edge-rgb), .34), 0 10px 22px -16px rgba(var(--shadow-rgb), .45); }
.vb-option:active { transform: scale(.99); }
.vb-option:has(input:checked) { background: var(--surface); box-shadow: var(--ring-sel), 0 14px 30px -16px var(--btn-2); }
.vb-option:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.vb-option .t { display: block; font-weight: 550; }
.vb-option .d { display: block; font-size: .92rem; color: var(--muted); }
.vb-q-step { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* Segment-Auswahl (Zahlweise) */
.vb-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.vb-seg label { position: relative; display: grid; gap: 4px; padding: 14px 18px; border-radius: var(--r-box); cursor: pointer; background: var(--bg); box-shadow: var(--ring-ctrl); transition: box-shadow var(--t2) var(--ease), background var(--t2) var(--ease); }
.vb-seg label:hover { background: var(--surface); }
.vb-seg input { position: absolute; opacity: 0; pointer-events: none; }
.vb-seg label:has(input:checked) { background: var(--surface); box-shadow: var(--ring-sel), 0 12px 26px -18px var(--btn-2); }
.vb-seg label:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.vb-seg .t { font-weight: 650; }
.vb-seg .d { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.fn-radios { display: grid; gap: 2px; }
.fn-radios legend, .vb-seg legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }

/* ---------- Formular-Karte (Warteliste): wie die Quiz-Karte der Variation ---------- */
.fn-formcard {
  position: relative; display: grid; gap: 18px; min-width: 0;
  background: var(--surface); border-radius: var(--r-frame); padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--float);
}
.fn-formcard h2, .fn-formcard h3 { font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.12; margin-bottom: 6px; }
/* Anmeldeformular mobil zuerst (29.11.): kompakt, Kleingedrucktes klein. Ab 641 px etwas luftiger. */
.fn-formcard .fn-stack { gap: 14px; }
.fn-formcard .vb-field { gap: 4px; }
.fn-formcard .vb-input { min-height: 50px; }               /* Schrift bleibt über 16 px, sonst zoomt iOS */
.fn-formcard .vb-help { font-size: .8rem; line-height: 1.4; }
.fn-formcard .fn-consent-check { font-size: .76rem; line-height: 1.45; gap: 10px; min-height: 0; }
.fn-formcard .fn-consent-check input { width: 22px; height: 22px; margin-top: 0; }
.fn-formcard .fn-small { font-size: .76rem; line-height: 1.4; text-align: center; margin-top: -4px; }
@media (min-width: 641px) {
  .fn-formcard .fn-stack { gap: 18px; }
  .fn-formcard .vb-help { font-size: .88rem; }
  .fn-formcard .fn-consent-check, .fn-formcard .fn-small { font-size: .84rem; }
}
#schritt-1, #schritt-2 { animation: fnIn var(--t4) var(--ease) both; }
.fn-frei { font-weight: 400; color: var(--muted); }
.fn-thema { margin-top: .2rem; }
.fn-thema legend { font-weight: 600; margin-bottom: .2rem; }
.fn-thema .vb-option { padding-block: 10px; }
@keyframes fnIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.fn-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.fn-hero.is-single { grid-template-columns: minmax(0, 1fr); }
.fn-hero.is-single > * { max-width: 50rem; }
.vb-card.is-featured { box-shadow: var(--ring-sel), inset 0 1px 0 var(--hi), var(--float); }
.fn-hero .t-eyebrow:first-child { margin-bottom: 4px; }
.fn-hero.is-center { text-align: left; }
.fn-hero-copy { display: grid; gap: 20px; align-content: start; min-width: 0; }
@media (min-width: 961px) { .fn-hero-copy.is-sticky { position: sticky; top: 104px; } }
.fn-side { min-width: 0; }
.fn-side .fn-formcard { margin-top: -84px; margin-inline: clamp(0px, 2.4vw, 24px); z-index: 2; }

/* Bildrahmen 32px, darüber Glas-Ebenen */
.fn-frame { position: relative; border-radius: var(--r-frame); overflow: hidden; aspect-ratio: 16 / 10; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--float); background: #4A2F27; }
.fn-frame > img { width: 100%; height: 100%; object-fit: cover; }
.fn-frame.is-square { aspect-ratio: 1 / 1; }
.glass-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; color: #fff; font-size: .86rem; font-weight: 600;
  background: var(--glass-chip);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px -10px rgba(0,0,0,.45);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.badge-ring {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1;
  font: 700 1rem/1 var(--font-display); color: #fff;
  background: linear-gradient(135deg, #FF8A4F, #FE5E1E 55%, #C94406);
  box-shadow: 0 0 0 3px var(--badge-ring), 0 6px 14px -6px rgba(0,0,0,.45);
}
.badge-ring small { display: block; font: 600 .6rem/1.1 var(--font-body); letter-spacing: .04em; opacity: .92; }

/* Bühne mit Ebenen (Angebot): Bild > Glaskarte > Handy */
.fn-stage { position: relative; padding-bottom: 56px; min-width: 0; }
.fn-stage .fn-frame { width: 86%; aspect-ratio: 1 / 1; }
.glass-card {
  position: absolute; border-radius: var(--r-card); padding: 18px 20px;
  background: var(--glass-card);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(var(--edge-rgb), .10), inset 0 1px 0 var(--hi), var(--float);
}
.glass-card .t-eyebrow { font-size: .68rem; }
.pb-grid { display: grid; gap: 8px; margin-top: 10px; }
.pb-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-box-sm); background: var(--bg); font-size: .9rem; }
.pb-line b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-line.key { background: var(--accent-soft); color: var(--accent); }
.phone {
  position: absolute; width: 38%; max-width: 230px; aspect-ratio: 9 / 19.2;
  padding: 3.2%; border-radius: 15.5% / 7.2%;
  background: linear-gradient(155deg, #3D302B, #18110F 60%, #2E2420);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.22), 0 2px 4px rgba(0,0,0,.2), 0 34px 70px -26px rgba(var(--shadow-rgb), .65);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 14.4% / 6.7%; overflow: hidden;
  background: var(--bg); color: var(--ink); position: relative;
  display: flex; flex-direction: column; gap: 6px; padding: 18% 7% 7%;
  font-size: clamp(7px, 1.05vw, 10.5px); line-height: 1.35;
}
.phone-screen::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #18110F; }
.ps-title { font: 700 1.45em/1.1 var(--font-display); letter-spacing: -.01em; }
.ps-sub { color: var(--muted); font-size: .92em; }
.ps-step { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; background: var(--surface); box-shadow: var(--ring-chip); }
.ps-step i { flex: none; width: 1.35em; height: 1.35em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .85em; font-weight: 700; color: #fff; background: var(--ok); }
.ps-step.now { box-shadow: inset 0 0 0 1.5px var(--accent), 0 6px 14px -8px var(--accent); }
.ps-step.now i { background: var(--accent); }
.ps-step.todo i { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px rgba(var(--edge-rgb), .25); }
.ps-step span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-bar { height: 5px; border-radius: 99px; background: rgba(var(--edge-rgb), .1); overflow: hidden; }
.ps-bar b { display: block; height: 100%; width: 34%; border-radius: inherit; background: linear-gradient(90deg, var(--btn-1), var(--btn-2)); }

/* Einstieg der Hero-Ebenen */
.layer-in { animation: layerIn 600ms var(--ease) both; }
.layer-in.d1 { animation-delay: 90ms; } .layer-in.d2 { animation-delay: 180ms; } .layer-in.d3 { animation-delay: 270ms; }
@keyframes layerIn { from { opacity: .001; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* Video-Karten im Hero: wie die Folgen der Variation */
.fn-vcards { list-style: none; display: grid; gap: 12px; margin-top: 8px; max-width: 40rem; }
.fn-vcard { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start; padding: 12px 18px 14px 12px; border-radius: var(--r-box); background: var(--surface); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--rest); }
.fn-vnum {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-box-sm); overflow: hidden;
  display: grid; place-items: center; color: #fff; font: 700 1.6rem/1 var(--font-display);
  background: url(../bilder/abendland.svg) center / cover, #4A2F27;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.fn-vcard:nth-child(2) .fn-vnum { background-position: 70% 60%; filter: hue-rotate(-8deg) saturate(1.1); }
.fn-vcard:nth-child(3) .fn-vnum { background-position: 20% 80%; filter: brightness(.92); }
.fn-vcard.is-launch .fn-vnum { background: var(--accent); }
.fn-vnum svg { width: 32px; height: 32px; }
.fn-vdate { font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.fn-vtitle { font: 650 1.12rem/1.25 var(--font-display); letter-spacing: -.01em; margin: 2px 0 4px; text-wrap: balance; }
.fn-vgain { font-size: .95rem; color: var(--muted); }
.fn-vgain strong { color: var(--ink); font-weight: 600; }
.fn-vsheet { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ok); background: var(--ok-soft); }

/* ---------- Fahrplan der Serie ---------- */
.vb-dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font: 650 1rem/1 var(--font-display);
  color: var(--muted); background: var(--surface); box-shadow: var(--ring-ctrl);
}
.vb-dot svg { width: 18px; height: 18px; }
.is-done > .vb-dot { color: #fff; background: linear-gradient(135deg, #3E8D5E, #2C6E47); box-shadow: 0 6px 14px -8px #2C6E47; }
.is-active > .vb-dot { color: #fff; background: linear-gradient(135deg, var(--btn-1), var(--btn-2) 55%, var(--btn-3)); box-shadow: 0 0 0 4px var(--accent-soft), 0 10px 22px -10px var(--btn-2); }
.is-locked > .vb-dot { color: var(--muted); background: var(--surface); box-shadow: var(--ring-chip); }
.vb-hroute .is-locked > .vb-dot { background: var(--bg-2); box-shadow: none; }
.vb-route { list-style: none; display: grid; position: relative; }
.vb-route li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.vb-route li:last-child { padding-bottom: 0; }
.vb-route li::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; border-radius: 2px; background: rgba(var(--edge-rgb), .12); }
.vb-route li:last-child::before { display: none; }
.vb-route li.is-done::before { background: rgba(44, 110, 71, .45); }
.vb-route .lbl { padding-top: 7px; min-width: 0; }
.vb-route .lbl b { display: block; font-weight: 650; line-height: 1.3; }
.vb-route .lbl > span { display: block; font-size: .92rem; color: var(--muted); margin-top: 2px; }
.vb-route a { text-decoration: none; }
.lbl .st { display: inline-flex !important; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-weight: 600; font-size: .86rem; color: var(--muted); margin-top: 6px !important; }
.is-done > .lbl .st { color: var(--ok); }
.is-active > .lbl .st { color: var(--accent); }
.lbl .st .vb-link { font-weight: 600; }

/* Waagerechter Fahrplan: Karten auf einer Linie */
.vb-hroute { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; position: relative; }
.vb-hroute.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vb-hroute.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vb-hroute::before { content: ""; position: absolute; left: 40px; right: 40px; top: 42px; height: 2px; border-radius: 2px; background: rgba(var(--edge-rgb), .12); }
.vb-hroute li { position: relative; display: grid; align-content: start; gap: 14px; padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--rest); transition: transform var(--t3) var(--ease), box-shadow var(--t3) var(--ease); }
.vb-hroute li:hover { transform: translateY(-2px); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--lift); }
.vb-hroute li.is-active { box-shadow: var(--ring-sel), inset 0 1px 0 var(--hi), var(--lift); }
.vb-hroute .lbl b { display: block; font: 650 1.08rem/1.3 var(--font-display); letter-spacing: -.01em; }
.vb-hroute .lbl > span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; margin-top: 6px; }
@media (max-width: 900px) {
  .vb-hroute, .vb-hroute.is-4, .vb-hroute.is-5 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vb-hroute::before { display: none; }
  .vb-hroute li { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 18px; }
  .vb-hroute .lbl { padding-top: 6px; }
}

/* ---------- Gastgeber ---------- */
.vb-expert { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 3vw, 32px); align-items: center; }
.vb-photo-ph {
  aspect-ratio: 4 / 5; border-radius: var(--r-card); display: grid; place-items: end center; text-align: center;
  padding: 16px; font-size: .86rem; line-height: 1.4; color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, transparent 40%, rgba(20,14,12,.7)), url(../bilder/abendland.svg) center / cover, #4A2F27;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--lift);
}
.vb-photo-ph .fn-ph { color: var(--ink); }
.fn-kicker { color: var(--accent); }
#gastgeber .fn-grid > div { padding: 20px; border-radius: var(--r-mid); background: var(--surface); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi); }
#gastgeber .vb-fact-num { color: var(--accent); }

/* ---------- Etappen-Karten ---------- */
.vb-stage { display: grid; gap: 12px; align-content: start; transition: transform var(--t3) var(--ease), box-shadow var(--t3) var(--ease); }
.vb-stage:hover { transform: translateY(-2px); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--lift); }
.vb-stage-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.vb-stage-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 650 1.3rem/1 var(--font-display); color: var(--accent); background: var(--accent-soft); }
.vb-stage h3 { font-size: 1.15rem; }
.vb-stage .result { font-size: .95rem; color: var(--muted); }
.vb-stage .result strong { color: var(--ink); font-weight: 600; }
.vb-stage.is-locked { background: color-mix(in srgb, var(--surface) 55%, transparent); box-shadow: var(--ring-chip); }
.vb-stage.is-locked .vb-stage-num { color: var(--muted); background: rgba(var(--edge-rgb), .06); }

/* Werkzeug-Karten */
.vb-tool { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.vb-tool .ic-box { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.vb-tool .ic-box svg { width: 22px; height: 22px; }
.vb-tool h3 { font-size: 1.15rem; margin-bottom: 4px; }
.vb-tool p { color: var(--muted); font-size: .98rem; }
.vb-tool .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* ---------- Rechnung ---------- */
.vb-calc { max-width: 36rem; }
.vb-calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.vb-calc-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: baseline; padding: 13px 0; box-shadow: 0 -1px 0 rgba(var(--edge-rgb), .10); font-variant-numeric: tabular-nums; }
.vb-calc-row .lbl small { display: block; font-size: .86rem; color: var(--muted); }
.vb-calc-row .val { font: 650 1.12rem/1.2 var(--font-display); text-align: right; white-space: nowrap; }
.vb-calc-op { font: 700 1.1rem/1 var(--font-display); color: var(--accent); text-align: center; }
.vb-calc-total { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; margin-top: 10px; padding: 16px 18px 16px 12px; border-radius: var(--r-box); background: var(--accent-soft); }
.vb-calc-total .val { font: 650 1.7rem/1.1 var(--font-display); color: var(--accent); white-space: nowrap; letter-spacing: -.02em; }
.vb-calc-src { font-size: .84rem; color: var(--muted); margin-top: 16px; }

/* ---------- Pakete: wie die Plan-Karten der Variation ---------- */
.vb-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 60rem; align-items: stretch; }
.vb-price {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 3.5vw, 34px); border-radius: var(--r-card); background: var(--surface);
  box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--rest);
  transition: box-shadow var(--t3) var(--ease), transform var(--t3) var(--ease);
}
.vb-price:hover { transform: translateY(-2px); }
.vb-price.is-featured { box-shadow: var(--ring-sel), inset 0 1px 0 var(--hi), var(--float); }
.vb-price .tier { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font: 650 1.35rem/1.2 var(--font-display); letter-spacing: -.01em; }
.vb-price .tier .vb-chip.is-info { color: var(--accent); background: var(--accent-soft); box-shadow: none; font-family: var(--font-body); }
.vb-price .amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font: 650 clamp(2.3rem, 5vw, 3.2rem)/1 var(--font-display); letter-spacing: -.03em; }
.vb-price .amount small { font: 500 .92rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.vb-price .vb-list { font-size: .98rem; }
.vb-price .vb-btn { width: 100%; }

/* Kasse */
.fn-kasse { max-width: 42rem; display: grid; gap: 20px; box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--float); }
.fn-sum { display: grid; font-variant-numeric: tabular-nums; }
.fn-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; box-shadow: 0 -1px 0 rgba(var(--edge-rgb), .10); }
.fn-sum > div:first-child { box-shadow: none; }
.fn-sum > div.tot { margin-top: 10px; padding: 16px 18px; border-radius: var(--r-box); background: var(--accent-soft); box-shadow: none; font-weight: 600; }
.fn-sum > div.tot b { font: 650 1.6rem/1.1 var(--font-display); color: var(--accent); letter-spacing: -.02em; }

/* ---------- Countdown ---------- */
.fn-count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 30rem; }
.fn-count > div { padding: 14px 8px 12px; border-radius: var(--r-box); text-align: center; background: var(--surface); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--rest); }
.fn-count b { display: block; font: 650 2.4rem/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink); }
.fn-count span { display: block; margin-top: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fn-count.is-big { max-width: 42rem; gap: 14px; }
.fn-count.is-big > div { padding: 22px 10px 16px; border-radius: var(--r-card); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--float); }
.fn-count.is-big b { font-size: clamp(2.6rem, 7vw, 4.4rem); background: linear-gradient(135deg, var(--btn-1), var(--btn-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Countdown-Band und Bonus: dunkle Abendfläche */
.fn-countband {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-frame); color: #fff;
  background: linear-gradient(100deg, rgba(20,14,12,.9) 0%, rgba(20,14,12,.55) 60%, rgba(20,14,12,.25)), url(../bilder/abendland.svg) center 70% / cover, #2E201C;
  box-shadow: var(--float);
}
.fn-countband p { color: rgba(255,255,255,.86); max-width: 40rem; }
.fn-countband .t-eyebrow { color: rgba(255,255,255,.72); }
.fn-countband h2, .fn-countband h3 { color: #fff; }
.fn-countband .fn-count > div { background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.3); }
.fn-countband .fn-count b { color: #fff; }
.fn-countband .fn-count span { color: rgba(255,255,255,.75); }
.fn-countband .vb-signal.ok { background: rgba(127, 203, 156, .2); color: #BFF0D0; }
.fn-countband .vb-link { color: var(--peach); }

/* Frist-Leiste (Angebot) */
.fn-frist { background: var(--ink); color: color-mix(in srgb, var(--bg) 82%, transparent); padding-block: 12px; font-size: .95rem; }
.fn-frist .fn-wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.fn-frist b { color: var(--bg); font-weight: 650; }
.fn-frist .cd { font: 650 1.15rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: var(--peach); white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fn-frist .cd { color: var(--btn-3); } }

/* ---------- Video ---------- */
.fn-video {
  position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center; padding: 24px; color: #fff;
  border-radius: var(--r-frame);
  background: linear-gradient(180deg, rgba(20,14,12,.1), rgba(20,14,12,.45)), url(../bilder/abendland.svg) center 65% / cover, #2E201C;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--float);
}
.fn-video video, .fn-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.fn-video.has-media { padding: 0; background: #000; }
.fn-video .ph { display: grid; gap: 14px; justify-items: center; }
.fn-video .ph b { font: 650 clamp(1.4rem, 3vw, 2rem)/1.1 var(--font-display); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.fn-video .ph .vb-btn-light::before { content: ""; width: 0; height: 0; border-left: 10px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Häufige Fragen ---------- */
.vb-faq { display: grid; gap: 10px; max-width: 52rem; }
.vb-faq details { border-radius: var(--r-mid); background: var(--surface); box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi); transition: box-shadow var(--t3) var(--ease); }
.vb-faq details[open] { box-shadow: var(--ring-chip), inset 0 1px 0 var(--hi), var(--lift); }
.vb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; min-height: 56px; font-weight: 600; font-size: 1.04rem; }
.vb-faq summary::-webkit-details-marker { display: none; }
.vb-faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); box-shadow: var(--ring-ctrl); transition: transform var(--t3) var(--ease), color var(--t2) var(--ease); }
.vb-faq summary .pm svg { width: 14px; height: 14px; }
.vb-faq details[open] summary .pm { transform: rotate(45deg); color: var(--accent); }
.vb-faq .faq-body { padding: 0 22px 20px; color: var(--muted); max-width: 44rem; }

/* ---------- Schlussband: Abendbild, wie „final“ der Variation ---------- */
.fn-bandsec { padding-bottom: clamp(56px, 8vw, 96px); }
.vb-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: left;
  padding: clamp(32px, 6vw, 72px); border-radius: var(--r-frame); color: #fff;
  background: linear-gradient(95deg, rgba(20,14,12,.55), rgba(20,14,12,.05) 75%), url(../bilder/abendland.svg) center 72% / cover, #2E201C;
  box-shadow: var(--float);
}
.vb-band .vb-mark { margin-bottom: 20px; }
.vb-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 18em; }
.vb-band h2 em { color: var(--peach); }
.vb-band p { color: rgba(255,255,255,.86); max-width: 34em; margin: 14px 0 28px; }
.vb-band :focus-visible { outline-color: #fff; }
.vb-band .vb-btn-light { --h: 60px; padding: 0 32px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.fn-footer { padding-block: 48px 40px; color: var(--muted); font-size: .9rem; box-shadow: 0 -1px 0 rgba(var(--edge-rgb), .08); }
.fn-footer .fn-wrap { display: grid; gap: 14px; }
.fn-footer .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.fn-footer p { max-width: 50rem; line-height: 1.6; }
.fn-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fn-footer nav a, .fn-footer nav button { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.fn-footer nav a:hover, .fn-footer nav button:hover { color: var(--ink); }

/* ---------- Mitlaufender Button am Handy: Glas, Linie oben ---------- */
.fn-sticky { display: none; }
@media (max-width: 760px) {
  .fn-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--glass-nav);
    -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 -1px 0 rgba(var(--edge-rgb), .12);
    transform: translateY(110%); transition: transform var(--t4) var(--ease);
  }
  .fn-sticky.on { transform: none; }
  body.has-sticky { padding-bottom: 84px; }
}

/* ---------- Einwilligung: Glaskarte ---------- */
.fn-consent {
  position: fixed; z-index: 100; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 40rem; margin: 0 auto; display: grid; gap: 12px; padding: 20px 22px;
  border-radius: var(--r-card); background: var(--glass-card);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(var(--edge-rgb), .12), inset 0 1px 0 var(--hi), var(--float);
  animation: fnIn var(--t4) var(--ease) both;
}
.fn-consent h2 { font-size: 1.2rem; }
.fn-consent p { font-size: .95rem; color: var(--muted); }
.fn-consent .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fn-consent .btns .vb-btn { width: 100%; padding: 0 12px; }

/* Hinweis-Toast */
.fn-toastwrap { position: fixed; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); z-index: 120; display: grid; place-items: center; pointer-events: none; }
.vb-toast { display: flex; align-items: center; gap: 10px; max-width: 440px; padding: 14px 20px; border-radius: var(--r-box); background: var(--ink); color: var(--bg); font-size: .95rem; line-height: 1.4; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--float); opacity: 0; transform: translateY(14px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.vb-toast.on { opacity: 1; transform: none; }
.vb-toast svg { width: 18px; height: 18px; flex: none; color: var(--peach); }

/* Zeit-Simulator */
.fn-sim { position: fixed; top: 10px; right: 10px; z-index: 200; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--bg); background: var(--ink); opacity: .92; pointer-events: none; box-shadow: var(--lift); }

/* Platzhalter: deutlich markiert, bricht um */
.fn-ph { padding: 0 .25em; border-radius: 5px; background: var(--warn-soft); color: var(--ink); box-shadow: inset 0 -1px 0 var(--warn); font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.vb-btn-primary .fn-ph { background: rgba(255,255,255,.22); color: #fff; box-shadow: inset 0 -1px 0 rgba(255,255,255,.6); }
.vb-band .fn-ph, .fn-countband .fn-ph, .fn-frist .fn-ph { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 -1px 0 rgba(255,255,255,.6); }
.vb-fact-num .fn-ph, .vb-price .amount .fn-ph, .fn-sum .fn-ph, .vb-calc-row .val .fn-ph, .vb-calc-total .val .fn-ph, .fn-count .fn-ph { font: 600 .95rem/1.4 var(--font-body); letter-spacing: 0; white-space: normal; display: inline-block; }
.vb-calc-row .val:has(.fn-ph), .vb-calc-total .val:has(.fn-ph), .vb-calc-total .val.fn-ph { white-space: normal; max-width: 12rem; font: 600 .95rem/1.4 var(--font-body); text-align: right; }
.vb-price .amount small .fn-ph { font-size: .92rem; }
.fn-sum > div.tot b.fn-ph { font: 600 .95rem/1.4 var(--font-body); letter-spacing: 0; text-align: right; }

/* ---------- Einblenden beim Scrollen ---------- */
.vb-reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t4) var(--ease), transform 600ms var(--ease); }
.vb-reveal.in { opacity: 1; transform: none; }
.vb-reveal.d1 { transition-delay: 70ms; } .vb-reveal.d2 { transition-delay: 140ms; } .vb-reveal.d3 { transition-delay: 210ms; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .fn-hero { grid-template-columns: minmax(0, 1fr); }
  .fn-side .fn-formcard { margin-top: -48px; }
  /* Warteliste am Handy (29.11.): Formular direkt nach dem Einleitungstext, Videokarten darunter, Hausbild aus */
  .fn-hero.is-anmeldung { display: flex; flex-direction: column; gap: 20px; }
  .fn-hero.is-anmeldung .fn-hero-copy { display: contents; }
  .fn-hero.is-anmeldung .fn-vcards { order: 2; margin-top: 12px; }
  .fn-hero.is-anmeldung .fn-frame { display: none; }
  .fn-hero.is-anmeldung .fn-side .fn-formcard { margin-top: 0; margin-inline: 0; }
  .fn-stage { max-width: 560px; }
}
@media (max-width: 900px) {
  .vb-split { grid-template-columns: minmax(0, 1fr); }
  .fn-grid.c3, .fn-grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fn-grid.c2, .fn-grid.c3, .fn-grid.c4 { grid-template-columns: minmax(0, 1fr); }
  .vb-expert { grid-template-columns: minmax(0, 1fr); }
  .vb-expert .vb-photo-ph { max-width: 220px; }
  .fn-vcard { grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 14px 12px 10px; }
  .fn-vnum { font-size: 1.25rem; }
  .fn-count { gap: 6px; }
  .fn-count b { font-size: 1.9rem; }
  .fn-count span { font-size: .64rem; letter-spacing: .04em; }
  .fn-count.is-big { gap: 8px; }
  .fn-count.is-big > div { padding: 16px 4px 12px; }
  .fn-consent .btns { grid-template-columns: 1fr; }
  .vb-faq summary { padding: 18px; }
  .vb-faq .faq-body { padding: 0 18px 18px; }
  .vb-calc-row, .vb-calc-total { grid-template-columns: 20px 1fr auto; gap: 8px; }
  .vb-calc-total .val { font-size: 1.35rem; }
  .glass-card { width: 66% !important; padding: 14px; z-index: 2; left: 0 !important; }
  .glass-card .pb-line { font-size: .78rem; padding: 8px 10px; }
  /* Pflichthinweis am Handy: unten vor dem Footer statt oben */
  .fn-chipbar { display: none; }
  .fn-footer::before { content: "Orientierungshilfe – keine Rechtsberatung, keine Steuerberatung, kein Wertgutachten"; display: block; margin: 0 16px 8px; padding: 12px 16px; border-radius: var(--r-box-sm); background: var(--surface); box-shadow: var(--ring-chip); color: var(--ink); font-size: .9rem; font-weight: 600; text-align: center; }
}
@media (max-width: 420px) { .vb-topnav .vb-btn { --h: 40px; padding: 0 14px; font-size: .9rem; } .vb-topnav .brand { font-size: 1.05rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .vb-reveal { opacity: 1; transform: none; }
}

/* ================================================================
   ARBEITSBLÄTTER (A4) — immer hell, auch im Dunkelmodus
   ================================================================ */
.sheet-stage { max-width: 858px; margin: 0 auto; padding: 20px; border-radius: var(--r-frame); background: rgba(var(--edge-rgb), .05); overflow: hidden; }
.fn-print > .sheet-stage { margin-inline: auto; }
@media (max-width: 900px) { .fn-print > .sheet-stage { margin-inline: 16px; } }
@media (max-width: 640px) { .sheet-stage { padding: 10px; border-radius: var(--r-card); } }
.vb-sheet {
  --bg: #F8F4F0; --bg-2: #F0EAE4; --surface: #FFFFFF; --ink: #241C19; --muted: #6C625F; --accent: #BF4000;
  --accent-soft: rgba(254, 94, 30, .10); --ok: #2C6E47; --ok-soft: rgba(44,110,71,.11); --warn: #8A5A00; --warn-soft: rgba(196,138,20,.16);
  --risk: #B6322B; --risk-soft: rgba(182,50,43,.10); --edge-rgb: 24, 17, 15; --line: #DDD3CB;
  width: 794px; min-height: 1123px; margin: 0 auto; padding: 60px 64px 56px;
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  font-size: 15px; line-height: 1.5; border-radius: 6px; box-shadow: 0 2px 4px rgba(36,28,25,.06), 0 24px 48px -24px rgba(36,28,25,.35);
  color-scheme: light;
}
.vb-sheet > * { flex-shrink: 0; }
.vb-sheet h2 { font-family: var(--font-display); font-weight: 650; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; }
.vb-sheet h3 { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 20px 0 7px; }
.sh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sh-meta { font-size: 13px; color: var(--muted); text-align: right; line-height: 1.6; }
.sh-meta b { color: var(--ink); }
.sh-line { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.sh-line span { flex: 1 1 180px; border-bottom: 1px solid var(--ink); padding-bottom: 3px; color: var(--muted); min-height: 26px; }
.sh-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sh-table th, .sh-table td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.sh-table th { font-weight: 700; font-size: 12.5px; background: var(--bg); }
.sh-table td.r, .sh-table th.r { text-align: right; }
.sh-table td.w, .sh-table th.w { height: 34px; }
.sh-calc { font-size: 14px; font-variant-numeric: tabular-nums; }
.sh-calc div { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.sh-calc div b { text-align: right; }
.sh-calc .op { color: var(--accent); font-weight: 700; text-align: center; }
.sh-calc .tot { border-top: 2px solid var(--ink); border-bottom: none; font-weight: 700; }
.sh-box { display: inline-block; width: 15px; height: 15px; border: 1.5px solid var(--ink); border-radius: 4px; vertical-align: -2px; }
.sh-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.sh-amp { display: grid; gap: 6px; margin-top: 6px; font-size: 13.5px; }
.sh-amp div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; }
.sh-sig { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: 12.5px; white-space: nowrap; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sh-sig svg { width: 14px; height: 14px; }
.sh-sig.ok { background: var(--ok-soft); color: var(--ok); } .sh-sig.warn { background: var(--warn-soft); color: var(--warn); } .sh-sig.stop { background: var(--risk-soft); color: var(--risk); }
.sh-blank { display: inline-block; min-width: 110px; height: 18px; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.sh-merk { margin-top: 22px; font: 650 20px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--accent); }
.sh-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 11.5px; color: var(--muted); }
.vb-sheet .fn-ph { background: rgba(196,138,20,.16); color: #241C19; }

/* ================================================================
   DRUCK — es druckt nur, was .fn-print trägt (Arbeitsblatt, Beleg)
   ================================================================ */
@page { size: A4; margin: 0; }
@media print {
  :root { color-scheme: light; --bg: #fff; --surface: #fff; --ink: #241C19; --muted: #6C625F; --accent: #BF4000; --edge-rgb: 24, 17, 15; }
  body { background: #fff; padding: 0 !important; }
  .no-print, .fn-consent, .fn-sticky, .fn-sim, .fn-toastwrap, .fn-navwrap, .fn-chipbar { display: none !important; }
  body.print-sheet main > :not(.fn-print), body.print-sheet > :not(main) { display: none !important; }
  body.print-sheet .fn-print > :not(.sheet-stage) { display: none !important; }
  .fn-print, .fn-print .fn-wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; background: none !important; }
  .sheet-stage { background: none; padding: 0 !important; margin: 0 !important; max-width: none !important; border-radius: 0; overflow: visible; }
  .vb-sheet { zoom: 1 !important; box-shadow: none; border-radius: 0; margin: 0; width: 210mm; min-height: 0; height: 296mm; overflow: hidden; padding: 14mm 15mm 11mm; break-after: page; }
  .vb-sheet:last-child { break-after: auto; }
  body.print-beleg { padding: 15mm !important; }
  body.print-beleg main > :not(.fn-print), body.print-beleg > :not(main) { display: none !important; }
  .vb-card { box-shadow: 0 0 0 1px #ddd !important; }
  a { color: inherit; text-decoration: none; }
}
