
@keyframes masonryFadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Grundlayout
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    /*font-family: "Lora", serif;*/
    background-color: #ffffff;
    color: #222;
    font-family: "ABeeZee", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Seite auf 1200px begrenzen & zentrieren */

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
}

.page-text {
    font-family: "ABeeZee", sans-serif;
}

/* =========================================
   SIDEBAR – nur Desktop
========================================= */

.sidebar {
    width: 245px;
    flex-shrink: 0;
    padding: 24px 18px;
    display: none; /* wird ab Desktop angezeigt */
}

.sidebar-inner {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px); 
}

/* Copyright in der Sidebar (Desktop) */
.sidebar-copy {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

/* Copyright zwischen Masonry & Footer (Mobile/Tablet) */
.mobile-copy {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    text-align: center;
    padding: 16px 22px 12px;
    display: none; /* Standard: erst mal ausblenden */
}

.logo-wrapper {
    width: 100%;
    text-align: left;
}

.logo-wrapper img {
    max-width: 150px;
    width: 150px;
    height: auto;
    margin: 0 0 24px 0;
}

/* Menütypografie */

.main-nav ul,
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu > ul > li {
    border-top: none;
}

.main-nav > ul > li {
    margin-bottom: 10px;
}

.main-nav > ul > li > a {
    /*font-family: "Playfair Display", serif;*/
    font-size: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
    display: block;
    padding: 8px 0;
}

.main-nav > ul > li > a:hover {
    text-decoration: underline;
}

/* Untermenüs Desktop – erst nach Klick sichtbar */

.has-submenu > .submenu {
    margin-left: 10px;
    margin-top: 4px;
    display: none; /* standardmäßig versteckt */
}

.main-nav .has-submenu.submenu-open > .submenu {
    display: block; /* sichtbar, wenn geöffnet */
}

.submenu li a {
    font-size: 16px;
    /*font-family: "Playfair Display", serif;*/
    text-transform: none;
    letter-spacing: 0;
    line-height: 2em;
}

/* Sidebar Utilities */

.sidebar-utilities {
    margin-top: 28px;
    border-top: 1px solid #eee;
    padding-top: 18px;
}

/* =========================================
   Desktop-Submenu Toggle Button
========================================= */

.sidebar .submenu-toggle-desktop {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .submenu-toggle-desktop i {
    font-size: 13px;
    transition: transform 0.25s ease;
    opacity: 0.8;
}

/* beim Öffnen: Chevron dreht sich */
.sidebar .has-submenu.submenu-open > .submenu-toggle-desktop i {
    transform: rotate(180deg);
}

/* Einrückung des Submenüs bleibt gleich */
.sidebar .main-nav .submenu {
    margin-left: 24px;
}


/* WARENKORB – Großschrift & gleiche Größe wie LOGIN */

/* Basis-Stil für alle cart-links */
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cart-link i {
    font-size: 16px;
    margin-right: 2px;
}

.cart-link span {
    font-size: 12px;
}

/* Sidebar-spezifisch größer */
.sidebar .cart-link {
    font-size: 18px;
}

.sidebar .cart-link span {
    font-size: 16px;
}

.cart-count {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Auth Bereich – LOGIN / LOGOUT */

.auth-wrapper {
    margin-top: 12px;
    border-top: 1px solid #eee; /* Strich zwischen WARENKORB und LOGIN */
}

.auth-link {
    display: inline-block;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 16px;
    font-size: 12px;
}

.auth-submenu {
    margin-top: 10px;
    padding-left: 0;
}

.auth-submenu li a {
    font-size: 13px;
}

/* Sidebar-Login größer + Icon-Abstand */

.sidebar .auth-link {
    font-size: 16px;
}

.auth-link i {
    margin-right: 8px;
}

/* =========================================
   MAIN CONTENT
========================================= */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* =========================================
   Hero Video (Video + Overlay)
========================================= */

.hero-video {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

/* Video füllt den Container vollständig aus */
.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* Overlay liegt über dem Video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 32px 10%;  /* ca. 10% vom unteren Rand nach oben */
    color: #fff;
    text-align: center;
    z-index: 2;
}

.hero-overlay h1 {
    font-family: "Playfair Display", serif;
    font-size: 60px;
    margin: 0 0 22px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}

.hero-overlay h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}

/* =========================================
   Masonry Sektionen
========================================= */

/* =========================================
   FLEX-MASONRY ENGINE
========================================= */

/* =========================================
   FLEX-MASONRY (1x 100% + 2x 50%)
========================================= */

/* äußerer Abschnitt: gleiche Breite wie andere Sektionen */
.masonry-flex-section {
    padding: 0;
}

/* Reihe für 2 Spalten unten */
.masonry-flex-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Grundstruktur eines Blocks */
.masonry-flex-item {
    background: #f5f1ec;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover ähnlich Masonry */
.masonry-flex-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Typo wie Masonry */
.masonry-flex-item h1 {
    margin: 0 0 10px;
    font-size: 28px;
    text-shadow: 0 2px 2px rgba(0,0,0,0.35);
}
.masonry-flex-item h2 {
    margin: 10px 0 10px;
    font-size: 24px;
}
.masonry-flex-item h3 {
    text-transform: uppercase;
    margin: 0 0 12px 0;
    font-size: 20px;
}

.masonry-flex-item li {
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}

.masonry-flex-item p {
    font-size: 15px;
    margin: 10px 5px;
    line-height: 1.6;
    text-align: left;
/*    text-shadow: 0 1px 3px rgba(0,0,0,0.25);*/
}

/* 100%-Block oben */
.masonry-flex-item.fullwidth {
    width: 100%;
    margin-bottom: 16px;   /* Abstand zur 50/50-Zeile */
}

/* 50/50-Blöcke unten */
.masonry-flex-item.half {
    width: 100%;           /* Grid regelt 50/50, nicht das Element selbst */
}

/* Mobile: alles untereinander, volle Breite */
@media (max-width: 700px) {
    .masonry-flex-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Generische Masonry-Utilities
   (funktionieren in masonry-two-grid,
    können später auch im 3er-Grid genutzt werden)
========================================= */

/* Row-Spans: wie viele "Units" (250px) ein Item hoch ist */
.masonry-span-1 { grid-row: span 1; }
.masonry-span-2 { grid-row: span 2; }
.masonry-span-3 { grid-row: span 3; }
.masonry-span-4 { grid-row: span 4; }

/* Spalten-Positionen für das 2-Spalten-Grid */
.masonry-two-grid .masonry-col-1 { grid-column: 1; }
.masonry-two-grid .masonry-col-2 { grid-column: 2; }


/* 3 kleine links */
.masonry-two-grid .masonry-small-left {
    grid-column: 1;
    grid-row: auto;
}

/* großer Block rechts, 3 Einheiten hoch */
.masonry-two-grid .masonry-tall-right {
    grid-column: 2;
    grid-row: span 3;
}

.masonry-section {
    padding: 28px 0px; /* Desktop: bündig mit Hero */
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;   
    grid-gap: 16px;
}

.masonry-item {
    min-height: 250px;
}

.masonry-item {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #e7e2dc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    position: relative;
    overflow: hidden;   /* wichtig für Zoom-Effekt */
    cursor: pointer;

    animation: masonryFadeUp 0.7s ease forwards;

    /* sanfte Animation + Hover-Transition */
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background-color 0.4s ease;
}

/* sanfter Lift + Schatten auf Hover */
.masonry-item:hover {
    transform: translateY(-4px);
    /*box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);*/
    border-color: rgba(0, 0, 0, 0.08);
}

/* Text wirkt auf Hover noch einen Tick klarer */
.masonry-item:hover h3,
.masonry-item:hover p {
    /*text-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);*/
}

.masonry-item.item-3 {
    background-image: url("/images/buddha-schale.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.masonry-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);  
}

.masonry-light-shadow {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);  
}

.masonry-item h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 10px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: text-shadow 0.3s ease;
}

.masonry-item p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    transition: text-shadow 0.3s ease;
}

.masonry-item .masonry-info {
    font-size: 12px;              /* kleine Schrift */
    opacity: 0.85;
    margin-top: 2px;              /* Abstand zum <p> */
    line-height: 1.3;
    text-align: center;           /* passt zur Gesamt-Ausrichtung */
}

/* Wenn der Block die "masonry-light" Klasse hat → Info in weiß */
.masonry-item.masonry-light .masonry-info {
    color: #ffffff;
}

/* Text OBEN */
.masonry-item.masonry-top {
    justify-content: flex-start;
    padding-top: 24px;         /* etwas Abstand vom Rand */
}

/* Text MITTE */
.masonry-item.masonry-middle {
    justify-content: flex-start;
    padding-top: 60px;         /* etwas Abstand vom Rand */
}

/* Text UNTEN */
.masonry-item.masonry-bottom {
    justify-content: flex-end;
    padding-bottom: 24px;      /* Abstand vom unteren Rand */
}

/* Grid-Positionen (4 Elemente: Spalte 1 halb/halb, Spalte 2+3 voll) */

.masonry-grid .masonry-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    animation-delay: 0.05s;
}

.masonry-grid .masonry-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    animation-delay: 0.10s;
}

