/* --- Globale Stile & Resets --- */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            height: 100%;
        }



        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        main {
            flex-grow: 1; /* Sorgt dafür, dass der main-Bereich wächst und der Footer unten bleibt */
            padding: 2rem 0;
        }

            p {
            margin-bottom: 1rem;
        }

        img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }

  

        a:hover {
            text-decoration: underline;
        }

        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background-color: #d90429; /* Roter Akzent */
            color: #ffffff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .btn:hover {
            background-color: #b20021;
            text-decoration: none;
        }
        
        .btn-secondary {
            background-color: #6c757d;
        }
        .btn-secondary:hover {
            background-color: #5a6268;
        }


        /* --- Header & Hauptnavigation --- */
        .main-header {
            background-color: #000000;
            color: #ffffff;
            padding: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .main-header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
        }

        .logo a {
            color: #ffffff;
            text-decoration: none;
        }

        .logo-accent {
            color: #d90429; /* Roter Akzent */
        }

        .main-nav ul {
            display: flex;
            list-style-type: none;
        }

        .main-nav li {
            position: relative; /* Für Dropdowns */
        }

        .main-nav li a {
            display: block;
            color: #ffffff;
            padding: 0.5rem 1rem;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;
            border-radius: 4px;
        }

        .main-nav li a:hover {
            background-color: #d90429;
            text-decoration: none;
        }
        
        /* Dropdown-Menü (Ebene 1) */
        .dropdown-l1 {
            display: none;
            position: absolute;
            background-color: #111;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            z-index: 100;
            border-radius: 0 0 8px 8px;
        }
        
        .main-nav li:hover > .dropdown-l1 {
            display: block;
        }

        .dropdown-l1 li {
            width: 100%;
        }

        .dropdown-l1 li a {
            padding: 0.75rem 1rem;
            white-space: nowrap;
        }

        /* Dropdown-Menü (Ebene 2) - 3. Ebene insgesamt */
        .dropdown-l2 {
            display: none;
            position: absolute;
            left: 100%;
            top: 0;
            background-color: #222;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            border-radius: 0 8px 8px 0;
        }

        .dropdown-l1 li:hover > .dropdown-l2 {
            display: block;
        }

        /* Mobile Menu Toggle */
        #mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }

        /* --- Seiten-Container --- */
        /* Simuliert die einzelnen Seiten. Nur eine ist sichtbar. */
        .page-content {
            display: none;
        }

        .page-content.active {
            display: block;
            animation: fadeIn 0.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Spezielles Layout für Bildergalerie */
        .image-gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2rem;
        }

        .image-gallery .gallery-item {
            flex-basis: 300px; /* Basisbreite */
            flex-grow: 1; /* Erlaubt wachsen */
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .image-gallery .gallery-item img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Kontaktformular */
        .contact-form {
            max-width: 700px;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 1rem;
        }
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }


        /* --- Footer --- */
        .main-footer {
            background-color: #1a1a1a;
            color: #f4f4f4;
            padding: 2.5rem 0;
            margin-top: 3rem;
        }

        .main-footer .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
        }

        .footer-col {
            flex-basis: 200px;
        }

        .footer-col h4 {
            color: #ffffff;
            margin-bottom: 1rem;
            border-bottom: 2px solid #d90429;
            padding-bottom: 0.5rem;
            display: inline-block;
        }

        .footer-nav ul {
            list-style-type: none;
        }

        .footer-nav li {
            margin-bottom: 0.5rem;
        }

        .footer-nav a {
            color: #f4f4f4;
        }
        .footer-nav a:hover {
            color: #d90429;
            text-decoration: none;
        }

        /* --- Cookie Consent Banner (NEU) --- */
        #cookie-consent-banner {
            display: none; /* Wird per JS angezeigt */
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #000000;
            color: #ffffff;
            padding: 1.5rem;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
            z-index: 1000;
            border-top: 2px solid #d90429;
        }

        #cookie-consent-banner .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        #cookie-consent-banner p {
            margin: 0;
            flex-grow: 1;
        }
        
        #cookie-consent-banner p a {
            color: #d90429;
            font-weight: bold;
        }

        #cookie-consent-banner .cookie-buttons {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        /* --- Cookie Einstellungs-Modal (NEU) --- */
        #cookie-settings-modal {
            display: none; /* Wird per JS angezeigt */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1001;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }

        #cookie-settings-modal .modal-content {
            background-color: #ffffff;
            color: #333;
            padding: 2rem;
            border-radius: 8px;
            max-width: 600px;
            width: 100%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            position: relative;
        }

        #cookie-settings-modal .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 2rem;
            color: #aaa;
            background: none;
            border: none;
            cursor: pointer;
            line-height: 1;
        }

        #cookie-settings-modal .cookie-category {
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
            padding-bottom: 1rem;
        }

        #cookie-settings-modal .cookie-category:last-of-type {
            border-bottom: none;
            margin-bottom: 0;
        }

        #cookie-settings-modal .cookie-category label {
            font-weight: bold;
            margin-left: 0.5rem;
        }
        
        #cookie-settings-modal .cookie-category p {
            font-size: 0.9rem;
            color: #555;
            margin-left: 1.75rem; /* Einrückung passend zur Checkbox */
            margin-top: 0.25rem;
            margin-bottom: 0;
        }

        #cookie-settings-modal .modal-buttons {
            margin-top: 1.5rem;
            text-align: right;
        }


        /* --- Responsive Design (Media Queries) --- */
        @media (max-width: 768px) {
            .logo {
                font-size: 1.5rem;
            }

            /* Mobile Menu */
            .main-nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 65px; /* Höhe des Headers anpassen */
                left: 0;
                width: 100%;
                background-color: #111;
                box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            }
            
            /* JS-gesteuerte Klasse zum Einblenden */
            .main-nav ul.active {
                display: flex;
            }

            .main-nav li {
                width: 100%;
            }

            .main-nav li a {
                border-bottom: 1px solid #333;
            }

            /* Dropdowns im Mobile-Modus */
            .dropdown-l1, .dropdown-l2 {
                position: static;
                display: block; /* Immer sichtbar, wenn Elternelement aktiv */
                background-color: transparent;
                box-shadow: none;
                border-radius: 0;
                padding-left: 1rem;
            }

            .dropdown-l1 li a {
                color: #ddd;
            }
            .dropdown-l2 li a {
                color: #bbb;
                padding-left: 2rem;
            }

            .main-nav li:hover > .dropdown-l1 {
                display: block; /* Behält Block-Display bei */
            }
            .dropdown-l1 li:hover > .dropdown-l2 {
                display: block; /* Behält Block-Display bei */
            }


            #mobile-menu-toggle {
                display: block;
            }

            /* Footer */
            .main-footer .container {
                flex-direction: column;
                text-align: center;
            }
            .footer-col h4 {
                display: block;
            }

            /* Cookie Banner */
            #cookie-consent-banner .container {
                flex-direction: column;
                text-align: center;
            }
            #cookie-consent-banner .cookie-buttons {
                justify-content: center;
                width: 100%;
            }
            #cookie-consent-banner .cookie-buttons .btn {
                width: 100%;
                margin: 0.25rem 0;
            }
            
            /* Cookie Modal */
            #cookie-settings-modal .modal-content {
                max-height: 90vh;
                overflow-y: auto;
            }
            #cookie-settings-modal .modal-buttons {
                text-align: center;
            }
            #cookie-settings-modal .modal-buttons .btn {
                width: 100%;
            }