/* =====================================================================
   VAMOS PADEL CLUB — LUXE LAYER
   Loaded after styles.css. Adds: Great Vibes script, motion utilities,
   3D canvas, and the elevated "real content" sections.
   ===================================================================== */

:root {
  --ff-script: 'Great Vibes', 'Tangerine', cursive;
  --gold-grad: linear-gradient(100deg, #b8975a 0%, #e8d29a 42%, #c3a96d 60%, #f2e4bd 100%);
}

/* ---------- script accents ---------- */
.script, .script-xl, .script-eyebrow {
  font-family: var(--ff-script);
  font-weight: 400;
  color: var(--gold);
}
.script-eyebrow {
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
  display: inline-block;
}
/* gold shimmer sweep on key script words */
.shimmer {
  background: var(--gold-grad);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* ---------- motion primitives (GSAP drives; these are fallbacks/base) ---------- */
.clip-reveal { clip-path: inset(0 0 100% 0); }
.will-float { will-change: transform; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 7s ease-in-out infinite; }

/* magnetic buttons get a smooth transform */
.btn.magnetic { will-change: transform; }

/* section entrance for gsap batch (base hidden state only when JS present) */
.js .anim-up { opacity: 0; transform: translateY(38px); }
.js .anim-fade { opacity: 0; }
.js .anim-scale { opacity: 0; transform: scale(.94); }
.js .anim-left { opacity: 0; transform: translateX(-42px); }
.js .anim-right { opacity: 0; transform: translateX(42px); }

@media (prefers-reduced-motion: reduce) {
  .js .anim-up, .js .anim-fade, .js .anim-scale, .js .anim-left, .js .anim-right { opacity: 1 !important; transform: none !important; }
  .shimmer { animation: none; }
  .floaty { animation: none; }
}

/* =====================================================================
   3D COURT CANVAS
   ===================================================================== */
.court3d-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(38,86,64,.55), rgba(9,22,16,.96)),
    var(--green-deep);
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), inset 0 0 120px rgba(9,22,16,.6);
}
.court3d-wrap canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.court3d-wrap .c3d-fallback { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.court3d-wrap .c3d-cap {
  position: absolute; left: 22px; bottom: 20px; z-index: 3;
  font-family: var(--ff-sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft);
}
.court3d-wrap .c3d-tag {
  position: absolute; right: 20px; top: 20px; z-index: 3;
}
/* hero webgl layer */
.hero-webgl { position: absolute; inset: 0; z-index: -1; opacity: .0; transition: opacity 1.6s ease; pointer-events: none; }
.hero-webgl.on { opacity: .55; }
.hero-webgl canvas { width: 100% !important; height: 100% !important; }

/* =====================================================================
   ANIMATED DIAGRAM UPGRADE (kills the flat green box look)
   ===================================================================== */
.diagram {
  position: relative;
  background:
    radial-gradient(130% 100% at 20% 0%, rgba(46,88,68,.5), rgba(11,26,20,0) 60%),
    linear-gradient(160deg, #123024, #0c1f18 70%);
  border: 1px solid var(--line-gold);
  box-shadow: 0 30px 70px -46px rgba(0,0,0,.85), inset 0 1px 0 rgba(239,231,212,.05);
  overflow: hidden;
}
.diagram::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195,169,109,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,169,109,.05) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
}
.diagram svg { position: relative; z-index: 1; }
/* stroke draw-on for court lines */
.diagram .draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); }
.diagram.in .draw { animation: dash 1.5s var(--ease) forwards; }
.diagram .draw.d2 { animation-delay: .35s; }
.diagram .draw.d3 { animation-delay: .7s; }
@keyframes dash { to { stroke-dashoffset: 0; } }
/* travelling ball along a path */
.diagram .ball-travel { offset-path: var(--op); animation: travel 3.4s var(--ease) infinite; opacity: 0; }
.diagram.in .ball-travel { opacity: 1; }
@keyframes travel { 0% { offset-distance: 0%; } 70% { offset-distance: 100%; } 100% { offset-distance: 100%; opacity: 1; } }
.diagram .glow { filter: drop-shadow(0 0 5px rgba(195,169,109,.5)); }
@media (prefers-reduced-motion: reduce) {
  .diagram .draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .diagram .ball-travel { animation: none !important; opacity: 1 !important; }
}

