:root {
    --blau: #31365f;
    --dunkelblau: #1d2540;
    --grau: #e1dddd;
    --weiss: #ffffff;
}

/* montserrat-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/montserrat-v25-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
        url('fonts/montserrat-v25-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* montserrat-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
        url('fonts/montserrat-v25-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* montserrat-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v25-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('fonts/montserrat-v25-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* montserrat-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
        url('fonts/montserrat-v25-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4em;
    color: var(--blau);
}

body.unterseite {
    word-break: break-word;
}

#inhaltsbereich > section,
#footer {
    float: left;
    clear: both;
    width: 100%;
}

#inhaltsbereich > section > .frame {
    float: left;
    clear: both;
    width: 100%;
    padding: 70px 0;
}

#inhaltsbereich > section > .default + .default {
    padding-top: 0;
}

.rahmen {
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.header {
    text-align: center;
    float: left;
    clear: both;
    width: 100%;
}

.bodytext {
    float: left;
    clear: both;
    width: 100%;
}

h1, h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 > strong {
    text-transform: uppercase;
}

h2 {
    font-size: 32px;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

h2 span {
    padding: 0 20px;
    background: var(--weiss);
    display: inline-block;
}

h2::before {
    content: '';
    top: calc(50% - 1px);
    right: 0;
    height: 2px;
    left: 0;
    position: absolute;
    background: var(--blau);
    z-index: -1;
}

/* h2 {
    font-size: 32px;
    display: flex;
    align-items: center;
    z-index: 1;
    margin-bottom: 40px;
}

h2 span {
    padding: 0 20px;
    background: var(--weiss);
    white-space: nowrap;
}

h2 span + span {
    padding-left: 0;
}

h2::before {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--blau);
}

h2::after {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--blau);
} */

.unterseite h2 {
    text-align: left;
    display: block;
}

.unterseite h2::before,
.unterseite h2::after {
    display: none;
}

h3, h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
    text-align: left;
    padding-bottom: 20px;
}

strong {
    font-weight: 700;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    background: url('images//icons/checked.svg') left top no-repeat;
    padding: 0 0 25px 35px
}

p {
    margin: 15px 0;
}

p.center {
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--blau);
    display: inline-block;
}

a:hover {
    color: var(--dunkelblau);
}

a.button {
    padding: 15px 30px;
    background: transparent;
    border: solid 2px var(--weiss);
    transition: background-color 0.6s;
}

a.button:hover {
    background: var(--dunkelblau);
}

.anker {
    position: relative;
    top: -155px;
    display: inline-block;
    display: block;
    padding: 0px;
}

/* Oberer Bereich */
#oben, #inhaltsbereich {
    float: left;
    clear: both;
    width: 100%;
}

#oben {    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    /* opacity: 0.5; */
}

nav {
    background: var(--blau);
    border-bottom: solid 3px var(--grau);
    float: left;
    clear: both;
    width: 100%;
}

nav > .rahmen {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    float: left;
}

.logo a {
    display: unset;
}

/* .logo img {    
    max-height: 120px;
} */

.navi {
    float: right;
    margin-top: 100px;
}

.navi ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}

.navi .qnavi {
    margin-left: 11px;
    padding-left: 10px;
    position: relative;
}

.navi .qnavi::before {
    content: '';
    top: 10px;
    left: -1px;
    width: 1px;
    bottom: 10px;
    position: absolute;
    background: var(--grau);
}

.navi li {
    float: left;
    background: none;
    padding: 0;
}

.navi a {
    padding: 10px;
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1em;
    color: var(--grau);
    text-decoration: none;
}

.navi .qnavi a {
    font-weight: 300;
}

.navi .qnavi:last-child a {
    padding-right: 0;
}


/* Inhaltsbereich */
#inhaltsbereich {
    padding-top: 155px;
}

/* .unterseite #inhaltsbereich {
    padding-top: 150px;
} */

/* Headerbereich */
.headerbereich {
    float: left;
    clear: both;
    width: 100%;
    position: relative;
}

.headertext p {
    position: absolute;
    bottom: 40px;
    right: 10%;
    width: 380px;
    height: 160px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2em;
    color: var(--weiss);
    text-align: center;
    border: solid 2px var(--weiss);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    z-index: 1;
}

.headertext::before {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 10%;
    width: 384px;
    height: 164px;
    background: rgba(49, 54, 95, 0.80);
    mix-blend-mode: multiply;
}

/* Transitioneffekt Headertext */
.headertext p,
.headertext::before {
    opacity: 0;
    animation: fadeIn 20s infinite;
}

.headertext + .headertext p,
.headertext + .headertext::before {
    opacity: 0;
    animation: fadeIn2 20s infinite;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    10% {opacity: 1;}
    25% {opacity: 1;}
    40% {opacity: 1;}
    50% {opacity: 0;}
    75% {opacity: 0;}
    100% {opacity: 0;}
}

@keyframes fadeIn2 {
    0% {opacity: 0;}
    25% {opacity: 0;}
    50% {opacity: 0;}
    60% {opacity: 1;}
    75% {opacity: 1;}
    90% {opacity: 1;}
    100% {opacity: 0;}
}

.headerbild {
    max-height: 560px;
    width: 100%;
    overflow: hidden;
}

/* blauer Hintergrund */
.blauer-bg {
    background: var(--blau);
    padding: 70px 0;
    color: var(--weiss);
    float: left;
    clear: both;
    width: 100%;
}

#inhaltsbereich > section > .frame.blauer-bg + .frame.blauer-bg {
    padding-top: 0;
}

#inhaltsbereich > section > .blauer-bg + .frame {
    padding-top: 70px;
}

.blauer-bg h2 span {
    background: var(--blau);
}

.blauer-bg h2::before, .blauer-bg h2::after {
    background: var(--weiss);
}

.blauer-bg li {
    background: url(images/icons/checked-weiss.svg) top left no-repeat;
}

.blauer-bg a {
    color: var(--weiss);
}

/* Partner Bereich mit Logos */
#inhaltsbereich > section > .frame.partner,
.partner .blauer-bg {
    padding: 0;
}

.partnerlogos {
    float: left;
    clear: both;
    width: 100%;
    padding: 25px 0;
}

.partner .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.partner .logos img {
    width: auto;
    max-width: 180px;
}

/* Multicontent */
.multicontent {
    float: left;
    clear: both;
    width: 100%;
}

.col-50 {
    float: left;
    width: 47%;
    padding: 0 1.5%;
}

.col-50:first-child {
    padding: 0 3% 0 0;
}

.col-50:nth-child(2) {
    padding: 0 0 0 3%;
}

/* Icons */
.icons {
    float: left;
    clear: both;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
    gap: 15px;
}

/* Footer */
#footer .blauer-bg {
    padding: 5px 0;
}

#footer .qnavi {
    display: none;
    float: left;
    clear: both;
    width: 100%;
    text-align: center;
}

#footer .qnavi li {
    background: none;
    display: inline-block;
    padding: 10px;
}

