@font-face {
    font-family: "OpenSans";
    src: url("fonts/OpenSans.woff2") format("woff2");
}

@font-face {
    font-family: "Whisper";
    src: url("fonts/Whisper.woff2") format("woff2");
}

@font-face {
    font-family: "ITC Tempus Sans W02 Regular";
    src: url("https://db.onlinewebfonts.com/t/eb6b0dff01f56021ee7bbfd0328b8b51.eot");
    src: url("https://db.onlinewebfonts.com/t/eb6b0dff01f56021ee7bbfd0328b8b51.eot?#iefix")format("embedded-opentype"),
        url("https://db.onlinewebfonts.com/t/eb6b0dff01f56021ee7bbfd0328b8b51.woff2")format("woff2"),
        url("https://db.onlinewebfonts.com/t/eb6b0dff01f56021ee7bbfd0328b8b51.woff")format("woff"),
        url("https://db.onlinewebfonts.com/t/eb6b0dff01f56021ee7bbfd0328b8b51.ttf")format("truetype"),
        url("https://db.onlinewebfonts.com/t/eb6b0dff01f56021ee7bbfd0328b8b51.svg#ITC Tempus Sans W02 Regular")format("svg");
}

#cookie-popup {
    text-align: center;
    background: #fff;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    font-size: 16px;
    line-height: 20px;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    min-height: 40vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30vh;
}

#cookie-popup a {
    color: black;
    font-weight: bold;
}

#cookie-popup::after {
    content: '';
    width: 100%;
}

button {
    /* or `:nth-child(n + 4)` */
    order: 1;
}

#cookie-popup.hidden {
    display: none;
}


@media screen and (max-width: 450px) and (orientation: portrait) {
    html {
        font-size: 16px !important;
    }
}

body.home {
    overflow: scroll;
    background-image: url(../img/alm.jpg);
    background-size: cover;
    background-position: center center;

}

@media screen and (max-width: 450px) and (orientation: portrait) {
    body.home {
        background-image: none;
        background-color: lightblue;
    }
}



::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: #e1e1e1;
    border: 0px none #ffffff;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

::-webkit-scrollbar-thumb:active {
    background: #000000;
}

::-webkit-scrollbar-track {
    background: #666666;
    border: 0px none #ffffff;
    border-radius: 50px;
}

::-webkit-scrollbar-track:hover {
    background: #666666;
}

::-webkit-scrollbar-track:active {
    background: #333333;
}

::-webkit-scrollbar-corner {
    background: transparent;
}



#header {
    width: 100%;
    height: 20vh;
    position: relative;
    background-color: rgba(255, 255, 255, 0.3);
    min-height: 150px;
}

/* Der feste Container mit 20vw Breite und Höhe */
#logo {
    position: absolute;
    width: 10vw;
    height: 10vw;
    /*  min-width: 150px;
    optional: minimale Größe 
    min-height: 150px;*/
    margin-top: 0.3vw;
    margin-left: 2vw;
    z-index: 100000;
}

@media screen and (max-width: 450px) and (orientation: portrait) {
    #logo {
        width: 17vh;
        height: 17vh;
        margin-left: -1vw;
    }
}

#schrift {
    position: absolute;
    top: 20%;
    left: 20%;
    color: rgb(9, 26, 7);
    font-size: 4vw;
    font-family: "Whisper", cursive;
    font-weight: 400;
    font-style: normal;
}

#schrift_mob {
    position: absolute;
    top: 30%;
    left: 32%;
    color: rgb(9, 26, 7);
    font-size: 20px;
    font-family: "ITC Tempus Sans W02 Regular";
    font-weight: 400;
    font-style: normal;
    display: none;
}

@media screen and (max-width: 450px) and (orientation: portrait) {
    #schrift {
        display: none;
    }

    #schrift_mob {
        display: block;
    }
}

/* Der sich drehende Textkreis */
.rotating-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    animation: rotate 60s linear infinite;
    transform-origin: center;
    font-size: 1.2vw;
    letter-spacing: 0.7vw;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Das mittige Logo */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4vw;
    /* skaliert automatisch mit Fenstergröße */
    color: white;

}

.center-logo img {
    width: 150%;
    height: auto;
    transform: translate(-20%);

}

#header nav {
    width: 50%;
    float: right;

    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header nav ul li {

    display: inline-block;
    list-style-type: none;
    margin-right: 3vw;
}

