/* De Kapoentjes: voorbeeldsite. Tokens eerst, alles daarna verwijst naar tokens. */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-var.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --ground: #fff6f9;
  --field: #fde3ef;
  --pink: #f472b6;
  --pink-deep: #db2777;
  --ink: #45102a;
  --ink-soft: #6b2a4b;
  --green: #16a34a;
  --green-press: #15803d;
  --white: #ffffff;
  --sun: #fcd34d;
  --display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --r-big: 28px;
  --r: 18px;
  --gap-section: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.55; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a[href^="tel:"] { white-space: nowrap; }
p, li, dd { text-wrap: pretty; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 0.6rem + 5.6vw, 2.6rem); }
@media (min-width: 900px) { h1 { font-size: clamp(3.25rem, 0.5rem + 5.8vw, 5.75rem); } }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.375rem; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* skiplink en voorbeeldmelding */
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 16px; line-height: 1.4; padding: 10px var(--pad); text-align: center; }
.demo-note a { color: var(--ground); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 2px; margin: -12px 0; }

/* kop */
.top { position: sticky; top: 0; z-index: 40; background: var(--ground); }
.top-in { display: flex; align-items: center; gap: 10px; min-height: var(--head-h); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.mark svg { width: 46px; height: auto; flex: none; }
.mark-name { font-family: var(--display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; white-space: nowrap; }
.mark-name small { font-size: 1em; font-weight: 500; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 999px; white-space: nowrap; transition: background-color .2s var(--ease); }
.nav a:hover { background: var(--field); }
.nav a[aria-current="page"] { background: var(--field); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; font-family: var(--text); transition: transform .18s var(--ease), background-color .2s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-go { background: var(--green); color: var(--ink); }
.btn-go:hover { background: #22b456; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: var(--ink-soft); }
.btn-soft { background: var(--field); color: var(--ink); }
.btn-soft:hover { background: #fbd0e4; }
.top .btn { min-height: 44px; padding: 8px 16px; }
.call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; text-decoration: none; font-weight: 800; white-space: nowrap; background: var(--field); transition: background-color .2s var(--ease); }
.call:hover { background: #fbd0e4; }
.call svg { width: 20px; height: 20px; }
.call-num { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--ground); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--white); border-radius: var(--r); padding: 8px; min-width: 240px; display: grid; box-shadow: 0 18px 40px rgba(69, 16, 42, .18); } /* taste-skill-ignore: het uitklapmenu zweeft echt */
.menu-panel a { text-decoration: none; font-weight: 700; padding: 12px 14px; border-radius: 12px; }
.menu-panel a:hover { background: var(--field); }
@media (max-width: 519px) { .mark-name { display: none; } }
@media (min-width: 640px) { .call-num { display: inline; } .call { padding: 0 16px; } }
@media (min-width: 1180px) { .nav { display: flex; } .menu { display: none; } .mark { margin-right: 18px; } .nav { margin-right: auto; } }

/* hero */
.hero { padding-block: clamp(24px, 4vw, 56px) 0; }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { max-width: 20ch; margin-bottom: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .hero h1 { max-width: none; } }
.lead { font-size: 1.25rem; line-height: 1.5; margin: 0; max-width: 36ch; }
@media (min-width: 900px) { .lead { font-size: 1.375rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { min-height: 56px; font-size: 1.0625rem; padding-inline: 24px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.facts svg { width: 34px; height: 34px; flex: none; }
.hero-pic { margin: 0; position: relative; }
.hero-pic .frame { border-radius: var(--r-big); overflow: hidden; aspect-ratio: 4 / 3; background: var(--field); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero-pic figcaption { font-size: 1rem; margin-top: 10px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 5fr 7fr; align-items: start; gap: 48px; }
  .hero-pic .frame { aspect-ratio: 3 / 2; }
}

/* secties */
.section { padding-block: var(--gap-section) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head p { margin: 0; font-size: 1.25rem; max-width: 52ch; }

/* drie huizen + kaart */
.houses { display: grid; gap: 32px; }
.map-wrap { position: relative; background: var(--field); border-radius: var(--r-big); overflow: hidden; }
.map { width: 100%; height: auto; }
.map .road { fill: none; stroke: #f6c1da; stroke-width: 7; stroke-linecap: round; }
.map .vil circle { fill: var(--ink); }
.map .vil text { font-family: var(--text); font-size: 26px; font-weight: 700; fill: var(--ink); }
.map .home path.body { stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.map .home text { font-family: var(--display); font-weight: 600; font-size: 30px; fill: var(--ink); }
.map .line { stroke: var(--ink); stroke-width: 5; stroke-dasharray: 2 14; stroke-linecap: round; fill: none; opacity: 0; transition: opacity .3s var(--ease); }
.map .line.on { opacity: 1; }
.map .you { opacity: 0; transition: opacity .3s var(--ease); }
.map .you.on { opacity: 1; }
.map .home { transition: transform .35s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.map .home.near { transform: scale(1.18); }
.finder { display: grid; gap: 22px; align-content: start; }
.finder label { font-weight: 800; display: block; margin-bottom: 8px; }
.select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 56px; padding: 12px 48px 12px 18px; border-radius: 16px; border: 3px solid var(--ink); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2345102a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 22px; font: 700 1.0625rem var(--text); color: var(--ink); }
.answer { background: var(--white); border-radius: var(--r-big); padding: 24px; }
.answer h3 { margin-bottom: 8px; }
.answer p { margin: 0 0 14px; }
.answer .btn { margin-top: 4px; }
.house-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.house-list li { display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 16px 0; align-items: start; }
.house-list svg { width: 52px; height: 52px; grid-row: span 3; }
.house-list h3 { font-size: 1.375rem; line-height: 1.2; }
.house-list .addr { margin: 0; }
.house-list .meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; }
.house-list .meta a { font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.status { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status.is-open::before { background: var(--green); }
@media (min-width: 900px) {
  .houses { grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
  .map-wrap { position: sticky; top: calc(var(--head-h) + 24px); }
}

/* een dag */
.day { display: grid; gap: 36px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 0; }
.timeline li { padding: 14px 0; position: relative; }
.timeline time { display: inline-block; min-width: 3.6em; color: #be185d; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; }
.timeline li.now { background: var(--field); border-radius: var(--r); padding-inline: 14px; margin-inline: -14px; }
.timeline .now-tag { display: none; font-weight: 800; color: var(--pink-deep); }
.timeline li.now .now-tag { display: inline; }
.clock-line { font-weight: 800; margin: 0; min-height: 1.6em; }
.day-pics { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.day-pics figure { margin: 0; }
.day-pics .p-big { grid-column: 1 / -1; }
.day-pics .frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.day-pics .p-big .frame { aspect-ratio: 16 / 10; }
.day-pics img { width: 100%; height: 100%; object-fit: cover; }
.day-pics figcaption { font-size: 1rem; margin-top: 8px; font-weight: 700; }
@media (min-width: 900px) {
  .day { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .day-pics { position: sticky; top: calc(var(--head-h) + 24px); }
}

/* kort en praktisch: veld */
.field { background: var(--pink); margin-top: var(--gap-section); padding-block: clamp(64px, 8vw, 112px); }
.field .section-head { margin-bottom: 36px; }
.keys { display: grid; gap: 28px 40px; margin: 0; }
.keys div { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; }
.keys svg { width: 56px; height: 56px; grid-row: span 2; }
.keys dt { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; text-wrap: balance; }
.keys dd { margin: 0; }
.field .more { margin-top: 36px; }
@media (min-width: 760px) { .keys { grid-template-columns: 1fr 1fr; } }

/* werken bij */
.work { background: var(--ink); color: var(--ground); padding-block: clamp(64px, 8vw, 112px); }
.work-grid { display: grid; gap: 32px; align-items: center; }
.work h2 { margin-bottom: 18px; }
.work p { max-width: 46ch; }
.work .frame { border-radius: var(--r-big); overflow: hidden; aspect-ratio: 3 / 2; }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work .btn-go { margin-top: 8px; }
@media (min-width: 900px) { .work-grid { grid-template-columns: 6fr 5fr; gap: 64px; } }

/* vragen */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 800; font-size: 1.125rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; margin: 0; }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; } }

/* oproep */
.call-out { padding-block: var(--gap-section); }
.call-out-in { display: grid; gap: 20px; }
.call-out h2 { margin-bottom: 14px; }
.call-out .hero-actions { margin-top: 6px; }
@media (min-width: 900px) { .call-out-in { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; } }

/* voet */
.foot { background: var(--field); padding-block: 56px 32px; }
.foot .foot-name { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 12vw, 10.5rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 48px; max-width: none; }
.foot-grid { display: grid; gap: 28px; }
.foot h2 { font-size: 1.375rem; margin-bottom: 8px; }
.foot p, .foot address { font-style: normal; margin: 0 0 6px; }
.foot a { font-weight: 700; }
.foot .legal { margin-top: 40px; font-size: 1rem; display: grid; gap: 6px; max-width: 80ch; }
.foot .legal p { margin: 0; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* praktisch-pagina */
.page-head { padding-block: clamp(28px, 5vw, 64px) 0; }
.page-head h1 { margin-bottom: 18px; }
.page-head .lead { max-width: 52ch; }
.prac { display: grid; gap: 40px; padding-top: clamp(40px, 6vw, 80px); }
.toc { display: none; }
.prac-body > section + section { margin-top: clamp(56px, 7vw, 88px); }
.prac-body h2 { margin-bottom: 16px; }
.prac-body p, .prac-body ul { max-width: 62ch; }
.prac-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.prac-body li { margin-bottom: 6px; }
.prac-pic { margin: 28px 0 0; }
.prac-pic .frame { border-radius: var(--r-big); overflow: hidden; aspect-ratio: 16 / 9; }
.prac-pic img { width: 100%; height: 100%; object-fit: cover; }
.prac-pic figcaption { font-size: 1rem; margin-top: 8px; color: var(--ink-soft); }
.bring { display: grid; gap: 12px 28px; list-style: none; padding: 0 !important; }
.bring li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.bring svg { width: 30px; height: 30px; flex: none; margin-top: 1px; }
@media (min-width: 640px) { .bring { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .prac { grid-template-columns: 260px 1fr; gap: 72px; }
  .toc { display: block; position: sticky; top: calc(var(--head-h) + 28px); align-self: start; }
  .toc p { font-family: var(--display); font-weight: 600; font-size: 1.375rem; margin-bottom: 10px; }
  .toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
  .toc a { display: block; text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 12px; }
  .toc a:hover { background: var(--field); }
}

/* plaats vragen */
.ask { display: grid; gap: 40px; padding-top: clamp(32px, 5vw, 64px); }
.form { background: var(--white); border-radius: var(--r-big); padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form label.lbl { font-weight: 800; margin-bottom: 10px; display: block; padding: 0; }
.form .hint { font-weight: 400; display: block; font-size: 1rem; color: var(--ink-soft); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 3px solid #e9c3d6; background: var(--ground); font: 400 1.0625rem var(--text); color: var(--ink); }
.form select { appearance: none; -webkit-appearance: none; background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2345102a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 22px; padding-right: 46px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.two { display: grid; gap: 22px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--field); font-weight: 800; transition: background-color .2s var(--ease), transform .15s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--ground); }
.chip input:focus-visible + span { outline: 3px solid var(--pink-deep); outline-offset: 3px; }
.chip:active span { transform: scale(.97); }
.form .submit { justify-self: start; min-height: 56px; }
.summary { background: var(--field); border-radius: var(--r); padding: 16px 18px; margin: 0; font-weight: 700; }
.done { display: none; background: var(--green); color: var(--ink); border-radius: var(--r-big); padding: 24px; }
.done.show { display: block; }
.done h2 { font-size: 1.375rem; margin-bottom: 8px; }
.done a { font-weight: 800; }
.aside { display: grid; gap: 28px; align-content: start; }
.aside h2 { font-size: 1.375rem; margin-bottom: 8px; }
.aside p { margin: 0 0 6px; }
.aside .big-call { font-family: var(--display); font-weight: 600; font-size: 2rem; text-decoration: none; display: inline-flex; min-height: 48px; align-items: center; }
.aside .frame { border-radius: var(--r-big); overflow: hidden; aspect-ratio: 4 / 3; }
.aside img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .ask { grid-template-columns: 7fr 4fr; gap: 64px; } }

.see-pics { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.see-pics figure { margin: 0; }
.see-pics figure:first-child { grid-column: 1 / -1; }
.see-pics .frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.see-pics figure:first-child .frame { aspect-ratio: 16 / 9; }
.see-pics img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .see-pics { grid-template-columns: 2fr 1fr 1fr; } .see-pics figure:first-child { grid-column: auto; } .see-pics .frame, .see-pics figure:first-child .frame { aspect-ratio: auto; height: clamp(260px, 24vw, 360px); } }

/* beweging: alleen met JS en zonder reduced-motion */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }
.js .hero-pic .frame img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.js .hero-pic.in .frame img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js .hero-pic .frame img { transform: none; }
}
@media (max-width: 640px) {
  .map .vil text { font-size: 46px; }
  .map .vil.minor { display: none; }
  .map .home text { font-size: 46px; }
  .map .scale text { font-size: 40px; }
  .map .home { transform: scale(1.45); }
  .map .home.near { transform: scale(1.7); }
}
