/* Showroom "So könnte deine Homepage aussehen!"
   Alles ist unter .sr gekapselt und beeinflusst den Rest der Website nicht.
   Schrift wird von der Website geerbt. Farben bei Bedarf hier anpassen. */
.sr {
  --sr-grund: #ffffff;
  --sr-flaeche: #f3f2ef;
  --sr-text: #1d1d1f;
  --sr-leise: #55555a;
  --sr-akzent: #1d1d1f;
  --sr-akzent-text: #ffffff;
  --sr-rahmen: #16161a;
  --sr-breite: 72rem;
  --sr-dauer: 0.7s;

  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--sr-grund);
  color: var(--sr-text);
  font-family: inherit;
  overflow: hidden;
}
.sr *, .sr *::before, .sr *::after { box-sizing: border-box; }
:where(.sr) :where(h2, h3, p, ul, figure) { margin: 0; }
.sr img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.sr :focus-visible { outline: 3px solid var(--sr-akzent); outline-offset: 3px; }
.sr-unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sr-kopf { width: min(100% - 2.5rem, var(--sr-breite)); margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.sr-titel { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.sr-untertitel { max-width: 40ch; margin: 1.1rem auto 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--sr-leise); }

/* Galerie: alle Folien liegen übereinander, die Position kommt aus --sr-versatz */
.sr-galerie { position: relative; }
.sr-spur { display: grid; padding: 0; list-style: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sr-folie {
  grid-area: 1 / 1;
  justify-self: center;
  width: min(86vw, 52rem);
  display: grid;
  gap: 1.75rem;
  transition: transform var(--sr-dauer) cubic-bezier(.22,.7,.2,1), opacity var(--sr-dauer) ease;
}

.sr-geraete { position: relative; padding: 0 6% 4% 0; }
.sr-laptop-rand { padding: 2.2% 2.2% 0; border-radius: 1.1rem 1.1rem 0 0; background: var(--sr-rahmen); }
.sr-laptop-rand img { border-radius: 0.35rem 0.35rem 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sr-laptop-fuss { height: clamp(10px, 1.6vw, 18px); margin: 0 -5%; border-radius: 0 0 1rem 1rem; background: linear-gradient(#2a2a30, #0e0e11); }
.sr-handy { position: absolute; right: 0; bottom: 0; width: 22%; padding: 2.2%; border-radius: 16% / 7.5%; background: var(--sr-rahmen); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.sr-handy img { border-radius: 12% / 5.5%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

.sr-info { display: grid; justify-items: center; gap: 0.5rem; text-align: center; transition: opacity 0.4s ease; }
.sr-branche { font-size: 0.95rem; color: var(--sr-leise); }
.sr-name { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.15; }
.sr-text { max-width: 46ch; color: var(--sr-leise); line-height: 1.55; }

.sr-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 0.75rem; padding: 0 1.6rem; border-radius: 999px; background: var(--sr-akzent); color: var(--sr-akzent-text); font-weight: 600; text-decoration: none; transition: transform .2s ease, opacity .2s ease; }
.sr-knopf:hover { opacity: 0.88; transform: translateY(-1px); }

/* Steuerung */
.sr-steuerung { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.sr-pfeil, .sr-pause { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: var(--sr-text); cursor: pointer; }
.sr-pfeil:hover, .sr-pause:hover { background: var(--sr-text); color: var(--sr-grund); }
.sr-pfeil svg, .sr-pause svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-pause .sr-icon-start { display: none; fill: currentColor; }
.sr-pause[aria-pressed="true"] .sr-icon-pause { display: none; }
.sr-pause[aria-pressed="true"] .sr-icon-start { display: block; }
.sr-punkte { display: flex; gap: 0.15rem; }
.sr-punkt { width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.sr-punkt::before { content: ""; display: block; width: 9px; height: 9px; margin: auto; border-radius: 50%; background: currentColor; color: var(--sr-text); opacity: 0.3; transition: opacity .3s, transform .3s; }
.sr-punkt[aria-current="true"]::before { opacity: 1; transform: scale(1.3); }

/* Abschnitt unter der Galerie */
.sr-wuensche { width: min(100% - 2.5rem, 46rem); margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; padding: clamp(2rem, 5vw, 3.25rem); border-radius: 1.5rem; background: var(--sr-flaeche); text-align: center; }
.sr-wuensche-titel { font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); line-height: 1.2; text-wrap: balance; }
.sr-wuensche-text { margin-top: 1rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--sr-leise); }
.sr-knopf-gross { margin-top: 1.75rem; min-height: 54px; padding: 0 2rem; }

/* Ohne JavaScript: waagrechte Liste zum Wischen */
.sr:not(.sr-bereit) .sr-spur { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 7vw 1rem; }
.sr:not(.sr-bereit) .sr-folie { flex: 0 0 auto; scroll-snap-align: center; }
.sr:not(.sr-bereit) .sr-steuerung { display: none; }

@media (max-width: 40rem) {
  .sr-folie { width: 84vw; }
  .sr-geraete { padding: 0 8% 8% 0; }
  .sr-handy { width: 30%; }
  .sr-steuerung { gap: 0.25rem; }
  .sr-pfeil, .sr-pause { width: 44px; height: 44px; }
  .sr-punkte { gap: 0; }
  .sr-punkt { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .sr { --sr-dauer: 0.01s; }
  .sr-knopf, .sr-info { transition: none; }
}

/* Hinweis auf dem Gerät: „Klick hier, um die ganze Seite zu sehen“ (8.11.2026) */
.sr-tipp {
  position: absolute; left: 47%; bottom: 16%; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: rgba(29, 29, 31, 0.88); color: #ffffff;
  font-size: clamp(0.78rem, 0.7rem + 0.3vw, 0.92rem); font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%); pointer-events: none;
  transition: opacity 0.3s ease;
}
.sr-tipp svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-folie[aria-hidden="true"] .sr-tipp { opacity: 0; }
.sr-geraete:hover .sr-tipp { background: rgba(29, 29, 31, 1); }
@media (prefers-reduced-motion: no-preference) {
  .sr-tipp { animation: sr-tipp-wippen 2.4s ease-in-out infinite; }
  @keyframes sr-tipp-wippen { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
}
@media (max-width: 40rem) { .sr-tipp { bottom: 18%; width: max-content; max-width: 78%; padding: 0.4rem 0.75rem; white-space: normal; text-wrap: balance; text-align: left; } }
