/* --- BASIS EINSTELLUNGEN --- */
:root {
    --primary-color: #7DBA29; /* Dein Herberge-Grün */
    --secondary-color: #6aa123; /* Ein etwas dunkleres Grün für Effekte */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

* {
    box-sizing: border-box; /* Wichtig für korrekte Abstände */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Moderne Schriftart-Kette */
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6; /* Bessere Lesbarkeit für KIs und Menschen */
}

a {
    text-decoration: none;
    transition: all 0.3s ease; /* Weiche Übergänge bei Effekten */
}

ul {
    list-style-type: none;
}

strong {
    color: var(--primary-color); /* Hebt wichtige Wörter grün hervor */
    font-weight: 600;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: var(--white);
    padding: 10px 0;
    position: sticky; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

/* Neuer, aufgeteilter Container-Code: */
.container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    height: 60px; /* Logo Größe */
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px; /* Abstand zwischen Menüpunkten */
}

nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
}

nav a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color); /* Grüner Unterstrich beim Drüberfahren */
}

/* --- HERO BEREICH (Das große Startbild) --- */
.hero {
    /* Die dunkle Maske über dem ganzen Bild wurde hier entfernt! */
    background: url('startbild.webp') no-repeat center center/cover;
    height: 80vh; /* 80% der Bildschirmhöhe */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.3); /* Halbtransparente schwarze Box */
    padding: 20px; /* Platz nach innen */
    border-radius: 30px; /* Schöne abgerundete Ecken */
    max-width: 600px; /* Damit die Box nicht zu riesig wird */
    /* Ein moderner Apple-artiger Unschärfe-Effekt für den Hintergrund: */

}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Schatten für bessere Lesbarkeit auf Bildern */
}

.hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Ein moderner Button-Style */
.btn-main {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
}

.btn-main:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px); /* Button hebt sich leicht an */
}

/* --- HAUPTBEREICH (Inhalt) --- */
main {
    padding: 80px 0;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 36px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

/* Kleiner grüner Strich unter den Hauptüberschriften */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
}

/* --- HÄUSER / KAPAZITÄTEN (Karten-Layout) --- */
.card-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: var(--white);
    flex: 1; /* Beide Karten gleich breit */
    border-radius: 15px;
    overflow: hidden; /* Damit Ecken abgerundet bleiben */
    box-shadow: 0 5px 25px rgba(0,0,0,0.07); /* Moderner, weicher Schatten */
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); /* Hebt sich beim Drüberfahren an */
    box-shadow: 0 10px 35px rgba(125, 186, 41, 0.2); /* Grüner Schatten-Effekt */
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Bild füllt den Platz aus ohne zu verzerren */
}

.card-content {
    padding: 30px;
}

.card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card ul {
    color: var(--text-light);
}

.card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Styling für die neuen Font Awesome Icons in den Karten */
.card li i {
    color: var(--primary-color); /* Macht die Icons in deinem Grün */
    font-size: 18px;
    width: 30px; /* Einheitliche Breite, damit der Text immer bündig auf einer Linie anfängt */
    text-align: center;
    margin-right: 10px;
}

/* Styling für die Icons in der Ausstattungs-Liste unten */
.feature-list li i {
    color: var(--primary-color);
    font-size: 22px;
}

/* --- AUSSTATTUNG MIT BILD (50/50 Layout) --- */
.feature-split {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.feature-image, .feature-text {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-list li {
    background: var(--bg-light);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-dark);
    color: #a0a0a0;
    text-align: center;
    padding: 30px;
}

/* --- RESPONSIVE DESIGN (Für Handys) --- */
@media (max-width: 992px) {
    .card-grid, .feature-split {
        flex-direction: column; /* Stapelt die Karten untereinander auf Tablets/Handys */
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .container {
        flex-direction: column;
        gap: 15px;
    }
}


/* --- KONTAKTFORMULAR --- */
.contact-form-container {
    max-width: 700px; /* Etwas breiter gemacht, damit alles gut reinpasst */
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-heading {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.form-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
}

/* NEU: Felder nebeneinander anordnen */
.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1; /* Alle Felder in einer Reihe sind gleich breit */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label.sub-label {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-light);
}

/* Alle Eingabefelder im gleichen Design */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(125, 186, 41, 0.3);
}

.form-hinweis {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

button[type="submit"] {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Damit die Felder auf dem Handy wieder untereinander rutschen */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Spezielles Design für das Datumsfeld (Kalender) */
input[type="date"] {
    cursor: pointer;
    text-transform: uppercase; /* Macht das Datumsformat sauberer */
    color: var(--text-dark);
}

/* Damit das Kalender-Icon auf der rechten Seite auch in deinem Grün erscheint (Chrome/Edge) */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(56%) sepia(85%) saturate(362%) hue-rotate(44deg) brightness(95%) contrast(88%); 
    /* Dieser Filter nähert sich deinem Grün #7DBA29 an */
}
/* --- PROFIE COOKIE MANAGER --- */
.cookie-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}
.cookie-overlay.show { display: block; }

.cookie-manager {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: #2c3e50; /* Dein dunkles Blau/Anthrazit */
    color: white;
    padding: 30px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-size: 14px;
}
.cookie-manager.show { transform: translateY(0); }

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.cookie-main-text { flex: 2; min-width: 300px; }
.cookie-options { flex: 1; min-width: 250px; display: flex; flex-direction: column; gap: 10px; }
.cookie-actions { flex: 0.5; min-width: 150px; }

.cookie-link-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    border: 1px solid white;
    color: white;
    font-weight: bold;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-full {
    background: #ff2d55; /* Das auffällige Pink/Rot aus deinem Bild oder dein --primary-color */
    color: white;
    border: none;
    padding: 15px 25px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* Der kleine schwebende Button zum Korrigieren */
#cookie-settings-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9997;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .cookie-content { flex-direction: column; }
}

/* --- BUTTONS IN DEN HAUS-KARTEN --- */

/* Sorgt dafür, dass Liste und Buttons nebeneinander stehen */
.card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 10px;
}

