/* ==========================================================================
   Fitnesslo, eigen huisstijl: licht, sportief, professioneel.
   De Phygital-productkaart is het enige blok in de Phygital-huisstijl,
   die palet-omzetting staat gescoped onder .merk-phygital.
   ========================================================================== */

:root {
  --inkt: #0D1117;
  --inkt-zacht: #4A5561;
  --inkt-stil: #78838F;
  --wit: #FFFFFF;
  --mist: #F2F5F9;
  --mist-diep: #E6ECF3;
  --kobalt: #2347E5;
  --kobalt-diep: #1631B4;
  --limoen: #C8F24D;

  --rand: rgba(13, 17, 23, .08);
  --rand-fijn: rgba(13, 17, 23, .05);
  --diffuus: 0 40px 90px -50px rgba(13, 17, 23, .45), 0 8px 24px -16px rgba(13, 17, 23, .25);

  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --lijf: 'Plus Jakarta Sans', system-ui, sans-serif;

  --soepel: cubic-bezier(.32, .72, 0, 1);
  --marge: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--lijf);
  background: var(--mist);
  color: var(--inkt);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--marge); }

/* Fijne korrel voor fysiek gevoel, vast en zonder muisdoorgang. */
.korrel {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typografie ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.14; letter-spacing: -.02em; }

p { color: var(--inkt-zacht); }
.lood { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--inkt-zacht); max-width: 56ch; }

.pil {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .34rem .85rem;
  border-radius: 999px;
  background: rgba(35, 71, 229, .07);
  color: var(--kobalt);
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  line-height: 1;
  white-space: nowrap;
}
.pil::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border-radius: 999px;
  background: var(--limoen);
  box-shadow: 0 0 0 3px rgba(200, 242, 77, .25);
}
.pil-licht { background: rgba(255, 255, 255, .1); color: #fff; }
.pil-goud { background: rgba(201, 168, 76, .16); color: #E4CE8A; }

/* ---------- Knoppen ---------- */

.knop {
  --knop-bg: var(--inkt);
  --knop-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .75rem .7rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--knop-bg);
  color: var(--knop-fg);
  font-family: var(--lijf);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .5s var(--soepel), background-color .5s var(--soepel), box-shadow .5s var(--soepel);
  box-shadow: 0 18px 40px -26px rgba(13, 17, 23, .8);
}
.knop:hover { background: var(--kobalt); }
.knop:active { transform: scale(.98); }

.knop-cirkel {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  transition: transform .5s var(--soepel), background-color .5s var(--soepel);
}
.knop-cirkel svg { width: 1rem; height: 1rem; }
.knop:hover .knop-cirkel { transform: translate(3px, -2px) scale(1.06); background: rgba(255, 255, 255, .24); }

.knop-klein { padding: .5rem .5rem .5rem 1.15rem; font-size: .85rem; }
.knop-klein .knop-cirkel { width: 1.7rem; height: 1.7rem; }
.knop-klein .knop-cirkel svg { width: .82rem; height: .82rem; }

.knop-stil {
  background: transparent;
  color: var(--inkt);
  padding: .7rem 1.5rem;
  box-shadow: none;
  border: 1px solid var(--rand);
}
.knop-stil:hover { background: var(--wit); color: var(--kobalt); border-color: transparent; box-shadow: var(--diffuus); }

.knop-vol { --knop-bg: var(--kobalt); width: 100%; justify-content: space-between; }
.knop-vol:hover { background: var(--kobalt-diep); }

/* ---------- Navigatie ---------- */

.nav-houder { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: 1.5rem; pointer-events: none; }

.nav {
  pointer-events: auto;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: .5rem .5rem .5rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 20px 50px -34px rgba(13, 17, 23, .6);
  border: 1px solid rgba(255, 255, 255, .7);
}

.nav-merk { display: inline-flex; align-items: center; gap: .55rem; padding-block: .5rem; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.merkteken {
  display: inline-block;
  width: .8rem;
  height: .8rem;
  border-radius: .28rem;
  background: linear-gradient(135deg, var(--kobalt), #4E6BFF 55%, var(--limoen));
  transform: rotate(-12deg);
}

.nav-links { display: flex; gap: 1.5rem; font-size: .9rem; font-weight: 500; color: var(--inkt-zacht); }
.nav-links a { position: relative; padding-block: .2rem; transition: color .4s var(--soepel); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--limoen);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--soepel);
}
.nav-links a:hover { color: var(--inkt); }
.nav-links a:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 2.75rem; height: 2.75rem; /* 44px tap-target */
  border: 0;
  border-radius: 999px;
  background: var(--inkt);
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 1.05rem; height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .55s var(--soepel), opacity .3s var(--soepel);
}
.burger span:first-child { transform: translate(-50%, calc(-50% - 4px)); }
.burger span:last-child { transform: translate(-50%, calc(-50% + 4px)); }
.burger[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  padding: 0 var(--marge);
  background: rgba(242, 245, 249, .86);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
}
.overlay[hidden] { display: none; }
.overlay a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity .6s var(--soepel), transform .7s var(--soepel);
  transition-delay: calc(var(--i) * 60ms);
  padding-block: .35rem;
}
.overlay.open a { opacity: 1; transform: translateY(0); }

