/* Compact Meerts: dennengroen, betongrijs, okergeel. Type: Overpass 400/600/800. */
:root {
  --pine: #1f1f1f;
  --pine-deep: #000000;
  --concrete: #ffffff;
  --plate: #f4f4f4;
  --ochre: #f27a03;
  --ochre-light: #f5953a;
  --ink: #1f1f1f;
  --muted: #555555;
  --on-dark: #ffffff;
  --on-dark-muted: #cfcfcf;
  --line: #dddddd;
  --field: #6b6b6b;
  --wrap: 74rem;
}

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

html {
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--concrete);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--pine);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); max-width: 14ch; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: 0; }

p { margin: 0 0 1em; max-width: 65ch; }

a {
  color: var(--pine);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--pine-deep); text-decoration-color: var(--ochre); }

a[href^="tel:"] { white-space: nowrap; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--pine);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.skip-link:focus, .skip-link:hover { top: 1rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--white { background: #fff; }
.section--pine { background: var(--pine); color: var(--on-dark); }
.section--pine h2, .section--pine h3 { color: var(--on-dark); }
.section--pine a:not(.btn) { color: var(--on-dark); }
.section--pine a:not(.btn):hover { color: #fff; }
.section--pine :focus-visible, .site-footer :focus-visible { outline-color: var(--ochre); }
/* call-to-action band: a light tint of the brand orange, the full orange is for buttons and accents */
.section--ochre { background: #fff4e8; border-top: 6px solid var(--ochre); color: var(--pine); }
.section--ochre a:not(.btn) { color: var(--pine); }
.section--ochre a:not(.btn):hover { color: var(--pine-deep); text-decoration-color: var(--pine); }

.lede {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.5;
  max-width: 42ch;
}
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--concrete);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--pine);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo:hover { color: var(--pine); }
.logo img { width: 44px; height: 44px; object-fit: contain; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--pine);
  background: transparent;
  border: 2px solid var(--pine);
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid currentColor;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--line); }
.site-nav a[aria-current]:not(.btn) { border-bottom-color: var(--ochre); }

@media (max-width: 1079px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--concrete);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav { width: 100%; }
  .js .site-nav { width: auto; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  }
  .site-nav li a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a[aria-current]:not(.btn) {
    border-bottom-color: var(--line);
    box-shadow: inset 4px 0 0 var(--ochre);
    padding-left: 0.85rem;
  }
  .site-nav li .btn { margin-top: 1rem; width: 100%; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem 0.7rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.btn-primary:hover { background: var(--ochre-light); border-color: var(--ochre-light); color: var(--ink); }
.btn-accent { background: var(--ochre); border-color: var(--ochre); color: var(--pine); }
.btn-accent:hover { background: var(--ochre-light); border-color: var(--ochre-light); color: var(--pine); }
.btn-outline { background: transparent; border-color: var(--pine); color: var(--pine); }
.btn-outline:hover { background: var(--pine); border-color: var(--pine); color: #fff; }

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

/* Hero: the machine stands on a pine ground line */
.hero { border-bottom: 12px solid var(--ochre); overflow: hidden; }
.hero-grid { display: grid; gap: 1rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-text { padding-bottom: 1rem; }
.hero-machine img { width: 100%; max-width: 720px; margin-inline: auto; }
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 2.5rem;
  }
  .hero-text { padding-bottom: clamp(3rem, 6vw, 5rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-machine img { animation: drive-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
}
@keyframes drive-in {
  from { opacity: 0; transform: translateX(12%); }
  to { opacity: 1; transform: none; }
}

/* Typeplaat: contact details styled as a machine identification plate */
.plate {
  margin-top: 2.25rem;
  max-width: 30rem;
  padding: 1.4rem 1.75rem 1.25rem;
  background-color: var(--plate);
  background-image:
    radial-gradient(circle, #808080 0 3px, transparent 3.6px),
    radial-gradient(circle, #808080 0 3px, transparent 3.6px),
    radial-gradient(circle, #808080 0 3px, transparent 3.6px),
    radial-gradient(circle, #808080 0 3px, transparent 3.6px);
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: 5px 5px, calc(100% - 5px) 5px, 5px calc(100% - 5px), calc(100% - 5px) calc(100% - 5px);
  border: 2px solid var(--pine);
  border-radius: 6px;
  color: var(--pine);
}
.plate-title {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--pine);
}
.plate dl { margin: 0; display: grid; gap: 0.45rem; }
.plate dl div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}
.plate dt { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.plate dd { margin: 0; min-width: 0; font-weight: 600; }
.plate a:not(.btn) { color: var(--pine); }
.plate a:not(.btn):hover { color: var(--pine-deep); }
.plate :focus-visible { outline-color: var(--pine); }
@media (max-width: 420px) {
  .plate { padding-inline: 1.25rem; }
  .plate dl div { grid-template-columns: 1fr; gap: 0; }
}

/* Section head */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
}
.section-head > div { max-width: 44rem; }
.section-head p { margin-bottom: 0; }

/* Machines */
.machines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: 2.5rem 1.75rem;
}
.machines--related { margin-top: 2rem; }
.machine a { display: block; color: var(--ink); text-decoration: none; }
.machine-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--line);
  transition: border-color 0.15s;
}
.machine-img img { width: 100%; height: 100%; object-fit: contain; }
.machine h3 { font-size: 1.55rem; margin: 1rem 0 0.2rem; }
.machine-type { color: var(--muted); font-size: 1rem; margin: 0 0 0.5rem; }
.machine-more {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pine);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.machine a:hover .machine-img { border-bottom-color: var(--pine); }
.machine a:hover .machine-more { text-decoration-color: var(--ochre); }

/* Steps: a real sequence */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.steps li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--ochre);
}
.steps p { color: var(--on-dark-muted); margin: 0; }

/* Split layout */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); }
  .split--reverse .split-media { order: 2; }
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

