/* Sprungleiste für das Smartphone auf den Artikelseiten mit dem Seitenanfang „Galerie“ (HA-03-20). Werte der Designvorlage
   (prototyp/stil/artikel-smartphone.css, „Sprungmenü für das Smartphone“; Bauart .ps-asprung aus theme.css) unverändert; die Regeln sind in die
   Theme-Fläche eingefasst und nennen statt „.ps-artikel--standard“ den Seitenanfang des Shops („.ps-kopfgalerie“). Ab 768 px nicht zu sehen. */
body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung { display: none; }
@media screen and (max-width: 767.98px) {
  body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung:not([hidden]) { display: block; position: fixed; z-index: 30; inset: calc(var(--ps-kopf-ab) + var(--ps-kopf) + .5rem) 0 auto 0; margin: 0; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(-.4rem); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung.is-da { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  body.ps-thema.ps-menue-offen:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung { visibility: hidden; }
  body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; pointer-events: auto; box-sizing: border-box; width: max-content; max-width: calc(100% - 1.5rem); margin-inline: auto; padding: .3rem; border-radius: var(--ps-r-voll); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--ps-schatten-glas); overscroll-behavior-x: contain; }
  body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung .container::-webkit-scrollbar { display: none; }
  body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung a { flex: none; padding: .45rem .95rem; border-radius: var(--ps-r-voll); font-size: .875rem; font-weight: 500; color: var(--ps-tinte); text-decoration: none; white-space: nowrap; background: none; }
  body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung a:hover, body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung a[aria-current] { background: var(--ps-tinte); color: #fff; }
}
/* Sprungziele landen unter Kopfleiste und Leiste (die Vorlage regelt das über den Rollabstand der ganzen Seite; hier nur für die vier Ziele der Leiste) */
@media screen and (max-width: 767.98px) { body.ps-thema:not(#ps-x) :is(#kauf, #artikel-videos, #artikel-downloads, #aehnliche-produkte) { scroll-margin-top: calc(var(--ps-kopf-ab) + var(--ps-kopf) + 4rem); } }
@media screen and (max-width: 767.98px) and (prefers-reduced-motion: reduce) { body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung, body.ps-thema:not(#ps-x) .ps-kopfgalerie > .ps-as-sprung.is-da { transition: none; } }
