/* Self-hosted latin subsets — Inter (variable 100-900), Fragment Mono (400) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-variable-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fragment Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fragment-mono-latin.woff2') format('woff2');
}

/* Metric-matched Fallback — verhindert Layout-Shift während font-display:swap */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 100.5%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* Metric-matched Fallbacks — verhindern Layout-Shift während font-display:swap
   (Größen via Canvas-Messung abgeglichen, 2026-09-26) */
@font-face {
  font-family: 'Fragment Fallback';
  src: local('Courier New');
  size-adjust: 97.1%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}