/* =====================================================================
   ROADMAP / TIMELINE  (turns "outdoor summer 2026" into a premium story)
   ===================================================================== */
.roadmap { position: relative; display: grid; gap: 0; margin-top: 40px; }
.rm-line { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-gold), rgba(195,169,109,.05)); }
.rm-item { position: relative; padding: 0 0 34px 64px; }
.rm-item:last-child { padding-bottom: 0; }
.rm-dot { position: absolute; left: 12px; top: 4px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold); background: var(--green-deep); display: grid; place-items: center; }
.rm-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.rm-item.now .rm-dot { box-shadow: 0 0 0 6px rgba(195,169,109,.14); animation: pulseDot 2.6s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 12px rgba(195,169,109,.05); } }
.rm-when { font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.rm-title { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--ivory); margin: 6px 0 8px; }
.rm-item p { color: rgba(247,242,231,.72); font-weight: 300; max-width: 52ch; }

/* =====================================================================
   PARTNER WALL (typographic wordmarks — no logo files needed)
   ===================================================================== */
.partner-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pw-cell { background: var(--green-deep); min-height: 132px; display: grid; place-items: center; text-align: center; padding: 22px; transition: background .5s var(--ease), transform .5s var(--ease); }
.pw-cell:hover { background: #122c22; }
.pw-name { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.35rem); letter-spacing: .06em; color: var(--cream); line-height: 1.15; }
.pw-name small { display: block; font-family: var(--ff-sans); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-top: 8px; }
.pw-cell.wilson .pw-name { color: var(--gold); font-style: italic; }
@media (max-width: 900px){ .partner-wall { grid-template-columns: repeat(2,1fr); } }

/* =====================================================================
   GOOGLE REVIEWS
   ===================================================================== */
