/* Self-hosted Webfonts (2026-05-30)
 * Inter + DM Sans + DM Mono — vorher von Google Fonts geladen, jetzt lokal aus
 * /assets/fonts/. Spart Safari 7s FCP-Block (Webfont-Block-Bug) + Firefox 7s
 * Cold-Cache. Plus: keine 3rd-party-DNS/TLS Roundtrips mehr.
 *
 * font-display: swap → Text rendert sofort in System-Fallback, switched zum
 * Webfont sobald geladen. KEIN BLANK-RENDER mehr.
 *
 * woff2-Files sind variable-fonts (DM Sans + Inter), decken mehrere Weights
 * mit einer Datei ab — Browser nutzt Glyph entsprechend dem font-weight.
 */

/* ── Inter ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../assets/fonts/Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../assets/fonts/Inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../assets/fonts/Inter-700.woff2') format('woff2');
}

/* ── DM Sans ────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/DMSans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../assets/fonts/DMSans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../assets/fonts/DMSans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../assets/fonts/DMSans-700.woff2') format('woff2');
}

/* ── DM Mono ────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/DMMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../assets/fonts/DMMono-500.woff2') format('woff2');
}
