/* =====================================================
   Autospuitbedrijf Kuperus - huisstijl variant A
   Donkerblauw + geel accent (vanuit het logo)
   ===================================================== */

:root {
  --donker: #0b1d3a;        /* diep marineblauw, basis donkere vlakken */
  --donker-2: #122c56;      /* iets lichter marineblauw */
  --blauw: #1856c8;         /* logoblauw */
  --accent: #ffd200;        /* logogeel, knoppen en accenten */
  --accent-ink: #0b1d3a;    /* tekstkleur op accentknoppen */
  --inkt: #1c2637;          /* bodytekst */
  --grijs: #5b6779;         /* secundaire tekst */
  --papier: #ffffff;
  --vlak: #f4f6f9;          /* lichtgrijze sectie-achtergrond */
  --lijn: #e3e8ef;
  --kop: "Montserrat", Arial, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--papier);
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- typografie ---------- */

h1, h2, h3 {
  font-family: var(--kop);
  line-height: 1.15;
  color: var(--donker);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

h3 { font-size: 1.15rem; font-weight: 700; }

.kicker {
  font-family: var(--kop);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blauw);
  margin-bottom: 0.8em;
}

.section-intro {
  max-width: 640px;
  color: var(--grijs);
  margin-bottom: 2.2rem;
}

/* ---------- knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--kop);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75em 1.4em;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-lg { font-size: 1.05rem; padding: 0.85em 1.6em; }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline {
  border: 2px solid var(--donker);
  color: var(--donker);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid var(--lijn);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.9rem;
}

.brand img { height: 36px; width: auto; }

.site-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}

.site-nav a {
  font-family: var(--kop);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--donker);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-block: 0.4em;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--accent); }

.header-cta { white-space: nowrap; }

.nav-toggle, .nav-burger { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 29, 58, 0.94) 0%, rgba(11, 29, 58, 0.82) 38%, rgba(11, 29, 58, 0.25) 75%, rgba(11, 29, 58, 0.35) 100%);
}

.hero-inner { padding-block: 6rem; }

.hero .kicker { color: var(--accent); }

.hero h1 { color: #fff; max-width: 15em; }

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  font-size: 1.12rem;
  margin-top: 1.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.hero-chips li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35em 1em;
}

/* ---------- usp ---------- */

.usp {
  background: var(--donker);
  color: #fff;
  padding-block: 3rem;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
}

.usp-item svg {
  width: 34px;
  height: 34px;
  fill: var(--accent);
  margin-bottom: 0.7rem;
}

.usp-item h3 { color: #fff; margin-bottom: 0.35rem; }

.usp-item p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }

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

.section { padding-block: 5rem; }

.section-grey { background: var(--vlak); }

.section-dark {
  background: var(--donker);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark h2 { color: #fff; }

.section-dark .kicker { color: var(--accent); }

.section-dark .section-intro { color: rgba(255, 255, 255, 0.78); }

/* ---------- diensten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--papier);
  border: 1px solid var(--lijn);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1.6rem;
  box-shadow: 0 2px 10px rgba(11, 29, 58, 0.05);
}

.card h3 { margin-bottom: 0.5rem; }

.card p { font-size: 0.95rem; color: var(--grijs); }

.card-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--kop);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blauw);
  text-decoration: none;
}

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

/* ---------- doelgroepen ---------- */

.doelgroepen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}

.doelgroep {
  border-left: 3px solid var(--accent);
  padding-left: 1.1rem;
}

.doelgroep h3 { color: #fff; margin-bottom: 0.4rem; }

.doelgroep p { font-size: 0.93rem; color: rgba(255, 255, 255, 0.75); }

.doelgroep-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--kop);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
}

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

/* ---------- ons werk ---------- */

.werk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.werk-filter {
  font-family: var(--kop);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5em 1.15em;
  border-radius: 999px;
  border: 1.5px solid var(--lijn);
  background: var(--papier);
  color: var(--donker);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.werk-filter:hover { border-color: var(--accent); }

.werk-filter.is-actief {
  background: var(--donker);
  color: #fff;
  border-color: var(--donker);
}

.werk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.werk-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

.werk-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.werk-tile:hover img,
.werk-tile:focus-visible img { transform: scale(1.06); }

.werk-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.werk-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.85), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}

.werk-tile-tag {
  display: block;
  font-family: var(--kop);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.werk-tile.is-verborgen { display: none; }

.note {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--grijs);
}

.note a { color: var(--blauw); font-weight: 600; text-decoration: none; }

.note a:hover { text-decoration: underline; }

/* ---------- lightbox "ons werk" ---------- */

.werk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.werk-lightbox[hidden] { display: none; }

.werk-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 18, 0.93);
}

.werk-lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 100%;
}

.werk-lightbox-inner figure {
  margin: 0;
}

#werk-lightbox-img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #050608;
  border-radius: 6px;
}

.werk-lightbox-inner figcaption {
  color: #fff;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.werk-lightbox-inner figcaption strong {
  font-family: var(--kop);
  font-size: 1.05rem;
}

.werk-lightbox-inner figcaption span:not(.werk-lightbox-teller) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.werk-lightbox-teller {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  white-space: nowrap;
}

.werk-lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.werk-lightbox-nav {
  position: absolute;
  top: 32%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.werk-lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }

.werk-lightbox-prev { left: 0.5rem; }

.werk-lightbox-next { right: 0.5rem; }

/* ---------- over ons ---------- */

.over-ons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.over-foto-blok {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.over-foto-blok img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.kernwaarden {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.5rem;
}

.kernwaarden li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.97rem;
}

