:root {
    --primary: #4a1c10;
    --secondary: #7d4f3d;
    --accent: #f5eadc;
    --text: #2e1a16;
    --accent-rgb: 245, 234, 220;
		--z-boost: 20px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html.scroll-smooth {
    scroll-behavior: auto;
}
body {
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    background: var(--accent);
}

section {
    scroll-margin-top: 60px; /* Höhe deiner .sticky-nav */
}

/* Navigation */
.sticky-nav {
    position: sticky;
    top: 0px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 60px;
    background: transparent;
    transition: background-color 0.5s ease, -webkit-backdrop-filter 0.5s ease, backdrop-filter 0.5s ease;
    z-index: 100;
    transform: none;
    will-change: top;
}
.sticky-nav .container-fluid {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.sticky-nav.scrolled {
    /* hier wählst du die gewünschte Farbe */
    background: rgba(74, 28, 16, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}
.nav-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: #fff;
    font-weight: 600;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: auto;
    background: transparent;
    border: none;
    position: relative;
    transition: transform 0.3s;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Promo Banner Styles */
.promo-banner {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(74, 28, 16); /* halbtransparent */
    color: var(--accent);
    padding: 0.5rem 1rem;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.promo-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.promo-content {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 2.5rem;
}

.promo-text-wrapper {
    overflow: hidden;
    white-space: nowrap;
    flex: 1; /* Text nimmt maximalen Platz ein */
    margin-right: 2rem; /* Platz für den Close-Button */
    position: relative;
    height: 1.5rem; /* Höhe fixieren, damit Banner nicht wächst */
}
.promo-marquee {
    overflow: hidden;
    flex: 1;
    height: 1.5rem;
    position: relative;
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
}

.promo-text {
    white-space: nowrap;
    padding-right: 30rem; /* Abstand zwischen Wiederholungen */
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

.promo-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent); /* oder var(--accent), je nach Hintergrund */
    z-index: 20;
    line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.promo-close:hover {
    transform: translateY(-50%) scale(1.1);
    filter: brightness(1.2);
}

#dynamic-logo {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: 200;
    pointer-events: none;

    /* nur für spätere Scroll-Updates */
    transition: transform 0.1s linear, top 0.1s linear, opacity 0.3s ease;
    will-change: transform, opacity;
    transform-origin: center center;

    backface-visibility: hidden;
    max-width: min(90vw, 600px);
}

#hero-keywords {
    position: fixed;
    top: calc(50% + 180px); /* etwas unter dem Logo */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 150;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
    will-change: opacity;
}

.keyword {
    opacity: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    animation: fadeInWord 0.8s ease-out forwards, floatKeyword 3s ease-in-out infinite;
}

.berry-img-wrapper {
    position: relative;
}

.berry-meta {
    margin: 0.5rem 0;
}

.berry-img-wrapper img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.info-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 3;
    cursor: pointer;
    color: var(--primary);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.berry-info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    width: calc(100% + 10px);
    max-width: 280px; /* ✅ Optional: absolute Maximalbreite */
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: left;
}

.berry-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.berry-img-wrapper:hover .berry-info,
.berry-img-wrapper:has(.info-icon:hover) .berry-info {
    opacity: 1;
    pointer-events: auto;
}

.berry-title,
.berry-price {
    font-weight: bold;
    margin: 0;
}

/* 1) Modal immer im DOM, aber unsichtbar */
.modal {
    display: none; /* statt display:none; */
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* 2) Inhalt zunächst leicht klein */
.modal-content {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* 3) show-Klasse aktiviert Sichtbarkeit & Skalierung */
.modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}
.modal.show .modal-content {
    transform: scale(1);
}

.contact-container input,
.contact-container textarea {
    /* Basiszustand: leichtes Innenpolster */
    padding: 0.75rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.contact-container input:hover,
.contact-container textarea:hover {
    background-color: rgba(var(--accent-rgb), 0.5); /* sanftes Creme-Glow */
    border-color: var(--primary); /* Primär-Farbe */
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}

/* Focus: stärkerer Glow, um Fokus zu unterstreichen */
.contact-container input:focus,
.contact-container textarea:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.5);
    outline: none;
}

.box-type {
    display: flex;
    flex-direction: column; /* untereinander */
    align-items: center; /* zentriert */
    justify-content: center;
    gap: 0.3rem; /* sehr kleiner Abstand */
    margin-bottom: 1rem;
}

.box-type label {
    margin: 0; /* keine Standardabstände */
    padding: 0.2rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Abstand zw. Radio & Text */
    text-align: center;
}

.details-intro {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.details-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.details-list li {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: var(--text);
}

.price {
    font-weight: 600;
    color: var(--primary);
}

.variant-heading {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Settings-Modal etwas tiefer legen */
#modal-cookie-settings {
    z-index: 1001 !important;
}

/* Privacy-Modal immer darüber */
#modal-privacy {
    z-index: 1100 !important;
}

/* Und auch die Content-Box selbst */
#modal-privacy .modal-content {
    position: relative;
    z-index: 1101 !important;
}

/* 2) Details-Indents statt Margin-Left */
#modal-cookie-settings .cookie-category details {
    margin-left: 0 !important; /* keine externe Verschiebung */
    padding-left: 1rem; /* Einrückung nach innen */
}

