/* VanGer, voorbeeldsite. Minimalism & Swiss Style + funnel in drie stappen (ui-ux-pro-max), eik en bosgroen. */

@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ground: #f6f6f3;
  --ground-2: #ebebe6;
  --white: #ffffff;
  --ink: #191c1a;
  --ink-2: #474d49;
  --green: #0e5a45;
  --green-dark: #0a4535;
  --green-deep: #0c2e25;
  --on-green: #f6f6f3;
  --oak: #b9844d;
  --oak-dark: #8a5a2b;
  --focus: #0e5a45;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-hero: clamp(2.5rem, 1.3rem + 5vw, 5rem);
  --t-h2: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --t-h3: 1.5rem;
  --t-lead: 1.25rem;
  --t-body: 1.125rem;
  --t-small: 1rem;

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1280px;
  --gap-section: clamp(96px, 12vw, 192px);
  --head-h: 72px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::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(--font); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.015em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--green); color: #fff; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; font-weight: 500; text-decoration: none; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: .5rem 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: rond, vlak */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 500; font-size: 1.125rem; text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }

/* Kop */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 48px; text-decoration: none; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark svg { width: 34px; height: 34px; flex: none; }
.wm-text { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.wm-text b { font-weight: 700; color: var(--green); }
.nav-links { display: none; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 500; font-size: 1.125rem; text-decoration: none; white-space: nowrap; border-radius: 999px; }
.nav-links a:hover { background: var(--ground-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .btn { min-height: 48px; padding: 0 18px; font-size: 1.125rem; }
.head-mail .long { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer; border: 2px solid var(--ink); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--ink); color: var(--ground); }
.menu:not([open]) .menu-panel { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--green-deep); color: var(--on-green); padding: 10px; display: grid; border-radius: 20px; }
.menu-panel a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; text-decoration: none; font-size: 1.25rem; font-weight: 500; border-radius: 999px; }
.menu-panel a:hover { background: var(--green); color: #fff; }
@media (max-width: 480px) {
  .site-header .wrap { gap: 8px; }
  .wm-text { font-size: 1.4rem; }
  .wordmark svg { width: 30px; height: 30px; }
  .head-actions { gap: 6px; }
  .head-actions .btn { padding: 0 14px; }
}
@media (min-width: 1180px) {
  .nav-links { display: flex; }
  .menu { display: none; }
}
@media (min-width: 1300px) { .head-mail .long { display: inline; } .head-mail .short { display: none; } }

/* Hero */
.hero { padding: clamp(28px, 5vw, 72px) 0 0; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { font-size: var(--t-hero); line-height: .98; }
.hero .lead { font-size: var(--t-lead); line-height: 1.5; max-width: 38ch; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { margin: 0; overflow: hidden; border-radius: 0; background: var(--ground-2); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts svg { width: 26px; height: 26px; color: var(--green); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: 56px; align-items: end; }
  .hero-media { aspect-ratio: 4 / 4.6; }
  .hero-copy { padding-bottom: 12px; }
}

/* Secties */
.section { padding-top: var(--gap-section); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: var(--t-h2); }
.section-head p { font-size: var(--t-lead); margin: 18px 0 0; max-width: 46ch; }

/* Rekenhulp: een bouwtekening van uw trap */
.calc { display: grid; gap: 28px; }
.calc-controls { display: grid; gap: 22px; align-content: start; }
.calc-controls label, .calc-controls legend { display: block; font-weight: 500; margin-bottom: 10px; }
.height-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.height-row input[type="number"] { width: 128px; min-height: 52px; padding: 0 14px; font: inherit; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--white); border: 2px solid var(--ink-2); border-radius: 14px; }
.height-row span { font-size: 1.125rem; font-weight: 500; }
.range { width: 100%; height: 44px; margin: 8px 0 0; accent-color: var(--green); cursor: pointer; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--ground-2); border-radius: 999px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 500; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.seg input:checked + span { background: var(--green); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-sheet { background: var(--white); padding: clamp(14px, 2vw, 28px); }
.calc-sheet svg { width: 100%; height: auto; }
.calc-sentence { margin: 22px 0 0; font-size: 1.5rem; line-height: 1.45; letter-spacing: -0.01em; max-width: 46ch; }
.calc-sentence b { font-weight: 700; color: var(--green); }
.calc-verdict { max-width: 62ch; margin: 20px 0 0; padding: 14px 18px; background: #e3efe9; color: var(--green-deep); font-weight: 500; }
.calc-verdict.warn { background: #f4ead9; color: #5c3a10; }
.calc-note { font-size: 1rem; color: var(--ink-2); margin: 16px 0 0; max-width: 62ch; }
.calc-cta { margin-top: 6px; }
.calc-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.calc-table caption { text-align: left; font-weight: 500; padding-bottom: 8px; }
.calc-table th, .calc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #d5d6d0; font-size: 1rem; }
.calc-table th { font-weight: 500; color: var(--ink-2); }
@media (min-width: 980px) { .calc { grid-template-columns: 4fr 8fr; gap: 48px; } }

/* Soorten trappen: kolommen die als treden stijgen */
.types { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
.type figure { margin: 0 0 16px; overflow: hidden; background: var(--ground-2); }
.type figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--ease-out); }
.type:hover figure img { transform: scale(1.03); }
.type .plan { width: 44px; height: 44px; margin-bottom: 10px; }
.type h3 { margin-bottom: 6px; }
.type p { margin: 0; color: var(--ink); }
@media (max-width: 639px) {
  .type { display: grid; grid-template-columns: 132px 1fr; gap: 0 16px; align-items: start; }
  .type figure { grid-row: span 3; margin: 0; }
  .type figure img { aspect-ratio: 3 / 4; }
  .type .plan { width: 36px; height: 36px; margin-bottom: 6px; }
  .types { gap: 28px; }
}
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .types { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .type:nth-child(1) { margin-top: 192px; }
  .type:nth-child(2) { margin-top: 128px; }
  .type:nth-child(3) { margin-top: 64px; }
}
.types-more { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.types-more p { margin: 0; font-size: var(--t-lead); max-width: 52ch; }

/* Werkwijze: drie stappen */
.flow-band { margin-top: var(--gap-section); background: var(--green-deep); color: var(--on-green); padding: clamp(72px, 9vw, 128px) 0; }
.flow { display: grid; gap: 40px; }
.flow-steps { display: grid; gap: 32px; }
.flow-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.flow-steps svg { width: 64px; height: 64px; }
.flow-steps h3 { margin: 6px 0 8px; }
.flow-steps p { margin: 0; max-width: 46ch; }
.flow figure { margin: 0; overflow: hidden; }
.flow figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.flow .section-head p { color: var(--on-green); }
.flow .btn-green { background: var(--on-green); color: var(--green-deep); margin-top: 36px; }
.flow .btn-green:hover { background: #fff; }
@media (min-width: 980px) { .flow { grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; } }

/* Werkgebied */
.area { display: grid; gap: 32px; }
.area-towns { display: flex; flex-wrap: wrap; gap: 10px; }
.area-towns li { padding: 10px 18px; background: var(--white); border-radius: 999px; font-weight: 500; }
.area-towns li.home { background: var(--green); color: #fff; }
.area-addr { font-size: var(--t-lead); margin-top: 20px; }
@media (min-width: 980px) { .area { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

/* Vragen */
.faq-wrap { display: grid; gap: 32px; }
.faq { display: grid; gap: 4px; }
.faq details { background: var(--white); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 14px 22px; cursor: pointer; font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform 200ms var(--ease-out); color: var(--green); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq .answer { padding: 0 22px 22px; max-width: 68ch; }
.faq .answer p:last-child { margin: 0; }
@media (min-width: 1080px) { .faq-wrap { grid-template-columns: 4fr 8fr; gap: 64px; } .faq-wrap .section-head { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; } }

/* Slot en voet */
.closing { margin-top: var(--gap-section); padding: clamp(64px, 8vw, 120px) 0; background: var(--ground-2); }
.closing .wrap { display: grid; gap: 28px; align-items: end; }
.closing h2 { font-size: var(--t-h2); }
.closing p { font-size: var(--t-lead); margin: 16px 0 0; max-width: 44ch; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 980px) { .closing .wrap { grid-template-columns: 7fr 5fr; } .closing .actions { justify-content: flex-end; } }
.site-footer { background: var(--ink); color: var(--ground); padding: clamp(56px, 7vw, 96px) 0 40px; }
.footer-name { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 24px); font-weight: 700; font-size: clamp(4rem, 1rem + 13vw, 13rem); letter-spacing: -0.06em; line-height: .8; margin: 0 0 48px; }
.footer-name svg { width: .62em; height: .62em; flex: none; }
.footer-cols { display: grid; gap: 28px; }
.footer-cols h3 { font-size: 1.25rem; margin-bottom: 10px; }
.footer-cols a { display: inline-block; padding: 8px 0; }
.footer-cols a:hover { color: #9fd3bd; }
.footer-legal { position: relative; margin-top: 40px; padding-top: 28px; color: #c9ccc8; font-size: 1rem; }
.footer-legal::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 6px; background: var(--oak); }
.footer-legal p { max-width: 60ch; }
.footer-legal a { color: var(--ground); }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }

/* Binnenpagina's */
.page-head { padding: clamp(32px, 6vw, 88px) 0 0; }
.page-hero { display: grid; gap: 32px; align-items: end; }
.page-hero h1 { font-size: var(--t-hero); line-height: .98; }
.page-hero .lead { font-size: var(--t-lead); max-width: 44ch; margin: 22px 0 0; }
.page-hero figure { margin: 0; overflow: hidden; }
.page-hero figure img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
@media (min-width: 960px) { .page-hero { grid-template-columns: 6fr 6fr; gap: 56px; } }
.service { display: grid; gap: 28px; padding-top: var(--gap-section); }
.service figure { margin: 0; overflow: hidden; }
.service figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service h2 { font-size: var(--t-h2); margin-bottom: 18px; }
.service .lead { font-size: var(--t-lead); max-width: 46ch; }
.service ul.ticks { display: grid; gap: 12px; margin: 22px 0 0; }
.service ul.ticks li { position: relative; padding-left: 34px; }
.service ul.ticks svg { position: absolute; left: 0; top: 4px; width: 22px; height: 22px; color: var(--green); }
.service .plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.service .plans div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.service .plans svg { width: 48px; height: 48px; }
.service .plans p { margin: 0; font-size: 1rem; }
.service .plans strong { display: block; font-size: 1.125rem; }
@media (min-width: 900px) { .service { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } .service.flip { grid-template-columns: 7fr 5fr; } .service.flip figure { order: 2; } }
@media (max-width: 520px) { .service .plans { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; gap: 40px; padding-top: clamp(48px, 6vw, 96px); }
.contact-direct { display: grid; gap: 4px; }
.contact-direct a, .contact-direct div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; background: var(--white); padding: 18px 20px; min-height: 72px; text-decoration: none; }
.contact-direct a:hover { background: #e3efe9; color: var(--ink); }
.contact-direct svg { width: 30px; height: 30px; color: var(--green); }
.contact-direct strong { display: block; font-size: 1.25rem; }
.contact-direct span { overflow-wrap: anywhere; }
.form { background: var(--white); padding: clamp(20px, 3vw, 40px); }
.form h2 { font-size: var(--t-h2); margin-bottom: 10px; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label, .field legend { font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1.125rem; color: var(--ink); background: var(--ground); border: 2px solid #868b87; border-radius: 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid var(--focus); outline-offset: 1px; }
.field .hint { font-size: 1rem; color: var(--ink-2); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid #868b87; border-radius: 999px; background: var(--ground); font-weight: 500; cursor: pointer; }
.choice input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot */
.form .btn { width: 100%; margin-top: 24px; }
.form-error { display: none; margin-top: 16px; background: #f4ead9; color: #5c3a10; padding: 12px 16px; font-weight: 500; }
.form-error.show { display: block; }
.form-done { display: none; }
.form-done.show { display: block; }
.err { color: #8a2b0a; font-weight: 500; font-size: 1rem; margin: 0; }
.contact-pic { margin: 28px 0 0; overflow: hidden; }
.contact-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

/* Beweging */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .hero-media img { animation: settle 16s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
  .stair-step { transition: opacity 400ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
.ticks-list { display: grid; gap: 14px; }
.ticks-list li { position: relative; padding-left: 30px; font-size: var(--t-lead); }
.ticks-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 8px; background: var(--oak); }
.help-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.help-pics figure { margin: 0; overflow: hidden; }
.help-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
