/* --- RESET & BASIS --- */
* {
    box-sizing: border-box;
}

/* --- 1. HAMBURGER BUTTON (Muss GANZ OBEN stehen!) --- */
.hamburger-btn {
    display: none; /* Das versteckt das Rechteck auf dem Desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 6px 0;
}

/* --- BASIS SETUP (Erweitert: Verhindert blaues Blitzen) --- */
html, body {
    background-color: #ffffff; /* ZWINGT den Hintergrund auf Weiss */
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh; /* Sorgt für volle Höhe */
}

img {
    display: block;
    max-width: 100%;
}

a {
    transition: all 0.3s;
}

/* --- LAYOUT CONTAINER --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-narrow {
    max-width: 900px; /* Für Text-fokussierte Bereiche */
    margin: 0 auto;
}

/* --- SEKTIONEN --- */
.site-header {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.section-hero {
    padding: 160px 60px 140px;
    background: #fafafa;
    text-align: center; /* ZENTRIERUNG HINZUGEFÜGT */
}

/* Hilfsklassen für Zentrierung im Hero-Bereich */
.section-hero .divider {
    margin-left: auto;
    margin-right: auto;
}

.section-hero .text-lead {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.section-standard {
    padding: 100px 60px;
    background: white;
}

.section-gray {
    padding: 120px 60px;
    background: #fafafa;
}

.section-footer {
    padding: 80px 60px 60px;
    background: white;
    border-top: 1px solid #e8e8e8;
}

.section-blue-gradient {
    padding: 100px 60px;
    background: linear-gradient(135deg, #002D5B 0%, #003d7a 100%);
    color: white;
    text-align: center;
}

/* --- TYPOGRAFIE --- */
.logo-text {
    font-weight: 300;
    font-size: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-weight: 600;
}

.h1-hero {
    font-size: 4.5rem;
    line-height: 1.05;
    font-weight: 200;
    color: #002D5B;
    margin-bottom: 50px;
    letter-spacing: -2px;
}

.h1-hero-large { /* Für die Index Seite */
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 200;
    color: #002D5B;
    margin-bottom: 50px;
    letter-spacing: -3px;
    max-width: 1200px; /* VERGRÖSSERT von 900px auf 1200px */
    margin-left: auto; /* ZENTRIERUNG */
    margin-right: auto; /* ZENTRIERUNG */
}

.h2-standard {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.h3-item {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.text-meta {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 40px;
    font-weight: 500;
    display: block;
}

.text-lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
}

.text-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    font-weight: 300;
}

.text-small {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

/* --- NAVIGATION --- */
.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.nav-link.active {
    font-weight: 600;
}

.nav-cta {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 28px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #1a1a1a;
    color: white;
}

.lang-switch {
    border-left: 1px solid #ccc;
    padding-left: 30px;
    margin-left: -10px;
    display: flex;
    gap: 15px;
}

.lang-active {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: default;
}

.lang-link {
    text-decoration: none;
    color: #999;
    font-size: 0.8rem;
    font-weight: 400;
}

.lang-link:hover {
    color: #1a1a1a;
}

/* --- KOMPONENTEN --- */
.divider {
    width: 80px; /* Standard */
    height: 2px;
    background: #1a1a1a;
    margin-bottom: 50px;
}

.divider.small {
    width: 60px;
}

.btn-primary {
    display: inline-block;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 16px 40px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #1a1a1a;
    color: white;
}

.link-inline {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    font-weight: 400;
}

.number-marker {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 200;
    opacity: 0.3;
}

/* --- GRIDS & LISTEN --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e8e8e8; /* Erzeugt die feinen Linien zwischen den Boxen */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px; /* oder gap: 100px ohne bg */
}

.grid-2-gap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.grid-box {
    background: white;
    padding: 70px 50px;
}

.grid-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.list-row-item {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 100px;
}

.list-border-item {
    padding: 35px 0;
    border-bottom: 1px solid #e8e8e8;
}

.list-border-item:last-child {
    border-bottom: none;
}

/* Eine Klasse für den fetten Akzent in der Hero-Überschrift */
.hero-accent {
    font-weight: 600; /* Deutlicher Kontrast zu den 200 der Überschrift */
    color: #002D5B;   /* Bleibt in der Corporate Farbe */
}

/* --- MOBILE AUDIT FIXES (RESPONSIVE) --- */
/* --- MOBILE AUDIT FIXES (RESPONSIVE V2 - HAMBURGER) --- */
@media only screen and (max-width: 768px) {

    /* 1. Header Layout: Logo links, Burger rechts, Menü darunter */
    .site-header .container {
        display: flex;
        flex-wrap: wrap; /* Erlaubt Umbruch für das Menü */
        justify-content: space-between; /* Logo links, Button rechts */
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* 2. Button sichtbar machen */
    .hamburger-btn {
        display: block; /* Zeigt den Button nur auf Mobile */
    }

    /* 3. Navigation: Standardmäßig verstecken */
    .nav-list {
        display: none; /* Versteckt! */
        width: 100%;   /* Volle Breite wenn aufgeklappt */
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
        background: #fff;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

    /* 4. Die Klasse für das aktive Menü (wird via JS gesetzt) */
    .nav-list.active {
        display: flex; /* Zeigt das Menü an, wenn geklickt */
    }

    /* 5. Anpassung der Menü-Abstände im offenen Zustand */
    .nav-list li {
        margin-bottom: 20px;
    }
    
    .lang-switch {
        justify-content: center;
        margin-bottom: 20px;
        margin-left: 0;
        border: none;
    }

    /* --- RESTE VOM VORHERIGEN SCHRITT (LAYOUT FIXES) --- */
    .container, .section-hero, .section-standard, .section-gray, .section-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .h1-hero-large { font-size: 2.8rem; }
    .h1-hero { font-size: 2.5rem; }
    
    .grid-3, .grid-2, .grid-footer {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
