/*
 * Atmosphaere: Graustufen-Gluehen, Raster, Rauschen — alles CSS und ein SVG in
 * der Daten-URI, keine Bilddatei. (Das Theme-CLI liest jede Datei als UTF-8,
 * ein Push einer PNG/JPG waere danach kaputt: lib/sync-single-file.js:50.)
 * Scroll-Reveal liegt in reveal.js, die Klassen sind hier.
 */

/* Grundflaeche: zwei weiche Lichtkegel ueber fast schwarz, dazu ein feines
   Raster. Alles fest (fixed), damit beim Scrollen Ruhe bleibt. */
body {
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(255, 255, 255, 0.055), transparent 62%),
    radial-gradient(900px 520px at 88% 4%, rgba(255, 255, 255, 0.035), transparent 60%),
    radial-gradient(700px 700px at 50% 110%, rgba(255, 255, 255, 0.03), transparent 65%),
    #0a0a0b !important;
  background-attachment: fixed !important;
}

/* Kein Raster und kein Kornoise mehr ueber der ganzen Seite: der Owner nannte
   die Vierecke im Hintergrund unruhig. Die weichen Lichtfelder oben bleiben,
   die sind ohne Kanten. */
body::after {
  content: none;
}

/* Der Inhalt muss ueber der Ebene liegen. */
#app, main, header, footer {
  position: relative;
  z-index: 1;
}

/* Die Spotlight-Effekte des Themes sind gegen die eigenen Schichten zu aufdringlich. */
.theme-background-effects {
  display: none !important;
}

/* Die drei Fenster-Dots (Hero-Mockup, Medien-Vorschau, Kundenportal) sind
 * rot/gelb/gruen. Sie sind die ersten drei Kinder der Leiste — nur die, nicht
 * die Beschriftung daneben. */
.window-bar span:nth-child(-n+3),
.sim-chrome span:nth-child(-n+3),
.dashboard-demo__bar span:nth-child(-n+3) {
  background: rgba(255, 255, 255, 0.3) !important;
}
.window-bar span:nth-child(2),
.sim-chrome span:nth-child(2),
.dashboard-demo__bar span:nth-child(2) {
  background: rgba(255, 255, 255, 0.2) !important;
}
.window-bar span:nth-child(3),
.sim-chrome span:nth-child(3),
.dashboard-demo__bar span:nth-child(3) {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Hero-Titel: der Verlauf ist blau-weiss (238,247,255) — neutral grau. */
.premium-hero__title em {
  background-image: linear-gradient(100deg, #ffffff 5%, #e6e6e8 48%, #b9bac0 95%) !important;
}

/* Raum: lusive atmet. Sektionen weiter auseinander, Kopfzeilen kleiner. */
.premium-section,
.components > .component {
  padding-top: 72px;
  padding-bottom: 72px;
}
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 18px;
}
.section-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* Reveal: das Theme hat schon eins (script.js markiert .component und Raster,
   IntersectionObserver, --reveal-delay fuer die Staffelung). Ein zweites System
   obendrauf war einer der teuersten Funde — zwei Observer, doppelte
   Uebergaenge, ~84 laufende Animationen beim Scrollen. Deshalb bleibt EINS,
   hier nur ruhiger und ohne die Layer-erzeugende Andeutung. */
.reveal-on-scroll {
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.5s ease var(--reveal-delay, 0ms), transform 0.55s cubic-bezier(0.16, 0.84, 0.28, 1) var(--reveal-delay, 0ms);
  will-change: auto;
}
.reveal-on-scroll--child {
  transform: translate3d(0, 10px, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Dekorative Gruen- und Blautone: Haken, Ablauf-Icons und die blauen
   Ueberschriften-Labels. Echte Status-Farben (Lieferbar / Nicht Lieferbar)
   bleiben, weil die Farbe dort die Auskunft ist. */
.feature-card__eyebrow,
.section-kicker,
.premium-hero__eyebrow {
  color: rgba(255, 255, 255, 0.52) !important;
}
.feature-card i.fa-check,
.stats-panel i.fa-check,
.premium-hero i.fa-check,
.why-us i.fa-check,
.comparison i.fa-check {
  color: #e9e9ec !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.flow-icon {
  color: #e9e9ec !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.timeline-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)) !important;
}

/* Restliche Farbtupfer, die das Theme hartkodiert hat: gruene Status-Punkte,
 * gruen getoennte Labels, blaue Randleisten und die Icon-Farben. */
/* Alle Font-Awesome-Zeichen neutral. Bewusst mit Ausnahmeklasse: ohne
   .sa-farbig konnte diese !important-Regel keine eigene Icon-Farbe gewinnen,
   und das hat die Sterne auf der Produktseite weiss gemacht. */
i[class*="fa-"]:not(.sa-farbig) {
  color: #eaeaed !important;
}
.terminal-status > span {
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow: none !important;
}
.pricing-lock,
.is-done,
.feature-card__eyebrow {
  color: rgba(255, 255, 255, 0.62) !important;
}
.pricing-lock {
  background: rgba(255, 255, 255, 0.05) !important;
}
.product-search-premium,
.discord-panel,
.showcase-window,
.stats-panel,
.pricing-demo {
  border-color: rgba(255, 255, 255, 0.09) !important;
}

@media (max-width: 640px) {
  .premium-section,
  .components > .component {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ---------------------------------------------------------------------------
   Tiefe: zwei weiche Lichtfelder hinter allem. Bewusst OHNE filter:blur und
   ohne endlose Drift-Animation — ein grosser, geblurrter Fixed-Layer und ein
   Loop ueber 120vh waren der Grund, warum die Seite Speicher gefressen hat.
   Stillstehende Radialverlaeufe aussehen genauso an und kosten nichts.
   --------------------------------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 44% at 22% 24%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(34% 40% at 78% 14%, rgba(255, 255, 255, 0.042), transparent 72%),
    radial-gradient(46% 52% at 52% 86%, rgba(255, 255, 255, 0.03), transparent 74%);
}

/* Vignette: die Raender dunkler als die Mitte — das ist der "teure" Blick. */
html {
  position: relative;
}
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

/* Scroll-Fortschritt: 2px oben, grau, kein Farbklecks. */
.atm-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.7));
  transition: width 0.12s linear;
}

/* ---------------------------------------------------------------------------
   content-visibility: die Startseite ist ~12.000 px hoch. Alles unterhalb des
   Blickwinkels muss nicht layoutt und gemalt werden, solange niemand dort ist —
   der Browser merkt sich die letzte Groesse (auto), damit der Scrollbalken
   nicht springt. Hero und Navigation bleiben draussen: die eine steht oben,
   die andere ist fest positioniert.
   --------------------------------------------------------------------------- */
.components > .component:not(.premium-hero):not(.premium-nav) {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

/* Hero-Panel: die rechte Seite war leer, seit das Terminal-Fenster raus ist.
   Bewusst eine statische Karte — Liste, Status, kein Loop. */
.hero-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 30px 70px rgba(0, 0, 0, 0.5);
}
.hero-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-panel__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0a0a0b;
  background: linear-gradient(160deg, #ffffff, #c9c9ce);
}
.hero-panel__head strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.hero-panel__head small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-panel__liste {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-panel__liste li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
.hero-panel__liste li:last-child {
  border-bottom: 0;
}
.hero-panel__liste i {
  justify-self: center;
  color: rgba(255, 255, 255, 0.72);
}
.hero-panel__liste b {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
}
.hero-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-panel__status span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .hero-panel {
    padding: 20px;
  }
}

/* Der Hero war bisher ab 1024 px einspaltig — auf Laptop-Fenstern und allen
   schmaleren Bildschirmen landete das Panel UNTER dem Text. Ab 900 px stehen
   die zwei Spalten wieder nebeneinander, erst darunter bricht sie um. */
@media (min-width: 900px) {
  .premium-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
  }
  .premium-hero__content {
    text-align: left;
  }
  .premium-hero__content .section-kicker,
  .premium-hero__actions,
  .premium-hero__trust {
    justify-content: flex-start;
  }
  .premium-hero__copy {
    margin-inline: 0;
  }
  .premium-hero__visual {
    max-width: none;
    margin: 0;
  }
}