#header nav ul li:last-child {
    margin-right: 3vw;
}

#header nav li a {
    color: white;
    text-decoration: none;
    font-size: 1.2vw;
    font-weight: bold;

}



#header nav li a:hover {
    text-shadow: 1px 1px 1px red;
}



nav ul li ul.subnav {
    position: absolute;
    padding-top: 0.5em;
    z-index: -1;
    display: none;
    width: inherit;
    transition: opacity 1s;
    font-weight: normal;
    margin-left: -2vw;
}

nav ul li ul.subnav li {
    display: block;
    margin-bottom: 1em;




}

ul.subnav li a {

    font-size: 1vw !important;
    border: 1px double white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.25em;
    margin-bottom: 1em;
}

nav ul li:hover ul.subnav {
    display: block;
    z-index: 1007;

}

@media screen and (max-width: 450px) and (orientation: portrait) {
    #header nav {
        display: none;
    }

    #header .menu {
        display: block;
        position: absolute;
        width: 15vw;
        height: 15vw;
        right: 5vw;
        top: 7vw;
    }

    #header #nav2 {
        text-align: center;
        width: 50%;
        background-color: black;
        color: white;
        height: 80vh !important;
        margin-top: 15vh;
        font-size: 16px;
        position: absolute;
        right: 0;
        z-index: 100000;
        display: none;
        padding-top: 5vh;
    }

    #header #nav2 a {
        color: white;
        font-size: 24px;
        display: flex;
        flex-direction: column;
        margin: 2%;
        margin-bottom: 5%;

        text-decoration: none;
    }

}

@media screen and (min-width: 450px) {
    #header #nav2 {
        display: none;
    }

    #header .menu {
        display: none;
    }
}



#content {
    min-height: 66.5vh;
    margin: 2vw;
}





#content #unten {
    height: 70%;
    width: 100%;



    display: flex;
    gap: 1vw;



}

#content #unten .kasten {
    width: 50%;

    background-color: rgba(255, 255, 255, 1);

    padding: 0;
    margin: 0;
    margin-top: 2%;

    border-top-left-radius: 5vw;
    border-bottom-right-radius: 5vw;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 5vw rgb(2, 78, 50),
        1px 1px 1px black;
}



#content #unten .kasten .img {
    width: 100%;
    height: 50%;
    overflow: hidden;

}

#content #unten .kasten .img img {
    width: 100%;

    height: 100%;
}


#content #unten .kasten .txt {
    hyphens: auto;
    /* Für ältere Browser-Versionen */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    text-align: justify;
    font-size: 0.8vw;
}

#content #unten .kasten .txt h2 {
    font-size: 1vw;
    font-weight: bold;
    text-align: center;
}

#content #unten .kasten .txt p {
    padding-left: 5%;
    padding-right: 5%;
    overflow-y: auto;

}

@media screen and (max-width: 450px) and (orientation: portrait) {
    #content {
        margin-top: -5vh;
    }

    #content #unten {
        height: 70%;
        width: 100%;

        display: block;
    }

    #content #unten .kasten {
        width: 100%;
        margin-bottom: 5vw;
    }

    #content #unten .kasten .txt {
        font-size: 16px;
    }

    #content #unten .kasten .txt h2 {
        font-size: 18px !important;
    }
}



footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 5%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    bottom: 0;
    font-weight: bold;
    color: rgb(1, 39, 5);

}

footer>div:hover {
    text-shadow: 1px 1px 1px red;
}

footer>div,
footer a:hover {
    width: 33%;

}



footer>div:last-child {
    padding-right: 2vw;
    display: block;
    text-align: right;
}


footer>div:last-child img {
    transition: all 1s;
}

footer>div:last-child img:hover {

    transform: scale(1.5);
    padding-bottom: 2.5vh;
}

footer>div:first-child {
    padding-right: 15%;
}

footer img {
    height: 5vh;
    margin-right: 1vw;
    margin-left: 1vw;

}

footer img.smaller {
    height: 4vh;

}

footer #copy1 {
    display: block;

}

footer #copy2 {
    display: none;
}


@media screen and (max-width: 450px) and (orientation: portrait) {
    footer #copy1 {
        display: none;

    }

    footer #copy2 {
        display: block;
        font-size: 16px;
    }
}


