/*
 * Zonator – Design-Tokens des Studios.
 * Quelle: Design-System „Zonator“ (siehe docs/branding.md). Werte nur dort ändern und hierher übernehmen;
 * im übrigen CSS und in TSX keine Hex-Werte, sondern diese Variablen verwenden.
 */
@font-face { font-family: "Schibsted Grotesk"; src: url("./fonts/SchibstedGrotesk-Variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("./fonts/IBMPlexSans-Variable.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("./fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root, [data-theme="light"] {
  --surface-0: #f3f4f2;
  --surface-1: #ffffff;
  --surface-2: #eceeeb;
  --stage: #e4e5e3;
  --ink: #1b2224;
  --ink-muted: #566060;
  --line: #dcdfdb;
  --line-strong: #858d8a;
  --accent: #0d5c58;
  --accent-hover: #09484a;
  --accent-soft: #dfeeeb;
  --on-accent: #ffffff;
  --kreide: #e8bd3f;
  --focus: #0d5c58;
  --success: #1d6a3c;
  --success-soft: #e1f0e5;
  --warning: #865400;
  --warning-soft: #faecd0;
  --danger: #b0261d;
  --danger-soft: #fbe2de;
  --info: #2a55a0;
  --info-soft: #e3eaf7;
  --scrim: rgba(17, 21, 20, 0.48);
  --shadow-raised: 0 1px 2px rgba(27, 34, 36, 0.06), 0 1px 1px rgba(27, 34, 36, 0.04);
  --shadow-overlay: 0 12px 32px rgba(27, 34, 36, 0.18), 0 2px 6px rgba(27, 34, 36, 0.08);
}

/* Dunkelmodus: vorbereitet, im Studio noch nicht aktiviert */
[data-theme="dark"] {
  --surface-0: #111514;
  --surface-1: #191e1d;
  --surface-2: #222827;
  --stage: #2a2b2b;
  --ink: #e6eae8;
  --ink-muted: #a1aaa7;
  --line: #2e3634;
  --line-strong: #6f7975;
  --accent: #62bcb1;
  --accent-hover: #7fcbc1;
  --accent-soft: #16312f;
  --on-accent: #08201e;
  --kreide: #e8bd3f;
  --focus: #e8bd3f;
  --success: #7fcf98;
  --success-soft: #173222;
  --warning: #efbb5c;
  --warning-soft: #3a2b10;
  --danger: #ff9b8f;
  --danger-soft: #3d1c18;
  --info: #9cbcf2;
  --info-soft: #1b2840;
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-overlay: 0 12px 32px rgba(0, 0, 0, 0.55);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-full: 999px;
  --control-height: 36px;
  --control-height-sm: 28px;
  /* Mindestgröße von Bedienflächen auf Touchscreens (WCAG 2.5.5, Apple HIG) – Handy und Tablet, #111 */
  --touch-target: 44px;
  --icon-size: 16px;
  --sidebar-width: 320px;
  --font-display: "Schibsted Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