.kernwaarden li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
}

.over-tekst p { margin-bottom: 1rem; }

/* ---------- werken bij ---------- */

.vacature-banner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--vlak);
  border: 1px solid var(--lijn);
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  padding: 2.6rem;
}

.vacature-banner p { color: var(--grijs); }

.vacature-cta {
  display: grid;
  gap: 0.8rem;
  justify-items: stretch;
}

.vacature-cta .btn { justify-content: center; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid p { max-width: 520px; }

.contact-knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.contact-info {
  background: var(--donker-2);
  border-radius: 10px;
  padding: 2rem;
}

.contact-info h3 { color: #fff; margin-bottom: 0.8rem; }

.contact-info address { font-style: normal; margin-bottom: 0.8rem; }

.contact-info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }

.contact-info a:hover { border-bottom-color: var(--accent); }

.route-link { font-weight: 600; }

/* ---------- footer ---------- */

.site-footer {
  background: #071228;
  color: rgba(255, 255, 255, 0.65);
  padding-block: 1.6rem;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav { display: flex; gap: 1.4rem; }

.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }

.site-footer a:hover { color: #fff; }

.social-row {
  list-style: none;
  display: flex;
  gap: 0.7rem;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s ease, color 0.15s ease;
}

.social-row a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- juridische pagina (voorwaarden) ---------- */

.container-smal {
  width: min(760px, 92%);
}

.voorwaarden-pagina { padding-block: 3.5rem 5rem; }

.voorwaarden-titel {
  text-transform: none;
  margin-bottom: 0.6rem;
}

.voorwaarden-intro {
  color: var(--grijs);
  max-width: 60ch;
  margin-bottom: 2.4rem;
}

.voorwaarden-tekst h2 {
  font-size: 1.05rem;
  text-transform: none;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--lijn);
}

.voorwaarden-tekst h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.voorwaarden-tekst p,
.voorwaarden-tekst li {
  color: var(--inkt);
  font-size: 0.96rem;
}

.voorwaarden-tekst ul {
  padding-left: 1.3rem;
  display: grid;
  gap: 0.35rem;
}

.voorwaarden-terug {
  margin-top: 2.6rem;
  font-weight: 600;
}

.voorwaarden-terug a { color: var(--blauw); text-decoration: none; }

.voorwaarden-terug a:hover { text-decoration: underline; }

/* ---------- dienstpagina's (schadeherstel, vrachtwagens) ---------- */

.dienst-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  isolation: isolate;
}

.dienst-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dienst-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(11, 29, 58, 0.9) 0%, rgba(11, 29, 58, 0.7) 45%, rgba(11, 29, 58, 0.25) 100%);
}

.dienst-banner-overlay--vervaagd {
  background: linear-gradient(100deg, rgba(11, 29, 58, 0.95) 0%, rgba(11, 29, 58, 0.82) 35%, rgba(11, 29, 58, 0.6) 55%, rgba(11, 29, 58, 0.86) 75%, rgba(11, 29, 58, 0.9) 100%);
}

.dienst-banner-tekst .kicker { color: var(--accent); }

.dienst-banner-tekst h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  max-width: 22em;
}

.broodkruimel {
  font-size: 0.82rem;
  margin-top: 0.9rem;
}

.broodkruimel a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }

.broodkruimel a:hover { text-decoration: underline; }

.stappen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: stap;
}

.stap { position: relative; padding-top: 3rem; }

.stap::before {
  counter-increment: stap;
  content: counter(stap);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--donker);
  color: #fff;
  font-family: var(--kop);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.stap h3 { font-size: 1rem; margin-bottom: 0.4rem; }

.stap p { font-size: 0.9rem; color: var(--grijs); }

.faq {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--lijn);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
}

.faq-item h3 { font-size: 0.98rem; margin-bottom: 0.4rem; }

.faq-item p { font-size: 0.92rem; color: var(--grijs); margin: 0; }

.mini-galerij {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-galerij figure { margin: 0; }

.mini-galerij img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.mini-galerij figcaption {
  font-size: 0.82rem;
  color: var(--grijs);
  margin-top: 0.4rem;
}

.dienst-cta {
  background: var(--vlak);
  border-radius: 10px;
  padding: 2.4rem;
  text-align: center;
}

.dienst-cta h2 { margin-bottom: 0.6rem; }

.dienst-cta p { color: var(--grijs); max-width: 46ch; margin: 0 auto 1.6rem; }

.dienst-cta-knoppen {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .usp-grid, .cards, .doelgroepen, .werk-grid, .stappen, .mini-galerij { grid-template-columns: repeat(2, 1fr); }
  .over-ons, .contact-grid, .vacature-banner { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  .usp-grid, .cards, .doelgroepen, .stappen, .mini-galerij { grid-template-columns: 1fr; }

  /* "Ons werk" wordt op mobiel een swipebare rij i.p.v. een grid */
  .werk-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    margin: 0 -4vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .werk-tile {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .werk-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    -webkit-overflow-scrolling: touch;
  }

  .werk-filter { flex: 0 0 auto; }

  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
    padding: 6px;
  }

  .nav-burger span {
    width: 26px;
    height: 3px;
    background: var(--donker);
    border-radius: 2px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--lijn);
    padding: 0.6rem 4%;
  }

  .site-nav a { padding-block: 0.8em; border-bottom: 1px solid var(--lijn); }

  .nav-toggle:checked ~ .site-nav { display: flex; }

  .hero-inner { padding-block: 4rem; }
}