#impressum {
    background-color: rgb(9, 26, 7);
    height: 75vh !important;
}

#impressum nav li a {
    color: white;
}

.impressum {
    background-image: url(../img/data-bg1.jpg);
    background-color: white;
    width: 80%;
    margin-left: 5%;
    min-height: 48.2vh;
    padding: 5vw;
    overflow: scroll;
    margin-top: 25vh;
    margin-bottom: 5vh;

}

.impressum a {
    color: black;

}



.impressum a:hover {
    color: blue;
}

.rund {
    width: 15vw;
    height: 15vw;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}



#impressum .impressum div {
    width: 60%;
    text-align: center;
    margin-left: 20%;
}

#impressum .impressum div p {
    width: 33%;
    float: left;
    text-align: left;
}

#impressum .impressum div p:nth-child(2) {
    font-size: 5rem;
    font-family: "ITC Tempus Sans W02 Regular";
    text-align: center;
}

#impressum h2 {
    font-family: "ITC Tempus Sans W02 Regular";
    font-size: 2vw;
}

#impressum #datalink {
    margin-top: 30vh;
    font-size: 2vw;
    text-align: center;
    width: 100%;
    font-family: "ITC Tempus Sans W02 Regular";
    font-weight: bold;
}


#impressum p a {
    color: black;


}

#impressum #header {
    background-color: grey;
    position: fixed;
    top: 0;
}

#impressum footer {
    margin-top: -2.5vh;
}

@media screen and (max-width: 450px) and (orientation: portrait) {
    #impressum .impressum {
        margin-top: 22vh;
        font-size: 16px;
    }

    #impressum .impressum div {
        width: 80%;
        margin-left: 5%;
    }

    #impressum .impressum div p {
        float: none;
        font-size: 16px;
        width: 100%;
        height: fit-content;
    }

    #impressum .impressum div p:nth-child(2) {
        margin: 0;
        padding: 0;

    }

    #impressum #datalink,
    #impressum h2 {
        font-size: 18px;
    }

    #impressum #datalink {
        margin-top: 0;
    }
}

#impressum #logo svg,
#email #logo svg {
    filter: brightness(0) saturate(100%) invert(7%) sepia(8%) saturate(5075%) hue-rotate(70deg) brightness(100%) contrast(97%);
}

.erstgrey {
    background-color: grey;
}



#termine nav a,
#feedback nav a,
#about nav a {
    text-shadow: 1px 1px 1px black;
}

#termine #logo svg,
#feedback #logo svg {
    filter: brightness(0) saturate(100%) invert(7%) sepia(8%) saturate(5075%) hue-rotate(70deg) brightness(100%) contrast(97%);
}


#about {
    background-image: url(../img/about-bg.jpg);
    background-size: cover;

    max-width: 100vw;
}

#about .about {
    min-height: 75vh;
    max-width: 100vw;
}

#about .about .text {
    width: 33%;
    float: left;
}

#about .about .text #oben {
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .about .text #oben p {
    margin-top: 5vh;
    text-align: center;
    font-size: 1.2vw;
    font-weight: bold;
}

#about .about .text #unten {
    width: 140%;
    margin-left: -10%;
}

#about .about .text #unten #links {
    width: 50%;
    float: left;

}

#about .about .text #unten #rechts {
    width: 50%;
    float: left;

}


#about .about .img {
    width: 33%;
    float: left;
    position: relative;
    height: 85vh;
}

#about .about .rechtsbild img {
    margin-left: 5vw;
}

#about .about .img img {
    width: auto;
    height: 60vh;
    position: absolute;
    bottom: 0;
}


#about #header {
    background-color: transparent;
}

#about footer {
    background-color: white;
    bottom: 0;
}

.nam {
    display: none;
}

