/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

@import url("https://use.typekit.net/vda1tqz.css");

@font-face {
    font-family: "articulat-cf", sans-serif;
    font-weight: 400;
    font-style: normal;
    src: "https://use.typekit.net/vda1tqz.css";
}

@font-face {
    font-family: "articulat-cf", sans-serif;
    font-weight: 700;
    font-style: normal;
    src: "https://use.typekit.net/vda1tqz.css";
}

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

body {
    max-width: 100vw;
    font-family: Helvetica, sans-serif;
    color: #fff;
    background-color: var(--primary-green);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "articulat-cf", sans-serif;
}

:root {
    --primary-green: #008080;
    --primary-grey: #C9C9C9;
    --white: #fff;
    --transparent-grey: #c9c9c950;
    --akzent-orange: #FF5262;
}

/*-----HEADER*/

.mainHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 1;
    height: 10vh;
    width: 100%;
    background-color: var(--primary-grey);
    box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 200ms ease;
    padding: 0 2.5rem 0 2.5rem;
}

header.hamHeader {
    display: none;
}

header img {
    max-height: 8vh;
}

.navListItem {
    display: inline;
    margin: 0 .75rem 0 .75rem;
}

a {
    position: relative;
    display: inline-block;
    font-family: "articulat-cf", sans-serif;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: var(--akzent-orange);
    border-radius: 20px;
    transform: scaleX(0);
    transition: transform 150ms ease-in-out;
}

a:hover::after {
    transform: scaleX(1);
}

.navListItem a.active {
    font-weight: 700;
    border-bottom: var(--akzent-orange) 3px solid;
}

@media screen and (max-width: 768px) {
    .mainHeader {
        display: none;
    }

    header.hamHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .5rem min(1rem, 2rem) .5rem min(1rem, 2rem);

        position: fixed;
        z-index: 100;

        height: 10vh;
        width: 100%;
        background-color: var(--primary-grey);
        box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.3);
    }

    nav.hamburger {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 10vh;
        left: 0;
        height: 100vh;
        width: 100vw;
        background-image: linear-gradient(to bottom, #008080, #008080, #0080807e);
        z-index: 100;
        padding-top: 5vh;
    }

    nav.hamburger.active {
        visibility: visible;
        opacity: 1;
        transition: all 0.5 ease-in-out;
    }


    nav.hamburger li {
        font-size: clamp(1.5rem, 1.6vw, 1.75rem);
        text-align: center;
        margin: min(2rem, 3rem) 0 min(2rem, 3rem) 0;
    }

    nav.hamburger li a {
        color: var(--white);
    }

    div.hamburgerMenuContainer {
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        min-height: 100vh;
        width: 100vw;
    }
}

/*-------VIDEO ------*/
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 1023px) {
    .video-container {
        position: relative;
        width: 100vw;
        height: 100dvh;
        overflow: hidden;
    }

    .video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: auto;
        min-height: auto;
        width: 100%;
        height: auto;
        object-fit: cover;
        transform: translate(-50%, -50%);
    }
}

/* ---- START OF RESPONSIVE DESIGN ---- */
h1 {
    display: none;
    font-size: clamp(3rem, 5vw, 4rem);
    font-family: "articulat-cf", sans-serif;
}

/*-----SEKTIONEN*/

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: 100vw;
}

section#start {
    background-color: var(--primary-grey);
}

h2 {
    display: block;
    color: white;
    background-color: var(--primary-green);
    font-size: clamp(1.5rem, 2vw, 2rem);
    padding: 1rem;
    border-bottom: solid 4px var(--akzent-orange);
}

/* h2#leistungsHeader::after {
    position: absolute;
    content: " ";
    background-color: var(--akzent-orange);
    width: 24.5%;
    height: 4px;
    bottom: -70px;
    left: 70px;
    border-radius: 20px;
}

h2#aboutmeHeader::after {
    position: absolute;
    content: " ";
    background-color: var(--akzent-orange);
    width: 35%;
    height: 4px;
    bottom: 7px;
    left: 32px;
    border-radius: 20px;
} */

