/*
 * Produktwelt vorschau.tivaos.agency: Design-Tokens im Design von tivaos.agency
 * (Vorgabe vom 26.09.2026).
 * Quelle der Werte: Elementor-Kit von tivaos.agency (post-8.css, post-40.css),
 * ausgelesen am 26.09.2026. Manifest: docs/DESIGN.md.
 *
 * Aktuelle Richtung vom 27.09.2026: weiße Flächen, dunkle Schrift, viel Abstand.
 * Poppins und Violett #520071 bleiben als Marke erhalten. Ergänzende Farben
 * sind für Zustände und die fachlichen Nachbauten vorgesehen.
 *
 * Magenta #fc0174 ist auf hellem Grund KEIN Text (3,9:1), Text nimmt --variabel-text.
 * Farben außerhalb der Marke gibt es nur in den Nachbauten (geraete.css).
 */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); }

:root {
  color-scheme: light;

  /* Weiße Grundfläche mit zurückhaltenden Abschnittsflächen */
  --papier: #ffffff;
  --flaeche: #ffffff;
  --flaeche-tief: #f7f6f8;
  --raster: #e8e3ec;
  --linie: #e2dde6;
  --linie-stark: #877d93;      /* Rahmen von Eingaben, 3:1 auf Weiß */

  /* Schrift */
  --tinte: #242127;
  --tinte-leise: #625b68;

  /* Marke */
  --kern: #520071;             /* Tivaos-Violett: Hauptaktion, Prinzip */
  --kern-tief: #2c003d;        /* Hover wie auf tivaos.agency */
  --kern-hell: #f3e8f7;
  --indigo: #3c0ca0;
  --variabel: #fc0174;         /* Tivaos-Magenta: nur Linie, Punkt, Fläche */
  --variabel-text: #b8005f;    /* Magenta als Text, 6:1 */
  --variabel-hell: #ffe6f1;

  /* Violette Flächen (Kopfbereiche) und Text darauf */
  --verlauf-marke: radial-gradient(130% 150% at 12% 0%, #6a1b8f 0%, #520071 42%, #3c0ca0 100%);
  --verlauf-sanft: linear-gradient(180deg, #b89bc9 0%, #7d3a9e 45%, #520071 100%);
  --auf-dunkel: #ffffff;
  --auf-dunkel-leise: #e8dcf0; /* 10:1 auf Violett */
  --auf-dunkel-linie: rgba(255, 255, 255, 0.45);

  /* Status in den Demos (unabhängig von der Marke) */
  --gut: #1f6f4a;
  --gut-hell: #e3f3ea;
  --anfrage: #7a5500;
  --anfrage-hell: #fbf0d0;
  --schlecht: #9b2c2c;
  --schlecht-hell: #fbe7e7;

  /* Schrift: Poppins überall, wie auf tivaos.agency. --schrift-mono bleibt als
     Name für Zahlen und Kennungen erhalten, nutzt aber Poppins mit Tabellenziffern. */
  --schrift-titel: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --schrift-text: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --schrift-mono: 'Poppins', 'Segoe UI', system-ui, sans-serif;

  /* Typo-Skala */
  --t-klein: 0.8125rem;   /* 13 px */
  --t-notiz: 0.875rem;    /* 14 px */
  --t-text: 1rem;         /* 16 px */
  --t-gross: 1.125rem;    /* 18 px, gesprochene Sätze */
  --t-h4: 1.1875rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);   /* 40 px wie tivaos.agency */
  --t-h1: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);

  /* Tivaos-5er-Skala */
  --luft-1: 5px;
  --luft-2: 10px;
  --luft-3: 15px;
  --luft-4: 20px;
  --luft-5: 30px;
  --luft-6: 40px;
  --luft-7: 60px;
  --luft-8: 80px;
  --luft-9: 100px;

  /* Ecken wie tivaos.agency: Karten groß, Knöpfe 10 px */
  --ecke-flaeche: 12px;
  --ecke-element: 6px;
  --ecke-plakette: 999px;

  /* Linien der Zustände */
  --strich: 2px;
  --strich-muster: 6px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dauer-kurz: 120ms;
  --dauer: 200ms;
  --dauer-lang: 280ms;

  --breite: 1200px;
  --breite-text: 60ch;
  --rand: clamp(16px, 4vw, 30px);
  /* Weicher Schatten der Tivaos-Karten (0 0 15px -5px) */
  --schatten: none;
  --schatten-hoch: 0 15px 40px -15px rgba(30, 20, 40, 0.2);

  /* Dezente Glasebene für Navigation, mit deckendem Grundwert als Fallback. */
  --glas: #f9f8fc;
  --glas-licht: inset 0 1px 0 rgba(255, 255, 255, .95);
  --glas-tiefe: 0 8px 30px -16px rgba(40, 28, 58, .22);
  --glas-kante: rgba(255, 255, 255, .85);
  --glas-radius: 24px;
  --inhalt-radius: 16px;
  --feld-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dauer-kurz: 0ms;
    --dauer: 0ms;
    --dauer-lang: 0ms;
  }
}