/* Das Panel selbst: doppelte Kontur (Farbring ueber background-clip), mehr
   Luft, Icon in einer eigenen Fliese, und ein Hof hinter der Karte. */
.hero-panel {
  position: relative;
  gap: 20px;
  padding: 30px 30px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)) padding-box,
    linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.14)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 90px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.16, 0.84, 0.28, 1), box-shadow 0.3s ease;
}
.hero-panel:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 46px 100px rgba(0, 0, 0, 0.6);
}
/* Hof hinter der Karte, damit sie nicht vor flachem Schwarz steht. */
.premium-hero__visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto 8%;
  height: 60%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent);
}
/* Kopf der Panel-Karte: das echte Logo, ohne weisse Fliese dahinter. Nur ein
   dezenter Ring und ein Schatten, damit es auf dem tintigen Grund sitzt. */
.hero-panel__mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 1.2rem;
}
.hero-panel__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-panel__head strong {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-panel__head small {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.45);
}
.hero-panel__liste li {
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  padding: 14px 6px;
  font-size: 0.94rem;
}
.hero-panel__liste i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 0.86rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-panel__foot {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2px;
}

/* ---------------------------------------------------------------------------
   Oberflaechen: ein heller Haarstrich oben an jeder Karte macht den Unterschied
   zwischen "flach" und "aus einem Guess".
   --------------------------------------------------------------------------- */
.feature-card,
.premium-card,
.stats-panel,
.stats-panel__grid article,
.product-card,
.sa-product-card,
.purchase-timeline article,
.discord-panel,
.showcase-window,
.pricing-demo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}
.feature-card:hover,
.premium-card:hover,
.product-card:hover,
.sa-product-card:hover,
.stats-panel__grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 70px rgba(0, 0, 0, 0.55);
}

