/* ──────────────────────────────────────────────────────────────
   B21-Kit · tokens.css · 1.1.0 · 2026-11-21 · 6194bff
   ERZEUGT von kit/build.mjs aus src/styles/tokens.css (Bitcoin Offer) – nicht von Hand ändern.
   Jedes Token mit Präfix --b21- (Casino-:root, SpaceOrbit und Supremacy21 bleiben unberührt).
   Am :root stehen nur Variablen; Schema-Wechsel nur mit Klassen:
     <html class="b21-auto">  folgt prefers-color-scheme (außer data-theme="light"; data-theme="dark" erzwingt dunkel)
     .b21-dark               festes Dunkelschema für ein Element und seinen Inhalt
     .b21-night              Nachtbühne (dunkel in beiden Schemata), setzt Fläche und Schrift
   ────────────────────────────────────────────────────────────── */

:root {
  --b21-bg: #ffffff;
  --b21-bg-elev: #ffffff;
  --b21-bg-sunk: #f1f0ec;
  --b21-bg-tint: #f7f6f3;
  --b21-ink: #0f1115;
  --b21-ink-2: #3d434d;
  --b21-ink-3: #666d78;
  --b21-line: #e8e6e1;
  --b21-line-strong: #d3d0c9;
  --b21-accent: #f7931a;
  --b21-accent-ink: #b54708;
  --b21-accent-soft: #fff4e8;
  --b21-accent-line: #fbd3a5;
  --b21-gold: #a3823f;
  --b21-gold-ink: #7a5c1e;
  --b21-gold-line: #e3d3a8;
  --b21-gold-soft: #f6f0e2;
  --b21-metal-hi: #fbf6ea;
  --b21-metal-1: #e6d2ac;
  --b21-metal-2: #c9ae7e;
  --b21-metal-3: #9a7b4f;
  --b21-metal-deep: #5e4a33;
  --b21-night: #0a0f1a;
  --b21-night-2: #111827;
  --b21-night-3: #1a2233;
  --b21-night-ink: #eef1f6;
  --b21-night-ink-2: #a9b3c3;
  --b21-night-ink-3: #7d889b;
  --b21-night-line: rgb(255 255 255 / 0.09);
  --b21-dawn: #ff9f3d;
  --b21-ok: #0f7a55;
  --b21-ok-soft: #eaf6f0;
  --b21-ok-line: #b7ddca;
  --b21-info: #2455c3;
  --b21-info-soft: #edf2fd;
  --b21-info-line: #c3d3f5;
  --b21-warn: #8a5300;
  --b21-warn-soft: #fff6e5;
  --b21-warn-line: #f1d49b;
  --b21-risk: #b42318;
  --b21-risk-soft: #fdeceb;
  --b21-risk-line: #f3c1bc;
  --b21-font-display: 'Schibsted Grotesk Variable', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --b21-font-sans: 'Schibsted Grotesk Variable', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --b21-font-serif: 'Source Serif 4 Variable', 'Iowan Old Style', Georgia, serif;
  --b21-font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --b21-fw-h1: 520;
  --b21-fw-h2: 560;
  --b21-fw-h3: 580;
  --b21-fw-ui: 520;
  --b21-fw-figure: 360;
  --b21-fs-2xs: 0.72rem;
  --b21-fs-xs: 0.8125rem;
  --b21-fs-sm: 0.9375rem;
  --b21-fs-base: 1.0625rem;
  --b21-fs-md: 1.1875rem;
  --b21-fs-lg: 1.375rem;
  --b21-fs-xl: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  --b21-fs-2xl: clamp(1.65rem, 1.3rem + 1.4vw, 2.35rem);
  --b21-fs-3xl: clamp(2.05rem, 1.5rem + 2.3vw, 3.3rem);
  --b21-fs-4xl: clamp(2.6rem, 1.7rem + 3.8vw, 4.6rem);
  --b21-lh-tight: 1.1;
  --b21-lh-snug: 1.25;
  --b21-lh-body: 1.7;
  --b21-lh-read: 1.78;
  --b21-space-1: 0.25rem;
  --b21-space-2: 0.5rem;
  --b21-space-3: 0.75rem;
  --b21-space-4: 1rem;
  --b21-space-5: 1.5rem;
  --b21-space-6: 2rem;
  --b21-space-7: 3rem;
  --b21-space-8: 5rem;
  --b21-space-9: clamp(6rem, 3rem + 9vw, 11.5rem);
  --b21-space-10: clamp(7.5rem, 4rem + 11vw, 14rem);
  --b21-radius-xs: 4px;
  --b21-radius-sm: 8px;
  --b21-radius-btn: var(--b21-radius-sm);
  --b21-radius: 12px;
  --b21-radius-lg: 16px;
  --b21-radius-pill: 999px;
  --b21-shadow-sm: 0 1px 2px rgb(15 17 21 / 0.06);
  --b21-shadow: 0 1px 2px rgb(15 17 21 / 0.04), 0 8px 24px -12px rgb(15 17 21 / 0.14);
  --b21-shadow-lg: 0 2px 6px rgb(15 17 21 / 0.05), 0 30px 60px -24px rgb(15 17 21 / 0.28);
  --b21-container: 1240px;
  --b21-prose: 700px;
  --b21-gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --b21-header-h: 68px;
  --b21-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --b21-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --b21-dur: 0.7s;
  --b21-mob-h1-stage: clamp(2.0625rem, 0.9rem + 5.6vw, 2.35rem);
  --b21-mob-h1-overview: clamp(2rem, 1.45rem + 2.8vw, 2.25rem);
  --b21-mob-h1-detail: clamp(1.875rem, 1.4rem + 2.4vw, 2.0625rem);
  --b21-mob-fs-text: 1rem;
  --b21-mob-fs-meta: 0.875rem;
  --b21-mob-fs-label: 0.75rem;
  --b21-mob-ls-label: 0.08em;
  --b21-mob-lh-text: 1.6;
  --b21-mob-section: 4.5rem;
  --b21-mob-section-sm: 3.5rem;
  --b21-mob-head-gap: 2rem;
  --b21-mob-stack: 1rem;
  --b21-mob-row-py: 1rem;
  --b21-mob-card-pad: 1.25rem;
  --b21-mob-hero-pt: 1.5rem;
  --b21-mob-crumb-gap: 0.75rem;
  --b21-mob-kicker-gap: 0.875rem;
  --b21-mob-lead-gap: 1rem;
  --b21-mob-cta-gap: 1.5rem;
  --b21-mob-hero-pb: 2.5rem;
  --b21-mob-tap: 44px;
  --b21-mob-tap-lg: 48px;
  --b21-mob-btn-lg: 52px;
  --b21-mob-input-fs: 1rem;
  --b21-mob-sheet-radius: 16px;
  --b21-mob-sheet-max: 85dvh;
  --b21-mob-grip: 36px;
  --b21-mob-scrim: rgb(15 17 21 / 0.32);
  --b21-mob-shadow-sheet: 0 -1px 0 var(--b21-line), 0 -16px 40px -20px rgb(15 17 21 / 0.28);
  --b21-mob-safe-b: max(1rem, env(safe-area-inset-bottom));
  --b21-mob-photo-max: 18.75rem;
  --b21-mob-strip-item: min(86%, 20rem);
  --b21-mob-strip-gap: 0.75rem;
  --b21-mob-fade: 1.5rem;
  --b21-mob-dur: 0.22s;
}

