/* ==========================================================================
   Tuinen Moerman — stylesheet
   Pure CSS, geen build-stap. Kleuren en maten staan als tokens in :root.
   ========================================================================== */

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

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #141814;
  --ink-2: #262c26;
  --muted: #4b534c;
  --paper: #f6f5ef;
  --paper-2: #efede5;
  --sand: #e5e1d5;
  --line: #d9d5c8;
  --line-dark: rgb(246 245 239 / 0.14);

  --green-900: #102a19;
  --green-700: #1e5631;
  --green-600: #256a3c;
  --green-500: #3f8a46;
  --green-400: #4fa04c;
  --lime: #b7de86;
  --sage: #e7ede1;

  --error: #a3261b;
  --error-bg: #fbecea;
  --success-bg: #e3efdd;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(20 24 20 / 0.06);
  --shadow: 0 1px 2px rgb(20 24 20 / 0.05), 0 18px 40px -24px rgb(20 24 20 / 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html:has(dialog[open]) {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--green-400);
  flex: none;
}

.eyebrow-on-dark {
  color: var(--lime);
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn .icon {
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-900);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost-dark {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-sm {
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(30 86 49 / 0.3);
  transition: text-decoration-color 0.2s var(--ease);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(246 245 239 / 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgb(20 24 20 / 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-logo {
  display: block;
  width: auto;
}

/* Navbar: enkel het woordmerk; de graafmachine staat elders op de pagina. */
.site-header .brand-logo,
.notfound .brand-logo {
  height: 2.2rem;
}

@media (max-width: 959px) {
  .site-header .brand-logo {
    height: 1.9rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  white-space: nowrap;
}

.nav-menu a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-menu a:not(.btn):hover {
  background: var(--paper-2);
  color: var(--ink);
}

.nav-menu a.is-active {
  color: var(--green-700);
}

.nav-menu .nav-phone a {
  color: var(--ink);
  font-weight: 650;
}

.nav-menu .nav-phone .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--green-600);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1099px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 959px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 0.9375rem;
    cursor: pointer;
  }

  .nav-toggle-icon {
    position: relative;
    width: 18px;
    height: 12px;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
  }

  .nav-toggle-icon::before { top: 0; }
  .nav-toggle-icon span { top: 5px; }
  .nav-toggle-icon::after { top: 10px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 5px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 5px;
    transform: rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgb(20 24 20 / 0.45);
  }

  .site-header.nav-open .nav-menu {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--line);
  }

  .nav-menu li.nav-cta {
    border-bottom: 0;
    margin: 1rem 0 0;
  }

  .nav-menu li.nav-phone {
    display: block;
  }

  .nav-menu a:not(.btn) {
    width: 100%;
    min-height: 3.25rem;
    padding-inline: 0.25rem;
    font-size: 1.125rem;
    border-radius: 0;
  }

  .nav-menu a:not(.btn):hover {
    background: transparent;
  }

  .nav-menu .btn {
    width: 100%;
    min-height: 3.25rem;
    font-size: 1rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 12.5ch;
}

.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-points {
  display: grid;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.975rem;
  color: var(--ink-2);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-points .icon {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-700);
  stroke-width: 2.6;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.hero-media figcaption,
.services-photo figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background: rgb(20 24 20 / 0.82);
  color: var(--paper);
  font-size: 0.8125rem;
  line-height: 1.35;
}

/* Op kleine schermen staat de foto meteen onder de titel. */
@media (max-width: 899px) {
  .hero-grid {
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-media { order: 3; margin-top: 1.5rem; }
  .hero-copy .lead { order: 4; }
  .hero-actions { order: 5; }
  .hero-points { order: 6; }

  .hero-copy .eyebrow {
    justify-self: start;
  }
}

@media (max-width: 479px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .hero-media img {
    aspect-ratio: 4 / 5;
    max-height: min(78vh, 720px);
    object-position: 50% 55%;
  }

  .hero-media::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    z-index: -1;
    border-radius: var(--radius-lg);
    background: var(--green-700);
  }

  .hero-media figcaption {
    left: 1rem;
    bottom: 1rem;
  }
}

/* ---------- Secties ---------- */

.section {
  padding-block: var(--section-space);
}

.section h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head .eyebrow {
  margin-bottom: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ---------- Diensten ---------- */

.services {
  background: #fff;
  border-block: 1px solid var(--line);
}

.services-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.services-intro > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 32rem;
}

.services-intro .text-link {
  margin-top: 1.5rem;
}

.services-photo {
  position: relative;
  margin-top: 2.5rem;
}

.services-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.service-list {
  counter-reset: service;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-600);
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.service h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.service p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 38rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tags li {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green-700);
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .services-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .services-photo img {
    aspect-ratio: 5 / 4;
  }

  .service {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    padding-block: 2.1rem;
  }
}

/* Onderhoud en opkuis */

.care {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}

.care-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: var(--sand);
}

.care-head h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  letter-spacing: -0.03em;
}

