/* 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 {
    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;
}

a {
    width: auto; 
    color: #683a19;
    font-weight: bold;
    text-decoration: underline;
}

/* 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);

    border-background:
        linear-gradient(#fff, #fff) padding-box, 
        conic-gradient(
            from 0deg, 
            blue,        /* top start */
            green 25%,   /* right middle */
            blue 50%,    /* bottom middle */
            green 75%,   /* left middle */
            blue 100%    /* back to top */
        )       
        border-box;
}

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 {
    margin-top: -20px;
    max-width: 1990px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Welcome-Section - complete width */
.welcome-section {
    width: 100%;
    margin-bottom: 20px;
    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-angebote {
    background: url('img/bg.jpg');
    background-position: left bottom;
    height: auto;
}

.service-box:hover {
    transform: translateY(0px) scale(1.08);
    transition: transform 0.3s ease; /*for the fluid movements */
}

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

    align-content: stretch;
    border-radius: 12px;

    border: 4px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-source: linear-gradient( to right, #b78367ba, #6d4e3d, #b78367ab );
    border-image-slice: 1;
}

.service-box .overlay-1 h3, .service-box .overlay-1 p {
    width: 80%;
    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: 10% 45px;
    height: 100%;

    align-content: stretch;
    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;
}

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

    align-content: stretch;
    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(221, 99, 12, 0.2);
    width: 100%;
    padding: 10% 45px;
    height: 100%;

    align-content: stretch;
    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, #b7836738, #a86f3e, #b783673d );
    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 .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 h3 {
    color: #683a19;
    font-size: 1.6rem;
    margin-bottom: 5px;

    font-weight: bold;
}

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

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

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

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

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

/* Mobil-Section */
.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;
}

.mobil-section img {
    border-radius: 12px 0 0 12px;
    width: 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: 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 {
    background: url('img/bg_2.jpg');
    background-size: cover;
    position: relative;
    height: 100%;
}
.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 {
    height: 100%;
    padding: 35px 4px 50px;
    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: 60%;
    
}
.kontakt-section .content-grid {
    display: grid;
    grid-template-columns: 50% 50%;
}


.kontakt-section h2 {
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 40px;
    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 p.left {
    font-size: 1.3rem;
    padding: 0 50px 0 0;
    margin: 0;
    line-height: 1.6;
    border:none;
    width: 100%;
    align-content: flex-start;
    min-width: 330px;

    hyphens: auto;
    overflow-wrap: break-word;
    color: #3a1d08;
}

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

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

.kontakt-section p.right {
    font-size: 1.3rem;
    padding: 0 40px;
    margin: 0;
    line-height: 1.6;
    border-left: 1px solid #4f321c7d;
    width: 100%;
    align-content: flex-start;
    min-width: 330px;

    hyphens: auto;
    overflow-wrap: break-word;
    color: #3a1d08;
}

/* impressum-Section */
.impressum-section {
    height: 100%;
    padding: 35px 4px 50px;
    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 0 0;
    margin: 0;
    line-height: 1.5;
    border:none;
    width: 100%;
    align-content: flex-start;
    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;
}
/* END Impressum-Section */

/* 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: 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 {
    margin-top: 30px;
    background-color: #fafafa00;
    line-height: 1.6;
    font-size: 1.1rem;
    border-radius: 12px;

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

/* container when closed */
details .hidden-content {
    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-content {
    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-container-anzeigen-und-oeffnen {display: contents;}

.datenschutz-section {
    height: 100%;
    padding: 35px 4px 50px;
    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 55px; ORIGINAL*/
    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: 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;
    font-weight: bold;
    display: flex;
    margin: 30px 0 0;
}

/* Footer-Styles */
footer {
    padding: 30px 20px;
    /* margin:-20px; ORIGINAL */
    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;
}

/* 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;}
.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; }
}
/* End Cookie Banner */

/* ================================================= 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-angebote, .service-box:hover.service-box.background-angebote {
        transform: none;
        transition: none;
    }
    .service-box.background-angebote {
        margin: 5px 0 0;
    }
}

/* 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;
    }

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

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

    /* 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: 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 {
        margin-top: 30px;
        background-color: #fafafa00;
        line-height: 1.6;
        font-size: 0.9em;
        border-radius: 12px;

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

    /* container when closed */
    details .hidden-content {
        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-content {
        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 */

    /* 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: 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 p.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 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;
    }

    /* 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;
        padding: 0 40px;
    }
    .impressum-section h3 {
        text-align: center;
        color: var(--primary-brown);
        margin-top: 30px;
        margin-bottom: -30px;
        font-size: 1.2rem;
        color: var(--primary-brown);
        padding: 0 40px;
    }

    .impressum-section p.left {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0 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;
    }

    /* 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.2rem;
        color: var(--primary-brown);
        padding: 0 40px;
    }
    .datenschutz-section p.full {
        font-size: 1.1rem;
        padding: 0 40px;
        margin: 0;
        line-height: 1.5;
        border:none;
        width: 100%;
        align-content: center;
        min-width: 330px;
    }
}

@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;
    }
}

/* 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: 35px !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: 40px;
        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 p.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 p.right {
        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 .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: 0;
        line-height: 1.6;
        border-right: 1px solid #4f321c7d;
        width: 100%;
        align-content: flex-start;
        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: 0;
        line-height: 1.6;
        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 {
        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 {
        color: var(--accent-orange);
        margin-bottom: 20px;
        font-size: 1.8rem;
    }

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

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

@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;
    }
    
    .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:1060px) {
    /* Footer-Styles */
    footer {
        padding: 30px 20px;
        /* margin: -20px; ORIGINAL */
        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: 120%;
        -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 .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;
    }

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

@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:600px) {
    /* Footer-Styles */
    footer {
        padding: 30px 20px;
        /* margin: -20px ORIGINAL; */
        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-border1 {
  /* border */
  border: 5px solid transparent;
  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(#9b322d00, #d2282880) padding-box, linear-gradient(to bottom, #7b573400, #9b785e00) border-box;
}

.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 */