/* --- Globale Stile & Basis-Reset --- */
:root {
    /* Ihre Original-Farbpalette */
    --color-primary: #a2773f; /* Gold-Braun Akzent */
    --color-secondary: #4e342e; /* Dunkelbraun für Header/Footer */
    --color-text: #3c2f2f;
    --color-background: #fdf5e6; /* Cremiger Hintergrund */
    --color-light-bg: #fff;
    --color-menue1: #ccc; /* Neutral für 40€ */
    --color-menue2: #c8a77a; /* Helles Gold für 45€ */
    --color-menue3: var(--color-primary); /* Starkes Gold für 50€ */

    /* NEU: Zusätzliche Variablen für modernes Design */
    --color-accent: #b89b6e; /* Hellerer Goldton */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif; /* Für Überschriften */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    /* Font-Stack aktualisiert, um Google Font zu nutzen */
    font-family: var(--font-primary); 
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}
/* Überschriften mit Serifenschrift für Eleganz */
h1,h2,h3,h4 { 
    color:var(--color-secondary); 
    line-height:1.2; 
    font-family: var(--font-secondary);
}
h2 { 
    font-size: 2.2rem; /* Größerer Titel */
    border-bottom: 2px solid var(--color-primary);
    display: inline-block; 
    padding-bottom: 5px;
    margin-bottom: 2rem; 
    letter-spacing: 1px;
}
.section-heading { 
    font-size: 1.6rem; 
    margin-top: 2.5rem;
    /* Etwas mehr Abstand */
    padding-top: 1rem; 
    border-top: 1px solid #ccc;
}
a { 
    color:var(--color-primary); 
    text-decoration:none;
    transition: color var(--transition-speed); 
}
a:hover { 
    color: var(--color-accent); 
    text-decoration:underline;
}

.container { max-width:1200px; margin:0 auto; padding:0 1rem; }
.section { 
    padding:6rem 0;
    /* Größere Sektionen */
}
.section-subtext { 
    font-size: 1.1rem; 
    color: #5a5a5a; 
    margin-bottom: 2rem; 
    padding: 1rem;
    border-left: 5px solid var(--color-accent); /* Akzentuierte Linie */
    background: var(--color-light-bg);
    /* Hellerer Hintergrund */
    border-radius: 4px; /* Abgerundete Ecken */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    /* Dezenter Schatten */
}
.section-subtext-small {
    font-size: 0.95rem; /* Leicht größer */
    color: #777;
    margin-top: -0.5rem; /* Weniger Negativabstand */
    margin-bottom: 1.5rem;
}
.section-subtext-large {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    margin-top: -1rem;
}
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem;
}
.hidden { display: none !important; }

