/* Erzeugt von scripts/build-tokens.js aus tokens.json. Nicht von Hand ändern. */

:root {
  --font-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-full: 999px;
  --container: 1200px;
  --measure: 68ch;
  --header-height: 72px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --blue-50: #eaf4fb;
  --blue-100: #d3e8f6;
  --blue-200: #aed6f1;
  --blue-300: #7fbde6;
  --blue-400: #4ea3da;
  --blue-500: #248bcb;
  --blue-600: #1b6fa6;
  --blue-700: #175a87;
  --blue-800: #134768;
  --blue-900: #0f3a57;
  --blue-950: #0a2639;
  --anthrazit-950: #121719;
  --anthrazit-900: #1d2427;
  --anthrazit-850: #242c30;
  --anthrazit-800: #293133;
  --anthrazit-700: #3b4549;
  --grau-600: #556169;
  --grau-400: #7d8a92;
  --grau-200: #d5dee4;
  --grau-100: #f3f6f8;
  --weiss: #ffffff;
  color-scheme: light;
  --surface: #ffffff;
  --surface-sunken: #f3f6f8;
  --surface-raised: #ffffff;
  --surface-tint: #eaf4fb;
  --surface-deep: #0f3a57;
  --line: #d5dee4;
  --line-strong: #7d8a92;
  --ink: #1d2427;
  --ink-muted: #556169;
  --ink-on-deep: #ffffff;
  --ink-on-deep-muted: #aed6f1;
  --accent: #1b6fa6;
  --accent-hover: #175a87;
  --brand: #248bcb;
  --action: #293133;
  --action-hover: #3b4549;
  --on-action: #ffffff;
  --focus: #1b6fa6;
  --danger: #b3261e;
  --danger-soft: #fdecea;
  --warning: #8a5300;
  --warning-soft: #fdf3e1;
  --shadow-sm: 0 1px 2px rgba(15, 58, 87, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 58, 87, 0.12);
}

/* Systemeinstellung, solange der Nutzer nicht ausdrücklich Hell gewählt hat */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface: #1d2427;
    --surface-sunken: #121719;
    --surface-raised: #242c30;
    --surface-tint: #183246;
    --surface-deep: #0a2639;
    --line: #3b4549;
    --line-strong: #7c8c95;
    --ink: #e6ecef;
    --ink-muted: #9aa8b0;
    --ink-on-deep: #e6ecef;
    --ink-on-deep-muted: #aed6f1;
    --accent: #6bb8e6;
    --accent-hover: #9ccff0;
    --brand: #248bcb;
    --action: #e6ecef;
    --action-hover: #ffffff;
    --on-action: #121719;
    --focus: #6bb8e6;
    --danger: #f2877f;
    --danger-soft: #3a1614;
    --warning: #e9b060;
    --warning-soft: #33240c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #1d2427;
  --surface-sunken: #121719;
  --surface-raised: #242c30;
  --surface-tint: #183246;
  --surface-deep: #0a2639;
  --line: #3b4549;
  --line-strong: #7c8c95;
  --ink: #e6ecef;
  --ink-muted: #9aa8b0;
  --ink-on-deep: #e6ecef;
  --ink-on-deep-muted: #aed6f1;
  --accent: #6bb8e6;
  --accent-hover: #9ccff0;
  --brand: #248bcb;
  --action: #e6ecef;
  --action-hover: #ffffff;
  --on-action: #121719;
  --focus: #6bb8e6;
  --danger: #f2877f;
  --danger-soft: #3a1614;
  --warning: #e9b060;
  --warning-soft: #33240c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
}
