/* Colorvars */
:root {
    --primary-brown: #8B4513;
    --secondary-brown: #A0522D;
    --accent-orange: #D2691E;
    --light-cream: #FFF8DC;
    --text-brown: #5C4033;
    --dark-brown: #654321;
}

@font-face {
    font-family: mulish;
    src: url('font/Mulish/Mulish-Italic-VariableFont_wght.ttf');
    src: url('font/Mulish/Mulish-VariableFont_wght.ttf');
    font-weight: normal;
    font-style: normal;
}

html {

    height: 100%;

    scroll-padding-top: 150px;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'mulish', Arial, sans-serif;
    color: var(--text-brown);
    background-color: var(--light-cream);
    line-height: 1.6;
    margin: 0 20px;
    font-size: 1rem;
}

a {
    color: #683a19;
    font-weight: bold;
    text-decoration: underline;
    justify-self: start;
}

/* Header-Style */
header::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -10px;
    right: -10px;
    height: 20px;
    background-color: var(--light-cream);
}

header {
    background: url('img/bg_header.jpg');
    background-position: center;
    background-repeat: repeat-x;
    background-size: cover;
    padding: 0;
    position: sticky;
    width: 100%;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    height: 130px;

    margin: 20px auto 0;
    max-width: 1990px;
    border-radius: 1px 1px 16px 24px;
    border-left: 10px solid var(--light-cream);
    border-bottom: 5px solid #FBECDC;
    border-right: 6px solid var(--light-cream);
}

nav {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);

    padding: 0 15px 0 0;    /* for the burger-menu-button */
}

.logo img {
    border-radius: 0 0 12px 12px;
    margin: -20px 0 -35px;
    box-shadow: 0px 5px 20px 0px rgba(77, 45, 26, 0.77);
    z-index: 0;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;

    width: 100%;
    justify-content: center;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.nav-menu a.active {
    border-bottom: 3px solid white;
}

/* every section to jump to */
section[id], div[id] {
    scroll-margin-top: 150px;
}

/* main content */
main {
    flex: 1;

    margin-top: -20px;
    max-width: 1990px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Welcome-Section - complete width */
.welcome-section {
    width: 100%;
    position: relative;
    border-radius: 0 0 12px 12px;
}

.welcome-container {
    width: 100%;
    background-image: url('img/bg_welcome.jpg');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: auto;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: stretch;
    position: relative;
    box-shadow: 0px 7px 17px -9px rgb(169, 118, 68);
    border: 1px solid #cc8d6433;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b7836700, #6d4e3d, #b7836752 );
    border-image-slice: 1;
}

.welcome-content {
    max-width: 55%;
    padding: 100px 50px 50px;
    border-radius: 0 0 12px 12px;
    margin: 0;
    align-content: center;
}

.welcome-content h1 {
    color: var(--accent-orange);
    margin-bottom: 30px;
    font-size: 2.1rem;
}

.welcome-content h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.welcome-content p {
    font-size: 1.3rem;
    color: black;
    line-height: 1.6;
    margin: 20px 0 -10px;
}

.welcome-content-background {
    background: #f3e1cdd6 url('img/bg.jpg');
    background-repeat: repeat;
    background-size: auto;

    /* combine picture and gradient */
    -webkit-mask-image: 
    url('img/bg.jpg'), 
    linear-gradient(to right, black 0%, black 25%, transparent 100%);
    mask-image: 
    url('img/bg.jpg'), 
    linear-gradient(to right, black 0%, black 25%, transparent 100%);

    /* important: the masks should overlap */
    -webkit-mask-composite: source-in;  /* for Safari/Chrome */
    mask-composite: intersect;          /* Standard */

    -webkit-mask-size: cover, 100% 100%;
    mask-size: cover, 90% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 100%;
    border-radius: 0 0 0 12px;
}

/* Services-Section */
.services-section {
    margin-bottom: 20px;
}

.services-section h2 {
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    margin: 30px 0;
}

.service-box {
    flex: 1;
    min-width: 250px;
    height: 100%;
    min-height: 250px;
    background-size: 50%;
    background-position: bottom;
    background-repeat: no-repeat;
    
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 13px 10px -11px rgb(97, 61, 38);
    transition: transform 0.3s;
}

.service-box.background-broetchen {
    background: url('img/bg.jpg');
    height: auto;
}
.service-box.background-festausstattung {
    background: url('img/bg.jpg');
    background-position: right bottom;
    height: auto;
}
.service-box.background-stollenbacken {
    background: url('img/bg.jpg');
    background-position: right top;
    height: auto;
}
.service-box.background-weihnachtsbraten {
    background: url('img/bg.jpg');
    background-position: left bottom;
    height: auto;
}

.service-box .overlay-1 {
    background: rgba(236, 197, 38, 0.12);
    width: 100%;
    padding: 50px 35px 30px 50px;
    height: 100%;

    align-content: flex-start;
    border-radius: 12px;

    border: 2px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b7836733, #6d4e3de8, #b7836773 );
    border-image-slice: 1;
}

.service-box .overlay-1 h3, .service-box .overlay-1 p {
    width: 100%;
    hyphens: auto;                  /* activate automatic hyphenation with "-" */
    overflow-wrap: break-word;      /* fallback for extremely long words (without "-" at the cut) */
    line-height: 2rem;
}

/* ============================== */

.service-box .overlay-2 {
    background: rgba(255, 128, 52, 0.18);
    width: 100%;
    /*padding: 50px 35px 30px 50px;*/
    height: 100%;

    align-content: flex-start;
    border: 4px solid #b78367;
    border-radius: 12px;

    border: 4px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b783675c, #825942b8, #b783671f );
    border-image-slice: 1;
}
.service-box .overlay-2 h3, .service-box .overlay-2 p {
    hyphens: auto;                  /* activate automatic hyphenation with "-" */
    overflow-wrap: break-word;      /* fallback for extremely long words (without "-" at the cut) */
    line-height: 2rem;
}

/* SECTIONS FOR PADDING IN THE SERVICE-CONTAINER */
section.services-section-1, section.services-section-2, section.services-section-3, section.services-section-4 {padding: 45px 35px 30px 50px;}
.service-box .overlay-1, .service-box .overlay-2, .service-box .overlay-3, .service-box .overlay-4   {padding: 0 !important;}
/* END SECTIONS FOR PADDING IN THE SERVICE-CONTAINER */

/* ============================== */

.service-box .overlay-3 {
    background: rgba(159, 119, 67, 0.15);
    width: 100%;
    padding: 50px 35px 30px 50px;
    height: 100%;

    align-content: flex-start;
    border: 4px solid rgba(159, 119, 67, 0.5);
    border-radius: 12px;

    border: 4px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b7836738, #846d55, #b783673d );
    border-image-slice: 1;
}


.service-box .overlay-3 h3, .service-box .overlay-3 p {
    hyphens: auto;              /* activate automatic hyphenation with "-" */
    overflow-wrap: break-word;  /* fallback for extremely long words (without "-" at the cut) */
    line-height: 2rem;
}

/* ============================== */

.service-box .overlay-4 {
    background: rgba(244, 83, 75, 0.15);
    width: 100%;
    padding: 50px 35px 30px 50px;
    height: 100%;

    align-content: flex-start;
    border: 4px solid #c79063;
    border-radius: 12px;

    border: 4px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b783671a, #9e8476, #b7836729 );
    border-image-slice: 1;
}
.service-box .overlay-4 h3, .service-box .overlay-4 p {
    hyphens: auto;                  /* activate automatic hyphenation with "-" */
    overflow-wrap: break-word;      /* fallback for extremely long words (without "-" at the cut) */
    line-height: 2rem;
}


/* ======================== SERVICE-BOX HOVER-EFFECTS =================== */

[class^="overlay-"], .overlay-change {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 0fr; 
    transition: grid-template-rows 0.5s ease-in-out;
    overflow: hidden;
    position: relative;
    z-index: 10;
    margin: 0;
    padding: 0;
}

/* INHALTE ÜBEREINANDER LEGEN */
[class*="standard-content"], 
[class*="changed-content"] {
    grid-column: 1;
    grid-row: 1;
    transition: opacity 0.4s ease, transform 0.5s ease, max-height 0.5s ease;
}

[class*="changed-content"] {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: translateY(-20px);

}

[class^="trigger-container"].is-active [class*="changed-content"] {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    transform: translateY(0);
}

/* --- LOGIK BEI AKTIVIERUNG --- */
[id^="service-trigger"]:checked ~ .overlay-change,
[id^="service-trigger"]:checked ~ [class^="overlay-"] {
    grid-template-rows: 0fr auto;
}

[id^="service-trigger"]:checked ~ .overlay-change [class*="standard-content"] {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

[id^="service-trigger"]:checked ~ .overlay-change [class*="changed-content"] {
    opacity: 1;
    visibility: visible;
    max-height: 2000px;
    transform: translateY(0);
}
[id^="service-trigger"]:checked ~ .overlay-change [class*="changed-content"] li {
    display: list-item; /* Zwingend erforderlich für list-style */
    list-style: disc;   /* Liststyle Element */
    margin-left: 20px;  /* Abstand vom Liststyle Element */
    font-size: 1.1rem;
    padding-top: 3px;
}

/* --- BUTTON-LOGIK --- */
[class^="trigger-container-"] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20; /* Über dem Inhalt */
}

.close-btn {
    display: none !important;
}

[id^="service-trigger"]:checked ~ [class^="trigger-container"] .open-btn {
    display: none !important;
}

[id^="service-trigger"]:checked ~ [class^="trigger-container"] .close-btn {
    display: inline-block !important;
}

/* Button-Styling */
[class^="service-button"] {
    display: inline-block;
    /*padding: 7px 10px 3px 10px;
    background-color: #FFFFFF8F;*/
    background: none;
    color: var(--primary-brown);
    cursor: pointer;
    border-radius: 0 0 12px 0;
    font-weight: bold;
    margin: 0 -8px 0 0;
}

[class^="service-button"] img {
    opacity: 1;
    transition: opacity 2.5s ease;

    height: 30px;
    left: 10px;
    top: 10px;
    position: absolute;
    width: auto;
}

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    [class^="overlay-"], .overlay-change {
        transition: grid-template-rows 0.4s ease-out;
    }
    [id^="service-trigger"]:checked ~ .overlay-change [class*="changed-content"] {
        max-height: 4000px;
    }
    [class^="service-button"] {
        padding: 7px 10px 3px;
        /* width: 100%; */
        text-align: center;
        box-sizing: border-box;
    }
}

/* ======================== END SERVICE-BOX HOVER-EFFECTS =================== */

.service-box .overlay-1 .more a {
    width: auto;
    background: rgba(153, 136, 67, 0.8);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 16px;
    position: absolute;
    bottom: 7px;
    right: 10px;
    margin: 0;
    border-radius: 30px 0 9px 0;
    display: none;
}
.service-box .overlay-2 .more a {
    width: auto; 
    background: rgba(147, 47, 47, 0.8);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 16px;
    position: absolute; 
    bottom: 7px; 
    right: 10px; 
    margin: 0; 
    border-radius: 30px 0 9px 0;
    display: none;
}
.service-box .overlay-3 .more a {
    width: auto; 
    background: rgba(185, 24, 24, 0.8);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 16px;
    position: absolute; 
    bottom: 7px; 
    right: 10px; 
    margin: 0; 
    border-radius: 30px 0 9px 0;
    display: none;
}
.service-box .overlay-4 .more a {
    width: auto; 
    background: rgba(221, 99, 12, 0.8);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 16px;
    position: absolute; 
    bottom: 7px; 
    right: 10px; 
    margin: 0; 
    border-radius: 30px 0 9px 0;
    display: none;
}
.service-box .overlay-4 .communicate a {
    width: auto; 
    color: #683a19;
    font-weight: bold;
    text-decoration: underline;
}


.service-box-broetchen {
    background-image: url('img/broetchenkorb2_web.png');
    background-position: right 0 bottom 0;
    background-size: 40%;
    height: 100%;
}

.service-box-festausstattung {
    background-image: url('img/festausstattung2_web.png');
    background-position: right -10px bottom 0px;
    background-size: 40%;
    height: 100%;
}

.service-box-stollenbacken {
    background-image: url('img/stollenbacken2_web.png');
    background-position: right 5px bottom 3px;
    background-size: 40%;
    height: 100%;
}

.service-box-weihnachtsbraten {
    background-image: url('img/weihnachtsbraten_web.png');
    background-position: right -5px bottom 0px;
    background-size: 40%;
    height: 100%;
}


.service-box h3 {
    color: #683a19;
    font-size: 1.4rem;
    margin-bottom: 5px;

    font-weight: bold;
}

.service-box p {
    color: #683a19;
    font-size: 1.1rem;
}


/* Mobil-Section */
/* =========== slide-out =========== */
/* --- TOUR GRID STRUKTUR --- */
.tour-wrapper {
    width: 100vw;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 30px;
    box-sizing: border-box;
    align-items: start; /* WICHTIG: Verhindert das Strecken der Spalten */
}

.tour-column h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 5px;
}

