/* ==========================================================================
   Minikraanverhuur Zeeland — Van Klinken Kraanverhuur
   Stylesheet. Geen build-stap nodig: dit bestand wordt direct geserveerd.
   ========================================================================== */

:root {
  --rood: #da0115;
  --rood-donker: #b00111;
  --rood-licht: #fdecee;

  --inkt: #14191d;
  --inkt-zacht: #3d474f;
  --grijs: #6b767e;
  --lijn: #e2e7ea;
  --mist: #f4f7f8;
  --wit: #ffffff;

  --radius: 14px;
  --radius-s: 9px;
  --schaduw: 0 1px 2px rgba(20, 25, 29, .06), 0 8px 24px rgba(20, 25, 29, .08);
  --schaduw-l: 0 2px 4px rgba(20, 25, 29, .06), 0 18px 50px rgba(20, 25, 29, .14);

  --breedte: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--inkt-zacht);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--rood); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--inkt);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: 1.24rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 0; }

:focus-visible {
  outline: 3px solid var(--rood);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- hulpklassen ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--breedte); margin-inline: auto; padding-inline: 22px; }
.sectie { padding: clamp(48px, 6vw, 86px) 0; }
.sectie--mist { background: var(--mist); border-block: 1px solid var(--lijn); }
.midden { text-align: center; }
.smal { max-width: 720px; margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--rood); color: #fff;
  padding: 12px 18px; z-index: 200; border-radius: 0 0 var(--radius-s) 0;
}
.skip:focus { left: 0; }

.kop-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rood);
  margin-bottom: .7em;
}

.lead { font-size: 1.14rem; color: var(--inkt-zacht); }

/* --- knoppen -------------------------------------------------------------- */
.knop {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none !important;
  line-height: 1.2;
}
.knop:active { transform: translateY(1px); }

