/* Gestaltungs-Tokens (docs/architektur.md, „Aussehen“). Hell, kein Dark Mode. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --hintergrund: #F4F5F7;
  --flaeche: #FFFFFF;
  --rand: #E7E9EE;
  --text: #111827;
  --text-leise: #6B7280;
  --akzent: #2F6BFF;
  --akzent-hell: #EAF0FF;
  --akzent-dunkel: #1F4FD6;
  --gut: #16A34A;
  --gut-hell: #E8F7EE;
  --schlecht: #DC2626;
  --schlecht-hell: #FDECEC;
  --warnung: #D97706;
  --warnung-hell: #FEF4E6;

  /* Abgeleitet: getoente Flaechen fuer Nebenaktionen und Hover */
  --neutral-hell: #EEF0F3;
  --neutral-mittel: #E3E6EB;
  --schalter-aus: #7C8390; /* Spur des ausgeschalteten Schalters, 3:1 auf --neutral-hell */
  --akzent-hell-hover: #DCE6FF;
  --schlecht-hell-hover: #FADADA;
  --text-gut: #15803D;
  --text-warnung: #B45309;
  --text-schlecht: #B91C1C;

  --radius-karte: 16px;
  --radius-knopf: 999px;
  --radius-feld: 10px;
  --schatten: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --schatten-hoch: 0 8px 24px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .08);

  --abstand-1: 4px;
  --abstand-2: 8px;
  --abstand-3: 12px;
  --abstand-4: 16px;
  --abstand-5: 24px;
  --abstand-6: 32px;

  --schrift: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --schrift-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --groesse-klein: 13px;
  --groesse-text: 15px;
  --groesse-gross: 17px;
  --groesse-titel: 24px;
  --groesse-zahl: 30px;

  --touch: 44px;
  --nav-breite: 240px;
  --kopf-hoehe: 64px;
  --tabbar-hoehe: 60px;
}
