/* Unsporty-Testvarianten 2–6 (Scroll-Animationen). Baut auf assets/style.css auf. */

.tv-badge {
  position: relative;
  z-index: 60;
  margin: 0;
  padding: 7px var(--gutter);
  background: var(--deep);
  color: var(--pale);
  font: 600 0.82rem/1.4 var(--body);
  text-align: center;
}
.tv-badge a { color: var(--white); }

.tv svg.fig-svg { display: block; overflow: visible; }

/* ---------- Variante 2: Begleiter am Rand ---------- */
.v2-buddy {
  position: fixed;
  z-index: 40;
  right: 18px;
  top: 50%;
  width: 150px;
  transform: translateY(-38%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.v2-stage { width: 150px; height: 180px; }
.v2-stage svg { width: 100%; height: 100%; }
.v2-bubble {
  position: relative;
  max-width: 170px;
  margin-bottom: 4px;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: 600 0.88rem/1.35 var(--body);
  box-shadow: 0 6px 18px rgba(32, 48, 60, 0.16);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.v2-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
}
.v2-bubble.is-new { transform: scale(0.9); opacity: 0.3; }
.v2-x {
  pointer-events: auto;
  position: absolute;
  top: -10px;
  right: -6px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--pale-bg);
  color: var(--navy);
  font: 700 18px/30px var(--body);
  cursor: pointer;
}
.v2-x:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.v2-buddy.is-off { display: none; }
.v2-buddy.is-moving .v2-bubble { opacity: 0; transform: scale(0.92); }
@media (max-width: 1239px) {
  .v2-buddy { top: auto; bottom: 10px; right: 10px; width: auto; transform: none; flex-direction: row; align-items: flex-end; }
  .v2-stage { width: 96px; height: 116px; }
  .v2-bubble { margin: 0 2px 70px 0; max-width: 190px; }
  .v2-bubble::after { left: auto; right: -6px; bottom: 16px; transform: rotate(45deg); }
  .v2-x { top: -14px; right: -4px; }
}

/* ---------- Variante 3: Acht Abende ---------- */
.v3-story { position: relative; height: 640vh; background: var(--v3-bg, var(--deep)); color: var(--white); }
.v3-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--gutter) 32px;
  box-sizing: border-box;
}
.v3-stage svg { width: 100%; height: auto; max-height: 72vh; }
.v3-text h2 { margin: 0 0 18px; font: 800 clamp(2rem, 4vw, 3.1rem)/1.05 var(--display); color: var(--white); }
.v3-abende { position: relative; list-style: none; margin: 0; padding: 0; min-height: 9.5em; }
.v3-abende li {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.v3-abende li.is-on { opacity: 1; transform: none; }
.v3-abende strong { display: block; margin-bottom: 6px; font: 700 1.05rem/1.2 var(--display); color: var(--accent); }
.v3-abende p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; color: var(--white); }
.v3-dots { display: flex; gap: 8px; margin-top: 26px; }
.v3-dots i { width: 28px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); transition: background 0.3s; }
.v3-dots i.on { background: var(--accent); }
@media (max-width: 760px) {
  .v3-story { height: 700vh; }
  .v3-sticky { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 8px; padding-top: 64px; }
  .v3-stage svg { max-height: 44vh; }
  .v3-text h2 { font-size: 1.7rem; margin-bottom: 10px; }
  .v3-abende { min-height: 8.2em; }
  .v3-abende p { font-size: 1.08rem; }
  .v3-dots { margin-top: 12px; }
}

/* ---------- Variante 4: Der Weg ---------- */
.v4-rail { position: fixed; z-index: 30; pointer-events: none; }
.v4-rail svg { width: 100%; height: 100%; overflow: visible; }
.v4-label { font: 600 12px/1 var(--body); fill: var(--muted); }
.v4-label.on { fill: var(--navy); font-weight: 700; }
.v4-side { left: 0; top: 70px; bottom: 16px; width: var(--v4-w, 140px); background: rgba(243, 246, 249, 0.94); border-radius: 0 20px 20px 0; box-shadow: 0 6px 24px rgba(32, 48, 60, 0.12); }
.v4-bottom {
  left: 0; right: 0; bottom: 0; height: 74px;
  background: rgba(243, 246, 249, 0.96);
  border-top: 1px solid var(--pale);
  backdrop-filter: blur(6px);
}
.v4-bottom .v4-now { position: absolute; left: 14px; top: 6px; font: 700 12px/1 var(--body); color: var(--navy); }
.tv-4.v4-has-bottom { padding-bottom: 74px; }

