/**
 * dealdrive-subpage.css — Gedeelde stijlen voor de DealDrive sub-pagina's
 * (over-ons, privacy, avg-security, contact).
 *
 * Houdt nav + footer + branding identiek aan dealdrive-site.html maar met
 * een leaner content-laag bedoeld voor lange-vorm tekst.
 *
 * Sprint 55 — aanvulling op dealdrive-site.html.
 */

:root {
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --yellow: #FED800;
  --yellow-dark: #b88d00;
  --bg: #ffffff;
  --surface: #f4f3ef;
  --border: #e5e3da;
  --border-strong: #c8c5bc;
  --muted: #6b6b6b;
  --muted-light: #9a9a9a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--yellow-dark); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP NAV ===== */
.top {
  background: var(--ink);
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: 'Source Serif 4', Georgia, serif;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-wordmark .deal {
  color: #fff;
  /* Ruimte rechts zodat de 'l' van Deal volledig zichtbaar blijft. */
  padding-right: 4px;
}
.brand-wordmark .drive-badge {
  display: inline-block;
  padding: 2px 12px 4px;
  background: var(--yellow);
  color: var(--ink);
  /* Skew-origin linksonder zodat de bovenkant naar rechts boven loopt
     en het vlak leunt tegen 'Deal' aan zonder de 'l' te overlappen. */
  margin-left: 0;
  transform: skewX(-12deg);
  transform-origin: 0 100%;
}
.brand-wordmark .drive-badge .drive-text {
  display: inline-block;
  transform: skewX(12deg);
}
.brand-payoff {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  /* Uitgelijnd met het wordmark: even breed, woorden gespreid. */
  align-self: stretch;
  text-align: justify;
  text-align-last: justify;
}

.top-nav {
  display: none;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}
@media (min-width: 800px) { .top-nav { display: inline-flex; } }
.top-nav a { color: inherit; }
.top-nav a:hover { color: #fff; }

.top-cta { display: inline-flex; gap: 10px; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
}
.btn-ghost:hover { border-color: #fff; }
.btn-y {
  background: var(--yellow);
  color: var(--ink);
  border: 1px solid var(--yellow);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.btn-y:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--ink); }
.btn-y.lg { padding: 14px 24px; font-size: 14px; }

/* ===== HERO (sub-page) ===== */
.sub-hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.sub-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.sub-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
}
.sub-hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -.01em;
  font-weight: 700;
  margin: 14px 0 12px;
  max-width: 760px;
  color: #fff;
}
.sub-hero h1 em {
  font-style: normal;
  background: var(--yellow);
  color: var(--ink);
  padding: 0 8px;
}
.sub-hero-lede {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
  margin: 0;
  max-width: 640px;
}
.sub-hero-meta {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  font-weight: 600;
}

/* ===== CONTENT BLOCKS ===== */
.content {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.content.alt { background: var(--surface); }

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .content-grid { grid-template-columns: 220px 1fr; gap: 56px; }
}

.content-aside {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  position: sticky;
  top: 110px;
  align-self: start;
}
.content-aside::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--yellow);
  margin-bottom: 10px;
}

.content-body {
  max-width: 720px;
}
.content-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--ink);
}
.content-body h2:not(:first-child) { margin-top: 36px; }
.content-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--ink);
}
.content-body p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.content-body p:last-child { margin-bottom: 0; }
.content-body p strong { color: var(--ink); font-weight: 700; }
.content-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.content-body ul li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.content-body ul li::marker { color: var(--yellow-dark); }
.content-body a.inline {
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  font-weight: 600;
}
.content-body a.inline:hover { color: var(--yellow-dark); }

.content-callout {
  background: #fff;
  border-left: 3px solid var(--yellow);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.content-callout strong { color: var(--ink); }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.kpi-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px 20px;
  border-top: 3px solid var(--yellow);
}
.kpi-card-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 2px;
}
.kpi-card-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== FAQ / definition lists ===== */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
}
.faq-item {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.faq-a {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px;
}
.contact-card h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.contact-card p {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cf-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.cf-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.cf-input,
.cf-textarea,
.cf-select {
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px;
}
.cf-input:focus,
.cf-textarea:focus,
.cf-select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.cf-textarea { resize: vertical; min-height: 120px; }

.cf-submit {
  background: var(--ink);
  color: var(--yellow);
  border: 1px solid var(--ink);
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
}
.cf-submit:hover { background: var(--ink-soft); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-side-block {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.contact-side-block:first-child { border-top: none; padding-top: 0; }
.contact-side-block h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}
.contact-side-block p,
.contact-side-block a {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.contact-side-block a.inline {
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 30px;
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }

.foot-brand .b {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: 'Source Serif 4', Georgia, serif;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1;
}
.foot-brand .b-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.foot-brand .b-wordmark .deal { color: #fff; padding-right: 4px; }
.foot-brand .b-wordmark .drive-badge {
  display: inline-block;
  padding: 2px 11px 4px;
  background: var(--yellow);
  color: var(--ink);
  margin-left: 0;
  transform: skewX(-12deg);
  transform-origin: 0 100%;
}
.foot-brand .b-wordmark .drive-badge .drive-text {
  display: inline-block;
  transform: skewX(12deg);
}
.foot-brand .b-payoff {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  align-self: stretch;
  text-align: justify;
  text-align-last: justify;
}
.foot-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
  max-width: 260px;
}

.foot-col h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
}
.foot-col a {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
}
.foot-col a:hover { color: #fff; }

.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}


/* ===== BLOG (artikelen + overzicht) ===== */
.blog-hero {
  position: relative;
  margin: 0;
}
.blog-hero img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
/* Zwarte overlay van 50% over de artikelfoto. */
.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1;
}
.blog-hero figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  padding: 22px 26px;
  margin: 0 0 36px;
}
.toc-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin: 0 0 12px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.9;
}
.toc a { border-bottom: 1px solid var(--border-strong); }
.toc a:hover { color: var(--yellow-dark); border-bottom-color: var(--yellow-dark); }

.blog-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-cta {
  background: var(--ink);
  color: #fff;
  padding: 30px 32px;
  margin-top: 44px;
}
.blog-cta h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  margin: 0 0 10px;
  color: #fff;
}
.blog-cta p { color: rgba(255,255,255,.75); margin: 0 0 18px; }
.blog-cta a.btn-y {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
}
.blog-cta a.btn-y:hover { background: var(--yellow-dark); color: var(--ink); }

/* Blogoverzicht */
.blog-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}
@media (min-width: 700px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: var(--yellow); transform: translateY(-2px); color: inherit; }
.blog-card-img {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.blog-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}
.blog-card-img .blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.blog-card-body p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.blog-card-body .lees {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.blog-card:hover .lees { color: var(--yellow-dark); }

/* ===== Verbeterronde: uitgelicht artikel + leestijd op blogindex ===== */
.blog-featured {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: #fff; border: 1px solid var(--border);
  text-decoration: none; color: var(--ink);
  margin-bottom: 34px; overflow: hidden;
}
.blog-featured-img { position: relative; min-height: 280px; }
.blog-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-featured-img::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.blog-featured-img .blog-card-tag { z-index: 1; }
.blog-featured-body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.blog-featured-body h2 { font-size: 26px; line-height: 1.25; font-weight: 700; margin: 0; }
.blog-featured-body p { color: var(--muted); font-size: 15px; margin: 0; }
.blog-featured-body .lees { margin-top: auto; }
.blog-featured:hover .lees { color: var(--yellow-dark); }
@media (max-width: 820px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-card-meta { display: block; font-size: 12px; color: var(--muted-light); margin-bottom: 6px; }