/* Produktkarten-Bild: langsamer Zoom beim Drueberfahren, weich gezeichnet. */
.product-card img,
.sa-product-card img,
.group-card img {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-card:hover img,
.sa-product-card:hover img,
.group-card:hover img {
  transform: scale(1.045);
}

/* Buttons: weiss auf schwarz, mit hellem Hof statt Farbverlauf. */
.premium-button--primary {
  background: linear-gradient(180deg, #ffffff, #e4e4e7);
  color: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}
.premium-button--primary:hover {
  box-shadow: 0 14px 44px rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.premium-button--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}
.premium-button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

/* Navigation: feste Pille mit Blur, Hover hellt auf.
   Kein backdrop-filter — live weichgezeichnetes Glas hinter einer fest
   mitrollierenden Leiste ist der teuerste Post-Effect auf der Seite. Ein
   blickdichter Hintergrund sieht im dunklen Theme gleich aus und kostet nichts. */
.premium-nav {
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.premium-nav a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s ease;
}
.premium-nav a:hover {
  color: #ffffff;
}

/* Typo: groesserer Hero, ruhigere Lauft, mehr Luft unter Ueberschriften. */
.premium-hero__title {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.premium-hero__sub,
.components p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 62ch;
}
.section-heading {
  letter-spacing: -0.03em;
  font-weight: 600;
}

/* Scrollbalken und Textauswahl: grau, damit kein Blau durchblitzt. */
::selection {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
html {
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
/* Ohne diese Regel malt Chrome zu einem selbst groessen Scrollbar die
   Standard-Pfeiltasten an beide Enden — der Streifen mit den drei Ecken unter
   laufenden Zeilen. Knopfe auf 0: der schlanke graeue Balken bleibt, die
   Dreiecke sind weg. */
*::-webkit-scrollbar-button,
*::-webkit-scrollbar-button:start,
*::-webkit-scrollbar-button:end {
  display: none;
  width: 0;
  height: 0;
}
*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}
*::-webkit-scrollbar-track {
  background: transparent;
}

/* Footer: Haarstrich oben, Links matt, beim Drueberfahren weiss. */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
footer a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
footer a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none !important;
  }
  .feature-card,
  .premium-card,
  .product-card,
  .sa-product-card,
  .stats-panel__grid article,
  .premium-button {
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------------
   Mehr davon: Licht hinter dem Hero, Strich zwischen den Sektionen, Glanz auf
   Karten, Zahlenkoerper in den Statistiken, Zeiger-Licht. Alles nur transform /
   opacity / filter — kein Layout, nichts was beim Scrollen rechnet.
   --------------------------------------------------------------------------- */

/* Hero: weiches Licht direkt hinter der Schrift — statischer Verlauf, kein
   blur() und kein Loop. (Beides war Speicher: grossflaechige Filter muessen
   als eigenfaellige Ebene berechnet werden.) */
.premium-hero__glow {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 62%, transparent) !important;
  filter: none !important;
  animation: none !important;
}
.premium-hero__title {
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}
.premium-hero__copy {
  color: rgba(255, 255, 255, 0.62);
  max-width: 58ch;
}
/* Ohne Terminal-Fenster ist der Hero eine zentrierte Ansage — dafuer rueckt der
   Inhalt in die Mitte und bekommt mehr Raum. */
.premium-hero--no-visual .premium-hero__content {
  text-align: center;
  margin-inline: auto;
  padding-top: 56px;
  padding-bottom: 24px;
}
.premium-hero--no-visual .premium-hero__actions,
.premium-hero--no-visual .premium-hero__trust {
  justify-content: center;
}
.premium-hero--no-visual .premium-hero__glow {
  width: min(900px, 92%);
  left: 50%;
  transform: translateX(-50%);
}
/* Der Hero-Inhalt bewegt sich beim Scrollen — aber NICH'T ueber eine Variable
   auf :root: ein Custom Property dort invalidiert bei jedem Frame den Stil der
   ganzen Seite. reveal.js setzt transform und opacity direkt am Element, und
   nur solange der Hero im Bild ist. */
.premium-hero__content {
  will-change: auto;
}

/* Hairline zwischen Sektionen, zur Mitte hin ausduennend. */
.premium-section + .premium-section,
.components > .component + .component {
  position: relative;
}
.premium-section + .premium-section::before,
.components > .component + .component::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

/* Glanz, der ueber eine Karte laeuft, wenn man sie zeigt. */
.feature-card,
.premium-card,
.stats-showcase__grid > *,
.showcase-window {
  position: relative;
  overflow: hidden;
}
.feature-card::after,
.premium-card::after,
.stats-showcase__grid > *::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 40%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: rotate(8deg) translateX(-140%);
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.feature-card:hover::after,
.premium-card:hover::after,
.stats-showcase__grid > *:hover::after {
  transform: rotate(8deg) translateX(420%);
}

/* Statistik-Kacheln: Zahl ist die Heldin, Icon in der gradlierten Fliese. */
.stat-icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}
.stats-showcase__grid .stat-value,
.stats-showcase__grid [class*="value"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* Produktkarten: Verlauf ueber dem Bildunterrand, Preis als eigene Zeile,
   Knopf als Pille mit Pfeil, der beim Hover weiter rueckt. */
.sa-product-card,
.product-card {
  position: relative;
}
.sa-product-card img,
.product-card img {
  mask-image: linear-gradient(180deg, #000 72%, rgba(0, 0, 0, 0.75));
}
.sa-product-card:hover,
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
}
.sa-product-card a[class*="view"],
.product-card a[class*="view"],
.sa-product-card [class*="button"],
.product-card [class*="button"] {
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sa-product-card:hover i[class*="fa-arrow"],
.product-card:hover i[class*="fa-arrow"] {
  transform: translateX(3px);
}
i[class*="fa-arrow"] {
  transition: transform 0.22s ease;
}

/* Endlos-Schleifen aus. Das Theme laesst in seinen Demo-Mockups Pulse, Wellen,
   Schienen, Scan-Linien, Zahlenglanz und die Zahlungs-Marquee rund um die Uhr
   laufen — 20 Regeln `infinite`, die auf einer Verkaufsseite niemandem etwas
   erzaehlen und die der Browser die ganze Zeit berechnet. Ausgewählt nach den
   echten Selektoren aus custom.css/catalog-reviews.css, damit nichts
   versehentlich mitgeht: Uebertrag (Hover, Reveal) bleibt. */
.review-card__rating i.is-filled,
.products-redirect > i,
.hero-orbit::after,
.feature-card__pulse,
.payment-track,
.delivery-step,
.delivery-step > i,
.delivery-rail span,
.pricing-row--fees strong::after,
.pricing-total strong,
.support-orbit::before,
.support-orbit::after,
.support-orbit span,
.support-orbit i,
.support-wave i,
.security-shield span,
.access-loop span,
.security-scan span,
.access-file > i,
.flow-live-dot,
.purchase-flow__step.is-active .flow-icon > i,
[class*="otp-"],
[class*="pulse"],
[class*="wave"],
.sim-input i,
.sim-primary,
.invoice-row--selected,
.purchase-flow__loop i,
.discord-auto-create i {
  animation: none !important;
}
/* Die Marquee-Zahlungsfahrt steht still: ohne Schleife muss sie auch nicht
   ueberstehend breiter als der Container sein. */
.payment-track {
  justify-content: center;
  flex-wrap: wrap;
}

/* Einmalige Einblendung der Sektionen: 0,4 s, keine Schleife. */
@keyframes atm-einblendung {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to   { opacity: 1; transform: none; }
}
.premium-hero,
footer {
  animation: atm-einblendung 0.45s cubic-bezier(0.16, 0.84, 0.28, 1) both;
}

/* Produktkarten-Marke wie bei der Referenz: ein composited Marken-Bild, nicht
   ein Icon auf schwarzem Grund. Die Farben liefert banners.css pro Marke ueber
   drei Custom Properties, die Formen (Blobs, Glow, Oberkante) sind EIN SVG.
   Das `screen`-Blending ist der Trick: weisse Formen auf dem gesaettigten
   Markenverlauf ergeben genau den gluehenden Look der Vorlage. */
.premium-product-logo {
  --banner-basis: #1b1f26;
  --banner-tief: #0a0b0d;
  --banner-akzent: #9aa4b0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 26px 18px 20px;
  text-align: center;
  background-image:
    var(--banner-form, none),
    var(--banner-seide, none),
    radial-gradient(56% 42% at 50% 6%, var(--banner-akzent), transparent 70%),
    linear-gradient(158deg, var(--banner-basis), var(--banner-tief));
  background-size: cover;
  /* soft-light fuer den Stoff, nicht screen: verglichen in
     bgwork/vorschau-seide.html — screen und luminosity hellen die Seide so auf,
     dass die Markenfarbe auswaescht (derselbe Fehler wie beim grossen Banner). */
  background-blend-mode: screen, soft-light, screen, normal;
}
/* Die schwimmende Karte aus der Vorlage: eigenes Blatt mit Rand, Glanz von
   oben, Schlagschatten und leichter Neigung. */
.premium-product-logo__karte {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px 28px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.30));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: perspective(760px) rotateX(7deg) rotateY(-8deg);
  transition: transform 0.32s cubic-bezier(0.16, 0.84, 0.28, 1), box-shadow 0.3s ease;
}
.premium-product-card:hover .premium-product-logo__karte {
  transform: perspective(760px) rotateX(4deg) rotateY(-4deg) translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
/* Mini (Dropdown, Suche) ist ein 42-px-Feld: dort loest sich der Rahmen auf,
   sonst haenge ein Kasten um dem kleinen Zeichen. */
.premium-product-logo--mini .premium-product-logo__karte {
  display: contents;
}
/* Weicher Lichtfleck hinter dem Logo — eine Form, keine Kante, kein Raster. */
.premium-product-logo__glow {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 250px;
  height: 150px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), transparent 74%);
  pointer-events: none;
}
.premium-product-logo__text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}
.premium-product-logo__text strong {
  font-size: 1.4rem;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}
