@font-face {
    font-display: swap;
    font-family: 'NotoSans';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/NotoSans-Regular.woff2') format('woff2'), 
        url('../fonts/NotoSans-Regular.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Questrial';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Questrial-Regular.woff2') format('woff2'), 
        url('../fonts/Questrial-Regular.ttf') format('truetype');
}




p {
    line-height: 1.5rem;
}

.preheadline {
    color: var(--farbemittel);
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Questrial';
}

h1, .inhalt h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 2rem;
}
h2, .inhalt h2 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--farbemittel);
}
h3, .inhalt h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 2rem;
}
h4, .inhalt h4 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 2rem;
}
h5, .inhalt h5 {
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 2rem;
}
h6, .inhalt h6 {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 2rem;
}


@media (min-width: 1200px) {
    h1, .inhalt h1 {
        font-size: 3.8rem;
    }
    h2, .inhalt h2 {
        font-size: 3.125rem;
    }
    h3, .inhalt h3 {
        font-size: 2rem;
    }
    h4, .inhalt h4 {
        font-size: 1.5rem;
    }
    h5, .inhalt h5 {
        font-size: 1.31rem;
    }
    h6, .inhalt h6 {
        font-size: 1.125rem;
    }
}