﻿/* =========================================
   Lokale Fonts – Inter + Poppins
   ========================================= */

@font-face {
    font-family: "Inter";
    src: url("./Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

/* ---------- Poppins ---------- */
@font-face {
    font-family: "Poppins";
    src: url("./Poppins-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("./Poppins-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

/* ---------- Fallback-Stack ---------- */
:root {
    --font-sans: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.fonts-loaded {
    opacity: 1;
}