/* ==========================================================================
   AGB & Legal Styles - Factory Blueprint (Passend zu deiner index.html)
   ========================================================================== */

:root {
    --navy: #0b1f3a;
    --navy-light: #132f52;
    --turquoise: #00a6a6;
    --turquoise-light: #19c3c3;
    --white: #ffffff;
    --gray: #f4f6f8;
    --text: #1c2938;
    --text-muted: #606f7b;
}

/* Grundaufbau */
body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* =========================
   Header & Navigation (Sorgt für Konsistenz)
========================= */
.legal-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding-bottom: 20px;
}

/* Nutzt exakt deine bestehenden Navigations-Klassen */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 30px 40px;
}

.logo {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.logo span {
    color: var(--turquoise-light);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--turquoise-light);
}

/* =========================
   AGB Haupt-Content
========================= */
.legal-text-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Hauptüberschrift */
.legal-text-container h1 {
    color: var(--navy);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

/* Stand der AGB */
.legal-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 25px;
}

/* Die mintgrüne Trennlinie aus deinem Branding */
.legal-divider {
    border: 0;
    height: 4px;
    background: var(--turquoise);
    margin-bottom: 50px;
    border-radius: 2px;
}

/* Einzelne Paragrafen */
.legal-section {
    margin-bottom: 40px;
}

/* §-Überschriften */
.legal-section h2 {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

/* Fließtext im B2B-Blocksatz */
.legal-section p {
    font-size: 1rem;
    color: var(--text);
    margin-top: 0;
    margin-bottom: 14px;
    text-align: justify;
}

/* Absatznummern (1), (2) fett hervorheben */
.legal-section p strong {
    color: var(--navy);
    margin-right: 4px;
}

/* =========================
   Hervorhebung Haftungsausschluss (§ 6)
========================= */
.highlight-section {
    background-color: var(--gray);
    padding: 30px;
    border-left: 4px solid var(--turquoise);
    border-radius: 0 4px 4px 0;
}

/* =========================
   Einfacher Footer
========================= */
.site-footer {
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 40px;
    font-size: 0.9rem;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   Responsive Optimierung (Smartphone)
========================= */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .legal-text-container {
        margin: 40px auto;
        padding: 0 20px;
    }

    .legal-text-container h1 {
        font-size: 1.8rem;
    }

    .legal-section p {
        text-align: left; /* Blocksatz auf dem Handy deaktivieren */
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}