/* Fuse Sports — homepage (design 3a: modern & high-end, editorial ritme) */

@font-face {
  font-family: 'Bauer Bodoni';
  font-weight: 700;
  font-style: normal;
  src: url('../fonts/BauerBodoni-Bold.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Bauer Bodoni';
  font-weight: 900;
  font-style: normal;
  src: url('../fonts/BauerBodoni-Black.woff2') format('woff2');
  font-display: swap;
}

:root {
  --creme: #F2F0EB;
  --creme-donker: #D7D6CE;
  --donker: #182A2C;
  --olijf: #72775C;
  --tekst: #33403F;
  --tekst-zacht: #4A5654;
  --tekst-op-donker: #C6CBC4;
  --serif: 'Bauer Bodoni', 'Bodoni Moda', serif;
  --sans: 'Raleway', sans-serif;
  --rand: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--creme);
  color: var(--donker);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity .2s ease, background .2s ease; }
img { max-width: 100%; }

.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--olijf);
  display: block;
}

.btn-light {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--donker);
  background: var(--creme);
  padding: 19px 46px;
  border-radius: 100px;
}
.btn-light:hover { background: #FFFFFF; }

/* ---------- Hero ---------- */

.hero { position: relative; height: 100vh; min-height: 640px; max-height: 980px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(24,42,44,0.5) 0%, rgba(24,42,44,0) 26%, rgba(24,42,44,0) 52%, rgba(24,42,44,0.66) 100%);
}

.hero-hex {
  position: absolute; right: -120px; top: 50%;
  width: min(44vw, 600px); height: auto;
  transform: translateY(-54%);
  pointer-events: none; overflow: visible;
}
.hero-hex .hh {
  fill: none; stroke: rgba(242,240,235,0.38); stroke-width: 1.3;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
  animation: hero-hex-draw 2.4s var(--swoosh) forwards;
  animation-delay: 1.1s;
}
.hero-hex .hh2 {
  stroke: rgba(242,240,235,0.22);
  animation-delay: 1.6s;
}
@keyframes hero-hex-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hex .hh { animation: none; stroke-dashoffset: 0; }
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--rand);
  transition: padding 0.5s var(--swoosh);
}
.topbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(242,240,235,0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(24,42,44,0.08), 0 18px 40px rgba(24,42,44,0.06);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.7s var(--swoosh);
}
.topbar.is-scrolled::before { transform: scaleX(1); }
.topbar.is-scrolled { padding: 14px var(--rand); }

.topbar-logo { position: relative; display: block; height: 96px; width: 96px; transition: height 0.5s var(--swoosh), width 0.5s var(--swoosh); }
.topbar-logo img {
  position: absolute; inset: 0; height: 100%; width: 100%;
  object-fit: contain; display: block;
  transition: opacity 0.45s ease;
}
.topbar-logo .logo-dark { opacity: 0; }
.topbar.is-scrolled .topbar-logo { height: 48px; width: 48px; }
.topbar.is-scrolled .logo-light { opacity: 0; }
.topbar.is-scrolled .logo-dark { opacity: 1; }

.topnav {
  display: flex; align-items: center; gap: 44px;
  font-weight: 400; font-size: 12.5px; letter-spacing: 0.14em;
  color: rgba(242,240,235,0.92);
  transition: color 0.45s ease;
}
.topnav a { transition: opacity 0.2s ease, color 0.45s ease, border-color 0.45s ease, background 0.25s ease; }
.topnav a:hover { opacity: 0.6; }
.topnav-cta {
  color: var(--creme);
  border: 1px solid rgba(242,240,235,0.5);
  padding: 12px 24px; border-radius: 100px;
}
.topnav a.topnav-cta:hover { opacity: 1; background: rgba(242,240,235,0.12); }
.topbar.is-scrolled .topnav { color: var(--tekst); }
.topbar.is-scrolled .topnav-cta {
  color: var(--creme); background: var(--donker); border-color: var(--donker);
}
.topbar.is-scrolled .topnav a.topnav-cta:hover { background: #0F1D1F; }

.hero-copy { position: absolute; left: var(--rand); right: var(--rand); bottom: 72px; }
.hero-copy h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(56px, 7.2vw, 104px);
  line-height: 0.94; letter-spacing: -0.02em;
  margin: 0; color: var(--creme);
}
.hero-sub {
  font-weight: 300; font-size: clamp(14px, 1.3vw, 19px);
  letter-spacing: 0.34em; color: rgba(242,240,235,0.82);
  margin: 24px 0 0;
}
.hero-copy .btn-light { margin-top: 48px; }

