/* Neue Produkt-Detailseite (DETAILSEITE-KONZEPT.md) - nur auf /produkte/artikel/<slug> bei aktivem Schalter.
   Uebernommen aus dem freigegebenen Entwurf vorschau/finales Design Detailseite/design.css (Klassen v3-*);
   Entwurfs-Markierungen (SEO-Felder, neue Texte, Feldgrenzen) bleiben ohne Wirkung, weil die
   zugehoerigen body-Klassen hier nie gesetzt werden. */
/* Entwurf "Neues Design 3" (Variante B, verfeinert) - ergaenzt nur, was der Shop
   heute noch nicht hat. Alles andere kommt aus den echten Stylesheets.
   Keine style-Attribute im Markup: die CSP (style-src 'self') blockiert sie. */

:root {
    --v3-teal: #4a8d96;
    --v3-ink: #2c5157;
    --v3-muted: #6b7779;
    --v3-line: rgba(44, 81, 87, 0.14);
    --v3-mark: #b0306a;       /* sichtbarer SEO-Text */
    --v3-mark-tech: #3f5bb5;  /* Technik: Links, Adressen, strukturierte Daten */
    --v3-mark-alt: #b9770e;   /* bisheriges Verhalten des Shops */
    --v3-mark-feld: #2f7d4f;  /* Felder & Platz im Kaufbereich */

    /* Feste Textmasse der Kacheln: daraus ergibt sich die gleiche Hoehe */
    --v3-kachel-titel-lh: 1.2;
    --v3-kachel-text-zeilen: 4;
    --v3-kachel-text-lh: 1.45;
    /* Produktkarten */
    --v3-karte-titel-zeilen: 2;
    --v3-karte-text-zeilen: 2;
}

/* ================= Uebersicht: Kacheln gleich hoch ================= */
.v3-kacheln .nav-link { border: none !important; padding: 0; background: none !important; color: inherit; height: 100%; }
.v3-kacheln .nav-link::after { display: none !important; }
.v3-kacheln .category-card-custom { height: 100%; }
.v3-kacheln .category-img { height: 250px; }
.v3-kachel-body.category-body {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding: 14px 12px 18px !important; min-height: 0; gap: 8px; text-align: center;
}
/* Titel: genau eine Zeile Platz, zu lange Namen werden gekuerzt */
.v3-kachel-body .category-title {
    margin: 0 !important; width: 100%; font-size: 1.45rem;
    -webkit-line-clamp: 1; line-clamp: 1;
    min-height: calc(1.45rem * var(--v3-kachel-titel-lh));
}
/* Beschreibung: fest 4 Zeilen, kuerzere Texte halten den Platz frei */
.v3-kachel-text {
    font-family: 'Montserrat', sans-serif; font-size: 0.8rem; line-height: var(--v3-kachel-text-lh); color: var(--v3-muted);
    margin: 0; width: 100%; text-transform: none; letter-spacing: normal; font-weight: 400;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--v3-kachel-text-zeilen); line-clamp: var(--v3-kachel-text-zeilen);
    overflow: hidden;
    height: calc(0.8rem * var(--v3-kachel-text-lh) * var(--v3-kachel-text-zeilen));
}
.v3-kachel-body .category-info { margin-top: 2px; }

/* ================= Brotkrumen =================
   Groesse (s/m/l), Ausrichtung (links/mitte/rechts) und Position kommen aus
   den Optionen der Werkzeugleiste. Der aktuelle Ort ist dunkler und fett. */
