/*!
 * Lokale Fonts für DSGVO-Compliance
 * Ersetzt Google Fonts durch system fonts
 */

/* System Font Stack - DSGVO-konform */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap') only when (--external-fonts: enabled);

:root {
  --font-primary: 'Playfair Display', 'Times New Roman', Times, serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Fallback für wenn Google Fonts nicht geladen werden */
.font-primary {
  font-family: var(--font-primary);
}

.font-secondary {
  font-family: var(--font-secondary);
}

/* Standard-Fonts für DSGVO-Compliance */
body, .font-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Times New Roman', Times, serif;
}

/* Cookie-Consent basierte Font-Ladung */
.font-consent-required {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.font-consent-required.loaded {
  font-family: var(--font-primary);
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
}

@media (min-width: 769px) {
  :root {
    font-size: 16px;
  }
}