/* ---------- Intro ---------- */

.intro { background: var(--creme); padding: clamp(90px, 12vw, 170px) var(--rand); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr);
  gap: 96px; align-items: center;
}
.intro h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0;
}
.intro .kicker { margin-bottom: 34px; }
.intro p {
  font-weight: 300; font-size: 19px; line-height: 1.8;
  color: var(--tekst); max-width: 560px; margin: 36px 0 0;
}
.intro-image { position: relative; width: 100%; height: 600px; overflow: hidden; }
.intro-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Drie dimensies ---------- */

.dimensies { background: var(--donker); color: var(--creme); padding: clamp(90px, 11vw, 160px) var(--rand); }
.dimensies-head { margin-bottom: 84px; }
.dimensies-head .kicker { margin-bottom: 26px; }
.dimensies-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04; letter-spacing: -0.015em; margin: 0;
}
.dimensies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.dimensie { padding: 40px 40px 0 0; border-top: 1px solid rgba(242,240,235,0.24); }
.dimensie + .dimensie { padding-left: 40px; }
.dimensie:last-child { padding-right: 0; }
.dim-nr { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--olijf); }
.dimensie h3 { font-family: var(--serif); font-weight: 700; font-size: 32px; margin: 22px 0 16px; }
.dimensie p { font-weight: 300; font-size: 16px; line-height: 1.75; color: var(--tekst-op-donker); margin: 0; }

/* ---------- De methode ---------- */

.methode { background: var(--creme-donker); padding: clamp(90px, 12vw, 170px) var(--rand); }
.methode-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 80px;
}
.methode-head .kicker { margin-bottom: 28px; }
.methode-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04; letter-spacing: -0.015em; margin: 0;
}
.methode-lead {
  font-weight: 300; font-size: 17px; line-height: 1.7;
  color: var(--tekst-zacht); max-width: 340px; margin: 0 0 6px;
}
.methode-hex { width: 900px; max-width: 90%; height: auto; display: block; margin: 8px auto 96px; }
.methode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stap { padding: 36px 30px 0 0; border-top: 1px solid rgba(24,42,44,0.2); }
.stap + .stap { padding-left: 30px; }
.stap:last-child { padding-right: 0; }
.stap-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.stap-nr { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--olijf); }
.stap-letter {
  font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1;
  width: 56px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 26%, 100% 74%, 50% 100%, 0% 74%, 0% 26%);
}
.stap:nth-child(1) .stap-letter { background: var(--donker); color: var(--creme); }
.stap:nth-child(2) .stap-letter { background: var(--creme); color: var(--donker); }
.stap:nth-child(3) .stap-letter { background: #5D3623; color: var(--creme); }
.stap:nth-child(4) .stap-letter { background: var(--creme); color: var(--donker); }
.stap h3 { font-weight: 600; font-size: 18px; letter-spacing: 0.02em; margin: 0 0 12px; font-family: var(--sans); }
.stap p { font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--tekst-zacht); margin: 0; }

/* ---------- Statement ---------- */

.statement { position: relative; height: 600px; overflow: hidden; }
.statement-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(35,20,12,0.74) 0%, rgba(35,20,12,0.4) 55%, rgba(35,20,12,0.18) 100%);
}
.statement-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--rand); max-width: 920px;
}
.statement-copy p {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.22; letter-spacing: -0.01em;
  color: var(--creme); margin: 28px 0 0;
}

/* ---------- Vier ingangen ---------- */

.ingangen { background: var(--creme); padding: clamp(90px, 12vw, 170px) var(--rand); }
.ingangen-head { max-width: 820px; margin: 0 0 30px; }
.ingangen-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06; letter-spacing: -0.015em; margin: 24px 0 0;
}
.ingang {
  display: grid;
  grid-template-columns: 130px minmax(200px,0.9fr) minmax(0,1.6fr) 56px;
  gap: 52px; align-items: center;
  padding: 46px 8px;
  border-top: 1px solid rgba(24,42,44,0.22);
}
.ingang:last-child { border-bottom: 1px solid rgba(24,42,44,0.22); }
.ingang:hover { background: rgba(24,42,44,0.035); }
.ingang-nr { font-family: var(--serif); font-weight: 700; font-size: 44px; color: var(--olijf); line-height: 1; }
.ingang h3 { font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 1; margin: 0; transition: transform 0.35s var(--swoosh); }
.ingang:hover h3 { transform: translateX(10px); }
.ingang p {
  font-weight: 300; font-size: 17px; line-height: 1.6;
  color: var(--tekst-zacht); margin: 0; max-width: 520px;
}
.ingang-pijl {
  width: 58px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  justify-self: end;
  transition: transform 0.35s var(--swoosh);
}
.ingang-pijl svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ingang-pijl .hex {
  fill: transparent; stroke: rgba(24,42,44,0.4); stroke-width: 1.5;
  transition: fill 0.35s var(--swoosh), stroke 0.35s var(--swoosh);
}
.ingang-pijl .pijl {
  fill: none; stroke: var(--donker); stroke-width: 1.6;
  transition: stroke 0.35s var(--swoosh);
}
.ingang:hover .ingang-pijl { transform: translateX(8px); }
.ingang:hover .hex { fill: var(--donker); stroke: var(--donker); }
.ingang:hover .pijl { stroke: var(--creme); }

