/* Sinan Atalay — generated from tokens.json */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Ergänzung 24.10.2026: Lateinisch erweitert, nur für Zeichen, die das Grundpaket nicht hat
   (Türkisch: ş ğ İ Ş Ğ). Der Browser lädt die Datei nur, wenn so ein Zeichen vorkommt, also auf /tr/. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root, [data-theme="hell"] {
  --papier: #FBFBF8;
  --flaeche: #EDF1EE;
  --linie: #C7D3CE;
  --tinte: #13302A;
  --tinte-leise: #4A635C;
  --signal: #FFD23F;
  --auf-signal: #13302A;
  color-scheme: light;
}

/* Dunkel folgt dem Betriebssystem, es gibt keinen Schalter. data-theme="dunkel" dient nur Vorschauen. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="hell"]) {
    --papier: #0E1D1A;
    --flaeche: #152A26;
    --linie: #2D4640;
    --tinte: #E6EEEB;
    --tinte-leise: #A3B8B1;
    color-scheme: dark;
  }
}
[data-theme="dunkel"] {
  --papier: #0E1D1A;
  --flaeche: #152A26;
  --linie: #2D4640;
  --tinte: #E6EEEB;
  --tinte-leise: #A3B8B1;
  color-scheme: dark;
}

@media print {
  :root {
    --papier: #FFFFFF;
    --flaeche: #F2F5F3;
    --tinte-leise: #3F5A53;
    color-scheme: light;
  }
}

:root {
  /* spacing */
  --abstand-1: 4px;
  --abstand-2: 8px;
  --abstand-3: 12px;
  --abstand-4: 16px;
  --abstand-5: 24px;
  --abstand-6: 32px;
  --abstand-7: 48px;
  --abstand-8: 64px;
  /* radius */
  --radius-klein: 8px;
  --radius: 14px;
  --radius-voll: 9999px;
  /* strich */
  --strich-fein: 1px;
  --strich: 2px;
  /* schrift */
  --groesse-display: clamp(2.5rem, 1.1rem + 5vw, 5rem);
  --groesse-heading: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  --groesse-title: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
  --groesse-lead: 1.125rem;
  --gewicht-regular: 400;
  --gewicht-strong: 650;
  --gewicht-display: 800;
  --breite-display: 125;
  --breite-heading: 118;
  --breite-title: 112;
  --breite-ui: 108;
  /* layout */
  --zeilenmass: 66ch;
  --inhalt-max: 72rem;
  --ziel-min: 44px;
  --ziel-abstand: 8px;
  --bp-medium: 600px;
  --bp-expanded: 1024px;
  /* dauer */
  --dauer-sofort: 100ms;
  --dauer-standard: 300ms;
  --dauer-betonung: 400ms;
  --schreibtakt: 75ms;
  --kurve: ease;
  --font-base: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.text-display { font-family: var(--font-base); font-size: 5rem; line-height: 0.96; font-weight: 800; letter-spacing: -0.02em; }
.text-heading { font-family: var(--font-base); font-size: 3rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.015em; }
.text-title { font-family: var(--font-base); font-size: 1.625rem; line-height: 1.2; font-weight: 650; }
.text-body { font-family: var(--font-base); font-size: 1rem; line-height: 1.5; font-weight: 400; }
.text-caption { font-family: var(--font-base); font-size: 0.8125rem; line-height: 1.4; font-weight: 400; }
