/* Dikhoff Advies — huisstijl
   Familie van StikstofHub.nl: zelfde papier (#f5f2e8), zelfde typografie,
   zelfde kaarten, badges en secties. Eigen accent: leisteen #34454f en
   oranje #eb8323 uit het logo, waar StikstofHub groen gebruikt. */

:root {
  /* eigen accent */
  --slate: #34454f;
  --slate-dark: #22303a;
  --slate-soft: #5d707c;
  --orange: #eb8323;
  --orange-dark: #c96a12;

  /* gedeeld met StikstofHub */
  --ink: #1d262c;
  --grey: #5b6670;
  --grey-light: #eceef0;
  --white: #ffffff;
  --sand: #f5f2e8;
  --sand-border: #e3ddc8;
  --line: #e4e8ea;

  --max: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.25; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--max); }
.narrow > * { max-width: 760px; }
.narrow > .cards, .narrow > .facts { max-width: none; }

/* ---------- Header ---------- */
header.site {
  background: var(--sand);
  border-bottom: 1px solid var(--sand-border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand img { height: 42px; width: auto; }
.brand .payoff {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-soft);
  border-left: 1px solid var(--sand-border);
  padding-left: 14px;
  letter-spacing: 0.01em;
}
.brand:hover { opacity: 0.9; text-decoration: none; }
@media (max-width: 820px) { .brand .payoff { display: none; } }

nav.main { display: flex; flex-wrap: wrap; align-items: center; }
nav.main a {
  color: var(--grey);
  margin-left: 26px;
  font-size: 0.95rem;
  font-weight: 500;
}
nav.main a:hover { color: var(--ink); text-decoration: none; }
nav.main a.current { color: var(--orange-dark); font-weight: 700; }
nav.main a.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
}
nav.main a.nav-cta:hover { background: var(--orange-dark); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: clamp(480px, 66vh, 660px);
  display: flex;
  align-items: center;
  padding: 56px 0;
  overflow: hidden;
  background: var(--slate-dark);
}
.hero .hero-img {
  position: absolute;
  inset: 0;
  background-image: url("../img/landschap.jpg");
  background-size: cover;
  background-position: center 58%;
}
.hero .hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(247,244,236,0.94) 0%, rgba(247,244,236,0.86) 22%, rgba(247,244,236,0.55) 36%, rgba(247,244,236,0.12) 46%, rgba(247,244,236,0) 56%),
    linear-gradient(to left, rgba(18,28,35,0.88) 0%, rgba(18,28,35,0.74) 28%, rgba(18,28,35,0.38) 48%, rgba(18,28,35,0) 64%);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-tekst { flex: 1 1 auto; max-width: 600px; }
.hero .hero-logo {
  flex: 0 0 auto;
  height: clamp(120px, 17vw, 210px);
  width: auto;
  margin: 0;
  filter: drop-shadow(0 3px 16px rgba(255,255,255,0.55));
}
.hero .eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  line-height: 1.02;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero p.lead {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.94);
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Statementband ---------- */
.statement {
  background: var(--slate);
  color: #fff;
  padding: 54px 0;
  text-align: center;
}
.statement p {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.4;
  font-style: normal;
  color: rgba(255,255,255,0.88);
}
.statement p strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Paginakop voor subpagina's — licht, zoals StikstofHub */
.pagehead {
  background: var(--sand);
  border-bottom: 1px solid var(--sand-border);
  color: var(--ink);
  padding: 52px 0 56px;
}
.pagehead .eyebrow {
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pagehead h1 { font-size: 2rem; margin: 0 0 10px; }
.pagehead p { color: var(--grey); max-width: 640px; margin: 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn.primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn.primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn.ghost:hover { border-color: var(--white); text-decoration: none; color: var(--white); }
.btn.dark { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn.dark:hover { background: var(--slate-dark); border-color: var(--slate-dark); color: var(--white); text-decoration: none; }
.btn.outline { background: transparent; color: var(--slate); border-color: #d3cdba; }
.btn.outline:hover { border-color: var(--orange); color: var(--orange-dark); text-decoration: none; }

/* ---------- Secties ---------- */
section.block {
  padding: 64px 0;
  border-bottom: 1px solid var(--grey-light);
}
section.block:last-of-type { border-bottom: none; }
section.block.alt { background: var(--sand); border-bottom-color: var(--sand-border); }
section.block.sand { background: var(--sand); border-bottom-color: var(--sand-border); }

.kicker {
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}
section.block h2 { font-size: 1.5rem; margin: 0 0 10px; color: var(--slate-dark); }
section.block p.intro { max-width: 700px; color: var(--grey); font-size: 1.05rem; }

/* ---------- Huidige rollen ---------- */
.nu {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
}
.nu > span {
  flex: none;
  margin-top: 3px;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}
.nu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-dark);
  line-height: 1.45;
}
.nu li + li { margin-top: 3px; }

/* ---------- Openingsalinea ---------- */
p.opener {
  font-size: clamp(1.15rem, 2.3vw, 1.35rem);
  line-height: 1.5;
  color: var(--slate-dark);
  max-width: 700px;
  margin: 0;
}

/* ---------- Brede afbeelding ---------- */
img.wide { width: 100%; border-radius: var(--radius); }
p.caption { font-size: 0.88rem; color: var(--grey); margin: 12px 0 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--orange); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--slate-dark); }
.card p { color: var(--grey); font-size: 0.95rem; margin: 0 0 16px; }
.card ul { color: var(--grey); font-size: 0.95rem; margin: 0; padding-left: 20px; }
.card ul li { margin-bottom: 5px; }

