/* Steri24 – Produkt-Beschreibung v2 (.s24pp) – ausgelagerte CSS.
   Grund: Gambios CKEditor entfernt <style> aus dem Beschreibungsfeld; <link> bleibt.
   Upload nach /media/css/produkt.css ; im Paste per <link ...?v=...> einbinden.
   Superset (inkl. Premium-Konnektivitaet/SteriTrace, Video, Reviews-Restyle). */

.s24pp-wrap { width:100%; max-width:100%; }
@media (max-width: 767px) { .s24pp-wrap { padding-left: 8px !important; padding-right: 8px !important; } }
#main .s24pp .s24pp-h, .s24pp .s24pp-h { text-align: left !important; }

.s24pp, .s24pp *, .s24pp *::before, .s24pp *::after { box-sizing: border-box; margin: 0; padding: 0; }
.s24pp {
  --red:#A30027; --red-d:#7d001e; --red-t:#fdf2f5; --red-t2:#f9e0e6;
  --green:#1a5c33; --green-t:#f0faf4;
  --ink:#1a1a1a; --ink-s:#404040; --mute:#6b6b6b;
  --line:#e6e6e6; --line-s:#f0f0f0; --bg:#fff; --bg-soft:#f6f6f6;
  --r:16px; --r-s:10px;
  --sh:0 1px 2px rgba(20,20,20,.04), 0 6px 22px rgba(20,20,20,.05);
  --sh-h:0 6px 24px rgba(163,0,39,.10), 0 18px 50px rgba(163,0,39,.14);
  font-family:"Fira Sans",Arial,sans-serif; color:var(--ink-s); line-height:1.65; font-size:15.5px;
  max-width:1100px; margin:0 auto; padding:8px 0 16px; -webkit-font-smoothing:antialiased;
}
.s24pp a { color:var(--red); text-decoration:none; }
.s24pp a:hover { color:var(--red-d); text-decoration:underline; }
.s24pp-h { font-weight:800; letter-spacing:-.015em; color:var(--ink); line-height:1.2; }
.s24pp h2.s24pp-h { font-size:clamp(20px,2.4vw,26px); margin-bottom:14px; }
.s24pp h3.s24pp-h { font-size:18px; margin-bottom:12px; }
.s24pp-sec { margin:26px 0; }

