/* Smash & Connect · Redesign 2.0 (25.11.2026)
   Liegt über sc-app.css. 3D-Szenen aus CSS, bewegte Icons, Zähler, Startseiten-Bausteine, ruhigere Finder. */

/* ---------- 3D-Szenen ---------- */
[data-s3] { position: relative; display: block; perspective: 1500px; pointer-events: none; }
.s3-cam { position: absolute; left: 50%; top: 54%; width: 0; height: 0; transform-style: preserve-3d; }
.s3-st { position: absolute; transform-style: preserve-3d; animation: v2spin 54s linear infinite; }
.s3-st.sw { animation: v2sway 13s ease-in-out infinite alternate; }
.s3 i, .s3 b { font-style: normal; }
.s3 .f { position: absolute; display: block; transform-style: preserve-3d; transform-origin: 0 0; }
.s3 .bb { position: absolute; left: 0; top: 0; width: 0; height: 0; display: block; transform-style: preserve-3d; animation: v2bb 54s linear infinite; }
.s3 .sw .bb { animation: v2bbsw 13s ease-in-out infinite alternate; }
.s3 .bb > * { position: absolute; display: block; }
.s3 .gl { background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 39px, rgba(255,255,255,.5) 39px 40px), linear-gradient(rgba(190,225,255,.12), rgba(190,225,255,.3)); border: 1.5px solid rgba(255,255,255,.7); box-sizing: border-box; }
.s3 .ms { background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 6px, rgba(255,255,255,.26) 6px 7px), repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 6px, rgba(255,255,255,.26) 6px 7px); border: 1.5px solid rgba(255,255,255,.55); box-sizing: border-box; }
.s3 .nt { background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 3px, rgba(255,255,255,.5) 3px 4px), repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 3px, rgba(255,255,255,.5) 3px 4px); border-bottom: 3px solid #fff; box-sizing: border-box; }
.s3 .sh { background: rgba(0,0,0,.4); filter: blur(22px); border-radius: 30px; }
.s3 .ball { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6ffb8, #c8f03a 55%, #8fb31e); }
.s3 .bsh { border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(2px); }
.s3 .win { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 8px, rgba(16,33,27,.7) 8px 20px, rgba(0,0,0,0) 20px 26px), repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 7px, #e9ede1 7px 14px); background-color: #f8faf3; }
.s3 .pool { background: linear-gradient(120deg, #3fc1d6, #1f8fd0, #3fc1d6, #6fd6e4, #1f8fd0); background-size: 300% 300%; animation: v2pool 6s linear infinite; border: 4px solid #fff; border-radius: 10px; box-sizing: border-box; }
.s3 .rng { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #c8f03a; animation: v2ping 2.4s ease-out infinite; }
.s3 .num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 26px/1 "Space Grotesk", sans-serif; }
.s3 .art { background: linear-gradient(#0e8c7a, #0e8c7a) 14px 14px/142px 78px no-repeat, linear-gradient(#10211b, #10211b) 14px 106px/110px 9px no-repeat, linear-gradient(#b9c4bb, #b9c4bb) 14px 126px/142px 5px no-repeat, linear-gradient(#b9c4bb, #b9c4bb) 14px 140px/128px 5px no-repeat, linear-gradient(#b9c4bb, #b9c4bb) 14px 154px/136px 5px no-repeat, linear-gradient(#c8f03a, #c8f03a) 14px 180px/64px 20px no-repeat, #fff; }
.s3 .flt { animation: v2fz 5s ease-in-out infinite; } .s3 .flt.b { animation-delay: -1.6s; } .s3 .flt.c { animation-delay: -3.2s; }
.s3 .v2-blink { animation: v2blink 1.8s ease-in-out infinite; }
.s3.v2-off *, .s3.v2-still * { animation-play-state: paused !important; }
@keyframes v2spin { from { transform: rotateZ(-38deg); } to { transform: rotateZ(322deg); } }
@keyframes v2bb { from { transform: rotateZ(38deg) rotateX(-58deg); } to { transform: rotateZ(-322deg) rotateX(-58deg); } }
@keyframes v2sway { from { transform: rotateZ(-52deg); } to { transform: rotateZ(-16deg); } }
@keyframes v2bbsw { from { transform: rotateZ(52deg) rotateX(-58deg); } to { transform: rotateZ(16deg) rotateX(-58deg); } }
@keyframes v2pool { to { background-position: 300% 0; } }
@keyframes v2ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes v2fz { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(14px); } }
@keyframes v2blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes v2float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero-Szene (per JS rechts eingesetzt, nur Desktop) */
.v2-hero-art { position: absolute; z-index: 1; pointer-events: none; animation: sc-rise .8s var(--sc-out, ease) both; }

/* ---------- Bewegte Icons (Sprite) ---------- */
.v2-a { transform-box: fill-box; transform-origin: 50% 50%; }
.v2-bob { animation: v2i-bob 2.6s ease-in-out infinite; }
.v2-wig { animation: v2i-wig 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.v2-slide { animation: v2i-slide 2.4s ease-in-out infinite; }
.v2-pulse { animation: v2i-pulse 2.2s ease-in-out infinite; }
.v2-fly { animation: v2i-fly 3s ease-in-out infinite; }
.v2-tilt { animation: v2i-tilt 4s ease-in-out infinite; transform-origin: 50% 90%; }
.v2-roll { animation: v2i-roll 6s linear infinite; }
.v2-blk { animation: v2blink 1.8s ease-in-out infinite; }
@keyframes v2i-bob { 0%, 55%, 100% { transform: translateY(0); } 28% { transform: translateY(-2.5px); } }
@keyframes v2i-wig { 0%, 55%, 100% { transform: rotate(0); } 12% { transform: rotate(-12deg); } 26% { transform: rotate(9deg); } 40% { transform: rotate(-4deg); } }
@keyframes v2i-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2.5px); } }
@keyframes v2i-pulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.12); } }
@keyframes v2i-fly { 0%, 100% { transform: translate(-1.5px, 1.5px); } 50% { transform: translate(1.5px, -1.5px); } }
@keyframes v2i-tilt { 0%, 60%, 100% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 40% { transform: rotate(4deg); } }
@keyframes v2i-roll { to { transform: rotate(360deg); } }

