/* SevHa — Schriften, selbst ausgeliefert
   ==========================================================================
   Ersetzt den Abruf bei fonts.googleapis.com und fonts.gstatic.com.

   WARUM: Bisher holte der Browser jedes Besuchers die Schriften direkt von
   Googles Servern — dabei geht seine IP-Adresse an Google, bevor er dem
   irgendwo zugestimmt hat. Genau darum ging es im Urteil des LG München I
   vom 20.01.2022 (Az. 3 O 17493/20). Liegen die Dateien auf unserem Server,
   entfällt die Übermittlung vollständig; eine Einwilligung braucht es dann
   für die Schriften nicht mehr.

   ABLAGE: /wp-content/uploads/sevha/fonts/
   Diese Datei und die fünf .woff2-Dateien liegen im selben Ordner, deshalb
   genügen relative Pfade.

   BENÖTIGTE DATEIEN (genau diese Namen):
     inter-400.woff2            Inter Regular
     inter-500.woff2            Inter Medium
     inter-600.woff2            Inter SemiBold
     source-serif-4-300.woff2   Source Serif 4 Light
     source-serif-4-600.woff2   Source Serif 4 SemiBold

   font-display: swap bleibt erhalten — der Text ist sofort lesbar und wird
   nachträglich in der richtigen Schrift gesetzt, statt kurz unsichtbar zu
   sein. Das war vorher über "&display=swap" in der Google-Adresse geregelt.
   ========================================================================== */

/* ---------- Inter (Fließtext, Bedienelemente) ---------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('inter-600.woff2') format('woff2');
}

/* ---------- Source Serif 4 (Überschriften) ---------- */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('source-serif-4-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('source-serif-4-600.woff2') format('woff2');
}