/* 3) Tabellen passen sich der Breite an */
#modal-cookie-settings table {
    display: block;
    width: 100% !important; /* nie breiter als Container */
    table-layout: fixed; /* gleichmäßige Spalten */
    overflow-x: auto; /* falls doch einmal nötig */
    box-sizing: border-box;
}
#modal-cookie-settings th,
#modal-cookie-settings td {
    word-wrap: break-word; /* Zeilenumbruch in Zellen */
    white-space: normal;
}

/* 4) Globale Box-Sizing-Regel für das Modal */
#modal-cookie-settings .modal-content *,
#modal-cookie-settings table {
    box-sizing: border-box;
}

/* Cookie-Banner Grund-Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center; /* vertikal zentrieren */
    justify-content: space-between;
    font-family: "Montserrat", sans-serif;
    z-index: 1000;
    box-sizing: border-box;
}

#cookie-banner p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

#cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

#cookie-banner .buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

#cookie-banner button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

#cookie-banner button.accept {
    background: var(--primary);
    color: var(--accent);
}

#cookie-banner button.reject {
    background: var(--secondary);
    color: var(--accent);
}

#cookie-banner button.settings {
    background: transparent;
    color: var(--accent);
    text-decoration: underline;
    font-weight: 400;
    padding: 0; /* link-artiger Look */
    margin: 0 0.5rem 0 0;
}

/* Animation für sanftes Reinkommen */

/* Verzögerungen für gestaffelten Start */
.delay-1 {
    animation-delay: 0.2s, 0s;
}
.delay-2 {
    animation-delay: 0.6s, 0.4s;
}
.delay-3 {
    animation-delay: 1s, 0.8s;
}

/* Sections */
section:not(#hero) {
    padding: 1rem 2rem;
}

/* Entfernt jeglichen Padding von hero */
#hero {
    position: relative;
    margin-top: -60px;
    height: 100dvh; /* Höhe auf Viewport-Höhe fixieren */
    overflow: hidden;
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* volle Breite */
    height: 100%; /* volle Höhe des Containers */
    object-fit: cover;
    z-index: -1;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================= */
/* 1) CSS: nur für den About-Bereich */
/* ============================= */
#about .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start !important;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
}

#about .about-heading {
    width: 100%;
    text-align: center; /* zentriert über dem Container */
    font-size: 2.5rem;
    margin-bottom: 0rem;
    color: var(--primary);
}

#about .about-image {
    flex: 0 0 auto !important;
    /* zwischen 120px und 180px, ideal 20% der Container-Breite */
    width: clamp(200px, 35%, 400px) !important;
    margin: -1rem 1.5rem 0 0 !important; /* Abstand  */
}

/* Bild selbst immer in Container-Schmalformat */
#about .about-image img {
    width: 100% !important;
    height: auto !important;
}

#about .about-text {
    flex: 2 1 400px;
}

#about .about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

#about .about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* About */
.about-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

/* Slider */
/* 1) Scroll-Container */
.modal-body-scroll {
    position: relative; /* für sticky-Elemente */
    overflow-y: auto; /* aktiviert Scrollen */
    max-height: 80vh; /* höchstens 80% der Viewport-Höhe */
    padding-right: 0rem; /* Platz für Scrollbar/Gutter */
    background: var(--accent); /* selbe Hintergrundfarbe */
    padding-bottom: 3rem;
}

/* 2) Gradient-Streifen, der immer unten klebt und mitscrollt */
.scroll-fade {
    position: sticky; /* sticky im scrollbaren Container */
    bottom: 0;
    left: 0; /* exakt unten und über ganze Breite */
    width: 100%;
    height: 2rem; /* Höhe des Fades – anpassen nach Wunsch */
    pointer-events: none; /* durchklickbar */
    z-index: 10; /* über dem restlichen Inhalt */

    /* Verlauf: transparent oben → volle Accent-Farbe unten */
    background: linear-gradient(to top, var(--accent) 0%, rgba(var(--accent-rgb), 0) 100%);
}

.slide-modal {
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 90%;
    width: 360px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 200; /* über eurem anderen Modal, wenn nötig */
}
.slide-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}
.slide-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.slide-modal-img {
    width: 90%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.slider-heading {
    width: 100%;
    text-align: center; /* zentriert über dem Container */
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

		#products .tabs {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tab-Styling (mit Border) */
#products .tab {
    padding: 0.55rem 1.2rem;
    border: 1px solid rgba(74, 28, 16, 0.25); /* dezenter Border */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover & active für edle Wirkung */
#products .tab:hover {
    background: rgba(74, 28, 16, 0.07);
    border-color: rgba(74, 28, 16, 0.45);
}

#products .tab.active {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
}
		
.slideshow {
    display: none; /* komplett aus dem Flow, kein Abstand mehr */
    opacity: 0; /* unsichtbar */
    transition: opacity 0.4s ease;
}

.slideshow.active {
    display: block; /* wieder in den Flow holen */
    opacity: 1; /* sichtbar */
}

.slider-container {
    display: flex;
    gap: 1rem;
	padding: 1rem 0;
	position: relative;
    /* horizontales Scrollen bleibt, vertikales wird ausgeblendet */
    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    align-items: flex-start; /* Slides oben ausrichten */
    overscroll-behavior-x: contain;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    scroll-padding-inline: 0;
  /* WICHTIG: Verhindert negative Scroll-Werte */
  direction: ltr;
}
		