/* ---------- Startseite und Sport-Hubs ---------- */
.v2-art { position: relative; min-height: 440px; }
.v2-art [data-s3] { position: absolute; inset: 0; }
.v2-tip { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; max-width: 300px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(244,246,239,.97); color: #10211b; box-shadow: 0 14px 34px rgba(0,0,0,.3); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.25; animation: v2float 6s ease-in-out infinite; }
.v2-tip:hover { color: #10211b; background: #fff; }
.v2-tip b { display: block; font: 700 15px/1.2 "Space Grotesk", sans-serif; }
.v2-tip > span:last-child { min-width: 0; }
.v2-tip small { display: block; font-weight: 600; color: #4c5a54; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.v2-tip-i { width: 44px; height: 44px; border-radius: 14px; background: #c8f03a; display: grid; place-items: center; flex: none; }
.v2-tip-i svg { width: 22px; height: 22px; }
.v2-tip-i.d { background: #10211b; color: #c8f03a; }
.v2-tip.t1 { left: 0; top: 6%; }
.v2-tip.t2 { right: 0; bottom: 8%; animation-delay: -3s; }

.v2-band { position: relative; z-index: 3; margin-top: -34px; }
.v2-band-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; background: #fff; border: 1px solid rgba(16,33,27,.08); border-radius: 28px; padding: 24px 28px; box-shadow: 0 10px 30px rgba(16,33,27,.08); }
.v2-st { display: flex; gap: 14px; align-items: center; min-width: 0; text-decoration: none; color: #10211b; }
.v2-st:hover { color: #10211b; }
.v2-st-i { width: 54px; height: 54px; border-radius: 17px; background: #c8f03a; color: #10211b; display: grid; place-items: center; flex: none; }
.v2-st-i svg { width: 26px; height: 26px; }
.v2-st-n { display: block; font: 700 30px/1 "Space Grotesk", sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.v2-st-l { display: block; font-size: 13.5px; color: #4c5a54; font-weight: 600; line-height: 1.3; margin-top: 4px; }

/* Nächste Termine: Details-Link auf allen Geräten */
.sc-next li { grid-template-columns: 58px minmax(0, 1fr) auto; }
.sc-next .hm-btn { display: inline-flex; }
.v2-nextsec li { box-shadow: none; border: 1px solid rgba(16,33,27,.08); }

/* Sport-Hubs: großes Hintergrund-Icon weicht der 3D-Szene */
.sh-hero .sh-hero-art { display: none; }
.sc-next:not(.v2-nextsec) > .wrap > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 899px) { .sc-next:not(.v2-nextsec) > .wrap > ul { grid-template-columns: minmax(0, 1fr); } }

/* Finder-Karten: 3D statt Foto */
.hm-finders.v2-finders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.hm-finders.v2-finders .hm-finder, .hm-finders.v2-finders .hm-finder-wide { grid-column: auto; grid-row: auto; flex-direction: column; }
.v2-finders .hm-finder-img { position: relative; display: block; height: 190px; aspect-ratio: auto; background: #16302a; overflow: hidden; }
.v2-finders .hm-finder-img > img { display: none; }
.v2-finders .hm-finder-img [data-s3] { position: absolute; inset: 0; }
.v2-finders .hm-finder-ic { position: absolute; left: 12px; top: 12px; z-index: 2; }
.v2-n { position: absolute; right: 12px; top: 14px; z-index: 2; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(16,33,27,.78); color: #fff; font: 800 12px/28px Manrope, sans-serif; }

/* Nächste Turniere mit Monatsbalken */
.v2-next { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.v2-next > .v2-list { background: #fff; border: 1px solid rgba(16,33,27,.08); border-radius: 28px; padding: 22px 26px; }
.v2-next .hm-head-row { margin-bottom: 6px; }
.v2-next ul { list-style: none; margin: 0; padding: 0; }
.v2-cal { background: #10211b; color: #eef3ea; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.v2-cal-k { font: 700 12px "Space Grotesk", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #c8f03a; margin: 0; }
.v2-cal h3 { color: #fff; margin: 4px 0 0; font-size: 20px; }
.v2-bars { display: flex; align-items: flex-end; gap: 14px; height: 170px; margin: 0; padding: 0; list-style: none; }
.v2-cal .v2-bars li { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; min-height: 0; border-radius: 0; }
.v2-bars li { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; font: 700 13px Manrope, sans-serif; color: #a9b8af; }
.v2-bars li b { font: 700 18px "Space Grotesk", sans-serif; color: #fff; }
.v2-bars li i { display: block; width: 100%; border-radius: 12px 12px 4px 4px; background: #c8f03a; transform-origin: 50% 100%; }
.v2-bars li i { transition: transform 1.2s var(--sc-out, ease); }
.v2-bars.v2-pre li i { transform: scaleY(0); }
.v2-bars.v2-pre.v2-in li i { transform: none; }
.v2-cal p { margin: 0; font-size: 12.5px; color: #a9b8af; }

/* Sportarten-Kacheln mit Feld */
.v2-sports .hm-city { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.v2-sports .v2-court { display: block; height: 150px; background: #16302a; position: relative; }
.v2-sports .v2-court [data-s3] { position: absolute; inset: 0; }
.v2-sports .hm-city-body { padding: 14px 16px 16px; }

/* Partner-Box mit Villa */
.hm-partner .v2-villa { display: block; height: 170px; margin: -8px 0 6px; position: relative; }
.hm-partner .v2-villa [data-s3] { position: absolute; inset: 0; }

/* Werkzeuge: Icon-Kacheln */
.sc-tools.v2-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v2-tools .sc-tool { flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- Plätze-Übersicht: Stadtplan über dem Nähe-Kasten ---------- */
.vh-index .v2-vh-art { height: 300px; margin: -40px 0 4px; position: relative; }
.vh-index .v2-vh-art [data-s3] { position: absolute; inset: 0; }

/* ---------- Hotels: Resort statt Kachelraster ---------- */
.hh-index .v2-hh-art { height: 300px; margin: -24px 0 6px; position: relative; }
.hh-index .v2-hh-art [data-s3] { position: absolute; inset: 0; }
.hh-index .hh-top-grid.v2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-index .v2-chips .hh-top-btn { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; width: auto; background: rgba(238,243,234,.08); border: 1px solid rgba(238,243,234,.22); color: #eef3ea; text-decoration: none; }
.hh-index .v2-chips .hh-top-btn:hover { background: #c8f03a; color: #10211b; border-color: #c8f03a; }
.hh-index .v2-chips .hh-top-btn:hover span::before { color: #10211b; }
.hh-index .v2-hh-art + .hh-top-k { margin-top: 10px; }
.hh-index .v2-chips .hh-top-btn strong { font-size: 14px; }
.hh-index .v2-chips .hh-top-btn span { font-size: 0; }
.hh-index .v2-chips .hh-top-btn span::before { content: attr(data-n); font: 800 13px Manrope, sans-serif; color: #c8f03a; }

/* ---------- 3D statt fehlender Fotos ---------- */
.vc-ph.v2-ph { background: #16302a; color: #c9d4cd; justify-content: flex-end; padding-bottom: 10px; }
.vc-ph.v2-ph > svg { display: none; }
.vc-ph.v2-ph > span:not(.v2-ph3d) { position: relative; z-index: 2; background: rgba(16,33,27,.78); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11.5px; }
.v2-ph3d { position: absolute; inset: 0; }

/* ---------- Ruhigere Filter ---------- */
.v2-more { display: none !important; }
.v2-open .v2-more { display: inline-flex !important; }
.v2-more-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px dashed rgba(16,33,27,.28); background: #fff; color: #10211b; font: 700 14px Manrope, sans-serif; cursor: pointer; white-space: nowrap; }
.v2-more-btn svg { width: 18px; height: 18px; }
.v2-more-btn:hover { border-style: solid; }
.event-filter .finder-toolbar-row-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.event-filter .finder-toolbar-row-filters .finder-toolbar-pair { display: contents; }
.event-filter .finder-toolbar-row-filters .finder-toolbar-item { width: 100%; max-width: none; margin: 0; justify-content: flex-start; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .hm-finders.v2-finders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-next { grid-template-columns: minmax(0, 1fr); }
  .sc-tools.v2-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .v2-art { min-height: 260px; margin: 8px -8px -10px; }
  .v2-tip.t2 { display: none; }
  .v2-tip.t1 { top: auto; bottom: 0; left: 8px; }
  .v2-band-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; gap: 16px; }
  .v2-st-i { width: 44px; height: 44px; border-radius: 14px; }
  .v2-st-n { font-size: 25px; }
  .hm-finders.v2-finders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .v2-finders .hm-finder-img { height: 130px; }
  .vh-index .v2-vh-art, .hh-index .v2-hh-art { display: none; }
  .event-filter .finder-toolbar-row-filters { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (max-width: 520px) {
  .sc-tools.v2-tools { grid-template-columns: minmax(0, 1fr); }
  .v2-next > .v2-list { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-a, .s3 *, .v2-tip, .v2-hero-art { animation: none !important; }
  .v2-bars li i { transform: none !important; transition: none; }
}
