/* De Autowoscha – aufklappbare Preis-Karten (/preise), 20.10.2026.
   Nachbau der Horizons-Karte (PricePackageCard): Leistungsliste mit Haken + »Jetzt anfragen«. Logik: preis-karten.js */
.pk-kopf { position: relative }
.pk-knopf { all: unset; cursor: pointer; font: inherit; color: inherit; overflow-wrap: break-word; hyphens: manual }
/* ganze Kopffläche klickbar, Fokusrahmen um den Kopf */
.pk-knopf::after { content: ""; position: absolute; inset: 0; border-radius: 1rem 1rem 0 0; z-index: 1 }
/* Muster Klinker Fahrzeugaufbereitung (Emanuel 20.10.2026): sichtbarer Hinweis »Details anzeigen« / »Details schließen« mit Pfeil,
   ganze Kopffläche klickbar, offene Karte mit Akzent-Rand. Der Pfeil oben rechts (Horizons) entfällt, der Hinweis ersetzt ihn. */
[data-pk] .product-container-top-right { display: none }
[data-pk] .pk-kopf .pr-24 { padding-right: 0 }
.pk-hinweis { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; padding: .35rem .8rem; border: 1px solid hsl(var(--accent));
  border-radius: 9999px; background: hsl(var(--accent) / .15); color: hsl(var(--foreground)); font-size: .8rem; font-weight: 700; line-height: 1.2; transition: background-color .2s, color .2s }
.pk-hinweis svg { flex: none; transition: transform .3s ease }
.pk-auf { display: none }
[data-pk].pk-offen .pk-hinweis .pk-zu { display: none }
[data-pk].pk-offen .pk-hinweis .pk-auf { display: inline }
[data-pk].pk-offen .pk-hinweis svg { transform: rotate(180deg) }
.pk-kopf:hover .pk-hinweis, .pk-kopf:has(.pk-knopf:focus-visible) .pk-hinweis { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)) }
.pk-knopf:focus-visible::after { outline: 3px solid hsl(var(--foreground)); outline-offset: -3px }
[data-pk].pk-offen .pk-kopf { border-bottom: 1px solid hsl(var(--border) / .5); background-color: hsl(var(--muted) / .2) }
[data-pk].pk-offen { border-color: hsl(var(--accent)); box-shadow: 0 0 25px hsl(var(--accent) / .3) }

.pk-inhalt { position: relative; z-index: 20; overflow: hidden; background-color: hsl(var(--card)); border-radius: 0 0 1rem 1rem }
.pk-innen { display: flex; flex-direction: column; padding: 1.5rem }
@media (min-width: 640px) { .pk-innen { padding: 1.5rem 2rem 2rem } }
.pk-liste { list-style: none; margin: .5rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 1rem }
.pk-liste li { display: flex; align-items: flex-start; gap: .75rem; color: hsl(var(--foreground)); font-weight: 500; line-height: 1.625 }
.pk-haken { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: .125rem; color: hsl(var(--accent)) }

.pk-cta { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding: 1rem 1.5rem; min-height: 3.5rem;
  border-radius: calc(var(--radius) - 2px); font-size: 1.125rem; font-weight: 700; text-decoration: none; text-align: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); transition: background-color .2s, color .2s, border-color .2s;
  background-color: hsl(var(--background)); color: hsl(var(--accent)); border: 1px solid hsl(var(--border)) }
.pk-cta:hover, .pk-cta--hervor { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)) }
.pk-cta--hervor:hover { background-color: hsl(var(--accent) / .9) }
.pk-cta:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 2px }
@media (prefers-reduced-motion: reduce) { .pk-hinweis svg { transition: none } }

/* Produktbild beim Öffnen (20.10.2026, Emanuel: »so wie bei Klinker … die Keramikflasche … das Trockeneisstrahlgerät«).
   Nachbau der Horizons-Karte: Bild oben rechts dreht aus klein/schräg versetzt herein (opacity 0→1, scale .2→1, Drehung −360°/−720°,
   von 20 px rechts/30 px unten), Dauer je Art .75 s / 2 s, Felgen 1,5 s. Werte am Element: --pk-rot, --pk-dauer, --pk-x, --pk-y. Logik: preis-karten.js */
[data-pk-bild] .product-container-top-right { display: flex }
[data-pk-bild] .product-container-top-right > :not(.pk-bild) { display: none }
[data-pk-bild] .pk-kopf .pr-24 { padding-right: 6rem }
@media (min-width: 640px) { [data-pk-bild] .pk-kopf .pr-24 { padding-right: 7rem } }
.pk-bild { z-index: 1; opacity: 0;
  transform: translate(var(--pk-x, 20px), var(--pk-y, 30px)) scale(.2) rotate(var(--pk-rot, -360deg));
  transition: opacity var(--pk-dauer, .75s) cubic-bezier(0, 0, .58, 1), transform var(--pk-dauer, .75s) cubic-bezier(0, 0, .58, 1) }
.pk-bild.pk-bild-an { opacity: 1; transform: translate(0px, 0px) scale(1) rotate(0deg) }
.pk-bild.pk-bild-weg { transform: translate(var(--pk-x, 20px), var(--pk-y, 30px)) scale(.2) rotate(calc(var(--pk-rot, -360deg) * -1)) }
.pk-bild.pk-bild-ohne { transition: none }
.pk-bild-img { display: block; flex: none; height: auto; max-width: none; filter: drop-shadow(0 25px 25px rgb(0 0 0 / .15)) }
.pk-bild--std { width: 80px } .pk-bild--sitz { width: 36px } .pk-bild--breit { width: 120px; margin-left: -.5rem }
.pk-bild--delle { width: 50px } .pk-bild--cabrio { width: 80px; transform: rotate(12deg); margin: -.5rem 0 0 -.5rem } .pk-bild--felge { width: 184px }
@media (min-width: 640px) {
  .pk-bild--std { width: 112px } .pk-bild--sitz { width: 56px } .pk-bild--breit { width: 135px; margin-left: -1.5rem }
  .pk-bild--delle { width: 60px } .pk-bild--cabrio { width: 100px; margin: -1rem 0 0 -1rem } .pk-bild--felge { width: 236px } }
@media (min-width: 1024px) {
  .pk-bild--std { width: 128px } .pk-bild--sitz { width: 64px } .pk-bild--breit { width: 150px }
  .pk-bild--delle { width: 70px } .pk-bild--cabrio { width: 120px } .pk-bild--felge { width: 262px } }
/* »Bewegung reduzieren«: Bild erscheint ohne Drehen und Fliegen */
@media (prefers-reduced-motion: reduce) {
  .pk-bild, .pk-bild.pk-bild-an, .pk-bild.pk-bild-weg { transform: none; transition: opacity .2s linear } }
/* Felgenbild (PNG mit breitem durchsichtigem Rand) ragt am Handy über den Bildschirmrand → Abschnitt seitlich abschneiden, Felge selbst bleibt ganz sichtbar */
section:has(.pk-bild) { overflow-x: clip }