/* Die Liste behält ihre Flexibilität */
.card-body ul {
    flex: 1;
}

/* Container für die Buttons auf der rechten Seite */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 150px; /* Breite der Buttons */
}

/* Styling der Buttons passend zu deinem Design */
.btn-house {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px; /* Passend zu deinen Formularfeldern */
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.btn-house:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- RESPONSIVE ANPASSUNG --- */
/* Auf dem Handy untereinander stapeln, damit es nicht zu quetschen beginnt */
@media (max-width: 600px) {
    .card-body {
        flex-direction: column;
    }
    .card-buttons {
        width: 100%;
        min-width: unset;
    }
}
.card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}
/* --- NEU: BUTTONS NEBEN DER LISTE --- */

.card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Abstand zwischen Liste und Buttons */
    margin-top: 10px;
}

.card-body ul {
    flex: 1; /* Liste nimmt den linken Platz ein */
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px; /* Breite der Buttons auf der rechten Seite */
}

.btn-house {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.btn-house:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobil-Optimierung: Auf dem Handy Buttons wieder unter die Liste */
@media (max-width: 600px) {
    .card-body {
        flex-direction: column;
    }
    .card-buttons {
        width: 100%;
    }
}
/* --- MODERNES BILDER MODAL --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px); /* Moderner Unschärfe-Effekt */
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 1100px;
    border-radius: 20px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* --- BILDER VERGRÖSSERN (ZOOM) --- */
img.zoomed {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    z-index: 9999 !important;
    /* Macht den Hintergrund dunkel: */
    box-shadow: 0 0 0 100vmax rgba(0,0,0,0.85) !important;
    border-radius: 10px !important;
    cursor: zoom-out !important;
    object-fit: contain !important;
}
/* --- AUSFLUGSZIELE & UMGEBUNG --- */
.ausflugs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ausflugs-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden; /* Wichtig: Schneidet die Ecken der Bilder oben rund ab */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--primary-color); /* Grüner Balken jetzt unten, sieht edler aus */
}

.ausflugs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 186, 41, 0.2); 
}

/* NEU: Das Bild in der Ausflugskarte */
.ausflugs-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* NEU: Ein Container für den Text, damit er Abstand zum Rand hat */
.ausflugs-content {
    padding: 25px;
}

.ausflugs-card h3 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ausflugs-card h3 i {
    color: var(--primary-color);
    font-size: 24px;
}

.ausflugs-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
    padding-left: 20px;
    position: relative;
}

.ausflugs-card ul li::before {
    content: '\2713';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* NEU: Klickbare Links unten in der Karte */
.ausflugs-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 15px;
}

.ausflugs-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
/* Styling für die Links in der Ausflugs-Liste */
.ausflugs-card ul li a {
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-color);
    transition: color 0.3s ease;
}

.ausflugs-card ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
/* --- KOSTENLOSES FREIBAD BANNER --- */
.freibad-promo {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 60px 0;
}

.freibad-image {
    flex: 1;
    min-height: 400px;
    /* Dein eigenes Freibad-Bild wird geladen: */
    background: url('freibad.webp') no-repeat center center/cover;
}

.freibad-text {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.freibad-badge {
    align-self: flex-start;
    background-color: #ff2d55; /* Auffälliges Rot für Geschenke/Aktionen */
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 20px;
}

.freibad-text h2 {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.freibad-text h2::after {
    display: none; /* Den grünen Strich unter der Überschrift hier ausblenden */
}

.freibad-text p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Auf dem Handy das Bild nach oben und den Text nach unten schieben */
@media (max-width: 768px) {
    .freibad-promo {
        flex-direction: column;
    }
    .freibad-image {
        min-height: 250px;
    }
    .freibad-text {
        padding: 30px 20px;
    }
}