* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ganze Höhe des Viewports */
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
}

header, main, footer {
    margin: 0;
    max-width: 100vw;
    box-sizing: border-box; /* verhindert, dass padding/border die Breite über 100vw hinaus vergrößern */
}

header {
    padding: 1rem;
}

main {
    padding: 0rem;
    flex: 1 0 auto;
}

footer {
    padding: 1rem;
}

section {
    margin: 0rem auto;
    padding: 1rem 2rem;
    text-align: left;
    /* background-color: rgb(199, 199, 199);
    box-shadow: 2px 0px 5px rgb(121, 121, 121); */
}

p, h1, h2 {
    hyphens: auto;
}

section h1 {
    text-align: left;
    line-height: 2.5rem;
    font-size: 2.5rem;
    color: rgb(56, 56, 56);
}

section h2 {
    text-align: left;
    line-height: 2rem;
    font-size: 1.75rem;
    color: rgb(56, 56, 56);
}

section p {
    margin: 0;
    text-align: justify;
    line-height: 2rem;
    font-size: 1.125rem;
    color: rgb(56, 56, 56);
}

.link-button {
    display: block;
    padding: 0.6rem;
    margin: 1rem auto;
    color: white;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    width: 11rem;
    height: 2.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    border-radius: 0.2rem;
    background-color: rgb(121, 121, 121);
}

.action-button {
    display: block;
    padding: 1rem;
    margin: 2rem auto;
    color: white;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    width: 17rem;
    height: 3.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 0.2rem;
    background-color: rgb(44, 15, 1);
    box-shadow: 0px 0px 5px rgb(121, 121, 121);
}

.legal-heading-1 {
    text-align: left;
    font-size: 2.25rem;
}

.legal-heading-2 {
    text-align: left;
    font-size: 1.75rem;
}

.legal-paragraph {
    text-align: left;
    font-size: 1rem;
}

/* Tablet (ab 601px) */
@media (min-width: 601px) and (max-width: 1024px) {
    main {
        margin: 0;
        padding: 0;
        max-width: 100vw;
    }

    section {
        width: 70rem;
        max-width: 90vw;
    }

    section p {
        line-height: 2rem;
        font-size: 1.25rem;
    }

    section .action-button {
        margin: 2rem auto 4rem auto;
    }
}

/* Desktop (ab 1025px) */
@media (min-width: 1025px) {
    main {
        margin: 0;
        padding: 0;
    }

    .content-container {
        margin: 0;
        padding: 1rem;
        max-width: 70vw;
    }

    section {
        margin: 0 auto;
        width: 60rem;
        max-width: 60vw;
    }

    section h1 {
        line-height: 3rem;
        font-size: 3rem;
    }

    section p {
        margin: 0;
        line-height: 2rem;
        font-size: 1.25rem;
    }

    section .action-button {
        margin: 2rem auto 4rem auto;
    }
}