/* ================================
   FS Business Forum – Markenschriften (P1-7)
   Vollstaendige Variable Fonts (Latin), selbst gehostet (DSGVO: kein Google-Fonts-Request).
   Nur fuer Seiten, die styles.css NICHT laden: tickets.html, 404.html.
   Startseite, Archiv und Rechtsseiten bekommen dieselben Schriften aus styles.css –
   dort nicht zusaetzlich einbinden (sonst doppelte @font-face-Definitionen).
   Die URLs zeigen auf dieselben Dateien wie styles.css (gleiche Cache-Eintraege).
   ================================ */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/PlayfairDisplay-Variable.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/PlayfairDisplay-Italic-Variable.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Inter-Variable.woff2') format('woff2');
}

/* CLS: metrisch angeglichene Fallbacks (size-/ascent-override, berechnet mit fontTools aus
   PlayfairDisplay-Variable/Inter-Variable vs. Georgia/Arial). Beim Font-Swap springt der Text kaum noch. */
@font-face {
    font-family: 'Playfair Display Fallback';
    src: local('Georgia');
    /* nur Latin wie die Webfonts: Pfeile (U+2190/2192) usw. weiter aus system-ui, wie bisher */
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
    size-adjust: 101.55%;
    ascent-override: 106.55%;
    descent-override: 24.72%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('ArialMT');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
    size-adjust: 107.16%;
    ascent-override: 90.4%;
    descent-override: 22.51%;
    line-gap-override: 0%;
}

:root {
    --font-display: 'Playfair Display', 'Playfair Display Fallback', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
