/* Tuinaanleg Versailles, voorbeeldsite. Biofiel en klassiek: grind, buxusgroen, EB Garamond met Lato. Elke tuin begint met een plan. */

@font-face { font-family: "EB Garamond"; src: url("../fonts/ebgaramond-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-normal-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ground: #eef0ec;
  --surface: #e1e5df;
  --ink: #16231c;
  --ink-2: #3d4a43;
  --green: #1d5a3a;
  --green-press: #164a2f;
  --on-green: #ffffff;
  --field: #173326;
  --field-2: #1f4031;
  --on-field: #eef0ec;
  --on-field-2: #c8d3cb;
  --focus: #1d5a3a;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap-section: clamp(88px, 12vw, 184px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 66px;
}

*, *::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(--sans); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--green); color: var(--on-green); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; background: var(--green); color: var(--on-green);
  font: 700 1.125rem/1 var(--sans); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.button:hover { background: var(--green-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-2); }
.button--light { background: var(--on-field); color: var(--ink); }
.button--light:hover { background: var(--surface); }
.button--big { min-height: 62px; font-size: 1.125rem; padding: 0 30px; }

/* 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: 10px; 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: 40px; height: 40px; flex: none; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand-name small { font-size: 1rem; color: var(--ink-2); display: none; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 700; }
.main-nav a:hover { color: var(--green); 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; border-radius: 999px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 700; }
.header-tel:hover { background: var(--field-2); }
.header-tel svg { width: 20px; height: 20px; }
.header-tel .tel-text { display: none; }
.header-actions .button { min-height: 48px; padding: 0 18px; font-size: 1.125rem; }
.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(22, 35, 28, .16); /* 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.25rem; }

/* Held */
.hero { padding-top: clamp(16px, 3vw, 40px); }
.hero-grid { display: grid; gap: 24px; }
.hero-text { display: grid; gap: 20px; align-content: start; }
.hero-text > * { margin: 0; }
.hero-title { font-size: clamp(2.35rem, 5vw, 4.25rem); letter-spacing: -0.025em; line-height: .98; }
.hero-lead { font-size: 1.25rem; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { flex: 1 1 220px; }
.hero-media { margin: 0; overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.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(2.35rem, 5.2vw, 4.75rem); letter-spacing: -0.02em; line-height: 1; max-width: 15ch; }
.section-intro { font-size: 1.25rem; max-width: 34em; margin-top: 18px; }

/* Van plan tot tuin */
.plan-grid { display: grid; gap: 32px; align-items: center; }
.plan-figure { margin: 0; }
.plan-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.plan-figure figcaption, .apollo figcaption { font-size: 1rem; color: var(--ink-2); padding-top: 8px; }
.plan-points { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.plan-points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.plan-points svg { width: 48px; height: 48px; }
.plan-points h3 { font-size: clamp(1.625rem, 2.4vw, 2rem); margin-bottom: 4px; }
.plan-points p { margin: 0; }

/* Diensten als legende met foto's */
.legend { list-style: none; display: grid; gap: 28px 48px; margin-top: clamp(32px, 5vw, 56px); }
.legend li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.legend svg { width: 56px; height: 56px; }
.legend h3 { font-size: clamp(1.625rem, 2.4vw, 2rem); margin-bottom: 6px; }
.legend p { margin: 0; max-width: 32em; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(40px, 6vw, 72px); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 16 / 9; }

/* Tuin tekenen */
.draw-field { background: var(--field); color: var(--on-field); margin-top: var(--gap-section); padding: clamp(64px, 9vw, 128px) 0; }
.draw-field .section-title { color: var(--on-field); }
.draw-field .section-intro { color: var(--on-field-2); }
.draw-grid { display: grid; gap: 32px; margin-top: 36px; align-items: start; }
.wishes { border: 0; margin: 0; padding: 0; min-width: 0; }
.wishes legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.wish-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wish { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px; border-radius: 999px; background: var(--field-2); cursor: pointer; font-weight: 700; transition: background-color .15s var(--ease), color .15s var(--ease); }
.wish:hover { background: #28503d; }
.wish input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; flex: none; margin: 0; border-radius: 50%; background: var(--on-field); cursor: pointer; display: grid; place-content: center; }
.wish input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); opacity: 0; }
.wish input:checked::after { opacity: 1; }
.wish input:focus-visible { outline: 3px solid var(--on-field); outline-offset: 3px; }
.wish:has(input:checked) { background: var(--on-field); color: var(--field); }
.draw-send { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 24px; }
.draw-note { color: var(--on-field-2); margin: 16px 0 0; max-width: 34em; }
.garden-plan { width: 100%; height: auto; max-height: 78vh; background: #e6e9e1; }
.garden-plan [data-layer] { transition: opacity .35s var(--ease); }

/* Werkwijze met gravure */
.way-grid { display: grid; gap: 36px; }
.apollo { margin: 0; }
.apollo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.way { list-style: none; display: grid; gap: 26px; margin-top: 28px; }
.way h3 { font-size: clamp(1.625rem, 2.4vw, 2rem); margin-bottom: 4px; }
.way p { margin: 0; max-width: 34em; }

/* Vragen */
.faq-grid { display: grid; gap: 32px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 4px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 4px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; background: var(--green); }
.faq .plus::before { left: 0; right: 0; top: 9px; height: 2.5px; }
.faq .plus::after { top: 0; bottom: 0; left: 9px; width: 2.5px; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 4px 16px; margin: 0; max-width: 40em; }

/* Werkgebied */
.area { display: grid; gap: 28px; align-items: center; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.towns li { padding: 10px 18px; border-radius: 999px; background: var(--surface); font-weight: 700; }
.towns li.is-home { background: var(--green); color: var(--on-green); }
.area-photo { margin: 0; }
.area-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Slot en footer */
.closer { margin-top: var(--gap-section); background: var(--green); color: var(--on-green); padding: clamp(56px, 8vw, 112px) 0; }
.closer-grid { display: grid; gap: 24px; align-items: end; }
.closer-title { font-size: clamp(2.35rem, 5.2vw, 4.75rem); letter-spacing: -0.02em; line-height: 1; max-width: 14ch; }
.closer p { font-size: 1.25rem; margin: 16px 0 0; max-width: 30em; color: #dbe7df; }
.closer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.closer .button { background: var(--ground); color: var(--ink); }
.closer .button:hover { background: var(--surface); }
.closer .button--ink { background: var(--ink); color: var(--ground); }
.closer .button--ink:hover { background: var(--field); }
.site-footer { background: var(--field); color: var(--on-field); padding: clamp(56px, 8vw, 96px) 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-name { font-family: var(--serif); font-size: clamp(3.5rem, 15vw, 13rem); line-height: .85; letter-spacing: -0.03em; margin: 0 0 40px; }
.footer-grid { display: grid; gap: 28px; }
.footer-col h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; color: #a9bcb0; }
.footer-col a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col p, .footer-col address { font-style: normal; margin: 0; color: #d6ded8; }
.footer-small { margin-top: 40px; font-size: 1rem; color: #a9bcb0; max-width: 70ch; }
.footer-small a { color: #d6ded8; }

/* Contact */
.page-head { padding-top: clamp(24px, 5vw, 64px); }
.page-title { font-size: clamp(2.35rem, 6.4vw, 5.75rem); letter-spacing: -0.025em; line-height: .98; max-width: 14ch; }
.contact-grid { display: grid; gap: 40px; margin-top: 32px; }
.direct { display: grid; gap: 10px; align-content: start; }
.direct p { max-width: 60ch; }
.direct .button { width: 100%; justify-content: flex-start; }
.direct-lines { display: grid; gap: 4px; margin-top: 8px; }
.direct-lines a { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; 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; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field .hint { font-size: 1rem; color: var(--ink-2); max-width: 60ch; }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 12px 16px; font: 400 1.125rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 2px solid #c4c3b6; border-radius: 6px; }
.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-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; border-radius: 6px; }
.form-status h2 { font-size: 2.25rem; margin-bottom: 8px; }
.form-status p { margin: 0; max-width: 60ch; }
.form-status a { color: var(--on-field); font-weight: 700; }
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
.photo-band figure { margin: 0; }
.photo-band img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Beweging */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-media.is-in img { animation: settle 1.8s 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; }
}

@media (min-width: 560px) {
  .header-tel .tel-text { display: inline; }
  .brand-name small { display: block; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 40px; }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) { .brand-name b { font-size: 1.25rem; } .header-actions .button { padding: 0 14px; } }
@media (min-width: 760px) {
  .legend { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  :root { --header-h: 80px; }
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .hero-actions .button { flex: 0 1 auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .gallery { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
  .gallery .wide { grid-column: span 2; }
  .gallery .wide img { aspect-ratio: auto; height: 100%; }
  .draw-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .way-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .area { grid-template-columns: 1fr 1fr; gap: 72px; }
  .closer-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .closer-actions { flex-direction: column; }
  .closer-actions .button { width: 100%; }
  .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
  .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; }
}
