/* AJZ-Zorg — onepager. Tokens uit het AJZ Zorg design system. */
:root {
  /* kleur */
  --surface-100: #fbf7f2;
  --surface-200: #f2eadf;
  --ink: #1f2a2e;
  --ink-muted: #566265;
  --brand-teal: #1e5f5b;
  --brand-teal-dark: #174b48; /* hover-staat van brand-teal */
  --brand-teal-tint: #d6e8e4;
  --accent-apricot: #e8875a;
  --line: #ddd3c6;
  --signal-success: #2e7d4f;
  --signal-error: #b3261e;

  /* type */
  --font-display: Fraunces, Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;

  /* ruimte en radius */
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-full: 9999px;

  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-teal); text-underline-offset: 3px; }
a:hover { color: var(--brand-teal-dark); }
:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
.display { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 36px); line-height: 1.22; }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
p { margin: 0 0 var(--space-4); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.eyebrow { font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-teal); margin-bottom: var(--space-2); }

.skip-link { position: absolute; left: var(--space-4); top: -80px; z-index: 100; background: var(--brand-teal); color: var(--surface-100); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: var(--space-4); color: var(--surface-100); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 12px 24px; border-radius: var(--radius-full); border: 2px solid transparent;
  font: 600 17px/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  touch-action: manipulation;
}
.btn-primary { background: var(--brand-teal); color: var(--surface-100); }
.btn-primary:hover { background: var(--brand-teal-dark); color: var(--surface-100); }
.btn-secondary { background: transparent; color: var(--brand-teal); border-color: var(--brand-teal); }
.btn-secondary:hover { background: var(--brand-teal-tint); color: var(--brand-teal-dark); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* header en navigatie */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-4); }
.brand img { height: 44px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-2); }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; border-radius: var(--radius-full);
}
.site-nav a:not(.btn):hover { background: var(--surface-200); color: var(--ink); }
.site-nav a[aria-current="true"]:not(.btn) { color: var(--brand-teal); background: var(--brand-teal-tint); }
.site-nav .btn { margin-left: var(--space-2); }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  background: var(--surface-200); color: var(--ink); border: 0; border-radius: var(--radius-full);
  font: 600 16px var(--font-sans); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 38px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--surface-100); border-bottom: 1px solid var(--line);
    padding: var(--space-2) var(--space-6) var(--space-6);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a:not(.btn) { min-height: 52px; font-size: 18px; padding: 0 var(--space-4); }
  .site-nav .btn { margin: var(--space-2) 0 0; width: 100%; min-height: 52px; }
}

/* hero */
.hero { padding: var(--space-10) 0 calc(var(--space-10) * 1.5); }
.hero-grid { display: grid; gap: var(--space-10); align-items: center; }
.lead { font-size: 20px; line-height: 31px; color: var(--ink); max-width: 36em; margin-top: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.hero-facts { list-style: none; padding: 0; margin: var(--space-10) 0 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hero-facts li { border-top: 2px solid var(--brand-teal); padding-top: 12px; font-size: 16px; line-height: 22px; color: var(--ink-muted); }
.hero-facts strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 34px; color: var(--ink); }
.hero-visual { max-width: 440px; width: 100%; justify-self: center; }
.f-teal { fill: var(--brand-teal); } .f-tint { fill: var(--brand-teal-tint); } .f-sand { fill: var(--surface-200); } .f-apricot { fill: var(--accent-apricot); }
.s-surface { stroke: var(--surface-100); }

@media (min-width: 900px) {
  .hero { padding: calc(var(--space-10) * 2) 0; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: calc(var(--space-10) * 1.5); }
}
@media (max-width: 899px) {
  .hero { padding-top: var(--space-6); }
  .hero-grid { gap: var(--space-6); }
  .hero-visual { max-width: 180px; order: -1; justify-self: start; }
}

/* secties */
.section { padding: calc(var(--space-10) * 2) 0; }
.section-alt { background: var(--surface-200); }
.section-head { max-width: 720px; margin-bottom: var(--space-10); }
.section-intro { color: var(--ink-muted); margin-top: var(--space-4); }

/* diensten */
.cards { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; }
.card h3 { margin: var(--space-4) 0 var(--space-2); }
.card p { color: var(--ink-muted); }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--brand-teal-tint); color: var(--brand-teal); }
.card-icon .icon { width: 26px; height: 26px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 17px; line-height: 25px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--brand-teal); border-bottom: 2.5px solid var(--brand-teal); transform: rotate(-45deg);
}
.card .checks { margin-top: auto; padding-top: var(--space-2); }

