/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8fafc;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 70px;
    width: 100%;
    padding: 0 20px;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    justify-self: start;
    z-index: 2;
}

.logo span {
    color: #0284c7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-self: center;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0284c7;
}

.btn-nav {
    background-color: #0284c7;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s;
    text-decoration: none;
    font-weight: 500;
    justify-self: end;
    z-index: 2;
}

.btn-nav:hover {
    background-color: #0369a1;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    justify-self: end;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1e293b;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Footer Styles */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px 0;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    display: grid;
    /* Angepasst: Gibt dem Kontaktblock (letzter Wert) genügend Breite */
    grid-template-columns: 1.8fr 1fr 1fr 2.2fr;
    gap: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-about p {
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-contact p a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover,
.footer-contact p a:hover {
    color: #0284c7;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap; /* Verhindert das unschöne Umbrechen/Auseinanderreißen in einer Zeile */
}

.cta-btn {
    display: inline-block;
    background-color: #0284c7;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.cta-btn:hover {
    background-color: #0369a1;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1e293b;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.cookie-content a {
    color: #38bdf8;
    text-decoration: underline;
}

/* Globale Responsives */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* Wechselt ab Tablet-Größe auf ein 2-Spalten-Layout */
    }
}

@media (max-width: 768px) {
    /* Header Grid für Mobile anpassen, damit das Menü rechts bleibt */
    .nav-container {
        grid-template-columns: 1fr auto;
    }

    .menu-toggle {
        display: flex;
        justify-self: end;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        border-top: 1px solid #e2e8f0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Einspaltig auf dem Smartphone */
    }

    .footer-contact p {
        white-space: normal; /* Erlaubt auf Handys wieder den normalen Zeilenumbruch, falls der Platz eng wird */
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}