.care-head .eyebrow {
  margin-bottom: 0.75rem;
}

.care-head p:not(.eyebrow) {
  margin-top: 0.6rem;
  color: var(--muted);
}

.care-list {
  display: grid;
  gap: 1.25rem;
}

.care-list li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.care-list h4 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.care-list p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 700px) {
  .care {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .care-photo {
    grid-row: span 2;
    height: 100%;
  }

  .care-photo img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 16rem;
  }

  .care-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .care {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(1.75rem, 3.5vw, 3rem);
    row-gap: 1.5rem;
  }

  .care-photo {
    grid-row: 1 / span 2;
  }

  .care-photo img {
    aspect-ratio: auto;
    min-height: 15rem;
  }

  .care-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

/* ---------- Project in beeld ---------- */

.project {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

/* Graafmachine uit het logo als groot, rustig beeldmerk in de donkere band. */
.project-mark {
  position: absolute;
  z-index: -1;
  top: clamp(1.5rem, 4vw, 3rem);
  right: clamp(-3rem, -2vw, -1rem);
  width: clamp(13rem, 34vw, 30rem);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}

.project-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.project-head .eyebrow {
  margin-bottom: 0;
}

.project-head p:not(.eyebrow) {
  max-width: 36rem;
  color: rgb(246 245 239 / 0.78);
}

@media (min-width: 900px) {
  .project-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 4rem;
  }

  .project-head .eyebrow,
  .project-head h2 {
    grid-column: 1;
  }

  .project-head p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }
}

.compare {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.compare-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
}

.compare-item figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.975rem;
  color: rgb(246 245 239 / 0.85);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgb(246 245 239 / 0.35);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
}

.badge-green {
  border-color: transparent;
  background: var(--lime);
  color: var(--green-900);
}

.compare-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-900);
  transform: rotate(90deg);
}

@media (min-width: 760px) {
  .compare {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
  }

  .compare-arrow {
    transform: none;
    margin-bottom: 2.5rem;
  }
}

/* ---------- Realisaties ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.g-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: var(--sand);
}

.g-item.g-wide {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.g-link {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
}

.g-link picture,
.g-link img {
  width: 100%;
  height: 100%;
}

.g-link img {
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.g-link:hover img {
  transform: scale(1.035);
}

.g-link:focus-visible {
  outline-offset: -4px;
  outline-color: #fff;
  box-shadow: inset 0 0 0 7px var(--green-500);
}

.g-tag {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgb(20 24 20 / 0.82);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.g-link .g-tag {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.875rem;
  }

  .g-item.g-wide {
    aspect-ratio: auto;
  }

  .g-link .g-tag {
    left: 0.85rem;
    bottom: 0.85rem;
    font-size: 0.8125rem;
  }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--sage);
}

.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info > p:not(.eyebrow) {
  margin-top: 1.25rem;
  max-width: 30rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.steps span:not(.step-num) {
  display: block;
  color: var(--muted);
  font-size: 0.975rem;
}

.direct {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(30 86 49 / 0.2);
}

.direct p {
  color: var(--muted);
  font-size: 0.975rem;
}

.direct-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.direct-phone .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--green-600);
}

.direct-phone:hover {
  color: var(--green-700);
}

.form-card {
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .contact-info {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* Formulier */

.quote-form {
  display: grid;
  gap: 1.25rem;
}

.field-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-narrow {
    max-width: 50%;
    padding-right: 0.625rem;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-width: 0;
}

.field label,
.field legend {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--ink);
}

.optional {
  font-weight: 450;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #c9c5b8;
  border-radius: var(--radius);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #a9a597;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgb(63 138 70 / 0.25);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  border-color: var(--error);
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgb(163 38 27 / 0.2);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field-hint {
  font-size: 0.875rem;
  color: var(--muted);
}

.field-error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--error);
}

