/* Pallet Depot Nederland — richting "Werf"
   Beeld eerst, donkere grond, één warm accent. */

:root {
  --ground: #0a0e14;
  --panel: #111722;
  --panel-2: #161d2b;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.3);
  --ink: #ffffff;
  --body: #c7cfda;
  --muted: #a9b3c0;
  --accent: #f2c078;
  --accent-deep: #d69c47;
  --wrap: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font: 400 17px/1.65 "Source Sans 3", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Anton, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
  color: var(--ink);
  margin: 0 0 0.4em;
}

p { margin: 0 0 1.1em; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 100;
  background: var(--accent); color: var(--ground);
  padding: 10px 16px; font-weight: 700;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
/* Logo van de klant, vectorversie. De koptekst gebruikt alleen de letters;
   het volledige logo met de regel eronder staat in de voettekst. */
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.footer-logo { height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: 15px; font-weight: 600;
}
.nav a:not(.btn):hover { color: var(--accent); }
.burger {
  display: none; width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--line-strong);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--ground);
  border: 2px solid var(--accent);
  font: 700 15px/1 "Source Sans 3", sans-serif;
  padding: 17px 30px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-foto {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 14, 20, 0.88) 0%,
      rgba(10, 14, 20, 0.52) 34%,
      rgba(10, 14, 20, 0.96) 100%),
    linear-gradient(95deg,
      rgba(10, 14, 20, 0.72) 0%,
      rgba(10, 14, 20, 0.30) 46%,
      rgba(10, 14, 20, 0) 72%);
}
.hero-in {
  position: relative; z-index: 2;
  padding: clamp(70px, 10vw, 120px) 0 clamp(40px, 5vw, 60px);
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(3.4rem, 9vw, 8.5rem); }
.lead {
  max-width: 34em; font-size: clamp(17px, 1.4vw, 19px);
  color: #dbe1e9; margin-top: 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  margin: 0;
}
.stats > div { padding: 26px 0 30px; }
.stats > div + div { padding-left: 36px; border-left: 1px solid var(--line-strong); }
.stats dt { order: 2; font-size: 14px; color: var(--muted); margin-top: 4px; }
.stats dd {
  order: 1; margin: 0;
  font-family: Anton, sans-serif; font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1; color: var(--accent);
}
.stats dd small { font-size: 0.45em; }

/* ---------- secties ---------- */
.section { padding: clamp(60px, 8vw, 96px) 0; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.sec-head { max-width: 46rem; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.sec-sub { color: var(--muted); }
.two-col {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px); align-items: start;
}

/* ---------- raster met haarlijnen ---------- */
.raster {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--line);
  border: 1px solid var(--line);
}
.raster > article { background: var(--panel); padding: 30px 26px 34px; }
.raster h3 { font-size: 1.6rem; margin-bottom: 10px; }
.raster p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- kwaliteitsklassen ---------- */
.klassen { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.klassen-foto { margin: 0; }
.klassen-foto img { width: 100%; height: auto; }
.klassen-foto figcaption { font-size: 13.5px; color: var(--muted); padding-top: 12px; }
.klassen dl { margin: 0; }
.klassen dl > div {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.klassen dl > div:last-child { border-bottom: 1px solid var(--line); }
.klassen dt { font-family: Anton, sans-serif; font-size: 1.5rem; color: var(--accent); text-transform: uppercase; }
.klassen dd { margin: 0; color: var(--body); }
.klassen-note { margin: 22px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- diensten ---------- */
.diensten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.dienst { background: var(--panel); padding: 30px 26px 34px; }
.dienst .num { font-family: Anton, sans-serif; font-size: 2.6rem; line-height: 1; color: var(--line-strong); display: block; margin-bottom: 12px; }
.dienst h3 { font-size: 1.45rem; margin-bottom: 8px; }
.dienst p { margin: 0; font-size: 15.5px; color: var(--muted); }
.soon {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font: 700 11px/1 "Source Sans 3", sans-serif; font-style: normal;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ground); background: var(--accent); padding: 4px 8px;
}

/* ---------- beeldband ---------- */
.band { position: relative; overflow: hidden; }
.band img.band-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,20,0.96) 0%, rgba(10,14,20,0.86) 52%, rgba(10,14,20,0.45) 100%);
}
.band-in {
  position: relative; z-index: 2;
  padding: clamp(56px, 7vw, 88px) 0;
  display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.band-in > div { max-width: 40rem; }
.band-in h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.band-in p { color: #dbe1e9; margin: 0; }

/* ---------- over ons ---------- */
.foto { margin: 0 0 22px; }
.foto img { width: 100%; height: auto; }
.feiten {
  list-style: none; margin: 46px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.feiten li { padding: 24px 28px 26px 0; }
.feiten li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.feiten strong { display: block; font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.25rem; color: var(--ink); }
.feiten span { font-size: 15px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-lijst { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-lijst li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--body); }
.contact-lijst li:last-child { border-bottom: 1px solid var(--line); }
.contact-lijst span {
  display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contact-lijst a { color: var(--body); text-decoration: none; }
.contact-lijst a:hover { color: var(--accent); }

.route { margin-top: 28px; background: var(--panel); border-left: 3px solid var(--accent); padding: 24px 26px; }
.route-adres { font-family: Anton, sans-serif; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); line-height: 1.25; margin: 0 0 10px; }
.route-tekst { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.route-knoppen { display: flex; flex-wrap: wrap; gap: 10px; }

.form { background: var(--panel); border: 1px solid var(--line); padding: 30px; }
.form label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 8px; padding: 14px;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  color: var(--ink); font: 400 16px "Source Sans 3", sans-serif;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--accent); outline: none;
}
.form ::placeholder { color: #7c8797; }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.demo-melding { text-align: center; padding: 46px 30px; }
.demo-titel { font-family: Anton, sans-serif; font-size: 1.7rem; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.demo-melding p { color: var(--muted); margin: 0; }
.demo-melding p + p { margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 22px; font-size: 15px; color: var(--muted); }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 36px; }
.wordmark { font-family: Anton, sans-serif; font-size: 2.6rem; color: var(--ink); margin: 0; letter-spacing: 0.04em; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a, .footer-contact a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: #7c8797;
}
.footer-bottom p { margin: 0; }

/* ---------- tekstpagina ---------- */
.prose { max-width: 48rem; }
.prose h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.prose h2 { font-size: 1.6rem; margin: 40px 0 0.5em; padding-top: 22px; border-top: 1px solid var(--line); }
.prose ul { padding-left: 20px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose .lead-sm { color: var(--muted); font-size: 15px; }
.prose .back { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- 404 ---------- */
.nf { min-height: 76vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.nf .code { font-family: Anton, sans-serif; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--accent); margin: 0; }
.nf h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 8px 0 14px; }
.nf p { color: var(--muted); max-width: 32em; margin-inline: auto; margin-bottom: 28px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .two-col, .klassen { grid-template-columns: 1fr; }
  .feiten { grid-template-columns: repeat(2, 1fr); }
  .feiten li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .raster, .diensten { grid-template-columns: repeat(2, 1fr); }
  .klassen-foto { max-width: 320px; }
  .klassen dl > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-in { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }
  #navtoggle:checked ~ .nav { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .raster, .diensten { grid-template-columns: 1fr; }
  .feiten { grid-template-columns: 1fr; }
  .feiten li { padding: 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .form .row { grid-template-columns: 1fr; }
  .hero-cta .btn, .route-knoppen .btn { flex: 1 1 100%; text-align: center; }
}
