/* Hemix Padel&Beach: alle kleuren en lettertypes staan hieronder */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --court: #2c55dc;
  --navy: #0e1b4d;
  --sand: #f2dfb6;
  --sunset: #ff8a3c;
  --ball: #e6f04a;
  --white: #ffffff;
  --gutter: clamp(16px, 4vw, 56px);
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--navy); font: 400 1.0625rem/1.55 "Archivo", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
p, ul { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-style: italic; font-weight: 800; font-stretch: 78%; line-height: .95; letter-spacing: -.01em; }
h2 { font-size: clamp(3rem, 8vw, 6.75rem); }
h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; padding: .7em 1em; background: var(--ball); }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; box-shadow: 0 0 0 6px var(--navy); }

/* Knoppen */
.btn {
  display: inline-block; padding: .85em 1.5em;
  border: 2px solid var(--navy); border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 1rem; line-height: 1.15; text-align: center; text-decoration: none;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.ball-btn { background: var(--ball); border-color: var(--ball); color: var(--navy); }
.line-dark { background: transparent; color: var(--navy); }
.line-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.big-btn { padding: 1.05em 2em; font-size: 1.25rem; white-space: nowrap; }

/* Menubalk */
.bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--bar); padding-inline: var(--gutter);
  background: var(--navy); color: var(--white);
}
.brand { font-style: italic; font-weight: 800; font-stretch: 78%; font-size: 1.5rem; text-decoration: none; white-space: nowrap; }
.bar nav { display: flex; gap: 1.5rem; margin-left: auto; }
.bar nav a { font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.bar nav a:hover { color: var(--ball); }
.bar-book { padding: .6em 1.2em; font-size: .95rem; white-space: nowrap; }

/* Gsm: menu onderaan, binnen bereik van je duim */
@media (max-width: 860px) {
  html { scroll-padding-top: 12px; }
  body { padding-bottom: var(--bar); }
  .bar { position: fixed; top: auto; bottom: 0; left: 0; right: 0; gap: .75rem; padding-inline: 12px; padding-bottom: env(safe-area-inset-bottom); }
  .brand { display: none; }
  .bar nav { flex: 1; min-width: 0; margin: 0; gap: 1.1rem; overflow-x: auto; scrollbar-width: none; padding-block: .75rem; }
  .bar nav::-webkit-scrollbar { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  min-height: calc(100svh - var(--bar) - 24px);
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(24px, 3vw, 40px);
  background: var(--court); color: var(--white);
}
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 42vw; height: 100%;
  object-fit: cover; object-position: 38% 50%;
  background: var(--navy);
}
.hero h1 { position: relative; z-index: 1; }
.giant { display: block; font-size: clamp(5rem, 18.5vw, 19rem); font-stretch: 70%; line-height: .86; }
.ball {
  position: relative; display: inline-block;
  width: .7em; height: .7em; margin-right: -.04em; vertical-align: -.02em;
  border-radius: 50%; background: var(--ball);
  animation: drop 1.1s .15s cubic-bezier(.3,0,.7,1) backwards;
}
.ball::before, .ball::after {
  content: ""; position: absolute; top: 4%; bottom: 4%; width: 34%;
  border: .018em solid var(--court); border-radius: 50%;
}
.ball::before { left: -14%; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.ball::after { right: -14%; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
@keyframes drop {
  0% { transform: translateY(-120vh); }
  55% { transform: translateY(0) scale(1.08, .9); }
  72% { transform: translateY(-.28em); }
  88% { transform: translateY(0) scale(1.03, .97); }
  94% { transform: translateY(-.05em); }
  100% { transform: translateY(0); }
}
.hero-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.hero-facts { max-width: 26em; margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.3; }

@media (max-width: 860px) {
  .hero { min-height: calc(100svh - var(--bar) - 18px); }
  .hero-photo { position: absolute; top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 66%; object-position: 40% 40%; }
  .giant, .beach-title, .end h2 { font-size: 23.5vw; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(14,27,77,.85)); }
  .hero-foot { z-index: 2; }
  .big-btn { width: 100%; }
}

/* Het net */
.net {
  height: 24px;
  background:
    repeating-linear-gradient(0deg, var(--white) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, var(--white) 0 1px, transparent 1px 7px),
    var(--navy);
  border-block: 3px solid var(--white);
}

/* Beach */
.beach-photo { position: relative; background: var(--navy); color: var(--white); }
.beach-photo img { width: 100%; height: clamp(420px, 86vh, 900px); object-fit: cover; object-position: 50% 70%; }
.beach-photo::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 45%; background: linear-gradient(rgba(14,27,77,.6), transparent); }
.beach-title { position: absolute; z-index: 2; top: clamp(20px, 4vw, 48px); left: var(--gutter); font-size: clamp(5rem, 18.5vw, 19rem); font-stretch: 70%; line-height: .86; }
.beach-info { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 4rem; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px) var(--gutter); background: var(--navy); color: var(--white); }
.beach-info p { max-width: 36em; margin: 0; font-size: 1.15rem; }

