/* ============================================================
   Joxx — base styles & design tokens
   Colors from Figma: Joxx donkerblauw, lichtblauw, softgroen
   ============================================================ */
:root {
  --navy:        #1c3853;  /* Joxx donkerblauw */
  --lightblue:   #caebfb;  /* Joxx lichtblauw  */
  --softgreen:   #ddf8b9;  /* Joxx softgroen   */
  --green:       #7fbb24;  /* button green     */
  --green-dark:  #6ca31c;
  --fellgreen:   #96c01e;  /* Joxx fellgroen   */
  --red:         #d6261c;  /* promo bar        */
  --white:       #ffffff;
  --text:        #1c3853;
  --muted:       #5b7183;
  --border:      #d7e3ec;

  --maxw: 1280px;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(28, 56, 83, 0.10);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:target { scroll-margin-top: 20px; }

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;            /* guard against full-bleed bands causing sideways scroll */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;            /* pill, matches the hero CTA */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background-color 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--navy  { background: var(--navy);  color: var(--white); }
.btn--navy:hover  { background: #16314a; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--sm    { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 12px 26px 10px;
  border-radius: 26px / 34px;
  line-height: 1;
}
.logo__mark {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.logo__tagline {
  font-style: italic;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--green);
  margin-top: 2px;
}

/* ============================================================
   HEADER  (real Joxx header structure)
   ============================================================ */
header {
  position: relative;
  background: linear-gradient(180deg, var(--lightblue) 0%, #eaf7fe 62%, var(--white) 100%);
}
header .container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* keep real content above the decorative clouds */
header > section { position: relative; z-index: 1; }
header ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu { display: none; }

/* ---- Decorative clouds + UFO (purely visual, behind content) ---- */
.header-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.header-clouds img { position: absolute; display: block; }
.header-clouds .hc-ufo {
  top: 60px;
  left: 52%;
  width: 760px;
  animation: ufoFloat 4s ease-in-out infinite;
}
.header-clouds .hc-bg   { top: 84px; left: 30%; width: 360px; }
.header-clouds .hc-cart { bottom: 0; right: 2%; width: 240px; }

/* gentle drifting bob for the UFO */
@keyframes ufoFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-14px, -12px) rotate(-2deg); }
}

/* ---- Top bar: general nav + customer zone ---- */
header .top { padding: 12px 0 6px; }
header .top .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 500;
}
.navigation-top ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.navigation-top .title { display: none; }          /* "Algemene pagina's" label is sr-only visually */
.navigation-top a { padding: 4px 0; transition: color 0.15s ease; }
.navigation-top a:hover { color: var(--green-dark); }
.navigation-top li.active a { font-weight: 700; }

.customerzone {
  padding-left: 22px;
  border-left: 1px solid rgba(28, 56, 83, 0.25);
}
.customerzone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease;
}
.customerzone a:hover { color: var(--green-dark); }
.customerzone a::before {
  content: "";
  width: 18px; height: 18px;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.7-8 6v2h16v-2c0-3.3-3.6-6-8-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.7-8 6v2h16v-2c0-3.3-3.6-6-8-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Middle: logo + cart ---- */
.middlecont { padding-bottom: 26px; }
.middle .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header .logo {
  position: relative;
  display: inline-block;
  padding-left: 54px;
  background: none;
  border-radius: 0;
}
/* cloud puffs at the base of the logo blob */
header .logo::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: -34px;
  width: 509px;
  height: 132px;
  max-width: none;
  background: url("../assets/wolken-logo.png") no-repeat 0 0 / contain;
  pointer-events: none;
  z-index: -1;
}
header .logo .logo-main { width: 200px; height: auto; aspect-ratio: 237 / 184; }
header .logo img.alien {
  position: absolute;
  left: 0;
  top: -34px;
  width: 92px;
  height: auto;
  aspect-ratio: 112 / 150;
  animation: joxxFloat 2s ease-in-out infinite;
}
@keyframes joxxFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.wrap-right { display: flex; align-items: center; }