/* ---------- Variante 5: Alltag ---------- */
.v5-alltag { position: relative; height: 420vh; background: var(--pale-bg); }
.v5-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.v5-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; width: 100%; }
.v5-copy h2 { margin-top: 0; }
.v5-szenen { position: relative; list-style: none; margin: 18px 0 0; padding: 0; min-height: 13em; }
.v5-szenen li { position: absolute; inset: 0 0 auto 0; opacity: 0; transition: opacity 0.35s ease; }
.v5-szenen li.is-on { opacity: 1; }
.v5-szenen h3 { margin: 0 0 12px; font: 800 1.6rem/1.15 var(--display); color: var(--navy); }
.v5-zeile { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; transition: background 0.3s, color 0.3s; color: var(--muted); }
.v5-zeile b { font-weight: 700; }
.v5-zeile.is-on { background: var(--white); color: var(--ink); }
.v5-zeile.v5-spaeter.is-on b { color: var(--accent-dark); }
.v5-switch { display: flex; align-items: center; gap: 12px; margin-top: 18px; font: 600 0.95rem/1 var(--body); color: var(--muted); }
.v5-track { position: relative; width: 160px; height: 8px; border-radius: 4px; background: var(--pale); }
.v5-track i { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--navy); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.v5-steps { display: flex; gap: 6px; margin-top: 22px; }
.v5-steps i { width: 36px; height: 5px; border-radius: 3px; background: var(--pale); }
.v5-steps i.on { background: var(--navy); }
.v5-stage svg { width: 100%; height: auto; max-height: 70vh; }
@media (max-width: 760px) {
  .v5-alltag { height: 460vh; }
  .v5-sticky { align-items: flex-start; padding-top: 70px; box-sizing: border-box; }
  .v5-grid { grid-template-columns: 1fr; gap: 4px; }
  .v5-stage { order: -1; }
  .v5-stage svg { max-height: 36vh; }
  .v5-copy h2 { font-size: 1.5rem; margin-bottom: 0; }
  .v5-copy .section-lead { display: none; }
  .v5-szenen { margin-top: 8px; min-height: 12.5em; }
  .v5-szenen h3 { font-size: 1.25rem; margin-bottom: 8px; }
  .v5-zeile { grid-template-columns: 1fr; gap: 2px; font-size: 1rem; }
}

/* ---------- Variante 6: Nicht mehr allein auf der Bank ---------- */
.v6-bank { position: relative; height: 560vh; background: var(--gym); color: var(--white); }
.v6-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 70px var(--gutter) 24px; box-sizing: border-box; }
.v6-head { max-width: var(--wrap); width: 100%; margin: 0 auto; min-height: 7.4em; position: relative; }
.v6-head p {
  position: absolute; inset: 0 0 auto 0; margin: 0;
  font: 800 clamp(1.6rem, 3.6vw, 2.8rem)/1.1 var(--display);
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s;
}
.v6-head p.is-on { opacity: 1; transform: none; }
.v6-head p small { display: block; margin-top: 10px; font: 400 clamp(1rem, 1.6vw, 1.2rem)/1.45 var(--body); color: var(--pale); }
.v6-stage { max-width: var(--wrap); width: 100%; margin: 0 auto; }
.v6-stage svg { width: 100%; height: auto; max-height: 60vh; }
@media (max-width: 760px) {
  .v6-bank { height: 620vh; }
  .v6-head { min-height: 9.5em; }
  .v6-stage svg { max-height: 40vh; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-bubble, .v3-abende li, .v5-szenen li, .v6-head p { transition: none; }
}

/* Übersicht und Handy-Rahmen */
.tv-overview { max-width: 880px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.tv-overview h1 { font: 800 2.4rem/1.1 var(--display); color: var(--navy); }
.tv-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.tv-list li { padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--pale); }
.tv-list h2 { margin: 0 0 6px; font: 800 1.3rem/1.2 var(--display); color: var(--navy); }
.tv-list p { margin: 0 0 12px; color: var(--muted); }
.tv-list a { margin-right: 16px; font-weight: 700; color: var(--focus); }

.tv-sub { margin: 52px 0 6px; font: 800 1.8rem/1.15 var(--display); color: var(--navy); }
