/* UI Components Styling */

/* Product Card */
.oeko-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.oeko-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.oeko-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Ganze Karte klickbar (Stretched Link) – Footer-Links liegen darüber */
.oeko-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.oeko-card-badge {
    pointer-events: none;
    position: absolute;
    top: 15px;
    left: 15px;
    background: #187f01;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.oeko-card-badge.is-sale { background: #df1c2f; }
.oeko-card-badge.is-soldout { background: #777; }
.oeko-card-badge.is-featured { background: #1A1A1A; }

.oeko-card-img {
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
}

.oeko-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.oeko-card:hover .oeko-card-img img {
    transform: scale(1.1);
}

.oeko-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
    line-height: 1.25;
    /* bis zu 3 Zeilen anzeigen, Höhe für alle Karten gleich */
    min-height: calc(1.25em * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oeko-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    position: relative;
    gap: 10px;
}

.oeko-price-label {
    display: block;
    font-size: 12px;
    color: #999;
}

.oeko-price-value {
    font-size: 20px;
    font-weight: 800;
    color: #1A1A1A;
}

.oeko-price-value.is-sale { color: #df1c2f; }

.oeko-price-old {
    margin-left: 4px;
    color: #999;
    text-decoration: line-through;
}

.oeko-price-tax {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    color: #999;
    margin-top: 2px;
    position: relative; /* Anker für den Tooltip; liegt über dem Karten-Link */
    z-index: 2;
}

.oeko-price-sep { opacity: 0.6; }

.oeko-ship-link {
    color: inherit;
    text-decoration: underline;
    position: relative;
    z-index: 2;
}
.oeko-ship-link:hover { color: #df1c2f; }

/* Sternchen + Tooltip zum Nullsteuersatz */
.oeko-vat-tip {
    position: static;
    background: none;
    border: none;
    padding: 0 3px;
    margin: 0;
    font: inherit;
    font-weight: 700;
    color: #df1c2f;
    cursor: pointer;
}
.oeko-vat-pop {
    display: none;
    position: absolute;
    left: 0;
    width: 250px;
    max-width: 80vw;
    bottom: 100%;
    margin-bottom: 8px;
    z-index: 30;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.oeko-vat-tip.is-open .oeko-vat-pop,
.oeko-vat-tip:focus-visible .oeko-vat-pop { display: block; }
@media (hover: hover) {
    .oeko-vat-tip:hover .oeko-vat-pop { display: block; }
}

.oeko-card-btn {
    background: #1A1A1A;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

/* Carousel */
.oeko-carousel {
    position: relative;
    padding: 0 10px;
}

.oeko-carousel-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding: 20px 0;
}

.oeko-carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.oeko-carousel-slide {
    min-width: 300px;
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.oeko-carousel-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.oeko-carousel-nav button:hover {
    background: #ff6565;
    color: #fff;
    border-color: #ff6565;
}

.oeko-nav-prev { left: -22px; }
.oeko-nav-next { right: -22px; }

/* Modal */
.oeko-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.oeko-modal.active { display: flex; }

.oeko-modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.oeko-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

/* Tablet / Mobile Adjustments */
@media (max-width: 768px) {
    .oeko-carousel-slide { min-width: 260px; flex-basis: 260px; }
    .oeko-nav-prev, .oeko-nav-next { display: none; }
    .oeko-modal-content { padding: 25px; }
}


/* =========================================================
   Produktseite (.oeko-pp)
   Farben wie Startseite: #1A1A1A, Koralle #ff6565, Beige #f7f5f0 / #E7E3D9, Grün #187f01, Rot #df1c2f nur für Rabatt
   ========================================================= */
.oeko-pp { background: #f7f5f0 !important; color: #4B4B4B; }
.oeko-pp .pp-wrap { max-width: 1400px; margin: 0 auto; padding: 20px 20px 40px; box-sizing: border-box; }

.oeko-pp .pp-card {
    background: #fff;
    border: 1px solid #E7E3D9;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
}

/* Oberer Bereich */
.oeko-pp .pp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.oeko-pp .pp-gallery-card { position: sticky; top: calc(var(--oeko-header-h, 120px) + 16px); padding: 16px; }
.oeko-pp .custom-product-images { position: relative; width: 100%; max-width: none; flex: none; }
.oeko-pp .custom-product-images img.main-image { height: 460px !important; border: none !important; border-radius: 8px !important; }
.oeko-pp .custom-product-gallery { gap: 8px !important; margin-top: 12px !important; }
.oeko-pp .custom-product-gallery img { width: 68px !important; height: 68px !important; border-color: #E7E3D9 !important; background: #fff; }
.oeko-pp .custom-product-gallery img.active { border-color: #ff6565 !important; }
.oeko-pp .pp-badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: #1A1A1A; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.oeko-pp .pp-badge.is-sale { background: #df1c2f; }

/* Kaufbox */
.oeko-pp .pp-buy { padding: 24px 28px; }
.oeko-pp .custom-product-summary h1,
.oeko-pp .pp-buy h1 { font-size: 26px !important; line-height: 1.25; margin: 0 0 6px !important; color: #1A1A1A; text-transform: none !important; border: none !important; }
.oeko-pp .pp-sku { font-size: 12px; color: #8a8a8a; margin-bottom: 12px; }

.oeko-pp .custom-price.pp-price { display: block; margin: 8px 0 6px !important; font-size: 30px !important; color: #1A1A1A; }
.oeko-pp .pp-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.oeko-pp .pp-price-from { font-size: 14px; font-weight: 600; color: #8a8a8a; }
.oeko-pp .pp-price-now { font-weight: 800; }
.oeko-pp .pp-price del { color: #8a8a8a; font-size: 18px; font-weight: 500; margin: 0; }
.oeko-pp .pp-price ins { color: #df1c2f; text-decoration: none; font-weight: 800; }
.oeko-pp .pp-price-hint { font-size: 16px; font-weight: 600; color: #8a8a8a; }
.oeko-pp .pp-price .oeko-price-tax { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: #6b6b6b; }

.oeko-pp .pp-stock { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; font-size: 14px; font-weight: 700; color: #187f01; }
.oeko-pp .pp-stock.is-onbackorder { color: #9a6700; }
.oeko-pp .pp-stock.is-outofstock { color: #b3261e; }
.oeko-pp .pp-stock-dot { width: 9px; height: 9px; border-radius: 50%; background: #187f01; display: inline-block; }
.oeko-pp .pp-stock-dot.is-warn { background: #d99a00; }
.oeko-pp .pp-stock-dot.is-out { background: #b3261e; }

.oeko-pp .custom-short-description { margin: 0 0 16px; padding: 12px 14px; background: #f7f5f0; border-radius: 8px; font-size: 14.5px; line-height: 1.55; color: #4B4B4B; }
.oeko-pp .custom-short-description p { margin: 0 0 8px; }
.oeko-pp .custom-short-description p:last-child { margin-bottom: 0; }
.oeko-pp .custom-short-description ul { margin: 0 0 0 18px; padding: 0; }

/* Formular: Varianten kompakt, Menge + Button in einer Zeile */
.oeko-pp .external-product-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.oeko-pp .product-variations { flex: 0 0 100%; }
.oeko-pp .variation-attribute { margin-bottom: 14px; }
.oeko-pp .variation-attribute label { font-size: 12px; letter-spacing: .8px; margin-bottom: 8px; color: #6b6b6b; }
.oeko-pp .radio-options { gap: 8px; }
.oeko-pp .radio-option { padding: 9px 16px; border: 1px solid #E7E3D9; border-radius: 8px; font-size: 14px; background: #fff; }
.oeko-pp .radio-option:hover { border-color: #ff6565; }
.oeko-pp .radio-option:has(input:checked) { border-color: #ff6565; background: #fff5f5; color: #1A1A1A; box-shadow: 0 0 0 1px #ff6565 inset; }
.oeko-pp .quantity-selector { flex: 0 0 auto; margin: 0; gap: 0; }
.oeko-pp .quantity-selector label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.oeko-pp .quantity-input-wrapper { height: 54px; border-color: #E7E3D9; }
.oeko-pp .qty-btn { width: 42px; background: #f7f5f0; }
.oeko-pp .qty-input { width: 56px; }
.oeko-pp .product-actions { flex: 1 1 200px; margin: 0; display: flex; }
.oeko-pp .add-to-cart-btn { height: 54px; background: var(--c-cta, #d42a3a) !important; border-radius: 8px; font-size: 16px; box-shadow: none; transition: background .2s; }
.oeko-pp .add-to-cart-btn:hover:not(:disabled) { background: var(--c-cta-hover, #b51f2e) !important; }
.oeko-pp .add-to-cart-btn:disabled { background: #cfcac0 !important; cursor: not-allowed; }
.oeko-pp .form-messages { flex: 0 0 100%; font-size: 14px; }
.oeko-pp .success-message { color: #187f01; font-weight: 600; }
.oeko-pp .error-message { color: #b3261e; font-weight: 600; }

/* Vertrauens-Liste */
.oeko-pp .pp-trust { list-style: none !important; margin: 18px 0 0 !important; padding: 16px 0 0 !important; border-top: 1px solid #E7E3D9; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.oeko-pp .pp-trust li { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.oeko-pp .pp-trust li::before { display: none !important; }
.oeko-pp .pp-trust i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #f7f5f0; color: #ff6565; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.oeko-pp .pp-trust a { color: #1A1A1A; text-decoration: none; font-weight: 600; }
.oeko-pp .pp-trust a:hover { color: #ff6565; }

.oeko-pp .oeko-contact-trigger { margin: 14px 0 0; }
.oeko-pp .oeko-contact-trigger .btn-primary { width: 100%; justify-content: center; background: transparent !important; color: #1A1A1A !important; border: 1px solid #1A1A1A !important; padding: 11px 16px; border-radius: 8px; text-transform: none; font-weight: 700; }
.oeko-pp .oeko-contact-trigger .btn-primary:hover { background: #1A1A1A !important; color: #fff !important; }

/* Abschnitts-Navigation */
.oeko-pp .pp-nav { position: sticky; top: var(--oeko-header-h, 120px); z-index: 50; display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; padding: 10px 0; background: #f7f5f0; }
.oeko-pp .pp-nav a { padding: 8px 16px; border: 1px solid #E7E3D9; border-radius: 999px; background: #fff; color: #1A1A1A; font-size: 14px; font-weight: 600; text-decoration: none; }
.oeko-pp .pp-nav a:hover { border-color: #ff6565; color: #ff6565; }

/* Abschnitte */
.oeko-pp .pp-sections { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.oeko-pp .pp-section { scroll-margin-top: calc(var(--oeko-header-h, 120px) + 64px); }
.oeko-pp .pp-section h2,
.oeko-pp .custom-product-description h2 { margin: 0 0 14px !important; font-size: 20px !important; font-weight: 800; color: #1A1A1A; text-transform: none !important; letter-spacing: 0; border: none !important; }
.oeko-pp .custom-product-description { margin: 0 !important; max-width: none !important; border-top: 1px solid #E7E3D9; padding-top: 24px !important; }
.oeko-pp .custom-product-description p { line-height: 1.65; margin-bottom: 12px; }
.oeko-pp .custom-product-description ul, .oeko-pp .custom-product-description ol { margin-bottom: 14px; line-height: 1.65; }
.oeko-pp .custom-product-description li { margin-bottom: 4px; }
.oeko-pp .custom-product-description h3 { font-size: 17px; margin: 20px 0 8px; }
.oeko-pp .custom-product-description img { border-radius: 8px; margin: 12px 0; }
.oeko-pp .custom-product-description table { margin: 14px 0; font-size: 14.5px; }
.oeko-pp .custom-product-description th, .oeko-pp .custom-product-description td { padding: 9px 12px; border: 1px solid #E7E3D9; }
.oeko-pp .custom-product-description th { background: #f7f5f0; }
.oeko-pp .pp-note { margin-top: 18px; padding: 14px 16px; background: #f7f5f0; border-left: 3px solid #ff6565; border-radius: 6px; font-size: 14px; line-height: 1.55; }
.oeko-pp .pp-muted { margin: 0 0 12px; color: #6b6b6b; font-size: 14.5px; }

.oeko-pp .pp-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.oeko-pp .pp-specs th, .oeko-pp .pp-specs td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #efece4; vertical-align: top; }
.oeko-pp .pp-specs th { width: 36%; font-weight: 700; color: #1A1A1A; background: transparent; border-left: none; border-right: none; border-top: none; }
.oeko-pp .pp-specs tr:nth-child(odd) { background: #fbfaf7; }
.oeko-pp .pp-specs tr:last-child th, .oeko-pp .pp-specs tr:last-child td { border-bottom: none; }

.oeko-pp .pp-downloads { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oeko-pp .pp-downloads li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.oeko-pp .pp-downloads li::before { display: none !important; }
.oeko-pp .pp-downloads a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #E7E3D9; border-radius: 8px; background: #fbfaf7; color: #1A1A1A; text-decoration: none; font-size: 14px; line-height: 1.35; }
.oeko-pp .pp-downloads a:hover { border-color: #ff6565; background: #fff; }
.oeko-pp .pp-downloads i { color: #ff6565; flex: 0 0 auto; }

.oeko-pp .pp-service { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.oeko-pp .pp-service-item { padding: 20px; }
.oeko-pp .pp-service-item > i { width: 38px; height: 38px; border-radius: 50%; background: #f7f5f0; color: #ff6565; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.oeko-pp .pp-service-item h3 { margin: 0 0 6px; font-size: 16px; color: #1A1A1A; }
.oeko-pp .pp-service-item p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.oeko-pp .pp-service-item a { color: #1A1A1A; font-weight: 700; font-size: 14px; }
.oeko-pp .pp-service-item a:hover { color: #ff6565; }

/* Empfehlungen (Startseiten-Karten) */
.oeko-pp .pp-reco { margin-top: 24px; background: #fff; border: 1px solid #E7E3D9; border-radius: 12px; padding: 20px 8px 8px; }
.oeko-pp .pp-reco .oeko-carousel-section { margin: 0; padding: 0 24px; }
.oeko-pp .pp-reco .section-title h2 { margin: 0 0 4px; font-size: 20px !important; font-weight: 800; color: #1A1A1A; text-transform: none !important; border: none !important; }
.oeko-pp .pp-reco .oeko-nav-prev { left: 0; }
.oeko-pp .pp-reco .oeko-nav-next { right: 0; }

/* Mobile Kauf-Leiste (liegt über der unteren App-Leiste) */
.pp-sticky { display: none; }
@media (max-width: 768px) {
    .pp-sticky {
        display: flex; align-items: center; gap: 12px;
        position: fixed; left: 0; right: 0; z-index: 1040;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        padding: 10px 14px; background: #fff; border-top: 1px solid #E7E3D9; box-shadow: 0 -4px 14px rgba(0,0,0,.08);
        transform: translateY(calc(100% + 90px)); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; pointer-events: none;
    }
    .pp-sticky.is-visible { transform: none; visibility: visible; transition: transform .25s ease; pointer-events: auto; }
    .pp-sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .pp-sticky-title { font-size: 12px; color: #6b6b6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pp-sticky-price { font-size: 17px; font-weight: 800; color: #1A1A1A; }
    .pp-sticky-btn { flex: 0 0 auto; height: 44px; padding: 0 18px; border: none; border-radius: 8px; background: var(--c-cta, #d42a3a); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
    .pp-sticky-btn:disabled { background: #cfcac0; }
}

/* Responsiv */
@media (max-width: 900px) {
    .oeko-pp .pp-top { grid-template-columns: 1fr; }
    .oeko-pp .pp-gallery-card { position: static; }
    .oeko-pp .custom-product-images img.main-image { height: 320px !important; }
    .oeko-pp .pp-nav { top: var(--oeko-header-h, 64px); overflow-x: auto; flex-wrap: nowrap; }
    .oeko-pp .pp-nav a { white-space: nowrap; }
    .oeko-pp .pp-section { scroll-margin-top: calc(var(--oeko-header-h, 64px) + 60px); }
}
@media (max-width: 640px) {
    .oeko-pp .pp-wrap { padding: 12px 12px 28px; }
    .oeko-pp .pp-card, .oeko-pp .pp-buy { padding: 16px; }
    .oeko-pp .pp-trust { grid-template-columns: 1fr; }
    .oeko-pp .pp-downloads { grid-template-columns: 1fr; }
    .oeko-pp .pp-reco .oeko-carousel-section { padding: 0 8px; }
    .oeko-pp .custom-price.pp-price { font-size: 26px !important; }
}

/* Kategorieseite */
/* =========================================================
   Konfigurierbares Montageset (Produktseite)
   ========================================================= */
.oeko-pp .set-viewer { background: #f7f5f0; border-radius: 10px; padding: 12px; }
.oeko-pp .set-viewer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.oeko-pp .set-viewer-title { font-weight: 800; color: #1A1A1A; font-size: 15px; }
.oeko-pp .set-viewer-hint { font-size: 12px; color: #8a8a8a; }
.oeko-pp .set-viewer-canvas { display: flex; align-items: center; justify-content: center; min-height: 260px; max-height: 460px; }
.oeko-pp .set-viewer-canvas svg { width: 100%; height: auto; max-height: 460px; display: block; }
.oeko-pp .set-legend { list-style: none !important; margin: 10px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #4B4B4B; }
.oeko-pp .set-legend li { list-style: none !important; margin: 0 !important; display: flex; align-items: center; gap: 6px; }
.oeko-pp .set-legend li::before { display: none !important; }
.oeko-pp .lg { display: inline-block; }
.oeko-pp .lg-rail { width: 22px; height: 6px; border-radius: 3px; background: #d9dde3; border: 1px solid #b8bec6; }
.oeko-pp .lg-hook { width: 11px; height: 11px; border-radius: 50%; background: #ff6565; border: 2px solid #fff; box-shadow: 0 0 0 1px #e6dfd3; }
.oeko-pp .lg-clamp { width: 8px; height: 13px; border-radius: 2px; background: #eef0f2; border: 1.5px solid #555e69; }
.oeko-pp .lg-conn { width: 16px; height: 8px; border-radius: 2px; background: #9aa3ad; }
.oeko-pp .set-photos { margin-top: 12px !important; }

.oeko-pp .set-subtitle { margin: -2px 0 10px; font-size: 16px; font-weight: 700; color: #4B4B4B; }

.oeko-pp .oeko-set-form { display: flex; flex-wrap: wrap; gap: 12px; }
.oeko-pp .set-fields { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oeko-pp .set-field { background: #f7f5f0; border-radius: 10px; padding: 10px 12px; }
.oeko-pp .set-label { display: block; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: #6b6b6b; font-weight: 700; margin-bottom: 8px; }
.oeko-pp .set-stepper { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #E7E3D9; border-radius: 8px; height: 48px; overflow: hidden; }
.oeko-pp .set-step { width: 48px; height: 100%; border: none; background: #fff; font-size: 22px; color: #1A1A1A; cursor: pointer; }
.oeko-pp .set-step:hover:not(:disabled) { background: #fff5f5; color: #ff6565; }
.oeko-pp .set-step:disabled { color: #cfcac0; cursor: not-allowed; }
.oeko-pp .set-stepper output { flex: 1; text-align: center; font-size: 22px; font-weight: 800; color: #1A1A1A; }
.oeko-pp .set-total { flex: 0 0 100%; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 14.5px; }
.oeko-pp .set-total strong { font-size: 17px; color: #1A1A1A; }
.oeko-pp .set-bom-link { color: #1A1A1A; font-weight: 700; font-size: 13.5px; }
.oeko-pp .set-bom-link:hover { color: #ff6565; }
.oeko-pp .oeko-set-form .product-actions { flex: 1 1 100%; }
.oeko-pp .product-actions .add-to-cart-btn { flex: 1; width: 100%; color: #fff; border: none; font-weight: 800; cursor: pointer; }

.oeko-pp .set-bom th { width: 90px; text-align: right; white-space: nowrap; }
.oeko-pp .set-bom-note { margin: 12px 0 0; font-size: 13px; }
@media (max-width: 420px) { .oeko-pp .set-fields { grid-template-columns: 1fr; } }


/* Produktanfrage (Kontakt-Modal) */
.oeko-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.oeko-modal-close { background: none; border: none; line-height: 1; }
.oeko-modal-content { max-height: calc(100vh - 40px); overflow-y: auto; }
.oeko-modal-content h3 { margin: 0 32px 18px 0; font-size: 20px; color: #1A1A1A; }
.oeko-optional { font-weight: 400; color: #8a8a8a; }
.oeko-privacy-note { margin: -6px 0 16px; font-size: 12.5px; line-height: 1.5; color: #6b6b6b; }
.oeko-privacy-note a { color: #1A1A1A; }
.oeko-form-msg { margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.oeko-form-msg.is-ok { background: #eef7ea; color: #187f01; }
.oeko-form-msg.is-error { background: #fdeeee; color: #b3261e; }


/* Montageset: Reiter Ansicht / Montageplan + 3D-Bild */
.oeko-pp .set-tabs { display: inline-flex; background: #fff; border: 1px solid #E7E3D9; border-radius: 999px; padding: 3px; gap: 2px; }
.oeko-pp .set-tab { border: none; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #4B4B4B; cursor: pointer; }
.oeko-pp .set-tab.is-active { background: #1A1A1A; color: #fff; }
.oeko-pp .set-tab[hidden] { display: none; }
.oeko-pp .set-3d-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #dfe9f3 0%, #f3efe6 100%); }
.oeko-pp .set-3d-stage img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .2s; }
.oeko-pp .set-3d-stage.is-loading.has-image img { opacity: .55; }
.oeko-pp .set-3d-loading { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; color: #4B4B4B; pointer-events: none; }
.oeko-pp .set-3d-stage.is-loading .set-3d-loading { display: flex; }
.oeko-pp .set-3d-stage.is-loading.has-image .set-3d-loading { align-items: flex-end; justify-content: flex-end; padding: 10px; }
.oeko-pp .set-3d-stage.is-loading.has-image .set-3d-loading span:last-child { display: none; }
.oeko-pp .set-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(26,26,26,.15); border-top-color: #ff6565; animation: oeko-spin .8s linear infinite; }
@keyframes oeko-spin { to { transform: rotate(360deg); } }
.oeko-pp .set-legend-hint { margin-left: auto !important; color: #8a8a8a; }


/* Montageset v2: Auswahl, 360°, Stückliste mit Links */
.oeko-pp .set-choice { flex: 0 0 100%; border: none; margin: 0; padding: 0; min-width: 0; }
.oeko-pp .set-choice legend { padding: 0; margin-bottom: 8px; }
.oeko-pp .set-choice .radio-options { display: flex; flex-wrap: wrap; gap: 8px; }
.oeko-pp .set-choice-hint { display: block; margin-top: 6px; font-size: 12px; color: #8a8a8a; }
.oeko-pp .set-opt-price { margin-left: 6px; font-size: 12px; font-weight: 600; color: #6b6b6b; }
.oeko-pp .set-360-stage { touch-action: none; }
.oeko-pp .set-360-stage canvas { border-radius: 8px; }
.oeko-pp .set-360-hint { margin: 8px 2px 0; font-size: 12.5px; color: #6b6b6b; }
.oeko-pp .set-link-btn { background: none; border: none; padding: 0; color: #1A1A1A; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 12.5px; }
.oeko-pp .set-link-btn:hover { color: #ff6565; }
.oeko-pp .set-bom td a { color: #1A1A1A; font-weight: 600; text-decoration: underline; text-decoration-color: #E7E3D9; text-underline-offset: 3px; }
.oeko-pp .set-bom td a:hover { color: #ff6565; text-decoration-color: #ff6565; }
.oeko-pp .set-bom-sub { display: block; font-size: 12px; color: #8a8a8a; margin-top: 2px; }
.oeko-pp .set-tab { padding: 6px 12px; }
@media (max-width: 420px) { .oeko-pp .set-tab { padding: 6px 9px; font-size: 12px; } }
.oeko-pp .radio-option { position: relative; }
.oeko-pp .radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.oeko-pp .radio-option:has(input:focus-visible) { outline: 2px solid #1A1A1A; outline-offset: 2px; }


/* =========================================================
   Relaunch 2026-12: Produktkarten-Feinschliff (Grid, 2 Spalten mobil)
   ========================================================= */
.oeko-card { border-color: var(--c-line, #E7E3D9); padding: 16px; border-radius: 12px; }
.oeko-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,26,26,.10); border-color: #d9d3c6; }
.oeko-card-img { height: auto; aspect-ratio: 1 / 1; margin-bottom: 14px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
.oeko-card:hover .oeko-card-img img { transform: scale(1.04); }
.oeko-card-title { font-size: 16px; line-height: 1.3; min-height: calc(1.3em * 3); margin: 0 0 8px; }
.oeko-card-stock { position: relative; padding-left: 14px; font-size: 12.5px; color: #187f01; font-weight: 600; margin-bottom: 10px; }
.oeko-card-stock::before { content: ''; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.oeko-card-stock.is-out { color: #8a8a8a; }
.oeko-card.is-soldout .oeko-card-img img { opacity: .55; }
.oeko-card-footer { align-items: flex-end; padding-top: 12px; }
.oeko-price-label { color: #6b6b6b; }
.oeko-price-value { font-size: 20px; line-height: 1.2; }
.oeko-price-tax { color: #6b6b6b; }
.oeko-card-btn { flex: 0 0 auto; background: var(--c-ink, #1A1A1A); border-radius: 8px; padding: 9px 12px; font-size: 13px; transition: background .2s; white-space: nowrap; }
.oeko-card:hover .oeko-card-btn { background: var(--c-cta, #d42a3a); }
.oeko-card-badge { top: 12px; left: 12px; border-radius: 6px; font-size: 11.5px; letter-spacing: .02em; }
.oeko-card-badge.is-featured { background: #ff6565; color: #1A1A1A; }
.oeko-carousel { padding: 0; }
.oeko-carousel-track { gap: 16px; padding: 6px 2px 14px; }
.oeko-carousel-slide { min-width: 260px; flex: 0 0 260px; }
.oeko-carousel-nav button { width: 40px; height: 40px; font-size: 22px; color: #1A1A1A; }
.oeko-carousel-nav button:hover { background: #1A1A1A; border-color: #1A1A1A; }
.oeko-nav-prev { left: -14px; }
.oeko-nav-next { right: -14px; }

@media (max-width: 640px) {
    .product-grid .oeko-card { padding: 10px; }
    .product-grid .oeko-card-title { font-size: 14px; }
    .product-grid .oeko-card-footer { flex-direction: column; align-items: stretch; gap: 8px; }
    .product-grid .oeko-card-btn { text-align: center; padding: 8px; font-size: 12.5px; }
    .product-grid .oeko-price-value { font-size: 17px; }
    .product-grid .oeko-card-badge { top: 8px; left: 8px; font-size: 10.5px; padding: 3px 7px; }
    .oeko-carousel-slide { min-width: 72%; flex-basis: 72%; }
}

/* =========================================================
   Vorteile-Karten (Markup aus dem Produkt-Beschreibungstext)
   <div class="vorteile"><div class="ueberschrift">…</div>
   <ol><li><h3>…</h3><img …><p>…</p></li>…</ol></div>
   Karten ohne Bild bekommen eine Farbfläche mit großer Nummer.
   ========================================================= */
.vorteile { margin: 28px 0 8px; }
.vorteile .ueberschrift { margin: 0 0 16px; font-size: clamp(19px, 2vw, 22px); font-weight: 800; line-height: 1.25; color: #1A1A1A; }
.oeko-pp .custom-product-description .vorteile ol,
.vorteile ol {
    counter-reset: vorteil;
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px;
}
.oeko-pp .custom-product-description .vorteile li,
.vorteile li {
    counter-increment: vorteil;
    position: relative; margin: 0; padding: 0 18px 18px;
    display: flex; flex-direction: column;
    background: #f7f5f0; border: 1px solid #E7E3D9; border-radius: 12px; overflow: hidden;
    line-height: 1.55; transition: box-shadow .2s ease, transform .2s ease;
}
.vorteile li:hover { box-shadow: 0 12px 30px rgba(26, 26, 26, .10); transform: translateY(-2px); }
/* Nummer als Badge oben links */
.vorteile li::before {
    content: counter(vorteil, decimal-leading-zero);
    position: absolute; top: 12px; left: 12px; z-index: 1;
    min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #d42a3a; font-size: 13px; font-weight: 800; letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(26, 26, 26, .12);
}
/* Bild randlos oben (das Bild steht im Markup nach der Überschrift) */
.vorteile li > p:has(> img), .vorteile li > img { order: -1; }
.vorteile li > p:has(> img) { margin: 0 -18px 16px !important; }
.oeko-pp .custom-product-description .vorteile li img,
.vorteile li img {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
    margin: 0; border-radius: 0; background: #fff;
}
.vorteile li > img { width: calc(100% + 36px); max-width: none; margin: 0 -18px 16px; }
.oeko-pp .custom-product-description .vorteile h3,
.vorteile h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: #1A1A1A; hyphens: manual; }
/* Wenn kein Bild vorhanden ist (oder :has nicht unterstützt wird): Abstand oben für das Badge */
.vorteile li > h3:first-child { padding-top: 58px; }
.vorteile li:has(img) > h3:first-child { padding-top: 0; }
.oeko-pp .custom-product-description .vorteile li p,
.vorteile li p { margin: 0; font-size: 14.5px; color: #4B4B4B; }
.vorteile li p:empty { display: none; }
/* Karte ohne Bild: Farbfläche im Bildformat mit großer Nummer */
.vorteile li:not(:has(img))::before {
    position: static; display: flex; align-self: stretch;
    margin: 0 -18px 16px; height: auto; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none;
    background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .18) 0 28%, transparent 28.5%),
                linear-gradient(135deg, #ff6565 0%, #d42a3a 100%);
    color: #fff; font-size: clamp(44px, 5vw, 64px); letter-spacing: 0;
}
.vorteile li:not(:has(img)) > h3:first-child { padding-top: 0; }
@media (max-width: 600px) {
    /* Mobil: waagerecht wischbar, nächste Karte schaut an */
    .oeko-pp .custom-product-description .vorteile ol,
    .vorteile ol {
        display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: thin;
    }
    .oeko-pp .custom-product-description .vorteile li,
    .vorteile li { flex: 0 0 78%; scroll-snap-align: start; }
    .vorteile li:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .vorteile li { transition: none; } .vorteile li:hover { transform: none; } }
