/* FLX Development – Design-Tokens (Stand 17.11.2026)
   Quelle: Design-Artefakt https://claude.ai/artifact/LYUobnjnnQNH3avG6MbRYF, Seite „Überarbeitung“
   Schriften als Dateien einbinden (npm-Paket „geist“, Variable-Fonts), nicht über Google Fonts. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* Farben */
  --bg: #0a0a0a;            /* Seitengrund */
  --surface-1: #111111;     /* Karten, Kaufkasten, Dialoge, Code */
  --surface-2: #171717;     /* Sekundär-Buttons, Hover, ausgewählte Zeile */
  --line-1: #1f1f1f;        /* Trennlinien, Kartenränder */
  --line-2: #2b2b2b;        /* Eingabefelder, Dialogrand, Menüs */
  --text-1: #ededed;        /* Text */
  --text-2: #a1a1a1;        /* Fließtext gedämpft */
  --text-3: #7e7e7e;        /* Hinweise, Beschriftungen */
  --accent: #3e43f0;        /* NUR Hauptaktion einer Ansicht */
  --accent-hover: #5458f3;
  --accent-pressed: #3439d6;
  --link: #9a9dff;
  --check: #6b6ff6;          /* Haken in Aufzählungen: Akzent, heller für Kontrast 4,9:1 auf --bg (Felix 22.11.2026) */
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--link);
  --ok: #3ecf8e;            /* nur Punkt/Symbol */
  --warn: #f5a524;          /* nur Punkt/Symbol */
  --danger: #f2555a;        /* Schrift gefährlicher Aktionen, Fehlertext */
  --scrim: rgba(0, 0, 0, .62); /* Hintergrund hinter Dialogen, ohne Weichzeichner */

  /* Schrift */
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --fs-display: 64px;  --lh-display: 1.04; --ls-display: -0.035em; /* Startseite H1, 600 */
  --fs-h1: 48px;       --lh-h1: 1.05;      --ls-h1: -0.035em;      /* Seiten-H1, 600 */
  --fs-h2: 36px;       --ls-h2: -0.03em;                          /* Abschnitt groß, 600 */
  --fs-h2-s: 30px;     /* Abschnitte Script-Seite */
  --fs-h3: 20px;       --ls-h3: -0.015em;  /* 600 */
  --fs-lead: 18px;     --lh-lead: 1.55;
  --fs-body: 15px;     --lh-body: 1.55;
  --fs-small: 13px;
  --fs-tiny: 12px;
  /* Zahlen, Preise, Versionen: font-variant-numeric: tabular-nums */

  /* Abstände (4er-Raster) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-14: 56px; --space-18: 72px; --space-22: 88px;
  --section: 128px;    /* Abstand zwischen Startseiten-Abschnitten (128–144) */
  --container: 1120px; /* max-width, padding 0 32px */

  /* Radien */
  --r-control: 8px;    /* Buttons, Felder, Dropdowns */
  --r-menu: 10px;      /* Menüs, Listen in Dropdowns */
  --r-card: 12px;      /* Karten, Fenster, Kaufkasten */
  --r-dialog: 14px;
  --r-sheet: 16px;     /* Handy-Sheets oben */

  /* Höhen */
  --h-control-s: 32px; --h-control: 40px; --h-control-mobile: 50px; --h-header: 60px; --h-subnav: 52px;

  /* Schatten – nur Dialoge und Menüs */
  --shadow-menu: 0 12px 32px rgba(0, 0, 0, .5);
  --shadow-dialog: 0 24px 64px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text-1); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #c3c5ff; }
::selection { background: var(--accent); color: #fff; }

/* Handy (≤ 640px): Text 17px, Buttons 50px hoch / Radius 12, gruppierte Listen (Fläche --surface-1, Radius 12,
   Trennlinien links eingerückt 16px), Dialoge als Sheet von unten, Kaufleiste unten fest (Padding unten 34px). */