/* Scrollbar unsichtbar machen */
.slider-container::-webkit-scrollbar {
    display: none;
}
.slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: auto; /* Breite passt sich dem Bild an */
    height: 400px; /* feste Höhe für Hochformat */
    max-width: 250px; /* maximale Breite */
    cursor: pointer; /* zeigt an, dass es klickbar ist */
    outline: none;
}

/* Bild füllt die Slide vollflächig, behält aber Seitenverhältnis */
.slide img {
    display: block;
    width: 100%;
    height: 300px; /* Bild-Höhe im Hochformat */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.slide-content {
    padding: 0.8rem;
}
.modal-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.modal-scroll-arrow:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.arrow.left {
    left: 10px;
}
.arrow.right {
    right: 10px;
}
.slide-content h3,
.slide-content p {
    margin-bottom: 0.25rem; /* oder z.B. 1rem für mehr Abstand */
}
.slide-content h3 {
    font-size: 18px; /* etwas kleiner */
    white-space: nowrap; /* Zeile bleibt einzeilig */
    overflow: hidden;
    text-overflow: ellipsis; /* Falls es zu lang ist, mit ... abschneiden */
}

		/* Container für die Pfeile + Gradient */
.arrow-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px; /* Breite des Gradients */
  pointer-events: none; /* Wrapper nicht klickbar */
  z-index: 5;
  transition: opacity 0.3s ease;
  opacity: 0; /* standardmäßig unsichtbar */
}

/* Gradient links */
.arrow-wrapper.left {
  left: 0;
  background: linear-gradient(to right, var(--accent), transparent);
}

/* Gradient rechts */
.arrow-wrapper.right {
  right: 0;
  background: linear-gradient(to left, var(--accent), transparent);
}

/* Sichtbar, wenn Pfeil da ist */
.arrow-wrapper.visible {
  opacity: 1;
}
		/* Button bleibt klickbar */
.arrow-wrapper .arrow {
  pointer-events: auto;
  position: relative;
}


/* Contact */
#contact {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--accent);
}
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}
.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
}
.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--accent);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
		font-weight: 400;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-primary:hover {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* Modal */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.modal-content {
    position: relative;
    margin: 5% auto;
    background: var(--accent) !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-right: 1rem;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary) !important;
    z-index: 20;
    transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.modal-close:hover {
    transform: scale(1.2);
    color: var(--secondary) !important;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

#modal-imprint {
    z-index: 10001;
}

#custom-box {
    padding: 3rem 2rem;
    background: var(--accent);
    z-index: 2000 !important;
}

#custom-box > h4 {
    text-align: center;
    font-weight: 400;
    margin: -1rem 0 1rem; /* oben negativ, unten 1rem */
    padding: 0;
}

#geschenkBoxPrice {
    font-weight: bold;
    color: var(--primary);
}

#allergeneLink {
    display: block;
    margin: 0.1rem auto 1rem;
    text-align: center;
}

#allergeneList {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
}

#modalScrollArrowAllergene {
    cursor: pointer;
    font-size: 2rem;
    color: var(--primary);
    user-select: none;
    text-align: center;
    margin-top: 0.5rem;
}

.berry {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.berry img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.berry-combinations {
    max-height: 90px; /* Höhe für ca. 3-4 Reihen */
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}
.berry-combinations::-webkit-scrollbar {
    width: 6px;
}

.berry-combinations::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.berry-button {
    margin-top: auto;
}

.combo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.combo select,
.combo input[type="number"] {
    padding: 0.25rem;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.combo button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
}

.combo button:hover {
    color: crimson;
}

.combo select {
    padding: 0.4rem;
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary);
    background-color: var(--accent);
    flex: 1;
    min-width: 0;
}

.combo input[type="number"] {
    width: 40px;
    padding: 0.2rem;
    text-align: center;
    font-size: 13px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    background-color: var(--accent);
}

.add-combo {
    font-size: 14px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--primary);
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
}

.berry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 1000px; /* passt 6 Stück à ~150–160px rein */
    margin: 0 auto;
    gap: 1.5rem;
    justify-content: center;
}

.berry-combinations .combo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem; /* ↑ Abstand zwischen den Kombinationen */
}

.counter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.counter input {
    width: 50px;
    text-align: center;
    margin: 0 0.5rem;
}

.counter button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    background: var(--secondary);
    color: var(--accent);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.berry-bottom {
    margin-top: auto; /* schiebt .berry-bottom ganz nach unten */
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

#berryCounter {
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
}

#boxFormMessage {
    text-align: center;
    color: crimson;
    display: none;
    font-weight: bold;
}

#boxFormSuccess {
    text-align: center;
    color: green;
    display: none;
    font-weight: bold;
}

#boxFormButtonWrapper {
    text-align: center;
    margin-top: 1rem;
}

#boxFormButton {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.modal-content form input,
.modal-content form textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid var(--secondary);
    box-sizing: border-box;
    background-color: #fff;
}

.modal-content form label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
    color: var(--text);
}

.modal-content .form-group {
    margin-bottom: 0.5rem;
}

#lightwidget-container .fallback-box {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
}

#connect-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.faq-item {
    margin: 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: var(--secondary);
    color: var(--accent);
    border: none;
    padding: 0.6rem 2rem 0.6rem 1rem;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #5f3e30;
}

.faq-question::before,
.faq-question::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--accent);
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* Vertikaler Strich */
.faq-question::after {
    transform: rotate(90deg);
}

