@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #3a434f;
    font-family: 'Arial', sans-serif;
    font-size: .937rem;
    line-height: 1.5rem;
    font-weight: 400;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, #f2fafb 50rem), url(../images/hintergrund.jpg) no-repeat top center;
    background-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

header {
    background: #fff;
    padding: 2rem 1.5rem 0;
    display: flow-root;
    margin-bottom: .5rem;
}

h2 {
    font-size: 1.4rem;
    line-height: 120%;
    margin: 0 0 1rem;
    color: #3475bf;
}

header img {
    float: right;
}

.scheme_detail_data {
    width: 50%;
    display: table;
    margin-bottom: 1rem;
}

.scheme-additional-data {
    float: left;
    list-style: none;
}

ul.scheme-additional-data {
    margin-bottom: 0;
    min-width: 51%;
}

ul.scheme-additional-data li {
    list-style: none;
    margin: 0 0 10px 0;
    font-size: 1rem;
    line-height: 140%;
}

ul.scheme-additional-data .fas,
ul.scheme-additional-data .far {
    margin-right: 10px;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 8s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 4s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

article section {
    background: #fff;
    margin: 0 0 .5rem;
    padding: 1rem 1.5rem;
}

article p {
    margin: .5rem 0;
}

article h1 {
    font-size: 29px;
    line-height: 120%;
    margin: 1.5rem 0 1rem;
    color: #3475bf;
}

article h3 {
    font-size: 1.2rem;
    color: #3475bf;
}

article ul {
    margin: .5rem 0 0 1rem;
    list-style: none;
}

article ul li:before {
    content: "\25A0";
    color: #3475bf;
    font-size: 10px;
    float: left;
    margin: -1px 0 0 -15px;
}

article a.link {
    color: #3475bf;
    font-weight: 700;
}

article a.apply {
    background: #3475bf;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid 2px #3475bf;
    padding: .7rem 2rem;
    display: block;
    width: 230px;
    margin: 2rem auto 1rem;
}

article a.apply:hover {
    background: #fff;
    color: #3475bf;
}

article section.kontakt {
    display: flex;
    flex-direction: column;
}

article section .kontakt-inner {
    display: flex;
    justify-content: flex-start;
}

article section.ansprechpartner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 1.5rem 1rem;
}

article section .details {
    display: flex;
    justify-content: flex-start;
    margin-right: 12rem;
}

article section .details-standort {
    display: flex;
    justify-content: flex-start;
}

article section > .details h4,
article section .details-standort h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

article section .kontakt-inner > figure {
    margin: 10px 25px 0 0;
}

article section .fa-solid {
    font-size: 3rem;
}

article section > .details figure {
    margin: 0 25px 0 0;
}

article section .details-standort figure {
    margin: 0 23px 0 0;
}

@-moz-document url-prefix() {
    article section .details-standort figure {
        margin: 0 25px 0 0;
    }
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin: .5rem 0;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

footer {
    background: #fff;
    padding: 1rem;
    margin-top: .5rem;
}

footer p {
    text-align: center;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header img {
        float: none;
    }

    header h2 {
        text-align: center;
        margin: 1.5rem 0 1rem;
    }

    .scheme_detail_data {
        width: 100%;
    }

    ul.scheme-additional-data {
        min-width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    article section :is(.kontakt-inner, .details, .details-standort) {
        display: block;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    article section.ansprechpartner {
        justify-content: center;
        gap: 1rem;
    }

    article section :is(.kontakt-inner, .details, .details-standort) figure {
        width: 100%;
        margin: 0 0 1rem;
        display: flex;
        justify-content: center;
    }

    article section :is(.details-inner, .details-standort) {
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    header {
        padding: 2rem 1rem 0;
    }

    article section {
        padding: 1rem;
    }

    article ul {
        padding: 0;
    }

    footer {
        padding: 1rem;
    }
}
