/* GDEX — marktplaats-herontwerp (ronde 2, richting 1a "in de familie")
 *
 * Volgt design_handoff_gdex_marktplaats/README.md: witte kopbalk met
 * tekstlogo, navy en cyaan, en overal de landed prijs. Het oranje van het
 * oude logo komt in de UI niet meer voor.
 *
 * Deze laag komt ná huisstijl.css en wint dus bij gelijke specificiteit.
 * Nieuwe componenten hebben het voorvoegsel m- zodat ze niet botsen met
 * Foundation of met oudere eigen klassen.
 */

:root {
  --ground:       #F4F7FA;
  --input-border: #C3D1DD;
  --cyan-100:     #D6EEFA;
  --cyan-ink:     #04263C;

  --success:      #2E8B4F;
  --success-bg:   #E4F4EE;
  --success-text: #0E7C5A;
  --warning:      #E0A800;
  --warning-bg:   #FFF8E1;
  --warning-text: #6B4A00;
  --danger:       #A91920;
  --danger-bg:    #FBE7E8;

  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius-lg: 12px;
  --radius-xl: 14px;
  --shadow-hover: 0 8px 24px rgba(5, 38, 63, .10);
  --hero-overlay: linear-gradient(90deg, rgba(5,38,63,.88) 0%, rgba(5,38,63,.62) 52%, rgba(5,38,63,.24) 100%);
}

.mono, .m-vin {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}

.tabular, .m-prijs, .m-regel-bedrag { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------- kopbalk (wit, 72px) */

.top-bar,
header .top-bar,
.header,
.main-header {
  background: #FFFFFF;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.top-bar a,
.header a,
.main-header a {
  color: var(--ink-2);
}

.top-bar a:hover,
.header a:hover {
  color: var(--navy-deep);
}

.top-bar .top-bar-container {
  min-height: 72px;
  align-items: center;
}

/* Hoofdmenu: actief item krijgt de cyaan onderstreep, geen blokvulling. */
.top-bar .menu > li > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}

.top-bar .menu > li > a:hover { color: var(--navy-deep); }

.top-bar .menu > li.active > a,
.top-bar .menu .is-active > a {
  background: transparent;
  color: var(--navy-deep);
  border-bottom-color: var(--cyan);
}

/* Tekstlogo: GDE navy + X cyaan. */
.m-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--navy-deep) !important;
  white-space: nowrap;
  line-height: 1;
}

.m-logo b { color: var(--cyan); font-weight: 700; }

.m-logo small {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

/* NL/EN-segment. */
.m-taal {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  vertical-align: middle;
}

.m-taal button {
  font: 600 12px/1 var(--sans);
  padding: 6px 10px;
  background: #FFFFFF;
  color: var(--ink-2);
  cursor: pointer;
  border: 0;
}

.m-taal button.actief {
  background: var(--navy-deep);
  color: #FFFFFF;
}

/* De opvallende actie in de kopbalk. */
.top-bar .menu > li > a.button,
.top-bar .m-cta {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  color: var(--cyan-ink);
  font-weight: 600;
  padding: 9px 16px;
}

.top-bar .menu > li > a.button:hover,
.top-bar .m-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
}

/* ------------------------------------------------------------------ badges */

.m-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--cyan-100);
  color: var(--cyan-ink);
}

.m-badge.success { background: var(--success-bg); color: var(--success-text); }
.m-badge.warning { background: var(--warning-bg); color: var(--warning-text); }
.m-badge.danger  { background: var(--danger-bg);  color: var(--danger); }

.m-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: middle;
  margin-right: 7px;
}

.m-dot.success { background: var(--success); }
.m-dot.warning { background: var(--warning); }

/* ------------------------------------------------------------- filterchips */

.m-chip {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: #FFFFFF;
  transition: all .15s ease-out;
}

.m-chip:hover { border-color: var(--muted); color: var(--navy-deep); }

.m-chip.actief {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #FFFFFF;
}

/* ---------------------------------------------------------------- eyebrow */

.m-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ----------------------------------------------------------- hero met video */

.m-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.m-hero video,
.m-hero .m-hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.m-hero-inhoud {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 48px;
}