.masonry-grid .masonry-item:nth-child(3) {
    grid-column: 2 / span 1;
    grid-row: 1 / span 2;
    animation-delay: 0.15s;
}

.masonry-grid .masonry-item:nth-child(4) {
    grid-column: 3 / span 1;
    grid-row: 1 / span 2;
    animation-delay: 0.20s; 
}

.masonry-item.masonry-light,
.masonry-item.masonry-light h3,
.masonry-item.masonry-light p {
    color: #fff;
}

.masonry-item.masonry-bg {
    position: relative;
    overflow: hidden;
    padding: 0;                           /* wir arbeiten mit Innenbereich */
}

/* Bild-Ebene */
.masonry-item.masonry-bg .masonry-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%; 
    background-size: contain;             /* GANZES Bild sichtbar */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
    transition: transform 0.5s ease;      /* für den Zoom-Effekt */
}

/* Inhalt */
.masonry-item.masonry-bg > h3,
.masonry-item.masonry-bg > p,
.masonry-item.masonry-bg > .masonry-info {
    position: relative;
    z-index: 2;                           /* Text über Bild */
    padding: 0 12px;                      /* leichter Innenabstand */
}

/* Hover-Zoom nur fürs Bild */
.masonry-item.masonry-bg:hover .masonry-bg-image {
    transform: scale(1.05);
}

