/**
 * Lokale Font-Definitionen für EXTRAPOL-Umgebung
 * Ersetzt externe Typekit-Fonts durch lokal gehostete Alegreya-Fonts
 */

/* Alegreya - Regular (400) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-regular.woff2') format('woff2');
}

/* Alegreya - Italic (400) */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-italic.woff2') format('woff2');
}

/* Alegreya - Medium (500) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-500.woff2') format('woff2');
}

/* Alegreya - Medium Italic (500) */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-500italic.woff2') format('woff2');
}

/* Alegreya - SemiBold (600) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-600.woff2') format('woff2');
}

/* Alegreya - SemiBold Italic (600) */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-600italic.woff2') format('woff2');
}

/* Alegreya - Bold (700) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-700.woff2') format('woff2');
}

/* Alegreya - Bold Italic (700) */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-700italic.woff2') format('woff2');
}

/* Alegreya - ExtraBold (800) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-800.woff2') format('woff2');
}

/* Alegreya - ExtraBold Italic (800) */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-800italic.woff2') format('woff2');
}

/* Alegreya - Black (900) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-900.woff2') format('woff2');
}

/* Alegreya - Black Italic (900) */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('./alegreya-v39-latin/alegreya-v39-latin-900italic.woff2') format('woff2');
}

/* Fallback auf System-Fonts */
:root {
  --font-primary: 'Alegreya', Georgia, "Times New Roman", Times, serif;
  --font-secondary: Georgia, "Times New Roman", Times, serif;
  --font-monospace: "Courier New", Courier, monospace;
}

body {
  font-family: var(--font-primary);
}

/* Für spezifische Adobe Captivate Klassen */
.cp-text,
.cp-button,
.cp-slide,
#app {
  font-family: var(--font-primary);
}

