/* Design-Tokens aus DESIGN.md. Komponenten verwenden nur var(--…). */
:root {
  --bg:#FBF3E4; --surface:#FFFFFF; --chip:#F3EAD8; --line:#E6D9C2;
  --fg:#1E2A22; --muted:#4A5A4F; --forest:#2F6B3F; --leaf:#4E9A5A;
  --sun:#F28C28; --on-sun:#1E2A22; --berry:#B8325A; --sky:#2F8FBF; --cream:#FFF8EC;
  --on-forest:#FFF8EC; --danger:#B3261E;
  --hill-1:#DCE9D6; --hill-2:#C6DCC0; --hill-3:#A9CBA5;
  --zone-kk:#FFC94D; --zone-gk:#F59A8E; --zone-k:#9BD3A2; --zone-m:#C9D1D6; --on-zone:#1E2A22;
  --font-display:"Baloo 2","Trebuchet MS",sans-serif;
  --font-ui:"Fredoka","Trebuchet MS",sans-serif;
  --font-hand:"Caveat","Comic Sans MS",cursive;
  --font-body:"Nunito Sans","Segoe UI",system-ui,sans-serif;
  --r-sm:8px; --r-md:14px; --r-lg:22px; --r-xl:28px;
  --shadow:0 18px 40px -24px rgba(30,42,34,.35);
  color-scheme:light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#13241A; --surface:#1B3124; --chip:#24402F; --line:#2E4A39;
    --fg:#F4EEDF; --muted:#B9C7B9; --forest:#8FCB9B; --leaf:#7CC08A;
    --sun:#F59A3C; --berry:#F07A9A; --sky:#7CC8EA; --on-forest:#1E2A22; --danger:#F2A29C;
    --hill-1:#1A2F22; --hill-2:#203A2A; --hill-3:#274633;
    color-scheme:dark;
  }
}

:root[data-theme="dark"] {
  --bg:#13241A; --surface:#1B3124; --chip:#24402F; --line:#2E4A39;
  --fg:#F4EEDF; --muted:#B9C7B9; --forest:#8FCB9B; --leaf:#7CC08A;
  --sun:#F59A3C; --berry:#F07A9A; --sky:#7CC8EA; --on-forest:#1E2A22; --danger:#F2A29C;
  --hill-1:#1A2F22; --hill-2:#203A2A; --hill-3:#274633;
  color-scheme:dark;
}

/* Schriften liegen lokal (DSGVO), latin-ext nur bei Bedarf. */
@font-face { font-family:"Baloo 2"; font-weight:700; font-display:swap; src:url("../fonts/baloo2-700.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Baloo 2"; font-weight:700; font-display:swap; src:url("../fonts/baloo2-700-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Baloo 2"; font-weight:800; font-display:swap; src:url("../fonts/baloo2-800.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Baloo 2"; font-weight:800; font-display:swap; src:url("../fonts/baloo2-800-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Fredoka"; font-weight:500; font-display:swap; src:url("../fonts/fredoka-500.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Fredoka"; font-weight:500; font-display:swap; src:url("../fonts/fredoka-500-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Fredoka"; font-weight:600; font-display:swap; src:url("../fonts/fredoka-600.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Fredoka"; font-weight:600; font-display:swap; src:url("../fonts/fredoka-600-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Fredoka"; font-weight:700; font-display:swap; src:url("../fonts/fredoka-700.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Fredoka"; font-weight:700; font-display:swap; src:url("../fonts/fredoka-700-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Nunito Sans"; font-weight:400; font-display:swap; src:url("../fonts/nunitosans-400.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Nunito Sans"; font-weight:400; font-display:swap; src:url("../fonts/nunitosans-400-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Nunito Sans"; font-weight:600; font-display:swap; src:url("../fonts/nunitosans-600.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Nunito Sans"; font-weight:600; font-display:swap; src:url("../fonts/nunitosans-600-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Nunito Sans"; font-weight:700; font-display:swap; src:url("../fonts/nunitosans-700.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Nunito Sans"; font-weight:700; font-display:swap; src:url("../fonts/nunitosans-700-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
@font-face { font-family:"Caveat"; font-weight:700; font-display:swap; src:url("../fonts/caveat-700.woff2") format("woff2"); unicode-range:U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family:"Caveat"; font-weight:700; font-display:swap; src:url("../fonts/caveat-700-ext.woff2") format("woff2"); unicode-range:U+0100-02AF; }
