/* 2 · Trust bar (Export s01.png = 1440 × 294). Links Zahlungslogos, rechts Store-Bewertungen + Trustpilot.
   Maße aus dem Export (2x → /2). Hintergrund: Weiß → Primary-100 wie im Export gemessen. */
.s02 {
  padding: 118px 0 80px;
  background: linear-gradient(180deg, var(--color-white) 14px, var(--color-primary-100) 190px);
}
.s02__wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px 32px; }

/* Zahlungsarten */
.s02__eyebrow { margin-top: 1px; white-space: nowrap; }
.s02__logos { list-style: none; padding: 0; margin-top: 17.5px; display: flex; gap: 8px; }
.s02__logo { width: 78.5px; height: 55px; border-radius: 8px; overflow: hidden; flex: none; }
.s02__logo img { width: 100%; height: 100%; }

/* Store-Bewertungen + Trustpilot */
.s02__ratings { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 57.5px; padding-right: 15.5px; }
/* Deutsch hat längere Beschriftungen: etwas engere Abstände, damit die Leiste bei 1440 einzeilig bleibt */
html[lang="de"] .s02__ratings { column-gap: 44px; padding-right: 0; }
.s02__store { display: flex; flex-direction: column; gap: 10px; }
/* Badge-Oberkante auf die Versalhöhe der Eyebrow (gemessen: Badges 471,5 px, Eyebrow/Trustpilot ~475,5 px) */
.s02__store { padding-top: 4px; }
.s02__badge { display: block; width: max-content; border-radius: 8px; }
.s02__badge img { height: 40px; width: auto; border-radius: 8px; }
.s02__score { display: flex; align-items: flex-start; gap: 10px; }
.s02__num { min-width: 44px; color: var(--text-primary); white-space: nowrap; }
.s02__meta { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.s02__stars { width: 78px; height: 13px; }
.s02__label { color: var(--color-neutral-muted); white-space: nowrap; }

.s02__tp { display: flex; flex-direction: column; align-items: flex-start; }
.s02__tplogo { width: 129px; height: 23px; margin: 1px 0 0 1px; }
.s02__tpstars { display: flex; gap: 3px; margin-top: 13px; }
.s02__tpstars img { width: 30px; height: 30px; }
.s02__tpscore { margin-top: 8px; color: var(--color-neutral-muted); white-space: nowrap; }
.s02__tpscore b { font-weight: 600; color: var(--color-neutral-700); }
.s02__sep { margin: 0 8px; }
.s02__tpscore a { text-decoration: underline; text-underline-offset: 3px; }
.s02__tpscore a:hover { color: var(--brand); }

@media (max-width: 1239px) {
  .s02__ratings { padding-right: 0; }
}
@media (max-width: 767px) {
  .s02 { padding: 56px 0 56px; }
  .s02__wrap { flex-direction: column; gap: 40px; }
  .s02__eyebrow { white-space: normal; }
  .s02__logos { display: grid; grid-template-columns: repeat(3, 78.5px); }
  .s02__ratings { gap: 32px 40px; }
}

/* Mobil: Zahlungslogos als eine Reihe, die endlos durchläuft (Klone setzt 02-trust.js). Desktop ohne Klone. */
.s02__logo--clone { display: none; }
@media (max-width: 767px) {
  .s02__pay { min-width: 0; width: 100%; }
  .s02__marquee {
    margin: 0 calc(-1 * var(--gutter)); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .s02__logos { display: flex; width: max-content; gap: 0; padding-left: var(--gutter); animation: s02-marquee 22s linear infinite; }
  .s02__logo { margin-right: 8px; }
  .s02__logo--clone { display: block; }
  .s02__marquee:hover .s02__logos { animation-play-state: paused; }
}
@keyframes s02-marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .s02__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .s02__logos { animation: none; padding-right: var(--gutter); }
  .s02__logo--clone { display: none; }
}

/* Mobil: App Store und Google Play nebeneinander (je zentriert: Badge, Zahl + Sterne, Beschriftung),
   Trustpilot zentriert darunter über die volle Breite. */
@media (max-width: 767px) {
  .s02__ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; width: 100%; }
  .s02__store { align-items: center; text-align: center; padding-top: 0; min-width: 0; }
  .s02__score { flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; }
  .s02__num { min-width: 0; }
  .s02__meta { display: contents; }
  .s02__label { flex-basis: 100%; white-space: normal; }
  .s02__tp { grid-column: 1 / -1; align-items: center; text-align: center; }
  .s02__tplogo { margin: 0; }
}

/* Nur ein Store (App Store; Google Play folgt, Entscheidung Henrik 21.11.2026): mobil App Store und Trustpilot nebeneinander */
@media (max-width: 767px) {
  .s02__ratings--ein-store .s02__tp { grid-column: auto; }
}
