/* 1337 Design-System – Tokens. Auftritt von 1337.kiwi: „Terminal trifft Frucht".
   Grün ist Signal (Aktion, Auswahl), nie Tapete. Monospace für alles Produkthafte,
   Grotesk für Erklärtext. Hell/Dunkel folgt dem Gerät. */

:root {
  color-scheme: light dark;
  --paper: #FAFCF6;        /* Seitengrund */
  --surface: #F1F6E9;      /* Kacheln, Flächen */
  --ink: #101408;          /* Text, Ränder, Versatzschatten */
  --muted: #5A6350;        /* Sekundärtext */
  --line: #DCE4D0;         /* Kachelränder, Trennlinien */
  --accent: #7ABA1C;       /* Kiwi-Grün: Signal – hell nie als Text */
  --accent-deep: #507A14;  /* grüner Text (AA) */
  --accent-tint: #E9F4DA;  /* Hover, Auswahl */
  --on-accent: #101408;    /* Text auf grüner Fläche */
  --warn: #B34700;
  --danger: #C62828;
  --ok-dot: #4C8A0E;

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-hero: 2.2rem;     /* „Moin." – ab 900px 2.8rem */
  --text-title: 1.5rem;    /* Seitentitel */
  --text-value: 1.8rem;    /* große Werte in Kacheln */
  --text-eyebrow: 0.72rem; /* Dachzeilen in Versalien */

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --radius: 6px;           /* Knöpfe, Kacheln */
  --radius-card: 10px;     /* große Info-Kacheln */
  --shadow-offset: 4px 4px 0 var(--accent); /* harter Versatz für den einen Hinweis */
  --topbar-h: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D110A;
    --surface: #151B10;
    --ink: #EAF2DF;
    --muted: #97A488;
    --line: #26301C;
    --accent: #99D73C;
    --accent-deep: #BAE878;
    --accent-tint: #1B2611;
    --on-accent: #0D110A;
    --warn: #FF9A4D;
    --danger: #FF6B6B;
    --ok-dot: #99D73C;
  }
}
