:root {
  --ink: #15221e;
  --green: #005b45;
  --mint: #ddf4e7;
  --line: #ced7ce;
  --soft: #f2f5f0;
  --bright: #c5f065;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #f7f8f4;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding: 20px;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.bar,
.foot,
nav,
.sectionhead,
.sum,
.formrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.bar {
  min-height: 78px;
}
.brand {
  font-weight: 950;
  font-size: 32px;
  color: var(--green);
  letter-spacing: -2.6px;
  font-style: italic;
  line-height: 0.85;
  text-decoration: none;
}
.brand span {
  display: block;
  font-size: 8px;
  letter-spacing: 2.6px;
  font-style: normal;
  margin: 6px 0 0 3px;
}
nav a {
  font-weight: 650;
  color: var(--ink);
  font-size: 0.94rem;
  text-decoration: none;
}
.cart {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cart b {
  background: var(--green);
  color: white;
  border-radius: 20px;
  padding: 2px 7px;
  margin-left: 4px;
}
.intro {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: clamp(1rem, 5vw, 5rem);
  align-items: center;
  background: linear-gradient(105deg, #123e36 0%, #075442 75%, #12644f);
  border-radius: 12px;
  color: white;
  padding: clamp(24px, 5vw, 55px);
  margin: 24px 0 42px;
}
.introCopy {
  max-width: 650px;
}
.location {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--bright);
  margin: 0 0 10px;
}
.dark {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}
h1 span {
  display: block;
  color: #d6f0df;
}
h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.037em;
  margin-bottom: 0.5em;
}
h3 {
  letter-spacing: -0.02em;
}
p {
  line-height: 1.5;
}
.primary,
button {
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-block;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  text-decoration: none;
  cursor: pointer;
}
.primary span {
  margin-left: 9px;
}
.introCopy .primary {
  color: #193a22;
  background: var(--bright);
  border-color: var(--bright);
}
button:hover,
.primary:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.vehicle {
  background: #f7faf2;
  color: var(--ink);
  padding: 20px 22px;
  border-radius: 9px;
}
.vehicle h2 {
  font-size: 23px;
}
.vehicle button {
  width: 100%;
}
.vehicle p {
  margin-bottom: 0;
}
.plate {
  display: flex;
  margin: 5px 0 10px;
  border: 2px solid #262c30;
  border-radius: 5px;
  overflow: hidden;
  background: #ffcf39;
}
.plate span {
  background: #214a91;
  color: white;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
}
.plate input {
  border: none;
  background: transparent;
  font-size: 23px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sectionhead {
  align-items: end;
  margin-bottom: 16px;
}
.sectionhead h2 {
  margin: 0;
}
.cards,
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card,
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
}
.card {
  display: grid;
  grid-template-columns: 32% 1fr;
  overflow: hidden;
  min-height: 230px;
}
.productphoto {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: contain;
  background: #eff2ec;
}
.productcopy {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}
.productcopy small {
  font-weight: 750;
  letter-spacing: 1px;
  color: var(--green);
}
.productcopy h3 {
  font-size: 23px;
  margin: 0;
}
.productcopy p {
  font-size: 0.89rem;
  color: #46564a;
  margin: 0;
}
.productcopy strong {
  font-size: 24px;
  margin: 4px 0;
}
.productcopy button {
  margin-top: auto;
}
.posterButton {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #eff2ec;
  cursor: zoom-in;
}
.posterButton .productphoto { background: white; padding: 10px 10px 32px; }
.posterButton span {
  position: absolute;
  inset: auto 0 0;
  padding: 5px 2px;
  background: #153426;
  color: white;
  font-size: 0.84rem;
}
.posterDialog {
  box-sizing: border-box;
  width: min(96vw, 78rem);
  max-width: calc(100vw - 1rem);
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  border-radius: 9px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: white;
}
.posterDialog::backdrop { background: rgb(9 24 17 / 77%); }
.posterHead {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(0.75rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  background: white;
}
.posterHead h2 { font-size: clamp(1rem, 2.4vw, 1.35rem); line-height: 1.3; margin: 0; }
.posterHead form { flex: 0 0 auto; margin: 0; }
.posterHead button,
.posterActions button,
.posterDownload { min-height: 44px; }
.posterHead button { min-width: 44px; padding: 0.65rem 0.9rem; }
.posterContent { padding: clamp(0.75rem, 2vw, 1.5rem); }
.posterDialog .posterOffer { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 650; line-height: 1.55; margin: 0 0 1rem; }
.posterActions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 1rem; }
.posterActions button { padding: 0.65rem 0.85rem; }
.posterActions [hidden] { display: none; }
.posterPosition { font-size: 0.9rem; color: #46564a; }
.posterDownload { display: inline-flex; align-items: center; color: var(--green); font-weight: 700; }
.posterArtwork { overflow: auto; overscroll-behavior: contain; background: #edf0ed; }
.posterDialog .posterArtwork img { display: block; width: 100%; height: auto; max-width: none; max-height: none; object-fit: contain; }
.posterDialog .posterArtwork.isZoomed img { width: var(--poster-width); }
.posterHead button:focus-visible,
.posterActions button:focus-visible,
.posterDownload:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.columns {
  margin: 32px 0;
  align-items: start;
}
.panel {
  padding: clamp(17px, 2.8vw, 30px);
  margin-bottom: 12px;
}
.panel h2 {
  font-size: 28px;
}
.panel label,
.vehicle label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 14px 0 6px;
}
.panel small,
label small,
.muted,
.sectionhead small {
  color: #526256;
}
.formrow > div {
  flex: 1;
  min-width: 0;
}
.muted,
.feedback,
details p,
output {
  font-size: 0.89rem;
}
.feedback {
  white-space: pre-line;
}
.feedback:empty {
  display: none;
}
input,
textarea,
select {
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid #a7b5a9;
  background: white;
  border-radius: 5px;
  width: 100%;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #0874ac;
  outline-offset: 2px;
}
.sum,
.line {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 12px;
}
.sum {
  margin-bottom: 6px;
}
.sum strong {
  font-size: 22px;
}
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}
.qty {
  display: flex;
  gap: 8px;
  align-items: center;
}
.qty button {
  padding: 4px 9px;
}
.full,
.alternative {
  width: 100%;
}
.alternative,
.suggestions button {
  color: var(--green);
  background: white;
}
.alternative {
  margin-top: 8px;
}
.suggestions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}
.suggestions button {
  padding: 7px 9px;
  font-size: 0.8rem;
  text-align: left;
}
.notice {
  background: #fff0c3;
  border: 1px solid #e7c764;
  border-radius: 5px;
  padding: 9px 14px;
  margin: 12px 0 0;
}
details {
  margin-top: 18px;
}
summary {
  color: var(--green);
  cursor: pointer;
  font-weight: 650;
}
details p {
  margin-top: 8px;
}
footer {
  background: #122922;
  color: #ebf5ec;
  padding: 28px 0;
  margin-top: 36px;
}
.foot a {
  color: white;
  display: block;
}
.foot p {
  margin: 5px 0 0;
}
output {
  display: block;
  margin: 8px 0;
}
[hidden] {
  display: none !important;
}
.entry {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.entry pre {
  white-space: pre-wrap;
  font: inherit;
}
.entry button {
  margin-top: 10px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .intro {
    gap: 18px;
  }
  .cards,
  .columns {
    grid-template-columns: 1fr;
  }
  .card {
    grid-template-columns: 26% 1fr;
    min-height: 190px;
  }
  .productphoto {
    min-height: 180px;
    max-height: 245px;
  }
  .columns {
    gap: 4px;
  }
  .foot {
    flex-wrap: wrap;
  }
  .bar nav > a:not(.cart):not(.garageNav) {
    display: none;
  }
}
@media (max-width: 540px) {
  .bar {
    min-height: 64px;
  }
  .intro {
    grid-template-columns: 1fr;
    margin: 14px 0 26px;
    padding: 22px;
  }
  .introCopy .primary {
    display: none;
  }
  .introCopy p:last-of-type {
    margin-bottom: 0;
  }
  .vehicle {
    padding: 14px;
  }
  .vehicle label {
    margin-top: 5px;
  }
  .productcopy {
    padding: 12px;
  }
  .productcopy h3 {
    font-size: 20px;
  }
  .sectionhead {
    align-items: start;
    gap: 8px;
  }
  .sectionhead small {
    font-size: 11px;
  }
  .formrow,
  .foot {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .intro h1 span {
    display: inline;
  }
  .card {
    grid-template-columns: 32% 1fr;
  }
  .foot > div {
    margin-bottom: 12px;
  }
}

@media (max-width: 540px) {
  .bar { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .65rem; }
  .bar nav { flex-wrap: wrap; gap: .5rem .9rem; }
}
@font-face{font-family:DM Sans;src:url('/fonts/dm-sans-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:DM Sans;src:url('/fonts/dm-sans-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Barlow Condensed;src:url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--ink:#111d25;--green:#006864;--mint:#d8f1ed;--line:#ceded9;--soft:#eff4f2;--bright:#59e3d0;background:#f6f8f7;font-family:'DM Sans','Segoe UI',Arial,sans-serif}
.brand img{width:148px;height:51px;object-fit:contain;display:block}.bar{min-height:72px}h1,h2,h3{font-family:'Barlow Condensed','Arial Narrow',sans-serif}h2{font-size:clamp(1.7rem,3vw,2.5rem)}.intro{border-radius:4px;background:linear-gradient(102deg,#0b1a1eee,#163a3ded),url('/media/onderdelen-hero.webp') 70% / cover}.card,.panel{border-radius:4px}.garageNav{border-radius:3px}.card:target{outline:3px solid #16877a;outline-offset:3px;scroll-margin-top:20px}#voertuig{scroll-margin-top:20px}#ownerEntry{margin:.6rem 0 1rem}
@media(max-width:560px){.brand img{width:115px;height:41px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:root{--ink:#143023;--green:#075635;--mint:#eaf0d7;--line:#cdd8cc;--soft:#f2f4ec;--bright:#f9d934}
.intro{background:linear-gradient(100deg,#08462df8,#164b38e8),url('/media/onderdelen-hero.webp') center / cover}
.intro h1 span{color:var(--bright)}.card:target{outline-color:#0a753d}