.v3-krumen { margin: 4px 0 28px; }
.v3-krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-family: 'Montserrat', sans-serif; color: #4d6467; }
.v3-krumen li + li::before { content: '›'; margin-right: 8px; opacity: 0.55; font-weight: 400; color: #4d6467; }
.v3-krumen a { color: var(--v3-teal); text-decoration: none; }
.v3-krumen a:hover { text-decoration: underline; }
.v3-krumen .v3-hier { color: var(--v3-ink); font-weight: 700; }
.v3-krumen-s ol { font-size: 0.95rem; }
.v3-krumen-m ol { font-size: 1.1rem; }
.v3-krumen-l ol { font-size: 1.28rem; gap: 10px; }
.v3-krumen-links ol { justify-content: flex-start; }
.v3-krumen-mitte ol { justify-content: center; }
.v3-krumen-rechts ol { justify-content: flex-end; }
.v3-krumen-ort-unterkat { margin: 20px 0 0; }
.v3-krumen-ort-karten { margin: 46px 0 22px; }
.v3-krumen-ort-unten { margin: 34px 0 0; }
.v3-vor-raster { height: 46px; }

/* ================= Kategoriekopf ================= */
.v3-katkopf { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.v3-katkopf-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 25px; border: 8px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); display: block; }
/* Die H1 beginnt auf Hoehe der Bildoberkante (Rahmen eingeschlossen) */
.v3-katkopf h1.page-heading { text-align: left; margin: 0 0 14px; line-height: 1; margin-top: -0.08em; }
.v3-katkopf-text { font-family: 'Montserrat', sans-serif; line-height: 1.7; color: #3b4a4c; font-size: 0.95rem; }
.v3-katkopf-text p { margin: 0 0 10px; }
.v3-unterkat { margin-top: 18px; }
.v3-unterkat-label { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v3-muted); margin: 0 0 8px; }
.v3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-chip {
    border: 1px solid rgba(74, 141, 150, 0.4); background: rgba(255, 255, 255, 0.72); color: var(--v3-ink); border-radius: 999px;
    padding: 8px 16px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; cursor: pointer; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.v3-chip:hover { background: #fff; color: var(--v3-ink); transform: translateY(-1px); }
.v3-chip.v3-an { background: var(--v3-teal); border-color: var(--v3-teal); color: #fff; }

/* ================= Produktkarten gleich hoch =================
   large-card.css setzt heute height: 600px (Bild 75 %, Text 25 %). Im Entwurf
   behaelt das Bild seine Hoehe, der Textbereich bekommt feste Zeilen und die
   Karte waechst mit - so sind alle Karten gleich hoch und nichts wird gequetscht. */
.v3-raster > .col { display: flex; }
.v3-raster .product-card { width: 100%; cursor: pointer; }
.v3-raster .large-card { height: auto !important; }
.v3-raster .card-image-wrapper { min-height: 0; border-radius: 18px; }
@media (min-width: 768px) {
    .v3-raster .card-image-wrapper { height: 100%; aspect-ratio: auto !important; }
    .v3-raster .large-card .card-img-container { height: 450px !important; }
    .v3-raster-klein .large-card .card-img-container { height: 330px !important; }
}
.v3-raster .large-card .card-body {
    height: auto !important; display: flex !important; flex-direction: column !important;
    justify-content: flex-start !important; align-items: stretch !important; gap: 10px !important;
    text-align: left; padding: 14px 22px 22px !important;
}
.v3-raster .large-card .v3-karte-titel.product-title {
    margin: 0 !important; text-align: left !important; justify-content: flex-start !important;
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: var(--v3-karte-titel-zeilen); line-clamp: var(--v3-karte-titel-zeilen); overflow: hidden;
    line-height: 1.2; min-height: calc(1.2em * var(--v3-karte-titel-zeilen)) !important; height: calc(1.2em * var(--v3-karte-titel-zeilen));
}
.v3-karte-titel a { color: inherit; text-decoration: none; }
.v3-karte-text {
    font-family: 'Montserrat', sans-serif; font-size: 0.85rem; line-height: 1.45; color: var(--v3-muted); margin: 0;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--v3-karte-text-zeilen); line-clamp: var(--v3-karte-text-zeilen); overflow: hidden;
    height: calc(0.85rem * 1.45 * var(--v3-karte-text-zeilen));
}
.v3-punkte { display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; height: 20px; overflow: hidden; }
.v3-punkte .color-circle { width: 16px; height: 16px; cursor: default; flex: none; }
.v3-punkte-mehr { font-size: 0.75rem; color: var(--v3-muted); flex: none; }
.v3-karte-fuss { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v3-karte-preis { font-family: 'Montserrat', sans-serif; color: var(--v3-teal); font-size: 1.2rem; font-weight: 500; }
.v3-karte-fuss .btn-custom { min-width: 0; width: auto; padding: 11px 24px !important; }
/* Option "Preis & Farben" aus: Karte wie bisher, mit Kurztext und vollbreitem Button */
.plt-detailseite .v3-punkte, .plt-detailseite .v3-karte-preis { display: none; }
.plt-detailseite .v3-karte-fuss .btn-custom { width: 100%; }


/* ================= Textbausteine ================= */
.v3-textkarte {
    background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 25px;
    padding: 30px 36px; margin: 56px auto 0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    font-family: 'Montserrat', sans-serif; color: #3b4a4c; line-height: 1.7; font-size: 0.95rem;
}
.v3-textkarte h2, .v3-h2 { font-family: 'Raleway', sans-serif; font-weight: 300; color: var(--v3-ink); font-size: 1.7rem; margin: 0 0 12px; text-wrap: balance; }
.v3-textkarte h3 { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--v3-ink); font-size: 1.05rem; margin: 18px 0 6px; }
.v3-textkarte p { margin: 0 0 10px; }
.v3-h2-mitte { text-align: center; margin-bottom: 22px; }
.v3-abschnitt { margin-top: 60px; }
.v3-schmal { max-width: 860px; margin-left: auto; margin-right: auto; }
.v3-ph {
    font-family: 'Montserrat', sans-serif; font-style: normal; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: #8a5068; background: rgba(176, 48, 106, 0.09); border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; white-space: nowrap;
}
.v3-hinweis { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; color: var(--v3-muted); text-align: center; margin-top: 14px; }
.v3-hinweis a { color: var(--v3-teal); }
.v3-link-btn {
    border: 0; background: none; padding: 4px 0; color: var(--v3-teal); cursor: pointer;
    font-family: 'Montserrat', sans-serif; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px;
}
.v3-kurz { position: relative; max-height: 11em; overflow: hidden; }
.v3-kurz::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(rgba(255, 255, 255, 0), rgba(250, 244, 244, 0.95)); }
.v3-kurz.v3-offen { max-height: none; }
.v3-kurz.v3-offen::after { display: none; }

.v3-acc { border-top: 1px solid var(--v3-line); }
.v3-acc:last-of-type { border-bottom: 1px solid var(--v3-line); }
.v3-acc summary {
    list-style: none; cursor: pointer; padding: 15px 4px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
    font-family: 'Raleway', sans-serif; font-weight: 500; color: var(--v3-ink); font-size: 1.05rem;
}
.v3-acc summary::-webkit-details-marker { display: none; }
.v3-acc summary::after { content: '+'; font-family: 'Montserrat', sans-serif; font-size: 1.35rem; color: var(--v3-teal); line-height: 1; }
.v3-acc[open] summary::after { content: '–'; }
.v3-acc-inhalt { padding: 0 4px 16px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; line-height: 1.65; color: #45575a; }

.v3-fakten { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; font-family: 'Montserrat', sans-serif; font-size: 0.92rem; }
.v3-fakten dt { color: #888; font-weight: 400; }
.v3-fakten dd { margin: 0; color: #333; font-variant-numeric: tabular-nums; }

/* ================= Produktseite =================
   Zeile 1: grosses Bild | Kaufbereich (gleich hoch). Zeile 2: Vorschaubilder. */
.v3-pdp { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 44px; row-gap: 14px; align-items: stretch; }
.v3-pdp-bild { grid-column: 1; grid-row: 1; background: #fff; border-radius: 25px; padding: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); position: relative; overflow: hidden; }
.v3-pdp-bild > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; display: block; }
.v3-pdp-bild .lightbox-nav { z-index: 3; }
.v3-pdp-bild .lightbox-dots { bottom: 24px; z-index: 3; }
.v3-kaufbox { grid-column: 2; grid-row: 1; }
.v3-daumen { grid-column: 1; grid-row: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.v3-daumen img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; cursor: pointer; border: 2px solid transparent; background: #fff; }
.v3-daumen img.v3-an { border-color: var(--v3-teal); }
/* Blaettern in der Kategorie: Kreis-Buttons aus product-cards.css, halb ueber dem Rand */
.v3-pdp .product-nav { top: calc(50% - 7px); }
.v3-pdp .product-nav-prev { right: auto; left: -30px; margin: 0; }
.v3-pdp .product-nav-next { left: auto; right: -30px; margin: 0; }
.v3-pdp-mit-daumen .product-nav { top: calc(50% - 53px); }

.v3-kaufbox {
    background: #fff; border-radius: 25px; padding: 40px 46px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex; flex-direction: column; justify-content: flex-start; gap: 22px; font-family: 'Raleway', sans-serif; min-width: 0;
}
.v3-feld-name h1.product-title {
    font-family: 'Raleway', sans-serif; font-weight: 300; color: var(--v3-ink); font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; text-align: left; line-height: 1.15;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.v3-kaufbox-kurz, .v3-kaufbox-zusatz { font-family: 'Montserrat', sans-serif; margin: 0; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.v3-kaufbox-kurz { font-size: 0.95rem; color: var(--v3-muted); -webkit-line-clamp: 3; line-clamp: 3; }
.v3-kaufbox-zusatz { font-size: 0.9rem; color: #45575a; -webkit-line-clamp: 2; line-clamp: 2; }
.v3-feld-leer { display: none; }
.v3-kaufbox .price-tag { font-size: 2.1rem; color: #4a8d96; margin: 0; }
.v3-kaufbox .shipping-hint { margin: 4px 0 0; }
.v3-kaufbox .color-selection { margin: 0 !important; }
.v3-kaufbox .color-selection > .d-flex { justify-content: flex-start !important; margin-left: 0; max-width: 380px; gap: 9px !important; }
.v3-kaufbox .selection-label { font-size: 0.8rem; margin-bottom: 12px; }
.v3-feld-groesse .v3-fakten { border-top: 1px solid #eee; padding-top: 16px; }
.v3-feld-preis { margin-top: auto; }
.v3-kaufzeile { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.v3-kaufzeile .input-group { max-width: 160px; }
.v3-kaufzeile .qty-display { font-size: 1.2rem; }
.v3-kaufzeile .btn-custom { flex: 1; min-width: 200px; }

/* Felder & Platz: jedes Feld zeigt seinen maximalen Platz (Schalter in der Leiste) */
body.v3-felder .v3-feld { position: relative; outline: 2px dotted var(--v3-mark-feld); outline-offset: 5px; border-radius: 4px;
    background-image: repeating-linear-gradient(135deg, rgba(47, 125, 79, 0.07) 0 8px, transparent 8px 16px); }
body.v3-felder .v3-feld::before {
    content: attr(data-feld); position: absolute; right: 0; top: -15px; z-index: 40; background: var(--v3-mark-feld); color: #fff;
    font: 600 10.5px/1.2 'Montserrat', sans-serif; padding: 3px 7px; border-radius: 5px; white-space: nowrap; pointer-events: none;
}
body.v3-felder .v3-feld-leer { display: block; }
body.v3-felder .v3-feld-name { min-height: calc(clamp(1.8rem, 3vw, 2.5rem) * 1.15 * 2); }
body.v3-felder .v3-feld-kurz { min-height: calc(0.95rem * 1.55 * 3); }
body.v3-felder .v3-feld-zusatz { min-height: calc(0.9rem * 1.55 * 2); }
body.v3-felder .v3-feld-farben { min-height: 118px; }

.v3-reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--v3-line); flex-wrap: wrap; margin-bottom: 16px; }
.v3-reiter button {
    border: 0; background: none; padding: 10px 18px; cursor: pointer; font-family: 'Raleway', sans-serif; font-weight: 500;
    color: #5b6e70; border-bottom: 2px solid transparent; font-size: 1rem;
}
.v3-reiter button.v3-an { color: var(--v3-ink); border-bottom-color: var(--v3-teal); }

/* Herkunft der FAQ-Eintraege (nur mit SEO-Markierungen sichtbar) */
.v3-herkunft { display: none; }
body.v3-seo .v3-herkunft { display: inline-block; margin-left: 10px; font: 600 10px/1.2 'Montserrat', sans-serif; padding: 3px 7px; border-radius: 5px; color: #fff; vertical-align: 2px; }
.v3-herkunft-daten { background: var(--v3-mark-tech); }
.v3-herkunft-hand { background: var(--v3-mark); }
.v3-details dd { line-height: 1.5; }
.v3-detail-farben { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.v3-detail-farben .color-circle { width: 20px; height: 20px; cursor: default; }
.v3-detail-farbnamen { font-size: 0.82rem; color: var(--v3-muted); }

/* Herkunft der "Passt dazu"-Karten */
.v3-quelle { display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--v3-teal); }

/* Toasts: Klassen aus product-cards.css; Etikett fuer "bisheriges Verhalten" */
.v3-alt-etikett { display: none; }
body.v3-seo .v3-alt-etikett {
    display: inline-block; margin-left: 8px; background: var(--v3-mark-alt); color: #fff; border-radius: 5px; padding: 3px 7px;
    font: 600 10.5px/1.2 'Montserrat', sans-serif; vertical-align: 1px;
}
#related-products-toast, #mindestbestellwert-toast { z-index: 10040; }

/* ================= Unsichtbare Technik ================= */
.v3-ld { display: none; }
body.v3-seo .v3-ld {
    display: block; margin: 30px auto 0; max-width: 860px; font-family: Consolas, 'Courier New', monospace; font-size: 0.78rem; line-height: 1.5;
    color: var(--v3-mark-tech); background: rgba(63, 91, 181, 0.06); border: 2px dashed var(--v3-mark-tech); border-radius: 12px; padding: 12px 16px;
}

/* ================= SEO-Markierungen ================= */
body.v3-seo [data-seo] { position: relative; outline: 2px dashed var(--v3-mark); outline-offset: 4px; border-radius: 6px; }
body.v3-seo [data-seo-art~="tech"] { outline-color: var(--v3-mark-tech); }
body.v3-seo [data-seo-art~="alt"] { outline-color: var(--v3-mark-alt); }
body.v3-seo [data-seo]::before {
    content: attr(data-seo); position: absolute; left: 8px; top: -13px; z-index: 50;
    font: 600 11px/1.15 'Montserrat', 'Segoe UI', sans-serif; letter-spacing: 0.01em; color: #fff; background: var(--v3-mark);
    padding: 4px 8px; border-radius: 5px; white-space: nowrap; font-style: normal; text-transform: none; text-align: left; pointer-events: none;
}
body.v3-seo [data-seo-art~="tech"]::before { background: var(--v3-mark-tech); }
body.v3-seo [data-seo-art~="alt"]::before { background: var(--v3-mark-alt); }
body.v3-seo [data-seo-art~="innen"]::before { top: 8px; }
body.v3-seo [data-seo-art~="innen"] { outline-offset: -4px; }
body.v3-seo .hero-section [data-seo] { display: inline-block; }
body.v3-seo .hero-section .lead[data-seo] { display: block; }

/* ================= Werkzeugleiste (gehoert nicht zum Design) ================= */
.v3-leiste {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: max(14px, env(safe-area-inset-bottom, 0px)); z-index: 10050;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: calc(100% - 24px);
    background: #1f3a3e; color: #e8f2f1; border-radius: 16px; padding: 10px 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
    font: 500 13px/1.3 'Montserrat', 'Segoe UI', sans-serif;
}
.v3-leiste.v3-zu > :not(.v3-klapp) { display: none; }
.v3-klapp { border: 0; background: rgba(255, 255, 255, 0.1); color: #e8f2f1; border-radius: 8px; min-width: 30px; height: 28px; cursor: pointer; font: inherit; padding: 0 8px; }
.v3-gruppe { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 3px; }
.v3-gruppe button { border: 0; background: none; color: #d5e6e4; padding: 6px 11px; border-radius: 8px; cursor: pointer; font: inherit; }
.v3-gruppe button:hover { background: rgba(255, 255, 255, 0.1); }
.v3-gruppe button.v3-an { background: #4a8d96; color: #fff; }
.v3-leiste label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.v3-leiste input { accent-color: #e05a9a; width: 16px; height: 16px; }
.v3-leiste-url { font-family: Consolas, 'Courier New', monospace; font-size: 12px; color: #9cc8c3; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v3-leiste-btn { border: 1px solid rgba(255, 255, 255, 0.25); background: none; color: #e8f2f1; border-radius: 8px; padding: 6px 11px; cursor: pointer; font: inherit; }
.v3-leiste-btn:hover, .v3-leiste-btn.v3-an { background: rgba(255, 255, 255, 0.12); }
.v3-titel { font-weight: 600; color: #fff; }
.v3-pop {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 10050; width: min(620px, calc(100% - 24px));
    background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}
.v3-pop-kopf { font: 600 11px/1.3 'Montserrat', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7779; margin-bottom: 10px; }
.v3-serp { font-family: Arial, sans-serif; }
.v3-serp-site { font-size: 13px; color: #202124; }
.v3-serp-site small { display: block; color: #4d5156; font-size: 12px; }
.v3-serp-titel { color: #1a0dab; font-size: 19px; line-height: 1.3; margin-top: 4px; }
.v3-serp-text { color: #4d5156; font-size: 14px; line-height: 1.5; }
.v3-serp-rich { color: #4d5156; font-size: 13px; margin-top: 2px; }
.v3-opt { display: grid; gap: 14px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #2c3e40; }
.v3-opt label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.v3-opt input { accent-color: #4a8d96; width: 17px; height: 17px; margin-top: 2px; }
.v3-opt small { display: block; color: #6b7779; font-size: 12px; }
.v3-opt-gruppe { display: grid; gap: 6px; }
.v3-opt-gruppe > span { font-weight: 600; }
.site-footer { padding-bottom: 110px; }

/* ================= Responsiv ================= */
@media (max-width: 991.98px) {
    .v3-katkopf, .v3-pdp { grid-template-columns: 1fr; }
    .v3-kaufbox { grid-column: 1; grid-row: 3; }
    .v3-daumen { grid-row: 2; }
    .v3-leiste-url { display: none; }
}
@media (max-width: 767.98px) {
    .v3-kacheln .category-img { height: clamp(110px, 34vw, 170px); }
    .v3-kachel-body.category-body { padding: 10px 10px 12px !important; }
    .v3-kachel-body .category-title { font-size: 1.1rem; min-height: calc(1.1rem * var(--v3-kachel-titel-lh)); }
    .v3-kachel-text { font-size: 0.75rem; height: calc(0.75rem * var(--v3-kachel-text-lh) * var(--v3-kachel-text-zeilen)); }
    .v3-textkarte { padding: 22px 20px; }
    .v3-kaufbox { padding: 26px 22px; gap: 20px; }
    .v3-raster .large-card .card-body { padding: 10px 14px 16px !important; }
    .v3-karte-fuss { flex-wrap: wrap; }
    .v3-karte-fuss .btn-custom { width: 100%; }
    .v3-krumen ol { font-size: 0.9rem; }
    .v3-leiste { gap: 8px; padding: 8px 10px; font-size: 12px; }
    .v3-gruppe button { padding: 5px 8px; }
    .v3-pop { bottom: 130px; }
}

/* ================= Produktname auf den Karten zentriert ================= */
.v3-raster .large-card .v3-karte-titel.product-title { text-align: center !important; }
.v3-raster .v3-quelle { text-align: center; }

/* ================= Blaettern: Kreis-Buttons mit Abstand neben Bild und Kaufbereich =================
   Die Produktseite bekommt seitlich Platz fuer die Buttons, so liegen sie
   frei neben den weissen Flaechen statt darueber. */
@media (min-width: 992px) {
    .v3-pdp.v3-pdp-blaettern { padding-left: 84px; padding-right: 84px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .v3-pdp.v3-pdp-blaettern { padding-left: 62px; padding-right: 62px; }
}
.v3-pdp .product-nav-prev { left: 0; right: auto; margin: 0; }
.v3-pdp .product-nav-next { right: 0; left: auto; margin: 0; }
.v3-blaettern-handy { display: none; }
.v3-nur-handy { display: none; }
.v3-kaufleiste { display: none; }

/* =====================================================================
   HANDY
   Grundlage: 360 px Breite (kleinste gaengige Android-Geraete) bis 767 px.
   Geprueft auf 360, 390 und 430 px. Ab 576 px (grosse Handys quer, kleine
   Tablets) wird es wieder zweispaltiger, ab 768 px gilt das Tablet-/Desktop-Layout.
   ===================================================================== */
@media (max-width: 767.98px) {
    .v3-nur-handy { display: inline-block; }

    /* Brotkrumen: eine Zeile, waagrecht wischbar, endet am aktuellen Ort */
    .v3-krumen { margin: 0 0 16px; }
    .v3-krumen ol {
        flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; font-size: 0.88rem !important;
        justify-content: flex-start !important; scrollbar-width: none; padding-bottom: 2px;
    }
    .v3-krumen ol::-webkit-scrollbar { display: none; }
    .v3-krumen-ort-karten { margin: 26px 0 14px; }

    /* Kategoriekopf: Bild als flaches Banner, Text darunter gekuerzt */
    .v3-katkopf { gap: 16px; }
    .v3-katkopf-bild { aspect-ratio: 16 / 9; border-width: 5px; border-radius: 20px; }
    .v3-katkopf h1.page-heading { font-size: 2rem; line-height: 1.1; margin: 0 0 10px; }
    .v3-katkopf-text { font-size: 0.9rem; line-height: 1.6; }
    .v3-intro:not(.v3-offen) { max-height: 6.5em; overflow: hidden;
        -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
    /* Unterkategorien: eine wischbare Reihe statt mehrerer Zeilen */
    .v3-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 16px 8px 0; margin-right: -12px; scrollbar-width: none; }
    .v3-chips::-webkit-scrollbar { display: none; }
    .v3-chip { flex: none; white-space: nowrap; scroll-snap-align: start; padding: 9px 16px; }
    .v3-vor-raster { height: 26px; }

    /* Textkarten und Abschnitte enger */
    .v3-textkarte { margin-top: 34px; padding: 20px 18px; border-radius: 20px; }
    .v3-abschnitt { margin-top: 40px; }
    .v3-h2, .v3-textkarte h2 { font-size: 1.45rem; }
    .v3-acc summary { font-size: 0.98rem; padding: 13px 2px; }

    /* Produktseite: Bild, Vorschaubilder, Blaettern, Kaufbereich untereinander */
    .v3-pdp { row-gap: 12px; }
    .v3-pdp-bild { border-radius: 20px; padding: 6px; }
    .v3-pdp-bild > img { border-radius: 16px; }
    .v3-pdp-bild .lightbox-nav { width: 34px; height: 34px; }
    .v3-daumen img { width: 64px; height: 64px; }
    .v3-blaettern-handy {
        display: flex; grid-column: 1; grid-row: 3; align-items: center; justify-content: space-between; gap: 10px;
        font-family: 'Montserrat', sans-serif; font-size: 0.82rem; padding: 4px 2px;
    }
    .v3-blaettern-handy a { color: var(--v3-teal); text-decoration: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .v3-blaettern-handy a span { font-size: 1.1rem; }
    .v3-blaettern-pos { color: var(--v3-muted); font-size: 0.75rem; flex: none; }
    .v3-kaufbox { grid-row: 4; padding: 24px 20px; gap: 18px; border-radius: 20px; }
    .v3-feld-name h1.product-title { font-size: 1.75rem; }
    .v3-kaufbox .price-tag { font-size: 1.8rem; }
    .v3-kaufbox .color-selection > .d-flex { gap: 8px !important; }
    .v3-kaufzeile { gap: 12px; }
    .v3-kaufzeile .btn-custom { min-width: 0; padding: 14px 18px !important; }
    .v3-reiter { flex-wrap: nowrap; }
    .v3-reiter button { flex: 1; padding: 10px 6px; font-size: 0.95rem; }
    .v3-fakten { grid-template-columns: 1fr; gap: 2px; }
    .v3-fakten dd { margin-bottom: 10px; }
    .v3-feld-groesse .v3-fakten { grid-template-columns: auto 1fr; gap: 6px 16px; }
    .v3-feld-groesse .v3-fakten dd { margin-bottom: 0; }

    /* Kaufleiste: haengt unten, sobald der Kaufknopf aus dem Bild gescrollt ist */
    .v3-kaufleiste {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10030; align-items: center; gap: 12px;
        padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
        background: rgba(255, 255, 255, 0.96); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.1); backdrop-filter: blur(6px);
        transform: translateY(110%); transition: transform 0.25s ease;
    }
    .v3-kaufleiste.v3-sichtbar { transform: none; }
    .v3-kaufleiste > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .v3-kaufleiste-name { font-family: 'Raleway', sans-serif; color: var(--v3-ink); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .v3-kaufleiste-preis { font-family: 'Montserrat', sans-serif; color: var(--v3-teal); font-weight: 600; font-size: 1.05rem; }
    .v3-kaufleiste .btn-custom { width: auto; min-width: 0; padding: 12px 18px !important; font-size: 0.92rem; }
    body.v3-kaufleiste-an .v3-leiste { bottom: 84px; }
    body.v3-kaufleiste-an #related-products-toast, body.v3-kaufleiste-an #mindestbestellwert-toast { margin-bottom: 70px; }

    /* "Passt dazu": waagrecht wischbare Reihe statt vier grosser Karten untereinander */
    .v3-raster-klein { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
    .v3-raster-klein::-webkit-scrollbar { display: none; }
    .v3-raster-klein > .col { flex: 0 0 72% !important; max-width: 72% !important; scroll-snap-align: start; }

    /* Werkzeugleiste kompakter */
    .v3-leiste { bottom: 10px; }
    .v3-titel, .v3-leiste-url { display: none; }
}

/* Uebersicht auf dem Handy (Option „Handy: Kategorie-Kacheln“):
   Liste = Bild links, Text rechts - so bleiben auch auf 360 px vier Zeilen Text lesbar */
@media (max-width: 575.98px) {
    body.v3-hk-liste .v3-kacheln { --bs-gutter-y: 0.75rem; }
    body.v3-hk-liste .v3-kacheln > .nav-item { flex: 0 0 100%; max-width: 100%; width: 100%; }
    body.v3-hk-liste .v3-kacheln .category-card-custom { flex-direction: row; height: 136px; border-radius: 20px; }
    body.v3-hk-liste .v3-kacheln .category-img-container { flex: 0 0 116px; padding: 4px; }
    body.v3-hk-liste .v3-kacheln .category-img { height: 100% !important; width: 100%; border-radius: 16px; border-width: 0; }
    body.v3-hk-liste .v3-kachel-body.category-body { align-items: flex-start; justify-content: center; text-align: left; padding: 8px 14px 8px 10px !important; gap: 4px; min-width: 0; }
    body.v3-hk-liste .v3-kachel-body .category-title { text-align: left !important; font-size: 1.2rem !important; min-height: 0; }
    body.v3-hk-liste .v3-kachel-text { text-align: left; font-size: 0.76rem; height: calc(0.76rem * var(--v3-kachel-text-lh) * var(--v3-kachel-text-zeilen)); }
    body.v3-hk-liste .v3-kachel-body .category-info { margin-top: 0; }
    body.v3-hk-liste .v3-kacheln .category-card-custom:hover { transform: none; }

    /* Produktkarten zweispaltig (Option), kompakter Textbereich, ganze Karte tippbar */
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) > .col { flex: 0 0 50%; max-width: 50%; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .large-card { border-radius: 18px !important; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .large-card .card-img-container { padding: 5px !important; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .card-image-wrapper { border-radius: 14px; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .large-card .card-body { padding: 6px 10px 12px !important; gap: 6px !important; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .large-card .v3-karte-titel.product-title { font-size: 0.98rem !important; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .v3-karte-text { display: none; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .v3-punkte { justify-content: center; height: 14px; gap: 4px; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .v3-punkte .color-circle { width: 12px; height: 12px; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .v3-karte-fuss { justify-content: center; padding-top: 2px; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .v3-karte-fuss .btn-custom { display: none; }
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .v3-karte-preis { font-size: 1.02rem; }
    body.v3-handy-2.v3-ohne-preis .v3-raster:not(.v3-raster-klein) .v3-karte-fuss { display: none; }
    body.v3-handy-2 .plt-neu-washi { transform-origin: center; }
}

/* Wischbare Reihen (Unterkategorien, Brotkrumen) duerfen die Spalte nicht aufweiten */
.v3-katkopf > div, .v3-pdp > *, .v3-unterkat { min-width: 0; }
@media (max-width: 991.98px) {
    .v3-katkopf, .v3-pdp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .v3-kaufzeile { flex-wrap: nowrap; }
    .v3-kaufzeile .input-group { max-width: 118px; flex: none; }
    .v3-kaufzeile .btn-custom { white-space: nowrap; padding: 14px 10px !important; letter-spacing: 0.5px; font-size: 0.92rem; }
}

/* Speicherstatus im Optionen-Fenster */
.v3-speicher {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin: -2px 0 14px; padding: 9px 12px;
    border-radius: 10px; font: 500 12.5px/1.45 'Montserrat', sans-serif; background: #eef5f4; color: #2c5157;
}
.v3-speicher code { font-size: 11.5px; background: rgba(255, 255, 255, 0.7); padding: 1px 4px; border-radius: 4px; }
.v3-speicher-browser, .v3-speicher-fehler { background: #fbf1e3; color: #7a4d10; }
.v3-speicher .v3-link-btn { font-size: 12.5px; padding: 0; }

/* Hinweis, wenn die Optionen nicht in die Datei gespeichert werden koennen */
.v3-speicher-fehler-band {
    position: fixed; top: 0; left: 0; right: 0; z-index: 10060; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
    background: #b9770e; color: #fff; text-align: center; font: 600 14px/1.45 'Montserrat', 'Segoe UI', sans-serif; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ================= Neue Texte (Option „Neue Texte“) =================
   Alles, was es auf der heutigen Seite noch nicht gibt, erscheint in einem
   gedeckten Pflaumenton. Ausgeschaltet sieht man die spaetere Originalfarbe. */
:root { --v3-neu-farbe: #94588a; }
body.v3-neu-an .v3-neu:not(.v3-an),
body.v3-neu-an .v3-neu-block,
body.v3-neu-an .v3-neu-block :is(h2, h3, p, summary, span, dt, dd, div, a, li):not(.v3-ph):not(.v3-herkunft):not(.v3-orig) {
    color: var(--v3-neu-farbe) !important;
}
body.v3-neu-an .v3-neu-block .v3-orig { color: #3b4a4c !important; }
body.v3-neu-an .v3-chip.v3-neu:not(.v3-an) { border-color: rgba(148, 88, 138, 0.45); }
body.v3-neu-an .v3-reiter button.v3-neu.v3-an { color: var(--v3-neu-farbe) !important; }
.v3-lead-neu { display: block; margin-top: 10px; font-style: normal; font-size: 0.95rem; }
.v3-neu-muster { color: #e8b3dc; }
.v3-serp-heute { margin: 10px 0 0; font: 12px/1.45 'Montserrat', sans-serif; color: #6b7779; }
.v3-serp .v3-neu { }
/* Originalhinweis unten im Bild: Punkte darueber setzen */
.v3-pdp-bild .lightbox-dots { bottom: 44px; }
.v3-pdp-bild .image-disclaimer { border-radius: 0 0 20px 20px; }

/* Einstellungs-Panel: siehe panel.css (wird auch von handy.html geladen) */
/* Die Fusszeile braucht keinen Platz mehr fuer die alte Leiste */
.site-footer { padding-bottom: 30px; }

/* =====================================================================
   Wischbare Reihen: Hinweis, dass es seitlich weitergeht (ohne Scrollbalken)
   - weicher Verlauf an der Kante, an der noch Inhalt liegt
   - runde Pfeilknoepfe (nur bei Unterkategorien und „Passt dazu“)
   Greift nur, wenn die Reihe wirklich breiter ist als der Platz.
   ===================================================================== */
.v3-wisch { position: relative; min-width: 0; }
.v3-wisch-reihe { scrollbar-width: none; }
.v3-wisch-reihe::-webkit-scrollbar { display: none; }
.v3-wisch.v3-kann-rechts .v3-wisch-reihe {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
}
.v3-wisch.v3-kann-links .v3-wisch-reihe {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 56px);
            mask-image: linear-gradient(to right, transparent, #000 56px);
}
.v3-wisch.v3-kann-links.v3-kann-rechts .v3-wisch-reihe {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
            mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}
.v3-wisch-krumen.v3-kann-links .v3-wisch-reihe {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 28px);
            mask-image: linear-gradient(to right, transparent, #000 28px);
}

.v3-wisch-pfeil {
    position: absolute; top: 50%; z-index: 4; width: 32px; height: 32px; margin-top: -16px; padding: 0;
    border: 0; border-radius: 50%; background: #fff; color: var(--v3-ink); cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16); display: none; align-items: center; justify-content: center;
}
.v3-wisch-pfeil::before {
    content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
}
.v3-wisch-pfeil-rechts { right: -4px; }
.v3-wisch-pfeil-rechts::before { transform: rotate(-45deg); margin-left: -3px; }
.v3-wisch-pfeil-links { left: -4px; }
.v3-wisch-pfeil-links::before { transform: rotate(135deg); margin-left: 3px; }
.v3-wisch-pfeile.v3-kann-rechts .v3-wisch-pfeil-rechts,
.v3-wisch-pfeile.v3-kann-links .v3-wisch-pfeil-links { display: flex; }
.v3-wisch-pfeil:active { transform: scale(0.94); }
/* Bei den Unterkategorien sitzen die Pfeile auf Hoehe der Knoepfe (die Reihe hat unten Luft) */
.v3-wisch-chips .v3-wisch-pfeil { margin-top: -20px; }
/* „Passt dazu“: Pfeile auf Hoehe der Bilder */
.v3-wisch-passt .v3-wisch-pfeil { top: 38%; width: 38px; height: 38px; margin-top: -19px; }
.v3-wisch-passt .v3-wisch-pfeil-rechts { right: 2px; }
.v3-wisch-passt .v3-wisch-pfeil-links { left: 2px; }
@media (max-width: 767.98px) {
    /* der Rand-Ausgleich der Chips-Reihe gehoert jetzt an die Huelle */
    .v3-wisch-chips { margin-right: -12px; }
    .v3-wisch-chips .v3-chips { margin-right: 0; padding-right: 16px; }
}

/* Farbliste in FAQ und Reiter „Details“ (Option: Text, Kreise, beides) */
.v3-farbliste { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 6px; }
.v3-farbe { display: inline-flex; align-items: center; gap: 6px; }
.v3-farbe .color-circle { width: 22px; height: 22px; cursor: default; flex: none; }
.v3-farbliste-kreise { gap: 8px; }
.v3-farbliste-kreise .v3-farbe .color-circle { width: 26px; height: 26px; }
.v3-farbliste-beides .v3-farbe {
    padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(44, 81, 87, 0.12);
}
.v3-farbe-name { font-size: 0.85rem; color: #45575a; }
body.v3-neu-an .v3-neu-block .v3-farbe-name { color: inherit; }

/* Zurueck-Button wie heute (Option „Zurück-Navigation“): products.css blendet
   .back-nav-container standardmaessig aus und laesst sie per JS einblenden */
.back-nav-container.v3-zurueck { display: block; opacity: 1; text-align: center; margin: 4px 0 28px; }
.v3-zurueck + .v3-krumen, .v3-zurueck + .v3-wisch-krumen { margin-top: -8px; }
@media (max-width: 767.98px) { .back-nav-container.v3-zurueck { margin-bottom: 18px; } }

/* Pflege-Reiter: allgemeiner Text aus der FAQ-Seite, darunter der Hinweis je Produkt */
.v3-pflege-allgemein p { margin: 0 0 8px; }
.v3-pflege-zusatz { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid rgba(44, 81, 87, 0.12); }

/* Handy: ohne Blaetter-Zeile folgt der Kaufbereich direkt auf die Vorschaubilder */
@media (max-width: 767.98px) {
    .v3-kaufbox { grid-row: 3; }
}
@media (max-width: 767.98px) {
    .v3-pdp:not(.v3-pdp-mit-daumen) .v3-kaufbox { grid-row: 2; }
}

/* Handy-Kacheln als Zweierraster wie heute (Option „2er“ und „2er + Text“) */
@media (max-width: 575.98px) {
    body.v3-hk-raster .v3-kacheln .category-card-custom:hover,
    body.v3-hk-rastertext .v3-kacheln .category-card-custom:hover { transform: none; }
    body.v3-hk-raster .v3-kachel-body.category-body,
    body.v3-hk-rastertext .v3-kachel-body.category-body { padding: 8px 8px 10px !important; gap: 4px; }
    /* Name: bis zu 2 Zeilen, damit „Wohnaccessoires“ nicht abgeschnitten wird; Platz fuer 2 Zeilen haelt alle gleich hoch */
    body.v3-hk-raster .v3-kachel-body .category-title,
    body.v3-hk-rastertext .v3-kachel-body .category-title {
        font-size: 0.95rem !important; line-height: 1.2; letter-spacing: 0 !important; -webkit-line-clamp: 2; line-clamp: 2;
        min-height: calc(0.95rem * 1.2 * 2); display: -webkit-box !important; word-break: normal; overflow-wrap: normal; hyphens: manual;
    }
    /* wie heute: nur Bild und Name */
    body.v3-hk-raster .v3-kachel-text,
    body.v3-hk-raster .v3-kachel-body .category-info { display: none; }
    /* mit Text: kleiner, fest 4 Zeilen, darunter die Stueckzahl */
    body.v3-hk-rastertext .v3-kachel-text {
        font-size: 0.7rem; line-height: 1.4; text-align: center;
        height: calc(0.7rem * 1.4 * var(--v3-kachel-text-zeilen));
    }
    body.v3-hk-rastertext .v3-kachel-body .category-info { font-size: 0.68rem; margin-top: 0; }
}

/* Raleway 500 kommt seit 2026-10-19 aus css/fonts.css (dort angemeldet). */

/* ===== Produktkarten auf dem Handy =====
   large-card.css gibt dem Bildbereich 4:5, das Bild selbst ist 385:425 - darunter
   blieb ein leerer Streifen (auch auf der heutigen Seite). Hier bestimmt das Bild die
   Hoehe, der Name rueckt direkt darunter und wird groesser, hoechstens zwei Zeilen. */
@media (max-width: 767.98px) {
    .v3-raster .large-card .card-img-container { aspect-ratio: auto !important; height: auto !important; }
    .v3-raster .card-image-wrapper { aspect-ratio: 385 / 425 !important; height: auto; }
    .v3-raster .large-card .card-body { padding-top: 10px !important; }
    .v3-raster .large-card .v3-karte-titel.product-title {
        font-size: 1.4rem !important; font-weight: 500 !important; line-height: 1.2;
        min-height: calc(1.2em * 2) !important; height: auto; max-height: calc(1.2em * 2);
    }
}
@media (max-width: 575.98px) {
    /* zwei Karten nebeneinander: etwas kleiner, damit lange Namen in zwei Zeilen passen */
    body.v3-handy-2 .v3-raster:not(.v3-raster-klein) .large-card .v3-karte-titel.product-title { font-size: 0.95rem !important; letter-spacing: 0 !important; }
}
@media (max-width: 575.98px) {
    /* eine Karte je Zeile: keine reservierte zweite Zeile, der Name sitzt direkt unter dem Bild */
    body:not(.v3-handy-2) .v3-raster:not(.v3-raster-klein) .large-card .v3-karte-titel.product-title { min-height: 0 !important; }
}

/* Reiter „Beschreibung“: Beispiel-SEO-Text mit Individualisierung */
.v3-beschreibung h3 { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--v3-ink); font-size: 1.02rem; margin: 18px 0 8px; }
.v3-wunsch { margin: 0 0 14px; padding-left: 1.1rem; display: grid; gap: 4px; }
.v3-wunsch strong { font-weight: 600; color: var(--v3-ink); }
.v3-wunsch-hinweis {
    border-left: 3px solid var(--v3-teal); background: rgba(74, 141, 150, 0.08); border-radius: 0 12px 12px 0;
    padding: 12px 16px; font-size: 0.9rem; line-height: 1.6;
}
.v3-wunsch-hinweis strong { color: var(--v3-ink); }
.v3-wunsch-hinweis a { color: var(--v3-teal); font-weight: 600; }

/* Groesse & Material stehen mit aktiven Reitern nur im Reiter „Details“: der Kurztext bekommt den frei gewordenen Platz */
.v3-kaufbox-ohne-groesse .v3-kaufbox-kurz { -webkit-line-clamp: 6; line-clamp: 6; }
body.v3-felder .v3-kaufbox-ohne-groesse .v3-feld-kurz { min-height: calc(0.95rem * 1.55 * 6); }

/* Zusatzoption (Buchstabe/Zahl) wie in der heutigen Lightbox */
.v3-kaufbox .option-selection .option-select { max-width: 220px; }
.v3-kaufbox .btn-custom:disabled { opacity: 0.55; cursor: not-allowed; }

/* Warenkorb ohne gewaehlte Zusatzoption: Hinweis an der Auswahl statt gesperrtem Knopf */
.v3-bitte-waehlen .option-select { border-color: #c0577a; box-shadow: 0 0 0 3px rgba(192, 87, 122, 0.18); animation: v3-wackeln 0.45s ease 0.35s; }
.v3-bitte-waehlen .selection-label::after { content: ' Bitte zuerst auswählen'; color: #c0577a; font-weight: 600; }
@keyframes v3-wackeln { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .v3-bitte-waehlen .option-select { animation: none; } }

/* ---------- Finales Design ---------- */
/* Kurztext uebernimmt den Platz des frueheren Zusatztexts: 6 + 2 = 8 Zeilen */
.v3-kaufbox-final .v3-kaufbox-kurz { -webkit-line-clamp: 8; line-clamp: 8; }
.v3-details dd a { color: var(--v3-teal); }
/* Produktauswahl nur zum Durchsehen der Vorschau, gehoert nicht zum Shop */
.v3-wahlleiste {
    position: fixed; left: 16px; bottom: 16px; z-index: 1040; display: flex; align-items: center; gap: 6px;
    background: rgba(31, 58, 62, 0.92); color: #d5e6e4; border-radius: 14px; padding: 6px 10px;
    box-shadow: 0 8px 24px rgba(31, 58, 62, 0.25); font: 500 0.82rem/1.2 'Montserrat', sans-serif;
}
.v3-wahlleiste select, #v3-wahl-ort select {
    max-width: 240px; border: 0; border-radius: 8px; padding: 6px 8px; font: 500 0.85rem/1.2 'Montserrat', sans-serif; color: #2c5157; background: #fff;
}
.v3-wahlleiste button, #v3-wahl-ort button {
    border: 0; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 1.1rem; line-height: 1; background: #4a8d96; color: #fff;
}
.v3-wahlleiste button:hover, #v3-wahl-ort button:hover { background: #3a6f76; }
@media (max-width: 767.98px) { .v3-wahlleiste { display: none; } }
/* Deko-Hinweis: kleines Info-Zeichen unten rechts im Bild, Text erst nach Klick */
.v3-pdp-bild .lightbox-dots { bottom: 22px; }
.v3-info-knopf {
    position: absolute; right: 20px; bottom: 20px; z-index: 4; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.72); color: #4a8d96; backdrop-filter: blur(3px); box-shadow: 0 2px 8px rgba(31, 58, 62, 0.15);
    font: italic 600 0.95rem/28px Georgia, 'Times New Roman', serif; text-align: center; cursor: pointer; opacity: 0.8;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.v3-info-knopf:hover, .v3-info-knopf:focus-visible, .v3-info-offen .v3-info-knopf { opacity: 1; background: #fff; }
.v3-info-knopf:focus-visible { outline: 2px solid #4a8d96; outline-offset: 2px; }
.v3-info-text {
    position: absolute; right: 20px; bottom: 56px; z-index: 4; max-width: min(260px, calc(100% - 40px)); padding: 9px 13px;
    background: rgba(255, 255, 255, 0.95); color: #45575a; border-radius: 12px; box-shadow: 0 6px 20px rgba(31, 58, 62, 0.18);
    font: 0.8rem/1.45 'Montserrat', sans-serif; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.v3-info-text::after { content: ''; position: absolute; right: 9px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: rgba(255, 255, 255, 0.95); }
.v3-info-offen .v3-info-text { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .v3-info-knopf:hover + .v3-info-text { opacity: 1; visibility: visible; transform: none; } }
@media (max-width: 767.98px) {
    .v3-info-knopf { right: 14px; bottom: 14px; }
    .v3-info-text { right: 14px; bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) { .v3-info-knopf, .v3-info-text { transition: none; } }

/* --- Einbau in den Shop-Rahmen --- */
.plt-ds-seite .hero-section { display: none; }
.plt-ds-seite #back-container { display: none !important; }
.plt-detailseite .v3-zurueck { display: block; opacity: 1; }
.plt-detailseite .v3-zurueck .btn-custom { display: inline-flex; align-items: center; text-decoration: none; }
.plt-ds-panel[hidden] { display: none; }
.plt-detailseite .v3-karte-fuss .btn-custom { width: 100%; text-align: center; text-decoration: none; }
.plt-detailseite .v3-karte-titel a { color: inherit; text-decoration: none; }
.plt-detailseite .btn-custom.plt-ds-hinzugefuegt { background-color: #28a745; border-color: #28a745; }