.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.field-error[hidden] {
  display: none;
}

.choices {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices legend {
  margin-bottom: 0.6rem;
  padding: 0;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid #c9c5b8;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.choice span::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border: 1.5px solid #a9a597;
  border-radius: 4px;
  background: #fff;
  flex: none;
}

.choice:hover span {
  border-color: #a9a597;
}

.choice input:checked + span {
  border-color: var(--green-700);
  background: var(--sage);
  color: var(--green-900);
}

.choice input:checked + span::before {
  border-color: var(--green-700);
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 0.975rem;
  line-height: 1.5;
}

.form-status:focus {
  outline: none;
}

.form-status.is-error {
  background: var(--error-bg);
  color: #6f1a12;
  border: 1px solid rgb(163 38 27 / 0.25);
}

.form-status.is-success {
  background: var(--success-bg);
  color: var(--green-900);
  border: 1px solid rgb(30 86 49 / 0.25);
}

.form-status.is-info {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  background: var(--ink);
  color: rgb(246 245 239 / 0.75);
  font-size: 0.975rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 22rem;
}

.footer-brand .brand-logo {
  height: 4.5rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(246 245 239 / 0.7);
}

.footer-title {
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.site-footer ul {
  display: grid;
  gap: 0.35rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--paper);
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer .brand {
  color: var(--paper);
}

.site-footer .brand:hover {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.75rem;
  font-size: 0.875rem;
}

.footer-bottom a,
.footer-bottom .link-button {
  color: var(--paper);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ---------- Mobiele actiebalk ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgb(246 245 239 / 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}

.mobile-cta .btn {
  min-height: 3rem;
}

.mobile-cta.is-visible {
  transform: none;
}

@media (max-width: 759px) {
  .mobile-cta {
    display: grid;
  }

  .site-footer {
    padding-bottom: calc(2rem + 4.5rem + env(safe-area-inset-bottom));
  }
}

/* ---------- Dialogen ---------- */

dialog {
  padding: 0;
  border: 0;
  color: inherit;
}

dialog::backdrop {
  background: rgb(10 12 10 / 0.86);
}

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  background: transparent;
  color: var(--paper);
}

.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem 1rem 1.5rem;
}

.lightbox-figure {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-figure img {
  max-width: min(100%, 1100px);
  max-height: calc(100dvh - 10rem);
  width: auto;
  height: auto;
  border-radius: 10px;
  background: var(--ink-2);
}

.lightbox-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  text-align: center;
  font-size: 0.975rem;
}

.lightbox-figure .g-tag {
  background: var(--lime);
  color: var(--green-900);
}

.lightbox-count {
  color: rgb(246 245 239 / 0.6);
  font-variant-numeric: tabular-nums;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(246 245 239 / 0.25);
  border-radius: 50%;
  background: rgb(20 24 20 / 0.6);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.lb-btn:hover {
  background: rgb(246 245 239 / 0.16);
}

.lb-btn .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 1rem;
}

.lb-next {
  right: 1rem;
}

@media (max-width: 759px) {
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox-inner {
    padding-bottom: 5.5rem;
  }

  .lightbox-figure img {
    max-height: calc(100dvh - 13rem);
  }
}

.privacy {
  width: min(42rem, calc(100vw - 2rem));
  max-height: min(85dvh, 52rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.6);
}

.privacy::backdrop {
  background: rgb(10 12 10 / 0.6);
}

.privacy-inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.privacy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.privacy-head h2 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.privacy-close {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.privacy-close:hover {
  background: var(--paper-2);
}

.privacy-body {
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.75rem;
  font-size: 0.975rem;
  color: var(--ink-2);
}

.privacy-body h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.privacy-body a {
  color: var(--green-700);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .g-link:hover img,
  .btn:hover .icon {
    transform: none;
  }
}

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  align-items: center;
  min-height: 100dvh;
  padding-block: 3rem;
}

.notfound .brand {
  display: flex;
  width: max-content;
  margin-bottom: clamp(3rem, 8vw, 5rem);
}

.notfound-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.notfound-mark {
  width: min(16rem, 60%);
  height: auto;
}

@media (min-width: 800px) {
  .notfound-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .notfound-mark {
    width: 100%;
    max-width: 24rem;
    justify-self: end;
  }
}

.notfound h1 {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
