/* ==========================================================================
   LEGAL.CSS - Styles für Impressum und Datenschutz
   - Farbschema passend zum Kontakt-Bereich
   - Dunkler Hintergrund mit heller Schrift
   ========================================================================== */

/* --------------------------------------------------------------------------
   Rechtliche Seiten Container
   -------------------------------------------------------------------------- */
.legal-page {
    min-height: calc(100vh - 200px);
    padding: 8rem 2rem 4rem;
}

.legal-container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: var(--font-2xl);
    color: var(--accent);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.legal-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Inhalt-Bereich
   -------------------------------------------------------------------------- */
.legal-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

/* Typografie */
.legal-content h2 {
    color: var(--accent);
    font-size: var(--font-lg);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--light);
    font-size: var(--font-md);
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: rgba(255, 255, 255, 0.85);
    margin: 1rem 0;
    padding-left: 1.5rem;
}

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

.legal-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.legal-content a:hover {
    border-bottom-color: var(--accent);
    text-decoration: none;
}

.legal-content strong {
    color: var(--light);
}

.legal-content em {
    color: rgba(255, 255, 255, 0.7);
}

.legal-content hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   Footer / Zurück-Link
   -------------------------------------------------------------------------- */
.legal-footer {
    margin-top: 3rem;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .legal-page {
        padding: 6rem 1rem 3rem;
    }

    .legal-page h1 {
        font-size: var(--font-xl);
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h2 {
        font-size: var(--font-md);
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.25rem;
    }

    .legal-page h1 {
        font-size: 1.5rem;
    }
}