.m-hero .m-eyebrow { color: #8FB4CE; }

.m-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #FFFFFF;
  max-width: 24ch;
  margin: 10px 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  .m-hero video { display: none; }
}

@media screen and (max-width: 700px) {
  .m-hero { min-height: 300px; }
  .m-hero h1 { font-size: 27px; }
  .m-hero-inhoud { padding: 28px 20px; }
}

/* Zoekbalk in de hero. */
.m-zoekbalk {
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 8px;
  gap: 0;
  box-shadow: 0 10px 30px rgba(5, 38, 63, .25);
  max-width: 860px;
}

.m-zoekbalk .m-veld {
  flex: 1 1 auto;
  padding: 6px 16px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.m-zoekbalk .m-veld:last-of-type { border-right: 0; }

.m-zoekbalk label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2px;
}

.m-zoekbalk input,
.m-zoekbalk select {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  height: auto;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}

.m-zoekbalk input:focus,
.m-zoekbalk select:focus { border: 0; box-shadow: none; }

.m-zoekbalk .button {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 0 0 8px;
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--cyan-ink);
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 20px;
  white-space: nowrap;
}

.m-zoekbalk .button:hover { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }

@media screen and (max-width: 700px) {
  .m-zoekbalk { flex-direction: column; padding: 10px; gap: 8px; }
  .m-zoekbalk .m-veld { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 6px; }
  .m-zoekbalk .button { margin: 4px 0 0; width: 100%; }
}

/* Snelkoppelingen onder de zoekbalk. */
.m-hero-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }

.m-hero-links a {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #D3DFE9;
}

.m-hero-links a:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* ---------------------------------------------------------------- trustbalk */

.m-trust {
  background: var(--navy-deep);
  color: #D3DFE9;
  font-size: 13.5px;
}

.m-trust-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.m-trust b {
  font-family: var(--display);
  font-weight: 700;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.m-trust .m-trust-cijfers { display: flex; gap: 28px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ secties */

.m-sectie {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 48px;
}

@media screen and (max-width: 700px) {
  .m-sectie { padding: 28px 20px; }
}

.m-sectie-kop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.m-sectie-kop h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  margin: 0;
}

@media screen and (max-width: 700px) {
  .m-sectie-kop h2 { font-size: 26px; }
}

.m-sectie-kop a { font-weight: 600; font-size: 14px; }

/* ----------------------------------------------------- voertuigkaarten (grid) */

.m-kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.m-kaart {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
  color: inherit;
}

.m-kaart:hover {
  border-color: var(--muted);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.m-kaart-foto {
  height: 176px;
  background: var(--ground);
  overflow: hidden;
}

.m-kaart-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-kaart-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }

.m-kaart .m-eyebrow { font-size: 11px; }

.m-kaart-titel {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-deep);
  line-height: 1.25;
}

.m-kaart-specs { font-size: 13px; color: var(--ink-2); }

.m-kaart-prijsregel {
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.m-kaart-prijsregel .m-prijs {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-deep);
}

.m-kaart-prijsregel .m-landed { font-size: 12px; color: var(--muted); }

.m-kaart.m-kaart-nieuw { border-color: var(--cyan); }

/* --------------------------------------------------------- SCL-lockup-kaart */

.m-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ground);
  padding: 14px 18px;
}

.m-lockup .m-lockup-merk {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-deep);
  white-space: nowrap;
}

.m-lockup .m-lockup-merk i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--scl-red);
  margin: 0 1px 1px 2px;
}

.m-lockup .m-lockup-merk b { font-weight: 600; }

.m-lockup p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* --------------------------------------------------- landed-cost / prijsblok */

.pricing-info-block .fee-list-row { font-size: 13.5px; }

.price-services .fee-list-row,
.optional-services .fee-list-row { border-bottom: 1px solid var(--line-soft); }

.m-totaalregel {
  border-top: 2px solid var(--line);
  padding-top: 12px;
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.m-totaalregel .m-prijs {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  color: var(--navy-deep);
}

input[type="checkbox"] { accent-color: var(--cyan); }

/* ------------------------------------------------------------------ tabellen */

.m-tabel { width: 100%; border-collapse: collapse; }

.m-tabel th {
  background: var(--ground);
  font: 600 11.5px/1.3 var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 12px 18px;
}

.m-tabel td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink);
}