/* USP-Bar */
.s24pp-usps { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:860px){ .s24pp-usps { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .s24pp-usps { grid-template-columns:1fr; } }
.s24pp-usp { display:grid; grid-template-columns:auto 1fr; column-gap:12px; row-gap:9px; align-items:center; background:var(--bg); border:1px solid var(--line); border-radius:var(--r); padding:18px; box-shadow:var(--sh); }
.s24pp-usp__ico { grid-column:1; grid-row:1; flex-shrink:0; width:38px; height:38px; border-radius:10px; background:var(--red-t); display:inline-flex; align-items:center; justify-content:center; }
.s24pp-usp__ico svg { width:19px; height:19px; stroke:var(--red); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.s24pp-usp__t { grid-column:2; grid-row:1; display:block; font-size:15px; font-weight:700; color:var(--ink); line-height:1.2; }
.s24pp-usp__s { grid-column:1 / -1; grid-row:2; display:block; font-size:13px; color:var(--mute); line-height:1.45; }
.s24pp-usp__s a { font-weight:600; }

/* Promo-Badges */
.s24pp .badge-green, .s24pp .badge-red { padding:5px 12px; }

/* Intro */
.s24pp-intro { display:grid; grid-template-columns:1.3fr .7fr; gap:24px; align-items:center; }
@media (max-width:760px){ .s24pp-intro { grid-template-columns:1fr; } }
.s24pp-intro p { color:var(--ink-s); }
.s24pp-intro__media { background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.s24pp-intro__media img { display:block; width:100%; height:auto; }
.s24pp-rating { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--mute); margin-top:12px; }
.s24pp-stars { display:inline-flex; gap:1px; }
.s24pp-rating .s24pp-stars svg { width:15px; height:15px; fill:#f5b301; }

/* Trust-Karten */
.s24pp-trust2 { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:860px){ .s24pp-trust2 { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .s24pp-trust2 { grid-template-columns:1fr; } }
.s24pp-tcard { background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px; box-shadow:var(--sh); }
.s24pp-tcard__ico { width:38px; height:38px; border-radius:10px; background:var(--red-t); display:inline-flex; align-items:center; justify-content:center; margin-bottom:10px; }
.s24pp-tcard__ico svg { width:19px; height:19px; stroke:var(--red); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.s24pp-tcard h3 { font-size:15px; font-weight:700; color:var(--ink); margin-bottom:4px; }
.s24pp-tcard p { font-size:13px; color:var(--mute); line-height:1.45; }

/* Tiles (Specs + Highlights) */
.s24pp-tiles { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:760px){ .s24pp-tiles { grid-template-columns:1fr; } }
.s24pp-tile { background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--r); padding:24px 26px; }
.s24pp-tile ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.s24pp-tile li { position:relative; padding-left:26px; font-size:14.5px; color:var(--ink-s); line-height:1.5; }
.s24pp-tile li::before { content:""; position:absolute; left:0; top:6px; width:16px; height:16px; border-radius:50%; background:var(--red-t);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2 6 5 9 10 3' fill='none' stroke='%23A30027' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size:11px; background-position:center; background-repeat:no-repeat; }
.s24pp-tile li strong { color:var(--ink); font-weight:700; }
.s24pp-tile__sub { font-size:14px; font-weight:700; color:var(--ink); margin:16px 0 8px; }

/* Technische Daten (Tabelle) */
.s24pp-spec table { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.s24pp-spec th, .s24pp-spec td { text-align:left; padding:12px 16px; font-size:14px; border-bottom:1px solid var(--line-s); vertical-align:top; line-height:1.5; }
.s24pp-spec tr:last-child th, .s24pp-spec tr:last-child td { border-bottom:0; }
.s24pp-spec th { width:42%; color:var(--ink); font-weight:700; background:var(--bg-soft); }
.s24pp-spec td { color:var(--ink-s); }
@media (max-width:560px){ .s24pp-spec th { width:48%; } .s24pp-spec th, .s24pp-spec td { padding:10px 12px; font-size:13.5px; } }

/* Video */
.s24pp-video { position:relative; width:100%; padding-bottom:56.25%; background:#000; border-radius:var(--r); overflow:hidden; box-shadow:var(--sh); }
.s24pp-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* Konfigurator-CTA */
.s24pp-config { background:linear-gradient(135deg,var(--red),var(--red-d)); color:#fff; border-radius:var(--r); padding:30px 32px; box-shadow:var(--sh); }
.s24pp-config h3 { color:#fff; font-size:20px; font-weight:800; letter-spacing:-.01em; margin-bottom:8px; }
.s24pp-config p { color:rgba(255,255,255,.9); font-size:15px; margin-bottom:18px; max-width:640px; }
.s24pp-config__btn { display:inline-flex; align-items:center; gap:9px; position:relative; background:#fff; color:var(--red) !important; font-weight:700; font-size:15px; padding:13px 26px; border-radius:999px; text-decoration:none !important; transition:transform .2s, box-shadow .2s; }
.s24pp-config__btn svg { width:16px; height:16px; stroke:var(--red); fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s; }
.s24pp-config__btn:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); color:var(--red) !important; text-decoration:none !important; }
.s24pp-config__btn:hover svg { transform:translateX(3px); }
.s24pp-config__btn:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.s24pp-config__btn::after { content:""; position:absolute; inset:0; border-radius:999px; box-shadow:0 0 0 0 rgba(255,255,255,.5); animation:s24ppPulse 2.4s infinite; pointer-events:none; }
@keyframes s24ppPulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.5);} 70%{box-shadow:0 0 0 12px rgba(255,255,255,0);} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0);} }

/* ── Native Gambio-Kundenrezensionen (#product-ratings) im Steri24-Card-Stil ──
   GLOBALES CSS: Block liegt AUSSERHALB von .s24pp -> feste Farbwerte statt CSS-Variablen.
   Wir restylen nur die vorhandene Liste; die Stern-Mechanik (.gm-star/.rating-stars-mask) bleibt. */
#product-ratings { max-width:1100px; }
#product-ratings .product-review-heading {
  font-family:"Fira Sans",Arial,sans-serif; font-size:clamp(20px,2.4vw,26px); font-weight:800;
  letter-spacing:-.015em; color:#1a1a1a; line-height:1.2; margin:0 0 16px;
}
#product-ratings .list-group {
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
@media (max-width:860px){ #product-ratings .list-group { grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ #product-ratings .list-group { grid-template-columns:1fr; } }
#product-ratings .rating-item.list-group-item {
  background:#fff; border:1px solid #e6e6e6 !important; border-radius:16px !important;
  padding:20px 22px !important; margin:0 !important;
  box-shadow:0 1px 2px rgba(20,20,20,.04), 0 6px 22px rgba(20,20,20,.05);
  display:flex; flex-direction:column; gap:10px;
}
#product-ratings .rating-stars { order:1; margin:0; }
#product-ratings .rating-comment { order:2; }
#product-ratings .rating-comment, #product-ratings .more-text-split, #product-ratings .more-text-full {
  font-size:14px; color:#404040; line-height:1.55;
}
#product-ratings .rating-caption {
  order:3; margin-top:auto; display:flex; gap:6px; flex-wrap:wrap; align-items:baseline;
  font-size:13px; font-weight:700; color:#1a1a1a;
}
#product-ratings .rating-caption > span:last-child { font-weight:500; color:#6b6b6b; font-size:12px; }
/* Sterne gold statt schwarz: .gm-star sind Font-Awesome-Glyphen -> per color einfärbbar.
   GLOBAL (nicht nur Reviews-Box), damit auch die Sterne OBEN (bei Art-Nr/Preis/Titel) gold sind.
   Leere (Hintergrund-)Sterne hellgrau, gefüllte (im Mask-Layer) gold. */
