/* ==========================================================================
 * Legal-Pages -- Impressum / Datenschutz
 * Light-only, eigenständige Seite ohne SPA.
 * ========================================================================== */

html[data-theme="light"] body,
body {
    background: #FAFAF6;
    color: #141319;
    font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 20px 64px;
}
@media (min-width: 900px) {
    .legal-page { padding: 40px 32px 96px; }
}

/* Header */
.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 40px;
    border-bottom: 1px solid #E5E3DD;
    margin-bottom: 40px;
}
.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #141319;
    text-decoration: none;
    font-family: var(--font-headline, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 18px;
}
.legal-brand-rocket {
    font-size: 22px;
    line-height: 1;
}
.legal-back {
    color: #4A4855;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;
    transition: background-color .15s;
}
.legal-back:hover {
    background: #EFEDE7;
    color: #141319;
}

/* Inhalt */
.legal-content h1 {
    font-family: var(--font-headline, 'Space Grotesk', sans-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: #141319;
}
.legal-content h2 {
    font-family: var(--font-headline, 'Space Grotesk', sans-serif);
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 12px;
    color: #141319;
}
.legal-content p {
    margin: 0 0 14px;
    color: #2A2830;
    font-size: 16px;
}
.legal-content ul {
    margin: 0 0 14px;
    padding-left: 22px;
    color: #2A2830;
    font-size: 16px;
}
.legal-content li {
    margin-bottom: 6px;
}
.legal-content a {
    color: #5B4EE8;
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 78, 232, 0.25);
    transition: border-color .15s, color .15s;
}
.legal-content a:hover {
    color: #3F31D4;
    border-bottom-color: #3F31D4;
}
.legal-content code {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    background: #EFEDE7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}
.legal-content strong {
    color: #141319;
}
.legal-meta {
    color: #6B6874;
    font-size: 14px;
    margin-top: 0;
}

/* Footer */
.legal-footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #E5E3DD;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #6B6874;
    font-size: 13px;
}
@media (min-width: 700px) {
    .legal-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.legal-footer-links {
    display: flex;
    gap: 18px;
}
.legal-footer-links a {
    color: #4A4855;
    text-decoration: none;
}
.legal-footer-links a:hover {
    color: #141319;
}
