/* ==========================================================================
   Spielgruppe Zaubernäscht – Design-Tokens
   Verbindliche Quelle für Farben, Schriften, Abstände und Radien.
   Web: diese Datei einbinden. Print/Office: Werte aus dem Brand Guide.
   ========================================================================== */

@font-face { font-family: "Young Serif"; src: url("../fonts/YoungSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-SemiBoldItalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Kundenfarben (fix) */
  --zn-oliv:          #8b9365;  /* Primärfarbe: Flächen, Logo-Ring, Illustration */
  --zn-altrosa:       #907474;  /* Akzentfarbe: Eule, Hervorhebungen, Flächen */
  --zn-sand:          #e5ceb2;  /* Hintergrundfarbe */

  /* Abgeleitete Töne (für Lesbarkeit und Tiefe) */
  --zn-text:          #3d3a2c;  /* Fliesstext und Titel auf Sand / Weiss */
  --zn-text-sanft:    #5e5946;  /* Nebentext, Bildunterschriften */
  --zn-oliv-tief:     #4f5536;  /* Links, Buttons (mit weisser Schrift), Fusszeile */
  --zn-oliv-hell:     #c3c7a6;  /* Linien, ruhige Flächen */
  --zn-altrosa-tief:  #6a5050;  /* Akzenttext auf Sand, Buttons (mit weisser Schrift) */
  --zn-altrosa-hell:  #d8c4bf;  /* zarte Akzentflächen */
  --zn-sand-hell:     #f3e8da;  /* Karten, Formularfelder, Papierflächen */
  --zn-sand-tief:     #c9a37c;  /* nur Illustration (Schnabel, Details) */
  --zn-weiss:         #ffffff;  /* Schrift auf Oliv tief / Altrosa tief; Papier */

  /* Semantische Rollen */
  --color-bg:         var(--zn-sand);
  --color-surface:    var(--zn-sand-hell);
  --color-text:       var(--zn-text);
  --color-text-muted: var(--zn-text-sanft);
  --color-link:       var(--zn-oliv-tief);
  --color-accent:     var(--zn-altrosa-tief);
  --color-button:     var(--zn-oliv-tief);
  --color-on-button:  var(--zn-weiss);
  --color-line:       rgba(61, 58, 44, 0.18);
  --color-focus:      var(--zn-altrosa-tief);

  /* Schriften */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-text:    "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Schriftgrössen (fluid, min 375 px / max 1280 px) */
  --fs-h1:    clamp(2rem, 1.5rem + 2.2vw, 3rem);
  --fs-h2:    clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  --fs-h3:    clamp(1.12rem, 1.05rem + .3vw, 1.3rem);
  --fs-lead:  clamp(1.02rem, .98rem + .2vw, 1.15rem);
  --fs-body:  1rem;       /* 16 px */
  --fs-small: .9rem;
  --lh-tight: 1.12;
  --lh-body:  1.6;

  /* Abstände (8er-Raster) */
  --space-1: .5rem;  --space-2: 1rem;  --space-3: 1.5rem; --space-4: 2rem;
  --space-5: 2.5rem; --space-6: 3rem;  --space-7: 4.25rem;   --space-8: 8rem;

  /* Radien: Bilder & Flächen 20 px, Felder 12 px, Buttons pill */
  --radius-card:   20px;
  --radius-field:  12px;
  --radius-pill:   999px;

  --shadow-soft: 0 18px 40px -24px rgba(79, 85, 54, 0.45);
  --max-width: 1120px;
}