/* Prijzen */
.prices { padding: clamp(56px, 8vw, 112px) var(--gutter); background: var(--sand); }
.prices-in { max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prices-head { position: sticky; top: calc(var(--bar) + 32px); }
.prices-head p { max-width: 26em; margin-top: 1.25rem; font-size: 1.2rem; }
.pick { display: flex; }
.pick label { flex: 1; padding: 1rem .5rem; border: 2px solid var(--navy); text-align: center; font-weight: 700; cursor: pointer; }
.pick label + label { border-left: 0; }
.pick-sport label { font-style: italic; font-weight: 800; font-stretch: 78%; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1; }
.pick-pack label { border-top: 0; font-size: 1.15rem; }
.pick label:hover { background: rgba(14,27,77,.08); }

#s-padel:checked ~ .pick-sport label[for="s-padel"],
#s-beach:checked ~ .pick-sport label[for="s-beach"],
#p-los:checked ~ .pick-pack label[for="p-los"],
#p-100:checked ~ .pick-pack label[for="p-100"],
#p-200:checked ~ .pick-pack label[for="p-200"],
#p-300:checked ~ .pick-pack label[for="p-300"],
#p-450:checked ~ .pick-pack label[for="p-450"] { background: var(--navy); color: var(--white); }

#s-padel:focus-visible ~ .pick-sport label[for="s-padel"],
#s-beach:focus-visible ~ .pick-sport label[for="s-beach"],
#p-los:focus-visible ~ .pick-pack label[for="p-los"],
#p-100:focus-visible ~ .pick-pack label[for="p-100"],
#p-200:focus-visible ~ .pick-pack label[for="p-200"],
#p-300:focus-visible ~ .pick-pack label[for="p-300"],
#p-450:focus-visible ~ .pick-pack label[for="p-450"] { outline: 3px solid var(--sunset); outline-offset: -6px; }

.board { background: var(--navy); color: var(--white); }
.res { display: none; grid-template-columns: 1fr 1fr; padding: clamp(24px, 4vw, 44px); gap: 1.5rem 1rem; }
.res-line { grid-column: 1 / -1; margin: 0; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.3); font-weight: 600; }
.score p { margin: 0; }
.score-label { font-weight: 700; font-size: 1.1rem; }
.score-num { color: var(--ball); font-style: italic; font-weight: 800; font-stretch: 70%; font-size: clamp(5rem, 11vw, 9.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.score-unit { font-size: .95rem; opacity: .85; }

#s-padel:checked ~ #p-los:checked ~ .board .r-padel-los,
#s-padel:checked ~ #p-100:checked ~ .board .r-padel-100,
#s-padel:checked ~ #p-200:checked ~ .board .r-padel-200,
#s-padel:checked ~ #p-300:checked ~ .board .r-padel-300,
#s-padel:checked ~ #p-450:checked ~ .board .r-padel-450,
#s-beach:checked ~ .board .r-beach-all { display: grid; }

/* De Padel deals gelden alleen bij padel */
#s-beach:checked ~ .pick-pack,
#s-beach:checked ~ input[name="pack"] { display: none; }

.calc-notes { margin-top: 1.25rem; font-size: .975rem; }
.calc-notes p:last-child { margin-bottom: 0; }
.n-padel { display: none; }
#s-padel:checked ~ .calc-notes .n-padel { display: block; }

@media (max-width: 860px) {
  .prices-in { grid-template-columns: 1fr; }
  .prices-head { position: static; }
}

/* Club huren */
.rental { padding: clamp(56px, 8vw, 112px) var(--gutter); background: var(--sunset); }
.rental-in { max-width: 1320px; margin-inline: auto; }
.rental h2 { max-width: 11em; margin-bottom: clamp(32px, 5vw, 64px); }
.rent { display: grid; grid-template-columns: 180px 1.1fr 1.3fr auto; gap: 1rem clamp(16px, 3vw, 40px); align-items: center; padding-block: 1.25rem; border-top: 2px solid var(--navy); }
.rent:last-child { border-bottom: 2px solid var(--navy); }
.rent img { width: 180px; height: 120px; object-fit: cover; background: var(--sand); }
.rent p { margin: 0; }
.rent-act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
@media (max-width: 960px) {
  .rent { grid-template-columns: 112px 1fr; }
  .rent img { width: 112px; height: 112px; grid-row: span 2; align-self: start; }
  .rent p { grid-column: 2; }
  .rent-act { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Avond */
.night { background: var(--navy); color: var(--white); }
.night-photo { position: relative; background: var(--navy); }
.night-photo img { width: 100%; height: clamp(380px, 76vh, 820px); object-fit: cover; object-position: 50% 45%; }
.night-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--navy)); }
.night-photo h2 { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 0; max-width: 11em; }
.night { padding-bottom: clamp(32px, 5vw, 64px); }

/* Leden en sponsors */
.club { padding: clamp(56px, 8vw, 112px) var(--gutter); background: var(--court); color: var(--white); }
.club-in { max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.club h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.club p { max-width: 30em; font-size: 1.15rem; }
.club .btn:not(.line-dark) { background: var(--ball); border-color: var(--ball); color: var(--navy); }
.club .line-dark { border-color: var(--white); color: var(--white); }
/* Vier sponsors, vier vakken van het speelveld */
.sponsor-court { position: relative; display: grid; grid-template-columns: 1fr 1fr; list-style: none; margin: 1.75rem 0 0; padding: 0; border: 4px solid var(--white); }
.sponsor-court li { display: flex; align-items: center; justify-content: center; min-height: clamp(120px, 13vw, 176px); padding: 1rem; text-align: center; font-style: italic; font-weight: 800; font-stretch: 72%; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1; }
.sponsor-court li:nth-child(odd) { border-right: 2px solid var(--white); }
.sponsor-court li:nth-child(n+3) { border-top: 2px solid var(--white); }
.sponsor-court::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 7px); height: 14px; background: repeating-linear-gradient(0deg, var(--white) 0 1px, transparent 1px 6px), repeating-linear-gradient(90deg, var(--white) 0 1px, transparent 1px 6px), var(--court); }
@media (max-width: 760px) { .club-in { grid-template-columns: 1fr; } }

/* Einde */
.end { padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(24px, 3vw, 40px); background: var(--ball); color: var(--navy); }
.end h2 { font-size: clamp(5rem, 18.5vw, 19rem); font-stretch: 70%; line-height: .86; }
.end-links { display: flex; flex-direction: column; gap: .3rem; margin: clamp(32px, 5vw, 64px) 0; font-size: clamp(1.35rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
.end-links a { width: fit-content; max-width: 100%; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.end-small { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ball { animation: none; }
  .btn { transition: none; }
}
