/* ============================================
   SCHRIFT-DEKLARATIONEN — REPSYNC
   Lokal gehostet, DSGVO-konform.

   SETUP-ANLEITUNG (vor Live-Gang):

   1. TTFs herunterladen
      - Cormorant Garamond: https://fonts.google.com/specimen/Cormorant+Garamond
        Benoetigt: Regular(400), Italic(400), Medium(500), SemiBold(600), Bold(700)
      - Geist: https://vercel.com/font/sans
        Benoetigt: Light(300), Regular(400), Medium(500), SemiBold(600)
      - Geist Mono: https://vercel.com/font/mono
        Benoetigt: Regular(400), Medium(500)

   2. TTF -> WOFF2 konvertieren (ca. 70% kleiner)
      - Online: https://transfonter.org/   (Dateien lokal verarbeitet)
      - CLI:    pip install fonttools brotli
                pyftsubset INPUT.ttf --flavor=woff2 \
                  --unicodes="U+0000-00FF,U+0100-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF" \
                  --output-file=output.woff2

   3. Resultierende WOFF2-Dateien nach /public/assets/fonts/ legen
      mit den Dateinamen, die unten in src: url(...) referenziert sind.

   Lizenz: alle drei Schriften unter SIL Open Font License 1.1.
   Lizenz-Hinweis im Impressum ist Pflicht (siehe Briefing, Abschnitt A).
   ============================================ */

/* Cormorant Garamond — Display */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-bold.woff2') format('woff2');
}

/* Geist — Body */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/geist-light.woff2') format('woff2');
}

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

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/geist-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/geist-semibold.woff2') format('woff2');
}

/* Geist Mono — Zahlen, technische Akzente */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/geist-mono-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/geist-mono-medium.woff2') format('woff2');
}

/* Fallback-Stacks fuer plattformuebergreifende Konsistenz */
:root {
  --font-display: 'Cormorant Garamond', 'Times New Roman', Times, serif;
  --font-body: 'Geist',
               -apple-system,
               BlinkMacSystemFont,
               'Segoe UI',
               'Helvetica Neue',
               Arial,
               sans-serif;
  --font-mono: 'Geist Mono',
               'SF Mono',
               'Cascadia Code',
               'Consolas',
               'Liberation Mono',
               monospace;
}