.m-tabel tbody tr:hover td { background: var(--ground); }

/* ---------------------------------------------------------------- inputs */

.m-form input[type="text"],
.m-form input[type="email"],
.m-form select,
.m-form textarea {
  border-color: var(--input-border);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
}

/* Rechterkant van de kopbalk: kale links, één cyaan actieknop. */
.top-bar .menu > li > a { background: transparent; }

.top-bar .top-bar-right .menu > li > a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 10px;
}

.top-bar .top-bar-right .menu > li > a:hover { color: var(--navy-deep); }

.top-bar .top-bar-right .menu > li.orange > a {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  color: var(--cyan-ink);
  font-weight: 600;
  padding: 9px 16px;
}

.top-bar .top-bar-right .menu > li.orange > a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
}

/* ------------------------------------------------- voertuigpagina (scherm 03) */

.m-landed-kop { margin: 4px 0 10px; }

.m-landed-titel {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-deep);
}

.m-landed-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.m-lockup-vdp { margin-top: 14px; }

.fixed-price .amount-details .price.big span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

.fixed-price .estimated-total { margin-top: 10px; }

.fixed-price .estimated-total-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

.pricing-services .service-item { font-size: 13.5px; }

.optional-services .fee-list-row.included .fee-description,
.pricing-services .fee-list-row.included .fee-description { color: var(--ink); }

/* --------------------------------------------------- zoekresultaten (scherm 02) */

.m-landed-rij {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.m-landed-rij b {
  color: var(--navy-deep);
  font-weight: 600;
}

.card-list .item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}

.card-list .item:hover {
  border-color: var(--muted);
  box-shadow: var(--shadow-hover);
}

.card-list .item h2 a,
.card-list .item h3 a {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy-deep);
}

.card-list .card-pricing {
  background: var(--ground);
  border-left: 1px solid var(--line);
}

.card-list .card-pricing .price {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

.search-stats h3 span:first-child {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy-deep);
}

#main-inner, .card-list-container { background: transparent; }

/* De menubalken zelf zijn doorzichtig op de witte kopbalk; alleen een
 * uitklapmenu krijgt een eigen (wit) vlak. */
.top-bar ul.menu { background: transparent; }

.top-bar .menu .is-dropdown-submenu {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
}

.top-bar .menu .is-dropdown-submenu a { color: var(--ink-2); }
.top-bar .menu .is-dropdown-submenu a:hover { color: var(--navy-deep); background: var(--ground); }

/* Oudere regels zetten menuteksten wit (voor de vroegere navy balk); op de
 * witte kopbalk wint deze zwaardere selector. */
#menu-top-bar .top-bar .menu > li > a {
  color: var(--ink-2);
}

#menu-top-bar .top-bar .menu > li > a:hover,
#menu-top-bar .top-bar .menu > li.active > a {
  color: var(--navy-deep);
}

#menu-top-bar .top-bar .menu > li.orange > a {
  color: var(--cyan-ink);
}

#menu-top-bar .top-bar .menu > li.orange > a:hover {
  color: #FFFFFF;
}

/* ------------------------------------------------- kostencalculator (scherm 09) */

.m-calculator-noot { font-size: 13.5px; color: var(--muted); max-width: 40ch; text-align: right; margin: 0; }

.m-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
}

@media screen and (max-width: 860px) {
  .m-calculator-grid { grid-template-columns: 1fr; }
}

.m-invoer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

@media screen and (max-width: 600px) {
  .m-invoer-grid { grid-template-columns: 1fr; }
}

.m-invoer-grid label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }

.m-invoer-prijs { display: flex; gap: 8px; }
.m-invoer-prijs select { width: 90px; flex: 0 0 auto; }

.m-diensten { margin-top: 24px; }

.m-diensten-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 10px; }

@media screen and (max-width: 600px) {
  .m-diensten-grid { grid-template-columns: 1fr; }
}

.m-diensten-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
}

.m-diensten-grid label span { margin-left: auto; color: var(--muted); font-size: 13px; }

.m-diensten-grid input[type="checkbox"] { width: 16px; height: 16px; margin: 0; }

