/* 
 * Pirates Park FKK Saunaclub
 * Styling für rechtliche Seiten (Impressum, Datenschutz, AGB)
 */

/* Container für rechtliche Inhalte */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Einzelne Abschnitte */
.legal-section {
    margin-bottom: 2.5rem;
    position: relative;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    padding-bottom: 0.8rem;
}

.legal-text {
    color: var(--silver);
    font-size: 1.1rem;
    line-height: 1.7;
}

.legal-text p {
    margin-bottom: 1rem;
}

/* Letzte Aktualisierung */
.last-updated {
    color: var(--silver);
    font-style: italic;
    font-size: 0.9rem;
    text-align: right;
    margin-top: 2rem;
    opacity: 0.8;
}

/* Anpassungen für FAQ-Kontakt-Bereich */
.faq-contact {
    margin: 4rem auto;
    max-width: 700px;
}

.contact-box {
    background-image: url('../img/backgrounds/pergament.png');
    background-size: cover;
    color: #5A3921;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: scrollFloat 8s infinite ease-in-out;
}

.contact-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.faq-empty {
    text-align: center;
    padding: 3rem;
    color: var(--silver);
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin: 2rem 0;
}

/* Hover-Effekte für Abschnitte */
.legal-section:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

.legal-section:hover h2 {
    color: #FFD700;
    transition: color 0.3s ease;
}

/* Gestaffelte Animation für rechtliche Abschnitte */
.legal-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--section-index, 0) * 0.1s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover-Effekt für CTA-Button */
.contact-box .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .legal-container {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-text {
        font-size: 1rem;
    }
    
    .contact-box {
        padding: 2rem;
    }
    
    .contact-box h2 {
        font-size: 1.6rem;
    }
    
    .contact-box p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .legal-container {
        padding: 1rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-box {
        padding: 1.5rem;
    }
}