/* Neue Produktseiten aller übrigen Geräte (24.10.2026) – Ergänzungen zu produkt3d.css (nur unter .p3--g bzw. eigene Klassen):
   Startbild schmal, Beschriftung der Explosion, Detail-Kacheln, Galerie mit Fotos, Modelle mit Fotos, Foto-Bühne (Geräte ohne CAD). */

/* ---------------------------------------------------------------- Startbild schmal: eigenes Bild aus der schmalen Kamera (<picture>), eigene Lage der Hülle */
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .p3--g .p3-hero .p3-poster { top: calc(clamp(min(calc(var(--ib) + 20px), calc(var(--ib) + 20px + (var(--fh) - var(--hh)) / 2)), calc(var(--t) * var(--sh)), calc(var(--sh) - 74px - var(--hh))) - var(--hh) * var(--p3-py0n, .01));
    height: calc(var(--hh) / var(--p3-phn, .9434)); left: calc(50% - max(0px, var(--p3-prn, .6) * var(--hh) + 44px - 50%)); }
}

/* ---------------------------------------------------------------- Explosion: Legende links/rechts mit Linien zu den Teilen (geraet.js setzt Lage + Linien) */
.p3--g .p3-leads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.p3--g .p3-leads path { fill: none; stroke: #000; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.p3--g .p3-parts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.p3--g .p3-part { position: absolute; left: 0; top: 0; display: grid; gap: .15rem; padding: .55rem .75rem .6rem; border-radius: 12px; background: rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px var(--p3-line), 0 14px 30px -18px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .45s; will-change: transform; }
.p3--g .p3-part.is-on { opacity: 1; }
.p3--g .p3-part b { font-size: .95rem; line-height: 1.2; } .p3--g .p3-part small { font-size: .78rem; line-height: 1.35; color: var(--p3-muted); }
.p3--g .p3-part[data-side="l"] { text-align: right; }
.p3--g .p3-part::after { content: ""; position: absolute; top: calc(min(50%, 18px) - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px #000; }
.p3--g .p3-part[data-side="l"]::after { right: -4px; } .p3--g .p3-part[data-side="r"]::after { left: -4px; }
@media (max-width: 900px) {   /* schmal: Liste unten (2 Spalten), keine Linien */
  .p3--g .p3-parts { inset: auto 5rem 1.25rem var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }   /* rechts: Platz für »nach oben« + Chat */
  .p3--g .p3-part { position: static; transform: none !important; width: auto !important; padding: .4rem .55rem; text-align: left !important; }
  .p3--g .p3-part::after { display: none; } .p3--g .p3-part small { display: none; } .p3--g .p3-part b { font-size: .78rem; }
  .p3--g .p3-leads { display: none; }
}
.p3--g.no3d .p3-parts, .p3--g.no3d .p3-leads { display: none; }
.p3--g .p3-big em { color: var(--p3-em); font-style: normal; }
.p3--g .p3-big.is-on { opacity: var(--p3-fade, 1); }   /* Übergang in die Funktionen: nur die stehende Überschrift blendet aus (geraet.js) */

/* ---------------------------------------------------------------- Funktionen: Spur so lang wie die Zahl der Karten (5 = wie »keeper«) */
.p3--g .p3-track[data-n="4"] { height: 480vh; } .p3--g .p3-track[data-n="6"] { height: 640vh; } .p3--g .p3-track[data-n="7"] { height: 720vh; } .p3--g .p3-track[data-n="8"] { height: 800vh; }

/* ---------------------------------------------------------------- Details: Kacheln (Raster 4 Spalten, Breite/Höhe je Kachel) */
.p3-bento--g { grid-auto-flow: dense; }
.p3-bento--g .p3-t--w2 { grid-column: span 2; } .p3-bento--g .p3-t--w3 { grid-column: span 3; } .p3-bento--g .p3-t--w4 { grid-column: span 4; }
.p3-bento--g .p3-t--h2 { grid-row: span 2; }
.p3-bento--g .p3-t--twin { grid-column: span 2; grid-row: span 2; }
.p3-bento--g .p3-t--photo { min-height: 250px; }
.p3-t__list { display: grid; gap: .55rem; margin-top: .4rem !important; }
.p3-t__list li { display: flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 500; line-height: 1.25; }
.p3-t__list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); flex: none; }
.p3-t__steps { display: grid; gap: .7rem; margin-top: .5rem !important; counter-reset: s; }
.p3-t__steps li { display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: center; font-size: .98rem; font-weight: 500; line-height: 1.3; }
.p3-t__steps i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .85rem; background: #000; color: #fff; }
.p3-t__steps li:last-child i { background: var(--yellow); color: #000; }
.p3-t__seal { width: 74px; height: 74px; border-radius: 50%; margin: .4rem 0; box-shadow: inset 0 0 0 2px #000, inset 0 0 0 7px var(--p3-card), inset 0 0 0 8.5px #000;
  background: radial-gradient(circle at 50% 50%, transparent 0 21px, #000 21px 22.5px, transparent 22.5px); position: relative; }
.p3-t__seal::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 9px; margin: -7px 0 0 -8px; border: solid #000; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.p3-t__big, .p3-t__mid { overflow-wrap: anywhere; }   /* nur noch Notnagel: wortfit.js verkleinert die Schrift, bevor ein Wort bricht */
/* wortfit.js: hier wird nie getrennt – weder an weichen Trennstellen (FR/ES) noch per Wörterbuch (main.css ≤760 px) */
.p3--g .p3-h1, .p3-cmp--g h3, .p3--g .p3-t__mid, .p3--g .p3-t__big, .p3--g .p3-facts li > b { -webkit-hyphens: none; hyphens: none; }
/* sonst (Wörterbuch-Trennung, main.css ≤760 px) nie weniger als 3 Buchstaben vor oder nach dem Trennstrich (Nutzer 2026-11-04: »HE-/RRAMIENTAS«);
   Safari zählt ein Satzzeichen am Wortende mit (»automáticamen-/te.«) -> dort hinten 4 */
.p3--g { hyphenate-limit-chars: 6 3 3; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 4; }
.p3--g .p3-nb { white-space: nowrap; }   /* Normnummern, Daten, Artikelnummern, »zep-R«: nie am Bindestrich umbrechen (produkt3d_geraete.e) */
/* Kennzahlen auf dem Handy (2 Spalten, 1fr 1fr aus produkt3d.css): Spalten nach Inhalt wie live; ist die Reihe zu breit (Seite rutschte bei
   320–390 px seitlich, Prüfung 2026-10-28: zStorage FR, genius EN), verkleinert wortfit.js die Zahlen gemeinsam, bis sie passt. Nur wenn
   das nicht reicht, setzt es .p3-facts--fit: die ungeteilte große Zahl zählt dann nicht zur Mindestbreite ihrer Spalte (Breite 0, mindestens
   100 % – geht auch in Safari < 16, anders als contain: inline-size). Nach dem längsten Wort im Text darunter richten sich die Spalten
   immer: mit minmax(0, 1fr) brach bei 320 px »complémentarité« (idChip FR) bzw. »pomColorCam« mitten im Wort (Prüfung 2026-10-31) */
@media (max-width: 860px) { .p3--g .p3-facts--fit li > b { width: 0; min-width: 100%; } }
.p3-t--big .p3-t__big { white-space: nowrap; }
.p3-t__q { margin: .6rem 0 0 !important; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.p3-t__q::before { content: "“"; display: block; font-size: 3.2rem; line-height: .6; color: var(--yellow); margin-bottom: .2rem; }
.p3-t__who { margin-top: auto; color: var(--p3-muted); font-size: .85rem; }
.p3-t__vs { display: flex; align-items: center; gap: .9rem; margin: .5rem 0 .3rem; flex-wrap: wrap; }
.p3-t__vs span { display: grid; gap: .2rem; }
.p3-t__vs small { font-size: .78rem; color: var(--p3-muted); }
.p3-t__vs b { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.p3-t__vs span:first-child b { color: var(--p3-em); text-decoration: line-through; text-decoration-thickness: 2px; }
.p3-t__vs i { width: 34px; height: 2px; background: #000; position: relative; flex: none; }
.p3-t__vs i::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border: solid #000; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.p3-t__dial { position: relative; width: 140px; height: 140px; margin: .4rem 0; }
.p3-t__dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.p3-t__dial circle { fill: none; stroke: #e2e2e5; stroke-width: 9; }
.p3-t__dial circle.v { stroke: #000; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease-out) .3s; }
.p3-t.is-in .p3-t__dial circle.v { stroke-dasharray: calc(var(--f) * 100) 100; }
.p3-t__dial b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 2rem; letter-spacing: -.03em; line-height: 1; }
.p3-t__dial b small { display: block; font-size: .8rem; color: var(--p3-muted); letter-spacing: 0; margin-top: .2rem; }
.p3-t__dm { width: 104px; height: 104px; display: grid; grid-template-columns: repeat(14, 1fr); background: #fff; padding: 6px; border-radius: 4px; position: relative; overflow: hidden; }
.p3-t__dm i { background: #000; transform: scale(0); transition: transform .3s var(--ease-out); } .p3-t__dm i.o { background: transparent; }
.p3-t.is-in .p3-t__dm i { transform: none; }
.p3-t__dm::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #ff3b2f; box-shadow: 0 0 10px #ff3b2f; animation: p3scan 2.2s var(--ease-in-out) infinite; }
.p3-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1000px) { .p3-bento--g .p3-t--w3, .p3-bento--g .p3-t--w4 { grid-column: span 2; } }
@media (max-width: 640px) { .p3-bento--g .p3-t--w2, .p3-bento--g .p3-t--w3, .p3-bento--g .p3-t--w4, .p3-bento--g .p3-t--twin { grid-column: auto; } .p3-bento--g .p3-t--h2 { grid-row: auto; } }

/* ---------------------------------------------------------------- Galerie: Optionen & Zubehör (mit Foto) */
.p3--g .p3-g--opt { gap: .6rem; }
.p3--g .p3-g--opt .p3-g__n { font-size: .8rem; font-weight: 500; color: var(--p3-muted); font-variant-numeric: tabular-nums; }
.p3--g .p3-g--opt h3 { margin-top: auto !important; }
.p3--g .p3-g--opt p { color: var(--p3-muted); font-size: .95rem; line-height: 1.5; }
.p3--g .p3-g--opt:not(.p3-g--pic)::before { content: ""; display: block; height: 4px; width: 42px; border-radius: 2px; background: var(--yellow); margin-bottom: .4rem; }
.p3--g .p3-g--pic { padding-top: 1rem; }
.p3--g .p3-g--pic h3 { margin-top: .2rem !important; }
.p3-g__img { width: 100%; height: clamp(120px, 20vh, 190px); object-fit: cover; border-radius: 14px; margin-bottom: .4rem; background: #e9eaec; }
.p3--g .p3-gal .p3-more { margin-top: 0; }
@media (max-height: 760px) { .p3-g__img { height: 100px; } .p3--g .p3-g--opt p { font-size: .88rem; } }

/* ---------------------------------------------------------------- Modelle / Ausführungen mit Foto */
.p3-cmp--g.p3-cmp--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .p3-cmp--g.p3-cmp--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p3-cmp--g.p3-cmp--1 { grid-template-columns: minmax(0, 1fr); }
.p3-cmp__img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; margin-bottom: .2rem; }
.p3-cmp__tag { display: inline-block; font-size: .75rem; font-weight: 500; padding: .25rem .6rem; border-radius: 999px; background: var(--yellow); color: #000; }
.p3-cmp--g h3 { margin-top: .6rem !important; }
/* zu schmal für Bezeichnung | Wert nebeneinander (wortfit.js stapeln, die ganze Kartenreihe): untereinander wie auf dem Handy (produkt3d.css) */
.p3-cmp--g.p3-cmp--stack dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; } .p3-cmp--g.p3-cmp--stack dd { margin-bottom: .55rem; }
@media (max-width: 1000px) { .p3-cmp--g.p3-cmp--3, .p3-cmp--g.p3-cmp--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .p3-cmp--g.p3-cmp--3, .p3-cmp--g.p3-cmp--4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Foto-Bühne (Geräte ohne CAD): Kamerafahrt über das freigestellte Foto (foto.js) */
/* Produktporträt – Geräte ohne CAD (tools/produkt3d_geraete.py portrait, foto.js): ohne Scroll-Bühne, echtes Foto, nur Einblenden */
.p3--pf .pf-hero { padding: calc(var(--p3-top) + clamp(1.25rem, 3vw, 3.5rem)) 0 clamp(3rem, 2rem + 4vw, 6rem); background: linear-gradient(#fff 55%, var(--p3-card)); }
.pf-hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; }
.pf-hero__txt { min-width: 0; }
.pf-h1 { font-size: clamp(2.8rem, 1.5rem + 4.6vw, 6rem); white-space: nowrap; }   /* Produktnamen werden kleiner, nie getrennt */
.pf-h1[data-len="l"] { font-size: clamp(2.3rem, 1.1rem + 3.6vw, 4.8rem); } .pf-h1[data-len="xl"] { font-size: clamp(1.9rem, .9rem + 2.9vw, 3.9rem); }
.p3--pf .pf-btns { justify-content: flex-start; }
.pf-hero__pic { aspect-ratio: var(--ar); width: 100%; max-height: min(66vh, 640px); margin-inline: auto; }
.pf-hero__pic img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .1)); }
.pf-say { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem) !important; border-top: 1px solid var(--p3-line); }
.pf-say li { padding: 1.25rem 1.25rem 0 0; font-size: clamp(1rem, .92rem + .3vw, 1.2rem); line-height: 1.35; }
.pf-say li + li { padding-left: 1.25rem; border-left: 1px solid var(--p3-line); }
.pf-say b { display: block; } .pf-say span { color: var(--p3-muted); }
.pf-parts__head, .pf-feat__head { max-width: 48rem; margin-bottom: clamp(2rem, 1.4rem + 2.6vw, 3.75rem); }
.pf-fig { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.pf-fig__pic { position: relative; aspect-ratio: var(--ar); width: 100%; max-height: 74vh; margin-inline: auto; }
.pf-fig__pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pf-dot { position: absolute; transform: translate(-50%, -50%) scale(.6); width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: var(--yellow, #f0dc00); color: #111;
  font: 500 .875rem/1 inherit; cursor: pointer; box-shadow: 0 0 0 6px rgba(240, 220, 0, .3), 0 6px 14px rgba(0, 0, 0, .18); opacity: 0;
  transition: opacity .5s var(--d, 0ms), transform .5s var(--ease-out) var(--d, 0ms), box-shadow .3s; }
.pf-dot i { font-style: normal; }
.pf-fig.is-in .pf-dot { opacity: 1; transform: translate(-50%, -50%); }
.pf-fig.is-in .pf-dot.is-hot { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 0 10px rgba(240, 220, 0, .4), 0 6px 14px rgba(0, 0, 0, .2); transition-delay: 0ms; }
.pf-legend { display: grid; gap: .2rem; }
.pf-legend li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 1rem; row-gap: .15rem; padding: .85rem 1rem; border-radius: 16px; transition: background .25s; outline: none; }
.pf-legend li i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .85rem; font-weight: 500;
  background: #fff; box-shadow: inset 0 0 0 1px var(--p3-line); transition: background .25s; }
.pf-legend b { font-size: 1.1rem; line-height: 1.25; } .pf-legend small { color: var(--p3-muted); font-size: .9rem; line-height: 1.4; }
.pf-legend li.is-hot, .pf-legend li:focus-visible { background: #fff; } .pf-legend li.is-hot i { background: var(--yellow, #f0dc00); box-shadow: none; }
.pf-rows { display: grid; gap: clamp(3rem, 2rem + 5vw, 7rem); }
.pf-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; }
.pf-row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .pf-row:nth-child(even) .pf-row__pic { order: 2; }
.pf-row__pic { border-radius: var(--p3-r); overflow: hidden; background: var(--p3-card); aspect-ratio: 4 / 3; }
.pf-row__pic > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-crop { width: 100%; height: 100%; overflow: hidden; background: #fff; }
.pf-crop img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(var(--z, 1)); transform-origin: var(--fx, 50%) var(--fy, 50%); }
.pf-row__txt .eyebrow { color: var(--p3-muted); } .pf-row__txt .eyebrow i { font-style: normal; color: var(--black); }
.pf-row__txt h3 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; margin: .35em 0 .5em !important; }
.pf-row__txt p { color: var(--p3-muted); font-size: clamp(1rem, .92rem + .3vw, 1.2rem); line-height: 1.55; max-width: 30em; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.pf-grid .p3-g { width: auto; min-height: 260px; background: #fff; }
.p3--pf .pf-gal .p3-more { margin-top: 2rem; }
@media (max-width: 900px) {
  .pf-hero__in, .pf-fig, .pf-row, .pf-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .pf-hero__pic { max-height: 52vh; } .pf-row:nth-child(even) .pf-row__pic { order: 0; }
  .pf-say { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-say li:nth-child(odd) { padding-left: 0; border-left: 0; } .pf-say li { padding-bottom: 1rem; }
}
@media (max-width: 560px) { .pf-say { grid-template-columns: minmax(0, 1fr); } .pf-say li, .pf-say li + li { padding: 1rem 0; border-left: 0; } .pf-say li + li { border-top: 1px solid var(--p3-line); }
  .pf-dot { width: 26px; height: 26px; font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .pf-dot { transition: none; } }
