/* =========================================================================
   KineHuis Gent — stylesheet
   Brand palette decoded from the logo SVG. Circular, sage & white, no build step.
   ========================================================================= */

:root {
  /* Brand */
  --sage:        #698f86;
  --sage-light:  #85a290;
  --sage-dark:   #4f6e66;
  --mint:        #e3ece6;
  --mint-2:      #eef4f1;
  --ink:         #2f3a36;
  --muted:       #6b7a74;
  --white:       #ffffff;

  /* Layout */
  --container:   1140px;
  --header-h:    72px;
  --radius:      18px;
  --radius-lg:   30px;

  --shadow-sm:   0 4px 14px rgba(47,58,54,.06);
  --shadow:      0 22px 48px -22px rgba(47,58,54,.28);

  --font-head:   'Quicksand', system-ui, -apple-system, sans-serif;
  --font-body:   'Nunito Sans', system-ui, -apple-system, sans-serif;
  --ease:        cubic-bezier(.4,.14,.3,1);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sage); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5rem;
  font-weight: 700;
}

:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------- Utilities */
.container {
  width: min(100% - 2.6rem, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.6rem, 760px); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--mint { background: var(--mint-2); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 .6rem;
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
}
.section__head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section__lead { color: var(--muted); font-size: 1.05rem; margin: .4rem 0 0; }

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--sage); color: #fff; padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--primary { background: var(--sage); color: #fff; box-shadow: 0 12px 26px -12px rgba(105,143,134,.9); }
.btn--primary:hover { background: var(--sage-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--sage-dark); border-color: rgba(105,143,134,.4); }
.btn--ghost:hover { border-color: var(--sage); background: rgba(105,143,134,.08); transform: translateY(-2px); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(105,143,134,.12);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  position: relative; padding: .3rem 0; color: var(--ink);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--sage); transition: right .3s var(--ease);
}
.nav__link:hover::after { right: 0; }
.nav__cta { padding: .55rem 1.2rem; font-size: .95rem; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  background: transparent; border: 2px solid rgba(105,143,134,.35); color: var(--muted);
  border-radius: 999px; padding: 3px; cursor: pointer;
  transition: border-color .25s, background .25s;
}
.lang-toggle:hover { border-color: var(--sage); }
.lang-toggle__nl,
.lang-toggle__en {
  display: inline-block; padding: .26rem .62rem; border-radius: 999px; line-height: 1;
  transition: background .2s, color .2s;
}
.lang-toggle__sep { display: none; }   /* segmented control — no divider needed */
.lang-toggle__nl:hover,
.lang-toggle__en:hover { background: rgba(105,143,134,.12); color: var(--sage-dark); }
/* active language = filled sage-dark chip (#4f6e66, white text). Placed AFTER :hover
   (equal specificity) so the active chip stays filled even while hovered. */
[data-lang="nl"] .lang-toggle__nl,
[data-lang="en"] .lang-toggle__en {
  background: var(--sage-dark); color: #fff;
  box-shadow: 0 2px 7px -2px rgba(79,110,102,.65);
}
.lang-toggle--in-nav { display: none; }   /* desktop: only the header pill shows (mobile rule below) */

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, var(--mint-2), #fff 80%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__title {
  font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.01em;
  color: var(--sage-dark); margin: .2rem 0 1.1rem; font-weight: 700;
}
.hero__title-sub {
  font-size: .3em; vertical-align: super; margin-left: .45em;
  color: var(--sage-light); letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 36ch; margin: 0 0 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* hero circular photo cluster */
.hero__media { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
.hero__photo {
  position: absolute; inset: 8%; width: 84%; height: 84%;
  object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); z-index: 2;
}
.hero__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(105,143,134,.35); animation: spin 70s linear infinite;
}
.hero__dot { position: absolute; border-radius: 50%; z-index: 3; }
.hero__dot--1 { width: 46px; height: 46px; top: 1%; right: 13%; background: var(--mint); }
.hero__dot--2 { width: 26px; height: 26px; bottom: 7%; left: 3%; background: var(--sage-light); opacity: .85; }
.hero__dot--3 { width: 16px; height: 16px; top: 42%; right: -1%; background: var(--sage); }
@keyframes spin { to { transform: rotate(360deg); } }

