@font-face {
    font-family: Fraunces;
    src: url(../fonts/fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf) format("truetype");
}

@font-face {
    font-family: Monserrat;
    src: url(../fonts/monserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: Roboto;
    src: url(../fonts/roboto/Roboto-Regular.ttf) format("truetype");
}

@font-face {
    font-family: Roboto-Black;
    src: url(../fonts/roboto/Roboto-Black.ttf) format("truetype");
}

@font-face {
    font-family: Roboto-Medium;
    src: url(../fonts/roboto/Roboto-Medium.ttf) format("truetype");
}

* {
box-sizing: border-box;
}

:root {
--schwblau: #022339;
--gruen: #186f65;
--hgruen: #c4e8c3;
--creme: #FCF8F2;
--hell: #ffffff;
--dunkel: #000000;
--men-height: 6vh;
--cell-size: calc(55vh / 4); /* Jede Zelle nimmt ein Fünfzehntel der Viewport-Breite minus 50px (für die Scrollbar) und dem Abstand zwischen den Zellen */
--size:1.05rem;
--h2:2.5rem;
--h3:1.2rem;
--size2:1rem;
--size3:1.5rem;
}

* {
    box-sizing: border-box;
}

html, body, header {
    font-family: Monserrat;
    font-weight: 300;
    font-size: var(--size);
    hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    /* Optional: Weitere Eigenschaften zur Textformatierung */
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 0px;
    line-height: 1.4em;
}

.menue a {
    padding:5px;
}

a {
    color:var(--hell);
}

a:hover { 
    background-color: var(--creme);
    color:var(--dunkel); 
}

.btn {
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 15px;
    width: 100%;
    border: 1px solid var(--dunkel);
    color: var(--dunkel);
    font-size: 0.9  rem;
}

.btn:hover {
    background-color: var(--gruen);
    color: var(--hell);
    border: 1px solid var(--gruen);
}

.btn.hell:hover {
    background-color: var(--hell);
    color: var(--gruen);
    border-color: var(--hell);
}

h2 {
    font-family: Fraunces;
    color:var(--dunkel);
    font-size:var(--h2);
    text-align: center;
    transition-property: opacity, transform;
    font-family: "Fraunces", Tofu;
    font-weight: 400;
    font-stretch: normal;
    font-optical-sizing: auto;
    line-height: initial;
    margin-bottom:15px;
}

h2.hell {
    text-align: left;
}

h3 {
    font-size: var(--h3);
}

h4 {
    font-weight: 600;
    font-size: 0.9rem;
    margin-top:0px;
}

.hell {
    color: var(--hell);
    border-color:var(--hell);
}

.creme {
    background-color: var(--creme);
}

.form {
    width:100px;
    height:100px;
}

.abstand {
    margin-top:50px;
}

.abstand2 {
    margin-top:80px;
}

hr {
    width:100%;
    border: 1px solid;
    margin-bottom:35px;
}

.inhalt {
    padding:50px;
}
.main-container {
    box-shadow: 30px 18px 18px -16px rgba(0,0,0,0.3);
}

.flex {
    width:100%;
    display:flex;
    align-items: flex-start;
}

.flex1 {
    display: flex;
    flex-wrap: wrap; /* Spalten nebeneinander */
    width: 100%;
}

.stretch {
    align-items: stretch; /* Dehnt die Kinder-Elemente in der Höhe */
}

.gap {
    gap:80px;
}

.gruen {
    background-color: var(--gruen);
}

.b25 {
    position: relative;
    flex-basis:25%;
    overflow:hidden;
}

.b25 img {
    width: 100%;
    display: block;
}

.b33 {
    position: relative;
    flex-basis:33%;
    overflow:hidden;
}

.img33 img {
    position: relative;
    left: 50%;
    width: 50%;
    max-width: 200px;
    display: block;
}

.b50 img {
    width: 100%;
    display: block;
}

.b50 {
    width: 50%;
    position: relative;
    display: flex;  /* Macht b50 zu einem Flex-Container */
    flex-direction: column;  /* Ermöglicht vertikales Strecken */
    color:var(--dunkel);
}

.ov_hidden {
    overflow: hidden;
}

.padd5 {
    padding:5%;
}

.padd7 {
    padding:7%;
}

.left {
    text-align: left!important;
}

.right {
    text-align: right!important;
}

.center {
    text-align: center!important;
}

.fit-content {
    width: fit-content!important;
}

.b66 {
    width:67%;
}

.b75 {
    width:75%;
}

.b100, .b100 img {
    width: 100%;
    display: block;
}

.raute {
    width: 25px!important;
    height: 25px!important;
    position: absolute;
    left: 50%;
    top: 50%; 
}

.raute1 {
    width: 25px!important;
    height: 25px!important;
    margin:0 auto;
}

.logo_container {
    padding:75px;
}

.logo_container img {
    margin: 0 auto;
    max-width: 250px;
    width: 100%;
}

.logo_container div {
    position:relative;
    margin-top:100px;
    color: var(--dunkel);
    line-height: 1.5em;
}

.toppic {
    position: relative;
}

.toppic img {
    display: block;
    width:100%;
    height:100%;
    object-fit: cover
}

.vbox {
    position:absolute;
    right:0;
    bottom:20px;
    display:flex;
    width: calc(33.333%);
    background-color: var(--dunkel);
    align-items: flex-end;
    line-height:1.5em;
}

.vpadd {
    padding:10px;
}

.vbox img {
    height: 70%;
}

.c_gruen {
    color:var(--gruen);
}

.box_headl {
    position:absolute;
    left:10px;
    top:10px;
    background-color: var(--gruen);
    padding:3px 12px;
    color: var(--hell);
    font-weight: bold;
    border-radius: 20px;
    font-size:0.7rem;
}

.box {
    margin-top: 50px;
    text-align: center;
    border-radius: 20px;
    position: relative;
    width: 100%;
    padding: 30px;
    background-color: var(--hell);
    color: var(--schwblau);
}

.eck {
    top: 50%;
    left: -30px;
    position: absolute;
    transform: rotate(90deg);
    width: 40px;
}

.eck1 {
    top: 50%;
    right: -30px;
    position: absolute;
    transform: rotate(270deg);
    width: 40px;
}

.bg1 {
    position:absolute;
    width:100%;
    height:100%;
    z-index:10;
    left:0;
    top:0;
    color:var(--gruen);
    background-size: cover;
    background-image: url('../bilder/kuchenst.png');
    background-position: 0px 0px;
    background-repeat: no-repeat;
}

.footer {
    background-color: var(--gruen);
    color:var(--hell);
    padding: 50px 100px;
}

.footer .b25 img {
    width:auto;
    height:150px;
    object-fit: contain;
}

.footer a {
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.menue {
    display: block !important;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    padding: 30px;
    text-align: center;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--hell);
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    text-wrap: nowrap;
}

.menue a {
    text-decoration: none;
    font-weight: 500;
}

.dist {
    margin-left:30px;
    margin-right:30px;
}

.nowrap {
    text-wrap: nowrap;
}

.dick {
    font-weight:600;
}

.pc-not {
    display: none !important;
}

.pfeil-hoch {
    position: fixed;
    right: 0px;
    top: 120%; /* Initiale Position außerhalb des Sichtbereichs */
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 50px;
    width: 50px;
    border: 1px solid var(--gruen);
    z-index: 9999;
    background-color: var(--creme);
    text-decoration: none;
    color: var(--gruen);
    font-size: 21px;
    opacity: 0; /* Versteckt den Pfeil initial */
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1); /* Ursprüngliche Position */
    }
    50% {
        transform: translateX(-50%) scale(1.1); /* Geänderte Skalierung */
    }
    100% {
        transform: translateX(-50%) scale(1); /* Rückkehr zur ursprünglichen Position */
    }
}