/* Bei aktiver Frage: „–“ statt „+“ */
.faq-question.open::after {
    transform: rotate(0deg); /* vertikale Linie wird waagerecht – verschwindet visuell */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Inhalt (nicht animiert) */
.faq-answer-content {
    font-size: 0.95rem; /* leicht kleiner als Frage */
    font-weight: 400; /* Standardgewicht für Fließtext */
    letter-spacing: 0.1px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--secondary);
    border-top: none;
    border-radius: 0 0 4px 4px;
    background: #fff;
    color: var(--text);
    margin-top: -1px;
    opacity: 1;
}

.modal-scroll-arrow {
    position: absolute; /* bezieht sich jetzt auf .modal-inner */
    bottom: 1.5rem; /* 1.5 rem über dem unteren Rand der Box */
    left: 50%; /* horizontal in der Mitte */
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary);
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    animation: bounceArrowModal 1.6s infinite ease-in-out;
    transition: opacity 0.3s ease;
    top: auto;
}

.modal-scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.slideshow {
    position: relative;
}

.slideshow .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.slideshow .arrow.left {
    left: 10px;
}

.slideshow .arrow.right {
    right: 10px;
}
.arrow {
    /* Übergänge für Farbe & Skalierung */
    transition: background 0.3s ease, transform 0.2s ease;
    transform-origin: center center; /* damit das Skalieren mittig passiert */
}

.arrow:hover {
    /* gleiche Hintergrundfarbe wie .faq-question:hover */
    background: #5f3e30;
    /* leichtes Heranzoomen ohne Verrutschen */
    transform: translateY(-50%) scale(1.1);
}

#customBoxModal {
    z-index: 2000 !important;
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

#customBoxModal > div {
    background: var(--accent);
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
}

#customBoxModalClose {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    line-height: 1;
}

#customBoxHeading {
    text-align: center;
}

#customBoxSuccess {
    display: none;
    text-align: center;
    color: green;
}

#boxForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#sendenButton {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
}

#whatsappSendBtn {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 2rem;
    background-color: white;
    border: 2px solid #25d366; /* WhatsApp-Grün */
    color: #25d366;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
}

#customBoxSuccess {
    display: none;
    text-align: center;
    color: green;
    font-weight: bold;
    margin-top: 1rem;
}

/* Optimiertes Styling für Datenschutzerklärung-Modal */

/* Datenschutzerklärung-Modal: ohne weißen Rand und Schatten */
#modal-privacy .modal-content {
    /* Größe & Position */
    width: 80% !important;
    max-width: 600px;
    margin: 5vh auto !important;
    padding: 1.5rem !important;
    box-sizing: border-box;
    max-height: 80vh;
    overflow-y: auto;
    line-height: 1.6;

    /* Farben & Rahmen */
    background: var(--accent) !important; /* kein Weiß, sondern dein Accent-Hintergrund */
    color: #333; /* Textfarbe */
    border: none !important; /* Rahmen entfernen */
    box-shadow: none !important; /* Schatten entfernen */
    border-radius: 10px; /* Ecken beibehalten, passe bei Bedarf an */
}

#modal-privacy h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2e1a16;
}

#modal-privacy p,
#modal-privacy li,
#modal-privacy dd {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

#modal-privacy dl {
    margin: 1rem 0;
}

#modal-privacy dt {
    font-weight: 600;
    margin-top: 1rem;
}

#modal-privacy ul,
#modal-privacy ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

#modal-privacy a {
    color: var(--primary);
    text-decoration: underline;
}

#modal-privacy .modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--primary) !important;
    z-index: 1101; /* sorgt dafür, dass der Button über dem Modal-Content liegt */
}
#modal-cookie-settings .modal-content {
    max-height: 80vh !important; /* Höhe auf max. 80% des Viewports begrenzen */
    overflow-y: auto !important; /* vertikales Scrollen aktivieren */
    overflow-x: hidden !important; /* seitliches Scrollen verhindern */
    box-sizing: border-box !important;
    z-index: 1002 !important;
}
#modal-privacy {
    z-index: 9999 !important; /* höher als alle anderen Modals */
}
#modal-privacy .modal-content {
    z-index: 10000 !important; /* Content-Box ebenfalls darüber */
}

/* ==== Social Icons Styling ==== */
#social .container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Abstand oben 1rem, unten 2rem, und zentriert sich horizontal */
    margin: -2rem auto 2rem auto;
    max-width: 800px;
    text-align: center;
}

#social .container a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px; /* etwas Puffer, damit bei Hover nichts abgeschnitten wird */
    text-decoration: none;
}

#social .container img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(5%) sepia(47%) saturate(510%) hue-rotate(337deg) brightness(93%) contrast(88%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

#social .container a:hover img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(92%) saturate(751%) hue-rotate(333deg) brightness(90%) contrast(89%);
    transform: scale(1.1);
}

#boxContactForm {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#boxFormMessage2 {
    display: none;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

#formularfelderCheck {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#formularfelderCheck > label {
    margin: 0;
}

#formularfelderCheck > label > a {
    color: var(--primary);
    text-decoration: underline;
}

/* Strauss Modal Optimierung */
#straussModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem; /* Platz am Rand für Scrollbar */
}

#straussModal > div {
    background: var(--accent);
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

#straussModalTitle {
    text-align: center;
}

#straussModalPrice {
    text-align: center;
    font-weight: bold;
    margin-top: 0.5rem;
}

#straussSuccess {
    display: none;
    text-align: center;
    color: green;
    font-weight: bold;
    margin-top: 1rem;
}

