/* ============ Eigene Schriften ============
   Wird von der Landing Page (css/landing.css) UND den Case Studies
   (css/case.css) genutzt — beide binden diese Datei ein.

   Trovical (Regular + Italic) ist Nicklas' eigene Lizenz von Envato; er hat
   bestätigt, dass die Webfont-Nutzung abgedeckt ist. Die Originale (.otf) liegen
   in assets/fonts/src/, die hier eingebundenen .woff2 sind daraus erzeugt
   (rund 30 % kleiner, von allen aktuellen Browsern unterstützt).

   ACHTUNG: Die Schrift bringt KEINE Umlaute mit (ä ö ü Ä Ö Ü ß fehlen). Für die
   durchgehend englische Seite ist das egal — käme je deutscher Text in eine
   Headline, würde der Browser dort auf Georgia zurückfallen und es fiele auf.

   font-display: swap = der Text ist sofort in Georgia lesbar und wird
   ausgetauscht, sobald die Schrift geladen ist (kein unsichtbarer Text). */

@font-face {
  font-family: "Trovical";
  src: url("../assets/fonts/trovical-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Trovical";
  src: url("../assets/fonts/trovical-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---- Inter und IBM Plex Mono: seit v49 selbst gehostet statt von Google Fonts ----
   Grund: Datenschutz (bei Google Fonts geht die IP jedes Besuchers an Google) und
   eine Verbindung weniger. Beide Schriften stehen unter der SIL Open Font License.
   Dateien: die „latin"-Teilmengen aus Googles eigener Auslieferung (Chrome-Variante,
   woff2). Inter ist EINE variable Datei für 400 bis 700; Plex Mono zwei statische
   Schnitte. Nur diese Schnitte werden auf der Seite benutzt. */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
