/* 1. VARIABLEN & BASIS */
:root {
    --sand: #fdfaf5;
    --gold: #c5a059;
    --ocean: #1a2e35;
    --text-light: #ffffff;
    --border-color: rgba(26, 46, 53, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--sand);
    color: var(--ocean);
    overflow-x: hidden;
    line-height: 1.6;
}

.serif { 
    font-family: 'Playfair Display', serif; 
}

/* 2. NAVIGATION */
.glass-nav { 
    background: rgba(253, 250, 245, 0.9); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(26, 46, 53, 0.05); 
}

/* 3. HERO SEKTION (PARALLAX FIX) */
.hero-gradient { 
    position: relative;
    /* Hier wird das Bild direkt mit dem Verlauf kombiniert */
    background: linear-gradient(135deg, rgba(253, 250, 245, 0.8) 0%, rgba(243, 236, 224, 0.8) 100%), 
                url('../img/palmen.jpg'); 
    background-attachment: fixed; /* Der Parallax-Effekt */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 4. SEKTIONS-ÜBERGÄNGE & FARBEN */
.bg-ocean { 
    background-color: var(--ocean); 
    color: var(--text-light);
}

.text-gold { 
    color: var(--gold); 
}

/* 5. FAQ STYLING */
.faq-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer { 
    max-height: 500px; 
    padding-bottom: 30px;
}

.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
    color: var(--gold); 
}

.faq-answer p { 
    opacity: 0; 
    transform: translateY(-10px); 
    transition: all 0.4s ease; 
}

.faq-item.active .faq-answer p { 
    opacity: 1; 
    transform: translateY(0); 
}

/* 6. ANIMATIONEN (REVEAL) */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.floating { 
    animation: float 6s ease-in-out infinite; 
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* 7. RESPONSIVE ANPASSUNGEN */
@media (max-width: 1024px) {
    .hero-gradient {
        background-attachment: scroll; /* Deaktiviert Parallax auf Mobilgeräten für bessere Performance */
    }
}

@media (max-width: 768px) {
    .serif { 
        font-size: 2.5rem !important; 
        line-height: 1.2 !important; 
    }
    .hero-title { 
        font-size: 3rem !important; 
    }
    section {
        padding: 60px 0; /* Etwas weniger Padding auf dem Handy */
    }
}