/* Example Pro: Fysiotherapie Heuvel */
/* Clinical Teal — diep teal accent, Inter + Playfair Display */

:root {
  color-scheme: light;
  --bg: #F8F9FA;
  --bg-soft: #F0F2F4;
  --surface: #FFFFFF;
  --text: #1A2332;
  --muted: #6B7B8D;
  --accent: #0D7377;
  --accent-light: #1A9399;
  --accent-soft: rgba(13,115,119,.08);
  --on-accent: #FFFFFF;
  --line: #E2E6EA;
  --header-bg: rgba(248,249,250,.92);
  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --maxw: 1100px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1A24;
  --bg-soft: #162230;
  --surface: #1C2A3A;
  --text: #E8EDF2;
  --muted: #8A9BAD;
  --accent: #2EC4B6;
  --accent-light: #5DD9CE;
  --accent-soft: rgba(46,196,182,.12);
  --on-accent: #0F1A24;
  --line: #2A3A4A;
  --header-bg: rgba(15,26,36,.92);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; overflow-x: hidden; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.example-banner { background: var(--accent); color: var(--on-accent); text-align: center; padding: .65rem clamp(1rem,3vw,2rem); font-size: .82rem; font-weight: 500; }
.example-banner a { color: var(--on-accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; padding: .4rem .2rem; min-height: 44px; display: inline-flex; align-items: center; }
.banner-note { display: block; font-size: .75rem; font-weight: 400; opacity: .7; margin-top: .15rem; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, backdrop-filter .3s, border-color .3s; }
.header.scrolled { background: var(--header-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: .9rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--text); text-decoration: none; flex-shrink: 0; padding: .5rem 0; }
.nav { display: flex; gap: .15rem; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .82rem; font-weight: 500; padding: .75rem .9rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta { color: var(--accent) !important; font-weight: 700; border: 1px solid var(--accent); padding: .75rem 1.3rem !important; }
.nav-cta:hover { background: var(--accent); color: var(--on-accent) !important; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .nav-toggle { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 0; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.theme-toggle svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; max-width: var(--maxw); margin: 0 auto; padding: clamp(6rem,11vh,8rem) clamp(2rem,5vw,4rem) clamp(3rem,6vw,5rem); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem,5vw,4rem); }
.hero-content { max-width: 540px; min-width: 0; }
.hero-tag { font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.5rem,5.5vw,4.2rem); line-height: 1.08; color: var(--text); margin: 0 0 1.2rem; letter-spacing: -.01em; }
.hero-sub { font-size: 1.05rem; color: var(--text); line-height: 1.75; max-width: 430px; margin: 0 0 2rem; opacity: .75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .04em; padding: .95rem 2rem; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-light); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual { position: relative; min-width: 0; max-height: 70vh; }
.hero-visual::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30%; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; z-index: 1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16,1,.3,1), filter .5s ease; }
.hero-visual:hover img { transform: scale(1.04); filter: brightness(1.04); }

/* Hero entrance */
.js .hero-content > * { opacity: 0; transform: translateY(24px); animation: rise .85s cubic-bezier(.16,1,.3,1) forwards; }
.js .hero-tag { animation-delay: .05s; }
.js .hero h1 { animation-delay: .14s; }
.js .hero-sub { animation-delay: .26s; }
.js .hero-actions { animation-delay: .38s; }
.js .hero-visual { clip-path: inset(0 0 100% 0); animation: image-reveal 1.1s cubic-bezier(.16,1,.3,1) .15s forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes image-reveal { to { clip-path: inset(0 0 0% 0); } }

/* Sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem,9vw,7rem) clamp(2rem,5vw,4rem); }
.section-head { max-width: 600px; margin-bottom: 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 .8rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.section-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem,4vw,3rem); color: var(--text); line-height: 1.1; margin: 0; }
.section-intro { color: var(--muted); font-size: .95rem; line-height: 1.75; max-width: 480px; margin-top: 1rem; }

/* Over — 3 feature cards */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.feature { background: var(--surface); border: 1px solid var(--line); padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.03); transition: border-color .25s, transform .25s, box-shadow .25s; }
.feature:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05); }
.feature-icon { width: 44px; height: 44px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 1.2rem; transition: background .3s, transform .3s; }
.feature:hover .feature-icon { background: var(--accent); color: var(--on-accent); transform: scale(1.08); }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 0 0 .5rem; }
.feature p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Specialisaties — 4 grid */
.specs { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.spec { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.03); transition: border-color .25s, transform .25s, box-shadow .25s; }
.spec:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05); }
.spec-num { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 2rem; transition: color .3s; }
.spec:hover .spec-num { color: var(--accent-light); }
.spec h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin: 0 0 .3rem; }
.spec p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Blog */
.blog { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.post { background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.03); transition: border-color .25s, transform .25s, box-shadow .25s; }
.post:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05); }
.post-img { aspect-ratio: 16/9; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.post:hover .post-img img { transform: scale(1.06); }
.post-body { padding: 1.25rem; }
.post-date { font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.post h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--text); margin: .4rem 0 .4rem; line-height: 1.2; }
.post p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.member { text-align: center; }
.member-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 2px solid var(--line); transition: border-color .3s, transform .3s; }
.member:hover .member-photo { border-color: var(--accent); transform: scale(1.05); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.member:hover .member-photo img { transform: scale(1.08); }
.member h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0 0 .2rem; }
.member .role { font-size: .82rem; color: var(--accent); font-weight: 600; }

/* Contact */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: start; padding: clamp(4.5rem,9vw,7rem) clamp(2rem,5vw,4rem); }
.contact-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem,4vw,3rem); color: var(--text); margin: 0 0 .8rem; }
.contact-head p { color: var(--muted); line-height: 1.75; margin: 0 0 2rem; max-width: 400px; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding: .5rem 0; min-height: 44px; display: flex; align-items: flex-end; }
.form-field input, .form-field textarea { font-family: var(--sans); font-size: .92rem; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: .85rem 1rem; transition: border-color .2s; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: .5; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.contact-side h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 0 0 1.2rem; }
.contact-item { display: flex; gap: .75rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.contact-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.contact-icon svg { width: 18px; height: 18px; }

.footer { background: var(--bg); border-top: 1px solid var(--line); text-align: center; padding: 2.5rem clamp(2rem,5vw,4rem); }
.footer-brand { font-family: var(--serif); color: var(--text); font-size: 1.1rem; font-weight: 700; margin: 0 0 .3rem; }
.footer p { color: var(--muted); font-size: .75rem; margin: 0; }
.footer a { color: var(--accent); text-decoration: none; padding: .4rem .2rem; min-height: 44px; display: inline-flex; align-items: center; }
.footer a:hover { text-decoration: underline; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

@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; }
  .js .hero-content > *, .js .hero-visual { opacity: 1; transform: none; clip-path: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 58px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--header-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 1rem 1.5rem 1.5rem; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); color: var(--text) !important; }
  .nav a:last-child { border-bottom: none; }
  .nav-cta { border: 1px solid var(--accent) !important; text-align: center; margin-top: .5rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { max-height: 50vh; }
  .features, .blog, .team { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .header-inner, .section, .contact-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 380px) {
  .header-inner, .section, .contact-inner { padding-left: 1rem; padding-right: 1rem; }
}
