/* IMPRESSUM UND DATENSCHUTZ */

.legal-page {
    min-height: 100vh;
    padding: 52px 0 72px;

    color: rgba(255, 255, 255, 0.86);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(34, 196, 233, 0.07),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #04171c 0%,
            #072329 55%,
            #092b32 100%
        );
}

.legal-page__content {
    width: min(calc(100% - 48px), 820px);
    max-width: 820px;
    margin-inline: auto;
    padding: 0;
}

.legal-page__back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 38px;

    color: var(--accent);

    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;

    transition:
        color var(--transition),
        transform var(--transition);
}

.legal-page__back:hover {
    transform: translateX(-3px);
    color: var(--accent-light);
}

.legal-page h1 {
    max-width: 100%;
    margin: 0 0 42px;

    color: var(--white);

    font-size: clamp(2.45rem, 5vw, 3.15rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.035em;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.legal-page h2 {
    margin: 42px 0 14px;

    color: var(--accent);

    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
    color: rgba(255, 255, 255, 0.84);

    font-size: 1rem;
    line-height: 1.72;
}

.legal-page p {
    margin: 0 0 18px;
}

.legal-page ul {
    margin: 10px 0 22px;
    padding-left: 22px;
}

.legal-page li + li {
    margin-top: 4px;
}

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

.legal-page a:hover {
    color: var(--accent-light);
}

@media (max-width: 620px) {
    .legal-page {
        padding: 34px 0 54px;
    }

    .legal-page__content {
        width: min(calc(100% - 32px), 820px);
    }

    .legal-page__back {
        margin-bottom: 30px;
        font-size: 0.9rem;
    }

    .legal-page h1 {
        margin-bottom: 34px;

        font-size: clamp(1.72rem, 8.3vw, 2.25rem);
        line-height: 1.08;
        letter-spacing: -0.04em;

        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .legal-page h2 {
        margin: 34px 0 12px;

        font-size: clamp(1.22rem, 6.4vw, 1.48rem);
        line-height: 1.3;
    }

    .legal-page p,
    .legal-page li {
        font-size: 0.96rem;
        line-height: 1.68;
    }

    .legal-page ul {
        padding-left: 20px;
    }
}

@media (max-width: 380px) {
    .legal-page__content {
        width: min(calc(100% - 24px), 820px);
    }

    .legal-page h1 {
        font-size: 1.58rem;
        white-space: nowrap;
    }

    .legal-page h2 {
        font-size: 1.18rem;
    }

    .legal-page p,
    .legal-page li {
        font-size: 0.92rem;
    }
}