/* =========================================
   Rechtliches: Impressum und Datenschutz
   Wird nach style.css geladen
   ========================================= */

/* Footer bleibt auch bei kurzen Seiten unten */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.legal h1 {
    font-size: clamp(2.25rem, 6.5vw, 5rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-intro {
    max-width: 40rem;
    margin: 0 0 2.5rem;
    font-size: clamp(1.125rem, 1.6vw, 1.3rem);
    line-height: 1.5;
}

.legal-text {
    max-width: 40rem;
}

.legal-text h2 {
    margin: 2.5rem 0 0.6rem;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

.legal-text p,
.legal-text ul {
    margin: 0 0 1rem;
}

.legal-text ul {
    padding-left: 1.2rem;
}

.legal-text li {
    margin-bottom: 0.3rem;
}

.legal-text address {
    font-style: normal;
}

.legal-text a {
    overflow-wrap: anywhere;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* Im Footer den Link zur aktuellen Seite hervorheben */
.footer-links a[aria-current="page"] {
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
}