.reviews-head { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 8px; }
.g-stars { display: inline-flex; gap: 3px; }
.g-stars svg { width: 22px; height: 22px; }
.rev-score { font-family: var(--ff-display); font-size: 2.4rem; color: var(--ivory); line-height: 1; }
.rev-meta { font-family: var(--ff-sans); font-size: .8rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.review-card { background: linear-gradient(160deg, #12301f, #0e2419); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 26px; }
.review-card .rc-stars { display: inline-flex; gap: 2px; margin-bottom: 14px; }
.review-card .rc-stars svg { width: 16px; height: 16px; }
.review-card blockquote { font-family: var(--ff-display); font-style: italic; font-size: 1.24rem; line-height: 1.4; color: var(--cream); }
.review-card .rc-who { margin-top: 18px; font-family: var(--ff-sans); font-size: .82rem; letter-spacing: .04em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.review-card .rc-g { width: 18px; height: 18px; }

/* =====================================================================
   SERVICES / AUSSTATTUNG GRID (8 items)
   ===================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc { background: rgba(18,44,34,.5); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease); }
.svc:hover { transform: translateY(-4px); border-color: var(--line-gold); background: rgba(18,44,34,.9); }
.svc .svc-ico { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.svc .svc-ico svg { width: 100%; height: 100%; }
.svc h4 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--ivory); margin-bottom: 4px; }
.svc p { font-size: .84rem; color: rgba(247,242,231,.66); font-weight: 300; }
.svc .svc-price { font-family: var(--ff-display); font-style: italic; color: var(--gold); font-size: .95rem; margin-top: 6px; }
@media (max-width: 980px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }

/* =====================================================================
   WILSON TEST RACKETS
   ===================================================================== */
.racket-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.racket-card { position: relative; border: 1px solid var(--line-gold); border-radius: var(--radius-lg); padding: 32px 28px; background: linear-gradient(165deg, #123024, #0b1d16); overflow: hidden; text-align: center; }
.racket-card::after { content: ""; position: absolute; inset: -1px; background: radial-gradient(60% 40% at 50% 0%, rgba(195,169,109,.14), transparent 70%); pointer-events: none; }
.racket-shape { width: 78px; height: 108px; margin: 0 auto 18px; position: relative; }
.racket-brand { font-family: var(--ff-sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.racket-name { font-family: var(--ff-display); font-size: 1.6rem; color: var(--ivory); margin: 2px 0 8px; }
.racket-card p { font-size: .86rem; color: rgba(247,242,231,.68); font-weight: 300; }
@media (max-width: 820px){ .racket-row { grid-template-columns: 1fr; } }

/* =====================================================================
   COMMUNITY BAND (WhatsApp)
   ===================================================================== */
.community-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px,6vw,72px); border: 1px solid var(--line-gold); background: linear-gradient(150deg, #143b2a, #0c2118); text-align: center; }
.community-band .cb-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; }
.community-band > * { position: relative; z-index: 1; }
.wa-badge { display: inline-flex; align-items: center; gap: 10px; }

/* =====================================================================
   FIRMENFITNESS STEPS
   ===================================================================== */
.ff-nets { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ff-net { border: 1px solid var(--line-gold); border-radius: 100px; padding: 10px 22px; font-family: var(--ff-display); font-size: 1.05rem; color: var(--cream); letter-spacing: .04em; }

/* =====================================================================
   "SOON" BADGE + peak/offpeak pill
   ===================================================================== */
.badge-soon { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #0c1f18; background: var(--gold); padding: 5px 12px; border-radius: 100px; font-weight: 500; }
.pill-time { display: inline-flex; gap: 8px; align-items: baseline; font-family: var(--ff-sans); font-size: .8rem; color: var(--muted); }
.pill-time b { color: var(--ivory); font-weight: 500; }

/* =====================================================================
   WELCOME BLOCK (big Great Vibes)
   ===================================================================== */
.welcome-script { font-family: var(--ff-script); font-size: clamp(3rem, 9vw, 7rem); line-height: .8; color: var(--gold); }

/* =====================================================================
   HERO ENTRANCE — pure CSS so the first impression never waits on JS
   ===================================================================== */
.hero .hero-rule, .hero .hero-sub, .hero .hero-cta { opacity: 0; animation: heroFade 1s var(--ease) forwards; }
.hero .hero-rule { animation-delay: .15s; }
.hero .hero-sub { animation-delay: 1.0s; }
.hero .hero-cta { animation-delay: 1.3s; }
.hero .h-hero .ln > span { transform: translateY(112%); animation: heroUp 1.05s var(--ease) forwards; }
.hero .h-hero .ln:nth-child(1) > span { animation-delay: .35s; }
.hero .h-hero .ln:nth-child(2) > span { animation-delay: .55s; }
@keyframes heroFade { to { opacity: 1; } }
@keyframes heroUp { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-rule, .hero .hero-sub, .hero .hero-cta { opacity: 1; animation: none; }
  .hero .h-hero .ln > span { transform: none; animation: none; }
}

/* section separators */
.sep-diamond { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); }
.sep-diamond span.l { height: 1px; width: clamp(40px,10vw,120px); background: linear-gradient(90deg, transparent, var(--line-gold)); }
.sep-diamond span.l.r { background: linear-gradient(90deg, var(--line-gold), transparent); }

/* =====================================================================
   INTERACTIVE COURT EXPLAINER  (replaces the fake-3D spinning court)
   Genuinely interactive: tap a step, the court highlights + ball plays it.
   ===================================================================== */
.court-x { position: relative; }
.cx-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(38,86,64,.5), rgba(9,22,16,.98)),
    var(--green-deep);
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), inset 0 0 120px rgba(9,22,16,.55);
}
.cx-stage::before { /* soft court grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195,169,109,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,169,109,.045) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: radial-gradient(85% 85% at 50% 42%, #000, transparent);
}
.cx-svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 7%; }
.cx-wall { fill: rgba(46,88,68,.12); stroke: var(--gold); stroke-width: 2.4; opacity: .55; transition: opacity .5s var(--ease), stroke-width .5s var(--ease), filter .5s; }
.cx-lines line { stroke: var(--gold); stroke-width: 1.4; opacity: .5; }
.cx-net { stroke: var(--cream); stroke-width: 2; stroke-dasharray: 3 5; opacity: .8; }
/* highlight overlays (hidden by default, shown per step) */
.cx-hi { opacity: 0; transition: opacity .55s var(--ease); pointer-events: none; }
.cx-hi-walls { fill: none; stroke: var(--gold-soft); stroke-width: 4; filter: drop-shadow(0 0 6px rgba(195,169,109,.55)); }
.cx-hi-serve rect { fill: rgba(195,169,109,.13); stroke: var(--gold-soft); stroke-width: 1.2; }
.cx-hi-serve .cx-serve-box { fill: rgba(195,169,109,.18); stroke: var(--gold-soft); stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(195,169,109,.35)); }
.cx-hi-serve .cx-serve-zone { fill: rgba(239,231,212,.06); stroke: var(--cream); stroke-width: 1; stroke-dasharray: 4 4; }
.court-x[data-step="1"] .cx-hi-walls { opacity: 1; }
.court-x[data-step="1"] .cx-wall { opacity: .95; stroke-width: 3; }
.court-x[data-step="2"] .cx-hi-serve { opacity: 1; }
/* the ball */
.cx-ball { fill: var(--cream); filter: drop-shadow(0 0 7px rgba(239,231,212,.6)); }
.court-x[data-step="3"] .cx-ball { opacity: 0; transition: opacity .4s; }
/* score readout for the scoring step */
.cx-score {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  font-family: var(--ff-display); color: var(--cream); z-index: 3;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease);
}
.cx-score b { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; opacity: .55; }
.cx-score b.win { color: var(--gold); opacity: 1; }
.cx-score i { color: var(--gold-soft); font-style: normal; opacity: .5; }
.court-x[data-step="3"] .cx-score { opacity: 1; visibility: visible; }
.court-x[data-step="3"] .cx-score b { animation: cxCount .5s var(--ease) both; }
.court-x[data-step="3"] .cx-score b:nth-of-type(2) { animation-delay: .12s; }
.court-x[data-step="3"] .cx-score b:nth-of-type(3) { animation-delay: .24s; }
.court-x[data-step="3"] .cx-score b:nth-of-type(4) { animation-delay: .36s; }
@keyframes cxCount { from { opacity: 0; transform: translateY(8px); } }
/* interactive badge */
.cx-badge {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line-gold); border-radius: 100px;
  font-family: var(--ff-sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft);
  background: rgba(9,22,16,.5); backdrop-filter: blur(4px);
}
.cx-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: pulseDot 2.2s ease-in-out infinite; }
/* step buttons */
.cx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.cx-step {
  font-family: var(--ff-sans); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream-text); background: transparent; cursor: pointer;
  padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s, color .4s, background .4s, transform .4s var(--ease);
}
.cx-step:hover { border-color: var(--line-gold); color: var(--gold); }
.cx-step.is-active { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.cx-cap {
  margin-top: 18px; min-height: 4.6em;
  color: rgba(247,242,231,.82); font-weight: 300; line-height: 1.7; font-size: 1rem;
}
@media (max-width: 560px){
  .cx-steps { grid-template-columns: repeat(2, 1fr); }
  .cx-cap { min-height: 6em; }
}
@media (prefers-reduced-motion: reduce){
  .cx-badge .dot { animation: none; }
  .court-x[data-step="3"] .cx-score b { animation: none; }
}

/* =====================================================================
   STORY TIMELINE  (replaces the thin 3-dot roadmap strand)
   ===================================================================== */
.timeline { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--gold-deep), rgba(169,140,77,.12)); }
.tl-item { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 0 0 40px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  position: relative; align-self: start; padding-left: 26px;
  font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; padding-top: 3px; white-space: nowrap;
}
.tl-year::before { /* node on the spine */
  content: ""; position: absolute; left: -1px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--gold-deep); background: var(--ivory); box-sizing: border-box;
}
.tl-item.now .tl-year::before { border-color: var(--green); box-shadow: 0 0 0 5px rgba(28,66,50,.16); animation: pulseNode 2.6s ease-in-out infinite; }
.tl-item.now .tl-year::after { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tl-item.next .tl-year::before { border-style: dashed; }
@keyframes pulseNode { 50% { box-shadow: 0 0 0 10px rgba(28,66,50,.05); } }
.tl-body { padding-top: 1px; }
.tl-flag {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 100px;
  font-family: var(--ff-sans); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--green); color: var(--ivory);
}
.tl-flag.soon { background: transparent; color: var(--gold-deep); border: 1px solid var(--gold-deep); }
.tl-title { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.2vw, 1.85rem); color: var(--ink-green); margin: 0 0 8px; line-height: 1.1; }
.tl-item p { color: var(--muted-cream); font-weight: 300; line-height: 1.7; max-width: 54ch; margin: 0; }
@media (max-width: 560px){
  .tl-item { grid-template-columns: 74px 1fr; gap: 14px; }
  .tl-year { padding-left: 22px; font-size: .66rem; }
}

