/* ===================================
   Legal Pages (Impressum, Datenschutz)
   =================================== */

.legal-page {
    min-height: 100vh;
}

.legal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.legal-background .bg-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.legal-background .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 42, 95, 0.7);
}

.legal-background .particles-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: screen;
}

/* Content */
.legal-content {
    padding: 120px 0 60px;
    min-height: calc(100vh - 150px);
}

.legal-content h1 {
    color: var(--color-accent);
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    color: var(--color-accent);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 2.5rem 0 1rem;
}

.legal-content h3 {
    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: bold;
    margin: 2rem 0 0.75rem;
}

.legal-content p {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-content a {
    color: var(--color-text);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.legal-content a:hover {
    opacity: 0.8;
}

.legal-content ul {
    color: var(--color-accent);
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Legal blocks */
.legal-block {
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

/* Back button */
.back-link {
    display: inline-block;
    margin-top: 3rem;
    color: var(--color-accent) !important;
    text-decoration: none !important;
    font-size: 2rem;
    transition: transform 0.2s;
}

.back-link:hover {
    transform: translateX(-5px);
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 0 40px;
    }

    .legal-content h1 {
        font-size: 1.3rem;
    }

    .legal-content h2 {
        font-size: 1rem;
    }

    .legal-content p {
        font-size: 0.95rem;
    }
}
