/* NC Projects, voorbeeldsite. Flat: werkblauw, signaaloranje, Inter. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-normal-400-800.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #f2f5fa;
  --surface: #e2e8f2;
  --ink: #0f1b33;
  --ink-2: #34425c;
  --field: #1e3a8a;
  --field-2: #18307a;
  --on-field: #ffffff;
  --on-field-2: #d7e0f4;
  --accent: #ea580c;
  --accent-press: #c2410c;
  --on-accent: #0b0b0b;
  --focus: #1e40af;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --gap-section: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--ground); padding: 12px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Knoppen: vlak, vierkant */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  background: var(--accent); color: var(--on-accent);
  font: 700 1.0625rem/1 var(--font); text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.button:hover { background: var(--accent-press); }
.button:active { transform: translateY(1px); }
.button svg { width: 20px; height: 20px; flex: none; }
.button--ink { background: var(--ink); color: var(--ground); }
.button--ink:hover { background: var(--field); }
.button--field { background: var(--on-field); color: var(--field); }
.button--field:hover { background: var(--on-field-2); }
.button--big { min-height: 64px; font-size: 1.1875rem; padding: 0 28px; }

/* Kop */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ground);
  transition: background-color .2s var(--ease);
}
.site-header.is-scrolled { background: var(--surface); }
.header-bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 48px; min-width: 48px; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; }
@media (max-width: 459px) { .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--field); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 12px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 700; }
.header-tel:hover { background: var(--field); }
.header-tel svg { width: 20px; height: 20px; }
.header-tel .tel-text { display: none; }
.header-actions .button { min-height: 48px; padding: 0 16px; }
.menu-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 0; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); padding: 8px var(--gutter) 20px; box-shadow: 0 18px 30px rgba(15, 27, 51, .14); /* taste-skill-ignore: open gsm-menu is een overlay */
}
.main-nav.is-open ul { flex-direction: column; }
.main-nav.is-open a { min-height: 52px; font-size: 1.1875rem; }

