/* neeyo Designsystem – Tokens
   Abgeleitet aus 2026_11_10_Neeyo.xd. Alles, was eine Seite an Farbe, Schrift,
   Abstand, Radius, Schatten und Bewegung braucht, kommt aus dieser Datei. */

@font-face{font-family:"N27";src:url(../fonts/N27-Regular.otf) format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:"N27";src:url(../fonts/N27-Medium.otf) format("opentype");font-weight:500;font-display:swap}
@font-face{font-family:"N27";src:url(../fonts/N27-Bold.otf) format("opentype");font-weight:700;font-display:swap}

:root{
  /* ---------- Farbe: Marke ---------- */
  --ink:#003241;            /* Text, dunkle Flächen, dunkle Buttons */
  --ink-900:#0c1d21;        /* tiefster Ton, Verlaufsstart dunkler Flächen */
  --ink-800:#022a36;        /* Karte auf dunkler Fläche */
  --ink-700:#02495f;        /* Verlaufsende dunkler Flächen */
  --teal:#1bb3be;           /* Akzent: Buttons, aktive Zustände, Linien */
  --teal-300:#7bf6ff;       /* heller Verlaufspartner */
  --teal-200:#2cdfeb;       /* Footer-Verlauf */

  /* ---------- Farbe: Module der Suite ---------- */
  --core:#1bb3be;
  --craft:#4077f9;
  --archive:#7c5ccd;
  --trinity:#f07f36;

  /* ---------- Farbe: Flächen und Linien ---------- */
  --bg:#f4f6f5;
  --surface:#ffffff;
  --surface-soft:rgb(255 255 255 / .6);
  --line:#b7cdca;
  --line-soft:#dfe5e2;
  --logo:#c4d1cb;

  /* ---------- Farbe: Text ---------- */
  --text:var(--ink);
  --text-muted:rgb(0 50 65 / .62);       /* im XD 50 %, hier lesbarer (4,6:1 auf --bg) */
  --text-dim:rgb(0 50 65 / .5);          /* nur für große Überschriften-Teile */
  --on-dark:#ffffff;
  --on-dark-muted:rgb(255 255 255 / .66);
  --on-dark-dim:rgb(255 255 255 / .5);

  /* ---------- Schrift ---------- */
  --font:"N27",system-ui,-apple-system,"Segoe UI",sans-serif;
  --fs-display:clamp(40px,7.2vw,100px);  --lh-display:1;
  --fs-h1:clamp(30px,4.2vw + 15px,64px); --lh-h1:1.14;
  --fs-h2:clamp(30px,3.5vw,48px);        --lh-h2:1.2;
  --fs-h3:clamp(24px,2.3vw,32px);        --lh-h3:1.25;
  --fs-h4:clamp(20px,1.7vw,24px);        --lh-h4:1.3;
  --fs-lead:clamp(19px,1.7vw,24px);      --lh-lead:1.38;
  --fs-body:18px;                        --lh-body:1.45;
  --fs-small:16px;                       --lh-small:1.4;
  --fs-caption:14px;                     --lh-caption:1.4;
  --track-tight:-.012em;                 /* große Überschriften */

  /* ---------- Abstand (4er-Raster) ---------- */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px;
  --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px; --s-11:160px;
  --section:clamp(72px,9vw,144px);       /* Abstand zwischen Bereichen */
  --block:clamp(40px,5vw,72px);          /* Abstand Überschrift → Inhalt */

  /* ---------- Raster ---------- */
  --container:1196px;                    /* 12 Spalten, wie im XD (202 … 1398) */
  --gutter:clamp(20px,5vw,64px);
  --col-gap:24px;

  /* ---------- Radius ---------- */
  --r-s:10px;      /* Buttons, Chips, kleine Kacheln */
  --r-m:28px;      /* Karten in Karten */
  --r-l:clamp(24px,2.6vw,40px); /* große Karten, Medien, Flächen */
  --r-pill:999px;

  /* ---------- Schatten ---------- */
  --shadow-s:0 3px 12px rgb(0 50 65 / .1);
  --shadow-m:0 10px 40px rgb(0 50 65 / .12);

  /* ---------- Bewegung ---------- */
  --ease:cubic-bezier(.22,.8,.24,1);
  --spring:cubic-bezier(.2,.9,.25,1);    /* Feder ohne Überschwingen: Standard für alles */
  --spring-bounce:linear(0,.009,.035 2.1%,.141 4.4%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1); /* nur für Einrasten und Würfe */
  --t-fast:.16s;
  --t-base:.25s;
  --t-slow:.6s;

  /* ---------- Bedienelemente ---------- */
  --control-h:50px;                      /* Höhe der Navigationsleiste und des Menüknopfs */
  --control-h-lg:58px;
  --btn-h:46px;                          /* Button im Inhalt */
  --btn-h-lg:52px;                       /* Hauptbutton eines Abschnitts */
  --btn-h-nav:40px;                      /* Button in der Navigation: gleiches Gewicht wie das Logo */
}
