/* ============================================================================
   Rechtliche Angaben (Datenschutzerklärung & Impressum)
   Breiteres Leselayout als die schmalen Kontoformulare (account.css) –
   analog zur Rechtsseite von Wortmatrix. Nur auf Seiten mit class="legal-page".
   ============================================================================ */

.legal-page .account-shell {
    width: min(100%, 780px);
}

.legal-page .account-panel {
    padding: 34px clamp(20px, 6vw, 52px);
}

.legal-page .account-brand {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 30px;
}

.legal-page .account-brand h1 {
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.15;
}

.legal-page h2 {
    margin: 2rem 0 .6rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    font-size: 1.08rem;
    line-height: 1.3;
}

.legal-page h3 {
    margin: 1.7rem 0 .5rem;
    font-size: 1.02rem;
    line-height: 1.3;
}

.legal-page p,
.legal-page address {
    margin: 0 0 .8rem;
    color: var(--muted);
    font-style: normal;
    line-height: 1.6;
}

.legal-page a {
    color: var(--teal-dark);
}

.legal-page a:hover,
.legal-page a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .legal-page .account-panel {
        padding: 26px 18px;
    }

    .legal-page .account-brand h1 {
        font-size: 24px;
    }
}
