/* Fairy nursing, voorbeeldsite. Zacht en rond, vlakke kleur, geen schaduwen in rust. */
@font-face { font-family: "Varela Round"; src: url("fonts/varela-round-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-var-latin.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  --ground: #fbf7f8;
  --paper: #ffffff;
  --field: #f6e5ec;
  --field-2: #efd3df;
  --ink: #3d1229;
  --muted: #6a3550;
  --berry: #3d1229;
  --berry-2: #55203c;
  --on-berry: #fbf7f8;
  --on-berry-muted: #ecc9d8;
  --accent: #b3245a;
  --accent-deep: #8e1a46;
  --on-accent: #ffffff;
  --ring: #b3245a;
  --font-d: "Varela Round", "Nunito Sans", system-ui, sans-serif;
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;
  --t-small: 1rem;
  --t-body: 1.125rem;
  --t-lead: 1.375rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(2rem, 1.35rem + 2.4vw, 3.3rem);
  --t-h1: clamp(2.1rem, 1rem + 5.1vw, 5.4rem);
  --radius: 26px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 700; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Skiplink en voorbeeldmelding ---------- */
.skip-link { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--berry); color: var(--on-berry); padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--berry); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: .55rem 1rem; text-align: center; text-wrap: balance; }
.demo-note a { padding: 13px 12px; margin: 0 -12px; white-space: nowrap; color: inherit; text-decoration: underline; }
.demo-note a:hover { color: inherit; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -10px; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: var(--t-body); line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); color: var(--on-accent); }
.btn-soft { background: var(--field); color: var(--ink); }
.btn-soft:hover { background: var(--field-2); color: var(--ink); }
.btn-light { background: var(--on-berry); color: var(--berry); }
.btn-light:hover { background: #ffffff; color: var(--berry); }
.btn-big { min-height: 58px; padding: 0 30px; }

/* ---------- Woordmerk ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; padding-top: 6px; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wm-fairy { position: relative; font-family: var(--font-d); font-size: 1.75rem; line-height: 1; letter-spacing: -0.01em; }
.wm-i { position: relative; display: inline-block; }
.wm-i svg { position: absolute; left: 50%; top: -0.32em; width: .5em; height: .5em; transform: translateX(-50%); color: var(--accent); }
.wm-nursing { font-family: var(--font); font-weight: 700; font-size: 1rem; color: var(--accent); letter-spacing: .01em; }

/* ---------- Kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; text-decoration: none; font-weight: 600; white-space: nowrap; border-radius: 999px; transition: background-color 160ms var(--ease-out); }
.nav-links a:hover { background: var(--field); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--field); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 44px; padding: 0 16px; font-size: var(--t-small); gap: 7px; }
.header-actions .btn svg { width: 18px; height: 18px; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--field); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--berry); color: var(--on-berry); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--berry); color: var(--on-berry); border-radius: 22px; padding: 10px; display: grid; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; text-decoration: none; font-weight: 600; border-radius: 14px; }
.menu-panel a:hover { background: var(--berry-2); color: #ffffff; }
@media (min-width: 1120px) { .nav-links { display: flex; } .menu { display: none; } }
@media (max-width: 380px) { .wm-fairy { font-size: 1.5rem; } .wm-nursing { font-size: 1rem; } .header-actions .btn { padding: 0 14px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 88px) 0 clamp(56px, 8vw, 120px); }
.hero h1 { font-size: var(--t-h1); max-width: 12em; }
.hero-row { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(24px, 3vw, 44px); align-items: center; }
.hero .lead { font-size: var(--t-body); line-height: 1.5; }
@media (min-width: 900px) { .hero .lead, .page-hero .lead { font-size: var(--t-lead); } .places { font-size: 2.25rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-area { margin-top: 24px; color: var(--muted); display: flex; gap: 10px; }
.hero-area svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--accent); }
.hero-photo { margin: 0; }
.photo-frame { overflow: hidden; border-radius: var(--radius); background: var(--field); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .photo-frame { aspect-ratio: 16 / 10; }
.js .hero-photo img { animation: slow-zoom 22s var(--ease-out) both; transform-origin: 40% 45%; }
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
figcaption { margin-top: 12px; color: var(--muted); font-size: var(--t-small); }
@media (min-width: 900px) { .hero-row { grid-template-columns: .8fr 1.2fr; } }

/* ---------- Secties ---------- */
.section { padding: clamp(72px, 10vw, 160px) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 18px; }
.blush { background: var(--field); }
.berry { background: var(--berry); color: var(--on-berry); }
.berry a:not(.btn) { color: var(--on-berry); }

/* ---------- Zorgkaart ---------- */
.card-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.care-card { margin: 0; display: grid; gap: 4px; background: var(--paper); border-radius: var(--radius); padding: clamp(8px, 1.5vw, 18px); }
.care-row { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; align-items: start; padding: 16px 14px; }
.care-row svg { width: 48px; height: 48px; grid-row: span 2; }
.care-row dt { font-family: var(--font-d); font-size: var(--t-h3); line-height: 1.25; }
.care-row dd { margin: 0; }
.card-aside { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.card-grid > .card-aside { order: 2; }
@media (min-width: 900px) { .card-grid > .card-aside { order: 0; } }
.card-aside .photo-frame { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .card-aside .photo-frame.square { aspect-ratio: 1 / 1; } }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; min-height: 44px; }
@media (min-width: 900px) { .card-grid { grid-template-columns: .85fr 1.15fr; } }
@media (max-width: 899px) { .card-aside { position: static; } .card-aside .photo-frame { aspect-ratio: 3 / 2; } }

/* ---------- Schrijf ons (het levende element) ---------- */
.composer { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.composer h2 { color: var(--on-berry); }
.composer .intro { color: var(--on-berry-muted); margin-top: 16px; max-width: 32em; }
.pick { border: 0; margin: 28px 0 0; padding: 0; }
.pick legend { font-weight: 700; padding: 0; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--berry-2); color: var(--on-berry); font-weight: 600; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 140ms var(--ease-out); }
.opt input:checked + span { background: var(--on-berry); color: var(--berry); }
.opt input:focus-visible + span { outline: 3px solid #f3a6c5; outline-offset: 3px; }
.opt:active span { transform: scale(.97); }
.letter { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); }
.letter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.letter-head h3 { font-size: var(--t-h3); }
.letter-to { color: var(--muted); font-size: var(--t-small); }
.letter-body { font-size: var(--t-body); line-height: 1.7; white-space: pre-line; background: var(--field); border-radius: 18px; padding: 20px 22px; min-height: 230px; }
.letter-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.copy-ok { color: var(--muted); margin-top: 12px; min-height: 1.6em; }
@media (min-width: 1000px) { .composer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 999px) { .letter { position: static; } }

/* ---------- Een bezoek ---------- */
.visit-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.visit-grid figure { margin: 0; }
.visit-grid .photo-frame { aspect-ratio: 3 / 2; }
.visit { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.visit li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.visit li svg { width: 44px; height: 44px; }
.visit h3 { margin-bottom: 4px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.05fr .95fr; } .visit-grid figure { order: 2; } }

/* ---------- Werkgebied ---------- */
.places { font-family: var(--font-d); font-size: var(--t-h3); line-height: 1.25; margin: 0; max-width: 22em; text-wrap: balance; }
.places .home { color: var(--accent); }
.places .sep { color: #cf8fab; }
.area-wrap { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.area-foot { display: grid; gap: 22px; align-items: center; }
.area-foot figure { margin: 0; }
.area-foot .photo-frame { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .area-wrap { grid-template-columns: 1.1fr .9fr; } }
.page-area { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .page-area { grid-template-columns: 1fr 1fr; } }

/* ---------- Vragen ---------- */
.qa { display: grid; gap: clamp(28px, 3vw, 44px) clamp(28px, 5vw, 72px); }
.qa h3 { margin-bottom: 8px; }
@media (min-width: 800px) { .qa { grid-template-columns: 1fr 1fr; } }

/* ---------- Slot ---------- */
.closing { padding: clamp(72px, 10vw, 150px) 0; }
.closing h2 { color: var(--on-berry); max-width: 16em; }
.closing p { color: var(--on-berry-muted); margin-top: 18px; max-width: 36em; }
.big-mail { display: inline-block; margin-top: 20px; padding: 10px 0; font-family: var(--font-d); font-size: var(--t-h3); line-height: 1.15; color: var(--on-berry); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.berry .big-mail:hover { color: #ffffff; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 640px) { .big-mail { font-size: var(--t-h2); } }
@media (min-width: 1000px) {
  .closing .wrap { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 48px; align-items: end; }
  .closing .wrap > * { grid-column: 1; }
  .closing .closing-actions { grid-column: 2; grid-row: 1 / span 3; justify-content: flex-end; margin-top: 0; }
}

/* ---------- Voet ---------- */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 40px; }
.foot-mark { font-family: var(--font-d); font-size: clamp(3.4rem, 1rem + 11vw, 11rem); line-height: .95; letter-spacing: -0.03em; margin: 0 0 36px; color: var(--berry); white-space: nowrap; }
.foot-mark .wm-i svg { color: var(--accent); }
.foot-grid { display: grid; gap: 26px; }
.foot-grid p b { display: block; margin-bottom: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.credits { margin-top: 40px; color: var(--muted); font-size: var(--t-small); max-width: 44em; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Subpagina's ---------- */
.page-hero { padding: clamp(32px, 5vw, 80px) 0 clamp(48px, 6vw, 96px); }
.page-hero h1 { font-size: var(--t-h1); max-width: 12em; }
.page-hero .hero-row { margin-top: clamp(20px, 3vw, 40px); }
.page-hero .lead { font-size: var(--t-body); }
.story { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.story + .story { margin-top: clamp(72px, 9vw, 140px); }
.story figure { margin: 0; order: 2; }
.story .photo-frame { aspect-ratio: 4 / 3; }
.story h2 { margin-bottom: 18px; }
.dots { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.dots li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.dots li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
@media (min-width: 900px) {
  .story { grid-template-columns: 1fr 1fr; }
  .story figure { order: 0; }
  .story.flip figure { order: 2; }
}
.three { display: grid; gap: clamp(28px, 4vw, 56px); }
.three svg { width: 48px; height: 48px; margin-bottom: 12px; }
.three h3 { margin-bottom: 8px; }
@media (min-width: 900px) { .three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-line { display: grid; grid-template-columns: 28px 1fr; gap: 14px; margin-bottom: 22px; }
.contact-line svg { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.contact-line b { display: block; }
.contact-line a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: var(--t-body); color: var(--ink); background: var(--paper); border: 2px solid #dcb7c7; border-radius: 16px; padding: 12px 14px; min-height: 52px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; border-color: var(--ink); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-note { color: var(--muted); font-size: var(--t-small); }
.form-done { background: var(--berry); color: var(--on-berry); border-radius: 18px; padding: 18px 20px; }
.form-done a { color: var(--on-berry); }
.form-done[hidden] { display: none; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

/* ---------- Beweging ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-photo img { animation: none; }
  .btn, .opt span { transition: none; }
}

/* Elementen met het attribuut hidden blijven verborgen, ook als een klasse display zet (nakijkronde 27 oktober 2026). */
[hidden] { display: none !important; }