p {
    font-size: clamp(1rem, 0.6rem + 0.8vw, 1.5rem);
    line-height: 125%;
}

section#leistungen h2 {
    padding: max(1rem, 1.5%) max(1rem, 5%) max(1rem, 1.5%) max(1rem, 5%);
}

.wrapContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    min-height: 100vh;
    max-width: 100vw;
    background-color: var(--primary-grey);
    padding: min(3rem, 3%);
}

.box {
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    background-color: var(--primary-green);
    flex: 1 1 clamp(200px, 30%, 33.333% - 1rem);
    max-width: clamp(200px, 30%, 33.333% - 1rem);
    transition: all 0.3s ease-in-out;
    border-radius: 20px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}

/* Tablet (2 Boxen pro Zeile) */
@media screen and (max-width: 1023px) {
    .box {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

/* Handy (1 Box pro Zeile) */
@media screen and (max-width: 762px) {

    section#leistungen {
        min-height: 69vh;
    }

    .wrapContainer {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        min-height: 50vh;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: .5rem;
    }

    .box {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: center;
    }
}

.bild {
    height: min(315px, 25vh);
    border-radius: 20px 20px 0 0;
}

.bild img.boxBild {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    border-radius: 20px 20px 0 0;
}

.text {
    font-size: clamp(1.25rem, 1.1607rem + 0.4464vw, 1.875rem);
    color: white;
    padding: min(1rem, 10%);
    flex: 1 1 calc(50% - 1rem);
}

.text h3 {
    position: relative;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    margin-bottom: min(2rem, 5%);
}

.text h3::after {
    content: '';
    background-color: var(--akzent-orange);
    position: absolute;
    top: 130%;
    left: 0;
    height: 3px;
    width: 100%;
    bottom: 0;
}

/*-----SEKTION-TEILER -----*/
.sectionTeiler {
    height: min(40vh, 50vh);
    max-width: 100vw;
    background-color: #FF7A47;
}

.sectionTeiler img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 768px) {
    .sectionTeiler {
        height: 50vh;
        max-width: 100vw;
        margin-bottom: 0;
        background-color: #FF7A47;
    }

    .sectionTeiler img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/*------ ABOUT ME ------*/

section#aboutMe {
    flex-direction: row;
}

.aboutMeInhalt {
    display: flex;
    flex-direction: column;
    width: 50vw;
}

div.aboutMeInhalt h2 {
    position: relative;
    left: 0;
    width: 100%;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--primary-green);
    background-color: var(--primary-grey);
    padding: max(1rem, 1.5%) max(1rem, 5%) max(1rem, 1.5%) max(1rem, 5%);
}

.aboutMeText {
    padding: max(1rem, 2%) max(1rem, 5%);
}

.aboutMePicture {
    width: 50vw;
    height: 50vh;
}

.aboutMePicture img {
    width: 100%;
    max-width: 50vw;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 20px;
}

@media screen and (max-width: 1023px) {
    section#aboutMe {
        flex-flow: column;
    }

    .aboutMePicture img {
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
    }

    .aboutMeText {
        width: 100vw;
    }
}

/*----- AUFLISTUNG ABOUT ----*/

.aboutMeText p {
    font-size: clamp(1rem, 0.6rem + 0.8vw, 1.5rem);
    line-height: 120%;
    margin: max(0.5rem, 2%) 0 max(0.5rem, 5%) 0;
}

ul li {
    font-family: Helvetica, sans-serif;
    font-size: clamp(1rem, 0.6rem + 0.8vw, 1.5rem);
    list-style: none;
    line-height: 120%;
    margin: max(0.5rem, 2%) 0 max(0.5rem, 5%) 0;
}

span.listBold {
    display: block;
    position: relative;
    font-family: "articulat-cf", sans-serif;
    font-size: x-large;
    font-weight: 700;
}

span.listBold::after {
    content: '';
    background-color: var(--akzent-orange);
    position: absolute;
    top: 130%;
    left: 0;
    height: 4px;
    width: 90%;
    bottom: 0;
    border-radius: 20px;
}


