* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #5e767b;
    font-family: 'Arial', Helvetica, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5rem;
    background: #ebebeb;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

header {
    padding: 2rem 2rem 3rem;
    background: #fff;
}

.flex {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 16px;
}

.flex a img {
    max-width: 200px;
}

header ul {
    list-style: none;
    min-width: 47%;
}

header ul li {
    margin: 0 0 0.625rem;
    font-size: 1rem;
    line-height: 140%;
}

header ul :is(.fas, .far) {
    margin-right: 6px;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    6.6% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    39.9% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

:is(.slide, .slide img:nth-of-type(1)) {
    position: relative;
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 15s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.slide img:nth-child(3) {
    animation-delay: 10s;
}

section {
    background: #fff;
    margin: 0 0 .5rem;
    padding: 1rem 1.5rem;
}

article p {
    margin: 0.5rem 0;
}

article ul {
    margin: 0.5rem 0 0 1rem;
    list-style: none;
}

article ul li:before {
    content: "\25A0";
    color: #194575;
    font-size: 0.625rem;
    float: left;
    text-indent: -0.9375rem;
    margin-top: -1px;
}

.kontakt {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
}

.kontakt-inner {
    display: flex;
    justify-content: flex-start;
}

.kontakt-inner>figure {
    margin: 0.625rem 1.5625rem 0 0;
}

a.apply {
    background: #194575;
    font-size: 1.1rem;
    text-align: center;
    color: #fff !important;
    border: solid 2px #194575;
    padding: .7rem 2rem;
    display: block;
    width: 230px;
    margin: 2rem auto 1rem;
}

article section .fa-solid {
    font-size: 3rem;
}

a.apply:hover {
    background: #fff;
    color: #194575 !important;
}

.ansprechpartner {
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem 1rem;
}

.details {
    display: flex;
    justify-content: flex-start;
    flex: 1 1 0;
}

.details figure {
    margin: 0 1.5625rem 0 0;
}

.details-standort {
    display: flex;
    justify-content: flex-start;
}

.details-standort figure {
    margin: 0 1.4375rem 0 0;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding: 30px 0 56.25%;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: #fff;
    padding: 1rem;
    margin-top: .5rem;
}

footer p:nth-of-type(1) {
    margin: 0 0 1rem;
}

footer p {
    text-align: center;
}

span {
    white-space: nowrap;
}

h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0 0 1rem;
    font-weight: 400;
}

strong {
    font-weight: 700;
}

h2 {
    font-size: 1.2rem;
    color: #194575;
}

h3 {
    font-size: 1.2rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 br {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .flex {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        margin-bottom: 2rem;
    }

    :is(header :is(p, h1, ul), .kontakt h2, h3, :is(.kontakt, .ansprechpartner) p) {
        text-align: center;
    }

    :is(.kontakt-inner, .details, .details-standort) {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    figure {
        margin: 0 !important;
    }
}

@media only screen and (max-width: 480px) {
    header {
        padding: 1.5rem 1rem 1rem;
    }

    section {
        padding: 1rem !important;
    }
}