/* ============================================================
   Stone & Flame — Globale Styles
   Wiederverwendbar auf allen Seiten (shop, produkt, konto…)
   ============================================================ */

:root {
    --bg-cream:      #FAF7F2;
    --bg-warm:       #F5EFE6;
    --bg-card:       #FFFFFF;
    --rose:          #D4897B;
    --rose-dark:     #B8685A;
    --sage:          #9DB5A0;
    --sage-dark:     #7A9480;
    --sand:          #D4B896;
    --lavender:      #B8AECF;
    --text-dark:     #3D2E23;
    --text-mid:      #6B5344;
    --text-light:    #9E8578;
    --text-white:    #FAF7F2;
    --border:        #E8DDD4;
    --shadow:        rgba(61, 46, 35, 0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.6;
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

/* Container */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transition: padding 0.3s ease;
}
.site-nav.scrolled { padding: 6px 0; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
}
.site-nav.scrolled .nav-logo img { height: 48px; }
.nav-logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: font-size 0.3s ease;
    line-height: 1.1;
}
.nav-logo-text em {
    font-style: normal;
    color: var(--sand);
}
.site-nav.scrolled .nav-logo-text { font-size: 1.3rem; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links a {
    font-family: 'Lato', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    white-space: nowrap;
    color: var(--text-mid);
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--rose-dark); }
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-cart-icon { font-size: 1.2rem; }
.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--rose);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.nav-toggle { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Main content (between header and footer)
   ============================================================ */
.main-content { min-height: 50vh; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--text-dark);
    padding: 56px 0 0;
    color: var(--text-white);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
    display: block;
}
.footer-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(250, 247, 242, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(250, 247, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.6);
    transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--rose); color: var(--rose); }
.footer-col h3, .footer-col h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 0; }
.footer-col ul li a {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(250, 247, 242, 0.6);
    transition: color 0.2s;
    display: inline-block;
    padding: 2px 0;
    line-height: 1.4;
}
.footer-col ul li a:hover { color: var(--rose); }
.footer-contact p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(250, 247, 242, 0.6);
    margin-bottom: 8px;
}
.payment-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.payment-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(250, 247, 242, 0.15);
    color: rgba(250, 247, 242, 0.5);
    letter-spacing: 0.04em;
}
/* Newsletter Section (global, vor dem Footer) */
.newsletter {
    padding: 72px 0;
    background: var(--bg-warm);
    text-align: center;
}
.newsletter-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--sand);
}
.newsletter h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.newsletter > .container > p {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-mid);
    margin-bottom: 28px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto 16px;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 13px 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    background: var(--bg-card);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus {
    border-color: var(--rose);
}
.newsletter-form button {
    padding: 13px 28px;
    background: var(--rose);
    color: var(--text-white);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}
.newsletter-form button:hover {
    background: var(--rose-dark);
}
.newsletter-hint {
    font-size: 0.75rem;
    color: var(--text-light);
}
@media (max-width: 480px) {
    .newsletter { padding: 48px 0; }
    .newsletter h2 { font-size: 1.4rem; }
    .newsletter-form { flex-direction: column; padding: 0 16px; }
    .newsletter-form button { width: 100%; }
}

.footer-bottom {
    border-top: 1px solid rgba(250, 247, 242, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(250, 247, 242, 0.4);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--rose);
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-primary:focus, .btn-secondary:focus, .btn-card:focus { outline: 2px solid var(--rose-dark); outline-offset: 2px; }
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--sage-dark);
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 6px;
    border: 2px solid var(--sage);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    letter-spacing: 0.02em;
}
.btn-secondary:hover { background: var(--sage); color: var(--text-white); transform: translateY(-1px); }

/* ============================================================
   Compare Bar & Nav
   ============================================================ */
