html {
    font-family: sans-serif;
    color: #28718f;

    line-height: 150%;
}

.light {
    font-weight: 100;
}

.normal {
    font-weight: 400;
}

.bold {
    font-weight: 600;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    margin: 0;
    padding: 0;
    background-image: url(/res/img/hintergund-head.svg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 55%;
}

.bannertop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.head {
    width: 40%;
    height: 7em;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
}

#pb {
    fill: deepskyblue;
}

#banner {
    width: 100%;
    position: absolute;
    padding: 0.5em 3em 1em 3em;
    display: flex;
    flex-direction: row;
    height: 7em;
    box-sizing: border-box;
}

.logo {
    width: 30%;
    display: flex;
    flex-direction: row;
}

#logo {
    width: 4em;
    z-index: 2;
}

.logofont,
.tel {
    font-weight: 600;
    margin-top: 0.5em;
    margin-left: 1em;
    color: white;
    font-size: 1.5em;
    line-height: 130%;
    z-index: 2;
}

.logofont > p {
    margin: 0;
}

.tel > p {
    margin: 0;
}

.kontakt {
    position: absolute;
    left: 60%;
    display: flex;
    flex-direction: row;
}

.tel a,
.tel a:link,
.tel a:visited,
.tel a:hover {
    text-decoration: none;
    color: white;
}

.slider {
    margin-top: 6em;
    width: 100%;
    height: 40em;
    overflow: hidden;
    z-index: 1;
}

#impfstelle {
    width: 20em;
    position: absolute;
    top: 10em;
    left: 5em;
    z-index: 5;
}

.vika-box {
    display: flex;
    justify-content: center;
    padding-top: 2em;
}

#vika {
    width: 35em;
    height: auto;

    position: absolute;
    top: 35em;
    right: 7em;
}

.slider-button-left {
    position: absolute;
    top: 24em;
    rotate: 180deg;
    z-index: 4;
}

.slider-button-right {
    position: absolute;
    top: 24em;
    right: 0;
    z-index: 4;
}

#first-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: -15em;
}

#slide-datenschutz {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: -3em;
}

main {
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
}

.headline {
    margin-top: 4em;
    margin-bottom: 2em;
}

.textbox {
    margin-top: 4em;
    margin-bottom: 3em;

    > h1 {
        margin-bottom: 1.5em;
    }

    > h2 {
        margin-top: 3em;
    }


}

.leistung {
    display: flex;
    flex-direction: row;
    gap: 10%;
}

.box {
    width: 40%;
    height: fit-content;
    display: flex;
    flex-direction: row;
}

.box > ul {
    padding-left: 1em;
    margin: 0;
}

.box-button {
    display: flex;
    flex-direction: row;
    margin-top: 2em;
    width: 100%;
    height: fit-content;
    gap: 34%;
}

.buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align-last: center;
    height: 15em;
    width: 15em;
    box-shadow: 6px 8px 11px #cccccc;
    background-color: white;
    color: #28718f;
    border: 0;
    z-index: 2;
}

.buttons > p {
    margin: 0;
    margin-top: 1em;
    font-size: 1.5em;
}

.icon {
    height: 10em;
}

.qrdropdown-content {
    opacity: 0;
    transition: opacity .8s ease-out;
    position: absolute;
    top: 76em;
    left: 49.8%;
    width: 15em;
    z-index: 6;
}

#visitenkarte:hover .qrdropdown-content {
    transition: opacity .8s ease-out;
    opacity: 1;
}

li a,
li a:link,
li a:visited,
li a:hover {
    text-decoration: none;
}

footer a,
footer a:link,
footer a:visited,
footer a:hover {
    text-decoration: none;
    color: white;
}

.button a,
.button a:link,
.button a:visited,
.button a:hover {
    text-decoration: none;
}

.maps {
    margin: 5em 0;
    width: 100%;
    height: 15em;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
    padding-top: 2em;
    padding-bottom: 1em;
    border-top: solid 0.5em #28718f;
    gap: 5em;

    background-image: url(/res/img/hintergund-footer.svg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 65%;
}

.footerul {
    display: flex;
    padding: 0;
    gap: 5em;
    z-index: 2;
}

.biggap {
    margin-left: 10em;
}

.footerul li {
    list-style: none;
}

#map-wrapper {
    height: 100%;
}

@media (min-width: 950px) and (max-width: 1450px) {
    header {
        background-position: 53%;
    }

    .slider {
        height: 35em;
    }

    #first-slide {
        width: 110%;
        object-fit: cover;
        position: relative;
        top: -9.4em;
        left: -4em;
    }

    #slide-datenschutz {
        width: 110%;
        object-fit: cover;
        position: relative;
        top: -2.2em;
        left: -4em;
    }

    #impfstelle {
        width: 20em;
        position: absolute;
        top: 10em;
        left: 2em;
        z-index: 5;

    }

    #vika {
        width: 27em;
        height: auto;

        position: absolute;
        top: 32em;
        right: 3em;
    }
}

@media only screen and (orientation: portrait) {
    header {
        background-position: 50%;
        font-size: 1.5em;
    }

    #banner {
        padding: 0.5em 1em 1em 2em;
    }

    .kontakt {
        left: 50%;
    }

    .tel {
        margin-left: 0;
    }

    .slider-button-left {
        top: 18em;
    }

    .slider-button-right {
        top: 18em;
    }

    #impfstelle {
        width: 20em;
        position: absolute;
        top: 24em;
        left: 1em;
        z-index: 5;
    }

    #vika {
        width: 100%;
        height: auto;

        position: static;
        top: 20em;
        right: 10em;
    }

    .slider {
        height: 23em;
    }

    #first-slide {
        width: 150%;
        object-fit: cover;
        position: relative;
        top: -8.4em;
        left: -10em;
    }

    #slide-datenschutz {
        width: 150%;
        object-fit: cover;
        position: relative;
        top: -0.5em;
        left: -10em;
    }

    h2 {
        font-size: 3em;
    }

    .headline :not(h2) {
        font-size: 1.5em;
        line-height: 150%;
    }

    .leistung {
        flex-direction: column;
        font-size: 2em;
        line-height: 150%;
    }

    .textbox {
        margin-top: 4em;
        margin-bottom: 3em;
        line-height: 180%;
        font-size: 2em;

        > h1 {
            margin-bottom: 1.5em;
            font-size: 2em;

        }

        > h2 {
            margin-top: 3em;
            font-size: 1.5em;
            line-height: 120%;
        }


    }

    .box {
        width: 100%;
    }

    .box-button {
        gap: 5em;
    }

    .buttons {
        font-size: 1.6em;
        line-height: 160%;
        align-self: center;
    }

    #visitenkarte:hover .qrdropdown-content {
        visibility: hidden;
    }

    footer {
        flex-direction: column;
        justify-content: left;
        padding-left: 10%;
        font-size: 2em;
        gap: 0;
    }

    .footerul {
        flex-direction: column;
        justify-content: end;
        gap: 0.5em;
        line-height: 130%;
    }

    .biggap {
        margin-left: 0;
    }
}