/*
 * Impressum und Datenschutz als ruhige Lesespalte, wie „Allgemeines". Das Eigene:
 * Das Impressum legt den Herausgeber auf eine Pressekarte mit Abriss, im Abriss
 * der Weg zum Kontakt — passend zur Pressetribüne im Kopf. Die Datenschutzseite
 * stellt auf einen Blick voran, wohin bei einem Besuch Daten gehen. Mobil zuerst.
 * Die Versprechen stehen in specs/legal.md.
 */

.legal-page {
    margin-top: 28px;
    margin-bottom: 56px;
    color: var(--gh-ink);
}

.legal-page a {
    color: var(--gh-grass);
}

.legal-page a:focus-visible {
    outline: 2px solid var(--gh-night);
    outline-offset: 2px;
    border-radius: 2px;
}

.legal-page h2 {
    margin: 0 0 8px;
    font-family: var(--gh-numeral);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: var(--gh-night);
}

.legal-page p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.7;
}

.legal-section {
    margin-top: 32px;
    scroll-margin-top: 70px;
}

.legal-lead {
    color: var(--gh-muted);
}

.legal-asof {
    margin-top: 32px;
    font-size: 14px;
    color: var(--gh-muted);
}

/* Die Pressekarte: links wer, rechts hinter der Perforation der Kontakt. Auf dem
   Telefon sitzt der Abriss unten. */
.press-pass {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 0 18px;
    background: var(--gh-paper);
    border-radius: 8px;
    font-style: normal;
}

.press-pass__main,
.press-pass__stub {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 20px 18px;
}

.press-pass__label {
    font-size: 13px;
    color: var(--gh-muted);
}

.press-pass strong {
    font-family: var(--gh-numeral);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.15;
    color: var(--gh-night);
}

.press-pass__address {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.5;
}

.press-pass__stub {
    position: relative;
    justify-content: center;
    border-top: 2px dashed var(--gh-perforation);
}

.press-pass__stub::before,
.press-pass__stub::after {
    content: '';
    position: absolute;
    top: calc(var(--gh-notch) / -2 - 1px);
    width: var(--gh-notch);
    height: var(--gh-notch);
    border-radius: 50%;
    background: #fff;
}

.press-pass__stub::before {
    left: calc(var(--gh-notch) / -2);
}

.press-pass__stub::after {
    right: calc(var(--gh-notch) / -2);
}

.press-pass__stub a {
    font-family: var(--gh-numeral);
    font-weight: 600;
    font-size: 18px;
    overflow-wrap: anywhere;
}

/* Auf einen Blick: was wohin geht, als Zeilen auf Papier. */
.data-flows {
    padding: 18px 20px 8px;
    background: var(--gh-paper);
    border-radius: 8px;
}

.data-flows__list {
    margin: 0;
}

.data-flows__row {
    padding: 8px 0;
    border-top: 1px solid var(--gh-rule);
}

.data-flows__row dt {
    font-family: var(--gh-numeral);
    font-weight: 700;
    font-size: 17px;
    color: var(--gh-night);
}

.legal-page .data-flows__row dt a {
    color: inherit;
}

.legal-page .data-flows__row dt a:hover {
    color: var(--gh-grass);
}

.data-flows__row dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--gh-ink);
}

@media (min-width: 768px) {
    .press-pass {
        grid-template-columns: 1fr minmax(200px, auto);
    }

    .press-pass__main,
    .press-pass__stub {
        padding: 22px 28px;
    }

    .press-pass__stub {
        border-top: 0;
        border-left: 2px dashed var(--gh-perforation);
    }

    .press-pass__stub::before,
    .press-pass__stub::after {
        left: calc(var(--gh-notch) / -2 - 1px);
        right: auto;
    }

    .press-pass__stub::before {
        top: calc(var(--gh-notch) / -2);
    }

    .press-pass__stub::after {
        top: auto;
        bottom: calc(var(--gh-notch) / -2);
    }

    .data-flows__row {
        display: grid;
        grid-template-columns: 180px 1fr;
        align-items: baseline;
        gap: 16px;
    }
}
