/* Fastload-Tokens — gemeinsame Quelle mit Jens' Dashboard (app.fastload.shop).
   Kopie von fastnote/css/tokens.css (Stand 13.11.2026: Jens' Fassung v14 „nur noch dunkel, tiefes Nachtblau“; vorher 07.11.2026, Design-Test Runde 4), damit Fast.OS und das Dashboard dieselben Werte tragen.
   Drei Abweichungen mit Absicht: (1) nur das dunkle Thema — Fast.OS bleibt dunkel (seit v0.4.05), die hellen Blöcke von Jens fehlen hier;
   (2) die Schriftdateien heißen in app/fonts so wie bisher (ibmplexmono-400 statt plex-mono-400). Barlow 500 kam dafür aus Jens' Ordner dazu;
   (3) seit v0.6.99 sitzt Barlow in der Mitte der Zeile (ascent-/descent-override, Grund am Ende von styles.css) — dieselben Werte stehen in marke.css.
   Lädt vor marke.css: marke.css legt danach die alten Namen der App (--ground, --surface …) auf diese Werte und setzt --font-mono auf Audiowide
   (Patricks Schriftregel für Stellplätze und Codes). Ändert Jens seine tokens.css, diese Datei abgleichen. Der Fotomodus (fotos.html) lädt sie nicht. */
@font-face { font-family: "Audiowide"; src: url("fonts/audiowide-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibmplexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;

  --kobalt: #4c8df6;
  --anthrazit: #121722;
  --papierweiss: #eef2f8;
  --schiene: #0b0f16;

  --welt: #04060a;          /* die unbegrenzte Fläche: fast schwarz wie das All */
  --flaeche: #0e131b;
  --flaeche-hoch: #171e2a;
  --flaeche-tief: #090c12;
  --linie: #252e3d;
  --linie-stark: #66728a;
  --schrift: #eef2f8;
  --schrift-leise: #9aa5b8;
  --akzent: #4c8df6;
  --akzent-hover: #6fa4f8;
  --auf-akzent: #0a0f18;
  --akzent-schrift: #7fb0fa;
  --akzent-zart: #162a4d;
  --gut: #6cc47a;
  --gut-zart: #132a1d;
  --achtung: #e8ae45;
  --achtung-zart: #33270f;
  --fehler: #f2707a;
  --fehler-zart: #36171c;
  --fokus: #4c8df6;
  --raster: #1b2330;
  --rahmen-zart: #4c8df61f;
  --abdunkeln: #04060acc;

  --font-display: "Audiowide", "Arial Black", system-ui, sans-serif;
  --font-sans: "Barlow", "Segoe UI", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --kaestchen: 6px; --kaestchen-luecke: 2px; --schiene-rand: 4px;
  --radius-0: 0; --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-full: 9999px;
  --radius-karte: 12px;   /* Karten, Bilder, Farbfelder: weiche Ecken wie bei Apple (NOTE-Optik, 04.11.2026) */

  --schatten-flach: 0 1px 2px #00000080;
  --schatten-schwebend: 0 18px 40px -8px #000000cc;
  --fokus-ring: 0 0 0 2px #0e131b, 0 0 0 4px #4c8df6;

  /* Farben für Karten, Linien, Boards und Stifte – nur Töne aus dem Designsystem */
  --ton-blau: var(--kobalt);
  --ton-kobalt: var(--kobalt);
  --ton-gruen: var(--gut);
  --ton-gelb: var(--achtung);
  --ton-rot: var(--fehler);
  --ton-grau: var(--linie-stark);
  --ton-leise: var(--schrift-leise);
  --ton-schrift: var(--schrift);
}