/* Die zweite Zeile traegt bei der Vorlage die Markenfarbe, nicht Grau. */
.premium-product-logo__text small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--banner-akzent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
/* Das Logo liegt direkt auf dem Grund — keine Fliese, kein Ring — und hat wie
   in der Vorlage einen farbigen Hof. */
.premium-product-logo__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px var(--banner-akzent));
  transition: transform 0.32s cubic-bezier(0.16, 0.84, 0.28, 1);
}
.premium-product-logo__mark img {
  width: 84px;
  height: 84px;
  display: block;
}
/* Eigene Wortmarken (Disney+): breiter als hoch, liegen als Daten-URI in
   banners.css. Groesse kommt ueber --logo-breite/--logo-hoehe pro Marke. */
.premium-product-logo__eigen {
  position: relative;
  z-index: 1;
  width: var(--logo-breite, 112px);
  height: var(--logo-hoehe, 60px);
  margin-bottom: 14px;
  background: var(--banner-logo) center / contain no-repeat;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px var(--banner-akzent));
  transition: transform 0.32s cubic-bezier(0.16, 0.84, 0.28, 1);
}
.premium-product-card:hover .premium-product-logo__eigen {
  transform: translateY(-3px) scale(1.04);
}
.product-gallery-card .premium-product-logo__eigen {
  width: calc(var(--logo-breite, 112px) * 1.4);
  height: calc(var(--logo-hoehe, 60px) * 1.4);
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px var(--banner-akzent));
}

/* Mini-Ausgabe fuer Mega-Menue und Suchfenster: dieselbe Marke, dieselbe
   Farbe, nur 42x42 — exakt die Groesse, die .catalog-mega__items img schon hat.
   Ohne sie zeigte das Dropdown die rohe image_url, und die war bei FiveM,
   Steam UND Discord dasselbe Bild. */
.premium-product-logo--mini {
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.1);
  justify-content: center;
}
.premium-product-logo--mini .premium-product-logo__text,
.premium-product-logo--mini .premium-product-logo__glow {
  display: none;
}
.premium-product-logo--mini .premium-product-logo__mark {
  width: 26px;
  height: 26px;
  margin-bottom: 0;
  font-size: 15px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}
.premium-product-logo--mini .premium-product-logo__mark img {
  width: 26px;
  height: 26px;
}
.premium-product-logo--mini .premium-product-logo__eigen {
  width: 34px;
  height: 20px;
  margin-bottom: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}
.premium-product-card:hover .premium-product-logo__mark {
  transform: translateY(-3px) scale(1.04);
}
.premium-product-card:hover .premium-product-logo__glow {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), transparent 74%);
}

/* ---------------------------------------------------------------------------
   Die stehende Karte nach der Referenz: Neon-Rand in Markenfarbe, zwei
   Spotlights von oben, oben die Shop-Zeile, darunter das Markenfeld.

   Alles mit color-mix steht UEBER der jeweiligen alten Regel und als eigene
   Deklaration: ein Browser ohne color-mix verwirft nur diese Zeile, die alte
   bleibt stehen. Bei background-image geht das nicht zeilenweise — dort ist
   die 6-Schichten-Version die spaetere Deklaration und die 4-Schichten-Version
   weiter oben der Fallback.
   --------------------------------------------------------------------------- */
.premium-product-logo:not(.premium-product-logo--mini) {
  /* Die Karte ist mit Shop-Zeile und Markenfeld hoeher als das Zeichen allein.
     Ohne den groeheren Grund schiebe `justify-content: flex-end` den Ueberstand
     nach oben raus, und overflow:hidden schneidet genau die Shop-Zeile ab.

     Das :not() ist kein Schmuck: die Mini-Regel weiter oben (42x42, min-height 0,
     padding 0) hat dieselbe Klasse als Einziger — ohne :not gewinnt hier die
     spaettere Zeile und macht jedes 42-px-Daumenklotz im Mega-Menue, in der
     Suche und bei "Add to your order" 246 px hoch. */
  min-height: 246px;
  padding: 18px 18px 16px;
  background-image:
    radial-gradient(30% 44% at 15% -12%, color-mix(in srgb, var(--banner-akzent) 48%, transparent), transparent 74%),
    radial-gradient(30% 44% at 85% -12%, color-mix(in srgb, var(--banner-akzent) 48%, transparent), transparent 74%),
    var(--banner-form, none),
    var(--banner-seide, none),
    radial-gradient(56% 42% at 50% 6%, var(--banner-akzent), transparent 70%),
    linear-gradient(158deg, var(--banner-basis), var(--banner-tief));
  background-blend-mode: screen, screen, screen, soft-light, screen, normal;
}
.premium-product-logo__karte {
  width: min(76%, 224px);
  gap: 7px;
  padding: 12px 14px 10px;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.2);
  border-color: color-mix(in srgb, var(--banner-akzent) 58%, rgba(255, 255, 255, 0.14));
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.13), rgba(0, 0, 0, 0.46));
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.6),
    0 0 30px -8px color-mix(in srgb, var(--banner-akzent) 82%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: perspective(680px) rotateX(8deg) rotateY(-13deg);
}
/* Glanzstreifen ueber dem Blatt — statisch, damit die Karte im Regal nicht
   laeuft, wenn 20 Karten gleichzeitig atmen wuerden. */
