:root {
    --font-main: "Trispace Variable";
    --text-color: black;
    --text-size: 1rem;
    --grid-gap: 1.25rem;
    --page-padding: 2rem;
    --line-height: 1.4;
}
@media (min-width: 769px) {
    .legal-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        column-gap: var(--grid-gap);
        padding: 0 var(--page-padding);
        align-items: start;
        padding-top: 15vh;
        padding-bottom: 20vh;
        scroll-margin-top: 50px;
    }

    .legal-label {
        grid-column: 2 / 12;
        font-family: var(--font-main);
        font-size: 4rem;
        font-weight: 900;
        text-transform: uppercase;
        color: var(--text-color);
        margin: 0;
        margin-bottom: 4rem;
        line-height: 1;
    }
    .legal-text {
        grid-column: 2 / 6;
        font-family: var(--font-main);
        font-size: 1rem;
        line-height: var(--line-height);
        color: var(--text-color);
    }
    .legal-text p {
        margin-bottom: 1rem;
    }
}
@media (max-width: 768px) {
    .legal-grid {
        display: flex;
        flex-direction: column;

        padding: 0 1.5rem; /* Seitenabstand */
        margin-top: 8rem;
        margin-bottom: 5rem;

        scroll-margin-top: 100px;
    }
    .legal-label {
        width: 100%;
        font-family: var(--font-main);
        font-size: 2.5rem;
        font-weight: 900;
        text-transform: uppercase;
        margin: 0;
        margin-bottom: 2rem;
        line-height: 1.1;
        color: var(--text-color);
    }

    .legal-text {
        width: 100%;
        font-family: var(--font-main);
        font-size: 1rem;
        line-height: 1.5;
        color: var(--text-color);
    }
    .legal-text p {
        margin-bottom: 1.5rem;
    }
}