/* Text-Positionierung oben / unten weiter kompatibel */
.masonry-item.masonry-bg.masonry-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.masonry-item.masonry-bg.masonry-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.masonry-item.masonry-bg.masonry-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================================
   Masonry 2-Spalten Sektion
========================================= */

/* Sektion hat dieselbe Breite / Ausrichtung wie die anderen Masonry-Blöcke */
.masonry-two-section {
    padding: 28px 0; /* wie .masonry-section, Desktop ohne horizontalen Rand */
}

.masonry-two-grid {
    max-width: 1200px;            /* wie page-wrapper / Masonry */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* genau 2 Spalten */
    grid-auto-rows: 250px;                 /* gleiche „Unit-Höhe“ wie bisher */
    grid-gap: 16px;
}

/* Mindesthöhe wie die bisherigen Blöcke */
.masonry-two-grid .masonry-item {
    min-height: 250px;
}

/* hoher Block über zwei Reihen (≈ 500px) */
.masonry-item.masonry-tall {
    grid-row: span 2;
}


/* =========================================
   Parallax Sektion
========================================= */

.parallax-section {
    position: relative;
    height: 320px;
    background-image: url("../images/parallax.jpg"); /* ersetzen */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin: 10px 0 0;
    padding: 0;
}

.parallax-inner {
    position: absolute;
    top: 0;
    left: 0px;
    right: 0px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.parallax-inner h3 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.parallax-inner h4 {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    margin: 0;
    /*text-transform: uppercase;*/
    letter-spacing: 0.04em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

/* =========================================
   Footer
========================================= */

.site-footer {
    border-top: 1px solid #eee;
    padding: 28px 22px 40px;
    background: #f1ecdf;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
}

.footer-column {
    line-height: 1.75em;
}

.footer-column h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 15px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

/* Pinsel-Unterstreichung unter Footer-Überschriften */

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 8px;
    background: url("/images/brush-underline.svg") no-repeat center;
    background-size: contain;
}

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

.footer-column li {
    margin-bottom: 6px;
    font-size: .9em;
}

/* =========================================
   MOBILE / TABLET HEADER + MENU
========================================= */

/* MOBILE / TABLET HEADER – Logo wirklich mittig */

.mobile-header {
    display: flex;
    align-items: center;
    padding: 15px 22px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 50;

    /* wichtig für das absolut positionierte Logo */
    position: sticky;
}

.mobile-header-inner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Warenkorb links */
.mobile-cart {
    flex: 0 0 auto;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Logo absolut zentriert */
.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none; /* Klicks gehen nicht aufs Logo, sondern auf Layer darunter */
}

.mobile-logo img {
    height: 56px;
    width: auto;
}

/* Burger rechts */
.menu-toggle {
    margin-left: auto;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.mobile-menu.is-open {
    max-height: 580px; /* ausreichend für Menü */
}

.mobile-menu a,
.mobile-menu button.submenu-toggle {
    display: block;
    padding: 10px 16px;
    font-family: "Playfair Display", serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Submenus – display-Variante */

.mobile-menu .has-submenu .submenu {
    display: none;
    background: #fafafa;
}

.mobile-menu .has-submenu.submenu-open .submenu {
    display: block;
}

.mobile-menu .submenu li a {
    text-transform: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-mobile .auth-submenu {
    background: #fafafa;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */

/* ab 1024px: Desktop-Layout mit Sidebar */

@media (min-width: 1024px) {
    .sidebar {
        display: block;
    }

    .sidebar-copy {
        display: block;
        margin-top: auto;      /* nach unten drücken */
        margin-bottom: 20px;   /* ~20px Abstand zum unteren Rand */
    }

    .mobile-copy {
        display: none;
    }

    .mobile-header,
    .mobile-menu {
        display: none;
    }

    .hero-overlay h1 {
        font-size: 60px;
    }

    .masonry-section {
        padding: 32px 0px;
    }

    .site-footer {
        padding: 32px 28px 44px;
    }
}

/* Tablets: Masonry auf 2 Spalten */

@media (max-width: 1023.98px) {
    .page-wrapper {
        flex-direction: column;
    }

    .sidebar-copy {
        display: none;
    }

    .mobile-copy {
        display: block;
    }

    .masonry-two-section {
        padding: 20px 16px; /* wie deine normale Masonry auf Tablet */
    }

    .masonry-two-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px; /* bleibt bei 250er Units */
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }

    /* Positionen neu, wenn nur 2 Spalten – Standardfluss */
    .masonry-grid .masonry-item:nth-child(1),
    .masonry-grid .masonry-item:nth-child(2),
    .masonry-grid .masonry-item:nth-child(3),
    .masonry-grid .masonry-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-video {
        min-height: 420px;   /* kein Padding → Overlay passt immer */
    }

    /* Masonry auf Tablet: gleicher Rand wie Video */
    .masonry-section {
        padding: 20px 16px;
    }

    .parallax-section {
        padding: 0 16px;
    }

    .parallax-inner {
        left: 0;
        right: 0;
    }

    .site-footer {
        padding: 28px 16px 40px;
    }
}

/* Kleine Screens: 1 Spalte & kleinere Abstände */

@media (max-width: 599.98px) {
    .hero-video {
        min-height: 380px;
    }

    .hero-overlay {
        padding: 0 14px 20%;   /* etwas höher + seitlicher Rand */
    }

    .hero-overlay h1 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .hero-overlay h2 {
        font-size: 18px;
    }

    /* Masonry-two auf 1 Spalte umstellen */
    .masonry-two-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;   /* kleine Blöcke wie gewohnt */
    }

    /* Spalten-Zuordnung aufheben */
    .masonry-two-grid .masonry-col-1,
    .masonry-two-grid .masonry-col-2 {
        grid-column: auto;
    }

    /* kleine Blöcke normal */
    .masonry-two-grid .masonry-span-1 {
        grid-row: span 1;
    }

    /* großer Block → doppelte Höhe = 500px */
    .masonry-two-grid .masonry-span-3,
    .masonry-two-grid .masonry-tall,
    .masonry-two-grid .masonry-tall-right {
        grid-row: span 2;   /* zwei Rows = 2 × 250px = 500px */
    }

    /* hoher Block bleibt über zwei „Units“ → mind. 500px */
    .masonry-item.masonry-tall {
        grid-row: span 2;
    }

    .masonry-section {
        padding: 20px 14px; /* gleicher Rand wie Video */
    }

    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .parallax-section {
        padding: 0 14px;
        background-attachment: scroll; /* besseres Verhalten auf Mobile */
    }

    .parallax-inner {
        left: 0;
        right: 0;
    }

    .parallax-inner h3 {
        font-size: 22px;
    }

    .parallax-inner h4 {
        font-size: 14px;
    }
}

/* =========================================
   Newsletter + Buddha Quote (60/40 Block)
========================================= */

.newsletter-quote-section {
    padding: 40px 0 0 0;                
}

.newsletter-quote-inner {
    max-width: 1200px;              /* exakt wie Masonry & Hero */
    margin: 0 auto;
    padding: 32px;                  /* INNERER Abstand */
    
    display: grid;
    grid-template-columns: 60% 40%;
    grid-gap: 32px;

    border: 1px solid #e0e0e0;      /* dünner Rahmen wie Masonry */
    border-radius: 10px;            /* gleiche Rundung */
    background: #fff;
}

/* LINKER BEREICH – Newsletter */
.newsletter-left h3 {
    font-family: "Playfair Display", serif;
    text-transform: uppercase;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 12px;
}

.newsletter-left p {
    font-size: 16px;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.newsletter-form button {
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* RECHTER BEREICH – Buddha-Zitat */
.newsletter-right blockquote {
    margin: 0;
    padding: 0;
    padding-left: 12px;            
    border-left: 3px solid #eee;   
    font-size: 22px;
    line-height: 1.5;
}

.newsletter-right footer {
    margin-top: 12px;
    font-size: 16px;
    opacity: 0.7;
    font-style: italic;
}


/* =========================================
   Responsive Breakpoints
========================================= */

/* Tablet: 50/50 und 16px Außenabstand wie Parallax */
@media (max-width: 1023px) {
    .newsletter-quote-section {
        padding: 32px 16px;       /* Tablet-Style wie Parallax */
    }
    
    .newsletter-quote-inner {
        grid-template-columns: 1fr 1fr;
        padding: 28px;
    }
}

/* Mobile: 100% Breite + 14px Außenabstand (wie Parallax) */
@media (max-width: 599px) {
    .newsletter-quote-section {
        padding: 24px 14px;
    }
    
    .newsletter-quote-inner {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .newsletter-right blockquote {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* =========================================
   UNTERSEITE: BANNER
========================================= */

.sub-hero-banner {
    position: relative;
    min-height: 260px;
    max-height: 300px;
    margin: 0 0 24px 0;
    border-radius: 10px;
    overflow: hidden;

    /* Standard: nur Farbe */
    background-color: #f5f1ec;
    color: #222;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 32px;
}

/* Wenn ein Bild gesetzt ist (has-bg): Bild + Overlay verwenden */
.sub-hero-banner.has-bg {
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    color: #fff; /* Text hell auf Bild */
}

/* leichte Abdunkelung für bessere Lesbarkeit */
.sub-hero-banner.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.45)
    );
    z-index: 1;
}

.sub-hero-inner {
    position: relative;
    z-index: 2;
}

.sub-hero-inner h2 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
}

.sub-hero-inner p {
    margin: 0;
    font-size: 16px;
}

/* Responsive Feintuning */
@media (max-width: 699.98px) {
    .sub-hero-banner {
        margin-top: 16px;
        padding: 20px 18px;
        border-radius: 0;
    }

    .sub-hero-inner h2 {
        font-size: 22px;
    }
}
/* =========================================
   UNTERSEITE: CONTENTBLOCK BILD/TEXT
========================================= */

.sub-content-section {
    padding: 10px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sub-content-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.sub-content-row--reverse {
    flex-direction: row-reverse;
}

.sub-content-media {
    flex: 1 1 40%;
}

.sub-content-media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.sub-content-text {
    flex: 1 1 60%;
}

.sub-content-text h1,
.sub-content-text h2 {
/*    font-family: "Playfair Display", serif;*/
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.sub-content-text p {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 16px;
}

/* =========================================
   UNTERSEITE: QUADRAT-GALERIE
========================================= */

.sub-gallery-section {
    background: #f5f1ec;
    border-radius: 10px;
    padding: 28px 24px 32px;
    margin-bottom: 32px;
}

.sub-section-title {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    text-transform: uppercase;
    margin: 0 0 18px;
    text-align: center;
    letter-spacing: 0.08em;
}

.sub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

/* Figur selbst darf in der Höhe wachsen */
.sub-gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Bild selbst wird quadratisch */
.sub-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;   /* macht das Bild quadratisch */
    object-fit: cover;
    display: block;
}

/* Text unter quadratischen Galerie-Bildern */
.sub-gallery-item figcaption {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    color: #444;
    padding: 0 6px 10px;
    /*font-family: "Lora", serif;*/
}

/* Wenn kein Text vorhanden ist → kein leerer Platz */
.sub-gallery-item figcaption:empty {
    display: none;
}

/* =========================================
   UNTERSEITE: SLIDER
========================================= */

.sub-slider-section {
    padding: 12px 0 40px;
}

.bb-slider {
    position: relative;
    background: #f5f1ec;
    border-radius: 10px;
    padding: 24px 48px;
    overflow: hidden;
}

.bb-slider-track {
    position: relative;
}

/* Slides: nur der aktive wird angezeigt */
.bb-slide {
    display: none;
    align-items: center;
    gap: 24px;
}

.bb-slide.is-active {
    display: flex;
}

.bb-slide-media {
    flex: 0 0 180px;
}

.bb-slide-media img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.bb-slide-text {
    flex: 1 1 auto;
}

.bb-slide-text h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.bb-slide-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* Pfeile */
.bb-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255,255,255,0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bb-slider-arrow i {
    font-size: 16px;
}

.bb-prev { left: 12px; }
.bb-next { right: 12px; }

/* Dots */
.bb-slider-dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.bb-slider-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    padding: 0;
}

.bb-slider-dots button.is-active {
    background: #000;
}

/* =========================================
   RESPONSIVE ANPASSUNGEN FÜR UNTERSEITE
========================================= */

@media (max-width: 1023.98px) {
    .sub-content-row {
        gap: 24px;
    }
}

@media (max-width: 699.98px) {
    .sub-hero-banner {
        padding: 20px 16px;
        border-radius: 0;
    }

    .sub-hero-inner h2 {
        font-size: 22px;
    }

    .sub-content-row,
    .sub-content-row--reverse {
        flex-direction: column;
    }

    .sub-gallery-section {
        padding: 22px 16px 26px;
        border-radius: 0;
    }

    .bb-slider {
        padding: 20px 16px 26px;
        border-radius: 0;
    }

    .bb-slide {
        flex-direction: column;
        text-align: center;
    }

    .bb-slide-media {
        flex: 0 0 auto;
        width: 70%;
        margin: 0 auto 12px;
    }

    .bb-prev,
    .bb-next {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    .bb-prev { left: 16px; }
    .bb-next { right: 16px; }
}

/* =========================================
   GLOBALER MOBILE/TABLET-PADDING-FIX
   für Unterseiten-Sektionen
========================================= */

@media (max-width: 1023.98px) {
    .sub-hero-banner,
    .sub-content-section,
    .sub-gallery-section,
    .sub-slider-section,
    .masonry-flex-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 599.98px) {
    .sub-hero-banner,
    .sub-content-section,
    .sub-gallery-section,
    .sub-slider-section,
    .masonry-flex-section {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Text unter quadratischen Galerie-Bildern */
.sub-gallery-item figcaption {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    color: #444;
    padding: 0 6px;
   /* font-family: "Lora", serif;*/
}

/* Wenn kein Text vorhanden ist → kein leerer Platz */
.sub-gallery-item figcaption:empty {
    display: none;
}

.lazy-gallery {
    padding: 28px 0;
}

.lazy-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.lazy-item {
    background: #f5f1ec;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}

.lazy-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease;
}

.lazy-item img.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   KONTAKTSEITE – 60/40 Layout
========================================= */

.contact-section {
    padding: 32px 0;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 32px;
}

/* Linke Seite (Formular) */

.contact-left h2 {
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}

.contact-left p {
    margin: 0 0 18px;
    font-size: 15px;
}

.form-row {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-row label {
    font-size: 14px;
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    /*font-family: "Lora", serif;*/
    font-size: 14px;
    padding: 9px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

/* Checkboxzeile */

.form-row--checkbox {
    margin-top: 6px;
}

.form-row--checkbox label {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-row--checkbox input[type="checkbox"] {
    margin-top: 2px;
}

/* Submit-Button */

.contact-submit {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    background: #000;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Feedback-Meldung */

.contact-feedback {
    margin-top: 10px;
    font-size: 13px;
    min-height: 18px;
}

.contact-feedback.error {
    color: #c62828;
}

.contact-feedback.success {
    color: #2e7d32;
}

/* Rechte Seite (Zitat) */

.contact-right blockquote {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.6;
}

.contact-right footer {
    margin-top: 8px;
    font-size: 15px;
    opacity: 0.7;
    font-style: italic;
}

/* Responsive */

@media (max-width: 1023.98px) {
    .contact-section {
        padding: 32px 16px;
    }

    .contact-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 699.98px) {
    .contact-section {
        padding: 24px 14px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .contact-right blockquote {
        text-align: center;
    }
}

/* =========================================
   Premium Zitat-Block
========================================= */

.bb-quote {
    max-width: 640px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
   /* font-family: "Lora", serif;*/
}

/* großes geschwungenes Anführungszeichen */
.bb-quote-mark {
    display: block;
    /*font-family: "Playfair Display", serif;*/
    font-size: 64px;
    line-height: 1;
    opacity: 0.75;
    margin-bottom: 10px;
    transform: translateY(4px); /* leicht nach unten für harmonische Optik */
}

/* Zitattext */
.bb-quote blockquote {
    margin: 0;
    padding: 0 0 0;
}

.bb-quote blockquote p {
    font-size: 20px;
    line-height: 1.55;
    font-weight: 400;
    color: #333;
    margin: 0;
}

/* feiner Abstand zum Autor */
.bb-quote-author {
    margin-top: 14px;
    font-size: 15px;
    color: #555;
    opacity: 0.8;
    font-style: italic;
}

/* =========================================
   Sidebar – Submenüs korrekt einrücken
========================================= */

/* UL des Submenüs: direkt unter dem Elternpunkt, leicht eingerückt */
.sidebar .main-nav .submenu {
    margin-top: 6px;
    margin-left: 18px;   /* Einrückung unter SHOP */
    padding-left: 0;
}

/* Jedes Submenü-Item normal als Block, kein Flex, kein Chaos */
.sidebar .main-nav .submenu li {
    display: block;
    margin-bottom: 4px;
}

/* Links im Submenü: linksbündig, kein Platz für Pfeil nötig */
.sidebar .main-nav .submenu li a {
    display: block;
    padding-right: 0;
    text-align: left;
}

/* =========================================
   Sidebar – Hauptmenü & Submenüs
========================================= */

/* Grundliste */
.sidebar .main-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hauptpunkte: HOME, SHOP, ÜBER UNS, KONTAKT */
.sidebar .main-nav > ul > li {
    position: relative;
    margin-bottom: 10px;
}

/* Hauptlinks (wie Warenkorb/Login) */
.sidebar .main-nav > ul > li > a,
.sidebar .main-nav > ul > li > a.menu-link {
/*    font-family: "Playfair Display", serif;*/
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    padding: 8px 0;
    color: #000;
    padding-right: 24px; /* Platz für Chevron rechts */
}

/* Hover / aktiv */
.sidebar .main-nav > ul > li > a:hover,
.sidebar .main-nav > ul > li > a.menu-link:hover {
    text-decoration: underline;
}

.sidebar .main-nav li.is-current > a,
.sidebar .main-nav li.is-current > a.menu-link {
    text-decoration: underline;
}

/* Toggle-Button mit Pfeil (rechts vom Text) */
.sidebar .submenu-toggle-desktop {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .submenu-toggle-desktop i {
    font-size: 13px;
    transition: transform 0.25s ease;
    opacity: 0.8;
}

/* geöffnetes Submenü: Pfeil nach oben */
.sidebar .has-submenu.submenu-open > .submenu-toggle-desktop i {
    transform: rotate(180deg);
}

/* Submenü: unter SHOP leicht eingerückt */
.sidebar .main-nav .submenu {
    margin: 6px 0 0 16px;  /* Einrückung nach rechts */
    padding-left: 0;
    list-style: none;
}

/* Unterpunkte als normale Block-Elemente */
.sidebar .main-nav .submenu li {
    display: block;
    margin-bottom: 4px;
}

/* Links im Submenü */
.sidebar .main-nav .submenu li a {
    /*font-family: "Playfair Display", serif;*/
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.9;
    padding: 0;
    display: block;
    color: #000;
}

/* Cookie-Consent Banner */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    pointer-events: none; /* wird durch inneren Container wieder aktiviert */
}

.cookie-consent--visible {
    display: block;
}

.cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto 16px auto;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 16px;
    align-items: center;
    pointer-events: auto;
}

.cookie-consent-text-wrapper {
    flex: 1 1 auto;
}

.cookie-consent-title {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.cookie-consent-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-consent-text a {
    color: #c58a3d;
    text-decoration: underline;
}

.cookie-consent-actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.cookie-consent-button {
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.9rem;
    cursor: pointer;
    background: #c58a3d;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-consent-button:hover {
    background: #b47a2f;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .cookie-consent-inner {
        margin: 0 10px 10px 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .cookie-consent-button {
        width: 100%;
        text-align: center;
    }
}

/* Toggle-Button im KASSE-Banner (nur Tablet/Mobile sichtbar) */
.cart-banner-toggle {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 1.3rem;
    cursor: pointer;
    display: none;
}
@media (max-width: 992px) {
    .cart-banner-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Top-Bar einklappen auf Tablet/Mobile */
@media (max-width: 992px) {
    .page-kasse .shop-top-bar {
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
        overflow: hidden;
    }
    .page-kasse.checkout-nav-collapsed .shop-top-bar {
        max-height: 0;
        opacity: 0;
        padding: 0;
        margin: 0;
    }
}

/* Banner "KASSE" */
.cart-banner {
    background: #e8e0d8;
    padding: 1rem 1rem;
}
.cart-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.cart-banner-title {
    margin: 0;
    font-size: 1.8em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.footer-payment {
    width: 100%;
    padding: 12px 0; /* vorher 20px → reduziert */
    margin-top: 10px; /* Abstand nach unten reduziert */
    border-top: 1px solid rgba(76, 76, 76, 0.2); /* abgestimmt auf #4c4c4c */
}

.footer-payment-inner {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
    color: #4c4c4c;
    font-size: 14px;
    margin: 0 20px;
}

.footer-payment .payment-text {
    margin-right: 10px;
    color: #4c4c4c;
    opacity: 1;
}

.footer-payment .payment-icons i {
    font-size: 20px;
    margin-left: 8px;
    color: #4c4c4c;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-payment .payment-icons i:hover {
    opacity: 1;
}