/* NEU: Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}


/* --- Buttons --- */
.btn, button {
    background: var(--color-primary);
    color:#fff;
    padding:0.9rem 1.8rem;
    /* Größere Buttons */
    border:none; 
    border-radius:8px; /* Mehr abgerundete Ecken */
    cursor:pointer;
    transition:background 0.3s, transform 0.1s;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn:hover:not(:disabled), button:hover:not(:disabled) { 
    background:#8d6536; 
    transform: translateY(-2px);
    /* Stärkerer Hover-Effekt */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}
.btn:disabled, button:disabled { 
    background:#ccc !important; 
    cursor: not-allowed; 
    transform: none;
    box-shadow: none;
}
.btn.secondary { 
    background: var(--color-secondary); 
}
.btn.secondary:hover:not(:disabled) { 
    background: #3c2f2f;
}
.full-width-btn { 
    width: 100%; 
    margin-top: 2rem;
}

/* --- Header & Navigation --- */
.site-header { 
    background:var(--color-secondary); 
    position:sticky;
    top:0; 
    z-index:100; 
    box-shadow:0 2px 10px rgba(0,0,0,0.4);
    /* Stärkerer Schatten */
    padding:0.8rem 0; 
}
.header-inner { 
    display:flex; 
    align-items:center; 
    justify-content:space-between;
}
.logo { 
    color:var(--color-background); /* Helleres Logo */
    font-size:1.8rem;
    /* Größeres Logo */
    font-weight:700; 
    text-transform:uppercase;
    letter-spacing: 1.5px; 
    font-family: var(--font-secondary);
}
.main-nav a { 
    margin:0 1rem; 
    font-weight:500; 
    color:#fff; 
    padding:0.2rem 0; 
    border-bottom: 2px solid transparent; 
    transition: var(--transition-speed);
}
.main-nav a:hover { 
    color: var(--color-primary);
    border-bottom-color: var(--color-primary); 
    text-decoration: none;
}
.menu-toggle { 
    display: none; 
    font-size: 1.5rem;
    background: transparent;
    color: #fff;
    border: none;
    padding: 0;
} 
/* NEU: Klasse statt Inline Style für Sprachauswahl */
.header-controls {
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.lang-select {
    color: var(--color-secondary);
    background-color: var(--color-background); 
    border: 1px solid var(--color-primary); 
    padding: 0.5rem 0.7rem; 
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}
.insta-link { 
    font-weight: bold; 
    color: var(--color-primary) !important; 
    margin-left: 1.5rem !important;
    transition: color var(--transition-speed);
}
.insta-link:hover {
    color: #fff !important;
    background: var(--color-primary);
    padding: 5px 10px;
    border-radius: 4px;
}


/* --- HERO --- */

.hero {
    position: relative;
    /* Höhe für Desktop: Gut sichtbar, aber nicht zu dominant */
    height: 70vh; 
    min-height: 500px;
    /* Wichtig für Einzelbild: Hintergrund-Einstellungen */
    background-size: cover;
    background-position: center;
    /* Stellt sicher, dass der Container den Text zentriert */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Semi-transparenter Hintergrund für bessere Lesbarkeit */
    background-color: rgba(0, 0, 0, 0.4);
}

/* Der Text-Container in der neuen HTML-Struktur ist nun ein Kind des Overlays */
.hero-text {
    z-index: 10;
    color: #fff; 
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    position: relative;
    /* Wichtig, um über dem Overlay zu liegen */
}

.hero-text h1 { 
    font-size: 3.5rem; 
    margin-bottom: 0.5rem;
    color: #fff; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-family: var(--font-secondary);
} 

.hero-text p { 
    font-size: 1.5rem;
    margin-top: 0; 
    margin-bottom: 1.5rem; 
    font-weight: 300;
}
/* Slider-spezifische Stile (wie .slide, .hero-slider, buttons) wurden entfernt!
*/
/* --- Gallery Slider Fixes (Problem 2: Leerraum & Überlauf) --- */
/* Diese Stile überschreiben die alten Slider-Stile weiter unten und fügen den Leerraum-Fix hinzu */
.gallery-slider {
    position: relative;
    overflow-x: hidden; /* Verhindert das Scrollen nach rechts */
    width: 100%;
    /* Die folgenden Zeilen sind für den alten Slider-Code redundant, 
       aber für den neuen, von Hand geschriebenen Slider-Fix notwendig: */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 2rem; 
    height: 0; /* Wird von padding-top überschrieben */
    padding-top: 100%; /* Erzeugt das 1:1 Seitenverhältnis (Quadrat) */
}

.gallery-slider .slider-track {
    white-space: nowrap;
    /* KORREKTUR: Setzt die Schriftgröße auf 0, um Leerraum zwischen Inline-Elementen zu entfernen */
    font-size: 0;
    margin: 0; 
    padding: 0;

    transition: transform 0.4s ease-out;
    cursor: grab;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-slider .slider-track a {
    display: inline-block;
    vertical-align: top;
    /* Stellt die Schriftgröße für den Text/Image-Inhalt wieder her */
    font-size: 1rem; 
    min-width: 100%;
    width: 100% !important; /* Überschreibt alte Slider-Styles */
    height: 100% !important;
}

.gallery-slider .slider-track a img {
    width: 100%;
    height: 100% !important; /* Muss 100% sein für das Quadrat-Layout */
    object-fit: cover;
    display: block;
    border-radius: 4px;
}
/* --- Why Section / Benefits Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}
.benefit-item {
    background: var(--color-light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    font-weight: bold;
    color: var(--color-secondary);
    border-top: 4px solid var(--color-primary); /* Akzentlinie */
    transition: var(--transition-speed);
    text-align: center;
}
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.benefit-item > * {
    margin: 0;
}

/* --- Gallery Section --- */
.slider-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .slider-grid-container {
        grid-template-columns: 1fr 1fr;
    }
}
.slider-column {
    border: 1px solid #e0e0e0;
    padding: 1rem;
    border-radius: 8px;
    background: var(--color-light-bg);
    box-shadow: var(--shadow-light);
}
.slider-column h3 {
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px dashed #eee;
    padding-bottom: 0.5rem;
}
/* Die nächsten gallery-slider/slider-track/button-Styles sind älter, 
   werden aber von den Fixes weiter oben überschrieben und stören daher nicht. */
.gallery-slider {
    position: relative;
    overflow: hidden;
}
.slider-track {
    display: flex;
    transition: transform 0.4s ease-out;
    cursor: grab;
}
.slider-track.dragging {
    cursor: grabbing;
}
.slider-track a {
    min-width: 100%;
    flex-shrink: 0;
    display: block;
}
.slider-track img {
    width: 100%;
    height: 300px; /* Standardhöhe für Konsistenz */
    object-fit: cover;
    display: block;
    border-radius: 4px;
}
.gallery-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-secondary);
    border: 1px solid #ccc;
    font-size: 1.2rem;
    padding: 0.5rem 0.8rem;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.gallery-slider button.prev-slide {
    left: 10px;
}
.gallery-slider button.next-slide {
    right: 10px;
}
/* ... Alle deine CSS-Variablen (:root) und Reset-Stile bleiben hier ... */