.premium-product-logo__karte::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.15) 0 16%, transparent 32% 100%);
  pointer-events: none;
}
.premium-product-card:hover .premium-product-logo__karte {
  transform: perspective(680px) rotateX(5deg) rotateY(-6deg) translateY(-3px);
}
.premium-product-logo__shop {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
}
.premium-product-logo__shop strong {
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.premium-product-logo__feld {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 8px 12px 7px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Das Zeichen im Feld ist kleiner als das allein auf dem Stoff — die Karte
   soll in 200-250 px passen, nicht das Regal ueberfuellen. */
.premium-product-logo__mark,
.premium-product-logo__mark img {
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
}
.premium-product-logo__text strong {
  font-size: 1.3rem;
}
.premium-product-logo__text small {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}
/* Mini (42 px in Mega-Menue und Suche): die Shop-Zeile ist dort Dekoration ohne
   Platz, und der Rahmen wuerde einen Kasten im Kasten ergeben. */
.premium-product-logo--mini .premium-product-logo__shop {
  display: none;
}
.premium-product-logo--mini .premium-product-logo__feld {
  display: contents;
}

/* Auf der Detailseite gewinnt premium-commerce.css:
   .product-gallery-card .aspect-product-page-image { background: radial-gradient(...) }
   — zwei Klassen gegen unsere eine, und der background-Kurzschluss loescht das
   Markenbild komplett (sah aus wie "Banner wirkt nicht", war nur Spezifitaet).
   Hier steht dieselbe Komposition mit zwei Klassen, spaeter im Dokument. */
.product-gallery-card .premium-product-logo {
  justify-content: center;
  background-image:
    var(--banner-form),
    var(--banner-seide),
    radial-gradient(56% 42% at 50% 6%, var(--banner-akzent), transparent 70%),
    linear-gradient(158deg, var(--banner-basis), var(--banner-tief));
  background-size: cover;
  /* soft-light statt screen fuer die Formen: auf der 2x so grossen Buehne
    (818x460) skaliert der SVG-Blur mit und screen blaesst die Marke zu graublauem
    Nebel aus. Verglichen in bgwork/vorschau-seite.html — soft-light haelt die
    Saettigung und laesst die Formen trotzdem leuchten. */
  background-blend-mode: soft-light, soft-light, screen, normal;
}
/* Dieselben Spotlights wie im Regal, hier mit zwei Klassen — die Basisregel
   verliert sonst gegen .product-gallery-card .premium-product-logo. */
.product-gallery-card .premium-product-logo {
  background-image:
    radial-gradient(30% 44% at 15% -12%, color-mix(in srgb, var(--banner-akzent) 48%, transparent), transparent 74%),
    radial-gradient(30% 44% at 85% -12%, color-mix(in srgb, var(--banner-akzent) 48%, transparent), transparent 74%),
    var(--banner-form),
    var(--banner-seide),
    radial-gradient(56% 42% at 50% 6%, var(--banner-akzent), transparent 70%),
    linear-gradient(158deg, var(--banner-basis), var(--banner-tief));
  background-blend-mode: screen, screen, soft-light, soft-light, screen, normal;
  /* Wie im Regal: die stehende Karte braucht Hoehe, sonst wandert ihr oberer
     Rand bei justify-content:flex-end aus dem Feld und wird abgeschnitten. */
  min-height: 300px;
  padding: 22px 24px 20px;
}
/* Auf der Buehne darf die Karte grosser stehen. */
.product-gallery-card .premium-product-logo__karte {
  padding: 26px 44px 22px;
  border-radius: 22px;
}
.product-gallery-card .premium-product-logo__karte {
  width: min(78%, 250px);
  gap: 9px;
  padding: 16px 20px 14px;
}
.product-gallery-card .premium-product-logo__shop strong {
  font-size: 0.58rem;
}
.product-gallery-card .premium-product-logo__feld {
  padding: 10px 14px 9px;
  border-radius: 14px;
}
/* Die 460 px hohe Buehne wuerde das Logo sonst an den Boden druecken. */
.product-gallery-card .premium-product-logo__mark {
  width: 92px;
  height: 92px;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px var(--banner-akzent));
}
.product-gallery-card .premium-product-logo__mark img {
  width: 92px;
  height: 92px;
}
.product-gallery-card .premium-product-logo__glow {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.12), transparent 74%);
}
.product-gallery-card .premium-product-logo__text strong {
  font-size: 1.8rem;
}
.product-gallery-card .premium-product-logo__text small {
  font-size: 0.78rem;
}

/* Warenkorb-Zeile und Empfehlungs-Karte: dasselbe Banner wie im Katalog, nur in
   einem viel kleineren Feld. Zwei Dinge sind noetig:
   1) min-height 0 — die Basisregel (763) erzwingt 200 px, das uebersteuert
      aspect-ratio und macht die Zeile 208 px hoch bzw. schneidet das Banner ab.
   2) Container-Abfragen statt Media-Queries: die Feldgroesse haengt nicht an der
      Fensterbreite (Zeile 92 px, Empfehlungs-Karte 118 px bei schmalen Fenstern,
      350 px am Desktop), also skaliert nach dem Feld selbst. */
.sa-zeilen-marke,
.cart-recommendation-card__media {
  container-type: inline-size;
}
/* Eigener Seitenlader (snippets/page-loader.njk). Alles in Shop-Tonen: Grund =
   --cl-background, Ring und "PM" = --cl-accent. Die Ausblend-Animation laeuft
   auch ohne JavaScript durch, damit ein kaputtes Skript nicht einen undurchsichtigen
   Schleier ueber dem Shop hinterlaesst. */
.sa-lader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: rgb(var(--cl-background));
  /* Kein Zeitaesser: der Lader bleibt, bis die Seite wirklich fertig ist, und
           geht per Klasse weg (siehe .sa-lader--aus). Diese Animation hier ist nur
           das Netz fuer den Fall, dass gar kein JavaScript laeuft — 9 s, damit sie
           einem normalen, auch langsamen Laden nie zuvorkommt. */
  animation: sa-lader-aus 0.45s ease 9s forwards;
  transition: opacity 0.34s ease;
}
/* JS setzt diese Klasse, sobald `load` durch ist (spaetestens nach 5 s Netz).
   pointer-events:none vorher, damit der ausblendende Schleier keinen Klick
   verschluckt. */
