/* Sternwarte Wendelhöhe — Beispiel-Website. Stil: MXL-084 (PURE). */

@font-face { font-family: "Switzer"; src: url("../fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #1a1b1b;
  --night-2: #262828;
  --night-line: #3a3c3c;
  --canvas: #f5f6f2;
  --surface: #ffffff;
  --ink: #060d25;
  --ink-2: #3d4254;
  --muted: #5c6070;
  --on-night: #f5f6f2;
  --on-night-2: #b9bcc4;
  --streak-blue: #5088c6;
  --streak-lilac: #b8b7ca;
  --mist: #d3dce6;
  --signal: #2ea043;
  --signal-ink: #1d6f2c;
  --ember: #f2a766;
  --hair: #dcded7;
  --hair-strong: #c7cac1;
  --field: #ebece6;

  /* Pastellflächen je Rolle */
  --p-mist: #dde5ee;
  --p-lilac: #e3e1ee;
  --p-apricot: #f3e3d1;
  --p-sage: #dfe8da;

  /* Dunkelstufen der Karte (hell → tiefdunkel) */
  --d0: #eceee8;
  --d1: #c9c8da;
  --d2: #7fa3cf;
  --d3: #34405e;
  --d4: #121414;

  --r-pill: 999px;
  --r-frame: 20px;
  --r-card: 18px;
  --r-win: 12px;
  --r-inner: 8px;
  --shadow-win: 0 2px 12px rgba(0, 0, 0, 0.1);

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 0;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--streak-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--streak-blue); outline-offset: 3px; border-radius: 6px; }
.on-night :focus-visible, .stage :focus-visible, .site-header :focus-visible { outline-color: var(--ember); }
html { scrollbar-color: #9fa3ad var(--canvas); }
h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 400; }
.tnum { font-variant-numeric: tabular-nums; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: var(--r-pill);
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--on-night);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; font-size: 16px; letter-spacing: -0.005em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; color: var(--on-night-2); font-size: 13px; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.pill) {
  text-decoration: none; font-size: 15px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: var(--r-pill); color: var(--on-night-2); transition: color .2s, background-color .2s;
}
.nav a:not(.pill):hover { color: var(--on-night); background: rgba(255,255,255,0.07); }
.nav a[aria-current="page"] { color: var(--on-night); background: rgba(255,255,255,0.1); }
.menu-toggle { display: none; }

/* ---------- Pillen ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  font: inherit; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .25s var(--ease-out), transform .25s var(--ease-out), color .25s;
  white-space: nowrap;
}
.pill:hover { text-decoration: none; }
.pill:active { transform: scale(0.98); }
.pill-light { background: var(--surface); color: var(--night); }
.pill-light:hover { background: #e6e8e2; }
.pill-dark { background: var(--night); color: var(--on-night); }
.pill-dark:hover { background: #333535; }
.pill-ghost-night { background: #2d2f2f; color: var(--on-night); }
.pill-ghost-night:hover { background: #3a3c3c; }
.pill-ghost { background: var(--field); color: var(--ink); }
.pill-ghost:hover { background: #dfe1da; }
.pill-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pill .arrow { width: 14px; height: 14px; }

/* ---------- Bühne (dunkles Kapitel) ---------- */
.stage { position: relative; background: var(--night); color: var(--on-night); }
.stage-home { height: 175vh; height: 175svh; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-poster {
  position: absolute; inset: 0; background: var(--night) url("../img/kuppel-poster.jpg") center / cover no-repeat;
}
.js .stage-poster { display: none; }
.reduced .stage-poster { display: block; }
.stage-words {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr minmax(260px, 44vw) 1fr; align-items: center;
  pointer-events: none; padding-inline: var(--gutter);
}
.stage-words h1 { display: contents; }
.word {
  font-size: clamp(44px, 6.1vw, 88px); line-height: 0.95; letter-spacing: -0.03em; font-weight: 400;
  will-change: transform, opacity;
}
.word-l { justify-self: end; text-align: right; }
.word-r { grid-column: 3; justify-self: start; }
.stage-foot {
  position: absolute; left: 0; right: 0; bottom: max(28px, 4vh); display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; padding-inline: var(--gutter);
}
.stage-next { color: var(--on-night-2); font-size: 15px; }
.stage-next strong { color: var(--on-night); font-weight: 400; }
.stage-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mouse { width: 22px; height: 34px; border: 1.5px solid #6d7070; border-radius: 12px; position: relative; margin-top: 4px; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--on-night-2); animation: mouse 2.2s var(--ease-out) 1s 3 both; }
@keyframes mouse { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* Unterseiten-Bühne: gleiches Wortpaar, kleiner */
.stage-sub { min-height: 560px; height: 72vh; height: 72svh; overflow: hidden; }
.stage-sub .stage-words { grid-template-columns: 1fr minmax(220px, 36vw) 1fr; padding-top: 40px; }
.stage-sub .word { font-size: clamp(40px, 5.2vw, 76px); }
.stage-sub .stage-foot { bottom: 36px; }
.stage-sub .stage-lead { color: var(--on-night-2); font-size: 17px; max-width: 46ch; }
.stage-legal { min-height: 380px; height: 46vh; }

/* ---------- Kapitel auf hell ---------- */
.section { padding-block: clamp(88px, 11vw, 150px); }
.section-tight { padding-block: clamp(64px, 8vw, 104px); }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(32px, 3.4vw, 45px); line-height: 1.08; letter-spacing: -0.02em; }
.head .sub { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.45; color: var(--muted); margin-top: 16px; max-width: 58ch; }
.center { margin-inline: auto; text-align: center; }
.center .sub { margin-inline: auto; }

.lead-block {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end;
}
.lead-block h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.025em; }
.lead-block p { color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.lead-block p + p { margin-top: 14px; }

/* ---------- Schlieren-Rahmen ---------- */
.streak {
  position: relative; border-radius: var(--r-frame); padding: clamp(14px, 3.4vw, 44px);
  background: var(--mist) url("../img/schlieren-a.jpg") center / cover no-repeat;
  isolation: isolate;
}
.streak-b { background-image: url("../img/schlieren-b.jpg"); }
.streak-c { background-image: url("../img/schlieren-c.jpg"); }
.window {
  background: var(--surface); border-radius: var(--r-win); box-shadow: var(--shadow-win);
  overflow: hidden; position: relative;
}
.window-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid #eceee8; font-size: 13px; color: var(--muted);
}
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #e1e3dc; display: block; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

/* Pillen-Tableiste */
.tabs { display: flex; justify-content: center; margin-bottom: 18px; }
.tablist {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: rgba(255,255,255,0.72);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); flex-wrap: wrap; justify-content: center;
}
.tab {
  font: inherit; font-size: 15px; border: 0; background: transparent; color: var(--ink-2);
  min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); cursor: pointer; transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--ink); background: rgba(6,13,37,0.05); }