.for-who { margin-top: var(--space-10); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tags li { background: var(--surface-200); border-radius: var(--radius-full); padding: 6px 16px; font-size: 16px; line-height: 24px; font-weight: 600; }

/* over mij */
.about-grid { display: grid; gap: var(--space-10); align-items: start; }
.portrait-frame {
  aspect-ratio: 4 / 5; max-width: 400px; border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 200px;
  background: var(--brand-teal-tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  text-align: center; padding: var(--space-6);
}
.portrait-frame img { width: 120px; height: 120px; }
.portrait-frame p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 32px; }
.portrait-frame span { font-family: var(--font-sans); font-weight: 400; font-size: 16px; color: var(--ink-muted); }
.about-text h2 { margin-bottom: var(--space-6); }
.qualities { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.qualities li { background: var(--surface-100); border-radius: var(--radius-md); padding: var(--space-4) 20px; }
.qualities strong { display: block; color: var(--brand-teal); }
.qualities span { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: calc(var(--space-10) * 1.5); }
}

/* werkwijze */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: var(--radius-full); display: grid; place-items: center;
  background: var(--accent-apricot); color: var(--ink); font: 600 22px/1 var(--font-display);
}
.steps h3 { margin-bottom: var(--space-2); }
.steps p { color: var(--ink-muted); margin: 0; }

/* ervaring */
.exp-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.exp-block { background: var(--surface-100); border-radius: var(--radius-md); padding: var(--space-6); }
.exp-block h3 { margin-bottom: var(--space-4); }
.exp-block .mt { margin-top: var(--space-6); }
.org-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.org-list li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; font-size: 17px; line-height: 24px; background: #fff; }

/* contact */
.contact-grid { display: grid; gap: var(--space-10); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: calc(var(--space-10) * 1.5); } }
.contact-info h2 { margin-bottom: var(--space-4); }
.contact-list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-4); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list .icon { color: var(--brand-teal); margin-top: 4px; }
.contact-list .label { display: block; font-size: 15px; line-height: 20px; color: var(--ink-muted); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
@media (min-width: 600px) { .contact-form { padding: var(--space-10); } }
.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0 var(--space-4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: 16px; line-height: 22px; margin-bottom: 6px; }
.req { color: var(--signal-error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 18px/26px var(--font-sans); color: var(--ink);
  background: var(--surface-100); border: 1.5px solid var(--ink-muted); border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px var(--brand-teal-tint); }
.field [aria-invalid="true"] { border-color: var(--signal-error); }
.hint { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin: 6px 0 0; }
.field-error { font-size: 15px; line-height: 22px; color: var(--signal-error); font-weight: 600; margin: 6px 0 0; }
.field-error::before { content: "! "; }
.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.field-check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--brand-teal); }
.field-check label { font-weight: 400; font-size: 16px; line-height: 24px; margin: 0; }
.field-check .field-error { grid-column: 2; }
.req-note { font-size: 15px; color: var(--ink-muted); margin-bottom: var(--space-4); }
.req-note span { color: var(--signal-error); }
.form-status { margin: var(--space-4) 0 0; font-weight: 600; }
.form-status.is-success { color: var(--signal-success); }
.form-status.is-error { color: var(--signal-error); }
.error-summary { border: 2px solid var(--signal-error); border-radius: var(--radius-sm); padding: var(--space-4) 20px; margin-bottom: var(--space-6); }
.error-summary:focus { outline: 3px solid var(--signal-error); outline-offset: 2px; }
.error-summary h3 { font-size: 18px; margin-bottom: var(--space-2); }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--signal-error); font-weight: 600; }

/* footer */
.site-footer { background: var(--brand-teal); color: var(--surface-100); padding: var(--space-10) 0 calc(var(--space-10) + 72px); }
.footer-inner { display: grid; gap: var(--space-6); justify-items: start; }
.footer-inner img { height: 72px; width: auto; margin-left: -16px; }
.footer-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.footer-meta a { color: var(--surface-100); }
.footer-meta a:hover { color: var(--brand-teal-tint); }
.site-footer :focus-visible { outline-color: var(--surface-100); }
.copy { margin: 0; font-size: 15px; color: var(--brand-teal-tint); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: var(--space-10); }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-meta { justify-self: end; justify-content: flex-end; }
  .copy { grid-column: 1 / -1; }
}

/* zwevende WhatsApp-knop (mobiel) */
.wa-float {
  position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 40;
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 52px; padding: 0 20px;
  background: var(--accent-apricot); color: var(--ink); border-radius: var(--radius-full);
  font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(31, 42, 46, .18);
}
.wa-float:hover { color: var(--ink); background: #ec9670; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* subtiele reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
