@import url("reset.css");

/*-----------FONTS-----------*/

/* alegreya-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/alegreya-sans-v26-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/alegreya-sans-v26-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* sacramento-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Sacramento';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/sacramento-v17-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*-----------FONTGESTALTUNG-----------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alegreya Sans';
    font-weight: bold;
    overflow-x: hidden;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

p {
    font-family: 'Alegreya Sans';
    font-weight: 200;
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
    margin-bottom: 15px;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

h1 {
    font-size: 50px;
    top: 40vh;
    left: 2%;
    position: absolute;
    z-index: 99;
    padding: 15px 30px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
}

h1 b {
    font-size: 30px;
    text-transform: none;
}

h2 {
    color: #05A2A4;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 10px;
}

h3 {
    color: #05A2A4;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 30px;
}


h4 {
    font-size: 16px;
}

li {
    font-size: 14px;
    list-style: disc;
    line-height: 33px;
}

strong {
    font-weight: 500;
    font-size: 16px;
    font-weight: 600;
}

.line {
    background-color: #05A2A4;
    width: 50px;
    height: 3px;
    margin-bottom: 25px;
}

/*-----------NAVI-----------*/

.logo {
    position: fixed;
    width: auto;
    height: 60px;
    top: 0px;
    left: 5%;
    z-index: 9999;
}

nav {
    position: fixed;
    background: #E6E6E6;
    width: 100%;
    z-index: 101;
    top: 0;
    text-align: right;
    padding: 22px 0;
    z-index: 100;
}

nav ul {
    margin-right: 10%;
}

nav ul li {
    display: inline-block;
    margin: 0 2%;
}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #9d9d9d;
    font-weight: 600;
}

nav ul li strong {
    color: #0025a6;
    font-weight: 600;
}

nav ul li a:hover {
    color: #05A2A4;
}

.navi {
    display: none;
}

.burger-nav {
    position: fixed;
    right: 0;
    top: -6px;
    color: #ffffff;
    z-index: 9999;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-size: 40px;
    cursor: pointer;
    transition: all .4s ease-in-out;
    background-color: #05A2A4;
    padding: 16px 21px 21px 19px;
    border-radius: 30px 0px 0px 0px;
}

.burger-nav b {
    transition: all .4s ease-in-out;
    float: left;
    margin-left: 0;
    font-family: 'Roboto';
    font-style: normal;
}

.burger-nav-anim {
    top: -5px;
    color: #fff;
}

.burger-nav-anim b:first-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger-nav-anim b:nth-of-type(2) {
    opacity: 0;
}

.burger-nav-anim b:last-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-left: -80%;
}

.full-screen-nav {
    position: fixed;
    z-index: 9998;
    width: 100%;
    height: 100vh;
    background: #828282;
    display: table;
    visibility: hidden;
    transition: all .4s ease-in-out;
    opacity: 0;
}

.full-screen-nav ul {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.full-screen-nav ul li a {
    padding: 20px;
    display: block;
    font-size: 30px;
    color: #fff;
    transition: all .4s ease-in-out;
    text-decoration: none;
}

.full-screen-nav :hover {
    color: #05A2A4;

}

.fadeIn {
    opacity: 1 !important;
    visibility: visible !important;
}

.fadeUp {
    opacity: 1 !important;
    margin-top: 0 !important;
}

/*-----------ASIDE-----------*/

aside img {
    position: fixed;
    background-color: #05A2A4;
    width: 45px;
    z-index: 999;
    right: 0;
    transition: 0.5s;
    border-radius: 15px 0px 0px 15px;
}

aside img:hover {
    background-color: #6d6d6d;
}

.mail {
    top: 300px;
}

.phone {
    top: 370px;
}

/*-----------SUBNAV-----------*/

.subnav {
    position: fixed;
    bottom: 0;
    color: #fff;
    z-index: 999;
    transition: 0.5s;
    width: 100%;
    text-align: right;
}

.subnav a {
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    background-color: #05A2A4;
    margin-left: 20px;
    line-height: 23px;
    border-radius: 15px 15px 0px 0px;
}

.subnav a:nth-of-type(2) {
    margin-right: 5%;
}

.subnav a:hover {
    color: #dfdfdf;
}

/*-----------HEADER-----------*/

header {
    background: url("../images/header.webp") no-repeat;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.down {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

.up {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

/*-----------AUFBAU-----------*/

html {
    scroll-behavior: smooth;
}

#ueberuns,
#leistungen {
    padding: 150px 0;
    position: relative;
}

.content {
    display: flex;
    width: 80%;
    margin-left: 10%;
}

.col {
    width: 90%;

}

.col3 a {
    background-color: none;
}

.col:nth-of-type(2) {
    padding-left: 10%;
}

.btn {
    background-color: #05A2A4;
    color: #fff;
    padding: 5px 30px;
    transition: 0.5s;
    border-radius: 30px;

}

.btn:hover {
    background-color: #6d6d6d
}

::-moz-selection {
    background: #006667;
    color: #fff;
}

::selection {
    background: #006667;
    color: #fff;
}

/*-----------ÜBER UNS-----------*/


.mitarbeiter-img {
    object-fit: cover;
    width: 100%;
    height: 400px;
    border-radius: 50px;
}

.auswahl {
    margin-bottom: 50px;
}

/* .picker {
    width: 80%;
    margin-left: 10%;
}

.tablink {
    font-size: 14px;
    background-color: #05A2A4;
    color: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    margin-right: 20px;
} */

.picker {
    display: flex;
    width: 77%;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
}

.tablink {
    display: inline-block;
    font-size: 14px;
    background-color: #05A2A4;
    color: #fff;
    padding: 20px 40px;
    border-radius: 20px;
}

.tablink:hover,
.active {
    background-color: #006667;
}

/*-----------LEISTUNGEN-----------*/


#leistungen {
    background-color: #f8f8f8;
}

#leistungen h2 {
    margin-left: 10%;
}


#leistungen .content {
    margin-bottom: 80px;
}

