/*
 * mastermind.css – öffentliches Design «The Mastermind» (dunkel).
 *
 * Umsetzung der Design-Vorgabe (TACTFORCE-Tokens, Amber-Akzent, Oswald für
 * Navigation/Buttons, Mono für Labels). Nur für das öffentliche Layout;
 * der Administrationsbereich bleibt weiss (base.css + theme.css).
 * Keine externen Ressourcen: Schriften liegen lokal unter assets/fonts/.
 */

/* ---------- Schriften (Oswald, SIL Open Font License) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap;
    src: url("fonts/oswald-500-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap;
    src: url("fonts/oswald-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap;
    src: url("fonts/oswald-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap;
    src: url("fonts/oswald-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("fonts/oswald-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("fonts/oswald-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
    color-scheme: dark;
    --bg: #211e1a; --bg-2: #292520; --bg-3: #332e28;
    --ink: #ECE8E1; --ink-2: #ABA69B; --ink-3: #7A756A;
    --line: #3a352e; --line-2: #4c463c;
    --amber: #F2751A; --amber-f: #FF8A3A; --ember: #E8571F;
    --good: #5FCB8E; --crit: #EB5B44;
    --amber-ink: #160d05;
    --grid: rgba(236,230,222,.05);

    --surface: var(--bg); --surface-2: var(--bg-2); --surface-3: var(--bg-3);
    --text: var(--ink); --text-muted: var(--ink-2); --text-faint: var(--ink-3);
    --border: var(--line); --border-strong: var(--line-2);
    --accent: var(--amber); --accent-fill: var(--amber-f); --accent-ink: var(--amber-ink);
    --danger: var(--crit); --success: var(--good);

    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --font-display: "Oswald", system-ui, sans-serif;

    --radius-sm: 2px; --radius-md: 3px;
    --dur-fast: .12s; --dur-med: .18s;
    --ease: ease;
    --accent-tint: rgba(242,117,26,.13);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) {
    .pip--blink { animation: none !important; }
    * { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.page {
    margin: 0;
    min-height: 100vh;
    background: repeating-conic-gradient(var(--grid) 0% 25%, transparent 0% 50%) 0 0 / 220px 220px, var(--surface);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
}
body.dialog-open { overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-fill); }
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
b { font-weight: 700; }
.accent { color: var(--accent); }
.accent-fill { color: var(--accent-fill); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Diamant-Pip (45°-gedrehtes Quadrat) */
.pip { display: inline-block; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }
.pip--blink { animation: blink 1.6s steps(1, end) infinite; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .09em; text-transform: uppercase;
    padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
    transition: transform var(--dur-fast) var(--ease), background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
    line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--accent-fill); color: var(--accent-ink); }