/* --- Entferne Frauentag-spezifische Stile --- */

/* (Der Block .special-event-section wurde hier gelöscht) */

/* --- Optimierung der Trauerfeier-Karten --- */

/* =================================================================
   TRAUERFEIER SEKTION (OPTIK-FIX)
   ================================================================== */

/* Raster-Einstellungen */
.funeral-grid {
    display: flex; /* Nutze Flexbox statt Grid für bessere Höhenkontrolle */
    flex-wrap: wrap; /* Erlaubt Umbruch auf Mobilen Geräten */
    justify-content: center; /* Zentriert die Kästen, falls nur 1 oder 2 da sind */
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch; /* WICHTIG: Macht alle Kästen in einer Reihe gleich hoch */
}

/* Kasten-Einstellungen */
.f-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s, box-shadow 0.3s;
    
    /* Flexbox innerhalb des Kastens, um Inhalt sauber zu verteilen */
    display: flex;
    flex-direction: column;
    
    /* Breite kontrollieren: 3 nebeneinander, aber min. 300px */
    flex: 1 1 calc(33.333% - 2rem); 
    min-width: 300px;
    max-width: 400px; /* Verhindert, dass Kästen zu breit werden */
    position: relative; /* Für das Badge */
}

/* Hover-Effekt (optional, aber schön) */
.f-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Hervorgehobener Kasten (Paket) */
.f-card.highlighted {
    background: #fffbf5;
    border-color: var(--color-accent);
}

/* Icons & Titel-Normierung */
.f-card-icon { 
    font-size: 3rem; 
    margin-bottom: 1rem; 
    text-align: center;
}

.f-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 3.6rem; /* Normiert die Titelhöhe (ca. 2 Zeilen) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Listen-Optik im Kasten */
.f-card ul {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1; /* Drückt den restlichen Inhalt nach unten */
}

.f-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.f-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Badge-Optik */
.f-card-badge { 
    position: absolute; 
    top: -15px; 
    right: 20px; 
    background: var(--color-accent); 
    color: white; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: bold;
    box-shadow: var(--shadow-light);
}


/* =================================================================
   MOBILE NAVIGATION (UNTEREINANDER-FIX)
   ================================================================== */

/* Grundzustand (Desktop bleibt gleich) */
.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Mobile Ansicht (wird durch JS-Klasse .active getriggert) */
@media (max-width: 991px) {
    .main-nav {
        /* WICHTIG: Überschreibt Desktop-Flex auf Vertical Column */
        flex-direction: column !important; 
        
        display: none; /* Versteckt das Menü initial */
        position: absolute;
        top: 100%; /* Direkt unter dem Header */
        left: 0;
        width: 100%;
        background: #fff;
        padding: 2rem;
        box-shadow: var(--shadow-dark);
        z-index: 1000;
        gap: 1rem; /* Abstand zwischen den Links */
    }

    .main-nav.active {
        display: flex; /* Zeigt das Menü, wenn aktiv */
    }

    .main-nav a {
        width: 100%; /* Link füllt die Breite */
        text-align: center; /* Text zentriert */
        padding: 10px 0;
        border-bottom: 1px solid #eee; /* Optionale Trennlinie */
    }
    
    .main-nav a:last-child {
        border-bottom: none; /* Keine Trennlinie beim letzten Element */
    }
}

