/* ========================================
   Impressum und Datenschutz – Styling
   
   Typografie konsequent:
   - H1 (Seitentitel) = Serif (identitätsstiftend)
   - H2 (Abschnitts-Überschriften) = Sans, mit Letter-Spacing
                                     und uppercase für klare Hierarchie
   - Body = Sans
   ======================================== */

.legal-body {
    min-height: 100vh;
    display: block;
    align-items: initial;
    justify-content: initial;
    padding: 4rem 2rem 4rem;
}

.legal-main {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    
    opacity: 0;
    animation: fadeIn 1s ease-out 0.1s forwards;
}

.back-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.back-link:hover,
.back-link:focus {
    color: var(--color-text);
}

/* Seitentitel: Serif, identitätsstiftend */
.legal-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
}

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

/* Abschnitts-Überschriften: Sans, durch Letter-Spacing und Uppercase 
   klar von Body abgesetzt (statt durch Schriftart-Wechsel) */
.legal-section h2 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.legal-section p {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section .mail {
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.legal-section .mail:hover,
.legal-section .mail:focus {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

/* Mobile */
@media (max-width: 480px) {
    .legal-body {
        padding: 2.5rem 1.5rem 3rem;
    }
    
    .back-link {
        margin-bottom: 2rem;
    }
    
    .legal-title {
        margin-bottom: 2rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
    }
}
