@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #1a1919;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, rgba(239, 239, 239, 1) 50rem), url(../images/hintergrund.jpg) no-repeat top center;
    background-size: auto;
}
img {
    max-width: 100%;
    height: auto;
}
#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
p {
    margin: 0 0 0.625rem;
}
.text p:not(:last-child) {
    margin: 0;
}
.margin {
    margin: 0 0 .187rem
}
h1,
h2,
h3 {
    color: #001957
}
h1 {
    font-size: 1.312rem;
    margin: 0 0 1.25rem;
    line-height: 1.3;
}
h2 {
    font-size: 1.625rem;
    margin: 1rem 0 1.25rem;
    line-height: 1.2;
}
h2+p {
    font-size: 1.125rem;
    color: #001957
}
h3 {
    font-size: 1.187rem;
    margin: 0 0 .625rem;
}
h4 {
    font-size: 1.2rem;
    margin: 1.562rem 0 0.5rem;
}
ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}
ul li {
    padding-left: 1.375rem;
}
ul li:before {
    content: "\25a0";
    float: left;
    margin-left: -1.375rem;
    font-size: 0.635em;
    line-height: 2;
    color: #ffa500
}
header {
    padding: 2rem 2rem .625rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row-reverse;
    margin: 0 0 .5rem
}
header i {
    width: 1.25rem
}
.head {
    width: 68%;
}
.details {
    display: flex;
    column-gap: 1rem;
    flex-wrap: wrap
}
.slider {
    position: relative;
}
.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;
    }
}
.section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}
.benefits {
    display: flex;
    align-items: center;
    column-gap: 16px;
}
.benefits .text_center {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.benefits p:first-of-type {
    color: #001957;
    font-weight: bold;
    font-size: 1.125rem;
    margin: 10px 0;
}
.kontakt {
    display: flex;
    align-items: flex-start;
    gap: 1rem
}
.address {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
    width: 50%;
}
.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}
.video {
    padding: 0 0 .5rem
}
.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.flex {
    display: flex;
}
.flex span:first-of-type {
    padding-right: 0.2rem;
}
footer {
    margin-top: .5rem;
}
footer p {
    margin: 0;
    text-align: center
}
a.apply {
    background: #00E6E6;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid 0.125rem #00E6E6;
    padding: 0.7rem 2rem;
    display: block;
    width: 14.375rem;
    margin: 2rem auto 1rem;
}
a.apply:hover {
    background: #fff;
    color: #00E6E6;
}
.section i {
    font-size: 3.2rem;
}
@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 {
        margin: 1rem 0
    }
    h2 {
        margin-bottom: 1rem;
    }
    h2+p {
        margin: 0
    }
    h3 {
        margin-top: 0
    }
    header {
        padding: 1rem;
    }
    .section,
    footer {
        padding: 1rem;
    }
    .kontakt,
    .address {
        gap: 1rem;
    }
    .address {
        width: 50%
    }
    a.apply {
        margin: 1rem auto;
    }
}
@media only screen and (max-width: 750px) {
    h2 {
        font-size: 1.5rem;
    }
    h4 {
        margin-top: 0
    }
    header {
        flex-direction: column;
        align-items: center;
        justify-content: center
    }
    header p,
    h1 {
        text-align: center
    }
    .head {
        width: 100%
    }
    .head p {
        margin: 0 0 .625rem;
    }
    .details {
        justify-content: center
    }
    .benefits,
    .kontakt,
    .address {
        gap: .625rem;
    }
    .benefits p {
        margin: 0 auto
    }
}
@media only screen and (max-width: 710px) {
    h1 {
        font-size: 1.25rem;
    }
    h2 {
        font-size: 1.3125rem;
    }
    h2 br {
        display: none;
    }
    ul li {
        padding-left: 1rem;
    }
    ul li:before {
        margin-left: -1rem;
    }
    .benefits,
    .kontakt,
    .address {
        flex-direction: column;
        align-items: center
    }
    .benefits i {
        margin: 0 0 .312rem
    }
    .address, .benefits .text_center {
        width: 100%
    }
    .address p,
    .benefits .text_center p,
    h4 {
        text-align: center
    }
}
@media only screen and (max-width: 376px) {
    a.apply {
        width: 100%;
        margin: 30px 0 10px
    }
}