/* Handy (≤ 767 px): Größen und Abstände wie im Ratgeber (DESIGN.md §10.2) */
@media (max-width: 767px) {
  :root {
    --b21-fs-2xs: 0.75rem;
    --b21-fs-xs: 0.875rem;
    --b21-fs-sm: 1rem;
    --b21-fs-md: 1.125rem;
    --b21-fs-lg: 1.25rem;
    --b21-fs-2xl: clamp(1.5rem, 1.15rem + 1.8vw, 1.75rem);
    --b21-fs-3xl: var(--b21-mob-h1-detail);
    --b21-fs-4xl: var(--b21-mob-h1-overview);
    --b21-space-8: 3.5rem;
    --b21-space-9: 4.5rem;
    --b21-space-10: 5.5rem;
    --b21-header-h: 60px;
  }
}

/* Helles Schema der Seite (nur mit .b21-auto) */
:root.b21-auto {
  color-scheme: light;
}

/* Dunkles Schema des Systems (nur mit .b21-auto) */
@media (prefers-color-scheme: dark) {
  :root.b21-auto:not([data-theme='light']) {
    color-scheme: dark;
    --b21-bg: #0b0f17;
    --b21-bg-elev: #111723;
    --b21-bg-sunk: #070a10;
    --b21-bg-tint: #0e131d;
    --b21-ink: #eef1f6;
    --b21-ink-2: #b9c2d0;
    --b21-ink-3: #8b95a6;
    --b21-line: #1e2633;
    --b21-line-strong: #2c3647;
    --b21-accent-ink: #ffb366;
    --b21-accent-soft: #2a1a08;
    --b21-accent-line: #6b4415;
    --b21-gold: #c9ae7e;
    --b21-gold-ink: #d9c29a;
    --b21-gold-line: #4a3d24;
    --b21-gold-soft: #1d1810;
    --b21-ok: #7fd4ad;
    --b21-ok-soft: #0f2219;
    --b21-ok-line: #24503b;
    --b21-info: #9dbaf5;
    --b21-info-soft: #111c33;
    --b21-info-line: #2a3f6b;
    --b21-warn: #f3c56b;
    --b21-warn-soft: #251c0a;
    --b21-warn-line: #5a4415;
    --b21-risk: #f5a39b;
    --b21-risk-soft: #2a1311;
    --b21-risk-line: #5e2b26;
    --b21-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.5);
    --b21-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 30px -12px rgb(0 0 0 / 0.7);
    --b21-shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 30px 60px -24px rgb(0 0 0 / 0.85);
    --b21-mob-scrim: rgb(0 0 0 / 0.55);
    --b21-mob-shadow-sheet: 0 -1px 0 var(--b21-line), 0 -16px 40px -20px rgb(0 0 0 / 0.75);
  }
}

