@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #555555;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.5rem;
    background: #ebebeb;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

header {
    background: #fff;
    padding: 2rem 2rem 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

header ul li:before {
    content: none;
}

.head {
    width: 70%;
}

h2 {
    font-size: 1.4rem;
    line-height: 120%;
    margin: 0 0 1rem;
}

.scheme_detail_data {
    display: flex;
    margin-bottom: 1rem;
    column-gap: .625rem;
}

.scheme-additional-data {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.scheme-additional-data li {
    list-style: none;
    margin: 0 0 .625rem 0;
    font-size: 1rem;
}

ul.scheme-additional-data .fas,
ul.scheme-additional-data .far {
    margin-right: .625rem;
}

section {
    background: #fff;
    margin: 0 0 .5rem;
    padding: 1rem 1.5rem;
}

p {
    margin: .5rem 0;
}

h1 {
    font-size: 1.7rem;
    line-height: 120%;
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.2rem;
    color: #000044;
}

ul {
    margin: .5rem 0 0 1rem;
    list-style: none;
}

ul li:before {
    content: "\25A0";
    color: #000044;
    font-size: .625rem;
    float: left;
    margin: -.062rem 0 0 -.937rem;
}

a.apply {
    background: #001e6f;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid .125rem #001e6f;
    padding: .7rem 2rem;
    display: block;
    width: 14.375rem;
    margin: 2rem auto 1rem;
}

a.apply:hover {
    background: #fff;
    color: #001e6f;
}

.kontakt {
    display: flex;
    flex-direction: column;
}

.kontakt-inner {
    display: flex;
    justify-content: flex-start;
}

.ansprechpartner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 1.5rem 1rem;
}

.details {
    display: flex;
    justify-content: flex-start;
    margin-right: 10rem;
}

.details-standort {
    display: flex;
    justify-content: flex-start;
}

section > .details h4,
section .details-standort h4 {
    font-size: 1.2rem;
}

.kontakt-inner > figure {
    margin: .625rem 1.562rem 0 0;
}

section .fa-solid {
    font-size: 3rem;
}

section > .details figure {
    margin: 0 1.562rem 0 0;
}

.details-standort figure {
    margin: 0 1.437rem 0 0;
}

footer {
    background: #fff;
    padding: 1rem;
    margin-top: .5rem;
}

footer p {
    text-align: center;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {

    header {
        flex-direction: column;
        align-items: center;
    }

    .head {
        width: auto;
        margin: .625rem 0 0;
    }

    h2 {
        text-align: center;
    }

    .scheme_detail_data {
        flex-direction: column;
    }

    ul.scheme-additional-data {
        min-width: 100%;
        text-align: center;
    }

    .kontakt-inner,
    .details,
    .details-standort {
        display: block;
        justify-content: center;
        width: 100%;
        margin: 0 0 1rem;
    }

    .ansprechpartner {
        justify-content: center;
    }

    section > .kontakt-inner figure,
    section > .details figure,
    .details-standort figure {
        width: 100%;
        margin: 0 0 1rem;
        display: flex;
        justify-content: center;
    }

    .kontakt-inner,
    .details-inner {
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 1.6rem;
    }

    section {
        padding: 1rem;
    }

    footer {
        padding: 1rem 0;
    }
}