/* ---------- Bezel: buitenschaal met kern erin ---------- */

.bezel {
  padding: .5rem;
  border-radius: 2rem;
  background: rgba(13, 17, 23, .045);
  border: 1px solid var(--rand-fijn);
}
.bezel-kern {
  border-radius: calc(2rem - .5rem);
  overflow: hidden;
  background: var(--wit);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), var(--diffuus);
}
.bezel .bezel-kern img { width: 100%; height: 100%; object-fit: cover; }

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

.hero { padding: 9.5rem 0 clamp(3rem, 8vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-tekst { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.hero-tekst h1 { max-width: 15ch; }
.hero-acties { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-voet { font-size: .85rem; color: var(--inkt-stil); max-width: 44ch; }

.hero-beeld { position: relative; }
.hero-beeld .bezel-kern { aspect-ratio: 4 / 3; }
.zweefkaart {
  position: absolute;
  left: -1.5rem;
  bottom: -1.75rem;
  width: min(19rem, 78%);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.35rem;
  background: var(--wit);
  border: 1px solid var(--rand-fijn);
  box-shadow: var(--diffuus);
}
.zweefkaart::before {
  content: "";
  position: absolute;
  left: 1.25rem; top: -.4rem;
  width: 2.4rem; height: .35rem;
  border-radius: 999px;
  background: var(--limoen);
}
.zweef-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--inkt-stil); font-weight: 600; }
.zweefkaart strong { font-family: var(--display); font-size: 1.4rem; letter-spacing: -.02em; }
.zweef-noot { font-size: .82rem; color: var(--inkt-zacht); line-height: 1.5; }

/* ---------- Secties ---------- */

.sectie { padding-block: clamp(4.5rem, 11vw, 9rem); }
.kop-rij { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kop-rij h2 { max-width: 20ch; }

.sectie-donker { background: var(--inkt); color: #fff; border-radius: 2.5rem; }
.sectie-donker h2, .sectie-donker h3 { color: #fff; }
.sectie-donker p { color: rgba(255, 255, 255, .66); }

/* ---------- Bento met de programma's ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.kaart { grid-column: span 6; }
.kaart-groot { grid-column: span 12; }

.kaart { padding: .5rem; border-radius: 2rem; background: rgba(13, 17, 23, .045); border: 1px solid var(--rand-fijn); }
.kaart-kern {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: calc(2rem - .5rem);
  background: var(--wit);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 30px 70px -55px rgba(13, 17, 23, .6);
}

.lijst { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-top: auto; }
.lijst li { position: relative; padding-left: 1.35rem; font-size: .93rem; color: var(--inkt-zacht); }
.lijst li::before {
  content: "";
  position: absolute;
  left: 0; top: .62rem;
  width: .7rem; height: 1.5px;
  border-radius: 2px;
  background: var(--kobalt);
}

/* Phygital houdt zijn eigen merkkleuren, alleen binnen deze kaart. */
.merk-phygital { background: rgba(27, 67, 50, .12); border-color: rgba(27, 67, 50, .18); }
.merk-phygital .kaart-kern {
  background: linear-gradient(155deg, #1B4332 0%, #16382A 60%, #122E23 100%);
  color: #FAFAF7;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .1), 0 40px 90px -55px rgba(27, 67, 50, .9);
  position: relative;
  overflow: hidden;
}
.merk-phygital .kaart-kern::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #C9A84C, rgba(201, 168, 76, 0));
}
.merk-phygital h3 { color: #FAFAF7; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.merk-phygital p { color: rgba(250, 250, 247, .74); max-width: 52ch; }
.merk-phygital .lijst li { color: rgba(250, 250, 247, .74); }
.merk-phygital .lijst li::before { background: #C9A84C; }
/* align-items nodig, anders rekt de pil zich uit tot de volle kaartbreedte */
.phy-kop { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.knop-goud { --knop-bg: #C9A84C; --knop-fg: #14251C; box-shadow: 0 18px 40px -26px rgba(201, 168, 76, .9); }
.knop-goud:hover { background: #DCBE68; }
.knop-goud .knop-cirkel { background: rgba(20, 37, 28, .14); }
.knop-goud:hover .knop-cirkel { background: rgba(20, 37, 28, .22); }

.phy-voet { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; margin-top: .5rem; }
.phy-beeld { width: 12rem; flex: none; border-radius: 1.1rem; overflow: hidden; border: 1px solid rgba(250, 250, 247, .14); }
.phy-beeld img { width: 100%; height: 8rem; object-fit: cover; }

/* ---------- Stappen ---------- */

.stappen { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.stappen li { display: flex; flex-direction: column; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.stap-nr { font-family: var(--display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(200, 242, 77, .85); line-height: 1; }
.stappen p { font-size: .93rem; }

/* ---------- Praktijk en over ons ---------- */

.praktijk-grid, .over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.praktijk-tekst, .over-tekst { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; }
.praktijk-beeld .bezel-kern, .over-beeld .bezel-kern { aspect-ratio: 3 / 2; }

/* ---------- Contact ---------- */

.sectie-contact { background: var(--inkt); color: #fff; border-radius: 2.5rem; }
.sectie-contact h2 { color: #fff; max-width: 16ch; }
.sectie-contact p { color: rgba(255, 255, 255, .66); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-tekst { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }

.gegevens { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; width: 100%; }
.gegevens > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.gegevens dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255, 255, 255, .45); padding-top: .25rem; }
.gegevens dd { color: #fff; font-weight: 500; }
.gegevens a { transition: color .4s var(--soepel); }
.gegevens a:hover { color: var(--limoen); }

.bezel-formulier { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.bezel-formulier .bezel-kern { padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), 0 40px 90px -60px rgba(0, 0, 0, .9); }
#contactformulier { display: flex; flex-direction: column; gap: 1rem; }
.veld { display: flex; flex-direction: column; gap: .4rem; }
.veld label { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--inkt-stil); }
.veld input, .veld select, .veld textarea {
  font-family: var(--lijf);
  font-size: 1rem; /* 16px, anders zoomt iOS Safari in bij focus */
  color: var(--inkt);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: .9rem;
  padding: .8rem .95rem;
  width: 100%;
  transition: border-color .4s var(--soepel), background-color .4s var(--soepel);
}
.veld textarea { resize: vertical; min-height: 6.5rem; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: none; border-color: var(--kobalt); background: var(--wit); }
.veld input[aria-invalid="true"], .veld textarea[aria-invalid="true"] { border-color: #D14343; background: #FEF5F5; }
.formulier-melding { font-size: .88rem; min-height: 1.2rem; }
.formulier-melding[data-status="fout"] { color: #D14343; }
.formulier-melding[data-status="goed"] { color: #1B7F4B; }

/* ---------- Voet ---------- */

.voet { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.voet-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.voet-grid > div { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.voet-grid strong { font-family: var(--display); font-size: 1.15rem; }
.voet-grid p, .voet-adres { font-size: .88rem; color: var(--inkt-stil); }
.voet-kop { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--inkt-stil); font-weight: 700; margin-bottom: .35rem; }
.voet-grid a { font-size: .92rem; color: var(--inkt-zacht); transition: color .4s var(--soepel); }
.voet-grid a:hover { color: var(--kobalt); }
.voet-onder { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--rand); font-size: .8rem; color: var(--inkt-stil); }

/* ---------- Zwevende actieknop (alleen mobiel) ---------- */

.fab {
  display: none;
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 38;
  width: 3.4rem; height: 3.4rem;
  border-radius: 999px;
  place-items: center;
  background: var(--kobalt);
  color: #fff;
  box-shadow: 0 20px 40px -18px rgba(35, 71, 229, .8);
}
.fab svg { width: 1.3rem; height: 1.3rem; }

/* ---------- Scroll-onthulling ---------- */

.onthul { opacity: 0; transform: translateY(3.5rem); filter: blur(8px); transition: opacity .9s var(--soepel), transform 1s var(--soepel), filter .9s var(--soepel); }
.onthul.zichtbaar { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .onthul { opacity: 1; transform: none; filter: none; transition: none; }
  .overlay a { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobiel ---------- */

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .kaart { grid-column: span 6; }
  .stappen { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .knop-klein { display: none; }
  .burger { display: block; }
  .nav { width: 100%; justify-content: space-between; padding-left: 1.1rem; }
  .fab { display: grid; }

  .hero { padding-top: 8rem; }
  .hero-grid, .praktijk-grid, .over-grid, .contact-grid, .voet-grid { grid-template-columns: 1fr; }
  .hero-beeld { order: -1; }
  .zweefkaart { position: static; width: 100%; margin-top: 1rem; }
  .zweefkaart::before { display: none; }
  .over-beeld { order: 2; }
  .phy-voet { flex-direction: column; align-items: stretch; }
  .phy-beeld { width: 100%; }
  .phy-beeld img { height: 10rem; }
  .sectie-donker, .sectie-contact { border-radius: 1.75rem; }
  .voet-onder { flex-direction: column; gap: .35rem; }
}

@media (max-width: 520px) {
  .stappen { grid-template-columns: 1fr; }
  .gegevens > div { grid-template-columns: 1fr; gap: .2rem; }
  .knop { width: 100%; justify-content: space-between; }
  .hero-acties { width: 100%; }
}
