/* ============================================================
   RANDORI PRO · Standort Spandau v2 „High End" — Politur-Schicht
   Additiv zu tokens.css + standort.css + spandau.css und zur
   geteilten v3-Schicht (standort-v3.css: Progress, Glas-Header,
   [data-rv]-Reveals, Kicker-Linien, Button-Glanz, Pfadlinie).
   Hier nur die Community-Sektionen (c-*). Keine neuen Farben,
   Schriften oder Komponenten. Aktiv ausschließlich unter body.v3.
   Alle Animationen respektieren prefers-reduced-motion.
   ============================================================ */

/* ── Glasleiste in warmem Dunkelrot (Community: nie Kühlschwarz) ── */
.v3 .s-header.is-scrolled { background: rgba(45, 8, 14, 0.74); }

/* ── Hero · Bildebene für Parallax (JS transformiert .c-hero__bg) ── */
.v3 .c-hero__bg { will-change: transform; }

/* ── Karten · sanfte Hover-Lifts ───────────────────────────── */
.v3 .c-feature { transition: transform 600ms var(--v3-ease), box-shadow 600ms var(--ease-standard); }
.v3 .c-feature:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -32px rgba(45, 8, 14, 0.55); }
.v3 .c-hood__media { transition: box-shadow 500ms var(--ease-standard); }
.v3 .c-hood__media:hover { box-shadow: 0 40px 100px -44px rgba(109, 23, 35, 0.6); }

/* ── Stimmen · echte Google-Zitate mit Symbolfoto (aus dem Dashboard) ── */
.v3 .c-voice__q { font-size: clamp(20px, 2.6vw, 34px); }
.c-voice__stars { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.c-voice__stars .st { color: var(--rp-rot-akzent); font-size: 15px; letter-spacing: 3px; }
.c-voice__stars .src { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rp-grau-muted); }
.c-voice__cap { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-anker); background: rgba(255,255,255,0.85); padding: 5px 10px; border-radius: 999px; }
.v3 .c-voice__portrait--ph span, .v3 .s-trainer__portrait--ph span { box-shadow: 0 6px 18px -10px rgba(45, 8, 14, 0.5); }

/* ============================================================
   MOMENTE-GALERIE · Gegenlauf-Scroll (Signatur-Effekt)
   Drei Spalten gleiten gegenläufig hinter einer klebenden Bühne,
   mittig der Google-Schnitt. JS (spandau-v3.js) transformiert die
   Spalten; ohne JS / bei reduced-motion bleibt ein statisches Raster.
   ============================================================ */
.s-gal { background: var(--rp-beige); color: var(--rp-tiefschwarz); }
.s-gal__head { max-width: 1480px; margin: 0 auto; padding: clamp(96px, 12vw, 150px) 40px clamp(44px, 5vw, 68px); }
.s-gal__h { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.0; letter-spacing: -0.03em; color: var(--c-anker); margin: 22px 0 0; max-width: 20ch; text-wrap: balance; }
.s-gal__stage { position: relative; height: 300vh; }
.s-gal__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.s-gal__sticky::before, .s-gal__sticky::after { content: ""; position: absolute; left: 0; right: 0; height: 12vh; z-index: 2; pointer-events: none; }
.s-gal__sticky::before { top: 0; background: linear-gradient(180deg, var(--rp-beige), transparent); }
.s-gal__sticky::after { bottom: 0; background: linear-gradient(0deg, var(--rp-beige), transparent); }
.s-gal__cols { position: absolute; inset: 0; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.s-gal__col { display: grid; gap: clamp(14px, 2vw, 28px); align-content: start; will-change: transform; }
.s-gal__tile { position: relative; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; }
.s-gal__col:nth-child(3) .s-gal__tile { aspect-ratio: 3/4.6; }
.s-gal__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--c-grade); }
.s-gal__tile b { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: rgba(45,8,14,0.62); padding: 7px 12px; border-radius: 999px; }
.s-gal__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: grid; justify-items: center; gap: 4px; text-align: center; background: var(--c-anker); color: #fff; border-radius: 999px; padding: 26px 44px; box-shadow: 0 30px 70px -30px rgba(45,8,14,0.6); }
.s-gal__badge b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.02em; }
.s-gal__badge b .star { color: var(--rp-rot-akzent); }
.s-gal__badge span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(212,201,181,0.85); }
@media (max-width: 768px) { .s-gal__head { padding: 90px 24px 36px; } .s-gal__cols { padding: 0 12px; gap: 8px; } .s-gal__col { gap: 8px; } .s-gal__tile b { display: none; } .s-gal__badge { padding: 18px 26px; } }
@media (prefers-reduced-motion: reduce) { .s-gal__stage { height: auto; } .s-gal__sticky { position: static; height: auto; padding: 20px 0 90px; } .s-gal__sticky::before, .s-gal__sticky::after { display: none; } .s-gal__cols { position: static; } .s-gal__col { transform: none !important; } }

/* ============================================================
   MOTION — nur bei prefers-reduced-motion: no-preference
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* Hero-Entrance · gestaffeltes Aufsteigen */
  .v3 .c-welcome { animation: sp-rise 800ms var(--v3-ease) 120ms backwards; }
  .v3 .c-hero .s-kicker { animation: sp-rise 900ms var(--v3-ease) 260ms backwards; }
  .v3 .c-hero .s-kicker::before { animation: sp-line 800ms var(--v3-ease) 620ms backwards; }
  .v3 .c-hero__h1 { animation: sp-rise 1000ms var(--v3-ease) 380ms backwards; }
  .v3 .c-hero__row { animation: sp-rise 1000ms var(--v3-ease) 560ms backwards; }

  /* Akzent · Community-Signatur: der Schriftzug zieht nach
     (die Avatar-Reihe davor ist im Oktober 2026 entfallen) */
  .v3 .c-welcome__txt { animation: sp-fade 700ms var(--ease-standard) 680ms backwards; }

  @keyframes sp-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes sp-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes sp-line { from { width: 0; } }

  /* Kennzahlen · Leitwert: „über"-Label folgt der hochzählenden Zahl */
  .v3 [data-rv].c-stat__lead .pre { opacity: 0; transition: opacity 700ms var(--ease-standard) 900ms; }
  .v3 [data-rv].is-in.c-stat__lead .pre { opacity: 1; }

  /* Nachbarschaft · Porträt setzt sich beim Reveal sanft (läuft einmal) */
  .v3 [data-rv].c-hood__media img { transform: scale(1.06); transition: transform 1000ms var(--v3-ease); }
  .v3 [data-rv].c-hood__media.is-in img { transform: scale(1); }
}
