/* Aufklappfelder im Kaufbereich einfacher Artikel (R-14; Inhaber, 01.12.2026, 10:59 Uhr: „es wird 4. Variante C – ‚Aufklappfelder' wie bei der iControl®“,
   Geltung „alle einfachen Artikel“). Bauvorgabe: konzepte/r14-bauvorgabe-variante-c-design-2026-12-01/BAUVORGABE.md („Design“).
   Eigene Datei von „Restliche Artikelseiten“, geladen von galerie-kopf.html.twig nur auf Seiten mit Auswahl. Geschlossen wird ein Feld allein über die
   Klasse „is-zu“, die nur public/magazin/kopf.js setzt – ohne Skript sind alle Felder offen. Im Druck sind alle Felder offen. */
body.ps-thema:not(#ps-x) .lx-2-karte--klapp .lx-spalten { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
body.ps-thema:not(#ps-x) .lx-feld.lx-feld--klapp { border: 1px solid var(--ps-linie, #dfe3e5); border-radius: var(--ps-r-mittel, 1rem); background: #fff; padding: 0 .8rem .8rem; }
body.ps-thema:not(#ps-x) .lx-feld.lx-feld--klapp > legend { float: left; width: 100%; margin: 0; padding: 0; font-size: .9375rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ps-tinte, #1d2428); }
/* Kopf: ohne Skript die Legende selbst, mit Skript der Knopf darin – dasselbe Raster: Nummer · Name (darunter die Auswahl) · Pfeil */
body.ps-thema:not(#ps-x) .lx-feld--klapp:not(.lx-feld--knopf) > legend,
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-kn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; align-content: center; gap: 0 .8rem; min-height: 3.9rem; padding: .55rem .2rem; }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-kn { width: 100%; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-kn:focus-visible { outline: 2px solid var(--ps-stahl, #6f8794); outline-offset: 2px; border-radius: .5rem; }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-nr { grid-column: 1; grid-row: 1 / span 2; font-size: .75rem; font-weight: 500; letter-spacing: .2em; color: var(--ps-leise, #7b868c); }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-name { grid-column: 2; min-width: 0; overflow-wrap: break-word; }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-wahl { grid-column: 2; min-width: 0; margin-top: .15rem; font-size: .8125rem; font-weight: 400; line-height: 1.4; color: var(--ps-leise, #7b868c); overflow-wrap: break-word; }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-wahl:empty { display: none; }
body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-pfeil { grid-column: 3; grid-row: 1 / span 2; width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--ps-stahl-tief, #5b6a73); transform: rotate(180deg); transition: transform .2s; }
body.ps-thema:not(#ps-x) .lx-feld--klapp.is-zu .lx-klapp-pfeil { transform: none; }
body.ps-thema:not(#ps-x) .lx-feld--klapp > .lx-pillen, body.ps-thema:not(#ps-x) .lx-feld--klapp > .lx-offen { clear: both; }
body.ps-thema:not(#ps-x) .lx-2 .lx-feld--spalte.lx-feld--klapp.lx-feld--bild .lx-pillen { grid-template-columns: repeat(auto-fill, minmax(min(calc(50% - .3rem), 8.5rem), 1fr)); gap: .55rem; }
@media not print {
  body.ps-thema:not(#ps-x) .lx-feld--klapp.is-zu { padding-bottom: 0; }
  /* 7 Klassen: liegt über der Theme-Regel für Bild-Kacheln „.lx-2 .lx-feld--spalte.lx-feld--bild .lx-pillen { display: grid }“ (angleich/_galeriekopf.scss) –
     sonst blieben geschlossene Felder mit Bild-Kacheln sichtbar (am Shop gemessen am 01.12.2026, Whirlpool Everest Life) */
  body.ps-thema:not(#ps-x) .lx-2 .lx-feld.lx-feld--spalte.lx-feld--klapp.is-zu > .lx-pillen, body.ps-thema:not(#ps-x) .lx-2 .lx-feld.lx-feld--spalte.lx-feld--klapp.is-zu > .ps-kmehr { display: none; }
}
@media (min-width: 992px) {
  body.ps-thema:not(#ps-x) .lx-2-karte.lx-2-karte--klapp { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: start; }
  body.ps-thema:not(#ps-x) .lx-2-karte--klapp > .lx-2-bild { grid-column: 1; grid-row: 1; align-self: start; justify-self: stretch; width: 100%; max-width: none; }
  body.ps-thema:not(#ps-x) .lx-2-karte--klapp > .lx-2-wahl { grid-column: 2; grid-row: 1; }
  body.ps-thema:not(#ps-x) .lx-2-karte--klapp > .lx-2-summe { grid-column: 1 / -1; grid-row: 2; }
  body.ps-thema:not(#ps-x) .lx-2 .lx-feld--spalte.lx-feld--klapp.lx-feld--bild .lx-pillen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Lange Listen (mehr als acht Auswahlen, lx-feld--viele) stehen jetzt in der schmaleren rechten Spalte: von 992 bis 1279 px zwei statt drei Spalten,
   und lange Namen brechen um, statt abgeschnitten zu werden (am Shop gemessen am 01.12.2026: Plattenwärmetauscher PWT, 16 Auswahlen bis 80 Zeichen). */
@media (min-width: 992px) and (max-width: 1279.98px) { body.ps-thema:not(#ps-x) .lx-2-karte--klapp .lx-feld--spalte.lx-feld--viele .lx-pillen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.ps-thema:not(#ps-x) .lx-2-karte--klapp .lx-feld--viele .lx-pille > span { min-width: 0; }
body.ps-thema:not(#ps-x) .lx-2-karte--klapp .lx-feld--viele .lx-pille b { min-width: 0; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-pfeil { transition: none; } }
@media print { body.ps-thema:not(#ps-x) .lx-feld--klapp .lx-klapp-pfeil { display: none; } }