.sa-lader--aus {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.34s ease, visibility 0s linear 0.34s;
}
.sa-lader__kern {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
}
.sa-lader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgb(var(--cl-accent));
  animation: sa-lader-dreh 0.85s linear infinite;
}
.sa-lader__kern::after {
  /* weicher Hof, damit der Ring nicht als duenne Linie auf schwarzem Grund steht */
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--cl-accent), 0.1), transparent 72%);
  pointer-events: none;
}
.sa-lader__zeichen {
  position: relative;
  color: rgb(var(--cl-accent));
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.sa-lader__wort {
  margin: 0;
  color: rgba(var(--cl-accent), 0.62);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.sa-lader__hinweis {
  margin: -10px 0 0;
  color: #4d6177;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}
@keyframes sa-lader-dreh {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sa-lader-aus {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Nur die Drehung aus — das Ausblenden bleibt, sonst bliebe der Schleier stehen. */
  .sa-lader__ring {
    animation-duration: 2.4s;
  }
}

.sa-zeilen-banner {
  width: 100%;
}
.sa-zeilen-banner:empty {
  display: none;
}
.sa-zeilen-marke:has(.sa-zeilen-banner .premium-product-logo) > img {
  display: none;
}
.sa-zeilen-marke .premium-product-logo,
.cart-recommendation-card__media .premium-product-logo {
  min-height: 0;
  padding: 5px 6px;
  border-radius: 10px;
}
.sa-zeilen-marke .premium-product-logo__karte,
.cart-recommendation-card__media .premium-product-logo__karte {
  gap: 2px;
  padding: 5px 7px 4px;
  border-radius: 10px;
}
/* In einem 92-px-Feld ist die Karte schon alles, was reinpasst: keine
   Shop-Zeile, kein Rahmen im Rahmen, keine Neigung — die wuerde das Logo
   abscheiden. Ab dem breiten Container unten wird alles zurueckgeholt. */
.sa-zeilen-marke .premium-product-logo__shop,
.cart-recommendation-card__media .premium-product-logo__shop {
  display: none;
}
.sa-zeilen-marke .premium-product-logo__feld,
.cart-recommendation-card__media .premium-product-logo__feld {
  gap: 1px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.sa-zeilen-marke .premium-product-logo__karte,
.cart-recommendation-card__media .premium-product-logo__karte {
  width: auto;
  transform: none;
}
.sa-zeilen-marke .premium-product-logo__mark,
.sa-zeilen-marke .premium-product-logo__mark img,
.cart-recommendation-card__media .premium-product-logo__mark,
.cart-recommendation-card__media .premium-product-logo__mark img {
  width: 26px;
  height: 26px;
  margin-bottom: 3px;
}
.sa-zeilen-marke .premium-product-logo__text,
.cart-recommendation-card__media .premium-product-logo__text {
  gap: 1px;
}
.sa-zeilen-marke .premium-product-logo__text strong,
.cart-recommendation-card__media .premium-product-logo__text strong {
  font-size: 0.6rem;
  letter-spacing: 0.01em;
}
.sa-zeilen-marke .premium-product-logo__text small,
.cart-recommendation-card__media .premium-product-logo__text small {
  font-size: 0.4rem;
}
@container (min-width: 150px) {
  .sa-zeilen-marke .premium-product-logo,
  .cart-recommendation-card__media .premium-product-logo {
    padding: 6px 8px;
    border-radius: 12px;
  }
  .sa-zeilen-marke .premium-product-logo__karte,
  .cart-recommendation-card__media .premium-product-logo__karte {
    gap: 3px;
    padding: 7px 10px 6px;
    border-radius: 12px;
  }
  .sa-zeilen-marke .premium-product-logo__mark,
  .sa-zeilen-marke .premium-product-logo__mark img,
  .cart-recommendation-card__media .premium-product-logo__mark,
  .cart-recommendation-card__media .premium-product-logo__mark img {
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
  }
  .sa-zeilen-marke .premium-product-logo__text strong,
  .cart-recommendation-card__media .premium-product-logo__text strong {
    font-size: 0.74rem;
  }
  .sa-zeilen-marke .premium-product-logo__text small,
  .cart-recommendation-card__media .premium-product-logo__text small {
    font-size: 0.48rem;
  }
}
@container (min-width: 260px) {
  .sa-zeilen-marke .premium-product-logo,
  .cart-recommendation-card__media .premium-product-logo {
    padding: 10px 12px;
    border-radius: 14px;
  }
  .sa-zeilen-marke .premium-product-logo__karte,
  .cart-recommendation-card__media .premium-product-logo__karte {
    gap: 4px;
    padding: 12px 18px 10px;
    border-radius: 16px;
  }
  .sa-zeilen-marke .premium-product-logo__mark,
  .sa-zeilen-marke .premium-product-logo__mark img,
  .cart-recommendation-card__media .premium-product-logo__mark,
  .cart-recommendation-card__media .premium-product-logo__mark img {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
  }
  .sa-zeilen-marke .premium-product-logo__text strong,
  .cart-recommendation-card__media .premium-product-logo__text strong {
    font-size: 1.05rem;
  }
  .sa-zeilen-marke .premium-product-logo__text small,
  .cart-recommendation-card__media .premium-product-logo__text small {
    font-size: 0.62rem;
  }
}
/* Ab 320 px Feldbreite ist auch Platz fuer die Shop-Zeile: bei 16:9 sind das
   rund 180 px Hoehe, und die Karte braucht mit Zeile 161 px. Deutlich enger
   wuerde sie oben aus dem Feld wachsen — deshalb hier und nicht schon im
   260-px-Tier. */
@container (min-width: 320px) {
  .sa-zeilen-marke .premium-product-logo__shop,
  .cart-recommendation-card__media .premium-product-logo__shop {
    display: grid;
    gap: 4px;
  }
  .sa-zeilen-marke .premium-product-logo__shop strong,
  .cart-recommendation-card__media .premium-product-logo__shop strong {
    font-size: 0.44rem;
    letter-spacing: 0.16em;
  }
  .sa-zeilen-marke .premium-product-logo__feld,
  .cart-recommendation-card__media .premium-product-logo__feld {
    gap: 3px;
    padding: 6px 10px 5px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.3));
  }
  .sa-zeilen-marke .premium-product-logo__karte,
  .cart-recommendation-card__media .premium-product-logo__karte {
    gap: 4px;
    padding: 10px 16px 8px;
  }
  .sa-zeilen-marke .premium-product-logo__mark,
  .sa-zeilen-marke .premium-product-logo__mark img,
  .cart-recommendation-card__media .premium-product-logo__mark,
  .cart-recommendation-card__media .premium-product-logo__mark img {
    width: 50px;
    height: 50px;
    margin-bottom: 6px;
  }
}

/* Zurueck nach oben: erscheint ab 600 px Scroll, Pille wie die Buttons. */
.atm-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.atm-top.sichtbar {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.atm-top:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Navigation: der Punkt unter dem aktiven Abschnitt. */
.premium-nav a {
  position: relative;
}
.premium-nav a.ist-aktiv {
  color: #ffffff;
}
.premium-nav a.ist-aktiv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}

/* ---------------------------------------------------------------------------
   Marken-Marquee auf der Startseite: der Katalog liegt jetzt auf /products,
   hier laufen nur die Marken vorbei.

   Eine Endlos-Animation ist genau das, was der Owner als RAM-Problem
   beanstandet hat, deshalb drei Gegenmittel:
   1. nur translateX (Compositor, kein Layout/Paint pro Frame),
   2. die Animation pausiert, sobald die Zeile aus dem Blickfeld ist
      (reveal.js setzt .pausiert),
   3. bei prefers-reduced-motion steht die Zeile still.
   Das Keyframe ist bewusst NICHT das vorhandene "marquee" aus custom.css: das
   schiebt -50% - 7px fuer einen einzelnen Track mit doppelter Inhaltliste,
   zwei gleichlaufende Spuren brauchen -100%.
   --------------------------------------------------------------------------- */
@keyframes brand-marquee {
  to { transform: translate3d(-100%, 0, 0); }
}

.brand-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  gap: 0;
  margin: 34px 0 6px;
  /* Kein mask-image fuer den Randverlauf: eine Maske ueber einer Bewegung
     muss jeder Frame neu angewandt werden, und das war schon einmal der
     RAM-Punkt. Die Vorlage blendet die Raender auch nicht aus. */
}
.brand-marquee__spur {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  animation: brand-marquee 34s linear infinite;
  /* Umgekehrte Logik: still per Default, reveal.js startet sie erst, wenn die
     Zeile im Blickfeld ist. Die Fusszeile liegt beim Laden fast immer ausserhalb
     — mit der alten Regel (Klasse .pausiert weg) hätte sie so lange gerechnet,
     bis der Observer zufaellig ein Callback geliefert hat. */
  animation-play-state: paused;
}
.brand-marquee.laeuft .brand-marquee__spur {
  animation-play-state: running;
}
.brand-marquee.pausiert .brand-marquee__spur {
  animation-play-state: paused;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.brand-item span {
  display: inline-block;
}

/* Das Zeichen selbst: 40 px, hellgrau wie in der Vorlage, erst beim Hover
   richtig weiss. Groesse fest im Markup, damit beim Laden nichts springt. */
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 23px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.66);
  filter: grayscale(1);
  transition: filter 0.2s ease, color 0.2s ease;
}
.brand-item:hover {
  color: #ffffff;
}
.brand-item:hover .brand-mark {
  filter: grayscale(0);
  color: #ffffff;
}
.brand-mark img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}
.brand-mark--foto {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}
/* Disney+ und andere eigene Wortmarken: breiter als hoch, in der Zeile
   dasselbe Vektor wie auf der Karte. */
