:root {
  color-scheme: dark;
  --ink: #f5f9fb;
  --muted: #b9c9d1;
  --soft: #d8e2e6;
  --line: rgba(255, 255, 255, 0.16);
  --brand: #00334a;
  --brand-deep: #001d2a;
  --brand-mid: #07455f;
  --brand-light: #0d5a78;
  --silver: #d7dde1;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--brand-deep);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(0, 29, 42, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 186px;
  height: 62px;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.nav a:hover {
  color: var(--white);
}

.nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
}

.header-cta,
.button,
.contact-details .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta,
.button.primary,
.contact-details .button.primary {
  color: var(--brand-deep);
  background: var(--silver);
}

.header-cta:hover,
.button.primary:hover,
.contact-details .button.primary:hover {
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  min-height: 680px;
  padding: 92px clamp(20px, 5vw, 64px) 56px;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 29, 42, 0.98), rgba(0, 51, 74, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(13, 90, 120, 0.28), transparent 34%);
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.slogan {
  margin-bottom: 22px;
  color: var(--silver);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: var(--soft);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-logo-panel {
  justify-self: end;
  width: min(100%, 500px);
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-logo-panel img {
  display: block;
  width: 100%;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info article {
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--brand);
}

.quick-info span {
  color: var(--silver);
  font-weight: 900;
}

.quick-info strong {
  display: block;
  margin: 10px 0;
  font-size: 1.2rem;
}

.quick-info p,
.section-heading p,
.card-body p,
.service-grid p,
.split p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 76px clamp(20px, 5vw, 64px);
}

.inventory {
  background: #00283a;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.trust-section {
  background: var(--brand-deep);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.35rem;
}

.trust-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.car-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.car-card,
.service-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.car-slider {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-mid);
}

.car-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.car-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.car-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.car-slide:hover .car-photo {
  transform: scale(1.03);
}

.slide-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 29, 42, 0.68);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
}

.slide-button:hover {
  background: rgba(0, 29, 42, 0.9);
}

.slide-button.previous {
  left: 12px;
}

.slide-button.next {
  right: 12px;
}

.slide-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 29, 42, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.card-body,
.service-grid article {
  padding: 24px;
}

.card-body span {
  color: var(--silver);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.price-link {
  display: block;
  margin-top: 18px;
  color: var(--white);
  font-weight: 900;
}

.price-link:hover {
  text-decoration: underline;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.services {
  background: var(--brand-deep);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
  background: var(--brand);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--silver);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  padding: 76px clamp(20px, 5vw, 64px);
  background: var(--brand-deep);
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-details article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-details dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-details dl div {
  display: grid;
  gap: 4px;
}

.contact-details dt {
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.contact-details a:not(.button) {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hours-list div {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hours-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours-note {
  margin: 18px 0 0;
  color: var(--soft);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: #001722;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 164px;
    height: 56px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    width: 100%;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-logo-panel {
    justify-self: stretch;
  }

  .quick-info,
  .trust-grid,
  .car-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Vaste footer alleen op desktop */
@media (min-width: 901px) {
  body {
    padding-bottom: 96px;
  }

  .site-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    min-height: 72px;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.24);
  }
}

/* Op tablet en mobiel blijft de footer normaal onderaan de pagina */
@media (max-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    position: static;
    min-height: auto;
    box-shadow: none;
  }
}

/* Logo rechts in de hero verbergen op mobiel */
@media (max-width: 900px) {
  .hero-logo-panel {
    display: none;
  }
}

/* Mobiele navigatie compacter maken */
@media (max-width: 700px) {
  .site-header {
    gap: 14px;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    overflow-x: visible;
  }

  .nav a {
    font-size: clamp(0.78rem, 3.4vw, 0.95rem);
    white-space: nowrap;
  }

  .nav a.is-active {
    padding: 6px 8px;
  }

  .brand img {
    width: min(150px, 44vw);
    height: auto;
  }

  .header-cta {
    min-height: 40px;
    font-size: clamp(0.72rem, 3.1vw, 0.9rem);
  }
}

/* Op mobiel de grote afspraakknop in de header verbergen */
@media (max-width: 700px) {
  .header-cta {
    display: none;
  }
}
