/* banner.css */

.promo-banner,
.promo-slider-wrapper {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.promo-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    align-items: center;
    transition: transform 0.4s ease;
    transform: none; 
    border: 1px solid #ddd; /* dünnerer Rahmen */
}

.promo-image-card {
/*     background: #fff;
 */    
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transform: translateY(30px);
    opacity: 0;
    animation: fade-up 1s ease-out forwards;
}

.promo-image-card img {
    max-width: 180px; /* Bildgröße erhöht */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}


.promo-inner:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.08); /* sanfte Hover-Betonung */
}

.promo-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 50%;
}



.promo-image-card:nth-child(2) {
    animation-delay: 0.2s;
}
.promo-image-card:nth-child(3) {
    animation-delay: 0.4s;
}



.promo-text {
    flex: 1 1 40%;
    min-width: 280px;
    text-align: left;
    animation: fade-in-text 1.2s ease-out both;
}

.promo-text h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #222;
}

.promo-text p {
    font-size: 16px;
    color: #444;
    margin-bottom: 24px;
}

.promo-button {
    display: inline-block;
    padding: 12px 24px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-button:hover {
    background: #333;
    transform: scale(1.05);
}

/* Animationen */
@keyframes fade-up {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-text {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .promo-inner {
        flex-direction: column;
        text-align: center;
    }

    .promo-images {
        justify-content: center;
    }

    .promo-text {
        text-align: center;
    }

    .promo-text h2 {
        font-size: 24px;
    }

    .promo-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}


/* home-products.css */
/* Homepage: native scrollable product rows and one selected hero per visit. */
.c3dl-home { box-sizing:border-box;--c3dl-ink:#292723;--c3dl-muted:#666057;--c3dl-line:#e5ded4;--c3dl-paper:#f8f5f0;--c3dl-rust:#994923;max-width:1320px;width:100%;margin:0 auto;padding:30px 28px 72px;color:var(--c3dl-ink); }
.c3dl-home * { box-sizing:border-box; }
.c3dl-home a { color:inherit; }
.c3dl-home h1,.c3dl-home h2,.c3dl-home h3 { color:var(--c3dl-ink);text-wrap:balance; }
.c3dl-home h2 { margin:0;font-size:clamp(25px,3vw,38px);line-height:1.2; }
.c3dl-home .c3dl-eyebrow { margin:0 0 12px;color:var(--c3dl-rust);font:700 11px/1.5 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase; }
.c3dl-hero { display:grid;grid-template-columns:1.05fr 1fr;gap:36px;align-items:center;background:var(--c3dl-paper);border:1px solid var(--c3dl-line);border-radius:24px;padding:48px;margin-bottom:64px; }
.c3dl-hero h1 { font-size:clamp(34px,4.3vw,58px);line-height:1.07;letter-spacing:-.035em;margin:0 0 24px; }
.c3dl-hero-intro { max-width:490px;font-size:17px;line-height:1.75;color:var(--c3dl-muted);margin:0 0 28px; }
.c3dl-actions { display:flex;align-items:center;flex-wrap:wrap;gap:18px; }
.c3dl-home .c3dl-button { display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;padding:13px 22px;border-radius:8px;background:var(--c3dl-rust);color:#fff;text-decoration:none;font:600 15px/1.5 system-ui,sans-serif; }
.c3dl-home .c3dl-button:hover { background:#783719;color:#fff; }
.c3dl-text-link { font:600 14px/1.5 system-ui,sans-serif;min-height:44px;display:inline-flex;align-items:center;gap:8px;text-decoration:underline;text-underline-offset:5px; }
.c3dl-hero-notes { display:flex;gap:8px 18px;flex-wrap:wrap;margin:26px 0 0;padding:0;list-style:none;font-size:12px;color:var(--c3dl-muted); }
.c3dl-hero-notes li::before { content:'·';margin-right:8px; }
.c3dl-hero-visual { min-width:0; }
.c3dl-hero-product { display:flex;flex-direction:column;text-decoration:none; }
.c3dl-hero-product>img { display:block;width:100%;height:350px;object-fit:contain;border-radius:16px;background:#fff; }
.c3dl-hero-caption { position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 36px 0 4px;font-size:12px;color:var(--c3dl-muted); }
.c3dl-hero-caption strong { color:var(--c3dl-ink);font-size:14px;font-weight:600;line-height:1.5; }
.c3dl-hero-caption>span:last-child { position:absolute;right:2px;top:22px;font-size:24px; }
.c3dl-section-heading { display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px; }
.c3dl-section-heading h2 a { text-decoration:none; }
.c3dl-category-section,.c3dl-product-section { margin-bottom:64px;scroll-margin-top:30px; }
.c3dl-category-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px; }
.c3dl-category-card { min-width:0;position:relative;display:flex;flex-direction:column;border:1px solid var(--c3dl-line);border-radius:12px;overflow:hidden;background:#fff;text-decoration:none; }
.c3dl-category-image { display:flex;align-items:center;justify-content:center;background:var(--c3dl-paper);height:150px;padding:14px; }
.c3dl-category-image img { height:100%;width:100%;object-fit:contain;border-radius:6px; }
.c3dl-category-card>span:nth-child(2) { padding:16px 30px 16px 16px; }
.c3dl-category-card strong { display:block;font-size:16px;margin-bottom:4px; }
.c3dl-category-card small { display:block;font-size:12px;line-height:1.6;color:var(--c3dl-muted); }
.c3dl-card-arrow { position:absolute;right:12px;bottom:22px; }
.c3dl-product-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px; }
.c3dl-product-card { min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--c3dl-line);border-radius:12px;background:#fff; }
.c3dl-product-image-link { display:block;background:var(--c3dl-paper);padding:10px; }
.c3dl-product-card .product-image-gallery { position:relative;aspect-ratio:1;overflow:hidden;touch-action:pan-y; }
.c3dl-product-card .product-frame { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .15s; }
.c3dl-product-card .is-hover { opacity:0;pointer-events:none; }
.c3dl-product-copy { display:flex;flex-direction:column;flex:1;padding:18px; }
.c3dl-product-card h3 { margin:0 0 14px;font-size:15px;line-height:1.55;overflow-wrap:anywhere; }
.c3dl-product-card h3 a { text-decoration:none; }
.c3dl-product-price { margin-top:auto;font-size:16px;font-weight:700; }
.c3dl-product-price .price { margin:0;display:block; }
.c3dl-product-price .wc-gzd-additional-info { color:var(--c3dl-muted);font-size:11px;font-weight:400;line-height:1.5; }
.c3dl-product-detail { display:flex;align-items:center;justify-content:space-between;min-height:44px;margin-top:10px;border-top:1px solid var(--c3dl-line);font:600 12px/1.5 system-ui,sans-serif;text-decoration:none; }
.c3dl-occasion { padding:42px 28px;text-align:center;background:#f5eee3;border:1px solid var(--c3dl-line);border-radius:18px;margin:0 0 64px; }
.c3dl-occasion p:not(.c3dl-eyebrow) { color:var(--c3dl-muted);max-width:580px;margin:18px auto 24px; }
.c3dl-print-service { display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:44px;padding:40px;background:#f4f3ef;border:1px solid var(--c3dl-line);border-radius:18px; }
.c3dl-print-service p:not(.c3dl-eyebrow) { color:var(--c3dl-muted);margin:18px 0 24px;line-height:1.7; }
.c3dl-print-detail { display:flex;flex-direction:column;gap:14px; }
.c3dl-print-detail span { padding:16px;border:1px solid #ded9cf;border-radius:9px;background:#fff;font:500 14px/1.5 system-ui,sans-serif; }
.c3dl-home a:focus-visible { outline:3px solid var(--c3dl-rust);outline-offset:4px; }
@media(max-width:1000px) { .c3dl-hero { padding:30px;gap:24px; }.c3dl-hero-product>img { height:290px; }.c3dl-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.c3dl-product-grid { gap:12px; }.c3dl-product-copy { padding:12px; } }
@media(max-width:768px) { .c3dl-home { padding:18px 16px 40px; }.c3dl-hero { grid-template-columns:1fr;padding:24px;gap:24px;margin-bottom:40px;border-radius:16px; }.c3dl-hero-intro { font-size:15px;line-height:1.7; }.c3dl-hero h1 { font-size:38px;max-width:450px; }.c3dl-hero-product>img { height:250px; }.c3dl-hero-notes { gap:6px 12px;margin-top:20px; }.c3dl-section-heading { align-items:start;flex-direction:column;gap:6px; }.c3dl-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.c3dl-category-section,.c3dl-product-section { margin-bottom:40px; }.c3dl-category-image { height:130px; }.c3dl-category-card>span:nth-child(2) { padding:12px 25px 12px 12px; }.c3dl-category-card strong { font-size:14px; }.c3dl-category-card small { font-size:11px; }.c3dl-occasion { padding:28px 20px;margin-bottom:40px; }.c3dl-print-service { grid-template-columns:1fr;padding:26px;gap:24px; }.c3dl-product-card h3 { font-size:13px; }.c3dl-print-detail { gap:8px; } }
@media(max-width:360px) { .c3dl-home { padding-inline:10px; }.c3dl-hero { padding:20px; }.c3dl-hero h1 { font-size:32px; }.c3dl-product-grid,.c3dl-category-grid { gap:8px; }.c3dl-product-copy { padding:10px; } }
@media(prefers-reduced-motion:reduce) { .c3dl-home .product-frame { transition:none; } }

/* Image optimizers can wrap attachments in <picture>; constrain the wrapper too. */
.c3dl-home .c3dl-category-image { overflow:hidden;flex:0 0 150px;min-height:0; }
.c3dl-home .c3dl-category-image picture { display:block;width:100%;height:100%;min-width:0;min-height:0; }
.c3dl-home .c3dl-category-image img { display:block;width:100%;height:100%!important;max-height:100%;object-fit:contain; }
.c3dl-home .c3dl-hero-product>picture { display:block;width:100%;height:350px;border-radius:16px;overflow:hidden;background:#fff; }
.c3dl-home .c3dl-hero-product>picture>img { display:block;width:100%;height:100%!important;object-fit:contain; }
.c3dl-anchor { scroll-margin-top:24px; }
.c3dl-home .c3dl-occasion { display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px;text-align:left;padding:36px; }
.c3dl-home .c3dl-occasion p:not(.c3dl-eyebrow) { margin:18px 0 24px; }
.c3dl-occasion-images { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.c3dl-occasion-images:empty { display:none; }
.c3dl-occasion:has(.c3dl-occasion-images:empty) { grid-template-columns:1fr;text-align:center; }
.c3dl-occasion:has(.c3dl-occasion-images:empty) p:not(.c3dl-eyebrow) { margin-inline:auto; }
.c3dl-occasion-images a { display:block;overflow:hidden;aspect-ratio:3/4;border-radius:12px;background:#fff; }
.c3dl-occasion-images picture { display:block;height:100%;width:100%; }
.c3dl-home .c3dl-occasion-images img { display:block;width:100%;height:100%!important;object-fit:contain; }
@media(max-width:1000px) { .c3dl-home .c3dl-hero-product>picture { height:290px; } }
@media(max-width:768px) { .c3dl-home .c3dl-category-image { flex-basis:130px; }.c3dl-home .c3dl-hero-product>picture { height:250px; }.c3dl-home .c3dl-occasion { grid-template-columns:1fr;padding:26px 20px;gap:24px; }.c3dl-occasion-images a { aspect-ratio:1; } }
.c3dl-occasion-images:has(a:only-child) { grid-template-columns:1fr;max-width:300px;width:100%;justify-self:center; }
.c3dl-occasion-images:has(a:nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.c3dl-home a.c3dl-button,
.c3dl-home a.c3dl-button:visited,
.c3dl-home a.c3dl-button:focus,
.c3dl-home a.c3dl-button:hover,
.c3dl-home a.c3dl-button:active { color:#fff!important; }

/* Browsing stays manual: swipe, keyboard or arrow buttons; no autoplay. */
.c3dl-home .c3dl-product-row { position:relative;min-width:0; }
.c3dl-home .c3dl-product-rail { display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:3px;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 3px 14px;margin:-3px -3px 0; }
.c3dl-product-rail>.c3dl-product-card { scroll-snap-align:start; }
.c3dl-home .c3dl-product-rail .product-image-gallery { touch-action:auto; }
.c3dl-home .c3dl-product-rail:focus-visible { outline:3px solid var(--c3dl-rust);outline-offset:4px; }
.c3dl-rail-controls { display:flex;justify-content:flex-end;gap:8px;margin:0 0 12px; }
.c3dl-rail-controls[hidden] { display:none; }
.c3dl-home .c3dl-rail-controls button { display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--c3dl-line);border-radius:50%;background:#fff;color:var(--c3dl-ink);font:600 22px/1 system-ui,sans-serif;cursor:pointer; }
.c3dl-home .c3dl-rail-controls button:disabled { opacity:.35;cursor:default; }
.c3dl-home .c3dl-rail-controls button:focus-visible { outline:3px solid var(--c3dl-rust);outline-offset:3px; }
.c3dl-season-intro { margin:14px 0 0;max-width:660px;font-size:16px;line-height:1.65;color:var(--c3dl-muted); }
#c3dl-home-season:not(:empty) { padding:28px 24px 0;margin-bottom:64px;border:1px solid var(--c3dl-line);border-radius:18px;background:#f8f1e7; }
#c3dl-home-season .c3dl-product-section { margin-bottom:28px; }
.c3dl-hero-image { display:block;height:350px;background:#fff;border-radius:16px;overflow:hidden; }
.c3dl-home .c3dl-hero-image picture { display:block;width:100%;height:100%; }
.c3dl-home .c3dl-hero-image img { display:block;width:100%;height:100%!important;object-fit:contain; }
@media(max-width:1000px) { .c3dl-home .c3dl-product-rail { gap:12px;grid-auto-columns:calc((100% - 24px)/3); }.c3dl-hero-image { height:290px; } }
@media(max-width:768px) { .c3dl-home .c3dl-product-rail { grid-auto-columns:70%;scroll-snap-type:x proximity; }.c3dl-hero-image { height:250px; }#c3dl-home-season:not(:empty) { padding:22px 16px 0;margin-bottom:40px; }.c3dl-season-intro { font-size:14px; } }
@media(max-width:360px) { .c3dl-home .c3dl-product-rail { grid-auto-columns:82%; } }

/* 1.7.0: compact category navigation grows with the shop taxonomy. */
.c3dl-home .c3dl-category-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.c3dl-home .c3dl-category-card { flex-direction:row;align-items:center;min-height:104px;padding-right:24px; }
.c3dl-home .c3dl-category-image { flex:0 0 96px;width:96px;height:104px;padding:10px; }
.c3dl-home .c3dl-category-card>span:nth-child(2) { min-width:0;padding:14px 10px;overflow-wrap:anywhere; }
.c3dl-home .c3dl-category-card strong { font-size:15px; }
.c3dl-home .c3dl-card-arrow { bottom:auto;top:50%;transform:translateY(-50%);right:10px; }
@media(max-width:1000px) { .c3dl-home .c3dl-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .c3dl-home .c3dl-category-grid { grid-template-columns:1fr; }.c3dl-home .c3dl-category-card { min-height:84px; }.c3dl-home .c3dl-category-image { flex-basis:84px;width:84px;height:84px; } }

/* 1.7.1: four compact entry tiles; the full assortment lives in product rows. */
.c3dl-home .c3dl-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.c3dl-home .c3dl-category-image { flex-basis:72px;width:72px;height:92px; }
@media(max-width:1100px) { .c3dl-home .c3dl-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .c3dl-home .c3dl-category-grid { grid-template-columns:1fr; } }