/* big soft background circles */
.deco-circle { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.deco-circle--a { width: 300px; height: 300px; background: var(--mint); top: -110px; left: -90px; opacity: .6; }
.deco-circle--b { width: 170px; height: 170px; background: #dce8e2; bottom: -60px; right: 6%; opacity: .6; }
.deco-circle--c { width: 90px; height: 90px; border: 2px solid rgba(105,143,134,.22); top: 28%; left: 47%; }

/* ----------------------------------------------------------------- About */
.about { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.about__inner {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.about__media {
  position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin-inline: auto;
}
.about__media img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 7px #fff, 0 0 0 9px rgba(105,143,134,.28), var(--shadow);
}
.about__media::before { /* pale mint circle peeking behind, top-left */
  content: ''; position: absolute; width: 38%; aspect-ratio: 1; background: var(--mint);
  border-radius: 50%; top: -14px; left: -14px; z-index: 0;
}
.about__media::after { /* small sage accent dot, bottom-right */
  content: ''; position: absolute; width: 44px; aspect-ratio: 1; background: var(--sage-light);
  border-radius: 50%; bottom: 8%; right: -4px; z-index: 2;
}
.about__text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.about__text p { color: var(--muted); font-size: 1.06rem; }
.link-arrow { font-family: var(--font-head); font-weight: 600; color: var(--sage-dark); display: inline-block; margin-top: .6rem; transition: color .2s, letter-spacing .2s; }
.link-arrow:hover { color: var(--sage); letter-spacing: .01em; }

/* ------------------------------------------------------------ Therapieën */
.therapy-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 1.2rem;
}
.therapy-card {
  background: #fff; border: 1px solid rgba(105,143,134,.14); border-radius: var(--radius);
  padding: 1.9rem 1.5rem; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.therapy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.therapy-card__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--mint); color: var(--sage-dark);
}
.therapy-card__icon .icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.therapy-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.therapy-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ------------------------------------------------------------------ Team */
.team-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.8rem;
}
.team-card { text-align: center; }
.team-card__frame {
  position: relative; display: block; width: clamp(150px, 42vw, 204px); aspect-ratio: 1;
  margin: 0 auto 1.1rem; border-radius: 50%; padding: 6px; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.team-card__frame::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(105,143,134,.3); }
.team-card__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card:hover .team-card__frame { transform: translateY(-5px); }
.team-card__name { font-size: 1.18rem; margin: 0 0 .15rem; }
.team-card__role { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--sage-dark); margin: 0 0 .35rem; }
.team-card__phone { color: var(--muted); font-size: .92rem; }
.team-card__phone:hover { color: var(--sage); }

/* ------------------------------------------------------------------- FAQ */
.faq__list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid rgba(105,143,134,.16); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  padding: 1.1rem 1.3rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--sage); line-height: 1; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-item__body p { margin: 0; }
.faq-item[open] .faq-item__body { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact__info h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1.4rem; }
.contact__block { margin-bottom: 1.5rem; }
.contact__block h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sage-dark); margin: 0 0 .4rem; }
.contact__info p { margin: 0; }
.contact__info p a { color: var(--sage-dark); font-weight: 600; }
.contact__info p a:hover { color: var(--sage); }
/* Address links to Google Maps but stays styled exactly like plain text */
.contact__addr { display: inline-block; color: inherit; }

.hours { width: 100%; max-width: 360px; border-collapse: collapse; }
.hours th, .hours td { padding: .4rem 0; }
.hours th { text-align: left; color: var(--muted); font-weight: 600; }
.hours td { text-align: right; color: var(--ink); }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid rgba(105,143,134,.14); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--sage-dark); font-weight: 700; }

.contact__map { display: flex; justify-content: center; }
.map-circle {
  position: relative; width: min(100%, 420px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff;
}
.map-circle iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-circle::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(105,143,134,.3); pointer-events: none; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: #b9c6c0; padding: 2.6rem 0; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; }
.site-footer__logo { height: 46px; width: auto; }
.site-footer__addr { margin: 0; font-size: .96rem; }
.site-footer a { color: #fff; font-weight: 600; }
.site-footer__copy { margin: 0; font-size: .9rem; color: #93a39c; }

/* -------------------------------------------------------------- Reveal fx */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    background: #fff; padding: 1.5rem 1.6rem 2rem;
    box-shadow: var(--shadow); border-bottom: 1px solid rgba(105,143,134,.12);
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 1.1rem; }
  .nav__cta { width: 100%; }
  /* Move the language toggle out of the header bar and into the menu */
  .header-actions .lang-toggle { display: none; }
  .lang-toggle--in-nav { display: inline-flex; align-self: flex-start; }
  .lang-toggle--in-nav .lang-toggle__nl,
  .lang-toggle--in-nav .lang-toggle__en { padding: .42rem .95rem; font-size: .85rem; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__media { order: -1; max-width: 320px; }

  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 300px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__map { order: -1; }
  .hours { max-width: none; }
}

@media (max-width: 460px) {
  .therapy-card { padding: 1.6rem 1.2rem; }
}

/* --------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__ring { animation: none; }
}