.badge {
  display: inline-block;
  background: var(--grey-light);
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.badge.live { background: #fbe8d4; color: var(--orange-dark); }

/* ---------- Twee kolommen ---------- */
.split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 46px;
  align-items: start;
}
.split img.portrait { border-radius: var(--radius); width: 100%; }
.split .caption { display: none; }
.split .caption { font-size: 0.85rem; color: var(--grey); margin-top: 10px; }

/* ---------- Feitenrij ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.fact .num { font-size: 2rem; font-weight: 700; color: var(--orange); line-height: 1.1; }
.fact .lbl { font-size: 0.92rem; color: var(--grey); margin-top: 4px; }

/* ---------- Tijdlijn opdrachten ---------- */
.timeline { margin-top: 36px; border-left: 2px solid var(--sand-border); padding-left: 30px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}
.tl-item .period {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
.tl-item h3 { margin: 4px 0 2px; font-size: 1.12rem; color: var(--slate-dark); }
.tl-item .org { font-size: 0.95rem; color: var(--slate-soft); font-weight: 600; margin-bottom: 8px; }
.tl-item p { color: var(--grey); font-size: 0.97rem; margin: 0; }

/* ---------- Lijsten ---------- */
ul.check { list-style: none; padding: 0; margin: 22px 0 0; }
ul.check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 7px;
  color: var(--grey);
  font-size: 0.95rem;
}
ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-dark);
  font-weight: 700;
}

.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

/* ---------- Logobalk opdrachtgevers ---------- */
.logobalk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 34px;
  margin-top: 30px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--sand-border);
  border-radius: var(--radius);
}
.logobalk img {
  height: 38px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter .18s, opacity .18s;
}
.logobalk img:hover { filter: grayscale(0); opacity: 1; }
.logobalk img.vierkant { height: 56px; }
.logonoot {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--grey);
  max-width: 74ch;
}
@media (max-width: 640px) {
  .logobalk { gap: 22px 30px; padding: 22px 20px; }
  .logobalk img { height: 32px; }
  .logobalk img.vierkant { height: 46px; }
}
.tag {
  background: var(--white);
  border: 1px solid var(--sand-border);
  color: var(--slate);
  font-size: 0.86rem;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ---------- Tabel ---------- */
table.data { border-collapse: collapse; width: 100%; margin: 24px 0; font-size: 0.95rem; }
table.data th, table.data td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
table.data th { background: var(--grey-light); color: var(--slate-dark); }

/* ---------- Quote / notitie ---------- */
.quote {
  border-left: 4px solid var(--orange);
  padding: 6px 0 6px 24px;
  margin: 30px 0;
  font-size: 1.1rem;
  color: var(--slate-dark);
  font-style: italic;
}
.note {
  background: var(--sand);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #40453c;
  margin: 24px 0;
}

/* ---------- Contactblok ---------- */
.contactbar {
  background: var(--slate);
  color: var(--white);
  padding: 56px 0;
}
.contactbar h2 { color: var(--white); margin: 0 0 10px; font-size: 1.5rem; }
.contactbar p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 0 26px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.contactbar a.mail { color: var(--white); border-bottom: 2px solid var(--orange); }
.contactbar a.mail:hover { text-decoration: none; color: var(--orange); }

.contactgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.contactgrid .item { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contactgrid .item h3 { margin: 0 0 6px; font-size: 1rem; color: var(--slate-dark); }
.contactgrid .item p { margin: 0; color: var(--grey); font-size: 0.96rem; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--sand);
  color: var(--grey);
  padding: 36px 0 26px;
  font-size: 0.9rem;
  border-top: 1px solid var(--sand-border);
}
footer.site a { color: var(--orange-dark); }
footer.site .fcols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sand-border);
}
footer.site .fbrand img { height: 40px; margin-bottom: 10px; }
footer.site .fbrand p { margin: 0; max-width: 30ch; }
footer.site .flinks, footer.site .fmeta { display: flex; flex-direction: column; gap: 6px; }
footer.site .base {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split img.portrait { max-width: 260px; }
}
@media (max-width: 700px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; }
  nav.main { gap: 4px 0; }
  nav.main a { margin: 0 18px 0 0; font-size: 0.9rem; }
  nav.main a.nav-cta { margin-top: 6px; }
  .hero { padding: 62px 0 68px; }
  .hero h1 { font-size: 1.75rem; }
  .hero p.lead { font-size: 1rem; }
  .pagehead h1 { font-size: 1.55rem; }
  section.block { padding: 44px 0; }
  section.block h2 { font-size: 1.35rem; }
  .hero { min-height: 460px; padding: 40px 0; }
  .hero .wrap { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero .hero-logo { height: 88px; }
  footer.site .fcols { grid-template-columns: 1fr; gap: 22px; }
}