.nav-compare {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}
.compare-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--sage);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    z-index: 900;
    box-shadow: 0 -4px 20px var(--shadow);
    animation: compareSlideUp 0.3s ease;
}
@keyframes compareSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 600px) {
    .compare-bar .container {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* ============================================================
   Page Header & Breadcrumb
   ============================================================ */
.page-header {
    background: var(--bg-warm);
    padding: 32px 0 28px;
    border-bottom: 1px solid var(--border);
}
.page-header.slim { padding: 20px 0 16px; }
.page-header h1 {
    font-size: 2rem;
    margin-bottom: 4px;
}
.product-count {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--rose-dark); }
.breadcrumb span { color: var(--text-light); }

/* ============================================================
   Navigation Search – Luxury Overlay
   ============================================================ */
.nav-search-wrap { position: static; display: flex; align-items: center; }
.nav-search-toggle {
    background: none; border: none; cursor: pointer;
    color: var(--text-mid); padding: 6px 2px;
    font-size: 14px; font-family: 'Lato', sans-serif;
    font-weight: 300; letter-spacing: 0.02em;
    transition: color 0.3s ease;
    display: inline-flex; align-items: center; gap: 6px;
}
.nav-search-toggle svg {
    width: 16px; height: 16px; stroke: currentColor;
    stroke-width: 1.8; fill: none; transition: transform 0.3s ease;
}
.nav-search-toggle:hover { color: var(--rose-dark); }
.nav-search-toggle:hover svg { transform: scale(1.1); }

/* Fullwidth overlay */
.nav-search-box {
    display: block;
    position: fixed; top: 0; left: 0; right: 0;
    width: 100%; padding: 0;
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    box-shadow: 0 8px 40px rgba(61, 46, 35, 0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease,
                visibility 0s linear 0.45s;
}
.nav-search-box.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease,
                visibility 0s linear 0s;
}

/* Search input area */
.nav-search-box .search-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    position: relative;
}
.nav-search-box .search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-search-box .search-icon {
    position: absolute; left: 20px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    stroke: var(--text-light); fill: none; stroke-width: 1.8;
    pointer-events: none;
    transition: stroke 0.3s ease;
}
.nav-search-box input:focus ~ .search-icon,
.nav-search-box input:not(:placeholder-shown) ~ .search-icon {
    stroke: var(--rose);
}
.nav-search-box input {
    width: 100%;
    padding: 18px 56px 18px 52px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 16px; font-family: 'Lato', sans-serif; font-weight: 300;
    letter-spacing: 0.02em;
    outline: none;
    background: var(--bg-card);
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.nav-search-box input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(212, 137, 123, 0.12);
}
.nav-search-box input::placeholder {
    color: var(--text-light); font-weight: 300;
    font-style: italic;
}
/* Close button */
.nav-search-close {
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: var(--text-light);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.nav-search-close:hover {
    color: var(--rose-dark); background: rgba(212, 137, 123, 0.08);
}
.nav-search-close svg {
    width: 18px; height: 18px; stroke: currentColor;
    stroke-width: 2; fill: none;
}

/* Search label */
.nav-search-label {
    font-family: 'Playfair Display', serif;
    font-size: 13px; font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 16px; text-align: center;
}

/* Results container */
.nav-search-results {
    max-height: 420px; overflow-y: auto;
    padding: 8px 0 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.nav-search-results::-webkit-scrollbar { width: 4px; }
.nav-search-results::-webkit-scrollbar-track { background: transparent; }
.nav-search-results::-webkit-scrollbar-thumb {
    background: var(--border); border-radius: 4px;
}

/* Product result items */
.nav-search-item {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px;
    text-decoration: none; color: var(--text-dark);
    border-radius: 12px; margin: 0 4px;
    transition: background 0.25s ease, transform 0.2s ease;
}
.nav-search-item:hover {
    background: var(--bg-warm);
    transform: translateX(4px);
}
.nav-search-item img {
    width: 56px; height: 56px;
    object-fit: cover; border-radius: 12px;
    flex-shrink: 0;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(61, 46, 35, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.nav-search-item:hover img {
    border-color: var(--rose);
    box-shadow: 0 4px 16px rgba(212, 137, 123, 0.15);
}
.nav-search-item-info { flex: 1; min-width: 0; }
.nav-search-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 14px; font-weight: 600; color: var(--text-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.4;
    transition: color 0.2s;
}
.nav-search-item:hover .nav-search-item-name { color: var(--rose-dark); }
.nav-search-item-price {
    font-family: 'Lato', sans-serif;
    font-size: 13px; color: var(--rose); font-weight: 400;
    margin-top: 3px; letter-spacing: 0.02em;
}

/* Empty state */
.nav-search-empty {
    padding: 40px 16px; text-align: center;
    color: var(--text-light);
    font-size: 14px; font-weight: 300; font-style: italic;
}

/* "Alle Ergebnisse" link */
.nav-search-all {
    display: block; text-align: center;
    padding: 16px;
    font-size: 13px; font-weight: 400; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rose-dark); text-decoration: none;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-search-all:hover { background: rgba(212, 137, 123, 0.06); color: var(--rose); }

/* Overlay backdrop */
.nav-search-backdrop {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 46, 35, 0.25);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.nav-search-backdrop.open {
    display: block; opacity: 1;
}

@media (max-width: 768px) {
    .nav-search-box .search-inner { padding: 32px 16px 20px; }
    .nav-search-box input { font-size: 15px; padding: 16px 48px 16px 46px; }
    .nav-search-results { max-height: 50vh; }
    .nav-search-item img { width: 48px; height: 48px; }
}

/* ============================================================
   Scroll-Reveal
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.35s; }

/* ============================================================
   Responsive Global
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-cream);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 24px var(--shadow);
    }
    .nav-toggle:checked ~ .nav-links { display: flex; }
}

@media (max-width: 480px) {
    .page-header h1 { font-size: 1.6rem; }
    .nav-logo img { height: 50px; }
    .site-nav.scrolled .nav-logo img { height: 40px; }
    .nav-logo-text { font-size: 1.3rem; }
    .site-nav.scrolled .nav-logo-text { font-size: 1.1rem; }
}

/* ============================================================
   Legal Pages (Impressum, Datenschutz, AGB, Widerruf, Cookies)
   ============================================================ */
.legal-section {
    padding: 48px 0 64px;
    background: var(--bg-cream);
}
.legal-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}
.legal-container h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.legal-updated {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 32px;
}
.legal-container h2 {
    font-size: 1.25rem;
    margin: 36px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}
.legal-container h3 {
    font-size: 1.05rem;
    margin: 24px 0 8px;
}
.legal-container p {
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.75;
}
.legal-container ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-container ul li {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 4px;
}
.legal-container a {
    color: var(--rose-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-container a:hover {
    color: var(--rose);
}
.legal-container address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.legal-box {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 16px 0 24px;
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--text-dark);
    color: var(--text-white);
    padding: 16px 0;
    box-shadow: 0 -4px 24px rgba(61, 46, 35, 0.15);
}
.cookie-banner-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-banner-inner p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(250, 247, 242, 0.8);
    margin: 0;
}
.cookie-banner-inner a {
    color: var(--rose);
    text-decoration: underline;
}
.cookie-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 0.85rem;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ============================================================
   WhatsApp Floating Button
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 14px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: wa-pulse 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    animation: none;
}
.whatsapp-float svg {
    flex-shrink: 0;
    display: block;
}
.whatsapp-float-label {
    display: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}
.whatsapp-float:hover .whatsapp-float-label {
    display: inline;
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
    50%  { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55), 0 0 0 8px rgba(37, 211, 102, 0.15); }
    100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
}
/* Cookie-Banner sichtbar → Button nach oben schieben */
/* Auf schmalen Geraeten lag der Knopf ueber dem Inhalt: im Shop ueber dem Preis
   der untersten Kachel, auf der Aktionsseite mitten im Text. Kleiner, weiter in die
   Ecke, und unten etwas Luft fuer die Seite. */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 12px;
        right: 12px;
        padding: 10px;
        gap: 0;
    }
    .whatsapp-float-label { display: none; }
    body { padding-bottom: 72px; }
}

