/* ===== Grundeinstellungen ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #1a1a18;
    /* warmes Anthrazit statt reinem Schwarz */
    background-color: #ffffff;
}

/* ===== HEADER ===== */
.header-box {
    position: sticky;
    /* scrollt mit, klebt dann oben fest */
    top: 0;
    z-index: 10;
    /* liegt über dem Hero */
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    /* oben/unten 0, links/rechts auto = mittig */
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    /* Logo links, Nav rechts */
    align-items: center;
    /* beide auf gleicher Höhe */
}

/* Logo */
.header-logo {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #1a1a18;
    text-decoration: none;
}

.header-logo-gau {
    font-weight: 700;
}

/* Navigation */
.header-links ul {
    /* Nachfahren-Selektor: nur die ul im Header */
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.header-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1a1a18;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    /* unsichtbare Linie, damit nichts springt */
}

.header-links a:hover {
    border-bottom-color: #1a1a18;
}

/* aktuelle Seite markieren */
.header-links a[aria-current="page"] {
    border-bottom-color: #1a1a18;
}

/* ===== HEADER im dunklen Zustand (Klasse kommt per JavaScript auf den body) ===== */
.header-box {
    transition: background-color 0.4s, border-color 0.4s;
}

.is-dark .header-box {
    background-color: #1a1a18;
    border-bottom-color: #33332f;
}

.is-dark .header-logo,
.is-dark .header-links a {
    color: #f0efe9;
}

.is-dark .header-links a:hover,
.is-dark .header-links a[aria-current="page"] {
    border-bottom-color: #f0efe9;
}