#straussForm {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.straussFormLabel {
    font-weight: 600;
}

.straussFormInput,
#grusskarte {
    width: 100%;
    padding: 0.55rem 0.8rem; /* etwas schmaler in der Höhe */
    border: 1px solid var(--secondary); /* deine Wunschfarbe */
    border-radius: 12px; /* statt 8px */
    font-size: 1rem;
    margin-top: 0.3rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

/* Fokus-Effekt für bessere UX */
.straussFormInput:focus,
#grusskarte:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* Einzeilige Inputs */
.straussFormInput[type="text"],
.straussFormInput[type="email"],
.straussFormInput[type="tel"],
.straussFormInput[type="date"] {
    height: 40px;
    padding: 0 0.8rem;
}

/* Datepicker */
.straussFormInput[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: 40px;
}

/* Gutschein-Feld */
.straussFormLabel[for="voucher"] {
    margin-bottom: 0;
}

.voucher-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.voucher-wrapper input {
    flex: 1;
}

.voucher-input {
    flex: 1;
    height: 40px;
    border: 1px solid var(--secondary);
    border-radius: 12px;
    font-size: 0.9rem;
    padding: 0 0.8rem;
    box-sizing: border-box;
}

#voucherCheckBtn.btn-primary {
    height: 40px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    top: 2px; /* Button bewusst ein Stück nach unten */
}

.voucher-status {
    display: block;
    margin-top: .25rem;
    font-size: .9rem;
    font-weight: normal;
    min-height: .8rem;
}

.voucher-status.ok    { color: #15803d; }  /* grün */
.voucher-status.error { color: #b91c1c; }  /* rot */
.voucher-status.muted { color: #6b7280; }  /* grau */
.voucher-status.warn  { color: #d97706; }  /* orange */

/* Datenschutz-Checkbox */
#privacyCheckbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-top: -0.7rem;   /* weniger Platz oberhalb */
    margin-bottom: -0.7rem;/* weniger Platz unterhalb */
}

#privacyCheckbox input[type="checkbox"] {
    margin: 0;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--secondary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#privacyCheckbox label {
    margin: 0;
    line-height: 1.4;
}

#privacyCheckbox label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Buttons unten */
#straussFormSubmitBtnWrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

#straussFormSubmitBtn {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
}

#straussWhatsappBtn {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 2rem;
    background: white;
    border: 2px solid #25d366;
    color: #25d366;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}



.lieferoptionen {
    padding: 50px 20px;
    background-color: #f5eadc;
}

#lieferoptionen-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.lieferoption {
    flex: 1 1 300px;
    text-align: center;
}

.site-footer {
    background: rgba(74, 28, 16, 0.1);
    padding: 2rem 1rem;
}

.site-footer > div {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text);
}

.site-footer > div > a {
    color: var(--primary);
    margin-right: 1.5rem;
    font-weight: 500;
}
		/* Newsletter-Sektion */
		/* Newsletter-Sektion */
#newsletter {
  width: 100vw; /* volle Viewport-Breite */
  margin-left: calc(50% - 50vw); /* Korrigiert bei zentriertem Layout */
  background-color: rgba(74, 28, 16, 0.1);
  padding: 60px 20px;
}


/* Container fürs Formular */
#newsletter .sib-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Eingabefelder */
#newsletter input[type="email"],
#newsletter input[type="text"] {
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
}

/* Nutzt deine vorhandene Checkbox-Stile */
#newsletter input[type="checkbox"] {
  accent-color: var(--secondary); /* modernes CSS: gibt der Checkbox deine Farbe */
	  width: 18px;
    height: 18px;
  cursor: pointer;
	  position: relative;
  top: 2px; /* schiebt sie etwas nach unten */
}

/* Link "Datenschutzerklärung" in Textfarbe + unterstrichen */
#newsletter a[data-modal-open="modal-privacy"] {
  color: var(--text);
  text-decoration: underline;
}
#newsletter a[data-modal-open="modal-privacy"]:hover {
  text-decoration: none;
}


/* Button */
#newsletter button {
  background-color: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1.5rem;
	    font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#newsletter button:hover {
  background-color: var(--primary);
}

/* Meldungen */
#success-message {
  font-size: 0.95rem;
  color: #085229;
  background-color: #e7faf0;
  border: 1px solid #13ce66;
  border-radius: 12px;
  padding: 10px;
  margin-top: 15px;
}
#error-message {
  font-size: 0.95rem;
  color: #661d1d;
  background-color: #ffeded;
  border: 1px solid #ff4949;
  border-radius: 12px;
  padding: 10px;
  margin-top: 15px;
}

		
.newsletter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.newsletter-field {
  flex: 1;
  min-width: 200px;
}

.newsletter-field input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--secondary);
  border-radius: 12px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}
	
#sib-container 	{
  padding: 2rem !important;
}
		
		/* === Personalisierte Schokoerdbeeren Section === */
#personalized-strawberries {
  padding: 4rem 1rem;
}

/* Haupt-Container */
#personalized-strawberries .personalized-strawberries-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start !important;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
}

/* Überschrift über dem Container */
#personalized-strawberries .personalized-strawberries-heading {
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
		

/* Bildbereich */
#personalized-strawberries .personalized-strawberries-image {
  flex: 0 0 auto !important;
  width: clamp(200px, 35%, 400px) !important;
}

#personalized-strawberries .personalized-strawberries-image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0.5rem;
}