@media screen and (max-width: 450px) and (orientation: portrait) {
    #about {
        font-size: 16px;
        background-image: none;
    }

    #about .about .text #oben {
        width: 95vw;
    }

    #about .about .text #oben p {

        font-size: 18px;
    }

    #about .about .text #unten {
        width: 95vw;
        margin-left: 0;
        margin-top: 45vw;
    }

    #about .about .text #unten #links {
        width: 100%;
        float: none;
        display: none;
    }




    #about .about .text #unten #rechts {
        width: 100%;
        float: none;
        display: none;
    }



    #about .about .img {
        top: 45vh;
        overflow: hidden;
        position: absolute;
        width: 150px;
        height: 150px;
        border-radius: 100%;
        background-color: grey;
        margin-left: 2vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #about .about .img img {
        width: auto;
        height: 100%;
    }

    #about .about .rechtsbild {
        right: 5vw;
    }

    .nam {
        display: flex;
        position: absolute;
        font-size: 16px;
        justify-content: center;
        margin-top: 60%;
        z-index: 1000000;
        color: white;
        text-shadow: 1px 1px 1px black;
    }

}

#termine #header nav li a {
    color: lightgrey;
}

#termine {
    background-image: url(../img/termine1a.png);
    background-size: cover;
    height: 100%;

}

#termine a {

    color: #000000;
}


.termine {
    width: 100%;
    height: 40vh;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
}

.contact {
    height: 35vh;
    margin-left: 20%;
}





#adr-icon {
    position: absolute;
    top: 35vh;
    left: -3vw;
    width: 4vw;
    height: 10vw;
    border-radius: 20%;
    background-color: black;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    z-index: 100000;
    box-shadow: 5px 5px 5px grey;
    padding: 0.5vw;
    cursor: pointer;
}


#kond-icon {
    position: absolute;
    top: 40vh;
    right: -3vw;
    width: 4vw;
    height: 10vw;
    border-radius: 20%;
    background-color: black;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    writing-mode: vertical-lr;
    z-index: 100000;
    box-shadow: 5px 5px 5px grey;
    padding: 0.5vw;
    cursor: pointer;
}

#kond-icon img,
#adr-icon img {
    height: 2vw;
    width: auto;
    transform: rotate(45deg);
    margin-top: 1vw;
}

#adressen {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100vh;
    left: 0;
    background-color: rgb(236, 244, 192);
    color: white;
    text-align: center;
    display: none;
    background-image: url(../img/house.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: bottom right;
}



#adressen #cardholder {
    width: 90%;
    margin-left: 5%;
    margin-top: 20%;
    display: grid;
    grid-template-columns: auto auto;

}

#adressen #cardholder .card {
    background-color: #f1f1f1;
    border: 1px solid black;
    padding: 2%;
    font-size: 30px;
    text-align: center;
    width: 18vw;

    margin: 5%;
    color: black;
    font-size: 1vw;
}


#konditionen {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100vh;
    right: 0;
    background-color: rgb(9, 26, 7);
    color: white;

    display: none;
}

#konditionen .konditionen {
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
    overflow-y: scroll;
    height: 95%;
}


#feedback {
    background-image: url(../img/menge2.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#feedback #header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
}

#feedback #header nav a {
    color: lightgrey;
}

#feedback .feedback {
    width: 60%;
    margin-left: 20%;
    min-height: 72vh;
    margin-top: 25vh;

}

#feedback .feedback .text {

    hyphens: auto;
    min-height: 68vh;
    line-height: 4vh;
    text-align: justify;
    min-width: 30vw;
    margin: 5vw;
}

#feedback .feedback h2 {
    font-size: 3rem;

    background-color: white;
    padding: 1vw;
    box-shadow: 5px 5px 5px black;
    font-family: "ITC Tempus Sans W02 Regular";
}

#feedback .feedback .text p {

    padding: 1vw;
    margin: 2vw;
    box-shadow: 5px 5px 5px black;
}

#feedback .feedback .text p em {
    font-size: smaller;
}

#feedback .feedback .text p:nth-child(even) {

    background-color: white;
}

#feedback .feedback .text p:nth-child(odd) {
    background-color: lightgrey;
}

#feedback footer {
    background-color: white;
    bottom: 0;
}

@media screen and (max-width: 450px) and (orientation: portrait) {

    #feedback .feedback {
        width: 100%;
        margin-left: 0;
        margin-top: 30vh;
    }



    #feedback .feedback .text p {
        font-size: 16px;
        margin-bottom: 5vh;
    }
}

.center_404 {
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    color: white;
}

#p404 #header {
    background-color: grey;
}

#p404 nav a {
    text-shadow: 1px 1px 1px red;
}

@media only screen and (min-width: 360px) and (max-width: 767px) {
    #schrift {
        display: none;
    }

    #schrift_mob {
        display: block;
        margin-left: -2vw;
    }
}