/* Angepasste Legal Styles mit neuem Hintergrund */
@keyframes backgroundShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, 
        var(--color-purple-ultra) 0%, 
        var(--color-purple-deeper) 35%,
        var(--color-purple-dark) 65%, 
        var(--color-purple-ultra) 100%);
    background-size: 300% 300%;
    background-attachment: fixed;
    animation: backgroundShift 60s ease infinite;
    position: relative;
    z-index: 0;
    min-height: 100vh;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
                radial-gradient(circle at 90% 10%, rgba(225, 29, 72, 0.05) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    -webkit-backface-visibility: hidden;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    -webkit-backface-visibility: hidden;
}

.header, .legal-header, .legal-section, .team-intro, .faq-section, .footer {
    position: relative;
    z-index: 1;
}

.legal-header {
    padding: 10rem 0 4rem;
    text-align: center;
    background: transparent;
}

.intro-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

.team-intro {
    padding: 2rem 0 4rem;
}

.team-intro .glass-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.legal-section {
    padding: 4rem 0;
    background: transparent;
}

.legal-section::before {
    display: none;
}

.legal-card, .faq-item {
    margin-bottom: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.legal-card h3, .faq-item h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.05), transparent 70%);
    border-radius: 28px;
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .legal-header {
        padding-top: 8rem;
    }
    
    .team-intro .glass-card {
        padding: 1.5rem;
    }
}