/* Textbereich */
#personalized-strawberries .personalized-strawberries-text {
  flex: 2 1 400px;
}

#personalized-strawberries .personalized-strawberries-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
		#personalized-strawberries .personalized-strawberries-text h2 {
  font-size: 1.4rem; /* statt 2rem */
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 600;
}


#personalized-strawberries .personalized-strawberries-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

#personalized-strawberries ul.details-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

#personalized-strawberries ul.details-list li {
  margin-bottom: 0.5rem;
}

/* Button */
#personalized-strawberries .cta-button {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

#personalized-strawberries .cta-button:hover {
  background-color: var(--primary-dark, #9d3d55);
}
		
			/* ---------- Messe-Section ---------- */

#messe h2 {
    width: 100%;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

#messe .messe-intro {
  margin-bottom: 2rem; /* Text näher ans Carousel */
	line-height: 1.6;
}

#messe .messe-text-bottom {
  margin-top: 3rem; /* Text nach unten näher dran */
		line-height: 1.6;
}


/* Box mit Slider innen */
#messe .messe-box {
    max-width: 1000px;      /* <-- GENAU wie die anderen Boxen */
    margin: 0 auto 2rem;    /* zentrieren */
    padding: 2rem;          /* wie deine anderen Boxen */
    border-radius: 1rem;    /* übliche Rundung */
}


/* Slider-Layout: groß, zentriert */
/* ---------- 3D Messe Carousel (quadratisch & luxe) ---------- */

#messe .messe-carousel3d {
  margin: 0.8rem auto 1rem;   /* viel kompakter */
}


/* quadratische Bühne */
#messe .carousel3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;         /* immer quadratisch */
  perspective: 1200px;
}

/* 3D-Track */
#messe .carousel3d-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

/* Slides als quadratische Karten im Kreis – Basis */
#messe .carousel3d-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;                  /* Größe der Karte – hier kannst du später spielen */
  aspect-ratio: 1 / 1;         /* Quadrat */
  transform-style: preserve-3d;
  transform-origin: center;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  background: #000;

  /* weiche Übergänge für Luxus-Effekt */
  transition:
    filter 0.4s ease,
    opacity 0.4s ease;
  will-change: filter, opacity;
}

/* Bild füllt das Quadrat komplett – Hoch/Quer egal, wird beschnitten */
#messe .carousel3d-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* Quadrat wird voll ausgefüllt */
  display: block;
}

/* vorderste Karte – Luxus-Effekt */
#messe .carousel3d-item.is-front {
  filter: brightness(1.08) contrast(1.05) saturate(1.05);
  opacity: 1;
  z-index: 5;
}

/* alle anderen Karten – etwas dunkler & weich */
#messe .carousel3d-item.is-back {
  filter: brightness(0.60) contrast(0.85) saturate(0.85) blur(3px);
  opacity: 0.7;
  z-index: 1;
}

/* Pfeile */
#messe .carousel3d-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;

    background: var(--primary);   /* deine Farbe */
    color: var(--accent);         /* Pfeilfarbe */

    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
}

#messe .carousel3d-nav:hover {
    background: #5f3e30;                      /* Hover-Farbe wie FAQ */
    transform: translateY(-50%) scale(1.1);   /* schöner Zoom */
}

#messe .carousel3d-prev {
  left: 10px;
}

#messe .carousel3d-next {
  right: 10px;
}

		/* ---------- Newsletter Popup ---------- */

#newsletter-popup.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Hintergrund */
#newsletter-popup .newsletter-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* die innere Box */
#newsletter-popup .newsletter-popup-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  margin: 1rem;
  padding: 1.8rem 1.8rem 1.6rem;
  border-radius: 22px;
  background: #f5eadc;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  text-align: center;

  /* slide from bottom */
 transform: scale(0.85);   /* kleiner starten */
opacity: 0;

  transition: transform 0.45s cubic-bezier(.19,1,.22,1);
}

/* sichtbarer Zustand */
#newsletter-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

#newsletter-popup.is-visible .newsletter-popup-backdrop {
  opacity: 1;
}

#newsletter-popup.is-visible .newsletter-popup-box {
  transform: scale(1);
opacity: 1;

}

/* Close Button */
#newsletter-popup .newsletter-popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: rgba(74, 28, 16, 0.65);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

#newsletter-popup .newsletter-popup-close:hover {
  color: rgba(74, 28, 16, 0.95);
}

/* Badge */
#newsletter-popup .newsletter-popup-badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(74, 28, 16, 0.08);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Text */
#newsletter-popup h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

#newsletter-popup .newsletter-popup-text {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  color: var(--primary);
}

/* Button */
#newsletter-popup .newsletter-popup-button {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;

  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#newsletter-popup .newsletter-popup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  filter: brightness(1.03);
}

/* Hinweis */
#newsletter-popup .newsletter-popup-hint {
  font-size: 0.8rem;
  margin-top: 0.3rem;
  color: rgba(74, 28, 16, 0.7);
}

		
/* Media */

@media (max-width: 768px) {
    .nav-links.open {
        background: rgba(74, 28, 16, 0.8);
        /* iOS Safari */
        -webkit-backdrop-filter: blur(10px);
        /* moderne Browser */
        backdrop-filter: blur(10px);

        /* Performance-Tipp, damit Browser das Blurren optimiert */
        will-change: backdrop-filter;

        /* Oben keine Rundung, unten 8px */
        border-radius: 0 0 8px 8px;
    }
}