@media screen and (max-width: 1023px) {
    section#aboutMe {
        flex-direction: column;
    }

    .aboutMeInhalt {
        display: flex;
        flex-direction: column;
        width: 100vw;
    }

    div.aboutMeInhalt h2 {
        position: relative;
        left: 0;
        width: 100%;
        font-size: clamp(1.5rem, 2vw, 2rem);
        color: var(--primary-green);
        background-color: var(--primary-grey);
        padding: max(1rem, 1.5%) max(1rem, 5%) max(1rem, 1.5%) max(1rem, 5%);
    }

    .aboutMePicture {
        width: 100vw;
        height: 50vh;
    }

    .aboutMePicture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px 20px 0 0;
    }
}


/*----- KONTAKT ----*/

section#contact {
    background-image: url(img/medizinischerStuhl.jpg);
    background-size: cover;
    background-position: bottom;
}

.kontaktContainer {
    display: flex;
    flex-direction: row;
    background-image: url(svg/Anastasia_Kloos_Grey_foot.svg);
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 60%;
    background-size: max(25%, 30%);
    background-color: var(--primary-grey);
    margin: 0 clamp(1.5rem, 5%, 5rem) 0 clamp(1.5rem, 5%, 5rem);
}

@media screen and (max-width: 768px) {
    .kontaktContainer {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        min-height: 80vh;
        background-position-x: 90%;
        background-position-y: 70%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .kontaktContainer {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        min-height: 80vh;
        background-position-x: 85%;
        background-position-y: 90%;
    }
}

iframe {
    width: 100%;
    min-height: 35vh;
    height: auto;
    flex: 1 1 auto;
    padding: clamp(0.5rem, 2vw, 3rem);
}

.kontaktTextContainer {
    color: var(--primary-green);
    width: min(70vw, 70%);
    height: min(70vh, 45vh);
    padding: max(1rem, 2%);
}

.kontaktTextContainer h3 {
    position: relative;
    font-size: clamp(1.75rem, 2vw, 2rem);
    font-weight: 600;
    margin-bottom: min(2rem, 30%);
}

.kontaktTextContainer h3::after {
    content: '';
    background-color: var(--akzent-orange);
    position: absolute;
    top: 130%;
    left: 0;
    height: 4px;
    width: calc(65% - 20%);
    border-radius: 20px;
    bottom: 0;
}

.kontaktTextContainer ul li {
    font-size: clamp(1.25rem, 1.5vw, 1.35rem);
    font-weight: 600;
    margin: max(0.5rem, 2%) 0 max(0.5rem, 2%) 0;
}

li.kontaktDataItem a {
    color: var(--primary-green);
    text-decoration: none;
}

/*----- FOOTER -----*/

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-green);
    box-shadow: -1px -1px 30px rgba(0, 0, 0, 0.5);
    min-height: 8vh;
    max-width: 100vw;
    padding: 0 min(2.5rem, 2%) 0 min(2.5rem, 2%);
}

ul.footerNav li {
    display: inline;
    font-size: clamp(1rem, 1.25vw, 1.5rem);
    margin: 0.2rem;
    padding: 0 .5rem 0 .5rem;
}

ul.footerNav li a {
    text-decoration: none;
    color: var(--white);
}

@media screen and (max-width: 768px) {
    p.copyright {
        font-size: .5rem;
        font-weight: 400;
    }
}


p.datenschutz a {
    font-size: clamp(1rem, 1.25vw, 1.5rem);
    text-decoration: none;
    color: var(--white);
}

/*----- UNTERSEITEN -----*/

section.unterSeitenSektion {
    padding-top: 15vh;
}

.unterseitenHeader {
    border-bottom: 0;
    padding: 0 min(1rem, 5%) 0 min(1rem, 5%)
}

p.infoseitenPadding {
    padding: min(1rem, 5%)
}

.auflistungStyle {
    margin: .4rem;
    padding: 0 min(1rem, 5%) .5rem min(1rem, 5%);
}

li.auflistungStyle::before {
    content: " › ";
    color: #FF7A47;
    margin: 0;
    padding: 0;
}