/* ============================================================
   Fysio Fransen — styles
   Palette: rustig medisch blauw + zacht groen, veel witruimte.
   Signature: zachte stromende curves (beweging / lymfestroom)
   + warme serif koppen (Spectral) op heldere Inter body.
   ============================================================ */

:root {
  --bg:        #F7FAFB;
  --white:     #FFFFFF;
  --primary:   #2F80A7;
  --primary-d: #256884;
  --primary-dd:#1d5b78;
  --secondary: #7CB7A2;
  --secondary-d:#5f9e88;
  --accent:    #EAF4F6;
  --ink:       #1F2933;
  --sub:       #5F6B73;
  --line:      #E1EAEE;

  --shadow-sm: 0 1px 2px rgba(31,41,51,.05);
  --shadow-md: 0 10px 30px -14px rgba(31,41,51,.18);
  --shadow-lg: 0 24px 60px -28px rgba(31,41,51,.28);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1140px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --font-head: "Spectral", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(47,128,167,.7); }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(47,128,167,.75); }
.btn-ghost { background: var(--white); color: var(--primary-d); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dd); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,250,251,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto;
  color: var(--primary); background: var(--accent); border-radius: 13px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: .74rem; color: var(--sub); letter-spacing: .01em; }

.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: .96rem;
  color: var(--ink); transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--primary-d); background: var(--accent); }

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  border: 1px solid var(--line); background: var(--white); border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.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); }

/* ---------- eyebrow (signature pulse) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-d); margin-bottom: 16px;
}
.eyebrow-pulse {
  width: 26px; height: 10px; flex: 0 0 auto;
  background:
    radial-gradient(circle at center, var(--secondary) 0 2.5px, transparent 3px) 0 50%/9px 100% repeat-x;
  -webkit-mask: linear-gradient(90deg,#000 60%, transparent);
          mask: linear-gradient(90deg,#000 60%, transparent);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(40px,6vw,72px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%;
  background:
    radial-gradient(60% 60% at 88% 8%, rgba(124,183,162,.16), transparent 70%),
    radial-gradient(50% 50% at 5% 30%, rgba(47,128,167,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin: 6px 0 20px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--sub); max-width: 34ch; }
.hero-copy .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}
.badges svg { color: var(--secondary-d); }

/* hero visual */
.hero-visual { position: relative; }
.hero-card {
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6); background: var(--white);
}
.hero-illustration { width: 100%; height: auto; }
.hero-float {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-float strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--primary-d); line-height: 1.1; }
.hero-float span { font-size: .8rem; color: var(--sub); }
.hero-float--a { top: 24px; left: -18px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero-float--b { bottom: 26px; right: -14px; }
.hero-float .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px rgba(124,183,162,.25); flex: 0 0 auto; }
.hero-float--b div strong { color: var(--ink); font-size: .98rem; }

/* ---------- trust strip ---------- */
.trust { background: var(--primary); color: #fff; }
.trust-inner {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
  padding-block: 22px;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 500; }
.trust-item svg { flex: 0 0 auto; color: rgba(255,255,255,.85); }
.trust-item span { line-height: 1.3; }

/* ---------- generic section ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tint { background: var(--white); position: relative; }
/* zachte stromende curve tussen witte secties (signature) */
.section--tint::before,
.section--tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 46px; background: var(--white);
}
.section--tint::before { top: -45px; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.section--tint::after  { bottom: -45px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.section-head { max-width: 620px; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.section-intro { color: var(--sub); font-size: 1.08rem; }

/* ---------- behandelingen ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative;
}
.card::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 3px; transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); opacity: 1; }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px;
  background: var(--accent); color: var(--primary-d); margin-bottom: 18px;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.card:hover .card-icon { background: var(--primary); color: #fff; }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p { color: var(--sub); font-size: .98rem; }

.section-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px;
  margin-top: 40px; padding: 26px 30px; background: var(--accent);
  border-radius: var(--radius); text-align: center;
}
.section-cta p { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }

/* ---------- over de praktijk ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px,5vw,60px); align-items: center; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.about-copy p { color: var(--sub); margin-bottom: 16px; max-width: 58ch; }
.about-note { font-size: .95rem; color: var(--primary-d); border-left: 3px solid var(--secondary); padding-left: 14px; }

.values-card {
  background: linear-gradient(160deg, var(--primary), var(--primary-dd));
  color: #fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.values-card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(124,183,162,.45), transparent 70%);
}
.values-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 20px; position: relative; }
.values li {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.16); font-size: 1.08rem; font-weight: 500; position: relative;
}
.values li:first-child { border-top: none; }
.values li span {
  display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto;
  background: rgba(255,255,255,.16); border-radius: 9px; font-size: .9rem;
}

/* ---------- waarom ---------- */
.reasons { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.reason { padding: 26px 8px 26px 0; }
.reason-num {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--secondary-d);
  display: inline-block; padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.reason h3 { font-size: 1.18rem; margin-bottom: 8px; }
.reason p { color: var(--sub); font-size: .96rem; }

/* ---------- praktische info ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.info-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.info-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--white); color: var(--primary); border: 1px solid var(--line); margin-bottom: 12px;
}
.info-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.info-card p { color: var(--sub); }
.info-line { display: flex; flex-direction: column; margin-bottom: 6px; width: 100%; }
.info-line span { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sub); }
.info-line a { font-weight: 600; color: var(--primary-d); font-size: 1.02rem; }
.info-line a:hover { text-decoration: underline; }
.info-address { color: var(--ink) !important; font-weight: 500; margin-bottom: 14px; }
.info-card .btn { margin-top: auto; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.contact-details { font-style: normal; margin-top: 26px; color: var(--sub); }
.contact-name { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.contact-details p { margin-bottom: 12px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary-d); }
.contact-links a:hover { text-decoration: underline; }
.contact-links svg { color: var(--secondary-d); }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(47,128,167,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-status {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--primary-dd); font-weight: 500;
  border: 1px solid rgba(47,128,167,.2); font-size: .96rem;
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfd7dc; padding-top: clamp(48px,6vw,72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand p { margin-top: 8px; color: #9aa6ad; max-width: 30ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col p, .footer-col li { color: #9aa6ad; line-height: 1.9; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; }
.footer-base p { font-size: .86rem; color: #7e8b93; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards, .info-cards { grid-template-columns: repeat(2,1fr); }
  .reasons { grid-template-columns: repeat(2,1fr); }
  .trust-inner { grid-template-columns: repeat(2,1fr); gap: 16px 24px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-card { max-width: 460px; }
}

@media (max-width: 800px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav.open { max-height: 420px; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav li:last-child a { border-bottom: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-copy .lede { max-width: none; }
  .hero-float--a { left: 4px; }
  .hero-float--b { right: 4px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .info-cards, .reasons, .trust-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-float { padding: 10px 13px; }
  .section-cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
}