.pfeil-hoch.visible {
    top: 90%!important; /* Neue Position, wenn sichtbar */
    opacity: 1; /* Pfeil wird sichtbar */
}

.pfeil-hoch:hover {
    background-color: var(--gruen);
    border-color: var(--hell);
    color: var(--hell);
    font-size: 30px; /* Vergrößere die Schrift */
    transition: font-size 0.3s ease; /* Weiche Animation für Schriftgröße */
}



@media (min-width: 998px) and (max-width: 1315px) {

        .topdiv {
            flex-direction: column;
        }

        .toppic {
            width:100%;
            order: -1;
        }

        .vbox {
            display: none;
        }

        .logo_container div {
            text-align: center;
            margin-top: 50px;
        }
}

/* Mobilansicht */
@media (max-width: 999px) {
    .inhalt {
        padding: 0px;
    }

    .hamburger {
        font-size: 2rem;
        color: var(--hell);
        padding: 20px;
        right: 0px;
        width: 100vw;
        position: fixed;
        display: block;
        text-align: right;
        z-index:1001;
    }

    .menue {
        font-size: 6vw;
        background-color: var(--gruen);
        height: 100vh;
        z-index: 999;
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        display: none;
        padding: 20% 0;
        opacity: 0; /* Unsichtbar zu Beginn */
        transform: translateY(-10px); /* Verschoben für den Slide-Effekt */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Weiche Ein-/Ausblendung */
    }
    
    .menue.show {
        display: flex; /* Sichtbar, wenn die Klasse 'show' hinzugefügt wird */
        opacity: 1; /* Vollständig sichtbar */
        transform: translateY(0); /* Zurück auf die Ausgangsposition */
    }

    .menue a {
        color: white; /* Linkfarbe im Menü */
        padding: 20px;
        text-align: center;
        text-decoration: none;
        display: block;
    }

    .menue a:hover {
        background-color: #575757; /* Hover-Effekt */
    }

    .menue img {
        object-fit: contain;
        width: 60%;
        margin: 0 auto;
    }

    .logo_container div {
        text-align: center;
        margin-top: 50px;
    }

    .dist {
        display:none;
    }

    .flex{
        flex-direction: column;
    }

    .b33, .b50, .b66, .b75 {
        width:100%;
        text-align: center;
    }

    .b25 {
        flex-basis: 50%;
    }

    .mobile-not {
        display:none;
    }

    .vbox {
        width: 100%;
        position: relative;
        bottom:0px;
    }

    .vpadd img {
        max-width: 20vw;
    }

    .toppic, .veranst {
        order: -1;
    }

    .box {
        position: relative;
        left: 0;
        width: 100%;
    }

    .eck, .eck1 {
        left: calc(50% - 20px);
        top: -20px;
        transform: rotate(180deg);
    }

    .pc-not {
        display: block !important;
    }

    .left {
        text-align: center!important;
    }

    .fit-content {
        width: 100%!important;
    }

    .img33 {
        margin-top:80px;
    }

    .img33 img {
        transform:translateX(-50%);
    }

    .logo_container {
        padding:10%;
    }

    .padd7 {
        padding:5%;
    }

    .nopadd {
        padding: 0 !important;
    }

    .b100 img {
        position: relative;
        left: 100%;
        height: 30vh;
        width:auto;
        transform: translateX(-100%);
    }

    .footer {
        padding: 5%;
    }

    .footer .b25 {
        width:100%;
        text-align: center;
    }

    .footer .b25 img {
        margin: 0 auto;
    }
}