.brand-mark__eigen {
  width: 56px;
  height: 31px;
  background: var(--banner-logo, none) center / contain no-repeat;
}

.brand-marquee__ende {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* ---------------------------------------------------------------------------
   Der Marken-Lauf unten im Footer — derselbe Snippet wie oben auf der
   Startseite, aber rueckwaerts, kleiner und leiser. Zwei gleich aussehende
   Zeilen wuerden wie eine Kopie wirken.
   Die Ausbluetung nach links/rechts ist exakt das Innenpadding des Footers
   (custom.css:93), damit die Zeile die volle Breite nutzt.
   --------------------------------------------------------------------------- */
.sa-footer-run {
  margin: 0 calc(-1 * clamp(20px, 4vw, 52px)) 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--premium-line);
}
.sa-footer-run__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(20px, 4vw, 52px) 18px;
}
.sa-footer-run__kopf a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sa-footer-run__kopf a:hover { color: #ffffff; }

.brand-marquee--unten { margin: 0; }
.brand-marquee--unten .brand-marquee__spur {
  gap: 30px;
  padding-right: 30px;
  animation-duration: 52s;
  animation-direction: reverse;
}
.sa-footer-run .brand-item {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.46);
}
.sa-footer-run .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.sa-footer-run .brand-mark img { width: 28px; height: 28px; }
.sa-footer-run .brand-mark--foto { width: 26px; height: 26px; border-radius: 7px; }
.sa-footer-run .brand-mark__eigen { width: 40px; height: 22px; }
.sa-footer-run .brand-item:hover { color: #ffffff; }
.sa-footer-run .brand-item:hover .brand-mark {
  color: #ffffff;
  filter: grayscale(0);
}

@media (max-width: 720px) {
  .sa-footer-run { margin-bottom: 24px; }
  .brand-marquee--unten .brand-marquee__spur { gap: 22px; padding-right: 22px; }
  .sa-footer-run .brand-mark,
  .sa-footer-run .brand-mark img { width: 24px; height: 24px; }
}

/* ---------------------------------------------------------------------------
   "Popular right now" — waagerechter Lauf auf der Startseite.
   Kein Raster und kein Paginieren: die Karten bleiben gleich, nur die Anordnung
   ist seitlich. Scroll-Snap, damit die Reihe nicht krumm stehen bleibt.
   --------------------------------------------------------------------------- */
.sa-beliebt {
  margin-top: 74px;
}
.sa-beliebt h2 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
}
/* Der Lauf benutzt dieselbe Endlos-Mechanik wie die Marken-Zeile oben: zwei
   Spuren, nur translateX, und reveal.js pausiert die Zeile, sobald sie ausser
  halb des Blickfelds liegt (dafuer traegt sie die Klasse brand-marquee). */
.sa-beliebt__lauf {
  gap: 0;
  margin: 0 auto;
  max-width: 1440px;
  padding: 4px;
  overflow: hidden;
  scroll-snap-type: none;
}
.sa-beliebt__lauf .brand-marquee__spur {
  gap: 18px;
  padding-right: 18px;
  animation-duration: 46s;
  align-items: stretch;
}
.sa-beliebt__lauf .sa-beliebt__karte {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: none;
}
/* Ueber dem Zeiger bleibt die Zeile stehen — eine Karte, die unter dem Cursor
   weglaeuft, kann man nicht antippen. */
.sa-beliebt__lauf:hover .brand-marquee__spur {
  animation-play-state: paused;
}

/* Touch und schmale Screens: dort wird geschoben statt gelaufen, und die
   zweite Spur ist dann nur doppelter Inhalt. */
