/* ═══════════════════════════════════════════════════
   Selbst gehostete Schriften
   ═══════════════════════════════════════════════════

   Wird nur geladen, wenn in bootsscheinmeister-theme.yaml
   `fonts.source: self` steht (siehe partials/base.html.twig).

   Warum selbst hosten: das Google-Fonts-CDN überträgt bei jedem Seitenaufruf
   die IP-Adresse der Besucher an Google. Das LG München I hat darin 2022
   einen Persönlichkeitsrechtsverstoß gesehen (3 O 17493/20). Lokal
   ausgelieferte Schriften lösen das ersatzlos — kein Einwilligungsbanner,
   kein Absatz in der Datenschutzerklärung, nebenbei ein Request weniger und
   kein fremder Single Point of Failure im kritischen Renderpfad.

   ── Welche Dateien hier fehlen ──────────────────────────────────────────
   Erwartet wird EINE Datei in theme/fonts/:

       plus-jakarta-sans-latin-variable.woff2

   Plus Jakarta Sans ist eine variable Schrift: eine Datei (~40 KB) deckt
   alle benutzten Schnitte 400–800 ab. Fünf statische Schnitte wären
   zusammen rund doppelt so groß.

   Bezugsquelle (SIL Open Font License, kommerziell nutzbar):
     - https://fonts.google.com/specimen/Plus+Jakarta+Sans  → "Get font"
     - oder https://gwfh.mranftl.com/fonts/plus-jakarta-sans (Subset "latin")

   Solange die Datei fehlt, greift die Fallback-Kette aus --bsm-font
   (System-UI-Schriften). Die Seite bleibt vollständig lesbar und lädt
   nichts von Google — sie sieht nur nicht nach Marke aus.
   Ausführlich: docs/MARKETING.md §Schriften.
   ──────────────────────────────────────────────────────────────────────── */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    /* Bereich statt Einzelwert — das ist der variable Schnitt. */
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-latin-variable.woff2') format('woff2');
    /* Latin deckt die deutschen Umlaute und das ß ab (U+00C4, U+00D6,
       U+00DC, U+00DF liegen in Latin-1 Supplement). */
    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;
}

/* Falls nur statische Schnitte beschaffbar sind, diesen Block statt des
   obigen verwenden und die fünf Dateien nach theme/fonts/ legen:

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap;
             src: url('../fonts/plus-jakarta-sans-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap;
             src: url('../fonts/plus-jakarta-sans-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap;
             src: url('../fonts/plus-jakarta-sans-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap;
             src: url('../fonts/plus-jakarta-sans-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap;
             src: url('../fonts/plus-jakarta-sans-latin-800.woff2') format('woff2'); }
*/