.knop--primair { background: var(--rood); color: #fff; border-color: var(--rood); }
.knop--primair:hover { background: var(--rood-donker); border-color: var(--rood-donker); }

.knop--rand { background: transparent; color: var(--inkt); border-color: var(--lijn); }
.knop--rand:hover { border-color: var(--inkt); }

.knop--wit { background: #fff; color: var(--inkt); border-color: #fff; }
.knop--wit:hover { background: #f0f0f0; border-color: #f0f0f0; }

.knop--ghost-wit { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.knop--ghost-wit:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- header --------------------------------------------------------------- */
.site-top {
  background: var(--inkt);
  color: rgba(255,255,255,.72);
  font-size: .85rem;
}
.site-top .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: center; justify-content: flex-end;
  min-height: 40px;
}
.site-top a { color: #fff; font-weight: 600; }
.site-top .top-item { display: inline-flex; align-items: center; gap: .45em; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--lijn);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}

.merk { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.merk__mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  background: var(--rood); border-radius: 10px;
  display: grid; place-items: center;
}
.merk__mark {
  color: #fff; font-weight: 800; font-size: 1.02rem; letter-spacing: .01em;
}
.merk__tekst { display: flex; flex-direction: column; line-height: 1.15; }
.merk__naam {
  font-weight: 800; color: var(--inkt); font-size: 1.06rem; letter-spacing: -.02em;
  text-transform: uppercase;
}
.merk__sub { font-size: .74rem; color: var(--grijs); letter-spacing: .05em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--inkt-zacht);
  font-weight: 600;
  font-size: .96rem;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none !important;
}
.nav a:hover { background: var(--mist); color: var(--inkt); }
.nav a[aria-current="page"] { color: var(--rood); background: var(--rood-licht); }
.nav .knop { margin-left: 10px; padding: 11px 20px; }
.nav .knop--primair, .nav .knop--primair:hover { color: #fff; background-color: var(--rood); }
.nav .knop--primair:hover { background-color: var(--rood-donker); }

.nav-knop {
  display: none;
  background: transparent; border: 1px solid var(--lijn);
  border-radius: 9px; width: 46px; height: 44px;
  cursor: pointer; padding: 0;
}
.nav-knop span, .nav-knop span::before, .nav-knop span::after {
  display: block; width: 20px; height: 2px; background: var(--inkt);
  margin-inline: auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-knop span { position: relative; }
.nav-knop span::before, .nav-knop span::after { content: ""; position: absolute; left: 0; }
.nav-knop span::before { top: -6px; }
.nav-knop span::after { top: 6px; }
.nav-knop[aria-expanded="true"] span { background: transparent; }
.nav-knop[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-knop[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- hero ----------------------------------------------------------------- */
.hero { padding: clamp(40px, 5vw, 76px) 0 clamp(44px, 5vw, 80px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: 1.18rem; margin-bottom: 1.6em; }
.hero__beeld { position: relative; }
.hero__beeld img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--schaduw-l);
}
.hero__badge {
  position: absolute; left: -14px; bottom: -18px;
  background: var(--wit); border-radius: var(--radius-s);
  box-shadow: var(--schaduw-l);
  padding: 14px 20px; display: flex; align-items: center; gap: 14px;
}
.hero__badge strong { display: block; font-size: 1.5rem; color: var(--rood); line-height: 1; }
.hero__badge span { font-size: .82rem; color: var(--grijs); }

/* --- pagina-kop (subpagina's) --------------------------------------------- */
.paginakop {
  background: var(--mist);
  border-bottom: 1px solid var(--lijn);
  padding: clamp(34px, 4vw, 56px) 0;
}
.paginakop h1 { margin-bottom: .25em; }
.paginakop p { margin: 0; max-width: 720px; font-size: 1.1rem; }

.kruimels { font-size: .85rem; color: var(--grijs); margin-bottom: 1em; }
.kruimels a { color: var(--grijs); }
.kruimels a:hover { color: var(--rood); }
.kruimels span { margin-inline: .45em; }

/* --- inhoud + zijkolom ---------------------------------------------------- */
.inhoud-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}

.tekst h2 { margin-top: 1.5em; }
.tekst h2:first-child, .tekst h3:first-child { margin-top: 0; }
.tekst h3 { margin-top: 1.6em; }

/* nette lijst met vinkjes */
.lijst { list-style: none; display: grid; gap: 10px; }
.lijst li { position: relative; padding-left: 32px; }
.lijst li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--rood-licht) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23da0115' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.lijst--twee { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* --- kaarten -------------------------------------------------------------- */
.kaarten { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kaart:hover { transform: translateY(-3px); box-shadow: var(--schaduw); border-color: #cfd7dc; }
.kaart__beeld { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.kaart__beeld img { width: 100%; height: 100%; object-fit: cover; }
.kaart__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.kaart__body h3 { margin-bottom: .4em; }
.kaart__body p { color: var(--grijs); font-size: .98rem; }
.kaart__link { margin-top: auto; font-weight: 650; display: inline-flex; align-items: center; gap: .4em; }
.kaart__link::after { content: "→"; transition: transform .15s ease; }
.kaart:hover .kaart__link::after { transform: translateX(3px); }

/* --- usp-blokken ---------------------------------------------------------- */
.usps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.usp { display: flex; gap: 15px; align-items: flex-start; }
.usp__icoon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px;
  background: var(--rood-licht); display: grid; place-items: center;
}
.usp__icoon svg { width: 21px; height: 21px; stroke: var(--rood); fill: none; stroke-width: 2; }
.usp h3 { font-size: 1.03rem; margin-bottom: .2em; }
.usp p { font-size: .94rem; color: var(--grijs); margin: 0; }

/* --- fotogalerij ---------------------------------------------------------- */
.galerij { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.galerij a {
  display: block; border-radius: var(--radius-s); overflow: hidden;
  background: var(--mist); position: relative; line-height: 0;
}
.galerij a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,25,29,0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/0 no-repeat;
  transition: background-color .2s ease, background-size .2s ease;
}
.galerij a:hover::after { background-color: rgba(20,25,29,.42); background-size: 34px; }
.galerij img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .3s ease; }
.galerij a:hover img { transform: scale(1.04); }
.galerij--staand img { aspect-ratio: 3 / 4; }

.zij-galerij { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.zij-galerij a { border-radius: var(--radius-s); overflow: hidden; display: block; line-height: 0; }
.zij-galerij img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.zij-galerij a:hover img { transform: scale(1.05); }
.foto-hint { font-size: .84rem; color: var(--grijs); margin-top: .9em; }

/* --- brede beeldband ------------------------------------------------------ */
.band-beeld {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw);
  background: var(--inkt);
}
.band-beeld img { width: 100%; }

/* --- media (video) -------------------------------------------------------- */
.media-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.media-grid > .breed { grid-column: 1 / -1; }
.media-grid figure { margin: 0; }
.media-grid video, .media-grid a img {
  display: block;
  width: auto; max-width: 100%; max-height: 460px; margin-inline: auto;
  border-radius: var(--radius-s); background: #000; box-shadow: var(--schaduw);
}
.media-grid figcaption { text-align: center; }
.media-grid figcaption { font-size: .88rem; color: var(--grijs); margin-top: .6em; }

/* --- cta-band ------------------------------------------------------------- */
.cta-band { background: var(--inkt); color: rgba(255,255,255,.8); }
.cta-band h2 { color: #fff; }
.cta-band .wrap {
  padding-block: clamp(42px, 5vw, 68px);
  display: flex; flex-wrap: wrap; gap: 26px;
  align-items: center; justify-content: space-between;
}
.cta-band p { margin: 0; max-width: 560px; }

/* --- contact -------------------------------------------------------------- */
.contact-grid {
  display: grid; gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
}

.gegevens { display: grid; gap: 20px; margin-bottom: 28px; }
.gegeven { display: flex; gap: 14px; align-items: flex-start; }
.gegeven__icoon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--rood-licht); display: grid; place-items: center;
}
.gegeven__icoon svg { width: 19px; height: 19px; stroke: var(--rood); fill: none; stroke-width: 2; }
.gegeven__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grijs); }
.gegeven__waarde { font-weight: 650; color: var(--inkt); font-size: 1.04rem; }
.gegeven__waarde a { color: var(--inkt); }
.gegeven__waarde a:hover { color: var(--rood); }

.formulier {
  background: var(--mist); border: 1px solid var(--lijn);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
}
.veld { margin-bottom: 16px; }
.veld label { display: block; font-weight: 600; font-size: .92rem; color: var(--inkt); margin-bottom: 6px; }
.veld input, .veld textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--inkt);
  padding: 12px 14px; border: 1px solid var(--lijn); border-radius: var(--radius-s);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.veld input:focus, .veld textarea:focus {
  outline: none; border-color: var(--rood); box-shadow: 0 0 0 3px var(--rood-licht);
}
.veld textarea { min-height: 140px; resize: vertical; }
.veld-rij { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.verplicht { color: var(--rood); }
.formulier__voet { font-size: .86rem; color: var(--grijs); margin: 14px 0 0; }
.honing { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--inkt); color: rgba(255,255,255,.66); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1em;
}
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-block: clamp(40px, 5vw, 62px);
}
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid .merk__naam { color: #fff; }
.footer-grid .merk__sub { color: rgba(255,255,255,.5); }
.footer-onder {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.werkgebied { font-size: .88rem; line-height: 1.7; }

/* --- lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 13, 15, .92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 86vh;
  border-radius: var(--radius-s); box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__knop {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  font-size: 26px; line-height: 1; display: grid; place-items: center;
  transition: background-color .15s ease;
}
.lightbox__knop:hover { background: rgba(255,255,255,.26); }
.lightbox__sluit { top: 20px; right: 20px; }
.lightbox__vorige { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__volgende { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__teller {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .88rem;
}

/* --- 404 ------------------------------------------------------------------ */
.foutpagina { padding: clamp(60px, 9vw, 130px) 0; text-align: center; }
.foutpagina .code { font-size: 4.5rem; font-weight: 800; color: var(--rood); line-height: 1; margin-bottom: .1em; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid, .inhoud-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero__badge { left: auto; right: 12px; bottom: -16px; }
  .media-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 780px) {
  body { font-size: 16.5px; }
  .nav-knop { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--lijn);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 22px 20px;
    box-shadow: var(--schaduw);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
  .nav .knop { margin: 8px 0 0; justify-content: center; }
  .site-top .wrap { justify-content: center; text-align: center; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .hero__badge { position: static; margin-top: 14px; display: inline-flex; }
}

@media (max-width: 480px) {
  .galerij { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .lightbox__vorige { left: 8px; }
  .lightbox__volgende { right: 8px; }
  .knoppen .knop { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-top, .cta-band, .nav-knop, .lightbox { display: none !important; }
}