/* =====================================================================
   BOOKING — CALENDAR (real month picker, replaces the day scroller)
   ===================================================================== */
.cal { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(14px,2vw,20px); background: rgba(9,22,16,.35); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-title { font-family: var(--ff-display); font-size: clamp(1.1rem,1.6vw,1.35rem); color: var(--ivory); letter-spacing: .02em; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-gold); background: transparent; color: var(--gold); font-size: 1.3rem; line-height: 1; display: grid; place-items: center; transition: background .35s var(--ease), color .35s, transform .3s; }
.cal-nav:hover:not(:disabled) { background: var(--gold); color: var(--green-deep); }
.cal-nav:active:not(:disabled) { transform: scale(.92); }
.cal-nav:disabled { opacity: .25; cursor: not-allowed; }
.cal-dows { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-bottom: 8px; }
.cal-dows span { text-align: center; font-family: var(--ff-sans); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cal-pad { aspect-ratio: 1; }
.cal-day { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; background: var(--green); color: var(--cream-text); font-family: var(--ff-sans); font-size: .95rem; display: grid; place-items: center; transition: border-color .3s, background .3s, color .3s, transform .25s var(--ease); }
.cal-day:hover:not(:disabled):not(.is-off) { border-color: var(--gold); transform: translateY(-2px); }
.cal-day.is-today { border-color: var(--line-gold); color: var(--gold); font-weight: 500; }
.cal-day.is-active { background: var(--gold); border-color: var(--gold); color: var(--green-deep); font-weight: 600; }
.cal-day.is-off { opacity: .22; cursor: not-allowed; }
@media (max-width: 560px){ .cal-day { border-radius: 10px; font-size: .86rem; } .cal-grid, .cal-dows { gap: 4px; } }

/* =====================================================================
   BOOKING — TIME SLOTS with live availability
   ===================================================================== */
.time-legend { display: flex; gap: 18px; margin-bottom: 14px; }
.time-legend span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-sans); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.time-legend .lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.time-legend .lg-free { background: #a8d5b5; }
.time-legend .lg-few { background: var(--gold); }
.time-legend .lg-busy { background: var(--line-2); }
.time-grid { grid-template-columns: repeat(auto-fill, minmax(92px,1fr)); }
.time-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 6px; text-decoration: none; }
.time-cell .tc-time { font-family: var(--ff-sans); font-size: .95rem; color: var(--cream-text); }
.time-cell .tc-av { font-family: var(--ff-sans); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.time-cell.is-free .tc-av { color: #a8d5b5; }
.time-cell.is-few .tc-av { color: var(--gold-soft); }
.time-cell.is-busy { opacity: .4; text-decoration: none; }
.time-cell.is-busy .tc-av { color: var(--muted); }
.time-cell.active { background: var(--gold); border-color: var(--gold); }
.time-cell.active .tc-time { color: var(--green-deep); }
.time-cell.active .tc-av { color: rgba(20,52,38,.72); }

/* =====================================================================
   BOOKING — Spieler & Schläger rows, tier badge, price breakdown
   ===================================================================== */
.player-row .pr-lead { display: flex; flex-direction: column; gap: 3px; }
.player-row .pr-lead b { font-family: var(--ff-display); font-size: 1.15rem; color: var(--ivory); font-weight: 500; }
.player-row .pr-lead .pr-hint { color: var(--muted); font-size: .82rem; font-weight: 300; max-width: 34ch; }
.extra-row { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }

.sum-tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 14px; padding: 9px 14px; border-radius: var(--radius); font-family: var(--ff-sans); }
.sum-tier span:first-child { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.sum-tier span:last-child { font-size: .72rem; color: var(--muted); }
.sum-tier.is-peak { background: rgba(195,169,109,.14); border: 1px solid var(--line-gold); }
.sum-tier.is-peak span:first-child { color: var(--gold); }
.sum-tier.is-off { background: rgba(168,213,181,.08); border: 1px solid rgba(168,213,181,.25); }
.sum-tier.is-off span:first-child { color: #a8d5b5; }

.sum-break { display: grid; gap: 8px; margin: 4px 0 6px; }
.sum-break:not(:empty) { padding-bottom: 14px; }
.br-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.br-line span:first-child { font-family: var(--ff-sans); font-size: .84rem; font-weight: 300; color: var(--cream-text); opacity: .82; }
.br-line span:last-child { font-family: var(--ff-sans); font-size: .9rem; color: var(--ivory); white-space: nowrap; }

/* =====================================================================
   PARTNER WALL — real sponsor logos (monochrome white on dark cells)
   ===================================================================== */
.pw-logo { max-height: 52px; max-width: 66%; width: auto; height: auto; object-fit: contain; opacity: .85; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pw-logo.wide { max-height: 44px; max-width: 78%; }
.pw-cell:hover .pw-logo { opacity: 1; transform: scale(1.05); }
@media (max-width: 560px){ .pw-logo { max-height: 40px; } .pw-logo.wide { max-height: 34px; } }

/* =====================================================================
   BOOKING MODAL — channel choice (website vs Playtomic)
   ===================================================================== */
.m-choice { display: grid; gap: 10px; margin-top: 2px; }
.m-note { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-top: 14px; }

/* =====================================================================
   GUTSCHEIN — hero pill + configurator
   ===================================================================== */
.voucher-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 11px 22px; border: 1px solid var(--line-gold); border-radius: 100px; font-family: var(--ff-sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); transition: background .45s var(--ease), color .45s, gap .45s var(--ease); }
.voucher-pill:hover { background: var(--gold); color: var(--green-deep); gap: 15px; }

.voucher { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
@media (max-width: 880px){ .voucher { grid-template-columns: 1fr; gap: 40px; } }
.voucher-perks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 13px; }
.voucher-perks li { position: relative; padding-left: 30px; color: var(--cream-text); font-weight: 300; }
.voucher-perks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 13px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.voucher-card { background: var(--green-deep); border: 1px solid var(--line-gold); border-radius: var(--radius-lg); padding: clamp(18px,2.6vw,28px); box-shadow: 0 44px 100px -54px rgba(0,0,0,.92); }
.vc-preview { position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 24px; background: linear-gradient(135deg,#16342a,#0b1c15); border: 1px solid var(--line-gold); }
.vcp-shine { position: absolute; inset: 0; background: radial-gradient(120% 90% at 82% -12%, rgba(195,169,109,.28), transparent 58%); pointer-events: none; }
.vcp-top { position: relative; display: flex; align-items: baseline; justify-content: space-between; }
.vcp-brand { font-family: var(--ff-display); font-weight: 600; letter-spacing: .16em; color: var(--ivory); font-size: 1.25rem; }
.vcp-kind { font-family: var(--ff-sans); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.vcp-amount { position: relative; font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.4rem,6vw,3.3rem); color: var(--gold); line-height: 1; margin: 20px 0 16px; }
.vcp-row { position: relative; display: flex; align-items: center; justify-content: space-between; }
.vcp-for { font-family: var(--ff-script); font-size: 1.55rem; color: var(--cream); }
.vcp-logo { color: var(--gold-soft); opacity: .7; }

.vc-form { margin-top: 22px; display: grid; gap: 18px; }
.vc-field label { display: block; font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px; }
.vc-opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: .7rem; font-style: italic; }
.vc-input { width: 100%; background: rgba(9,22,16,.5); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; color: var(--cream-text); font-family: var(--ff-sans); font-size: .95rem; transition: border-color .3s; }
.vc-input::placeholder { color: rgba(239,231,212,.4); }
.vc-input:focus { outline: none; border-color: var(--gold); }
textarea.vc-input { resize: vertical; min-height: 52px; }
.vc-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-amt { flex: 1 1 auto; min-width: 62px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--cream-text); font-family: var(--ff-sans); font-size: .9rem; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.vc-amt:hover { border-color: var(--line-gold); color: var(--gold); }
.vc-amt.is-active { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.vc-delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-del { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--cream-text); font-family: var(--ff-sans); font-size: .85rem; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.vc-del:hover { border-color: var(--line-gold); }
.vc-del.is-active { background: rgba(195,169,109,.14); border-color: var(--gold); color: var(--gold); }
.vc-hint { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 2px; }
#vc-buy[disabled] { opacity: .45; cursor: not-allowed; }

/* =====================================================================
   HANDY-OPTIMIERUNG (kompletter Pass) — zuletzt geladen, gewinnt Kaskade
   ===================================================================== */

/* iOS: Zoom beim Antippen von Feldern verhindern (Schrift muss >= 16px sein) */
@media (max-width: 760px){
  input, select, textarea,
  .field input, .field select, .field textarea,
  .vc-input, .vc-custom { font-size: 16px; }
  /* sauberes Touch-Feedback statt grauem Blitz */
  a, button, .btn, .seg-opt, .court-chip, .time-cell, .cal-day,
  .vc-amt, .vc-del, .cx-step, .f-btn { -webkit-tap-highlight-color: transparent; }
  /* lange deutsche Woerter nie ueber den Rand */
  h1, h2, h3, .h-hero, .h-xxl, .h-xl, .h-lg, .h-md { overflow-wrap: break-word; }
}

/* Tablet / grosse Phones */
@media (max-width: 760px){
  .section { padding-block: clamp(54px, 12vw, 110px); }
  .section-tight { padding-block: clamp(40px, 9vw, 80px); }
  .split { gap: clamp(28px, 7vw, 48px); }
  .booking-side { border-top: 1px solid var(--line); }
}

/* Phones */
@media (max-width: 560px){
  :root { --gutter: 20px; }
  .section { padding-block: 54px; }
  .section-tight { padding-block: 40px; }

  /* Typo-Untergrenzen fuers Handy angenehmer */
  .h-hero { font-size: clamp(2.9rem, 15vw, 8rem); }
  .h-xxl  { font-size: clamp(2.15rem, 11vw, 5rem); }
  .h-xl   { font-size: clamp(1.85rem, 8.5vw, 3.6rem); }
  .lead   { font-size: 1.02rem; line-height: 1.7; }

  /* Hero + Page-Hero: weniger Kopfabstand, angenehmere Hoehe */
  .hero { padding-top: 104px; padding-bottom: 60px; }
  .page-hero { padding-top: 116px; padding-bottom: clamp(40px,10vw,60px); }
  .hero .hero-sub, .page-hero .lead { max-width: 92%; }

  /* Marke im Header kompakter */
  .brand .crest-mark { width: 40px; height: 40px; }
  .brand-word { font-size: 1.15rem; }
  .brand-sub { font-size: .5rem; }

  /* Buttons: voll breit gestapelt, kompakteres Padding, Labels passen */
  .btn { padding: 16px 22px; letter-spacing: .16em; }
  .btn-lg { padding: 17px 24px; }
  .hero-cta, .cta-band .btn-row, .btn-row { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero-cta .btn, .cta-band .btn-row .btn, .btn-row .btn { width: 100%; }

  /* Buchungstool */
  .booking-main, .booking-side { padding: 24px 20px; }
  .bk-step { margin-bottom: 30px; }
  .seg { gap: 10px; }
  .seg-opt { min-width: 0; flex: 1 1 100%; padding: 16px; }
  .filter-row { flex-wrap: wrap; }
  .time-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .time-cell { padding: 10px 4px; }
  .court-pick { grid-template-columns: repeat(3, 1fr); }
  .sum-total .st-v { font-size: 2.4rem; }
  .stepper .val { min-width: 52px; font-size: 1.4rem; }

  /* Gutschein-Konfigurator */
  .voucher-card { padding: 18px 16px; }
  .vc-amt { min-width: 56px; padding: 12px 6px; }

  /* Karten / Feature / Media auf dem Handy nicht zu wuchtig */
  .feature { min-height: 330px; }
  .price-card .pc-price b { font-size: 2.9rem; }
  .step { gap: 18px; padding: 24px 0; }
  .step .s-num { min-width: 40px; font-size: 1.7rem; }
  .stat { padding: 30px 14px; }
  .stat .num { font-size: clamp(2.6rem, 12vw, 3.6rem); }

  /* FAQ-Fragen etwas kleiner, Abstand knapper */
  .faq-q { padding: 22px 0; gap: 16px; font-size: 1.15rem; }
  .faq-a-inner { padding-bottom: 24px; }

  /* Footer sauber gestapelt und zentriert */
  .footer-top { text-align: center; }
  .footer .f-brand .crest-mark { margin-inline: auto; }
  .footer .f-claim { margin-inline: auto; }
  .footer-bottom { justify-content: center; text-align: center; gap: 10px; }

  /* Modal-Buttons (Kanalwahl) mit Luft */
  .m-choice { gap: 12px; }
}

/* Sehr kleine Phones */
@media (max-width: 380px){
  .time-grid, .court-pick { grid-template-columns: repeat(2, 1fr); }
  .cx-steps { grid-template-columns: 1fr 1fr; }
  .vc-amounts { gap: 6px; }
  .h-xxl { font-size: clamp(2rem, 12vw, 5rem); }
}

/* =====================================================================
   HANDY-FIXES (Screenshot-Feedback): wide-Split + Stats
   ===================================================================== */
/* wide-left/-right Splits klappen auf dem Handy sauber untereinander
   (hoehere Spezifitaet als die Basis-Regel, daher hier explizit) */
@media (max-width: 900px){
  .split.wide-left, .split.wide-right { grid-template-columns: 1fr; }
}
/* Stats: Zahlen brechen nicht mehr um und springen nicht beim Hochzaehlen */
.stat .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px){
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 12px; min-height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .stat .num { font-size: clamp(1.85rem, 8vw, 2.7rem); }
  .stat .num .suffix { font-size: .5em; }
  .stat .lbl { font-size: .64rem; letter-spacing: .14em; margin-top: 10px; line-height: 1.35; }
}