.rating-stars .gm-star { color:#dcdcdc !important; }
.rating-stars-inside .gm-star { color:#f5b301 !important; }

/* FAQ */
.s24pp-faq details { background:#fff; border:1px solid var(--line); border-radius:var(--r); margin-bottom:10px; overflow:hidden; }
.s24pp-faq summary { list-style:none; cursor:pointer; padding:16px 20px; font-size:15px; font-weight:700; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:12px; }
.s24pp-faq summary::-webkit-details-marker { display:none; }
.s24pp-faq summary::after { content:""; flex-shrink:0; width:10px; height:10px; border-right:2px solid var(--red); border-bottom:2px solid var(--red); transform:rotate(45deg); transition:transform .2s; }
.s24pp-faq details[open] summary::after { transform:rotate(-135deg); }
.s24pp-faq summary:focus-visible { outline:3px solid var(--red); outline-offset:-3px; }
.s24pp-faq__a { padding:0 20px 18px; font-size:14px; color:var(--ink-s); line-height:1.6; }

/* Info-Kachel */
.s24pp-info { background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--r); padding:26px 30px; }
.s24pp-info p { margin-bottom:12px; }
.s24pp-info ul { margin:8px 0 12px; padding-left:22px; }
.s24pp-info ul li { margin-bottom:6px; font-size:14.5px; }
.s24pp-info strong { color:var(--ink); }

/* Cross-Sell Links */
.s24pp-cross { display:flex; flex-wrap:wrap; gap:10px; }
.s24pp-cross a { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:9px 16px; font-size:13.5px; font-weight:600; color:var(--ink) !important; box-shadow:var(--sh); transition:border-color .2s, transform .2s, color .2s; }
.s24pp-cross a:hover { border-color:rgba(163,0,39,.35); transform:translateY(-1px); text-decoration:none !important; color:var(--red) !important; }
.s24pp-cross a svg { width:15px; height:15px; stroke:var(--red); fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }

/* Outro */
.s24pp-outro p { color:var(--ink-s); }

/* Motion-Präferenz */
@media (prefers-reduced-motion:reduce) {
  .s24pp *, .s24pp *::before, .s24pp *::after { transition:none !important; animation:none !important; }
  .s24pp-config__btn:hover { transform:none; }
}
/* ── Tab-Wechsel-Sprung-Fix (GLOBAL, außerhalb .s24pp) ──────────────────────
   Problem: Beim Umschalten der Produkt-Tabs (Beschreibung ↔ Dokumente ↔
   Technische Daten ↔ Lieferumfang ↔ Zertifikate) springt der Abstand zwischen
   Produktbild und sichtbarem Text.
   Ursache: Das Theme legt ab ≥992px ein Grid über die Produktansicht
   ("Product Sidebar Right FIX" in malibu-global.css):
     grid-template-areas:"stage details" "description details";
     align-items:start;  + rechte Kaufbox (.product-info-details) sticky,
   die über BEIDE Zeilen spannt. Ist die sticky Kaufbox höher als Bild + (kurzer)
   Tab-Inhalt, verteilt das Grid den Höhen-Überschuss in die OBERE Zeile (stage);
   align-items:start pinnt das Bild oben → wachsender Leerraum zwischen Bild und Text.
   Fix: untere Zeile (description) als 1fr → der Überschuss landet UNTER den Tabs,
   der Abstand Bild↔Text bleibt konstant. (Greift global, da produkt.css per <link>
   im Beschreibungsfeld die ganze Seite erreicht.) */
@media (min-width:992px){
  .product-info-content > .row { grid-template-rows:auto 1fr !important; }
  /* etwas Abstand über den Tabs (sonst kleben sie am Bild/Buy-Box-Raster) */
  .product-info-description .nav-tabs-container.has-multi-tabs { margin-top:20px !important; }
}

/* Premium: Konnektivität + SteriTrace */
.s24pp-conn { display:flex; flex-wrap:wrap; justify-content:center; margin-bottom:16px; }
.s24pp-conn__i { width:16.66%; padding:14px 6px; text-align:center; font-size:12.5px; font-weight:600; color:var(--ink-s); }
@media (max-width:600px){ .s24pp-conn__i { width:33.33%; } }
@media (max-width:400px){ .s24pp-conn__i { width:50%; } }
.s24pp-conn__i img { width:46px; height:46px; object-fit:contain; display:block; margin:0 auto 8px; }
.s24pp-conn__i span { display:block; line-height:1.3; }
.s24pp-steri { background:var(--red-t); border:1px solid var(--red-t2); border-radius:var(--r); padding:20px 24px; }
.s24pp-steri p { font-size:14.5px; color:var(--ink-s); line-height:1.6; }
.s24pp-steri strong { color:var(--ink); }