.btn--amber:hover { background: color-mix(in srgb, var(--accent-fill) 88%, #fff); color: var(--accent-ink); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-fill); }
.btn--crit { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn--crit:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.btn--lg { padding: 15px 26px; font-size: 13.5px; min-width: 180px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); }
.site-header__inner { max-width: 1260px; margin: 0 auto; padding: 0 clamp(28px, 4vw, 56px); display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--text); font-weight: 800; letter-spacing: .14em; font-size: 19px; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 27px; height: 37px; display: block; flex: none; }
.brand__shield { fill: var(--accent-tint); stroke: var(--accent-fill); stroke-width: 3.2; stroke-linejoin: miter; }
.brand__glyph { fill: var(--accent-fill); }
.brand__word { display: inline-flex; align-items: center; line-height: 1; }
.brand__word b { color: var(--accent); font-weight: inherit; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav__link { font-family: var(--font-display); font-size: 14.5px; letter-spacing: .09em; color: var(--text-muted); font-weight: 600; text-decoration: none; }
.site-nav__link:hover { color: var(--accent-fill); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 66px); display: grid; grid-template-columns: 78px 1fr; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .4; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; }
.hero__checker { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-conic-gradient(rgba(18,15,11,.5) 0% 25%, transparent 0% 50%) 0 -66px / 220px 220px; }
.hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--surface) 86%, transparent) 0%, color-mix(in srgb, var(--surface) 42%, transparent) 40%, transparent 78%, transparent 100%); }
.hero__rail { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--text-faint); }
.hero__status { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__status-text { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(28px, 6vw, 96px); }
.hero__eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 34px; }
.hero__title { font-size: clamp(44px, 8.4vw, 118px); line-height: .86; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.hero__sub { font-size: clamp(19px, 2.2vw, 25px); color: var(--text-muted); max-width: 44ch; margin: 40px 0 0; text-wrap: pretty; }
.hero__sub b { color: var(--text); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- How it worx ---------- */
.brain { }
.brain__inner { max-width: 1180px; margin: 0 auto; padding: 130px clamp(28px, 6vw, 96px); }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--accent-fill); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border)); padding: 4px 10px; border-radius: var(--radius-sm); }
.brain__title { font-size: clamp(28px, 4.6vw, 52px); margin: 20px 0 72px; font-weight: 800; letter-spacing: -.025em; max-width: 18ch; line-height: 1.02; }
.moves { display: flex; flex-direction: column; }
.move { display: grid; grid-template-columns: clamp(90px, 12vw, 170px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: baseline; padding: 44px 0; }
.move--last { }
.move__num { font-family: var(--font-mono); font-weight: 800; font-size: clamp(48px, 8vw, 110px); line-height: .8; color: var(--accent); letter-spacing: -.04em; }
.move__title { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; font-weight: 700; }
.move__text { color: var(--text-muted); font-size: 17.5px; margin: 0; max-width: 62ch; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; }
.final__glow { position: absolute; inset: 0; background: radial-gradient(90% 130% at 50% 120%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%); pointer-events: none; }
.final__inner { position: relative; max-width: 900px; margin: 0 auto; padding: 140px 28px; text-align: center; }
.final__title { font-size: clamp(38px, 7vw, 88px); margin: 0 0 22px; font-weight: 800; letter-spacing: -.035em; line-height: .92; }
.final__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer + Impressum ---------- */
.site-footer { padding: 34px 28px; color: var(--text-faint); font-size: 12.5px; text-align: center; font-family: var(--font-mono); letter-spacing: .04em; }
.site-footer b { color: var(--text); }
.site-footer__toggle { background: none; border: 0; padding: 0; color: var(--text-muted); font: inherit; letter-spacing: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__toggle:hover { color: var(--accent); }
.impressum { max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; background: var(--surface); transition: max-height .55s cubic-bezier(.2,.8,.2,1), opacity .35s, visibility .55s; }
.impressum--open { max-height: 1600px; opacity: 1; visibility: visible; }
.impressum__inner { max-width: 720px; margin: 0 auto; padding: 44px clamp(22px, 4vw, 38px) 56px; display: grid; grid-template-columns: clamp(90px, 12vw, 170px) 1fr; gap: clamp(24px, 5vw, 72px); row-gap: 28px; align-items: baseline; font-size: 15px; color: var(--text-muted); }
.impressum__head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.impressum__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.impressum__close { background: none; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 14px; color: var(--text-muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.impressum__close:hover { border-color: var(--accent); color: var(--accent); }
.impressum__key { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.impressum__val { line-height: 1.6; }
.impressum__val--strong { color: var(--text); }
.impressum__val--pretty { text-wrap: pretty; }
.impressum__link { display: inline-block; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }

/* ---------- Dialog (Buchung, Verwaltung, Fehler) ---------- */
.dialog { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); background: rgba(12,10,8,.86); }
.dialog[hidden] { display: none; }
.dialog__panel { position: relative; width: min(720px, 100%); max-height: 88vh; overflow: auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; box-shadow: 0 40px 120px rgba(0,0,0,.6); outline: none; overscroll-behavior: contain; }
.dialog__head { display: flex; align-items: center; gap: 16px; padding: 22px clamp(22px, 4vw, 38px); border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface-2); z-index: 2; }
.dialog__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.dialog__close { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); color: var(--text-muted); width: 34px; height: 34px; border-radius: var(--radius-md); cursor: pointer; font-size: 17px; line-height: 1; text-decoration: none; }
.dialog__close:hover { border-color: var(--accent); color: var(--accent-fill); }
.dialog__body { padding: clamp(26px, 4vw, 38px); }
.dialog__actions { display: flex; align-items: center; gap: 12px; padding: 20px clamp(22px, 4vw, 38px); border-top: 1px solid var(--border); flex-wrap: wrap; }
.dialog__actions form { display: contents; }
.dialog__spacer { margin-left: auto; }
.dialog__title { font-size: 26px; letter-spacing: -.02em; font-weight: 700; margin: 0 0 8px; }
.dialog__sub { margin: 0; color: var(--text-muted); font-size: 16px; }
.dialog__status { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.dialog__err { margin-top: 20px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--danger); }
.dialog__err[hidden] { display: none; }
.stack > .dialog__err, .dialog__body > .dialog__err:first-child { margin-top: 0; }
.dialog__ok { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--success); }

/* Schritt-Indikator */
.rail { display: flex; gap: 14px; padding: 0 clamp(22px, 4vw, 38px); margin: 0; list-style: none; }
.rail__item { flex: 1 1 0; display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 0; border-top: 2px solid var(--border); color: var(--text-faint); }
.rail__item b { color: var(--accent); font-weight: 700; }
.rail__item--done { border-top-color: var(--accent); color: var(--text-muted); }
.rail__item--active { border-top-color: var(--accent); color: var(--text); }

/* Abstände */
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--md { gap: 22px; }
.stack--lg { gap: 28px; }
.lbl { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.lbl--muted { color: var(--text-muted); margin-bottom: 6px; }
.hint { margin: 0 0 4px; color: var(--text-faint); font-size: 14px; }
.hint--mt { margin: 10px 0 0; }

/* Formularfelder */
.input, .select {
    width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--border); color: var(--text);
    padding: 13px 14px; font-family: var(--font-sans); font-size: 16px; border-radius: var(--radius-md); outline: none;
    transition: border-color var(--dur-med) var(--ease);
}
.input::placeholder { color: var(--text-faint); }
.input:focus, .select:focus { border-color: var(--accent); }
.input--area { min-height: 104px; resize: vertical; line-height: 1.55; }
.select {
    appearance: none; -webkit-appearance: none; font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; cursor: pointer; padding-right: 46px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9' fill='none'><path d='M1 1.5 L7 7 L13 1.5' stroke='%23F2751A' stroke-width='1.8' stroke-linecap='square'/></svg>");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 13px 9px;
}
.select:disabled { cursor: not-allowed; opacity: .7; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--section { padding-top: 16px; border-top: 1px solid var(--border); }
.field--err .input, .field--err .select, .field--err .dropzone { border-color: var(--danger); }
.field__err { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--danger); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-zip { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Datei-Upload */
.dropzone { display: flex; align-items: center; gap: 16px; border: 1px dashed var(--border); background: var(--surface); border-radius: var(--radius-md); padding: 18px 20px; cursor: pointer; transition: border-color var(--dur-med) var(--ease); }
.dropzone:hover, .dropzone:focus-within { border-color: var(--accent); }
.dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone__label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.dropzone__summary { margin-left: auto; color: var(--text-faint); font-size: 14px; text-align: right; }
.filelist { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.filelist[hidden] { display: none; }
.filelist__row { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.filelist__kind { color: var(--accent-fill); flex: none; }
.filelist__name { color: var(--text); overflow-wrap: anywhere; }
.filelist__size { margin-left: auto; color: var(--text-faint); flex: none; }
.filelist__size--err { color: var(--danger); }

/* Einwilligung */
.consent { display: flex; align-items: flex-start; gap: 14px; color: var(--text-muted); font-size: 15px; cursor: pointer; }
.consent a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.checkbox { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); cursor: pointer; }

/* Kalender */
.cal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cal__head .lbl { margin-bottom: 0; }
.cal__nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cal__navbtn { width: 32px; height: 32px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); border-radius: var(--radius-md); cursor: pointer; font-size: 16px; line-height: 1; font-family: var(--font-mono); }
.cal__navbtn:hover { border-color: var(--accent); color: var(--accent-fill); }
.cal__navbtn:disabled, .cal__navbtn--off { color: var(--text-faint); cursor: not-allowed; opacity: .35; border-color: var(--border); }
.cal__month { min-width: 132px; text-align: center; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--text); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__grid--weekdays { margin-bottom: 8px; }
.cal__weekday { text-align: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--text-faint); }
.cal__day {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 0;
    border: 1px solid transparent; background: transparent; color: var(--text-faint);
    font-family: var(--font-mono); font-size: 14px; border-radius: var(--radius-md); cursor: not-allowed; opacity: .4;
    transition: border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.cal__day--blank { border-color: transparent; background: transparent; pointer-events: none; }
.cal__day--free { border-color: var(--border); background: var(--surface); color: var(--text); cursor: pointer; opacity: 1; }
.cal__day--free:hover { border-color: var(--accent); color: var(--accent-fill); }
.cal__day--sel, .cal__day--free.cal__day--sel { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-fill); }
.times-wrap { margin-top: 22px; }
.times-wrap[hidden] { display: none; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip {
    padding: 12px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; cursor: pointer; border-radius: var(--radius-md); text-align: left; line-height: 1.4;
    transition: border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent-fill); }
.chip--sel { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-fill); }
.chip--radio { display: flex; align-items: center; gap: 10px; }
.chip--radio input { accent-color: var(--accent); margin: 0; }
.chip--radio:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-fill); }
.dayset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dayset legend { padding: 0; }