/* ---- Bottom: shop nav + search + cart ---- */
header .bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.navigation .twolevel-navigation { display: flex; gap: 14px; }
.navigation .mainlevel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.navigation .mainlevel:hover { background: #16314a; }
/* second pill (Webshop) in brand green */
.navigation .menu:nth-child(2) .mainlevel { background: var(--green); }
.navigation .menu:nth-child(2) .mainlevel:hover { background: var(--green-dark); }
.navigation .mainlevel:active { transform: translateY(1px); }

/* search */
header .search {
  flex: 1;
  min-width: 240px;
}
header .search ul { display: flex; }
header .search li {
  display: flex;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
header .search input[type="text"] {
  flex: 1;
  border: 0;
  padding: 13px 18px;
  font: inherit;
  color: var(--text);
  outline: none;
  background: transparent;
}
header .search input[type="text"]::placeholder { color: #9aabb8; }
header .search input[type="submit"] {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 20px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
header .search input[type="submit"]:hover { color: var(--navy); }
.search-loader { align-self: center; }

/* cart */
.mini-cart { position: relative; }
.mini-cart .icon {
  width: 64px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50% / 60%;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease;
}
.mini-cart .icon:hover { background: #16314a; }
/* one cart on desktop: hide the duplicate in the middle row */
.middle .mini-cart { display: none; }

.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(28, 56, 83, 0.22);
  padding: 18px;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.mini-cart:hover .mini-cart-dropdown,
.mini-cart:focus-within .mini-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mini-cart-dropdown .title-dropdown { display: block; margin-bottom: 12px; }
.mini-cart-total { margin: 10px 0; font-size: 0.9rem; }
.mini-cart-total li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.mini-cart-total .total {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 8px;
  font-weight: 700;
}
.mini-cart-dropdown .btn {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--white);
  padding: 11px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 8px;
}
.mini-cart-dropdown .btn:hover { background: var(--green-dark); }
.mini-cart-dropdown .edit {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.mini-cart-dropdown .edit:hover { color: var(--navy); }

/* ============================================================
   MAIN
   ============================================================ */
.page-main { max-width: var(--maxw); margin: 0 auto; padding: 24px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-title {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
}
.section-title--light { color: var(--white); }

/* ============================================================
   SLIDER — Populaire BERG modellen
   ============================================================ */
.models { padding: 48px 0 16px; }
.models__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.models__nav { display: flex; gap: 10px; }
.slider-btn {
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.slider-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider-btn:active { transform: translateY(1px); }

.models__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 24px) / 3);   /* 3 cards visible on full width */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  padding: 6px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  cursor: grab;
  touch-action: pan-x pan-y;          /* horizontal swipe scrolls track, vertical scrolls page */
}
.models__track.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;             /* free dragging, snap re-applies on release */
  user-select: none;
}
.models__track.is-grabbing .model-card { pointer-events: none; }
.model-card img,
.model-card__media { -webkit-user-drag: none; user-select: none; }
.models__track::-webkit-scrollbar { height: 8px; }
.models__track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.models__track:focus-visible { outline: 2px solid var(--fellgreen); outline-offset: 4px; }

.model-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 18px;
  padding: 22px 22px 26px;
  box-shadow: var(--shadow);
}
.model-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.model-card__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.model-card__age {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fellgreen);
  white-space: nowrap;
}
.model-card__media {
  display: grid;
  place-items: center;
  margin: 18px 0 20px;
  aspect-ratio: 16 / 11;
  border-radius: 50% / 46%;
  background: var(--lightblue);
  overflow: hidden;
}
.model-card__media img {
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.model-card__media:hover img { transform: scale(1.05); }
.model-card__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.model-card__specs li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.model-card__specs li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fellgreen);
}
.model-card__specs strong { color: var(--navy); }

/* ============================================================
   FORM — Vraag je zakelijke offerte aan
   ============================================================ */
