/* Clipr – Design-Tokens
   Idee: Bahnsteig-Beschilderung trifft Abrisskarte. Tinten-Navy als Grundton, Signalgelb als einziger
   kräftiger Akzent, Typfarben für Bahn (Signalrot) und Veranstaltungen (Bühnen-Magenta). */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dmsans-var.woff") format("woff");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-ui: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Anton", "DM Sans", Impact, sans-serif;

  /* Typografische Skala (Quarte, 1.333) */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.333rem;
  --fs-xl: 1.777rem;
  --fs-2xl: 2.369rem;
  --fs-3xl: 3.157rem;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --nav-w: 232px;
  --content-w: 1080px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Hell */
  --bg: #EDF0F3;
  --surface: #FFFFFF;
  --surface-2: #F5F7F9;
  --ink: #15202C;
  --ink-2: #3B4856;
  --muted: #64717F;
  --line: #D6DCE2;
  --line-strong: #B9C2CC;
  --signal: #FFC531;      /* Akzent: Signalgelb */
  --signal-ink: #15202C;  /* Text auf Gelb */
  --signal-soft: #FFF3CC;
  --rail: #D7263D;
  --rail-soft: #FCE4E7;
  --event: #B0128F;
  --event-soft: #F9E1F3;
  --other: #4B6478;
  --other-soft: #E3EAF0;
  --ok: #17824A;
  --ok-soft: #DDF3E6;
  --warn: #A85F00;
  --warn-soft: #FFEFD6;
  --danger: #C21F32;
  --danger-soft: #FCE3E6;
  --shadow-1: 0 1px 0 rgba(21, 32, 44, .06);
  --shadow-2: 0 10px 30px -12px rgba(21, 32, 44, .28);
  --focus: 0 0 0 3px var(--signal), 0 0 0 5px var(--ink);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0E141B;
  --surface: #17202A;
  --surface-2: #1D2833;
  --ink: #E6ECF2;
  --ink-2: #C3CDD7;
  --muted: #8C99A6;
  --line: #29353F;
  --line-strong: #3A4752;
  --signal: #FFC531;
  --signal-ink: #15202C;
  --signal-soft: #3A3218;
  --rail: #FF5468;
  --rail-soft: #3B1C22;
  --event: #F05CD2;
  --event-soft: #3A1834;
  --other: #93AFC6;
  --other-soft: #22303C;
  --ok: #4CC98A;
  --ok-soft: #173326;
  --warn: #FFB547;
  --warn-soft: #3A2C14;
  --danger: #FF6B7D;
  --danger-soft: #3D1A20;
  --shadow-1: 0 1px 0 rgba(0, 0, 0, .3);
  --shadow-2: 0 14px 34px -14px rgba(0, 0, 0, .7);
  --focus: 0 0 0 3px var(--signal), 0 0 0 5px var(--bg);
  color-scheme: dark;
}
