/* Layout: nachtblauer Hero mit Mitmach-Dienstplan, danach helle Abschnitte mit flachen Flächen, pulse-Block für Datenschutz, night-Footer. Marke laut Markenhandbuch. */
:root {
  --pulse: #3D5AFE;
  --pulse-strong: #2F4BF0;
  --on-pulse: #FFFFFF;
  --surface-0: #FFFFFF;
  --surface-100: #F4F6FB;
  --line: #E1E5EF;
  --ink: #0B0F1A;
  --ink-muted: #4A5163;
  --volt: #C8FF2E;
  --blaze: #FF4D2E;
  --night: #0B0F1A;
  --ink-fixed: #0B0F1A;
  --snow: #F4F6FB;
  --snow-muted: #A9B0C2;
  --night-line: #27304A;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 26px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pulse: #6E86FF;
    --pulse-strong: #8DA0FF;
    --on-pulse: #0B0F1A;
    --surface-0: #0B0F1A;
    --surface-100: #151B2B;
    --line: #27304A;
    --ink: #F4F6FB;
    --ink-muted: #A9B0C2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --pulse: #6E86FF;
  --pulse-strong: #8DA0FF;
  --on-pulse: #0B0F1A;
  --surface-0: #0B0F1A;
  --surface-100: #151B2B;
  --line: #27304A;
  --ink: #F4F6FB;
  --ink-muted: #A9B0C2;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--surface-0);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--night); z-index: 30;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
p { margin: 0; }
a { color: var(--pulse); }
:focus-visible { outline: 3px solid var(--pulse); outline-offset: 3px; border-radius: 6px; }
.on-night :focus-visible { outline-color: var(--volt); }

.wrap {
  max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.label {
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.bar { display: inline-block; height: 10px; border-radius: 999px; transform: skewX(-12deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--r-md); border: 2px solid transparent;
  font: 700 16px/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  background: var(--pulse); color: var(--on-pulse);
  transition: background .15s;
}
.btn:hover { background: var(--pulse-strong); }
.btn-volt { background: var(--volt); color: var(--ink-fixed); }
.btn-volt:hover { background: #D9FF66; }
.btn-ghost { background: transparent; border-color: var(--snow-muted); color: var(--snow); }
.btn-ghost:hover { background: var(--night-line); }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* Kopfzeile */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--night); border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--snow); text-decoration: none; }
.logo svg.icon { width: 36px; height: 36px; flex: none; }
.logo .wm { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.01em; transform: skewX(-8deg); flex: none; }

/* Hero */
.hero { background: var(--night); color: var(--snow); padding-block: 40px 56px; border-bottom: 1px solid var(--night-line); }
.hero-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.badge-volt {
  display: inline-flex; align-items: center; gap: 8px; background: var(--volt); color: var(--ink-fixed);
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 { font-weight: 800; font-size: clamp(1.9rem, 7.2vw, 3.4rem); line-height: 1.07; letter-spacing: -0.03em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero .lead { margin-top: 20px; font-size: 18px; line-height: 28px; color: var(--snow-muted); max-width: 34em; }
.hero .lead strong { color: var(--snow); font-weight: 600; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--snow-muted); }
.hero-bars { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; }
.hero-bars .bar:nth-child(1) { width: 62%; background: var(--volt); }
.hero-bars .bar:nth-child(2) { width: 40%; background: var(--pulse); margin-left: 6%; }
.hero-bars .bar:nth-child(3) { width: 24%; background: var(--blaze); height: 10px; margin-left: 14%; }

/* Hero-Vorschau (feste helle Karten, auch im dunklen Theme) */
.vorschau { display: grid; gap: 12px; min-width: 0; }
.v-card { background: #FFFFFF; color: #0B0F1A; border-radius: var(--r-md); padding: 16px; min-width: 0; }
.v-card:nth-child(2) { margin-left: 24px; }
.v-card:nth-child(3) { margin-left: 8px; }
.v-card .label { color: #3D5AFE; }
.v-card h3 { font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 700; margin-top: 6px; }
.v-card p { font-size: 14px; color: #4A5163; margin-top: 2px; }
.v-meter { display: flex; gap: 4px; margin-top: 12px; padding-left: 4px; }
.v-meter .bar { flex: 1; height: 10px; background: #E1E5EF; }
.v-meter .bar.on { background: #3D5AFE; }
.v-meter .bar.no { background: #FF4D2E; }
.v-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.v-chips span { background: #F4F6FB; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 500; }
.v-chips span.free { background: #C8FF2E; font-weight: 700; }

/* Demo-Bereich */
.demo-sec { background: var(--surface-100); }
.demo { margin-top: 32px; background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-tag { background: var(--surface-100); color: var(--ink-muted); padding: 4px 10px; border-radius: var(--r-sm); }
.demo-role { color: var(--pulse); }
.tabs-wrap { overflow-x: auto; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; padding: 8px 12px; min-width: max-content; }
.tab { font: 600 15px/1.2 var(--font-sans); padding: 11px 16px; border-radius: var(--r-md); border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; white-space: nowrap; }
.tab:hover { background: var(--surface-100); }
.tab[aria-selected="true"] { background: var(--pulse); color: var(--on-pulse); }
.panel { padding: 16px; min-width: 0; }
.p-title { font-weight: 700; font-size: 22px; line-height: 28px; }
.p-sub { font-size: 14px; color: var(--ink-muted); margin-top: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.seg .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn.quiet { background: transparent; color: var(--ink-muted); border-color: var(--line); }
.btn.quiet:hover { background: var(--surface-100); }
.meter { display: flex; gap: 4px; margin-top: 16px; padding-left: 4px; }
.meter .bar { flex: 1; height: 12px; background: var(--line); }
.meter .bar.on { background: var(--pulse); }
.meter .bar.no { background: var(--blaze); }
.meter-text { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-top: 8px; }
.cards { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; min-width: 0; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.card-sub { font-size: 14px; color: var(--ink-muted); }
.frei { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; background: var(--volt); color: var(--ink-fixed); white-space: nowrap; }
.frei.voll { background: var(--line); color: var(--ink-muted); }
.frei.warn { background: var(--blaze); color: var(--ink-fixed); }
.namen { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.name { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-100); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 500; }
.name.mine { background: var(--pulse); color: var(--on-pulse); padding-right: 6px; }
.name button { border: 0; cursor: pointer; font: 700 12px var(--font-sans); padding: 4px 9px; border-radius: 999px; background: var(--surface-0); color: var(--ink); }
.actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.form { display: grid; gap: 8px; margin-top: 12px; width: 100%; }
.form label { font-size: 14px; font-weight: 600; }
.form-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.form input[type="text"], .form select, .form textarea {
  flex: 1 1 160px; min-width: 0; min-height: 40px; padding: 8px 12px; font: 500 16px var(--font-sans);
  border: 2px solid var(--line); border-radius: var(--r-md); background: var(--surface-0); color: var(--ink);
}
.form textarea { min-height: 84px; resize: vertical; width: 100%; flex-basis: 100%; }
.form select { flex: 0 0 auto; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .check input { width: 20px; height: 20px; accent-color: var(--pulse); }
.hint { font-size: 13px; color: var(--ink-muted); }
.hint.err { color: var(--ink); font-weight: 700; }
.hint.err::before { content: "Fehlt noch: "; color: var(--blaze); }
.demo-status { padding: 0 16px; min-height: 20px; font-size: 14px; font-weight: 600; color: var(--pulse); }
.demo-foot { padding: 4px 16px 16px; font-size: 13px; color: var(--ink-muted); }

/* Zu- und Absagen */
.zbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 12px; }
.pill-s { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-zu { background: var(--volt); color: var(--ink-fixed); }
.pill-ab { background: var(--line); color: var(--ink); }
.pill-of { border: 1px solid var(--line); color: var(--ink-muted); }
.pill-info { background: var(--surface-100); color: var(--ink-muted); border: 1px solid var(--line); }
.pill-wichtig { background: var(--blaze); color: var(--ink-fixed); }
.spieler { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.spieler li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; display: grid; gap: 8px; min-width: 0; }
.s-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.s-name { font-weight: 600; min-width: 5.5em; }
.s-btns { display: flex; gap: 8px; margin-left: auto; }
.s-btns .btn { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.gruende { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-muted); }
.gruende .btn { min-height: 32px; padding: 4px 10px; font-size: 13px; }

/* Infos */
.post-meta { font-size: 13px; color: var(--ink-muted); }
.post-titel { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 22px; margin-top: 8px; overflow-wrap: anywhere; }
.post-text { margin-top: 6px; overflow-wrap: anywhere; }
.post-foot { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--ink-muted); }

/* Vorstand */
.tiles { margin-top: 16px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { background: var(--surface-100); border-radius: var(--r-md); padding: 14px; min-width: 0; }
.tile .label { color: var(--ink-muted); }
.tile .wert { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 32px; margin-top: 6px; }
.tile .wert small { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.todo-h { margin-top: 24px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.todo { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.todo li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; min-width: 0; }
.todo li .pill-s { flex: none; margin-top: 1px; }
.todo li span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .panel { padding: 24px; } .demo-bar { padding: 14px 24px; } .demo-status { padding: 0 24px; } .demo-foot { padding: 4px 24px 20px; } }

.navlink { color: var(--snow-muted); font-weight: 600; text-decoration: none; padding: 8px; }
.navlink:hover { color: var(--snow); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Abschnitte */
section.block { padding-block: 56px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); }
.eyebrow .bar { width: 28px; height: 8px; background: var(--pulse); }
.h2 { font-weight: 800; font-size: clamp(1.6rem, 5.2vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; margin-top: 12px; max-width: 18em; }
.sub { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 38em; }

/* Heute / Mit Clubnovo */
.vergleich { margin-top: 32px; display: grid; gap: 12px; }
.zeile { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface-0); }
.zeile > div { padding: 16px; min-width: 0; }
.zeile .thema { font-family: var(--font-display); font-weight: 700; font-size: 18px; background: var(--surface-100); }
.zeile .heute p, .zeile .neu p { margin-top: 4px; }
.zeile .tag { color: var(--ink-muted); }
.zeile .neu .tag { color: var(--pulse); }
.zeile .heute p { color: var(--ink-muted); }
@media (min-width: 880px) {
  .zeile { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  .zeile > div + div { border-left: 1px solid var(--line); }
}

/* Drei Zugänge */
.rollen { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.rolle { background: var(--surface-100); border-radius: var(--r-md); padding: 24px; min-width: 0; }
.rolle .pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--volt); color: var(--ink-fixed); }
.rolle h3 { margin-top: 16px; font-weight: 700; font-size: 22px; line-height: 28px; }
.rolle p { margin-top: 8px; color: var(--ink-muted); }
.rolle .zugang { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (min-width: 760px) { .rollen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pakete */
.pakete { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.paket { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; background: var(--surface-0); display: flex; flex-direction: column; min-width: 0; }
.paket.zentral { border: 2px solid var(--pulse); }
.paket .kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.paket h3 { font-weight: 800; font-size: 26px; line-height: 32px; }
.paket .fuer { margin-top: 8px; color: var(--ink-muted); }
.paket .tag-j { padding: 4px 10px; border-radius: 999px; background: var(--volt); color: var(--ink-fixed); }
.paket .abschnitt { margin-top: 20px; color: var(--ink-muted); }
.paket ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.paket li { position: relative; padding-left: 24px; min-width: 0; }
.paket li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 6px; border-radius: 999px; background: var(--pulse); transform: skewX(-12deg); }
.paket li b { font-weight: 600; }
.paket li span { display: block; font-size: 14px; color: var(--ink-muted); }
.paket .service { margin-top: auto; padding-top: 20px; }
.paket .service ul { margin-top: 8px; }
.paket .preis { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pakete-note { margin-top: 20px; color: var(--ink-muted); font-size: 14px; }
@media (min-width: 900px) { .pakete { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Daten */
.daten { background: var(--pulse); color: var(--on-pulse); padding-block: 56px; }
.daten .eyebrow { color: var(--on-pulse); }
.daten .eyebrow .bar { background: var(--volt); }
.daten .sub { color: var(--on-pulse); max-width: 36em; }
.fakten { margin-top: 32px; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; border-top: 1px solid color-mix(in srgb, var(--on-pulse) 35%, transparent); }
.fakten li { padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-pulse) 35%, transparent); min-width: 0; }
.fakten b { font-family: var(--font-display); font-weight: 700; font-size: 17px; display: block; }
.fakten span { display: block; margin-top: 4px; }
@media (min-width: 760px) {
  .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}

/* Pilot */
.pilot-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.schritte { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.schritte li::before {
  content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pulse); color: var(--on-pulse); font: 700 15px var(--font-display);
}
.schritte b { font-weight: 600; }
.schritte span { display: block; color: var(--ink-muted); font-size: 15px; }
.kontakt { background: var(--surface-100); border-radius: var(--r-lg); padding: 24px; align-self: start; min-width: 0; }
.kontakt h3 { font-weight: 700; font-size: 22px; line-height: 28px; }
.kontakt p { margin-top: 8px; color: var(--ink-muted); }
.mailbox { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mailbox code { font: 600 16px var(--font-sans); background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; user-select: all; overflow-wrap: anywhere; }
.kontakt .cta-row { margin-top: 16px; }
.copy-status { font-size: 14px; color: var(--ink-muted); min-height: 20px; margin-top: 8px; }
@media (min-width: 900px) { .pilot-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }

/* Fuß */
.foot { background: var(--night); color: var(--snow); padding-block: 40px; border-top: 1px solid var(--night-line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot p { color: var(--snow-muted); font-size: 14px; }
.foot .mail { color: var(--snow); font-weight: 600; overflow-wrap: anywhere; }

@media (min-width: 960px) {
  .hero { padding-block: 64px 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; }
  section.block { padding-block: 80px; }
  .daten { padding-block: 80px; }
  .demo { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Fonts (selbst gehostet, siehe scripts/copy-fonts.mjs) */
@font-face { font-family: "Inter"; font-weight: 400 700; font-style: normal; font-display: swap; src: local("Inter"), url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/unbounded-latin-800-normal.woff2") format("woff2"); }

/* Scroll-Fortschritt: Speed-Bar am oberen Rand */
.progress { position: fixed; left: 0; top: 0; width: 100%; height: 5px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--volt); transform: scaleX(0); transform-origin: 0 50%; border-radius: 0 999px 999px 0; }

/* Zettel-Bühne im Hero */
.buehne { min-width: 0; }
.b-switch { display: none; gap: 4px; padding: 4px; border-radius: 999px; background: var(--night-line); width: max-content; max-width: 100%; margin-bottom: 14px; }
.js .b-switch { display: flex; }
.b-switch button { font: 700 14px/1 var(--font-sans); border: 0; cursor: pointer; padding: 11px 16px; border-radius: 999px; background: transparent; color: var(--snow-muted); min-height: 44px; }
.b-switch button[aria-pressed="true"] { background: var(--volt); color: var(--night); }
.b-stage { position: relative; display: grid; min-width: 0; overflow: hidden; border-radius: var(--r-lg); }
.b-stage > * { grid-area: 1 / 1; min-width: 0; }
.b-zettel { display: none; position: relative; min-height: 360px; background: #1B2338; border-radius: var(--r-lg); padding: 28px 20px 36px; transition: opacity .45s ease, transform .6s cubic-bezier(.6,-0.2,.4,1.1); }
.js .b-zettel { display: block; }
.b-link { align-content: center; transition: opacity .45s ease .15s, transform .5s ease .15s; padding: 4px; }
.b-link .v-card { transition: opacity .4s ease, transform .5s cubic-bezier(.2,.9,.3,1.2); }
.buehne[data-state="zettel"] .b-link { opacity: 0; visibility: hidden; }
.buehne[data-state="zettel"] .b-link .v-card { opacity: 0; transform: translateY(28px); }
.buehne[data-state="link"] .b-zettel { opacity: 0; visibility: hidden; transform: translate(-40px, -60px) rotate(-14deg) scale(.8); }
.buehne[data-state="link"] .b-link .v-card:nth-child(1) { transition-delay: .25s; }
.buehne[data-state="link"] .b-link .v-card:nth-child(2) { transition-delay: .4s; }
.buehne[data-state="link"] .b-link .v-card:nth-child(3) { transition-delay: .55s; }
.z-paper { position: relative; width: min(88%, 330px); margin: 8px auto 0; background: #fff; color: var(--night); padding: 34px 22px 46px; transform: rotate(-4deg); clip-path: polygon(0 0, 100% 0, 100% 94%, 88% 100%, 76% 94%, 64% 100%, 52% 94%, 40% 100%, 28% 94%, 16% 100%, 4% 94%, 0 98%); animation: z-wobble 3.2s ease-in-out infinite; transform-origin: 50% 0; }
.z-pin { position: absolute; left: 50%; top: 10px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--blaze); box-shadow: none; border: 3px solid var(--night); }
.z-face { display: block; width: 128px; margin: 4px auto 6px; }
.z-pupil { animation: z-look 2.6s ease-in-out infinite; }
.z-h { font: 800 20px/1.2 var(--font-display); margin: 0 0 8px; }
.z-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 500 16px/1.4 var(--font-sans); color: #2A3145; }
.z-list li { border-bottom: 1px dashed #C9CFDF; padding-bottom: 3px; }
.z-list .z-x { text-decoration: line-through; color: #8A91A6; }
.z-bubble { position: absolute; background: var(--pulse); color: #fff; font: 600 14px/1.2 var(--font-sans); padding: 9px 13px; border-radius: 14px 14px 14px 4px; max-width: 46%; animation: z-pop 4s ease-in-out infinite; }
.z-b1 { right: 10px; top: 20px; }
.z-b2 { left: 10px; bottom: 28px; background: var(--volt); color: var(--night); animation-delay: -1.3s; }
.z-b3 { right: 14px; bottom: 70px; background: #fff; color: var(--night); animation-delay: -2.6s; }
@keyframes z-wobble { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(-1.5deg); } }
@keyframes z-look { 0%,100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes z-pop { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.04); } }
.b-sweep { align-self: center; justify-self: start; height: 56px; width: 130%; margin-left: -15%; background: var(--volt); transform: translateX(-120%) skewX(-12deg); opacity: 0; pointer-events: none; border-radius: 999px; }
.buehne.is-sweeping .b-sweep { animation: b-sweep .75s cubic-bezier(.7,0,.3,1); }
@keyframes b-sweep { 0% { transform: translateX(-120%) skewX(-12deg); opacity: 1; } 100% { transform: translateX(120%) skewX(-12deg); opacity: 1; } }
.b-cap { margin-top: 12px; color: var(--snow-muted); font-size: 15px; line-height: 22px; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .z-paper, .z-pupil, .z-bubble { animation: none; }
  .b-zettel, .b-link, .b-link .v-card { transition: none !important; }
  .buehne.is-sweeping .b-sweep { animation: none; }
}

/* Formular */
.pform { margin-top: 16px; display: grid; gap: 12px; }
.pform .f { display: grid; gap: 4px; }
.pform label { font-size: 14px; font-weight: 600; }
.pform .opt { font-weight: 400; color: var(--ink-muted); }
.pform input[type="text"], .pform input[type="email"], .pform textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: 500 16px var(--font-sans); border: 2px solid var(--line); border-radius: var(--r-md); background: var(--surface-0); color: var(--ink); }
.pform .f-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.pform .f-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pulse); flex: none; }
.pform .hp { position: absolute; left: -9999px; }
.foot a { color: var(--snow); }

/* Textseiten (Impressum, Datenschutz, Danke, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; }
.page h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; }
.page h2 { font-size: 1.25rem; margin-top: 32px; }
.page p, .page li { margin-top: 12px; max-width: 65ch; }
.page .todo-box { background: #FFF1ED; border-left: 4px solid var(--blaze); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-top: 20px; color: #0B0F1A; }