/* Held */
.hero { padding: clamp(20px, 4vw, 56px) 0 0; }
.hero-title {
  font-size: clamp(2.05rem, 7.6vw, 6.4rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: .96;
  max-width: 13ch;
}
.hero-grid { display: grid; gap: 28px; margin-top: 16px; }
.hero-side { order: -1; display: grid; gap: 20px; }
.hero-side > * { margin: 0; }
.hero-lead { font-size: 1.1875rem; line-height: 1.5; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-actions .button { flex: 1 1 220px; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-media figcaption, .photo figcaption { font-size: 1rem; color: var(--ink-2); padding-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 8px 0 0; }
.facts div { min-width: 0; }
.facts dt { font-size: 1rem; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 700; }

/* Secties */
.section { padding-top: var(--gap-section); }
.section-title { font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.section-intro { font-size: 1.1875rem; max-width: 36em; margin-top: 18px; }

/* Diensten: rijen foto + tekst */
.services { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: clamp(40px, 6vw, 72px); list-style: none; }
.service { display: grid; gap: 20px; align-items: start; }
.service .photo { margin: 0; }
.service .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service--tall .photo img { aspect-ratio: 4 / 5; }
.service-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.service-icon { width: 56px; height: 56px; flex: none; }
.service h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; }
.service p { max-width: 34em; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}

/* Klussenlijst: blauw veld */
.list-field { background: var(--field); color: var(--on-field); margin-top: var(--gap-section); padding: clamp(64px, 9vw, 128px) 0; }
.list-field .section-title { color: var(--on-field); }
.list-field .section-intro { color: var(--on-field-2); }
.list-grid { display: grid; gap: 32px; }
.chores { border: 0; margin: 0; padding: 0; min-width: 0; }
.chores legend { font-weight: 700; font-size: 1.1875rem; margin-bottom: 14px; padding: 0; }
.chore-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; }
.chore {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px;
  background: var(--field-2); cursor: pointer; font-weight: 600;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.chore:hover { background: #14286b; }
.chore input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; flex: none; margin: 0; background: var(--on-field); cursor: pointer; display: grid; place-content: center; }
.chore input::after { content: ""; width: 13px; height: 7px; border-left: 3px solid var(--on-accent); border-bottom: 3px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.chore input:checked { background: var(--accent); }
.chore input:checked::after { opacity: 1; }
.chore input:focus-visible { outline: 3px solid var(--on-field); outline-offset: 3px; }
.chore:has(input:checked) { background: var(--on-field); color: var(--field); }
.list-send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.list-count { font-weight: 700; font-size: 1.1875rem; margin: 0; }
.list-note { color: var(--on-field-2); margin: 16px 0 0; max-width: 36em; }

/* Recent werk */
.recent-grid { display: grid; gap: 28px; align-items: end; }
.recent-text p { max-width: 34em; }
.recent-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--field); }
.text-link svg { width: 20px; height: 20px; }
.recent-photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.recent-photos .photo { margin: 0; }
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
.photo-band .photo { margin: 0; }
.photo-band img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.recent-photos img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Werkwijze */
.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.steps { gap: 40px 48px; }
.step { padding-top: 0; }
.step h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 12px; color: var(--field); }
.step-icon { width: 44px; height: 44px; flex: none; }
.step p { margin: 0; }

/* Vragen */
.faq-grid { display: grid; gap: 32px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 20px; font-weight: 700; font-size: 1.1875rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; margin: 0; max-width: 40em; }

/* Werkgebied */
.area { display: grid; gap: 28px; align-items: center; }
.area-map { width: 100%; height: auto; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.area-list li { background: var(--surface); padding: 10px 14px; font-weight: 600; }
.area-list li.is-home { background: var(--field); color: var(--on-field); }

/* Slot */
.closer { margin-top: var(--gap-section); background: var(--accent); color: var(--on-accent); padding: clamp(56px, 8vw, 112px) 0; }
.closer-title { font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.closer p { font-size: 1.1875rem; max-width: 32em; margin-top: 16px; }
.closer-grid { display: grid; gap: 8px; }
.closer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.closer .button { background: var(--ink); color: var(--ground); }
.closer .button:hover { background: var(--field); }
.closer .button--light { background: var(--ground); color: var(--ink); }
.closer .button--light:hover { background: var(--surface); }

/* Footer */
.site-footer { background: var(--ink); color: var(--ground); padding: clamp(56px, 8vw, 96px) 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-name { font-size: clamp(3rem, 15vw, 13rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; margin: 0 0 40px; }
.footer-grid { display: grid; gap: 28px; }
.footer-col h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; color: #aab6cc; }
.footer-col a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col p, .footer-col address { font-style: normal; margin: 0; color: #d4dbe8; }
.footer-small { margin-top: 40px; font-size: 1rem; color: #aab6cc; max-width: 70ch; }
.footer-small a { color: #d4dbe8; }

/* Contactpagina */
.page-head { padding-top: clamp(24px, 5vw, 64px); }
.page-title { font-size: clamp(2.25rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: .96; max-width: 14ch; }
.contact-grid { display: grid; gap: 40px; margin-top: 32px; }
.direct { display: grid; gap: 8px; align-content: start; }
.direct .button { width: 100%; justify-content: flex-start; }
.direct-lines { margin-top: 16px; display: grid; gap: 4px; }
.direct-lines a { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.direct-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.direct-lines svg { width: 22px; height: 22px; flex: none; }
.direct address { font-style: normal; margin-top: 12px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field .hint { font-size: 1rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--font); color: var(--ink);
  background: #ffffff; border: 2px solid #b8c4d8; border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--field); outline: 3px solid var(--focus); outline-offset: 1px; }
.field-row { display: grid; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot, onzichtbaar */
.form-status { background: var(--field); color: var(--on-field); padding: 24px; }
.form-status h2 { font-size: 2.25rem; margin-bottom: 8px; }
.form-status p { margin: 0; }
.form-status a { color: var(--on-field); font-weight: 700; }
.form-note { font-size: 1rem; color: var(--ink-2); margin: 0; }

/* Beweging: alleen met JS, en niet bij reduced motion */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero-media img { transform-origin: 50% 60%; }
.js .hero-media.is-in img { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-media.is-in img { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Breder */
@media (min-width: 560px) {
  .chore-list { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 40px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .header-tel .tel-text { display: inline; }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  :root { --header-h: 76px; }
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: end; margin-top: 36px; }
  .hero-side { order: 0; padding-bottom: 6px; gap: 24px; }
  .hero-actions .button { flex: 0 1 auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .service:nth-child(even) .photo { order: 2; }
  .list-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
  .recent-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .area { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
  .closer-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
  .closer-actions { flex-direction: column; margin-top: 0; }
  .closer-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

/* Gsm: eerst bellen of mailen, dan het formulier */
@media (max-width: 979px) {
  .contact-grid .direct { order: -1; }
  .contact-grid .direct figure { display: none; }
}
