/* =====================================================================
   SCHRIFT INTER — VOM EIGENEN SERVER
   =====================================================================
   Bisher kam die Schrift von fonts.googleapis.com. Dabei wurde bei
   jedem Seitenaufruf die IP-Adresse des Besuchers an Google übertragen.

   Jetzt liegen die Dateien auf dem eigenen Server. Das hat drei Gründe:

     1. Es gehen keine Besucherdaten mehr an Google. Der Abschnitt
        "Schriftarten von Google" in der Datenschutzerklärung kann weg.

     2. Die Seite lädt schneller. Statt erst Googles Stylesheet zu holen
        und daraus die Schriftdateien, wird direkt geladen.

     3. Sie bleibt stabil. Ist Google einmal nicht erreichbar, sieht die
        Seite trotzdem richtig aus.

   Eingebunden sind fünf Schnitte (400 bis 800), nur lateinische
   Zeichen - zusammen rund 115 KB.
   ===================================================================== */

/* font-display: swap zeigt sofort eine Ersatzschrift und tauscht sie
   aus, sobald Inter geladen ist. Ohne das bleibt der Text kurz
   unsichtbar - besonders auf langsamen Mobilverbindungen störend. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

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

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

/* ---------------------------------------------------------------------
   FRAUNCES — für Überschriften

   Wurde bisher per @import aus marke.css von Google geladen. Ein @import
   ist dabei besonders ungünstig: Der Browser findet ihn erst, wenn er
   marke.css schon geladen hat, und muss dann ein zweites Mal warten.
   --------------------------------------------------------------------- */

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/fraunces-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/fraunces-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/fraunces-latin-700-normal.woff2') format('woff2');
}
