/* Design-Vertrag V1, §2 — drei Schriften, drei Jobs.
 *
 * Alle lokal. Die Seite loest keine Anfrage an Google Fonts aus; das steht so im
 * Datenschutzhinweis. Herkunft und Subset-Rezept: fonts/LIESMICH.md
 *
 * `font-display: swap` ueberall: Lieber der Systemfont fuer 100 ms als eine leere Seite. */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2-variations");
  font-weight: 400 800;   /* variabel — eine Datei deckt alle Schnitte */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2-variations");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* Plex Mono liefert Google nur statisch — deshalb zwei Dateien statt einer. */
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Die Ersatzketten sind bewusst kurz und systemnah: Wer die Datei nicht bekommt, soll etwas
     Vergleichbares sehen, nicht Times. */
  --font-titel: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-status: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
}
