@font-face {
    font-family: "Soehne";
    src: url("/fonts/soehne-web-buch.woff2");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Soehne";
    src: url("/fonts/soehne-web-buch-kursiv.woff2");
    font-style: italic;
    font-weight: 400;
}

@font-face {
    font-family: "Soehne";
    src: url("/fonts/soehne-web-kraftig.woff2");
    font-style: normal;
    font-weight: 700;
}

html, body {
    font-family: "Soehne", Helvetica, Arial, sans-serif;
}

.xl-heading {
    /* 4rem > 5.625rem | 4rem > 5.5rem */
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: calc(4rem + (5.625 - 4) * ((100vw - 25.875rem) / (var(--viewport-max) - var(--viewport-min))));
    line-height: calc(4rem + (5.5 - 4) * ((100vw - 25.875rem) / (var(--viewport-max) - var(--viewport-min))));
    min-height: 0vw;
}


h1 { 
    /* 2.8125rem > 4rem | 4rem > 5.5rem */
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: calc(2.8125rem + (4 - 2.8125) * ((100vw - 25.875rem) / (var(--viewport-max) - var(--viewport-min))));
    line-height: calc(4rem + (5.5 - 4) * ((100vw - 25.875rem) / (var(--viewport-max) - var(--viewport-min))));
    min-height: 0vw;
}

h2 {
    /* 2rem > 2.8125rem | 2.5rem > 4rem */
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: calc(2rem + (2.8125 - 2) * ((100vw - 25.875rem) / (var(--viewport-max) - var(--viewport-min))));
    line-height: calc(2.5rem + (4 - 2.5) * ((100vw - 25.875rem) / (var(--viewport-max) - var(--viewport-min))));
    min-height: 0vw;
}

@media screen and (max-width: 25.875rem) {
    .xl-heading {font-size: 4rem; line-height: 5.5rem;}
    h1 {font-size: 2.8125rem; line-height: 4rem;}
    h2 {font-size: 2rem; line-height: 2.5rem;}
}

@media screen and (min-width: 90rem) {
    .xl-heading {font-size: 5.625rem; line-height: 6.5rem;}
    h1 {font-size: 4rem; line-height: 5.5rem;}
    h2 {font-size: 2.8125rem; line-height: 4rem;}
}

h3 {
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 1.5rem;
}

h4 {
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.4375rem;
    line-height: 2rem;
    margin-bottom: 0.5rem;
}

.body-large { 
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 1.4375rem;
    line-height: 2rem; 
}

p {
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

.small {
    font-size: 0.8125rem;
    line-height: 1rem;
}

.main-about-text h2 { 
    font-family: "Soehne", Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.more-info li {
    line-height: 1.5rem;
}