.tab[aria-selected="true"] { background: #e6e8e3; color: var(--ink); }
.no-js .tabs { display: none; }
.panel[hidden] { display: none; }

/* ---------- Dunkelkarte ---------- */
.dk { padding: clamp(14px, 2.4vw, 26px); }
.dk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px; margin-bottom: 18px; }
.dk-top h3 { font-size: 22px; letter-spacing: -0.01em; }
.dk-top p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: block; }
.legend i.l0 { background: var(--d0); box-shadow: inset 0 0 0 1px #d8dad2; }
.lv0 { background: var(--d0); } .lv1 { background: var(--d1); } .lv2 { background: var(--d2); } .lv3 { background: var(--d3); } .lv4 { background: var(--d4); }

.dk-hours, .dk-row { display: grid; grid-template-columns: 172px minmax(0, 1fr) 76px; align-items: center; gap: 12px; }
.dk-hours { font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.dk-hours .ticks { display: grid; grid-template-columns: repeat(13, 1fr); }
.dk-hours .ticks span { transform: translateX(-50%); width: max-content; }
.dk-hours .ticks span:first-child { transform: none; }
.dk-rows { display: grid; gap: 3px; }
.dk-row {
  font: inherit; text-align: left; width: 100%; border: 0; background: transparent; color: inherit; cursor: pointer;
  padding: 4px 6px; margin: 0 -6px; width: calc(100% + 12px); border-radius: var(--r-inner); min-height: 44px;
  transition: background-color .15s;
}
.dk-row:hover { background: #f3f4f0; }
.dk-row[aria-pressed="true"] { background: #eef1f6; box-shadow: inset 0 0 0 1px #c9d5e4; }
.dk-date { display: flex; align-items: center; gap: 9px; font-size: 14px; white-space: nowrap; }
.dk-date svg { width: 16px; height: 16px; flex: none; }
.dk-date .fri { font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: var(--r-pill); background: var(--night); color: var(--on-night); }
.dk-cells { display: grid; grid-template-columns: repeat(26, 1fr); gap: 2px; height: 22px; }
.dk-cells i { display: block; border-radius: 3px; position: relative; }
.dk-cells.hour { display: none; grid-template-columns: repeat(13, 1fr); }
.dk-cells i.moon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #f7e7c8; }
.dk-cells i.lv0.moon::after, .dk-cells i.lv1.moon::after { background: #9a7a3f; }
.dk-dark { font-size: 14px; text-align: right; color: var(--ink-2); white-space: nowrap; }
.dk-note { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dk-fallback { padding: 24px; }

.dk-detail { border-top: 1px solid #eceee8; margin-top: 18px; padding-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 40px; }
.figure { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.figure .num { font-size: clamp(48px, 6vw, 76px); font-weight: 300; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.figure .delta { font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.figure-label { font-size: 14px; color: var(--muted); margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef0ea; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.verdict { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-inner); background: #f4f6f9; }
.verdict svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--streak-blue); }
.verdict strong { font-weight: 400; font-size: 18px; color: var(--ink); display: block; margin-bottom: 2px; }
.verdict p { font-size: 15px; color: var(--ink-2); }

/* Termine-Panel */
.termine { list-style: none; margin: 0; padding: 0; }
.termine li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid #eef0ea; }
.termine li:last-child { border-bottom: 0; }
.termine .when { font-size: 14px; color: var(--muted); }
.termine .when strong { display: block; font-size: 17px; color: var(--ink); font-weight: 400; }
.termine h3 { font-size: 17px; letter-spacing: 0; }
.termine p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.mini { display: grid; grid-template-columns: repeat(12, 8px); gap: 2px; }
.mini i { height: 14px; border-radius: 2px; display: block; }

/* ---------- Rollen-Karten ---------- */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.role { border-radius: var(--r-card); padding: 22px 22px 0; display: flex; flex-direction: column; min-height: 360px; }
.role.mist { background: var(--p-mist); } .role.lilac { background: var(--p-lilac); } .role.apricot { background: var(--p-apricot); } .role.sage { background: var(--p-sage); }
.role .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.role .ico svg { width: 26px; height: 26px; }
.role h3 { font-size: 22px; margin-top: 26px; letter-spacing: -0.015em; }
.role .one { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.role .txt { font-size: 15px; color: var(--ink-2); margin-top: 16px; line-height: 1.5; }
.role .when { font-size: 13px; color: var(--ink-2); margin-top: auto; padding-top: 18px; }
.role-foot { margin-top: 14px; border-top: 1px solid rgba(6,13,37,0.12); }
.role-foot a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; text-decoration: none; font-size: 15px; }
.role-foot a:hover span:first-child { text-decoration: underline; }
.role-foot svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.role-foot a:hover svg { transform: translate(2px, -2px); }

/* ---------- Wechsel-Abschnitte ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(88px, 10vw, 140px); }
.feature.flip > :first-child { order: 2; }
.feature h2, .feature h3.h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.02em; }
.feature .sub { color: var(--muted); font-size: 18px; margin-top: 14px; }
.feature .body { color: var(--ink-2); margin-top: 22px; max-width: 46ch; }
.feature .pill { margin-top: 28px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--streak-blue); }

/* Instrumentenfenster */
.spec { padding: 22px; }
.spec-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.spec-head h4 { font-size: 18px; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: var(--r-pill); background: #eef1f6; color: #33456b; white-space: nowrap; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.spec-grid div { background: #f6f7f4; border-radius: var(--r-inner); padding: 14px; }
.spec-grid dt { font-size: 12px; color: var(--muted); }
.spec-grid dd { margin: 6px 0 0; font-size: 22px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.spec-grid dd small { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.spec-drawing { margin-top: 14px; border-radius: var(--r-inner); background: #f6f7f4; padding: 10px; }
.spec-drawing svg { width: 100%; height: auto; }

/* Vortragsplan */
.plan { padding: 8px 22px 16px; }
.plan li { list-style: none; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #eef0ea; }
.plan li:last-child { border-bottom: 0; }
.plan ol { margin: 0; padding: 0; }
.plan time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.plan strong { font-weight: 400; display: block; }
.plan span { font-size: 14px; color: var(--muted); }

/* ---------- Preise ---------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price { background: var(--field); border-radius: var(--r-card); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.price h3 { font-size: 24px; letter-spacing: -0.015em; }
.price .one { color: var(--muted); margin-top: 6px; }
.price .amount { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; }
.price .amount b { font-weight: 300; font-size: clamp(52px, 5vw, 68px); line-height: 1; letter-spacing: -0.035em; }
.price .amount span { color: var(--muted); }
.price ul { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.price li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair-strong); font-size: 15px; }
.price li span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.price .pill { margin-top: 30px; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--hair-strong); }
.faq details { border-bottom: 1px solid var(--hair-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 68px; padding: 14px 0; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); color: var(--ink-2); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 68ch; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Schluss-Bühne ---------- */
.closer { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.closer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.closer .wrap { position: relative; padding-block: clamp(96px, 12vw, 160px); display: grid; justify-items: center; text-align: center; gap: 26px; }
.closer h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; }
.closer p { color: var(--on-night-2); max-width: 46ch; font-size: 18px; }

/* ---------- Formulare (Demo) ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #f6f7f4; border: 1px solid #dcded7; border-radius: 10px;
  min-height: 48px; padding: 10px 14px; width: 100%; caret-color: var(--streak-blue);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--streak-blue); outline-offset: 1px; background: #fff; }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form .hint { font-size: 14px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #edf6ef; color: var(--signal-ink); font-size: 15px; }
.form-msg[hidden] { display: none; }

/* ---------- Rechner (Instrumente) ---------- */
.calc { padding: clamp(18px, 2.6vw, 28px); }
.calc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.seg legend { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: #f1f2ee; font-size: 14px; cursor: pointer; transition: background-color .2s; }
.seg input:checked + span { background: var(--night); color: var(--on-night); }
.seg input:focus-visible + span { outline: 2px solid var(--streak-blue); outline-offset: 2px; }
.calc-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: center; }
.calc-view { aspect-ratio: 1; border-radius: 50%; background: var(--night); position: relative; overflow: hidden; max-width: 260px; width: 100%; justify-self: center; }
.calc-view canvas { width: 100%; height: 100%; }
.calc-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Ablauf ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.timeline li { border-top: 1px solid var(--hair-strong); padding-top: 18px; }
.timeline time { font-size: 32px; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 18px; margin-top: 10px; }
.timeline p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 720px; }
.legal h2 { font-size: 26px; margin-top: 48px; letter-spacing: -0.015em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); margin-top: 12px; }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--p-apricot); margin-bottom: 40px; font-size: 15px; color: #4a3a26; }
.demo-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--hair-strong); padding-block: 56px 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-size: 14px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.foot-grid li a:hover { text-decoration: underline; }
.foot-grid address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand svg { width: 34px; height: 34px; flex: none; color: var(--night); }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* ---------- Auftritt ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsiv ---------- */
.only-narrow { display: none; }
@media (max-width: 1100px) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role { min-height: 320px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 16px; right: 16px;
    background: #232525; border-radius: 16px; padding: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  }
  .nav.open a:not(.pill) { min-height: 52px; font-size: 17px; }
  .nav.open .pill { margin-top: 6px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
    background: #2d2f2f; color: var(--on-night); border: 0; font: inherit; font-size: 15px; cursor: pointer;
  }
  .menu-toggle svg { width: 16px; height: 16px; }
  .no-js .nav { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .no-js .menu-toggle { display: none; }
  .lead-block, .feature, .dk-detail { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .stage-words { inset: 124px 0 auto 0; display: flex; flex-direction: column; gap: 280px; }
  .stage-words .word { font-size: clamp(46px, 13vw, 64px); }
  .word-l { align-self: flex-start; text-align: left; }
  .word-r { align-self: flex-end; }
  .stage-sub .stage-words { gap: 176px; padding-top: 0; }
  .stage-legal { height: 520px; }
  .stage-sub.stage-legal .stage-words { gap: 110px; }
  .stage-foot { bottom: 22px; gap: 14px; }
  .stage-next { font-size: 14px; }
  .dk-hours, .dk-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .dk-row { padding: 8px 8px; margin: 0 -8px; width: calc(100% + 16px); }
  .dk-row .dk-cells { grid-column: 1 / -1; grid-row: 2; }
  .dk-cells.half { display: none; }
  .dk-cells.hour { display: grid; gap: 3px; height: 22px; }
  .dk-hours > span:first-child, .dk-hours > span:last-child { display: none; }
  .dk-hours .ticks { grid-column: 1 / -1; }
  .dk-hours .ticks span:nth-child(odd) { visibility: visible; }
  .dk-hours .ticks span:nth-child(even) { visibility: hidden; }
  .dk-rows { gap: 2px; }
  .tab { padding: 0 14px; font-size: 14px; }
  .tablist { flex-wrap: nowrap; }
  .window-bar > span:nth-child(2) { display: none; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
  .dk-date .fri { display: inline-block; }
  .dk-dark { font-size: 13px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role { min-height: 0; }
  .termine li { grid-template-columns: minmax(0, 1fr) auto; }
  .termine .mini { grid-column: 1 / -1; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form, .calc-row { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 17px; }
  .faq .answer { padding-right: 0; }
  .brand small { display: none; }
}
.fri-dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--night); flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .stage-home { height: 100vh; height: 100svh; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .mouse::after { animation: none; }
}
.no-js .dk-hours, .no-js [data-darkmap] .legend, .no-js .window-bar .status { display: none; }
.nowrap { white-space: nowrap; }