.quote {
  background: var(--navy);
  border-radius: 28px;
  color: var(--white);
  margin: 56px 0 24px;
  padding: 48px;
  overflow: hidden;
}
.quote__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.quote__intro { position: relative; }
.quote__lead {
  font-size: 1.05rem;
  color: #cdd8e2;
  max-width: 30ch;
  margin: 18px 0 24px;
}
.quote__usps { list-style: none; margin: 0; padding: 0; }
.quote__usps li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: #e3eaf1;
}
.quote__usps li::before {
  content: "\2192";          /* → arrow, as in the design */
  position: absolute;
  left: 0; top: 0;
  color: var(--fellgreen);
  font-weight: 700;
}
.quote__mascot {
  width: 150px;
  height: auto;
  margin-top: 24px;
}

.quote__form { display: flex; flex-direction: column; gap: 14px; }
.quote__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quote__form .field { display: flex; }
.quote__form input,
.quote__form textarea {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: 2px solid transparent;
  transition: outline-color 0.15s ease;
}
.quote__form textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 130px;
}
.quote__form input::placeholder,
.quote__form textarea::placeholder { color: #9aabb8; text-transform: none; }
.quote__form input:focus,
.quote__form textarea:focus { outline-color: var(--fellgreen); }
.quote__submit {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 13px 34px;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  background: var(--lightblue);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.quote__submit:hover { background: #b3e2fa; }
.quote__submit:active { transform: translateY(1px); }
.quote__submit:disabled { opacity: 0.6; cursor: progress; }

.quote__result {
  margin: 4px 0 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
}
.quote__result.is-ok    { background: var(--softgreen); color: var(--navy); }
.quote__result.is-error { background: #fde2e0; color: #8f1a13; }

/* ============================================================
   FOOTER  (real Joxx footer structure)
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #cdd8e2;
  margin-top: 48px;
  font-size: 0.9rem;
}
.site-footer .container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.site-footer a { transition: color 0.15s ease; }
.site-footer a:hover { color: var(--green); }
.site-footer .title {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }

/* ---- Top: link columns + newsletter ---- */
.site-footer .top { padding: 52px 0 40px; }
.site-footer .top > .container > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
.navigation-footer { flex: 1 1 540px; }
.navigation-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}
.navigation-footer ul li { margin-bottom: 9px; }
.navigation-footer ul li:first-child { margin-bottom: 14px; }
/* the long "Verhuur" list wraps into columns */
.navigation-footer ul:nth-child(2) {
  column-count: 2;
  column-gap: 48px;
}
.navigation-footer ul:nth-child(2) li:first-child { column-span: all; }

.newsletter { flex: 1 1 300px; max-width: 360px; }
.newsletter .info p { margin: 0 0 18px; color: #b7c5d2; }
.newsletter .form ul li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.newsletter input[type="email"] {
  flex: 1 1 180px;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 16px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
}
.newsletter input[type="submit"] {
  border: 0;
  border-radius: var(--radius);
  padding: 13px 22px;
  font: inherit;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.newsletter input[type="submit"]:hover { background: var(--green-dark); }
.no-display { display: none; }

/* ---- Middle: service / showroom / maps / hours ---- */
.bottom-f {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px 0;
}
.bottom-f .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.bottom-f p { margin: 0 0 14px; color: #b7c5d2; }
.showroom address { font-style: normal; }
.showroom address li { margin-bottom: 7px; }
.socialmedia .social { display: flex; gap: 10px; }
.socialmedia .social img { height: 28px; width: auto; }
.maps-small {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}
.google-maps-small { display: flex; }

/* ---- Credits: payment methods + legal + design by ---- */
.credits-wrap {
  background: rgba(0, 0, 0, 0.18);
  padding: 22px 0;
}
.paymentmethod {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px !important;
}
.paymentmethod img { height: 22px; width: auto; }
.credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: #9fb0bf;
}
.navigation-footer-extra ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.dm a { color: var(--lightblue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--lightblue);
  border-radius: 28px;
  padding: 0;                 /* no card padding — content carries its own */
  margin: 8px 0 0;
  min-height: 480px;
  overflow: hidden;
}
.hero__content {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}
.hero__title {
  font-size: clamp(2.2rem, 1.1rem + 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
}
.hero__subtitle {
  font-weight: 700;
  color: var(--fellgreen);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 14px 0 12px;
  font-size: 1.05rem;
}
.hero__text { color: var(--navy); margin: 0 0 24px; max-width: 44ch; }
.hero__usps {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  max-width: 460px;
}
.hero__usps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--navy);
}
.hero__usps li svg { flex: none; margin-top: 2px; color: var(--fellgreen); }

/* CTA: navy pill + white circle arrow */
.hero__cta {
  display: inline-flex;
  align-self: flex-start;       /* don't stretch across the content column */
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.hero__cta:hover { background: #16314a; }
.hero__cta:active { transform: translateY(1px); }
.hero__cta-arrow {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

/* media column fills its half edge-to-edge — flush right/top/bottom, no padding */
.hero__media {
  flex: 1 1 46%;
  align-self: stretch;
  margin: 0;
  position: relative;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* organic Joxx-style sweep on the text side; right stays flush
     (the hero's border-radius + overflow:hidden round the outer corners) */
  border-radius: 150px 36px 36px 120px;
}

/* ============================================================
   TRUST / certificeringen
   ============================================================ */
.trust {
  background: var(--softgreen);
  width: 100vw;
  margin: 40px calc(50% - 50vw) 0;
}
.trust__list {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust__icon { color: var(--fellgreen); flex: none; }
.trust__item span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 0.9rem;
  color: var(--navy);
}
.trust__item strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============================================================
   IDEALE GO-CART
   ============================================================ */
.ideal { padding: 40px 0; }
.ideal__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 26px;
}
.ideal__media {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--lightblue);
  aspect-ratio: 16 / 9;
}
.ideal__media img { width: 100%; height: 100%; object-fit: cover; }
.ideal__list { list-style: none; margin: 0 0 26px; padding: 0; }
.ideal__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.ideal__list li:last-child { border-bottom: 0; }
.ideal__num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ============================================================
   WAAROM KIEZEN VOOR JOXX
   ============================================================ */
.why { padding: 32px 0 48px; text-align: center; }
.why .section-title { margin-bottom: 36px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.why__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
/* Each KPI sits inside a light-blue cloud (Figma cloud shape), text centred */
.why__item {
  position: relative;
  aspect-ratio: 198 / 131;
  display: grid;
  place-items: center;
  /* text-align: center; */
  padding: 0 16%;
  background: url("../assets/cloud.svg") center / contain no-repeat;
}
.why__item span {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--navy);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 40px 0; }
.faq .section-title { margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--fellgreen);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: "\2212"; }   /* − */
.faq__item p {
  margin: 0;
  padding: 0 4px 22px;
  max-width: 80ch;
  color: var(--muted);
}

/* ============================================================
   ONDERSTE CTA-BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--lightblue);
  border-radius: 28px;
  margin: 24px 0 8px;
  padding: 56px 32px;
  text-align: center;
}
/* soft cloud clusters tucked into the bottom corners */
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 340px;
  height: 200px;
  background: url("../assets/wolken-bg.png") no-repeat center bottom / contain;
  pointer-events: none;
  z-index: 0;
}
.cta-band::before {
  left: -50px;
  will-change: transform;
  animation: cta-cloud-left 5s ease-in-out infinite alternate;
}
.cta-band::after  {
  right: -50px;
  transform: scaleX(-1);
  will-change: transform;
  animation: cta-cloud-right 6.5s ease-in-out infinite alternate;
}
/* gentle drift — keep the mirrored ::after flipped while it moves */
@keyframes cta-cloud-left {
  from { transform: translateX(0); }
  to   { transform: translateX(26px); }
}
@keyframes cta-cloud-right {
  from { transform: translateX(0) scaleX(-1); }
  to   { transform: translateX(-26px) scaleX(-1); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band::before,
  .cta-band::after { animation: none; }
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.cta-band__text { margin: 0; font-size: 1.1rem; color: var(--navy); }
.cta-band__text a { font-weight: 700; text-decoration: underline; }
.cta-band__text a:hover { color: var(--green-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Header: centre the nav, keep the customer link fully visible */
  header .top { padding-top: 14px; }
  header .top .wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
  }
  .navigation-top ul { flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
  .customerzone { padding-left: 16px; }
  header .bottom { gap: 12px; justify-content: center; }

  /* Tame the floating art so it doesn't collide with the text */
  .header-clouds .hc-ufo  { width: 300px; top: 150px; left: auto; right: -30px; }
  .header-clouds .hc-bg   { display: none; }
  .header-clouds .hc-cart { display: none; }

  .bottom-f .row { grid-template-columns: 1fr 1fr; }

  /* Form stacks into one column; mascot tucks to the side */
  .quote { padding: 36px 28px; }
  .quote__inner { grid-template-columns: 1fr; gap: 32px; }
  .quote__lead { max-width: none; }
  .quote__mascot { position: absolute; right: 0; bottom: 0; width: 110px; margin: 0; }
  .quote__intro { padding-right: 120px; }

  /* Hero stacks, image on top (flush rounded banner) */
  .hero { flex-direction: column; padding: 0; min-height: 0; }
  .hero__content { padding: 28px 28px 36px; }
  .hero__media { flex: none; order: -1; margin: 0; aspect-ratio: 16 / 10; }
  .hero__media img {
    border-radius: 0;
    object-position: center 40%;
  }

  /* Trust + why wrap to 2 columns */
  .trust__list { grid-template-columns: 1fr 1fr; gap: 22px; }
  .why__list { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }

  /* Slider: 2 cards visible on tablet */
  .models__track { grid-auto-columns: calc((100% - 24px) / 2); }

  /* Ideale go-cart stacks */
  .ideal__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  /* Compact header — nav and customer link stack, both centred */
  header .top { padding: 8px 0 2px; }
  header .top .wrap { flex-direction: column; align-items: center; gap: 6px; font-size: 0.86rem; }
  .navigation-top ul { gap: 8px 16px; flex-wrap: wrap; justify-content: center; }
  .navigation-top a { padding: 2px 0; }
  .customerzone { padding-left: 0; border-left: 0; }
  .customerzone a::before { width: 15px; height: 15px; }

  /* Header on phones: centred logo, no overlapping space art */
  .header-clouds .hc-ufo { display: none; }
  .middlecont { padding-top: 30px; padding-bottom: 14px; }   /* room for the alien above the logo */
  .middle .row { justify-content: center; }
  header .logo { padding-left: 40px; }
  header .logo .logo-main { width: 124px; }
  header .logo img.alien { width: 58px; top: -22px; left: -4px; }
  header .logo::after { width: 290px; height: 76px; bottom: -20px; left: -8px; }

  header .bottom { padding-bottom: 6px; }
  .navigation .twolevel-navigation { flex: 1; justify-content: center; }
  .navigation .mainlevel { padding: 10px 16px; }
  .navigation-footer ul:nth-child(2) { column-count: 1; }
  .bottom-f .row { grid-template-columns: 1fr; gap: 32px; }
  .mini-cart-dropdown { width: 280px; }

  /* Slider: ~1.1 cards visible so the next peeks in */
  .models { padding: 32px 0 8px; }
  .models__track { grid-auto-columns: 84%; }
  .model-card { padding: 18px 18px 22px; }

  /* Form: full-width inputs, mascot moves below the text */
  .quote { padding: 28px 20px; border-radius: 22px; }
  .quote__row { grid-template-columns: 1fr; }
  .quote__intro { padding-right: 0; }
  .quote__mascot { position: static; width: 96px; margin-top: 20px; }
  .quote__submit { align-self: stretch; text-align: center; }

  /* Hero */
  .hero { border-radius: 22px; }
  .hero__content { padding: 24px 20px 28px; }
  .hero__usps { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; justify-content: center; }

  /* Trust stacks underneath each other so nothing gets cut off */
  .trust__list { grid-template-columns: 1fr; gap: 16px; padding: 22px 24px; }
  .why__list { grid-template-columns: 1fr 1fr; }

  /* CTA band */
  .cta-band { padding: 40px 22px; border-radius: 22px; }
}

/* ------------------------------------------------------------
   Bedankt-pagina — knoppenrij onder de hero-tekst
   ------------------------------------------------------------ */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