body[style*="padding-bottom"] .whatsapp-float {
    bottom: 90px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIERUNG – Stone & Flame
   ═══════════════════════════════════════════════════════════════ */

/* ─── Typografie skalieren ─── */
@media (max-width: 480px) {
    h1 { font-size: 1.6rem !important; }
    h2 { font-size: 1.2rem !important; }
    body { font-size: 14px; }
    .product-title { font-size: 1.4rem !important; }
    .auth-title { font-size: 1.4rem !important; }
}

/* ─── Buttons: volle Breite auf Mobile ─── */
@media (max-width: 480px) {
    .btn-primary-large,
    .btn-secondary-large,
    .btn-submit,
    .btn-add-cart,
    .btn-place-order,
    .btn-checkout {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    .cta-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
}

/* ─── Grid: 1 Spalte auf Mobile ─── */
@media (max-width: 600px) {
    .products-grid      { grid-template-columns: 1fr !important; }
    .similar-grid       { grid-template-columns: 1fr 1fr !important; }
    .values-grid        { grid-template-columns: 1fr !important; }
    .konto-stats        { grid-template-columns: 1fr 1fr !important; }
    .konto-quicklinks   { grid-template-columns: 1fr 1fr !important; }
    .form-grid-2        { grid-template-columns: 1fr !important; }
    .form-grid-3        { grid-template-columns: 1fr !important; }
    .footer-grid        { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
    .similar-grid       { grid-template-columns: 1fr !important; }
    .konto-stats        { grid-template-columns: 1fr !important; }
    .konto-quicklinks   { grid-template-columns: 1fr !important; }
}

/* ─── Abstände verkleinern ─── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    section, .legal-section { padding: 32px 0 !important; }
    .admin-content          { padding: 16px !important; }
    .auth-card,
    .contact-form-card,
    .konto-card             { padding: 24px 16px !important; }
    .checkout-block         { padding: 16px !important; }
}

/* ─── Touch-Targets: mindestens 44x44px (Apple HIG / WCAG) ─── */
@media (max-width: 768px) {
    .btn, .btn-card, .btn-small,
    .filter-pill, .page-btn,
    .konto-link, .sidebar-link,
    .tab-btn, .qty-btn,
    .thumb, a.detail-value {
        min-height: 44px !important;
        min-width: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Tap-Highlight */
    * { -webkit-tap-highlight-color: rgba(232,165,152,0.2); }

    /* Inputs: keine Zoom-Auslösung (font-size mind. 16px) */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    select, textarea {
        font-size: 16px !important;
    }
}

/* ─── Mobil klein (iPhone SE, ältere Geräte) ─── */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    h1 { font-size: 1.4rem !important; }
    .nav-logo-text { font-size: 1.1rem; }
    .legal-box { padding: 14px 16px; }
    .cookie-btn { padding: 10px 16px; font-size: 0.8rem; }
}

/* ============================================================
   Social Proof Toast
   ============================================================ */
.social-proof-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    max-width: 300px;
    background: var(--bg-card);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(61, 46, 35, 0.14), 0 2px 8px rgba(61, 46, 35, 0.06);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    border: 1px solid var(--border);
    pointer-events: auto;
}
.social-proof-toast.visible {
    transform: translateX(0);
    opacity: 1;
}
.social-proof-toast.hiding {
    transform: translateX(-120%);
    opacity: 0;
}
.social-proof-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-warm);
}
.social-proof-body {
    flex: 1;
    min-width: 0;
}
.social-proof-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.45;
    margin: 0;
}
.social-proof-text strong {
    color: var(--text-dark);
    font-weight: 700;
}
.social-proof-time {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--text-light);
    margin-top: 2px;
}
.social-proof-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.2s;
}
.social-proof-close:hover {
    color: var(--text-dark);
}
@media (max-width: 480px) {
    .social-proof-toast {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 12px;
    }
}