@media (max-width: 768px) {
    /* 3) Hero nach oben ziehen */
    #hero {
        position: relative;
        margin: 0;
        padding-top: 60px; /* Platz für die Navbar schaffen */
        height: 100dvh; /* volle sichtbare Höhe */
        box-sizing: border-box; /* damit padding eingerechnet wird */
        overflow: hidden;
    }

    /* 4) Video komplett im #hero ausfüllen */
    #heroVideo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .berry-info {
        font-size: 0.9rem;
        white-space: normal;
        max-width: 240px;
    }
}
/* --------------------------------------------
   Mobile-Optimierung – Noch kompakter
   -------------------------------------------- */
@media (max-width: 600px) {
    #modal-cookie-settings .modal-content {
        width: 95% !important;
        margin: 5dvh auto !important;
        padding: 0.5rem !important;
        max-height: 75dvh;
    }
    #modal-cookie-settings h2 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    #modal-cookie-settings p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    #modal-cookie-settings .cookie-category {
        margin-bottom: 0.4rem;
    }
    #modal-cookie-settings .cookie-category label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    #modal-cookie-settings details {
        margin-left: 1rem;
        margin-bottom: 0.3rem;
    }
    #modal-cookie-settings summary {
        font-size: 0.9rem;
    }
    #modal-cookie-settings table {
        font-size: 0.8rem;
        margin: 0.2rem 0;
    }
    #modal-cookie-settings th,
    #modal-cookie-settings td {
        padding: 0.2rem 0.4rem;
    }
    #modal-cookie-settings .btn-primary {
        display: block;
        width: 100%;
        padding: 0.5rem;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}
/* Mobile-Optimierung Cookie Banner */
@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    #cookie-banner p {
        text-align: center;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    #cookie-banner .buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    #cookie-banner button {
        flex: 1 1 45%; /* zwei Buttons pro Reihe */
        min-width: 120px;
        padding: 0.5rem 0;
        font-size: 0.85rem;
        margin: 0.25rem;
    }

    #cookie-banner button.settings {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Nur auf größeren Screens horizontal */
@media (min-width: 501px) {
    .box-type {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }
}

/* Optional: Auf Mobil kleiner skalieren */
@media (max-width: 768px) {
    #hero-keywords {
        top: calc(50% + 140px); /* ggf. etwas höher auf kleineren Screens */
        gap: 1rem;
    }

    .keyword {
        font-size: 0.9rem; /* kleinere Schrift auf Mobil */
    }
}

@media (max-width: 768px) {
    /* 1) Layout auf Column umstellen */
    #about .about-layout {
        flex-direction: column;
        align-items: center; /* Bild und Text zentrieren */
        text-align: center;
    }

    /* 2) Bildgröße & Flex-Fallback */
    #about .about-image {
        width: 100% !important;
        max-width: 300px !important; /* nie breiter als 250px */
        margin: 0 auto !important;
    }

    /* 3) Bild selbst: skaliere in den Container */
    #about .about-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 300px !important;
    }

    /* 3) Textblock anpassen (optional) */
    #about .about-text {
        width: 90%; /* engere Textspalte fürs Handy */
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .slider-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed; /* statt absolute */
        top: var(--nav-height, 60px);
        right: 1rem;
        background: rgba(74, 28, 16, 0.9);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: 8px;
        z-index: 9999;
    }
    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    #dynamic-logo {
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
    .sticky-nav.scrolled #dynamic-logo {
        position: absolute;
        top: 30px !important;
        height: 116px;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }
    #hero {
        margin-top: 0;
        height: 100dvh; /* sicherer als 100vh */
    }
    @supports not (height: 100dvh) {
        #hero {
            height: 100vh;
        } /* Fallback */
    }
}

		@media (max-width: 768px) {
  .modal-body-scroll {
    padding: 0.8rem 0.8rem 0 0.8rem; /* oben 1rem, seitlich 1rem, unten 0 */
  }

  .modal-img {
    border-radius: 12px;
    width: 100%;
    display: block;
  }
}

/* Modal-Content auf Mobil breit ziehen */
@media (max-width: 600px) {
    .modal-content {
        width: 90% !important; /* fast volle Breite */
        margin: 10% auto !important; /* zentriert mit etwas Abstand oben/unten */
        padding: 1rem !important; /* gut gepolstert */
    }
    .modal-content h2 {
        font-size: 1.25rem; /* Titel etwas größer */
    }
    .modal-content p {
        font-size: 1rem; /* Fließtext gut lesbar */
        line-height: 1.4;
    }
    .modal-close {
        font-size: 1.5rem; /* Schließen-Button bleibt groß genug */
    }
}

@media (max-width: 400px) {
    .add-combo {
        font-size: 12px !important;
    }
}

@media (max-width: 400px) {
    .berry-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promo-banner {
        top: 60px; /* Mobile Navbar Höhe */
        padding: 0.5rem;
    }

    .promo-text {
        font-size: 0.85rem;
        padding-right: 10rem;
    }
}
		
@media (max-width: 768px) {
#boxFormButton {
        padding: 0.75rem 1rem;
       font-size: 1rem;	
    }		
}
		
/* Eingabefelder auf Mobil kleiner machen */
@media (max-width: 576px) {
    #straussModal input,
    #straussModal textarea,
   
    #straussModal label {
        font-size: 14px !important;
    }

    #straussModal input,
    #straussModal textarea {
        padding: 0.5rem !important;
    }

    
}