/* --- Catering / Menü Sektion --- */
.highlight-offer {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
    margin-bottom: 3rem;
}
.highlight-offer strong {
    color: var(--color-primary);
    font-size: 1.4rem;
}

.menue-selection-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 992px) {
    .menue-selection-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}
.menue-col {
    background: var(--color-light-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 3px solid transparent; /* Platzhalter für Rahmen */
    cursor: pointer;
}
.menue-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.menue-col.active-selection {
    border-color: var(--color-primary); /* Hervorhebung der aktiven Auswahl */
    box-shadow: 0 0 0 5px rgba(162, 119, 63, 0.3);
}

.menue-col h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--color-secondary);
    margin-top: 0;
}
.menue-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.menue-col-1 { background-color: #f8f8f8; } 
.menue-col-2 { background-color: #fdf5e6; } 
.menue-col-3 { background-color: #f7e9d7;
} 
.menue-col-3.active-selection { background-color: #f3e5d3; } /* Dunklere aktive Option */


.menue-col h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-top: 1.5rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--color-accent);
}

/* NEU: Checkbox-Styling */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px 0;
    transition: background 0.2s;
    position: relative;
}
.checkbox-group label:hover {
    background: rgba(162, 119, 63, 0.05);
}
.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}
.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.checkbox-group .disabled-option {
    opacity: 0.6;
    pointer-events: none;
    text-decoration: line-through;
    font-style: italic;
}
.checkbox-group .disabled-option span {
    color: #999;
}
.checkbox-group .active-limit-reached {
    opacity: 0.4;
    pointer-events: none;
}


/* Styling für die zentrale Auswahlboxen (Beilagen/Extras) */
.zentrale-auswahl-box {
    background: var(--color-light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile-Accordion Logik für Menü-Spalten (neuere/erweiterte Styles) */
@media (max-width: 767px) {
    .menue-col {
        border-radius: 8px;
        padding: 1rem;
    }
    .mobile-toggle-content {
        display: none;
        padding-top: 1rem;
        border-top: 1px solid #ddd;
        margin-top: 1rem;
    }
    .menue-col.active-selection .mobile-toggle-content {
        display: block;
    }
    .menue-col .menue-info {
        font-weight: bold;
        color: var(--color-secondary);
        position: relative;
        padding-right: 25px;
    }
    .menue-col.active-selection .menue-info::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 0;
        transform: rotate(180deg);
        transition: transform 0.3s;
    }
    .menue-col:not(.active-selection) .menue-info::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 0;
        transition: transform 0.3s;
    }
}