/* ============================================================
   Instagram Feed Section
   ============================================================ */
.instagram-feed {
    padding: 80px 0;
    background: var(--bg-cream);
    border-top: 1px solid var(--border);
}
.instagram-feed .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.instagram-feed .section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.instagram-feed .section-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 300;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}
.instagram-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5EFE6 0%, #E8DDD4 100%);
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.instagram-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(61, 46, 35, 0.12);
}
.instagram-tile-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(131, 58, 180, 0.15) 0%,
        rgba(253, 29, 29, 0.12) 50%,
        rgba(252, 176, 69, 0.15) 100%
    );
    transition: background 0.3s ease;
}
.instagram-tile:hover .instagram-tile-inner {
    background: linear-gradient(
        135deg,
        rgba(131, 58, 180, 0.28) 0%,
        rgba(253, 29, 29, 0.22) 50%,
        rgba(252, 176, 69, 0.28) 100%
    );
}
.instagram-tile-icon {
    width: 32px;
    height: 32px;
    color: var(--text-light);
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}
.instagram-tile:hover .instagram-tile-icon {
    opacity: 0.8;
    transform: scale(1.15);
}
.instagram-cta {
    text-align: center;
}
.btn-instagram {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    background-size: 200% 200%;
    transition: transform 0.2s, box-shadow 0.3s, background-position 0.4s;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(131, 58, 180, 0.25);
    background-position: 100% 100%;
}
@media (max-width: 1024px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-feed { padding: 48px 0; }
    .instagram-feed .section-header h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .instagram-grid { gap: 8px; }
}

/* ============================================================
   Workshop Timeline (werkstatt.php)
   ============================================================ */
.workshop-timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 20px 48px;
}
.workshop-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 72px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(to bottom, var(--sand), var(--rose), var(--sage));
    transform: translateX(-50%);
}
.workshop-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
    position: relative;
}
.workshop-step::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--sand);
    border: 3px solid var(--rose-dark);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.workshop-step:nth-child(even) .workshop-step-image { order: 2; }
.workshop-step:nth-child(even) .workshop-step-content { order: 1; text-align: right; }
@media (max-width: 768px) {
    .workshop-timeline::before { left: 20px; }
    .workshop-step {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 48px;
        margin-bottom: 48px;
    }
    .workshop-step::before { left: 20px; top: 0; transform: translate(-50%, 0); }
    .workshop-step:nth-child(even) .workshop-step-image { order: 0; }
    .workshop-step:nth-child(even) .workshop-step-content { order: 0; text-align: left; }
}

/* ============================================================
   Seasonal Pages (aktion.php)
   ============================================================ */
.seasonal-hero {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}
.seasonal-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
}
.seasonal-hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.6;
}
.seasonal-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 1024px) { .seasonal-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .seasonal-product-grid { grid-template-columns: repeat(2, 1fr); }
    .seasonal-hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .seasonal-product-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .seasonal-hero h1 { font-size: 1.6rem; }
}

/* Section header (reusable) */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin-bottom: 8px; }
.section-header p { font-size: 0.95rem; color: var(--text-mid); font-weight: 300; }
.section-cta { text-align: center; margin-top: 32px; }