/* ---------- Aanmelden ---------- */

.aanmelden { position: relative; height: 720px; overflow: hidden; }
.aanmelden-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aanmelden-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,32,30,0.6) 0%, rgba(20,32,30,0.32) 45%, rgba(20,32,30,0.8) 100%);
}
.aanmelden-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--rand);
}
.aanmelden-copy h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.04; letter-spacing: -0.015em;
  color: var(--creme); margin: 26px 0 0; max-width: 900px;
}
.aanmelden-copy p {
  font-weight: 300; font-size: 18px; line-height: 1.7;
  color: rgba(242,240,235,0.9); max-width: 540px; margin: 26px 0 0;
}
.aanmelden-copy .btn-light { margin-top: 40px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--donker); color: var(--creme);
  padding: 96px var(--rand) 0;
  border-top: 1px solid rgba(242,240,235,0.14);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr));
  gap: 64px;
  padding-bottom: 80px;
}
.footer-brand img { height: 72px; width: 72px; object-fit: contain; display: block; }
.footer-tagline {
  font-weight: 300; font-size: 12px; letter-spacing: 0.34em;
  color: rgba(242,240,235,0.7); text-transform: uppercase;
  margin: 22px 0 0;
}
.footer-brand p {
  font-weight: 300; font-size: 15px; line-height: 1.7;
  color: rgba(242,240,235,0.65); max-width: 300px; margin: 18px 0 0;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  margin: 0 0 10px; color: var(--creme);
}
.footer-col a, .footer-col span {
  font-weight: 300; font-size: 14.5px; letter-spacing: 0.02em;
  color: rgba(242,240,235,0.72);
}
.footer-col a:hover { color: var(--creme); opacity: 1; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
  border-top: 1px solid rgba(242,240,235,0.14);
  font-weight: 300; font-size: 12.5px; letter-spacing: 0.08em;
  color: rgba(242,240,235,0.55);
}

/* ---------- Juridische pagina's ---------- */

.legal-top {
  background: var(--donker);
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--rand);
}
.legal-top img { height: 64px; width: 64px; object-fit: contain; display: block; }
.legal-top a.terug {
  font-weight: 400; font-size: 11.5px; letter-spacing: 0.2em;
  color: rgba(242,240,235,0.7);
}
.legal-top a.terug:hover { color: var(--creme); }
.legal-main { max-width: 820px; margin: 0 auto; padding: 96px var(--rand) 140px; }
.legal-main .kicker { margin-bottom: 26px; }
.legal-main h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 18px;
}
.legal-datum { font-weight: 300; font-size: 14px; color: var(--tekst-zacht); margin: 0 0 56px; }
.legal-main h2 {
  font-family: var(--serif); font-weight: 700; font-size: 26px;
  margin: 52px 0 14px;
}
.legal-main p, .legal-main li {
  font-weight: 300; font-size: 16.5px; line-height: 1.8;
  color: var(--tekst); margin: 0 0 14px;
}
.legal-main ul { padding-left: 22px; margin: 0 0 14px; }

/* ---------- Preloader (swoosh-reveal) ---------- */

:root { --swoosh: cubic-bezier(0.76, 0, 0.24, 1); }

.preloader { position: fixed; inset: 0; z-index: 200; overflow: hidden; }
.pre-layer { position: absolute; top: -2%; bottom: -2%; left: -18%; width: 136%; }
.pre-layer-creme { background: var(--creme-donker); }
.pre-layer-dark {
  background: var(--donker);
  display: flex; align-items: center; justify-content: center;
}
body.is-loaded .pre-layer { transition: transform 1s var(--swoosh); }
body.is-loaded .pre-layer-dark { transform: translateX(-115%) skewX(-14deg); }
body.is-loaded .pre-layer-creme { transform: translateX(-115%) skewX(-14deg); transition-delay: 0.14s; }
body.is-loaded .preloader { pointer-events: none; }

