/* Grundlegende Stile */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #f0f0f0; /* Helles Grau für Text */
    background-color: #0f1d38; /* Leichter Dunkelblauton */
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #ff9900; /* Orange */
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	justify-content: flex-start; /* Elemente an den Anfang rücken */
    gap: 40px;                  /* Einen Abstand zwischen Logo und Menü festlegen */
}

header .logo img {
    height: 70px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav li {
    margin-left: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #1a2a47; /* Akzentfarbe für Hover */
}

/* Hero-Sektion */
.hero {
    position: relative;
    height: 600px;
    color: #fff;
    text-align: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.5); /* Dunkle Überlagerung */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0 0 20px;
}

.cta-button {
    display: inline-block;
    background-color: #ff9900; /* Akzentfarbe */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e68a00;
}

/* Inhaltssektionen */
.content-section {
    padding: 60px 0;
    background-color: #1a2a47; /* Passender Dunkelblauton */
    margin-bottom: 20px;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ff9900;
    margin-bottom: 40px;
}

.section-image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.section-text p, .section-text ul {
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-text ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Kontaktseite */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #334e6e;
    background-color: #223c5d;
    color: #fff;
    border-radius: 5px;
}

.contact-form textarea {
    resize: vertical;
}

.map-container {
    overflow: hidden;
    position: relative;
    height: 400px;
    border-radius: 8px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background-color: #1a2a47;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    header nav {
        margin-top: 20px;
    }
    
    header nav ul {
        flex-direction: column;
        text-align: center;
    }

    header nav li {
        margin: 10px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================= */
/* CSS für mobiles Menü & Fix für Überlappung */
/* ========================================= */

/* 1. Verhindert, dass der Header den Inhalt verdeckt, wenn man einen Link anklickt */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Passen Sie diesen Wert an die Höhe Ihres Headers an */
}

/* 2. Style und Positionierung für den Hamburger-Button */
.menu-toggle {
    display: none; /* Standardmäßig auf dem Desktop versteckt */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Stellt sicher, dass der Button über anderen Elementen liegt */
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333; /* Farbe der Striche anpassen */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* 3. Media Query: Diese Styles gelten nur auf Bildschirmen bis 768px Breite */
@media (max-width: 768px) {

    /* Originale Navigation ausblenden und den Button einblenden */
    header .container nav {
        display: none; /* Versteckt die normale Navigationsleiste */
    }
    .menu-toggle {
        display: block; /* Zeigt den Hamburger-Button an */
    }

    /* Das mobile Menü als Vollbild-Overlay gestalten */
    nav#main-nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.98); /* Leicht durchsichtiger weißer Hintergrund */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    /* Styles für die Menüpunkte im mobilen Menü */
    nav#main-nav.active ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }
    nav#main-nav.active ul li {
        margin: 20px 0;
    }
    nav#main-nav.active ul li a {
        font-size: 1.5rem; /* Größere Schrift für bessere Lesbarkeit */
        text-decoration: none;
        color: #333;
    }

    /* Verhindert das Scrollen des Hintergrunds, wenn das Menü geöffnet ist */
    body.menu-open {
        overflow: hidden;
    }

    /* Animation für den Button (wird zu einem "X") */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* Stil für den Datenschutz-Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Dunkle, seriöse Farbe */
    color: #ecf0f1; /* Heller Text für Kontrast */
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2000;
    transform: translateY(100%); /* Startet außerhalb des sichtbaren Bereichs */
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0); /* Fährt nach oben ins Bild */
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.cookie-banner a {
    color: #3498db; /* Helles Blau für den Link */
    text-decoration: underline;
}

/* Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}
/* Container für die Banner-Buttons */
.banner-buttons {
    display: flex;
    gap: 15px; /* Abstand zwischen den Buttons */
    flex-shrink: 0; /* Verhindert, dass Buttons auf Mobilgeräten schrumpfen */
}

/* Stil für den Ablehnen-Button (weniger dominant) */
.secondary-button {
    background-color: transparent;
    color: #ecf0f1;
    border: 1px solid #ecf0f1;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.secondary-button:hover {
    background-color: #ecf0f1;
    color: #2c3e50;
}

/* Anpassung für mobile Ansicht */
@media (max-width: 768px) {
    .banner-buttons {
        width: 100%;
        justify-content: center;
    }
}