.m-calculator-paneel {
  background: var(--navy-deep);
  border-radius: var(--radius-xl);
  padding: 24px 26px;
  color: #D3DFE9;
}

.m-calculator-paneel .m-eyebrow { color: #8FB4CE; }

.m-paneel-regels { margin-top: 14px; font-size: 13.5px; }

.m-paneel-regel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--navy-line);
}

.m-paneel-regel b { font-weight: 500; color: #FFFFFF; }

.m-paneel-uitkomst {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 4px;
}

.m-paneel-uitkomst b { font-family: var(--display); font-weight: 600; font-size: 19px; color: #FFFFFF; }

.m-paneel-hoofd {
  background: var(--navy);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
}

.m-paneel-hoofd b { font-weight: 700; font-size: 25px; }

.m-paneel-knop { width: 100%; margin-top: 16px; text-align: center; }

.m-paneel-voetnoot { font-size: 11.5px; color: #8FB4CE; line-height: 1.5; margin: 12px 0 0; }

/* ---------------------------------------------------- dealerportaal (scherm 04) */

.m-portaal {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 70vh;
}

@media screen and (max-width: 760px) {
  .m-portaal { grid-template-columns: 1fr; }
}

.m-portaal-zijbalk {
  background: var(--navy-deep);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.m-logo-wit { color: #FFFFFF !important; }
.m-logo-wit b { color: var(--cyan); }

.m-portaal-zijbalk nav { display: flex; flex-direction: column; gap: 2px; }

.m-portaal-zijbalk nav a,
.m-portaal-zijbalk nav .binnenkort {
  display: block;
  font-size: 13.5px;
  color: #9FB3C6;
  padding: 9px 12px;
  border-radius: 8px;
}

.m-portaal-zijbalk nav a:hover { color: #FFFFFF; }

.m-portaal-zijbalk nav a.actief {
  background: var(--navy);
  color: #FFFFFF;
}

.m-portaal-zijbalk nav .binnenkort { cursor: default; }

.m-portaal-zijbalk nav .binnenkort em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6E87A0;
  margin-left: 6px;
}

.m-portaal-voet {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.6;
  color: #8FB4CE;
  padding: 0 12px;
}

.m-portaal-inhoud { padding: 34px 40px; background: var(--ground); }

.m-portaal-inhoud h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy-deep);
  margin: 4px 0 14px;
}

.m-portaal-preview { margin-bottom: 20px; display: inline-block; }

.m-statkaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  max-width: 640px;
}

.m-statkaart {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.m-statkaart b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy-deep);
}

.m-statkaart span { font-size: 12.5px; color: var(--muted); }

.m-zendingen {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.m-zending-titel { font-weight: 600; color: var(--navy-deep); }

.m-dot.booked { background: var(--blue); }

/* Het tekstlogo in de navy voet: wit, met lichtere ondertitel. */
#copyright-bar .m-logo-wit small { color: #8FB4CE; }

/* --------------------------------------------------------- fase D: etalage */

.m-gds-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.m-gds-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-gds-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.m-gds-hero .m-hero-inhoud { position: relative; z-index: 1; }

.m-gds-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #FFFFFF;
  max-width: 22ch;
  margin: 10px 0 12px;
}

.m-gds-hero p { color: #B9CBDB; max-width: 52ch; font-size: 15px; }

.m-gds-hero .m-eyebrow { color: #8FB4CE; }

.m-hero-knoppen { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.m-knop-omlijnd {
  background: transparent !important;
  border: 1px solid #4E7DA6 !important;
  color: #FFFFFF !important;
}

.m-knop-omlijnd:hover { border-color: #FFFFFF !important; }

.m-prijslijst { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

.m-voetnoot { font-size: 12.5px; color: var(--muted); margin-top: 12px; max-width: 76ch; }

/* Partij / 4-pack */

.m-partij-sub { color: var(--ink-2); font-size: 14.5px; margin: 6px 0 0; }

.m-partij-koop { text-align: right; }

.m-partij-prijs { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--navy-deep); margin: 2px 0 10px; }

.m-partij-units {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  margin: 18px 0 20px;
}

.m-partij-unit { padding: 14px; border-right: 1px solid var(--line-soft); color: inherit; }
.m-partij-unit:last-child { border-right: 0; }
.m-partij-unit:hover { background: var(--ground); }

.m-partij-foto { height: 140px; background: var(--ground); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.m-partij-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

.m-partij-spec { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }

.m-partij-samenvatting {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 760px;
}

.m-statkaart-hoofd { border-color: var(--cyan); background: var(--cyan-100); }

/* Diensten */

.m-dienstkaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.m-dienstkaart {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: 18px;
}

.m-dienstkaart-kop { height: 110px; }
.m-dienstkaart-kop.zee       { background: linear-gradient(135deg, #05263F, #0077A8); }
.m-dienstkaart-kop.douane    { background: linear-gradient(135deg, #0A2F5C, #05263F); }
.m-dienstkaart-kop.transport { background: linear-gradient(135deg, #0077A8, #00A1E4); }

.m-dienstkaart h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy-deep);
  margin: 14px 18px 6px;
}

.m-dienstkaart p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 0 18px 10px; }

.m-dienstprijs { font-size: 13.5px; font-weight: 600; color: var(--blue); margin: 0 18px; }

.m-cta-balk { background: var(--navy-deep); }

.m-cta-balk-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #FFFFFF;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}

.m-cta-balk-inner .button { margin-left: 8px; }

/* Verkopen */

.m-verkopen-intro { max-width: 56ch; color: var(--ink-2); font-size: 15.5px; }

.m-stappen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0;
  max-width: 900px;
}

.m-stap {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.m-stap b { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--cyan); }

.m-stap h3 { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy-deep); margin: 6px 0 4px; }

.m-stap p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.m-cijferregel { display: flex; gap: 28px; flex-wrap: wrap; margin: 6px 0 20px; color: var(--muted); font-size: 13.5px; }

.m-cijferregel b { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--navy-deep); margin-right: 5px; }

/* ------------------------------------------------------------ mobielronde */

/* Sticky koopbalk op de voertuigpagina; alleen op telefoonbreedte. */
.m-koopbalk { display: none; }

@media screen and (max-width: 700px) {
  .m-koopbalk {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #FFFFFF;
    border-top: 1px solid var(--line);
    padding: 14px 20px 22px;
  }

  .m-koopbalk-prijs span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .m-koopbalk-prijs b {
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    color: var(--navy-deep);
  }

  .m-koopbalk-knop {
    flex: 1 1 auto;
    margin: 0;
    padding: 14px;
    min-height: 44px;
  }

  body.m-heeft-koopbalk #copyright-bar { padding-bottom: 96px; }

  /* Compacte kopbalk: kleiner logo, taalschakelaar naast de menuknop. */
  .top-bar .top-bar-container { min-height: 60px; }
  .m-logo { font-size: 20px; }
  .m-logo small { display: none; }
  .m-taal { margin-right: 8px; }

  /* Voorraadkaarten worden liggende kaarten: foto links, tekst rechts. */
  .m-kaarten { grid-template-columns: 1fr; }

  .m-kaart { flex-direction: row; }

  .m-kaart-foto {
    flex: 0 0 118px;
    width: 118px;
    height: auto;
    min-height: 108px;
  }

  .m-kaart-body { padding: 12px 14px; gap: 4px; min-width: 0; }
  .m-kaart-titel { font-size: 15px; }
  .m-kaart-prijsregel { flex-wrap: wrap; gap: 2px 10px; padding-top: 8px; }
  .m-kaart-prijsregel .m-prijs { font-size: 17px; }

  /* Brede tabellen scrollen binnen hun kaart in plaats van de pagina op te rekken. */
  .m-tabel { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Partij-units onder elkaar met wat lucht. */
  .m-partij-koop { text-align: left; }
  .m-cta-balk-inner { padding: 20px 20px; }
  .m-portaal-inhoud { padding: 22px 16px; }

  /* Raakvlakken: knoppen en chips minstens 44 pixels hoog. */
  .m-taal button { padding: 10px 12px; }
  .m-chip, .m-hero-links a { padding: 10px 16px; }
}

/* ------------------------------------------- voertuigpagina: prijsgebied netjes */
/* De oude regels persten alles in 33%-kolommen op één flexrij; hier wordt het
 * één kaart met de diensten links en de prijs rechts, zoals het designbord. */

@media screen and (min-width: 701px) {
  form.vehicle-pricing .block-row { align-items: stretch; }

  form.vehicle-pricing .block-row .block-item:first-child {
    flex: 1.5 1 0;
    align-items: stretch;
    flex-wrap: wrap;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  form.vehicle-pricing .block-item .details {
    flex: 1 1 0;
    min-width: 320px;
    display: block;
    padding: 22px 26px;
    width: auto;
  }

  form.vehicle-pricing .details .pricing-services {
    display: block;
    flex: none;
    margin-bottom: 10px;
  }

  form.vehicle-pricing .details .pricing-services .service-item {
    flex: none;
    padding: 0;
  }

  /* De twee valutatellers naast elkaar. */
  form.vehicle-pricing .details .service-item[data-charged-in] {
    display: inline-block;
    margin: 0 32px 8px 0;
  }

  form.vehicle-pricing .details .service-item[data-charged-in] .description {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
  }

  form.vehicle-pricing .details .service-item[data-charged-in] .amount {
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    color: var(--navy-deep);
    font-variant-numeric: tabular-nums;
  }

  /* Aanvinkbare diensten: label links, bedrag rechts, geen woordbrij. */
  form.vehicle-pricing .details .fee-list { width: 100%; }

  form.vehicle-pricing .details .fee-list-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  form.vehicle-pricing .details .fee-list-row .fee-description { flex: 1 1 auto; }
  form.vehicle-pricing .details .fee-list-row .fee-amount { white-space: nowrap; color: var(--ink-2); }

  /* De prijskolom: lichte kaartflank rechts in plaats van de roze strook. */
  form.vehicle-pricing .block-item .fixed-price {
    flex: 0 0 250px;
    background: var(--ground);
    border-left: 1px solid var(--line);
    padding: 22px 20px;
    justify-content: flex-start;
    gap: 14px;
    height: auto;
  }

  form.vehicle-pricing .fixed-price .amount-details { width: 100%; }

  /* De SCL-belofte als voet over de volle kaartbreedte. */
  form.vehicle-pricing .m-lockup-vdp {
    flex: 1 1 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #FFFFFF;
  }

  /* Het locatieblok als eigen kaart, inhoud bovenaan. */
  form.vehicle-pricing .block-row .block-item:last-child {
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
  }
}

/* Gasten zien geen bedragen; dit paneel nodigt uit om in te loggen. */
.m-login-voor-prijzen { padding: 6px 0 12px; }

.m-login-voor-prijzen p {
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 40ch;
  margin: 8px 0 14px;
}

.m-login-voor-prijzen .button { margin-right: 8px; }

/* ---------------------------------------------------------- contact (scherm 08) */

.m-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 36px;
  align-items: start;
}

@media screen and (max-width: 860px) {
  .m-contact-grid { grid-template-columns: 1fr; }
}

.m-contact h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  color: var(--navy-deep);
  margin: 6px 0 10px;
}

.m-contact-intro { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }

.m-contact-gegevens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 22px 0;
  font-size: 14.5px;
  color: var(--ink);
}

@media screen and (max-width: 600px) {
  .m-contact-gegevens { grid-template-columns: 1fr; }
}

.m-contact-gegevens .m-eyebrow { margin-bottom: 3px; }

.m-contact-formulier {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.m-contact-formulier textarea { min-height: 96px; }

/* ------------------------------------------------- flyerkaarten (new vehicles) */

.m-kaart-foto.m-flyer-tegel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1F4F78 100%);
  padding: 18px;
}

.m-kaart-foto.m-flyer-tegel span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: #EAF2F8;
  text-align: center;
}

/* ------------------------------------------------------ flyerlijst (new vehicles) */

.m-flyerlijst {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 8px 24px;
}

.m-flyerlijst li {
  border-bottom: 1px solid var(--line-soft);
  padding: 9px 2px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.m-flyerlijst a { font-weight: 600; }

.m-flyerlijst span { font-size: 12px; color: var(--muted); text-align: right; }

.m-optiewaarde { color: var(--muted); }
