/* ============================================================
   Familienzentrale - Schriften
   Selbst gehostet als WOFF2. Wegen der CSP ('self') keine
   Einbindung von Google Fonts oder anderen fremden Quellen.

   Liegen die Dateien noch nicht unter /assets/fonts/, faellt
   alles auf die System-Schrift zurueck (siehe tokens.css) - die
   Oberflaeche bleibt bedienbar, nur eben in der Systemschrift.

   font-display: swap  ->  Text erscheint sofort in der Ersatz-
   schrift und wird ausgetauscht, sobald die Datei geladen ist.
   Kein unsichtbarer Text beim Laden.
   ============================================================ */

/* --- Display: Archivo ------------------------------------------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/archivo-semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-bold.woff2") format("woff2");
}

/* --- Fliesstext: Source Sans 3 ---------------------------------- */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-semibold.woff2") format("woff2");
}

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