@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v36-latin-regular.eot');
    src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v36-latin-700.eot');
    src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-700.woff') format('woff'), url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #00313c;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.5em;
    background: #ddd url('../images/hintergrund.jpg') top center no-repeat;
    background-size: cover;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, .2);
}

h1 {
    font-size: 26px;
    line-height: 1.2;
    margin: 1rem 0;
}
h1 small{
	font-size: 0.75em
}

h2 {
    font-size: 29px;
    color: #1f81aa;
    line-height: 1.2;
    margin-bottom: 1rem;
	font-style: italic;
}
h2 small{
	font-size: 0.75em
}

h3 {
    font-size: 1.25rem;
    margin: 0;
    color: #1f81aa;
    line-height: 2;
}

.color h3 {
    color: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

.nowrap {
    white-space: nowrap;
}

ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

li {
    padding-left: 1.375rem
}

li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375rem;
    line-height: 1;
}

p span,
li span {
    white-space: nowrap
}

a.blau {
    color: #2F5496;
}

a.farbe {
    color: #1F81AA;
}

a.phone {
    color: inherit;
    font-weight: bold;
}

.txt {
    padding: 0 1.5rem;
}

.color {
    background: rgba(26, 87, 129, 1);
    padding: 0.938rem 1.5rem;
    margin: 2rem 0;
    color: #fff;
}

.fas {
    margin: 0 0.625rem 0 0;
    color: rgba(26, 87, 129, 1);
}

header {
    padding: 2rem 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 0.625rem;
    position: relative;
}

header section {
    width: 70%;
}

.logo {
    width: auto;
}

.url {
    font-size: 1.3rem;
    text-decoration: none;
    color: #00313c;
}

.slider {
    position: relative;
    margin: 0 auto 0.938rem;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

article {
    padding: 0 3rem;
    position: relative;
}

footer {
    padding: 0 3rem 0.5rem;
}

footer > section {
    margin: 1rem 0;
    background: #1a5781;
    padding: 1rem;
    color: #fff;
}

footer p {
    margin: 0;
    text-align: center;
    font-style: normal;
}

.footer-link {
    color: #fff;
}

a.apply {
    background: rgba(83, 170, 200, 1);
    text-align: center;
    padding: 0.5rem 3.25rem;
    display: block;
    color: #fff;
    text-transform: uppercase;
    margin: 2rem auto;
    width: fit-content;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    h1,
    h2 {
        font-size: 25px;
    }

    .txt {
        padding: 0 1rem;
    }

    .color {
        padding: 1rem;
        margin: 1rem 0;
    }

    header {
        padding: 16px;
    }

    article {
        padding: 0;
    }

    footer {
        padding: 0;
    }

    a.apply {
        background: rgba(83, 170, 200, 1);
        text-align: center;
        padding: 0.5rem 3.25rem;
        text-transform: uppercase;
        margin: 1rem auto;
    }
}

@media only screen and (max-width: 750px) {
    header {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 0 0 1rem;
    }

    header section {
        width: 100%;
    }

    header p,
    h1,
    h2 {
        text-align: center;
    }

    .url {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: auto;
    }
}

@media only screen and (max-width: 420px) {
    h3 {
        line-height: 1.4;
        margin: 0 0 5px
    }

    a.apply {
        width: 100%;
    }
}
