/* ─── FONTS (lokal gehostet, DSGVO-konform) ─── */

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    src: url('../fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-serif-display-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-serif-display-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Serif Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-serif-display-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Serif Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-serif-display-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── TOKENS ─── */

:root {
    --ink: #0e0e0e;
    --ink-soft: #161616;
    --cream: #f5f0e8;
    --gold: #c8a84b;
    --gold-light: #e8d49a;
    --muted: #6b6560;
    --header-h: 72px;
    --pad-x: clamp(1.5rem, 5vw, 4rem);
    --pad-y: clamp(2.5rem, 6vw, 5rem);
    --soft-bg: rgba(245, 240, 232, 0.10);
}

/* ─── BASE ─── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
    overflow-x: hidden;
}

body {
    background-color: var(--ink);
    color: var(--cream);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.55;
}

a { color: inherit; }

/* Body offset für sticky Header oben + fixed Footer unten */
body.has-header {
    padding-top: var(--header-h);
    padding-bottom: 52px;
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../img/noise.svg');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
}

/* ── GRID LINES ── */
.grid-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-lines span {
    border-left: 1px solid rgba(200, 168, 75, 0.06);
}

/* ─── ANIMATIONS ─── */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─── RESPONSIVE TWEAKS ─── */

@media (max-width: 768px) {
    .deco-circle { display: none; }
    .features { grid-template-columns: 1fr; gap: 2.5rem; }
    footer.site-footer { flex-direction: column; align-items: flex-start; }
}

