/* Produkttour (Startseite, Funktionen): Screenshots als Schritte mit Bildunterschrift, js/produkttour.js.
   Ersatz für ein Video – läuft ohne externe Dienste, CSP-konform, ohne Autoplay bei reduzierter Bewegung. */
.tour { padding: 5rem 1.5rem; background: var(--slate-900); color: var(--white); }
.tour-inner { max-width: 1100px; margin: 0 auto; }
.tour .section-header h2 { color: var(--white); }
.tour .section-header p { color: #94a3b8; }
.tour-buehne { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: stretch; }
.tour-bild {
  position: relative; aspect-ratio: 16 / 10; background: var(--slate-800); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.tour-schritt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; display: flex; align-items: center; justify-content: center; }
.tour-schritt.aktiv { opacity: 1; }
.tour-schritt img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tour-schritt.ist-handy img { width: auto; height: 94%; max-width: 46%; object-fit: cover; border-radius: 22px; border: 6px solid var(--slate-900); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.tour-text { display: flex; flex-direction: column; }
.tour-liste { list-style: none; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; }
.tour-liste button {
  width: 100%; text-align: left; background: transparent; border: 1px solid transparent; color: #cbd5e1; font: inherit; font-size: 0.9375rem;
  padding: 0.625rem 0.875rem; border-radius: 10px; cursor: pointer; display: flex; gap: 0.75rem; align-items: baseline; transition: background 0.15s, color 0.15s;
}
.tour-liste button:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.tour-liste button[aria-current="step"] { background: rgba(37, 99, 235, 0.25); color: var(--white); border-color: rgba(96, 165, 250, 0.4); }
.tour-liste .tour-nr { font-weight: 700; color: var(--blue-400); min-width: 1.25rem; }
.tour-liste small { display: block; color: #94a3b8; font-size: 0.8125rem; margin-top: 0.125rem; }
.tour-liste button[aria-current="step"] small { color: #cbd5e1; }
.tour-steuerung { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.tour-steuerung button {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--white); border-radius: 8px; padding: 0.5rem 0.75rem;
  font: inherit; font-size: 0.875rem; cursor: pointer;
}
.tour-steuerung button:hover { background: rgba(255, 255, 255, 0.14); }
.tour-fortschritt { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; }
.tour-fortschritt span { display: block; height: 100%; width: 0; background: var(--blue-400); transition: width 0.25s linear; }
.tour-aktion { margin-top: 1.25rem; }
.tour-bild-text { display: none; }
@media (max-width: 900px) {
  .tour { padding: 3.5rem 1rem; }
  .tour-buehne { grid-template-columns: 1fr; gap: 1rem; }
  .tour-bild { aspect-ratio: 4 / 3; }
  .tour-liste { display: none; }
  .tour-bild-text { display: block; min-height: 3.25rem; color: #e2e8f0; font-size: 0.9375rem; line-height: 1.5; }
  .tour-bild-text strong { color: var(--white); }
}
@media (prefers-reduced-motion: reduce) { .tour-schritt { transition: none; } .tour-fortschritt span { transition: none; } }