.points { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 3px solid var(--ochre); }
.points li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.points h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.points p { margin: 0; color: var(--muted); }

.features {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  margin-top: 2.25rem;
}
.features > div { padding-top: 1.1rem; border-top: 3px solid var(--ochre); }
.features p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .cta-band .wrap { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .cta-band .actions { justify-content: flex-end; }
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { margin: 0; }
.cta-band .actions { margin-top: 0; }

/* Page head for subpages */
.page-head {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.25rem, 5vw, 3.5rem);
  border-bottom: 12px solid var(--ochre);
}
.page-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); max-width: 18ch; }
.page-head .lede { margin-bottom: 0; }
.page-head--message { padding-block: clamp(4rem, 10vw, 7rem); }

.breadcrumb ol {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; }

/* FAQ */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; }
}
.faq-aside { margin-top: 2rem; padding-top: 1.25rem; border-top: 3px solid var(--ochre); }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pine);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--pine);
  border-bottom: 2.5px solid var(--pine);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq-list details p { margin: 0; padding-bottom: 1.25rem; color: var(--muted); }

/* Product detail */
.product { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 4rem; }
  .form-panel--sticky { position: sticky; top: 6.5rem; }
}
.gallery-main {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.5rem;
}
.thumbs a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--line);
}
.thumbs a:hover { border-color: var(--muted); }
.thumbs a[aria-current="true"] { border-color: var(--pine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-text { margin-top: 2.5rem; }

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin: 2rem 0 0;
  border-top: 3px solid var(--pine);
}
.specs div { padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.2rem; }
.specs dd { margin: 0; font-weight: 800; font-size: 1.2rem; line-height: 1.25; color: var(--pine); }

/* Forms */
.form-panel {
  background: #fff;
  border: 2px solid var(--pine);
  border-radius: 6px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.form-panel h2 { font-size: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 1rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--field);
  border-radius: 4px;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--pine);
  outline: 3px solid var(--pine);
  outline-offset: 1px;
}
.form .btn { justify-self: start; }
.form-note { margin: 0 0 1rem; font-size: 0.95rem; color: var(--muted); }
.form .form-note { margin: 0; }
.form-alt { margin: 1.25rem 0 0; font-size: 1rem; }
.hp { display: none; }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4rem; align-items: start; }
}
.contact-grid .plate { margin-top: 0; }
.contact-extra { margin-top: 1.5rem; }

/* Footer */
.site-footer {
  background: var(--pine);
  color: var(--on-dark);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 1rem;
}
.site-footer a:not(.btn) { color: var(--on-dark); }
.site-footer a:not(.btn):hover { color: #fff; text-decoration-color: var(--ochre); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
}
.footer-logo img { width: 52px; height: 52px; object-fit: contain; }
.footer-about { margin-top: 1rem; max-width: 32ch; color: var(--on-dark-muted); }
.footer-title { margin: 0 0 0.85rem; font-size: 1.05rem; color: var(--on-dark); letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }
.site-footer .credit a { color: var(--on-dark-muted); }
.site-footer .credit a:hover { color: #fff; }

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