        /* Grundlayout */
        * {
            box-sizing: border-box;
        }
        body {
            margin: 0;
            font-family: Arial, sans-serif;
            padding-top: 80px; /* Platz für den festen Header */
            padding-bottom: 60px; /* Platz für den fixen Footer */
            background-color: #f9f9f9;
        }

        /* HEADER-BEREICH */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #4CAF50;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            z-index: 1000;
        }
        header .logo {
            display: flex;
            align-items: center;
        }
        header .logo img {
            margin-right: 10px;
            height: 60px;
        }
        header .logo h1 {
            margin: 0;
            font-size: 1.5rem;
        }

        /* HAUPTMENÜ */
        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap; 
        }
        nav ul li {
            margin: 0 10px;
        }
        nav ul li a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            padding: 8px 12px;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        nav ul li a:hover {
            background-color: #2E7D32;
        }
        nav ul li a.active {
            background-color: #2E7D32;
            font-weight: bold;
        }

        /* SLIDESHOW */
        .slideshow {
            margin-top: 0;
            margin-bottom: 0;
            height: 175px;
            position: relative;
            overflow: hidden;
        }
        .slideshow img {
            width: 100%;
            height: 175px;
            object-fit: cover;
            position: absolute;
            animation: fade 15s infinite;
            opacity: 0;
        }
        .slideshow img:nth-child(1) { animation-delay: 0s; opacity: 1; }
        .slideshow img:nth-child(2) { animation-delay: 3s; }
        .slideshow img:nth-child(3) { animation-delay: 6s; }
        .slideshow img:nth-child(4) { animation-delay: 9s; }
        .slideshow img:nth-child(5) { animation-delay: 12s; }

        @keyframes fade {
            0%   { opacity: 1; }
            20%  { opacity: 1; }
            25%  { opacity: 0; }
            95%  { opacity: 0; }
            100% { opacity: 1; }
        }

        /* INHALT */
        .content {
            display: none; /* Standard: unsichtbar */
            margin: 0;
            padding: 20px;
            text-align: center; /* Text zentrieren */
        }
        .content.active {
            display: flex; /* Flexbox aktivieren */
            flex-direction: column;
            align-items: center; /* Horizontale Zentrierung */
            /* Optional: Vertikale Zentrierung entfernen, falls nicht gewünscht */
            /* justify-content: center; */
        }

        /* GÄRTEN-BEREICH (Sub-Menü) */
        #gaerten .sub-nav {
            background-color: #4CAF50;
            padding: 10px 0;
        }
        .sub-nav ul {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            margin: 0;
            padding: 0;
            justify-content: center;
        }
        .sub-nav li {
            margin: 0 10px;
        }
        .sub-nav li a {
            background-color: #4CAF50;
            color: white;
            border-radius: 4px;
            padding: 8px 12px;
            text-decoration: none;
            transition: background-color 0.2s;
            font-size: 16px;
        }
        .sub-nav li a:hover {
            background-color: #2E7D32;
        }
        .sub-nav li a.active {
            background-color: #2E7D32;
            font-weight: bold;
        }

        /* GOOGLE MAP */
        #map {
            width: 100%;
            height: calc(100vh - 80px); /* Platz für Header und Footer */
            margin: 0;
            padding: 0;
        }

        /* FOOTER (fixiert) */
        footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 10px 0;
            position: fixed;
            bottom: 0;
            width: 100%;
            height: 60px; /* Höhe des Footers */
        }
        footer a {
            color: #4CAF50;
            text-decoration: none;
            margin: 0 10px;
        }

        /* MEDIA QUERIES: RESPONSIVE-ANPASSUNG SCHMALER VIEWPORT */
        @media screen and (max-width: 600px) {
            header {
                flex-direction: column;
                align-items: flex-start;
                padding: 10px;
            }
            .logo {
                margin-bottom: 10px;
            }
            nav ul {
                width: 100%;
                justify-content: flex-start;
            }
            nav ul li {
                margin: 5px 10px 5px 0;
            }
            .slideshow {
                height: 120px;
            }
            .slideshow img {
                height: 120px;
            }
            .sub-nav ul {
                flex-direction: column;
                align-items: flex-start;
            }
            .sub-nav li {
                margin: 10px 0;
            }
            .sub-nav li a {
                width: auto;
            }
            #map {
                height: calc(100vh - 120px); /* Anpassung bei kleinem Viewport */
            }
        }

        /* FAB-Button */
        .fab {
            position: fixed; /* Fixiert am Bildschirm */
            top: 200px; /* Unterhalb der Slideshow */
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: #4CAF50;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-size: 2rem;
            text-decoration: none;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            transition: background-color 0.2s;
            z-index: 9999;
            cursor: pointer;
        }
        .fab:hover {
            background-color: #2E7D32;
        }

        /* Overlay/Modal für den Upload */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: none; 
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-content-upload {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 2px 10px rgba(0,0,0,0.5);
            position: relative;
            text-align: center;
        }
        .modal-content-upload h2 {
            margin: 0 0 15px;
        }
        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            background: none;
            border: none;
            color: #333;
        }

        /* Upload-Box (Drag & Drop) */
        .upload-box {
            width: 100%;
            max-width: 400px;
            margin: 20px auto;
            padding: 30px;
            border: 2px dashed #4CAF50;
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.2s, border-color 0.2s;
            position: relative;
            background-color: #E8F5E9;
        }
        .upload-box h3 {
            margin: 0;
            font-size: 1rem;
            color: #388E3C;
        }
        .upload-box input[type="file"] {
            display: none;
        }
        .upload-box:hover {
            border-color: #2E7D32;
            background-color: #C8E6C9;
        }
        .upload-box.dragover {
            background-color: #C8E6C9;
            border-color: #2E7D32;
        }
        #previewImage {
            display: none;
            max-width: 100%;
            margin-top: 20px;
            border: 2px solid #4CAF50;
            border-radius: 4px;
        }

        /* Buttons im Overlay */
        .button-row {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }
        .btn-upload {
            background-color: #4CAF50;
            color: #fff;
            border: none;
            border-radius: 4px;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.2s;
        }
        .btn-upload:hover {
            background-color: #2E7D32;
        }

        /* Fortschrittsbalken */
        .progress-container {
            width: 100%;
            background-color: #eee;
            border-radius: 4px;
            margin-top: 10px;
            display: none;
        }
        .progress-bar {
            width: 0%;
            height: 8px;
            background-color: #4CAF50;
            border-radius: 4px;
            transition: width 0.2s ease;
        }
        .upload-message {
            margin-top: 10px;
            padding: 10px;
            border-radius: 4px;
            color: #fff;
            background-color: #4CAF50; 
            display: none;
            white-space: pre-wrap;
        }
        .upload-message.error {
            background-color: #e53935; /* Rot, wenn Fehler */
        }

        /* Galerie-Jahresüberschrift */
        .gallery-year {
            background-color: #4CAF50;
            color: #fff;
            text-align: center;
            font-size: 24px;
            margin: 20px 0;
            padding: 10px;
            width: 100%;
            display: block;
            box-sizing: border-box;
        }

        /* Styling des Kalenders */
        #calendar {
            margin: 20px auto;
            text-align: center;
            max-width: 350px; /* Verkleinerte Breite des Kalenders */
        }

        /* Flatpickr spezifisches Styling: Anpassung auf grün */
        /* Override Flatpickr's default colors to match green theme */
        .flatpickr-calendar {
            border-color: #4CAF50;
        }

        .flatpickr-month {
            background-color: #4CAF50;
            color: white;
        }

        .flatpickr-day:hover {
            background-color: #81C784; /* Helleres Grün beim Hover */
            color: white;
        }

        .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
            background-color: #388E3C; /* Dunkleres Grün für ausgewählte Tage */
            color: white;
        }

        .flatpickr-day.disabled {
            background-color: #E0E0E0;
            color: #9E9E9E;
            cursor: not-allowed;
        }

        /* Overlay (Modal) Styling */
        .modal {
            display: none; /* Initial versteckt */
            position: fixed; 
            z-index: 1000; /* Über dem Inhalt */
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgba(0,0,0,0.5); /* Halbtransparenter Hintergrund */
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease;
            opacity: 0;
            pointer-events: none;
        }

        .modal.active {
            opacity: 1;
            pointer-events: all;
        }
        .modal-content {
            background-color: #fefefe;
            margin: 0; /* Entfernt margin: 10% auto; */
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 400px;
            border-radius: 5px;
            position: relative;
        }

        /* Schließen-Button */
        .close {
            color: #aaa;
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
        }

        /* Styling des Formulars im Modal */
        #bookingFormModal label {
            display: block;
            margin-bottom: 5px;
            color: #333;
        }

        #bookingFormModal input[type="text"],
        #bookingFormModal input[type="tel"],
        #bookingFormModal input[type="email"] {
            width: 100%;
            padding: 8px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        #bookingFormModal button[type="submit"] {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
        }

        #bookingFormModal button[type="submit"]:hover {
            background-color: #45a049;
        }

        /* Meldungsbereich außerhalb des Modals */
        #bookingMessage {
            display: none;
            padding: 10px;
            margin: 10px auto; /* Horizontale Zentrierung */
            border-radius: 4px;
            text-align: center;
            width: 90%;
            max-width: 500px;
        }

        #bookingMessage.success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        #bookingMessage.error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        #bookingMessage.warning {
            background-color: #fff3cd;
            color: #856404;
            border: 1px solid #ffeeba;
        }

        /* Meldungsbereich innerhalb des Modals */
        #modalBookingMessage {
            display: none;
            padding: 10px;
            margin: 10px auto; /* Horizontale Zentrierung */
            border-radius: 4px;
            text-align: center;
            width: 90%;
            max-width: 500px;
        }

        #modalBookingMessage.success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        #modalBookingMessage.error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        #modalBookingMessage.warning {
            background-color: #fff3cd;
            color: #856404;
            border: 1px solid #ffeeba;
        }

        /* Galerie-Bilder */
        .gallery-images {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .gallery-images img {
            cursor: pointer;
            transition: transform 0.2s;
            display: block;
            margin: 10px auto; /* Horizontale Zentrierung */
        }
        .gallery-images img:hover {
            transform: scale(1.05);
        }

        /* Buchungsformular im Modal */
        #bookingFormModal {
            width: 100%;
            max-width: 400px;
            margin: 0 auto; /* Horizontale Zentrierung */
        }
        #home {
            display: flex; /* Flexbox für Zentrierung */
            flex-direction: column;
            align-items: center; /* Horizontale Zentrierung */
            justify-content: center; /* Vertikale Zentrierung */
            padding: 20px;
            margin: 0 auto; /* Horizontale Zentrierung */
            width: 100%; /* Standardbreite */
            max-width: 800px; /* Maximale Breite */
            text-align: center; /* Text zentriert */
            background-color: #fff; /* Optional: Hintergrundfarbe */
            border: 1px solid #ddd; /* Optional: Rand */
            border-radius: 8px; /* Optionale abgerundete Ecken */
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional: Schatten */
            box-sizing: border-box; /* Padding und Border in die Breite einberechnen */
        }

        #home {
            display: none; /* Standardmäßig unsichtbar */
        }

        #home.active {
            display: flex; /* Sichtbar, wenn aktiv */
        }


        /* Styling für den Aktuelles-Bereich */
        .aktuelles-item {
            position: relative;
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #fff;
            width: 100%; /* Standard: 100% Breite */
            max-width: 800px; /* Maximalbreite */
            margin-left: auto; /* Horizontales Zentrieren */
            margin-right: auto; /* Horizontales Zentrieren */
            box-sizing: border-box; /* Padding und Border werden zur Breite hinzugefügt */
        }

        .aktuelles-date {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 0.9em;
            color: #777;
        }

        /* Optional: Hover-Effekt */
        .aktuelles-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        /* Container für das Bild-Grid */
        .image-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Drei Spalten */
            gap: 20px; /* Abstand zwischen den Bildern */
            justify-items: center; /* Zentriert die Bilder innerhalb der Grid-Zellen */
            margin-bottom: 20px; /* Abstand nach unten */
        }

        /* Bilder in der Grid-Anzeige */
        .image-grid img {
            width: 150px; /* Breite der Bilder */
            height: auto; /* Höhe automatisch skalieren */
            cursor: pointer; /* Zeiger zeigt auf Klickbarkeit hin */
            border-radius: 8px; /* Optionale abgerundete Ecken */
            transition: transform 0.2s, box-shadow 0.2s; /* Sanfte Übergänge bei Hover */
        }

        .image-grid img:hover {
            transform: scale(1.05); /* Leichtes Vergrößern beim Hover */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten beim Hover */
        }
        /* Container für Vorstandsmitglieder */
        /* Styling für den Vorstand-Container */
        .vorstand-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            justify-items: center;
            padding: 20px;
        }

        /* Styling für jedes Vorstandsmitglied */
        .vorstand-member {
            text-align: center;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            background-color: #fff;
        }

        .vorstand-member img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .vorstand-member h3 {
            margin: 10px 0 5px;
        }

        .vorstand-member p {
            margin: 0;
            font-size: 0.9rem;
            color: #555;
        }