/* Look von markus-schuller.com: schwarz, Weiß als einziger Akzent, Space Grotesk für Titel, Inter ruhig, JetBrains Mono für Technik. */
@font-face { font-family: "Space Grotesk"; font-weight: 300 700; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #050505;
  --flaeche: #0e0e0f;       /* Karten, Eingabe */
  --flaeche-2: #18181a;     /* Hover, Chips, Code */
  --linie: #26262a;
  --linie-2: #3a3a40;
  --text: #f5f6f7;
  --text-2: #b4b6bc;        /* 9,8:1 auf --bg */
  --text-3: #8a8c93;        /* 5,8:1 auf --bg */
  --akzent: #ffffff;        /* Weiß ist die Akzentfarbe */
  --auf-akzent: #050505;
  --fehler: #ff8a8a;        /* nur für Fehlermeldungen, 8:1 */
  --fehler-flaeche: #1a0d0d; --fehler-linie: #5a2a2a;
  --akzent-hover: #dcdde0;
  --glas: rgba(14, 14, 15, .75); /* halbdurchsichtige Fläche über dem Dither (Spalten, Terminal) */
  --bg-rgb: 5, 5, 5;        /* für halbdurchsichtige Hintergründe (Seitenleiste, Schleier) */
  --terminal: var(--glas);  /* Terminal bleibt immer dunkel (pi und Claude zeichnen für dunkle Flächen) */

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r: 10px; --r-gross: 16px; --rund: 999px;
  --nav-hoehe: 60px;        /* Platz oben fürs Burgermenü am Handy */
}

/* Heller Modus (Einstellungen → Aussehen, js/modus.js): Schwarz wird zum Akzent, Weiß zur Fläche */
:root[data-modus="hell"] {
  color-scheme: light;
  --bg: #ffffff;
  --flaeche: #f6f6f7;
  --flaeche-2: #ececee;
  --linie: #e1e1e4;
  --linie-2: #c9c9ce;
  --text: #0a0a0b;
  --text-2: #3e4046;        /* 10:1 auf --bg */
  --text-3: #63656c;        /* 5,9:1 auf --bg */
  --akzent: #050505;
  --auf-akzent: #ffffff;
  --fehler: #b42318;
  --fehler-flaeche: #fdeceb; --fehler-linie: #f1b5ae;
  --akzent-hover: #2b2b2f;
  --glas: rgba(255, 255, 255, .8);
  --bg-rgb: 255, 255, 255;
  --terminal: #0e0e0f;
}
