/* ===================== Root & Allgemein ===================== */
:root {
    --header-height: 80px; /* Höhe des fixierten Headers */
}

* {
    box-sizing: border-box; /* globales Box-Sizing */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    color: #333;
}

/* ===================== Header ===================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 140px;
    height: auto;
}

.logo a {
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    color: black;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s, text-decoration 0.3s;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #00B2EE;
    text-decoration: underline;
    outline: none;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===================== Responsive Header ===================== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: var(--header-height);
        left: 0;
        border-top: 1px solid #ddd;
        z-index: 999;
        padding: 20px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .main-nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav li {
        margin: 15px 0;
        text-align: center;
    }

    .main-nav a {
        font-size: 20px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        transition: background-color 0.3s, color 0.3s;
        border-radius: 8px;
    }

    .main-nav a:hover,
    .main-nav a:focus {
        background-color: #00B2EE20;
        color: #004080;
    }

    .hamburger {
        display: block;
    }

    .logo-img {
        max-width: 75px;
        height: auto;
    }

    .logo a {
        font-size: 22px;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* ===================== Hauptinhalt ===================== */
main {
    padding-top: calc(var(--header-height) + 20px);
}

section, .quote-section {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ===================== Zitat ===================== */
.quote-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.quote {
    font-style: italic;
    font-size: 18px;
    color: #004080;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===================== Callout-Box ===================== */
.callout-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #e6f0ff;
}

.callout-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.callout-container h2 {
    font-size: 24px;
    color: #004080;
    margin-bottom: 20px;
}

.callout-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.callout-container ul li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.callout-container ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #00B2EE;
    font-weight: bold;
}

/* ===================== Vorteile ===================== */
.vorteile-section {
    text-align: left;
    padding: 40px 50px;
    background-color: #ffffff;
}

.vorteile-section h2 {
    font-size: 24px;
    color: #004080;
    margin-bottom: 20px;
}

.vorteile-list {
    list-style: none;
    padding: 0;
}

.vorteile-list li {
    font-size: 18px;
    margin: 10px 0;
}

.vorteile-list .nummer {
    margin-left: 10px;
    font-weight: normal;
    color: black;
}

/* ===================== Leistungen ===================== */
.leistungen-section {
    padding: 40px 50px;
    background-color: #f9f9f9;
}

.leistungen-section h2 {
    font-size: 24px;
    color: #004080;
    margin-bottom: 30px;
}

.leistungen-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.leistung {
    flex: 1 1 220px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.leistung:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.leistung-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.leistung h3 {
    font-size: 20px;
    color: #004080;
    margin-bottom: 10px;
    min-height: 60px;
}

.leistung p {
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

/* Mobile Leistungen */
@media (max-width: 1200px) {
    .leistung {
        flex: 1 1 calc(33.33% - 16px);
    }
}

@media (max-width: 768px) {
    .leistungen-container {
        flex-direction: column;
        gap: 20px;
    }

    .leistung {
        flex: 1 1 100%;
    }
}

/* ===================== Warum AnspruchPlus ===================== */
.warum-anspruchplus {
    padding: 50px 50px;
    background-color: #f0f8ff;
}

.warum-anspruchplus h2 {
    font-size: 24px;
    color: #004080;
    margin-bottom: 25px;
}

.warum-anspruchplus p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.warum-anspruchplus strong {
    color: #004080;
}

/* ===================== Über uns ===================== */
.ueber-uns-section {
    padding: 50px;
    background-color: #ffffff;
}

.ueber-uns-section h2 {
    font-size: 24px;
    color: #004080;
    margin-bottom: 30px;
}

.ueber-uns-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.ueber-uns-text {
    flex: 1 1 400px;
    font-size: 16px;
    line-height: 1.6;
}

/* ===================== Preise ===================== */
.preise-section {
    padding: 50px 50px;
    background-color: #ffffff;
}

.preise-section h2 {
    font-size: 24px;
    color: #004080;
    margin-bottom: 30px;
}

.preise-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.preis-box {
    flex: 1 1 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.preis-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.preis-box h3 {
    font-size: 20px;
    color: #004080;
    margin-bottom: 15px;
}

.preis-box p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.preis {
    font-weight: bold;
    font-size: 18px;
    color: #004080;
    margin-top: 20px;
}

.preis-hinweis {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-top: 20px;
}

/* ===================== Kontakt ===================== */
.kontakt-section {
    padding: 50px 50px;
    text-align: center;
}

.kontakt-section h2 {
    font-size: 28px;
    color: #004080;
    margin-bottom: 15px;
}

.kontakt-section p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Formular */
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease-in-out;
}

.kontakt-form:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.kontakt-form label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
    display: block;
    font-size: 16px;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    border-color: #004080;
    box-shadow: 0 0 5px rgba(0,64,128,0.3);
    outline: none;
}

.kontakt-form button {
    background-color: #004080;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.kontakt-form button:hover {
    background-color: #00B2EE;
}

/* ===================== Footer ===================== */
.main-footer {
    background-color: #fff;
    color: black;
    padding: 30px 50px;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.03);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.footer-section a {
    color: black;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* ===================== Datenschutzerklärung ===================== */
.datenschutz-section {
    padding: 50px;
    background-color: #fff;
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.datenschutz-section h1 {
    font-size: 28px;
    color: #004080;
    margin-bottom: 30px;
    text-align: center;
}

.datenschutz-section h2 {
    font-size: 22px;
    color: #004080;
}

/* ===================== Datenschutzerklärung Checkbox ===================== */
.datenschutz-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.datenschutz-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.datenschutz-checkbox label {
    color: #333;
    line-height: 1.4;
    font-weight: normal;
}

.datenschutz-checkbox a {
    color: #004080;
    text-decoration: underline;
}

.datenschutz-checkbox a:hover {
    color: #00B2EE;
}
