:root {
    font-size: 16px;
    @media (min-width: 576px) {
        font-size: 20px;
    }
    @media (min-width: 992px) {
        font-size: 22px;
    }
    @media (min-width: 1200px) {
        font-size: 24px;
    }
    @media (min-width: 1400px) {
        font-size: 25px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

@media (min-width: 576px) {
    html {
        scroll-padding-top: 0;
    }
}

body {
    background: var(--body-color);
    --iw-h1-font-size: calc(var(--iw-font-size-base) * 2.4);
    --iw-h2-font-size: calc(var(--iw-font-size-base) * 1.9);
    --iw-h3-font-size: calc(var(--iw-font-size-base) * 1.6);
    --iw-h4-font-size: calc(var(--iw-font-size-base) * 1.2);
    --iw-h5-font-size: calc(var(--iw-font-size-base) * 1);
    --iw-h6-font-size: 18px;
    @media (min-width: 992px) {
        --iw-h6-font-size: 20px;
    }
    font-family: 'Nunito Sans', sans-serif;
    font-smoothing: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    font-weight: 600;
}



/*
Standard Textelemente
*/

a,
p,
ul,
li,
td,
.p {
    font-family: 'Nunito Sans', sans-serif;
    font-smoothing: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    font-weight: 600;
    font-size: var(--iw-font-size-base);
    letter-spacing: 0;
    line-height: 150%;
    color: var(--font-color);
}

b {
    font-weight: 800;
}

p,
.p {
    margin-bottom: calc(var(--iw-font-size-base) * .85);
}

p:last-child {
    margin-bottom: 0;
}

small {
    font-size: calc(var(--iw-font-size-base) * .85);
}

.text-frame *:last-child {
    margin-bottom: 0;
}

a,
p a {
    color: var(--a-color);
    text-decoration: underline;
    transition: ease 150ms color;
}

a:hover,
p a:hover {
    color: var(--a-hover-color);
}


/* Überschriten & Unterüberschriften */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.element-header,
.element-subheader {
    font-family: 'Nunito Sans', sans-serif;
    font-smoothing: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    margin-bottom: 0;
    font-style: normal;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.element-header {
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 125%;
    color: var(--header-color);
    text-transform: uppercase;
}

.lighter {
    font-weight: 600;
}

.element-subheader {
    font-weight: 600;
    letter-spacing: 0;
    line-height: 150%;
    color: var(--subheader-color);
    text-transform: uppercase;
    font-size: var(--iw-font-size-base);
}

h1,
.h1 {
    font-size: var(--iw-h1-font-size);
}

h2,
.h2 {
    font-size: var(--iw-h2-font-size);
}

h3,
.h3 {
    font-size: var(--iw-h3-font-size);
}

h4,
.h4 {
    font-size: var(--iw-h4-font-size);
}

h5,
.h5 {
    font-size: var(--iw-h5-font-size);
}

h6,
.h6 {
    font-size: var(--iw-h6-font-size);
}