/* Festes Dunkelschema */
.b21-dark,
:root.b21-auto[data-theme='dark'] {
  color-scheme: dark;
  --b21-bg: #0b0f17;
  --b21-bg-elev: #111723;
  --b21-bg-sunk: #070a10;
  --b21-bg-tint: #0e131d;
  --b21-ink: #eef1f6;
  --b21-ink-2: #b9c2d0;
  --b21-ink-3: #8b95a6;
  --b21-line: #1e2633;
  --b21-line-strong: #2c3647;
  --b21-accent-ink: #ffb366;
  --b21-accent-soft: #2a1a08;
  --b21-accent-line: #6b4415;
  --b21-gold: #c9ae7e;
  --b21-gold-ink: #d9c29a;
  --b21-gold-line: #4a3d24;
  --b21-gold-soft: #1d1810;
  --b21-ok: #7fd4ad;
  --b21-ok-soft: #0f2219;
  --b21-ok-line: #24503b;
  --b21-info: #9dbaf5;
  --b21-info-soft: #111c33;
  --b21-info-line: #2a3f6b;
  --b21-warn: #f3c56b;
  --b21-warn-soft: #251c0a;
  --b21-warn-line: #5a4415;
  --b21-risk: #f5a39b;
  --b21-risk-soft: #2a1311;
  --b21-risk-line: #5e2b26;
  --b21-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.5);
  --b21-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 30px -12px rgb(0 0 0 / 0.7);
  --b21-shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 30px 60px -24px rgb(0 0 0 / 0.85);
  --b21-mob-scrim: rgb(0 0 0 / 0.55);
  --b21-mob-shadow-sheet: 0 -1px 0 var(--b21-line), 0 -16px 40px -20px rgb(0 0 0 / 0.75);
}

/* Nachtbühne – unabhängig vom Farbschema */
.b21-night {
  --b21-bg: var(--b21-night);
  --b21-bg-elev: var(--b21-night-2);
  --b21-bg-sunk: #070b13;
  --b21-bg-tint: var(--b21-night-2);
  --b21-ink: var(--b21-night-ink);
  --b21-ink-2: var(--b21-night-ink-2);
  --b21-ink-3: var(--b21-night-ink-3);
  --b21-line: var(--b21-night-line);
  --b21-line-strong: rgb(255 255 255 / 0.18);
  --b21-accent-ink: #ffb366;
  --b21-accent-soft: rgb(247 147 26 / 0.12);
  --b21-accent-line: rgb(247 147 26 / 0.35);
  --b21-gold: #c9ae7e;
  --b21-gold-ink: #d9c29a;
  --b21-gold-line: rgb(201 174 126 / 0.32);
  --b21-gold-soft: rgb(201 174 126 / 0.08);
  --b21-ok: #7fd4ad;
  --b21-ok-soft: rgb(127 212 173 / 0.12);
  --b21-ok-line: rgb(127 212 173 / 0.35);
  --b21-info: #9dbaf5;
  --b21-info-soft: rgb(157 186 245 / 0.12);
  --b21-info-line: rgb(157 186 245 / 0.35);
  --b21-warn: #f3c56b;
  --b21-warn-soft: rgb(243 197 107 / 0.12);
  --b21-warn-line: rgb(243 197 107 / 0.35);
  --b21-risk: #f5a39b;
  --b21-risk-soft: rgb(245 163 155 / 0.12);
  --b21-risk-line: rgb(245 163 155 / 0.35);
  background: var(--b21-night);
  color: var(--b21-night-ink);
  color-scheme: dark;
}