.bild {
    background: url("../images/apotheker.webp") no-repeat;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.bild1 {
    background: url("../images/globulis.webp") no-repeat;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.bild2 {
    background: url("../images/gesundheisberatung.webp") no-repeat;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.bild3 {
    background: url("../images/weckselwirkung.webp") no-repeat;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.bild4 {
    background: url("../images/vorsorge.webp") no-repeat;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.bild5 {
    background: url("../images/beratung.webp") no-repeat;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.text-box {
    text-align: center;
    padding: 30px 50px 40px;
    background-color: #fff;
    border-radius: 0 0 50px 50px;
}

/*--Popups--*/



.btn {
    background-color: #05A2A4;
    color: #fff;
    padding: 5px 30px;
    transition: 0.5s;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.button:hover {
    background: #06D85F;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #05a1a42c;
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    height: 100dvh;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    top: 30dvh;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    height: 22%;
    position: relative;
    transition: all 5s ease-in-out;
    z-index: 10000;
    margin-top: 20px;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

popup h3 {
    margin-top: 20%;

}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    max-height: 80%;
    overflow: auto;
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}

/*-----------BEREICH3-----------*/

#kontakt a {

    background-color: #05A2A4;
    padding: 5px 30px;
    transition: 0.5s;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

#kontakt a:hover {
    background-color: #6d6d6d
}

#kontakt h2 {
    color: #05A2A4;
    font-weight: 800;
}


#kontakt h3 {
    color: #05A2A4;
    font-weight: 500;
}

#kontakt p {
    color: #05A2A4;
    font-weight: 200;
}



/*-----------PUFFER-----------*/

.puffer1 {
    background: url("../images/junges-paar.webp") no-repeat;
    height: 1000px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;

}

.puffer1 .box {
    padding-right: 5%;
    padding-left: 60%;

    color: #fff;
    line-height: 25px;
    text-align: right;
    padding-top: 400px;
}

.puffer1 h2 {
    color: #fff;
}


.puffer2 .box {
    padding-right: 5%;
    padding-left: 5%;

    color: #fff;
    line-height: 25px;
    text-align: left;
    padding-top: 430px;
}

.puffer2 h2 {
    color: #fff;
}

.puffer2 {
    background: url("../images/paar.webp") no-repeat;
    height: 1000px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

/*-----------FOOTER-----------*/
.formular {
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}




footer {
    padding: 300px 0;
    background-color: #ffffff
}

footer p,
footer h2,
footer h3,
footer a {
    color: #000000;
}

footer a {
    text-decoration: underline;
}

footer .line {
    background-color: #fff;
}


footer .content {
    display: flex;
}

/*-----------RESPONSIVE-----------*/

@media screen and (max-width: 1366px) {

    header,
    .puffer1,
    .puffer2 {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 30px;
        top: 45vh;
        left: 10%;
        padding: 15px 25px;
    }

    h1 b {
        font-size: 25px;
    }

    h2 {
        position: relative;
    }

    .logo {
        position: absolute;
        height: 40px;

    }


    header {
        height: 75vh;
        top: -16px;
    }

    nav {
        display: none;
    }

    nav ul {
        display: none;
    }

    .navi {
        display: block;
    }

    .puffer1,
    .puffer2 {
        height: 500px;
    }

    .puffer1 {
        background-position: left top;
    }

    .puffer2 {
        background-position: right top;
    }
}

@media screen and (max-width: 700px) {

    main {
        text-align: center;
    }

    .content {
        display: block;
    }

    .col {
        width: 80%;
        margin-left: 10%;
    }

    .col:nth-of-type(2) {
        padding: 40px 0 0;
    }

    .line {
        width: 20%;
        margin-left: 40%;
    }

    .formular {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 50px auto;
        padding: 20px;
        box-sizing: border-box;
    }

    form input,
    form textarea {
        width: 100%;
        min-height: auto;
        padding: 12px;
        font-size: 1rem;
        box-sizing: border-box;
        margin-bottom: 15px;
    }

    form textarea {
        min-height: 200px;
        resize: vertical;
    }

    footer .content {
        display: block;
    }

    .formular {
        width: 100%;
        height: 600px;
    }
}



@media screen and (max-width: 500px) {

    h1 {
        font-size: 20px;
        padding: 15px 20px;
        top: 50vh;
        font-weight: bold;
    }

    h1 b {
        font-size: 16px;
    }

    aside img {
        width: 40px;
    }

    .mail {
        top: 250px;
    }

    .phone {
        top: 320px;
    }

    .formular {
        width: 100%;
        margin-left: 0;
        height: auto;
    }


    #leistungen h2 {
        margin-left: 2%;
    }

    .puffer2 .box {
        padding-right: 5%;
        padding-left: 5%;
        color: #fff;
        line-height: 25px;
        text-align: left;
        padding-top: 309px;
    }

    footer .content {
        display: block;
    }

    .formular {
        width: 100%;
        height: 600px;
    }

    footer {
        padding: 100px 0;
        background-color: #ffffff;
    }

}