/* --- Contact Form Styling --- */
.contact-form {
    padding: 2rem;
    background: var(--color-light-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form input[type="date"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(162, 119, 63, 0.2);
    outline: none;
}
.contact-form textarea {
    resize: vertical;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.form-group-optional {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 15px;
}
@media (min-width: 768px) {
    .form-group-optional {
        grid-template-columns: 1fr 1fr 1fr;
        /* 3 Spalten nebeneinander */
    }
}
.form-group-optional label,
.form-group-optional input {
    grid-column: span 1;
}

.download-summe-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #ccc;
}
@media (min-width: 600px) {
    .download-summe-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
#summeAnzeige {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-secondary);
    white-space: nowrap;
}
#summeAnzeige strong {
    color: var(--color-primary);
    font-size: 1.6rem;
}


/* --- Kontakt & Anfahrt --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}
.contact-info-box {
    background: var(--color-light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}
.map-placeholder {
    background: #e9e9e9;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #777;
    font-style: italic;
    box-shadow: var(--shadow-light);
}


/* --- Footer --- */
.site-footer { 
    background: var(--color-secondary); 
    color: #fff; 
    padding: 2rem 0; 
    text-align: center;
    font-size: 0.9rem;
}
.site-footer a { 
    color: var(--color-primary); 
    margin: 0 5px;
}
.site-footer a:hover {
    color: var(--color-accent);
}

/* --- Responsive & Mobile Navigation --- */
@media (max-width: 768px) {
    .header-inner {
        padding: 0.5rem 1rem;
    }
    .main-nav {
        /* Mobile Menü als Overlay */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 90;
        padding-top: 60px;
    }
    .main-nav.active {
        transform: translateX(0);
    }
    .main-nav a {
        margin: 1rem 0;
        font-size: 1.5rem;
        padding: 0.5rem 0;
        border-bottom: none;
    }
    .menu-toggle {
        display: block;
        z-index: 100; /* Muss über dem Navigations-Overlay liegen */
        position: relative;
    }
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    .benefit-item {
        text-align: left;
    }
}

/* NEU: Lade-Overlay-Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9990;
    opacity: 1;
    transition: opacity 0.5s var(--transition-speed);
}
.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--color-primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg);
    }
}

/* NEU: Fade-in-on-scroll-Effekt (AOS-Ähnlich, simple JS-Implementierung) */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--transition-speed), transform 0.6s var(--transition-speed);
}
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
/* === SILVESTER-EVENT-BANNER STYLES === */
.silvester-event {
    padding: 60px 0;
    background-color: var(--color-light-bg); /* Heller Hintergrund */
}

.silvester-event .event-inner {
    display: flex;
    gap: 40px;
    align-items: center; /* Vertikal zentriert */
    max-width: 1200px;
    margin: 0 auto;
}

.silvester-event .event-text {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
    max-width: 50%;
}

.silvester-event h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.silvester-event .event-details {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 20px 0;
}

.event-image-container {
    flex: 1; /* Nimmt die andere Hälfte ein */
    min-width: 40%;
    overflow: hidden; /* Für saubere Ränder */
    border-radius: 8px; /* Leichte Rundung */
    box-shadow: var(--shadow-light);
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Stellt sicher, dass das Bild den Container füllt */
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
    .silvester-event .event-inner {
        flex-direction: column; /* Stapelt Bild und Text */
        gap: 30px;
        padding: 0 20px;
    }
    
    .silvester-event .event-text {
        max-width: 100%;
        text-align: center;
    }
    
    .silvester-event h2 {
        font-size: 2rem;
    }
}

/* === FRAUENTAG EVENT STYLES === */

.special-event-section {

    padding: 80px 0;

    background-color: var(--color-background); /* Das cremige Beige deiner Seite */

}

.event-card {

    display: flex;

    flex-direction: row;

    background: var(--color-light-bg);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: var(--shadow-light);

    border: 1px solid rgba(162, 119, 63, 0.2); /* Dezent goldener Rand */

}

.event-image-side {

    flex: 1;

    max-width: 45%;

    line-height: 0;

}

.event-image-side img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.event-content-side {

    flex: 1;

    padding: 60px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.event-label {

    color: var(--color-primary);

    text-transform: uppercase;

    letter-spacing: 3px;

    font-weight: 700;

    font-size: 0.85rem;

    margin-bottom: 15px;

    display: block;

}

.event-content-side h2 {

    font-family: var(--font-secondary);

    font-size: 3rem;

    color: var(--color-secondary);

    margin-bottom: 20px;

}

.event-date {

    font-weight: 700;

    font-size: 1.25rem;

    color: var(--color-text);

    margin-bottom: 25px;

    border-left: 3px solid var(--color-primary);

    padding-left: 15px;

}

.event-features {

    list-style: none;

    padding: 0;

    margin: 30px 0;

}

.event-features li {

    margin-bottom: 12px;

    font-size: 1.1rem;

    display: flex;

    align-items: center;

}

/* Mobile Optimierung */

@media (max-width: 992px) {

    .event-card {

        flex-direction: column;

    }

    .event-image-side {

        max-width: 100%;

        height: 400px;

    }

    .event-content-side {

        padding: 40px 20px;

    }

    .event-content-side h2 {

        font-size: 2.2rem;

    }

}
.funeral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.f-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s;
}
.f-card.highlighted {
    background: #fffbf5;
    border-color: var(--color-accent);
    transform: scale(1.05);
}
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-5 { margin-bottom: 3rem; }