/* Den Balken der laufenden Zeile verstecken — ohne die Breite als Bedingung.
   Mit drin war bisher nur der Schmalbild-Zweig; der Balken selbst ist aber auch
   dann overfluessig, wenn die Zeile ohnehin von allein laeuft. Schieben bleibt. */
.sa-beliebt__lauf {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sa-beliebt__lauf::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (max-width: 899px), (hover: none) {
  .sa-beliebt__lauf {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .sa-beliebt__lauf::-webkit-scrollbar { display: none; }
  .sa-beliebt__lauf .brand-marquee__spur { animation: none; }
  .sa-beliebt__lauf .brand-marquee__spur[aria-hidden="true"] { display: none; }
  .sa-beliebt__lauf .sa-beliebt__karte { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  /* Die Loops stehen und die zweite Spur ist schon weiter oben ausgeblendet.
     Ohne Bewegung muss die Zeile wieder schiebbar sein, sonst ist ihr Ende
     nie zu erreichen. */
  .sa-beliebt__lauf {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
}
/* Die Karte fuellt die Zeile, sonst unterschiedlich hohe Kacheln. */
.sa-beliebt__karte > a {
  height: 100%;
}
@media (max-width: 720px) {
  .sa-beliebt { margin-top: 46px; }
  .sa-beliebt__lauf .brand-marquee__spur { gap: 12px; padding-right: 12px; }
}

/* Reduced motion: alles Bewegte ausser Hover-Farben. */
@media (prefers-reduced-motion: reduce) {
  .premium-hero__glow { animation: none !important; }
  .premium-hero__content { transform: none !important; opacity: 1 !important; }
  .feature-card::after,
  .premium-card::after,
  .stats-showcase__grid > *::after { display: none; }
  .premium-hero,
  footer { animation: none !important; }
  /* Die zweite Spur ist nur fuer die Endlos-Schleife da - ohne Bewegung ist
     sie doppelter Inhalt. */
  .brand-marquee__spur { animation: none !important; }
  .brand-marquee__spur[aria-hidden="true"] { display: none; }
}

@media (max-width: 720px) {
  .brand-marquee__spur { gap: 28px; padding-right: 28px; }
  .brand-item { font-size: 1rem; }
  .brand-mark, .brand-mark img { width: 32px; height: 32px; }
  .brand-mark__eigen { width: 46px; height: 26px; }
}

/* ---------------------------------------------------------------------------
   Produktseite-Kopf wie in der Vorlage: eine Leiste mit Status, Stueckzahl und
   Bewertung, darunter Titel links und Preis rechts.
   --------------------------------------------------------------------------- */
.sa-produkt-kopf {
  padding: 20px 22px 2px;
}
.sa-produkt-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.sa-produkt-leiste span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sa-produkt-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
/* Wenn SellAuth keinen status_text schickt, faerbt die Klasse den Punkt.
   Ausverkauft in einem gedeckten Rot — die Farbe ist hier die Auskunft, und
   der Shop ist sonst grau/weiss/schwarz. */
.sa-produkt-status i.ist-an { background: #dcdcde; color: #dcdcde; }
.sa-produkt-status i.ist-aus { background: #b4666a; color: #b4666a; }
.sa-produkt-verkauft i { font-size: 0.78rem; color: rgba(255, 255, 255, 0.42); }
.sa-produkt-sternen { display: inline-flex; gap: 2px; }
.sa-produkt-sternen i { font-size: 0.72rem; color: #f0c23f; }
.sa-produkt-sternen i.ist-leer { color: rgba(255, 255, 255, 0.16); }
.sa-produkt-note b { color: #ffffff; }
.sa-produkt-note small { color: rgba(255, 255, 255, 0.42); letter-spacing: 0.08em; }
/* "Pro Stueck" rueckt ganz nach rechts — dort steht auch der Preis. */
.sa-produkt-pro { margin-left: auto; }
.sa-produkt-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 12px;
}
.sa-produkt-zeile h1 {
  flex: 1 1 22ch;
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #ffffff;
}
.sa-produkt-preis {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   "Add to your order" als Panel, wie in der Vorlage: Kopfzeile mit
   "See all" rechts, darunter ein Raster aus kompakten Karten.
   --------------------------------------------------------------------------- */
.sa-dazukauf {
  margin-top: 36px;
  padding: 18px clamp(16px, 2.4vw, 24px) 22px;
  background: var(--premium-surface);
  border: 1px solid var(--premium-line);
  border-radius: var(--premium-radius);
}
.sa-dazukauf__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 0 2px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}
.sa-dazukauf__kopf .section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62) !important;
}
.sa-dazukauf__kopf .section-kicker i { font-size: 0.82rem; }
.sa-dazukauf__kopf > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sa-dazukauf__kopf > a:hover { color: #ffffff; }

/* Raster statt Lauf: die Vorlage zeigt die Vorschlaege nebeneinander, und der
   Katalog hier sind vier Produkte — dafuer braucht es keine Scrollerei. */
.sa-dazukauf__reihe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
  gap: 14px;
}
.sa-dazukauf__karte {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sa-dazukauf__karte:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}
.sa-dazukauf__zeichen { display: block; width: 56px; text-decoration: none; }
/* Das Mini-Banner ist fuer Dropdown und Suche 42 px; hier ist es die Kachel
   der Karte, also eine Stufe groesser — zwei Klassen, damit es gewinnt. */
.sa-dazukauf__zeichen .premium-product-logo--mini {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}
.sa-dazukauf__zeichen .premium-product-logo--mini .premium-product-logo__mark,
.sa-dazukauf__zeichen .premium-product-logo--mini .premium-product-logo__mark img {
  width: 34px;
  height: 34px;
}
.sa-dazukauf__zeichen .premium-product-logo--mini .premium-product-logo__eigen {
  width: 44px;
  height: 25px;
}
.sa-dazukauf__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.sa-dazukauf__name a { color: #ffffff; text-decoration: none; }
.sa-dazukauf__preis {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.sa-dazukauf__preis strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.sa-dazukauf__knopf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sa-dazukauf__knopf:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}
.sa-dazukauf__drin { color: #dcdcde; }

@media (max-width: 560px) {
  .sa-dazukauf__reihe { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sa-dazukauf__karte { padding: 12px; gap: 8px; }
  .sa-dazukauf__zeichen .premium-product-logo--mini { width: 44px; height: 44px; }
}