/* Zusammenfassung */
.summary { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.summary__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; }
.summary__key { color: var(--text-faint); }
.summary__val { overflow-wrap: anywhere; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent-ink); background: var(--accent-fill); padding: 4px 10px; border-radius: var(--radius-sm); }
.tag--crit { background: var(--danger); color: #fff; }
.tag--pending { background: transparent; color: var(--accent-fill); border: 1px solid var(--accent); }
.notice { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); padding: 18px 20px; }
.notice .pip { margin-top: 7px; }
.notice p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Bestätigung / Fehlerseite */
.sent { display: flex; flex-direction: column; gap: 20px; text-align: center; padding: 14px 0 6px; align-items: center; }
.sent__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.sent__title { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; line-height: 1; font-weight: 800; }
.sent__text { margin: 0 auto; max-width: 46ch; color: var(--text-muted); font-size: 16.5px; }
.sent__text--faint { color: var(--text-faint); font-size: 14px; }
.sent__slot { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 18px; width: 100%; }
.sent__ics { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 18px; transition: border-color var(--dur-med) var(--ease), color var(--dur-med) var(--ease); }
.sent__ics:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Normale Seite (Datenschutz, Impressum) ---------- */
.page-main { max-width: 760px; margin: 0 auto; padding: 72px clamp(22px, 4vw, 38px) 96px; min-height: 50vh; }
.legal__body { margin-top: 28px; color: var(--text-muted); font-size: 16px; }
.legal__body h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; color: var(--text); margin: 0 0 24px; font-weight: 800; }
.legal__body h3 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin: 32px 0 8px; font-weight: 700; }
.legal__body p { margin: 0 0 14px; text-wrap: pretty; }
.legal__body strong { color: var(--text); }
.legal--imprint .impressum__inner { padding-top: 24px; border-top: 0; }
.legal__back { margin: 40px 0 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 860px) {
    .hero { grid-template-columns: 56px 1fr; }
    .brain__inner { padding-top: 90px; padding-bottom: 90px; }
    .final__inner { padding: 100px 24px; }
}
@media (max-width: 640px) {
    body.page { font-size: 16px; }
    .site-header__inner { gap: 12px; padding: 0 18px; }
    .brand { gap: 12px; font-size: 16px; }
    .site-nav { gap: 14px; }
    .site-nav__link { display: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero__rail { display: none; }
    .hero__content { padding: 72px 22px 64px; }
    .hero__eyebrow { font-size: 11px; margin-bottom: 26px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .move { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
    .move__num { font-size: 48px; }
    .impressum__inner { grid-template-columns: 1fr; row-gap: 10px; }
    .impressum__key { margin-top: 18px; }
    .dialog { padding: 0; align-items: stretch; }
    .dialog__panel { max-height: 100vh; max-height: 100dvh; border-radius: 0; border: 0; width: 100%; }
    .rail { gap: 8px; }
    .rail__item span { display: none; }
    .rail__item--active span { display: inline; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-zip { grid-template-columns: 96px 1fr; }
    .times { grid-template-columns: repeat(3, 1fr); }
    .summary__row { grid-template-columns: 1fr; gap: 4px; }
    .dialog__actions .btn { flex: 1 1 auto; }
    .consent a { white-space: normal; }
}