.tour-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-column ul li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* --- SLIDE AUSLÖSER (Auffahrender Bereich) --- */
.slide-content {
    width: 100%;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slide-trigger {
    width: 100%;
    height: 0; 
    cursor: pointer;
    background: rgba(255, 255, 255, 0.44);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 10;
}

.slide-trigger img {
    width: auto !important; 
    height: 18px !important; 
}

.slide-content {
    width: 100%;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 12px 12px;
}

.slide-wrapper {
    background: #F3E2C3 url('img/bg_bustour.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
}
/* WICHTIG: max-height muss höher sein als der iframe */
.slide-wrapper:hover .slide-content {
    max-height: 2500px; 
}

.inner-content {
    padding: 0; /* Padding auf 0, damit iframe bündig sitzt */
    width: 100%;
    height: auto; 
}

#bustour-iframe {
    width: 100%;
    height: 0; /* Wird vom JS in Echtzeit gesetzt */
    border: none;
    display: block;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* --- Tourplan trigger --- */
@keyframes pfeil-puls-4s {
  0% { transform: scale(1); }
  10% { transform: scale(1.2); }
  20% { transform: scale(1); }
  100% { transform: scale(1); }
}

.slide-trigger img {
    transform-origin: bottom; 
    animation: pfeil-puls-4s 4s ease-in-out infinite;
    animation-delay: 2s;
    animation-fill-mode: backwards;
    backface-visibility: hidden;
    will-change: transform;

    height: 40px !important;
    
    position: absolute;
    left: 23%;
}

.slide-wrapper:hover .slide-trigger img {
  animation: pfeil-puls-4s 1.5s ease-in-out infinite;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .tour-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =========== END slide-out =========== */

.mobil-section {
    height: 100%;
    padding: 4px;
    background-color: white;
    border-radius: 28px;
    box-shadow: 0 20px 16px -13px rgba(99, 63, 33, 0.4);

    background: url('img/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: 50% 50%;

    border: 4px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b7836700, #9d6f55c9, #b7836700 );
    border-image-slice: 1;

    position: relative;
}

.mobil-section img.mask {
    border-radius: 12px 0 0 12px;
    width: 100%;

    /* combine picture and gradient */
    -webkit-mask-image: 
    url('img/bg.jpg'), 
    linear-gradient(to right, black 0%, black 25%, transparent 100%);
    mask-image: 
    url('img/bg.jpg'), 
    linear-gradient(to right, black 0%, black 25%, transparent 100%);

    /* important: masks should overlap */
    -webkit-mask-composite: source-in; /* Für Safari/Chrome */
    mask-composite: intersect;        /* Standard */

    -webkit-mask-size: cover, 100% 100%;
    mask-size: cover, 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
@media (min-width:767px) { 
    .mobil-section img.mask { 
        mask-composite: intersect;        /* Standard */
    }
}
.mobil-section .mask {
    background: url('img/bg_2.jpg');
    background-size: cover;
    position: relative;
    height: 100%;
    width: 100%;
}
.mobil-section .mask-car {
    background-size: cover;
    position: absolute;
    /*height: 77%;*/
    height: calc(77% - 40px);
    width: auto;
    justify-self: center;
    align-self: center;
    bottom: 12%;
}
.mobil-section img.mask-tab {
    border-radius: 12px 0 0 12px;
    width: 100%;

    /* combine picture and gradient */
    -webkit-mask-image: 
    url('img/bg.jpg'), 
    linear-gradient(to right, black 0%, black 25%, transparent 100%);
    mask-image: 
    url('img/bg.jpg'), 
    linear-gradient(to right, black 0%, black 25%, transparent 100%);

    /* important: masks should overlap */
    /*-webkit-mask-composite: source-in; /* Für Safari/Chrome */
    /*mask-composite: intersect;        /* Standard */

    -webkit-mask-size: cover, 100% 100%;
    mask-size: cover, 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.mobil-section .mask-tab {
    background: url('img/bg_2.jpg');
    background-size: cover;
    position: relative;
    height: 100%;
    width: 100%;
}
.mobil-section .mask-tab-car {
    background-size: cover;
    position: absolute;
    height: 22%;
    width: auto;
    top: 11%;
    left: calc(6% + 1%);
}

.mobil-section .content-right {
    align-content: center;
    background: url('img/bg_2.jpg');

    display: grid;
    background: linear-gradient(to left, #f7cca057, transparent);
    padding: 0;
    margin: 0;
    border-radius: 0 12px 12px 0;
}
.mobil-section .content-right-container {
    display: grid; grid-template-columns: 1fr 1px 1fr; margin: 4% 0 2%; align-items: stretch;
}
.mobil-section .content-right-container-cell-100 {
    grid-column: 1 / span 2;
}
.mobil-section .content-right-container-cell-100-tab {
    display: none;
}
.mobil-section .content-right-container-cell-100-container {
    display: grid; align-items: center; padding: 0 30px 3%;
}
.mobil-section .content-right-container-cell-100-container-span {
    align-items: center; padding: 5px 0 15px;
}
.mobil-section .content-right-container-cell-50 {
    display: grid; padding: 0 40px 3%;
}
.mobil-section .content-right-container-cell-100-container {
    display: grid; align-items: center; padding: 0 30px 3%;
}
.mobil-section .content-right-container-cell-50-container-span {
    align-items: center; padding: 5px 0 15px;
}
.mobil-section .content-right-container-cell-50-span {
    font-size: 1.1rem;
}
.mobil-section .image-desktop-mobile {
    display: grid;
}
.mobil-section .image-tab {
    display: none;
}

.mobil-section .content-right-container-cell-50-spacer-vertikal {
    padding: 0px; border-right: 1px solid #4f321c45; margin: 0px; background: #4f321c45;
}
.mobil-section .content-right-container-cell-50-spacer-horizontal {
    display: grid; padding: 0; border-top: 1px solid #4f321c45; margin: 0px 0px 20px;
}

.mobil-section h2 {
    text-align: center;
    color: var(--primary-brown);
    font-size: 2rem;
}

.mobil-section p {
    font-size: 1.1rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Kontakt-Section */

.kontakt-section .mobile-right {display: none;}
.kontakt-section .tab-right {display: none;}

.kontakt-section .center .show_in_mobile_and_tab {display: none;}

.kontakt-section {
    height: 100%;
    padding: 35px 4px;
    background: url('img/bg.jpg');
    background-position-x: center right;
    border-radius: 12px;
    box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
}

.kontakt-section .content-center {
    width: 100%;
}

.kontakt-section .content-grid {
    display: grid;
    grid-template-columns: 33% 34% 33%;
}

.kontakt-section h2 {
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 50px;
    font-size: 1.7rem;
}
.kontakt-section h3 {
    text-align: center;
    color: var(--primary-brown);
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color:#444;
}

/* ------------------------------- */

.kontakt-section .left {
    font-size: 1.3rem;
    padding: 0 50px 0 40px;
    margin: 0;
    line-height: 1.5;
    border:none;
    width: 100%;
    align-content: flex-start;
    hyphens: auto;
    overflow-wrap: break-word;
    color: #3a1d08;
}

.kontakt-section .left .verticalpart {
    display: flex;
    padding: 30px 0;
    margin: 30px 0;
    border-top: 1px solid #4f321c7d;
    border-bottom: 1px solid #4f321c7d;
}

.kontakt-section .left .headline {
    font-weight: bold;
}

/* -------------------------------- */

.kontakt-section .center {
    font-size: 1.3rem;
    padding: 0 50px;
    margin: 0;
    line-height: 1.5;
    border:none;
    width: 100%;
    align-content: flex-start;
    border-left: 1px solid #4f321c7d;
    border-right: 1px solid #4f321c7d;
    hyphens: auto;
    overflow-wrap: break-word;
    color: #3a1d08;
}

.kontakt-section .center .verticalpart {
    display: flex;
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #4f321c7d;
}

.kontakt-section .center .headline {
    font-weight: bold;
}

/* -------------------------------- */

.kontakt-section .mobile-right, .kontakt-section .tab-right, .kontakt-section .desktop-right {
    font-size: 1.3rem;
    padding: 0 50px;
    margin: 0;
    line-height: 1.5;
    border:none;
    width: 100%;
    align-content: flex-start;
    hyphens: auto;
    overflow-wrap: break-word;
    color: #3a1d08;
}

.kontakt-section .mobile-right .verticalpart, .kontakt-section .tab-right .verticalpart, .kontakt-section .desktop-right .verticalpart {
    display: flex;
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #4f321c7d;
}

.kontakt-section .mobile-right .headline, .kontakt-section .tab-right .headline, .kontakt-section .desktop-right .headline {
    font-weight: bold;
}

.kontakt-section .mobile-right .space_vertical_15, .kontakt-section .tab-right .space_vertical_15, .kontakt-section .desktop-right .space_vertical_15 {
    display:block; margin:0 0 15px;
}

/* contact-form styling */
.contact-form {
    width: 100%;
}
.form-row {
    display: grid;
    grid-template-columns:100%;
}

.form-group {
    margin: 0 0 20px;
}

.form-group input#firstName, .form-group input#firstName2 {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    background: white url('img/bg_input.png');
    background-position: left top;
    background-repeat: no-repeat;
    background-position-y: -16px;
    border: 2px solid #4f321c7d;
    font-size: 1rem;

    border-image-source: linear-gradient( to right, #b7836700, #825942, #b7836780 );
    border-image-slice: 1;
}
.form-group input#firstName:focus, .form-group input#firstName2:focus,
.form-group input#lastName:focus, .form-group input#lastName2:focus,
.form-group input#email:focus, .form-group input#email2:focus,
.form-group input#telefon:focus, .form-group input#telefon2:focus,
.form-group textarea:focus, .form-group textarea2:focus {
    outline-color: var(--primary-brown);

    outline: 1px solid var(--primary-brown); 
    outline-offset: 0; 
}

.form-group input#lastName, .form-group input#lastName2 {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    background: white url('img/bg_input.png');
    background-position: center top;
    background-position-x: -16px;
    background-repeat: no-repeat;
    border: 2px solid #4f321c7d;
    font-size: 1rem;

    border-image-source: linear-gradient( to right, #b783677a, #8259428f, #b783674f );
    border-image-slice: 1;
}
.form-group input#email, .form-group input#email2 {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    background: white url('img/bg_input.png');
    background-position: bottom right;
    background-position-y: -112px;
    background-repeat: no-repeat;
    border: 1px solid #4f321c7d;
    font-size: 1rem;

    border-image-source: linear-gradient( to right, #b7836759, #825942, #b78367 );
    border-image-slice: 1;
}
.form-group input#telefon, .form-group input#telefon2 {
    width: 100%;
    padding: 11px;
    border-radius: 2px;
    background: white url('img/bg_input.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    border: 1px solid #4f321c7d;
    font-size: 1rem;
}

.form-group textarea, .form-group textarea2 {
    width: 100%;
    padding: 11px;
    margin: 0 0 10px;
    border-radius: 8px;
    background: white url('img/bg_input.png');
    background-position: center center;
    background-repeat: repeat;
    background-size: cover;
    border: 2px solid #4f321c7d;
    resize: vertical;
    font-size: 1rem;

    border-image-source: linear-gradient( to right, #b7836717, #825942e0, #b783674f );
    border-image-slice: 1;
}

.form-group label.privacy, .form-group label.privacy2 {
    font-size: 85%;
}

.buttonline {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 30px 0 0;
}

.buttonline button {
    padding: 10px 15px 12px;
    margin: -15px 0 0;
    border-radius: 8px;
    width: fit-content;
    width: auto;
    font-size: 1rem;
    font-weight: bold;

    border-radius: 8px;
    width: fit-content;
    width: auto;
    font-size: 1rem;

    background: #ff660096 url('img/button.png');
    background-position: center;
    background-size: contain;
    color: white;
    cursor: pointer;

    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #fff;
}
/* end contact-form styling */

/* ----------------------------------- */

/* impressum-Section */

.hidden-content-impressum {
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 100px 0 0;
    padding: 0 5px;
}

.impressum-section {
    height: 100%;
    padding: 35px 4px;
    background: url('img/bg.jpg');
    background-position-x: center right;
    border-radius: 12px;
    box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    margin: 0 0 35px;
}

.impressum-section .content-center {
    width: 60%;
}

.impressum-section .content-grid {
    display: grid;
    grid-template-columns: 100%;
}

.impressum-section h2 {
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 25px;
    font-size: 1.7rem;
}
.impressum-section h3 {
    text-align: center;
    color: var(--primary-brown);
    margin-top: 30px;
    margin-bottom: -30px;
    font-size: 1.2rem;
    color: var(--primary-brown);
}

.impressum-section p.left {
    font-size: 1.3rem;
    padding: 0 50px 20px 0;
    margin: 0;
    line-height: 1.5;
    border:none;
    width: 100%;
    align-content: center;
    min-width: 330px;
    color: #3a1d08;
}
.impressum-section p.right {
    font-size: 1.3rem;
    padding: 0 0 20px 50px;
    margin: 0;
    line-height: 1.5;
    border-left: 1px solid #4f321c7d;
    width: 100%;
    align-content: center;
    min-width: 330px;
    color: #3a1d08;
}

/* Container open / close */
/* hide standard arrow from browser */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

.hidden-trigger {
    display: block;
    width: 200px;
    margin: 0 auto;
    cursor: pointer;
    list-style: none;
    font-weight: bold;
}

/* Icon-Styling */
.icon {
    display: inline-block;
    width: auto;
    height: 28px;
    line-height: 30px;
    text-align: center;
    border-radius: 6px;
}

/* change + to - when open */
details[open] .icon::before { content: "Klicken zum schließen"; background: #ff660096 url('img/button.png'); color: white; width: 200px; height: 40px; padding: 10px 0 0px; margin: -15px 0 0; border: 1px solid #fff; border-radius: 8px; display: block; animation: pfeil-puls-4s 5s ease-in-out infinite;}
details:not([open]) .icon::before { content: "Klicken zum öffnen"; background: #ff660096 url('img/button.png'); color: white; width: 200px; height: 40px; padding: 10px 0 0px; margin: -15px 0 0; border: 1px solid #fff; border-radius: 8px; display: block; animation: pfeil-puls-4s 5s ease-in-out infinite;}

.hidden-content {padding: 0 5px;}

.hidden-inhalt-rechtliches {
    margin-top: 30px;
    background-color: #fafafa00;
    line-height: 1.6;
    font-size: 0.9em;
    border-radius: 12px;

    display: flex;
    padding: 40px 5px 0;
}

/* container when closed */
details .hidden-inhalt-rechtliches {
    opacity: 0;
    transform: translateY(-10px); /* text flows from top */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* container when open-attribut is active */
details[open] .hidden-inhalt-rechtliches {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: smooth slide for the icon */
details .plus-icon {
    transition: transform 0.3s ease;
}

details[open] .plus-icon {
    transform: rotate(45deg);
}
/* END Container open / close */
/* END Icon-Styling */

/* Datenschutz-Section */
.datenschutz-section {
    height: 100%;
    padding: 35px 4px;
    background: url('img/bg_datenschutz.jpg');
    background-position: top center;
    background-repeat: repeat;
    background-size: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    margin: 0 0 35px;
}

.datenschutz-section .content-center {
    width: 60%;
    
}
.datenschutz-section .content-grid {
    display: grid;
    grid-template-columns: 100%;
}


.datenschutz-section h2 {
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 25px;
    font-size: 1.7rem;
}
.datenschutz-section h3 {
    text-align: center;
    color: var(--primary-brown);
    margin-top: 30px;
    margin-bottom: -30px;
    font-size: 1.2rem;
    color: var(--primary-brown);
}

.datenschutz-section p.full {
    font-size: 1.3rem;
    padding: 0;
    margin: 100px 0 0;
    line-height: 1.5;
    border:none;
    width: 100%;
    align-content: center;
    min-width: 330px;
    color: #3a1d08;
    hyphens: auto;                  /* activate automatic hyphenation with "-" */
    overflow-wrap: break-word;      /* fallback for extremely long words (without "-" at the cut) */
}

.datenschutz-section p.full .headline1 {
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
}
.datenschutz-section p.full .headline1-space1 {
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    margin: 30px 0 0;
}
.datenschutz-section p.full .headline2 {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    margin: 30px 0 0;
}
.datenschutz-section p.full .headline2-space1 {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    margin: 30px 0 0;
}
.datenschutz-section p.full .headline3-space1 {
    font-size: 1.3rem !important;
    font-weight: bold;
    display: flex;
    margin: 30px 0 0;
}

/* Footer-Styles */
footer {
    padding: 30px 20px;
    margin: 0 -20px;
    background: var(--dark-brown) url('img/bg_footer.jpg');
    background-repeat: repeat;
    background-size: cover;
    background-position: left center;
}

.footer-content {
    max-width: 1990px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: white;
    font-weight: bold;
}

.copyright {
    font-size: 1rem;
    padding: 0 50px;
}

.footer-links {
    display: flex;
    gap: 20px;
    padding: 0 50px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

/* ================================================= Responsive Styles ======================================== */

@media (min-width:717px) and (max-width:890px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        left: 0;
        width: 100%;
        background-color: var(--primary-brown);
        display: none;

        flex-direction: column;
        position: absolute;
        top: 158px;
        left: anchor;
        width: 100%;
        background-color: #845E48;
        box-shadow: 0px 11px 15px -5px rgb(77, 45, 26);
        display: none;
    }

    .nav-menu.active {
        display: flex;
        margin: -65px 0 0;
        width: 248px;
        padding: 10px 0 0;
        z-index: -1;
        border-radius: 0 0 12px 12px;
    }

    .nav-menu li {
        margin: 0px 0 0;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* dont show the zoom-effect on the 4th container in service-section in the tab-view */
@media (min-width: 840px) and (max-width:1114px) {
    .service-box:hover.service-box-weihnachtsbraten, .service-box:hover.service-box.background-weihnachtsbraten {
        transform: none;
        transition: none;
    }
    .service-box.background-weihnachtsbraten {
        margin: 5px 0 0;
    }
    .service-box-weihnachtsbraten {
        background-image: url('img/weihnachtsbraten_web.png');
        background-position: right 5px bottom 3px;
        background-size: 40%;
        height: 100%;
    }
    .service-box .overlay-4 {
        background: rgba(244, 83, 75, 0.15);
        width: 100%;
        padding: 50px 35px 30px 30px;
        height: 100%;

        align-content: flex-start;
        border: 4px solid #c79063;
        border-radius: 12px;

        border: 4px solid;
        border-image-slice: 100%;
        border-image-source: none;
        border-image-source: linear-gradient( to right, #b783671a, #9e8476, #b7836729 );
        border-image-slice: 1;
    }
    .service-box .overlay-4 h3 {
        hyphens: auto;                  /* activate automatic hyphenation with "-" */
        overflow-wrap: break-word;      /* fallback for extremely long words (without "-" at the cut) */
        line-height: 2rem;
        padding-bottom: 25px;
    }
    .service-box .overlay-4 p {
        hyphens: auto;                  /* activate automatic hyphenation with "-" */
        overflow-wrap: break-word;      /* fallback for extremely long words (without "-" at the cut) */
        line-height: 2rem;
    }
}

/* mobile view */
@media (max-width:716px) {

    .slide-trigger img {
        transform-origin: bottom; 
        animation: pfeil-puls-4s 4s ease-in-out infinite;
        animation-delay: 2s;
        animation-fill-mode: backwards;
        backface-visibility: hidden;
        will-change: transform;

        height: 40px !important;

        position:absolute;
        left: auto;
    }

    .kontakt-section .tab-right {display: none;}
    .kontakt-section .desktop-right {display: none;}

    .kontakt-section .center .show_in_mobile_and_tab {display: grid;}
    .kontakt-section .center .show_in_desktop {display: none;}

    .form-group input#firstName, .form-group input#firstName2, 
    .form-group input#lastName, .form-group input#lastName2, 
    .form-group input#email, .form-group input#email2, 
    .form-group input#telefon, .form-group input#telefon2,
    .form-group textarea, .form-group textarea2 {
        font-size: 0.8rem;
    }

    .logo img {
        border-radius: 0 0 12px 12px;
        margin: -20px 0 -35px;
        box-shadow: 0px 4px 15px 0px rgb(77, 45, 26);

        position: relative;
        margin: -20px 0 0;
        width: 248px;
    }

    /* container open / close */
    /* hide the standard arrow from the browser */
    details summary::-webkit-details-marker { display: none; }
    details summary { list-style: none; }

    .hidden-trigger {
        display: block;
        width: 200px;
        margin: 0 auto;
        cursor: pointer;
        list-style: none;
        font-weight: bold;
    }

    /* Icon-Styling */
    .icon {
        display: inline-block;
        width: auto;
        height: 28px;
        line-height: 20px;
        text-align: center;
        border-radius: 3px;
    }

    details[open] .icon::before { content: "Klicken zum schließen"; background-image: url('img/bg_header.jpg'); color: white; width: 200px; height: 30px; padding: 10px 0 0px; margin: -15px 0 0; border-radius: 12px; display: block; animation: pfeil-puls-4s 5s ease-in-out infinite;}
    details:not([open]) .icon::before { content: "Klicken zum öffnen"; background-image: url('img/bg_header.jpg'); color: white; width: 200px; height: 30px; padding: 10px 0 0px; margin: -15px 0 0; border-radius: 12px; display: block; animation: pfeil-puls-4s 5s ease-in-out infinite;}

    .hidden-inhalt-rechtliches {
        margin-top: 30px;
        background-color: #fafafa00;
        line-height: 1.6;
        font-size: 0.9em;
        border-radius: 12px;

        display: grid;
        padding: 40px 5px 0;
    }
    /* END open / close container */

    /* Kontakt-Section */
    .kontakt-section {
        height: 100%;
        padding: 35px 4px;
        background: url('img/bg.jpg');
        background-position-x: center right;
        border-radius: 12px;
        box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
        font-size: 1.1rem;
    }

    .kontakt-section .content-center {
        width: 100%;
    }

    .kontakt-section .content-grid {
        display: grid;
        grid-template-columns: 100%;
    }

    .kontakt-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 40px;
        font-size: 2rem;
    }
    .kontakt-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: -10px;
        margin-bottom: 20px;
        font-size: 1.2rem;
        color:#444;
    }

    .kontakt-section .left {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0 0 50px;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }
    .kontakt-section .center {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0 0 50px;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }
    .kontakt-section .mobile-right {
        font-size: 1.3rem;
        padding: 30px 40px 0;
        margin: 30px 0;
        line-height: 1.5;
        border-top:1px solid #4f321c7d;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }

    .buttonline {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        padding: 30px 0 0;
    }

    .buttonline button {
        padding: 10px 15px 12px;
        margin: 0;
        border-radius: 8px;
        width: fit-content;
        width: auto;
        font-size: 1rem;

        background: #ff660096 url('img/button.png');
        background-position: center;
        background-size: contain;
        color: white;
        cursor: pointer;

        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: cover;
        border: 1px solid #fff;
    }


    /* Impressum-Section */

    .hidden-content-impressum {
        display: grid;
        grid-template-columns: 100%;
        margin: 20px 0 0;
        padding: 0 5px;
    }

    .impressum-section {
        height: 100%;
        padding: 35px 4px;
        background: url('img/bg.jpg');
        background-position-x: center right;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);

        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
    }

    .impressum-section .content-center {
        width: 100%;
    }

    .impressum-section .content-grid {
        display: grid;
        grid-template-columns: 100%;
    }

    .impressum-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 25px;
        font-size: 1.6rem;
        padding: 0 40px;
    }
    .impressum-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: 30px;
        margin-bottom: -30px;
        font-size: 1rem;
        color: var(--primary-brown);
        padding: 0 40px;
    }

    .impressum-section p.left {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 60px 0 20px;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }
    .impressum-section p.right {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }

    /* Container open / close */
    /* hide standard arrow from browser */
    details summary::-webkit-details-marker { display: none; }
    details summary { list-style: none; }

    .hidden-trigger {
        display: block;
        width: 200px;
        margin: 0 auto;
        cursor: pointer;
        list-style: none;
        font-weight: bold;
    }

    /* Icon-Styling */
    .icon {
        display: inline-block;
        width: auto;
        height: 28px;
        line-height: 30px;
        text-align: center;
        /*background: #f0f0f0;*/
        border-radius: 8px;
        font-size: 1rem;
    }

    /* change + to - when open */
    details[open] .icon::before { content: "Klicken zum schließen"; background: #ff660096 url('img/button.png'); background-size: cover; background-position: left center; color: white; width: 200px; height: 40px; padding: 10px 0 0px; margin: -15px 0 0; border-radius: 8px; display: block; border: 1px solid #fff; animation: pfeil-puls-4s 5s ease-in-out infinite;}
    details:not([open]) .icon::before { content: "Klicken zum öffnen"; background: #ff660096 url('img/button.png'); background-size: cover; background-position: left center; color: white; width: 200px; height: 40px; padding: 10px 0 0px; margin: -15px 0 0; border-radius: 8px; display: block; border: 1px solid #fff; animation: pfeil-puls-4s 5s ease-in-out infinite;}

    /* container when open-attribut is active */
    details[open] .hidden-inhalt-rechtliches {
        opacity: 1;
        transform: translateY(0);
    }

    /* Optional: smooth slide for the icon */
    details .plus-icon {
        transition: transform 0.3s ease;
    }

    details[open] .plus-icon {
        transform: rotate(45deg);
    }

    /* END Container open / close */


    /* Datenschutz-Section */
    .datenschutz-section {
        height: 100%;
        padding: 35px 4px;
        background: url('img/bg_datenschutz.jpg');
        background-position-x: center right;
        border-radius: 12px;
        box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
    }

    .datenschutz-section .content-center {
        width: 100%;
    }

    .datenschutz-section .content-grid {
        display: grid;
        grid-template-columns: 100%;
    }

    .datenschutz-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 25px;
        font-size: 1.6rem;
    }
    .datenschutz-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: 30px;
        margin-bottom: -30px;
        font-size: 1rem;
        color: var(--primary-brown);
        padding: 0 40px;
    }
    .datenschutz-section p.full {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 60px 0 0;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: 330px;
    }
    .datenschutz-section p.full .headline1 {
        font-size: 1.2rem;
        font-weight: bold;
        display: flex;
    }
    .datenschutz-section p.full .headline1-space1 {
        font-size: 1.2rem;
        font-weight: bold;
        display: flex;
        margin: 30px 0 0;
    }
    .datenschutz-section p.full .headline2 {
        font-size: 1.1rem;
        font-weight: bold;
        display: flex;
        margin: 30px 0 0;
    }
    .datenschutz-section p.full .headline2-space1 {
        font-size: 1.1rem;
        font-weight: bold;
        display: flex;
        margin: 30px 0 0;
    }
    .datenschutz-section p.full .headline3-space1 {
        font-size: 1.2rem !important;
        font-weight: bold;
        display: flex;
        margin: 30px 0 0;
    }
}

@media (min-width:717px) and (max-width:890px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 158px !important;
        left: anchor;
        width: 353px !important;
        background-color: #845E48;
        box-shadow: 0px 11px 15px -5px rgb(77, 45, 26);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        margin: -15px 0 0 30px !important;
        width: 248px;
        padding: 10px 0 0;
        z-index: -1;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-menu li {
        margin: 0px 0 0;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-toggle {
        display: grid;
        width: 100%;
        cursor: pointer;
        color: white;
        font-size: 24px;
        justify-items: center;
    }
}

/* change container-position in mobile-view */
@media (max-width:716px) {
    
    .kontakt-section .mobile-right {display: grid;}
    .kontakt-section .tab-right {display: none;}
    .kontakt-section .desktop-right {display: none;}

    .kontakt-section .content-grid {
        display: grid;

        grid-template-areas:
            "item1"
            "item2"
            "item3"
        ;

        .left { grid-area: item2; }
        .center { grid-area: item1; }
        .mobile-right { grid-area: item3; }
    }

    .kontakt-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 30px;
        font-size: 1.6rem;
    }
        
    .kontakt-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: -10px;
        margin-bottom: 20px;
        font-size: 1.2rem;
        color:#444;
    }

    .kontakt-section .left {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0;
        line-height: 1.5;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }

    .kontakt-section .center {
        font-size: 1.1rem;
        padding: 0 40px 50px;
        margin: 0;
        line-height: 1.5;
        border-right: none;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }

    .kontakt-section .mobile-right {
        font-size: 1.1rem;
        padding: 30px 0 0;
        margin: 30px 0 0;
        line-height: 1.5;
        border-top: 1px solid #4f321c7d;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
        hyphens: auto;
        overflow-wrap: break-word;
        display: block;    
    }
}

/* tablet view */
@media (min-width:717px) and (max-width:1115px) {

    .slide-trigger img {
        transform-origin: bottom; 
        animation: pfeil-puls-4s 4s ease-in-out infinite;
        animation-delay: 2s;
        animation-fill-mode: backwards;
        backface-visibility: hidden;
        will-change: transform;

        height: 40px !important;

        position:absolute;
        left: 20%;
    }

    /* Kontakt-Section */
    .kontakt-section .mobile-right {display: none;}
    .kontakt-section .tab-right {display: grid;}
    .kontakt-section .desktop-right {display: none;}

    .kontakt-section {
        height: 100%;
        padding: 35px 4px;
        background: url('img/bg.jpg');
        background-position-x: center right;
        border-radius: 12px;
        box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
    }

    .kontakt-section .content-center {
        width: 100%;
    }

    @media (min-width:717px) and (max-width:1115px) {

        .kontakt-section .mobile-right {display: none;}
        .kontakt-section .tab-right {display: grid;}
        .kontakt-section .desktop-right {display: none;}

        .kontakt-section .center .show_in_mobile_and_tab {display: grid;}
        .kontakt-section .center .show_in_desktop {display: none;}

        .kontakt-section .content-grid {
            display: grid;
            grid-template-columns: 55% 45%;

            grid-template-areas:
                "item1 item2"
                "item3 item3"
            ;

            .left { grid-area: item1; }
            .center { grid-area: item2; }
            .tab-right { grid-area: item3; }
        }

        .kontakt-section h2 {
            text-align: center;
            color: var(--primary-brown);
            margin-bottom: 50px;
            font-size: 2rem;
        }
        
        .kontakt-section h3 {
            text-align: center;
            color: var(--primary-brown);
            margin-top: -10px;
            margin-bottom: 20px;
            font-size: 1.2rem;
            color:#444;
        }

        .kontakt-section .left {
            font-size: 1.3rem;
            padding: 0 40px !important;
            margin: 0;
            line-height: 1.5;
            width: 100%;
            align-content: center;
            min-width: auto;
            background: none;
        }

        .kontakt-section .center {
            font-size: 1.3rem;
            padding: 0 40px !important;
            margin: 0;
            line-height: 1.5;
            border-right: none !important;
            width: 100%;
            align-content: center;
            min-width: auto;
            background: none;
        }

        .kontakt-section .tab-right {
            font-size: 1.3rem;
            padding: 50px 40px 0 !important;
            margin: 0;
            line-height: 1.5;
            border:none;
            width: 100%;
            align-content: center;
            min-width: auto;
            background: none;
            hyphens: auto;
            overflow-wrap: break-word;
            display: block; 
        }
    }

    .kontakt-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 50px;
        font-size: 1.6rem;
    }
    .kontakt-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: -10px;
        margin-bottom: 20px;
        font-size: 1.2rem;
        color:#444;
    }

    .kontakt-section .left {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0;
        line-height: 1.5;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }
    .kontakt-section .center {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0;
        line-height: 1.5;
        border-right: 1px solid #4f321c7d;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }
    .kontakt-section .tab-right {
        display: grid;
        font-size: 1.1rem;
        padding: 30px 0 0 !important;
        margin: 30px 0 0;
        line-height: 1.5;
        border-top:1px solid #4f321c7d;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
        display: block;
    }

    /* Impressum-Section */
    .impressum-section {
        height: 100%;
        padding: 35px 4px;
        background: url('img/bg.jpg');
        background-position-x: center right;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);

        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
    }

    .impressum-section .content-center {
        width: 100%;
    }
    .impressum-section .content-grid {
        display: grid;
        grid-template-columns: 100%;
    }

    .impressum-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 25px;
        font-size: 1.6rem;
    }
    .impressum-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: 30px;
        margin-bottom: -30px;
        font-size: 1.1rem;
        color: var(--primary-brown);
    }

    .impressum-section p.left {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 60px 0 0;
        line-height: 1.5;
        border-right: 1px solid #4f321c7d;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }
    .impressum-section p.right {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: auto;
        background: none;
    }

    /* Datenschutz-Section */
    .datenschutz-section {
        height: 100%;
        padding: 35px 4px;
        background: url('img/bg_datenschutz.jpg');
        background-position-x: center right;
        border-radius: 12px;
        box-shadow: 0 10px 20px -10px rgb(117, 75, 47);

        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
    }

    .datenschutz-section .content-center {
        width: 100%;
    }
    .datenschutz-section .content-grid {
        display: grid;
        grid-template-columns: 100%;
    }

    .datenschutz-section h2 {
        text-align: center;
        color: var(--primary-brown);
        margin-bottom: 25px;
        font-size: 1.6rem;
    }
    .datenschutz-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: 30px;
        margin-bottom: -30px;
        font-size: 1.1rem;
        color: var(--primary-brown);
    }

    .datenschutz-section p.full {
        font-size: 1rem !important;
        padding: 0 40px;
        margin: 60px 0 0;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: 330px;
    }
}

@media (min-width:769px) and (max-width:1423px) {
    /* Mobil-Section */
    .mobil-section {
        height: 100%;
        padding: 4px;
        background-color: white;
        border-radius: 12px;
        border: 0px solid #e3b9ac;
        box-shadow: 0 20px 16px -13px rgba(99, 63, 33, 0.4);

        background: url('img/bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .mobil-section img.mask-tab {
        border-radius: 12px 0 0 12px;
        width: 100%;

        -webkit-mask-image: 
        url('img/bg.jpg'), 
        linear-gradient(to right, black 0%, black 25%, transparent 100%);
        mask-image: 
        url('img/bg.jpg'), 
        linear-gradient(to right, black 0%, black 25%, transparent 100%);

        -webkit-mask-composite: source-in;  /* Für Safari/Chrome */
        mask-composite: intersect;          /* Standard */

        -webkit-mask-size: cover, 100% 100%;
        mask-size: cover, 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }

    .mobil-section .content-right {
        align-content: center;
        background: url('img/bg_2.jpg');

        display: grid;
        background: linear-gradient(to left, #f7cca057, transparent);
        padding: 30px 0 0;
        border-radius: 0 12px 12px 0;
    }
    .mobil-section .content-right-container {
        display: grid; grid-template-columns: 100%; margin: 4% 0 2%;
    }
    .mobil-section .content-right-container-cell-100-tab {
        display: grid;
        grid-column: 1 / span 2;
    }
    .mobil-section .content-right-container-cell-100-container {
        display: grid; align-items: center; padding: 0 30px 30px;
    }
    .mobil-section .content-right-container-cell-100-container-span {
        align-items: center; padding: 5px 0 15px;
    }
    .mobil-section .content-right-container-cell-50 {
        display: none;
    }
    .mobil-section .content-right-container-cell-100-container {
        display: grid; align-items: center; padding: 0 30px 30px;
    }
    .mobil-section .content-right-container-cell-50-container-span {
        align-items: center; padding: 5px 0 15px;
    }
    .mobil-section .content-right-container-cell-101-container {
        display: grid; align-items: center; padding: 0 30px 30px;
    }
    .mobil-section .content-right-container-cell-102-container {
        display: grid; align-items: center; padding: 10px 30px 30px;
    }
    .mobil-section .image-desktop-mobile {
        display: none;
    }
    .mobil-section .image-tab {
        display: flex;
        background-size: auto;
    }
    .mobil-section .content-right-container-cell-50-spacer-vertikal {
        display: none;
    }
    .mobil-section .content-right-container-cell-50-spacer-horizontal {
        display: none;
    }
}

@media (max-width:1220px) {
    .welcome-container {
        width: 100%;
        background-image: url('img/bg_welcome.jpg');
        background-size: cover;
        background-position: bottom left;
        background-repeat: no-repeat;
        min-height: auto;
        border-radius: 0 0 12px 12px;
        display: flex;
        align-items: stretch;
        position: relative;
        box-shadow: 0px 7px 17px -9px rgb(169, 118, 68);
        border: 1px solid #cc8d6433;
        border-image-slice: 100%;
        border-image-source: none;
        border-image-source: linear-gradient( to right, #b7836700, #6d4e3d, #b7836752 );
        border-image-slice: 1;
    }

    .welcome-content {
        height: 100%;
        max-width: 100%;
        margin: 0 auto 0 0;
        background-color: rgba(255, 248, 220, 0.11);
        width: 55%;
    }

    .welcome-content h1 {
        font-size: 1.8rem;
    }

    .welcome-content h2 {
        font-size: 1.3rem;
    }

    .welcome-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 890px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 158px;
        left: anchor;
        width: 353px;
        background-color: #845E48;
        box-shadow: 0px 11px 15px -5px rgba(77, 45, 26, 0.68);
        display: none;

        background: #845E48 url('img/bg_togglemenu.jpg');
        background-position: center bottom;
    }

    .nav-menu a {
        color: #683a19;
    }

    .nav-menu a.active {
        border-bottom: 3px solid #683a19;
    }
    
    /* MOBILE + TAB VIEW */
    @media (min-width:717px) and (max-width: 890px) {
        .nav-menu.active {
            top: 160px !important;
            max-height: calc(100dvh - 170px) !important;

            overflow-y: auto !important;
            display: none !important;
            background: url('img/bg_togglemenu.jpg') !important;
            z-index: -1 !important;
        }

        .nav-menu.active {
            display: block !important;
        }
    }

    .nav-menu.active {
        display: flex;
        margin: -65px 0 0;
        width: 248px;
        padding: 10px 0 0;
        z-index: -1;
        border-radius: 0 0 12px 12px;
    }

    /* menu-slidedown */
    .nav-menu.active {
        opacity: 0;
        transform: translateY(-250px);
        animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideDown {
        to {
            scroll-behavior: auto;
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        margin: 0px 0 0;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.77);
    }
    .nav-menu li.last {
        margin: 0px 0 0;
        padding: 15px;
        text-align: center;
        border: none;
        overflow: auto;
    }
    
    .menu-toggle {
        display: grid;
        width: 100%;
        cursor: pointer;
        color: white;
        font-size: 24px;
        justify-items: center;

        margin: 0 0 0 12px;
    }
}

@media (max-width:1057px) {
    /* Footer-Styles */
    footer {
        padding: 30px 20px;
        margin: 0 -20px;
        background: var(--dark-brown) url('img/bg_footer.jpg');
        background-repeat: repeat;
        background-size: cover;
        background-position: left center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .copyright {
        font-size: 1rem;
    }

    .footer-links {
        display: flex;
        gap: 20px;
    }

    .footer-links a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s;
    }
}

@media (max-width: 768px) {   
    .welcome-container {
        background-position: left center;
        background: url('img/bg.jpg');
        border-radius: 0 0 12px 12px;
        border-right: none;
        border-bottom: none;
    }
    
    .welcome-content {
        max-width: 100%;
        padding: 70px 50px 50px;
        margin: 0 auto 0 0;
        background-color: rgba(255, 248, 220, 0);
        width: 100%;
    }

    @media (max-width:716px) {
        .welcome-content {
            max-width: 100%;
            padding: 35px 50px 50px;
            margin: 0 auto;
            background-color: rgba(255, 248, 220, 0);
        }
        .welcome-content h1 {
            font-size: 1.8rem;
        }
        .welcome-content h2 {
            font-size: 1.3rem;
        }
        .welcome-content p {
            font-size: 1.1rem;
        }
    }

    .welcome-content-background {
        background: #f3e1cdd6 url('img/bg.jpg');
        background-repeat: repeat;
        background-size: auto;
        background-repeat: repeat;
        background-size: 200%;
        -webkit-mask-image: url('img/bg.jpg'), linear-gradient(to right, black 0%, black 25%, transparent 100%);
        mask-image: url('img/bg.jpg'), linear-gradient(to right, black 80%, black 90%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
        -webkit-mask-size: cover, 100% 100%;
        mask-size: cover, 110% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        width: 100%;
        border-radius: 0 0 12px 12px;
    }
    
    .services-container {
        justify-content: center; font-size: 1.1rem;
    }
    
    .service-box {
        min-width: 300px;
        height: 100%;
    }

    .service-box:hover {
        transform: none;
        transition: none;
    }

    .service-box p {
        font-size: 1.1rem;
    }

    /* Mobil-Section */
    .mobil-section {
        height: 100%;
        padding: 4px;
        background-color: white;
        border-radius: 12px;
        border: 3px solid #7d594eb0;
        box-shadow: 0 20px 16px -13px rgba(99, 63, 33, 0.4);

        background: url('img/bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        display: grid;
        grid-template-columns: 100%;
    }
    .mobil-section img {
        border-radius: 12px 0 0 12px;
        width: 100%;

        /*-webkit-mask-image: 
        url('img/bg.jpg'), 
        linear-gradient(to right, black 0%, black 25%, transparent 100%);
        mask-image: 
        url('img/bg.jpg'), 
        linear-gradient(to right, black 0%, black 25%, transparent 100%);

        /*-webkit-mask-composite: source-in;  /* Für Safari/Chrome */
        /*mask-composite: intersect;          /* Standard */

        -webkit-mask-size: cover, 100% 100%;
        mask-size: cover, 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    .mobil-section .mask-car {
        background-size: cover;
        position: absolute;
        height: auto;
        width: 70%;
        justify-self: center;
        align-self: center;
        left: 15%;
        top: 3%;
        bottom: auto;
    }
    .mobil-section .content-right {
        align-content: center;
        background: url('img/bg_2.png');

        display: grid;
        background: linear-gradient(to left, #f7cca057, transparent);
        padding: 30px 0 0;
        border-radius: 0 12px 12px 0;
    }
    .mobil-section .content-right-container {
        display: grid; grid-template-columns: 100%; margin: 0; font-size: 1.1rem;
    }
    .mobil-section .content-right-container-cell-100-tab {
        display: grid;
        grid-column: 1 / span 2;
    }
    .mobil-section .content-right-container-cell-100-container {
        display: grid; align-items: center; padding: 0 30px 30px;
    }
    .mobil-section .content-right-container-cell-100-container-span {
        align-items: center; padding: 5px 0 15px;
    }
    .mobil-section .content-right-container-cell-50 {
        display: none;
    }
    .mobil-section .content-right-container-cell-101-container {
        display: grid; align-items: center; padding: 0 40px 30px;
    }
    .mobil-section .content-right-container-cell-102-container {
        display: grid; align-items: center; padding: 10px 40px 30px;
    }
    .mobil-section .image-desktop-mobile {
        display: block;
    }
    .mobil-section .image-tab {
        display: none;
    }
    .mobil-section .content-right-container-cell-50-spacer-vertikal {
        display: none;
    }
    .mobil-section .content-right-container-cell-50-spacer-horizontal {
        display: none;
    }
}

@media (min-width: 891px) {
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .welcome-container {
        min-height: 350px;
    }
    
    .welcome-content {
        padding: 50px;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .service-box {
        min-width: 100%;
    }
}

@media (min-width:1116px) {
    .kontakt-section .center .show_in_desktop {display: grid;}
}

@media (max-width:583px) {
    /* Footer-Styles */
    footer {
        padding: 30px 20px;
        margin: 0 -20px;
        background: var(--dark-brown) url('img/bg_footer.jpg');
        background-repeat: repeat;
        background-size: cover;
        background-position: left center;
    }

    .footer-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 15px;
        padding: 0;
        margin: 0;
    }

    .copyright {
        font-size: 1rem;
    }

    .footer-links {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .footer-links a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s;
    }
}

.different-border-service1 {
  /* border */
  flex:1;
  border: 5px solid transparent;
  border-radius: 13px 12px 22px 20px;
  margin-bottom: 0;
  background-image: linear-gradient(white, white), linear-gradient(to bottom, #f7cca057, #ff5733), linear-gradient(to right, #ff5733, #33ff57), linear-gradient(to top, #33ff57, #3357ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background: linear-gradient(#9b322d00, #d2282880) padding-box, linear-gradient(to bottom, #7b573400, #9b785e00) border-box;
}

.different-border-welcome-container {
  /* border */
  border-bottom: none;
  border-left: 6px solid #6b3e1d00;
  border-right: 6px solid #6b3e1d00;
  border-radius: 0px 0px 6px 12px;
  margin-bottom: 20px;
  background-image: linear-gradient(white, white), linear-gradient(to bottom, #f7cca057, #ff5733), linear-gradient(to right, #ff5733, #33ff57), linear-gradient(to top, #33ff57, #3357ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background: linear-gradient(#61310800, #c0b5ab00) padding-box, linear-gradient(to bottom, #0000, #ba774621) border-box;
}

.different-border1 {
  /* border */
  border: 5px solid #6b3e1d00;
  border-radius: 13px 12px 22px 20px;
  margin-bottom: 20px;
  background-image: linear-gradient(white, white), linear-gradient(to bottom, #f7cca057, #ff5733), linear-gradient(to right, #ff5733, #33ff57), linear-gradient(to top, #33ff57, #3357ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background: linear-gradient(#61310800, #c0b5ab00) padding-box, linear-gradient(to bottom, #0000, #ba774673) border-box;

  box-shadow: 0 10px 20px -10px rgba(117, 75, 0, 0.44);
}

.different-border2 {
  /* border */
  border: 5px solid transparent;
  border-radius: 24px 18px 22px 20px;
  margin-bottom: 30px;
  background-image: linear-gradient(white, white), linear-gradient(to bottom, #f7cca057, #ff5733), linear-gradient(to right, #ff5733, #33ff57), linear-gradient(to top, #33ff57, #3357ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background: linear-gradient(#9b2d2d, #d2282882) padding-box, linear-gradient(to bottom, #6c390891, #774a2100) border-box;

  margin-top: 35px;
}

/* Cookie Banner */
.cookie-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    background: #fff;
    color: #333;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    border: 1px solid #eee;
    z-index: 9999;
    display: none; /* Wird per JS eingeblendet */
    font-family: sans-serif;
}
.cookie-content h3 { margin-top: 0; color: #5d4037; } /* Bäckerei-Braun */
.cookie-content p { font-size: 14px; line-height: 1.5; }
.cookie-buttons { display: flex; gap: 10px; margin-top: 15px; }

.cookie-content-headline {display: grid; grid-template-columns: 1fr 1fr; margin: -5px 0 10px;}
.cookie-content-headline-image {right: -90px; position: relative; top: -10px;}
    
button { cursor: pointer; border: none; padding: 10px 15px; border-radius: 6px; font-weight: bold; }
.btn-accept { background: #5d4037; color: white; flex: 2; }
.btn-minimal { background: #f0f0f0; color: #666; flex: 1; }
    
@media (max-width: 480px) {
    .cookie-container { left: 10px; right: 10px; bottom: 10px; }
    .cookie-content-headline-image {right: 5px; position: absolute; top: 5px;}
}
/* End Cookie Banner */