.pre-center {
  display: flex; flex-direction: column; align-items: center; gap: 76px;
  animation: pre-in 1.1s var(--swoosh) both;
}
body.is-loaded .pre-center { opacity: 0; transition: opacity 0.35s ease; }
@keyframes pre-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.pre-logo { position: relative; width: 148px; height: 148px; }
.pre-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pre-hex {
  position: absolute; left: 50%; top: 50%;
  width: 232px; height: 260px;
  margin-left: -116px; margin-top: -130px;
  overflow: visible;
}
.pre-hex path {
  fill: none; stroke: rgba(242,240,235,0.55); stroke-width: 1.2;
  stroke-dasharray: 700; stroke-dashoffset: 700;
  animation: pre-hex-draw 1.6s 0.2s var(--swoosh) forwards;
}
@keyframes pre-hex-draw {
  to { stroke-dashoffset: 0; }
}
.pre-shine {
  position: absolute; inset: 0;
  -webkit-mask: url('../assets/logo-white.png') center / contain no-repeat;
  mask: url('../assets/logo-white.png') center / contain no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.95) 50%, transparent 62%);
  background-size: 320% 100%;
  animation: pre-shine 1.9s ease-in-out infinite;
}
@keyframes pre-shine {
  0%   { background-position: 115% 0; }
  55%  { background-position: -15% 0; }
  100% { background-position: -15% 0; }
}
.pre-tagline {
  font-family: var(--sans); font-weight: 300; font-size: 12px;
  letter-spacing: 0.42em; color: rgba(242,240,235,0.7); text-transform: uppercase;
  animation: pre-in 1.1s 0.25s var(--swoosh) both;
}

/* Hero-entrance na de swoosh */
body.has-preloader .topbar,
body.has-preloader .hero-copy h1,
body.has-preloader .hero-sub,
body.has-preloader .hero-copy .btn-light { opacity: 0; }
body.has-preloader .hero-bg { transform: scale(1.07); }
body.is-loaded .hero-bg { transform: scale(1); transition: transform 2.6s var(--swoosh); }
body.is-loaded .hero-copy h1 { animation: hero-rise 1s 0.55s var(--swoosh) both; }
body.is-loaded .hero-sub { animation: hero-rise 1s 0.72s var(--swoosh) both; }
body.is-loaded .hero-copy .btn-light { animation: hero-rise 1s 0.88s var(--swoosh) both; }
body.is-loaded .topbar { animation: hero-drop 0.9s 0.75s var(--swoosh) both; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(44px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes hero-drop {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveals */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--swoosh), transform 0.9s var(--swoosh); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  body.has-preloader .topbar, body.has-preloader .hero-copy h1,
  body.has-preloader .hero-sub, body.has-preloader .hero-copy .btn-light { opacity: 1; }
  body.has-preloader .hero-bg { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  :root { --rand: 40px; }
  .intro-grid { gap: 56px; }
  .ingang { grid-template-columns: 80px minmax(160px,0.9fr) minmax(0,1.6fr) 56px; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --rand: 24px; }
  .topbar { padding: 18px var(--rand); }
  .topbar-logo { height: 60px; width: 60px; }
  .topnav { gap: 22px; font-size: 11px; flex-wrap: wrap; justify-content: flex-end; }
  .hero-copy { bottom: 48px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image { height: 420px; }
  .dimensies-grid, .methode-grid { grid-template-columns: 1fr; }
  .dimensie, .dimensie + .dimensie, .stap, .stap + .stap { padding: 32px 0 32px; }
  .dimensies-head { margin-bottom: 40px; }
  .methode-head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
  .methode-hex { margin-bottom: 56px; }
  .ingang { grid-template-columns: 48px 1fr 48px; grid-template-rows: auto auto; padding: 32px 4px; }
  .ingang h3 { font-size: 28px; }
  .ingang p { grid-column: 2 / 3; grid-row: 2; }
  .ingang-pijl { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
  .statement, .aanmelden { height: auto; min-height: 480px; }
  .statement-copy { position: relative; padding: 100px var(--rand); }
  .aanmelden-copy { position: relative; padding: 100px var(--rand); }
  .footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