/* Mobile Feinschliff */
@media (max-width: 600px) {
    #modal-privacy .modal-content {
        width: 95% !important;
        padding: 1rem !important;
        margin: 3vh auto !important;
        line-height: 1.5;
    }
    #modal-privacy h2 {
        font-size: 1.25rem;
    }
    #modal-privacy p,
    #modal-privacy li,
    #modal-privacy dd {
        font-size: 0.95rem;
    }
}

/* iPad Portrait (768 – 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    /* Nav-Bar always fixed */
    .sticky-nav {
        position: fixed !important;
        top: 0px;
        left: 0;
        right: 0;
        z-index: 1000;
        transform: none;
    }

    /* Hamburger-Icon anzeigen */
    .hamburger {
        display: flex !important;
    }

    /* Standard-Nav-Links ausblenden */
    .nav-links {
        display: none !important;
    }

    /* Geöffnetes Hamburger-Menü weiterhin als Overlay zeigen */
    #navLinks.open {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(74, 28, 16, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-clip: padding-box;
        border-radius: 0 0 8px 8px;
        position: absolute;
        top: 60px;
        right: 1rem;
        z-index: 999;
    }

    body {
        padding-top: 60px; /* Kompensation der Höhe der fixierten Navigation */
    }
}

@media only screen and (max-width: 767px) {
    /* Leiste fixieren */
    .sticky-nav {
        position: fixed !important;
        top: 0px;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        transform: none;
    }

    /* Standard-Nav-Links ausblenden */
    .nav-links {
        position: fixed !important;
        top: 60px !important;
        display: none !important; /* <-- hier NONE */
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(74, 28, 16, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-radius: 0 0 8px 8px;
        box-sizing: border-box;
        z-index: 999 !important;
    }

    /* Nur wenn .open da ist, anzeigen */
    .nav-links.open {
        display: flex !important; /* <-- und hier FLEX */
    }

    /* Hamburger-Icon fixieren */
    .hamburger {
        position: fixed !important;
        top: 16px !important;
        right: 1rem !important;
        z-index: 1001 !important;
    }
}
		@media (max-width: 768px) {
  #privacyCheckbox label {
    font-size: 0.8rem !important;
  }
}

/* Animations */
@keyframes fadeInWord {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Schwebeeffekt */
@keyframes floatKeyword {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceArrowModal {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -6px);
    }
}

/* Float-Animation */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
		
/* ========== Brevo Form Anpassungen ========== */

@font-face {
    font-display: block;
    font-family: Roboto;
    src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff")
  }

  @font-face {
    font-display: fallback;
    font-family: Roboto;
    font-weight: 600;
    src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff")
  }

  @font-face {
    font-display: fallback;
    font-family: Roboto;
    font-weight: 700;
    src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff")
  }

  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: "Montserrat", sans-serif;
    color: #c0ccda;
  }

  #sib-container input::placeholder {
    text-align: left;
    font-family: "Montserrat", sans-serif;
    color: #c0ccda;
  }

  #sib-container textarea::placeholder {
    text-align: left;
    font-family: "Montserrat", sans-serif;
    color: #c0ccda;
  }

  #sib-container a {
    text-decoration: underline;
    color: #2BB2FC;
  }
			
		
/* Mobile Optimierungen für Newsletter*/
@media (max-width: 768px) {
   #newsletter button {
 padding: 0.75rem 1rem;
	   font-size: 0.85rem;
  }
}		
		
/* Mobile Optimierungen */
@media (max-width: 768px) {
    .berry-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .berry-img-wrapper img {
        height: 120px;
        max-height: 120px;
    }
}

		

/* === Responsive Anpassungen Personalisierte Erdbeeren === */
@media (max-width: 768px) {
  #personalized-strawberries .personalized-strawberries-content {
    flex-direction: column;
    align-items: center;
	  text-align: center;
  }

  #personalized-strawberries .personalized-strawberries-image {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  #personalized-strawberries .personalized-strawberries-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 300px !important;
  }
	#personalized-strawberries .personalized-strawberries-heading {
    font-size: 1.8rem; /* vorher 2.5rem */
    line-height: 1.2;
		text-align: center;
  }

  #personalized-strawberries .personalized-strawberries-text {
    width: 95%;
    max-width: 400px;
    margin: 0 auto;
	  text-align: left;
  }
	#personalized-strawberries .personalized-strawberries-text h2 {
    text-align: center;
  }
	#personalized-strawberries .btn-primary {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}
		

/* Responsive Anpassung Messe-Sektion */
@media (max-width: 700px) {
  #messe .carousel3d-wrapper {
    max-width: 100%;
  }

  #messe .carousel3d-nav {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

	@media (max-width: 600px) {

  #messe .carousel3d-wrapper {
    aspect-ratio: 1 / 1;   /* vorher: 4/3 → jetzt Quadrat → mehr Höhe = mehr Platz */
  }

  #messe .carousel3d-item {
    width: 90%;
  }
}

/* Mobil -> untereinander Produkte Sektion */
@media (max-width: 600px) {
    #products .tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    #products .tab {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
}
				
	
/* Mobile Newsletter Pop Up */
@media (max-width: 480px) {
  #newsletter-popup .newsletter-popup-box {
    padding: 1.4rem 1.3rem 1.4rem;
    border-radius: 18px;
  }
}

