/* Media Gate — gedeelde stijl voor de blog (overzicht + artikels) */
:root {
  --dark: #101820;
  --gold: #ffd700;
  --gold-hover: #e6b800;
  --gold-ink: #6e5a00;
  --white: #ffffff;
  --muted: #a9b4c2;
  --light: #f5f7fb;
  --ink: #111e2c;
  --ink-soft: #46505c;
  --black: #05080c;
  --border: rgba(255, 255, 255, 0.12);
  --line-light: #e0e6ee;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--white);
  background: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
ul, ol { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.container { width: min(92%, var(--container)); margin-inline: auto; }
.narrow { width: min(92%, 760px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 999999; background: var(--gold); color: var(--black); padding: 10px 14px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; padding: 13px 22px;
  background: var(--gold); color: var(--black); font-weight: 700; cursor: pointer; text-align: center;
  transition: transform .25s ease, background .25s ease;
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.18);
}
.btn:hover, .btn:focus-visible { background: var(--gold-hover); transform: translateY(-2px); }
.btn.secondary { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--border); box-shadow: none; }
.btn.small { padding: 10px 16px; font-size: .92rem; }

/* Header (identiek aan de rest van de site) */
header { position: sticky; top: 0; z-index: 1000; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.logo { width: 68px; height: auto; display: block; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
nav a { display: inline-flex; align-items: center; color: rgba(255,255,255,.88); font-weight: 600; font-size: .94rem; padding: 12px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--gold); background: rgba(255,255,255,.06); }
nav a.btn, nav a.btn:hover { color: var(--black); background: var(--gold); }
nav a.btn:hover { background: var(--gold-hover); }
.has-submenu { position: relative; }
.has-submenu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-submenu > a::after { content: "⌄"; font-size: .8rem; margin-left: 6px; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px; padding: 10px;
  display: flex; flex-direction: column; align-items: stretch;
  border-radius: 18px; background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); z-index: 1001;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.submenu a { display: flex; color: #182232; border-radius: 12px; padding: 10px 12px; font-size: .92rem; white-space: nowrap; }
.submenu a:hover, .submenu a:focus-visible { background: #f1f3f7; color: #000; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.hamburger { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.06); color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* Paginakop (zelfde stijl als de inhouse marketing-hero) */
.page-head {
  position: relative; overflow: hidden; text-align: center;
  padding: 90px 0 76px;
  background: linear-gradient(135deg, #101820 0%, #0d2233 60%, #101820 100%);
}
.page-head::before, .page-head::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-head::before { top: -90px; right: -90px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,215,0,.10) 0%, transparent 70%); }
.page-head::after { bottom: -70px; left: -70px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,215,0,.06) 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; }
.breadcrumbs { font-size: .84rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { display: inline; padding: 0; border-radius: 0; font-weight: 400; font-size: inherit; color: inherit; background: none; }
.breadcrumbs a:hover { color: var(--gold); background: none; }
.hero-badge {
  display: inline-block; margin-bottom: 22px;
  background: rgba(255,215,0,.12); border: 1px solid rgba(255,215,0,.3); color: var(--gold);
  font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 30px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 999px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; margin: 0 auto 20px; max-width: 900px; }
.page-head h1 span { color: var(--gold); }
.page-head .lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,215,0,.5); }
.meta strong { color: var(--white); font-weight: 600; }
.meta .author { display: inline-flex; align-items: center; gap: 10px; }

/* Animaties */
/* Alleen beweging, geen onzichtbare beginstand: de tekst blijft altijd leesbaar */
@keyframes fadeInUp { from { transform: translateY(18px); } to { transform: none; } }
.fade-in { animation: fadeInUp .7s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

/* Lichte leeszone */
.light-zone { background: var(--light); color: var(--ink); padding: 64px 0 80px; }

/* Blogoverzicht */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover, .post-card:focus-within { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0,0,0,.08); border-color: var(--gold); }
/* De titel-link beslaat de volledige kaart, zodat het hele blok klikbaar is */
.post-card .card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post-card .card-link:focus-visible { outline: none; }
.post-card:has(.card-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 4px; }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-ink); background: #fff9d8; border: 1px solid #ecdf9a; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.post-card h2 { font-size: 1.28rem; letter-spacing: -.02em; margin-bottom: 10px; color: var(--ink); }
.post-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.post-card .more { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--ink-soft); }
.post-card .read-more { color: var(--ink); font-weight: 700; padding: 6px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.post-card:hover .read-more, .post-card:focus-within .read-more { background: var(--gold); color: var(--black); }
.list-intro { max-width: 720px; margin-bottom: 34px; }
.list-intro h2 { font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: 8px; }
.list-intro p { color: var(--ink-soft); }

/* Artikel */
.article { font-size: 1.06rem; }
.article > * + * { margin-top: 18px; }
.article p, .article li { color: #2b3542; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -.03em; color: var(--ink); margin-top: 46px; }
.article h3 { font-size: 1.15rem; color: var(--ink); margin-top: 28px; }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; }
.article strong { color: var(--ink); }
.article a:not(.btn) { color: #1e4a73; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article a:not(.btn):hover { color: var(--ink); }
.figure { margin: 28px 0 0; }
.figure img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius-md); }
.figure figcaption { font-size: .84rem; color: var(--ink-soft); margin-top: 8px; }

.answer-box { padding: 22px 24px; border-radius: var(--radius-md); background: #fff9d8; border: 1px solid #ecdf9a; border-left: 5px solid var(--gold); }
.answer-box strong.label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-ink); margin-bottom: 6px; }
.answer-box p { color: #3d3510; }

.toc { padding: 20px 24px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line-light); }
.toc strong { display: block; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.toc ol { padding-left: 20px; gap: 4px; font-size: .95rem; }
.toc a { color: #1e4a73; text-decoration: none !important; font-weight: 500 !important; }
.toc a:hover { text-decoration: underline !important; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line-light); background: var(--white); }
.article table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.article th, .article td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.article thead th { background: var(--ink); color: var(--white); font-size: .88rem; }
.article tbody tr:last-child td { border-bottom: 0; }
.article td { color: #2b3542; }
.note { font-size: .88rem; color: var(--ink-soft) !important; }

.tip { padding: 18px 22px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line-light); }
.tip strong { display: block; margin-bottom: 4px; }

.cta-box { margin-top: 46px !important; padding: 32px; border-radius: var(--radius-lg); background: var(--dark); color: var(--white); text-align: center; }
.cta-box h2 { color: var(--white) !important; margin-top: 0 !important; font-size: 1.6rem; margin-bottom: 10px; }
.cta-box p { color: var(--muted) !important; max-width: 520px; margin: 0 auto 22px; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.faq details { background: var(--white); border: 1px solid var(--line-light); border-radius: 14px; padding: 16px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details p { margin-top: 10px; }

.related { margin-top: 46px !important; }
.related h2 { margin-top: 0 !important; font-size: 1.4rem !important; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.related-grid .post-card img { height: 170px; }
.related-grid .post-card .body { padding: 20px; }
.related-grid .post-card h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; }
.article .related-grid a.card-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.article .related-grid .post-card p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 16px; }
.article .related-grid .more span { color: var(--ink-soft); }
.article .related-grid .read-more { color: var(--ink); }
.article .related-grid .post-card:hover .read-more, .article .related-grid .post-card:focus-within .read-more { color: var(--black); }

/* Contactsectie (zoals op de homepage) */
.contact-section { padding: 80px 0; }
.contact-head { max-width: 760px; margin-bottom: 34px; }
.contact-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.045em; margin-bottom: 14px; }
.contact-head p { color: var(--muted); font-size: 1.05rem; }
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 26px; align-items: stretch; }
.contact-card, .contact-info-card { background: rgba(255,255,255,.07); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: block; color: var(--white); font-weight: 700; margin-bottom: 7px; }
.contact-form input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(5,8,12,.55); color: var(--white); font: inherit; outline: none; transition: border-color .2s ease, background .2s ease; }
.contact-form input::placeholder { color: #8492a2; }
.contact-form input:focus { border-color: rgba(255,215,0,.75); background: rgba(5,8,12,.72); }
.contact-info-card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.contact-info-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-info-card p { color: var(--muted); }
.contact-info-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-info-list div { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.contact-info-list strong { display: block; color: var(--gold); margin-bottom: 4px; }
.contact-info-list a, .contact-info-list span { color: rgba(255,255,255,.84); }
.contact-info-list a:hover { color: var(--gold); }
#thank-you { background: rgba(255,215,0,.12); border: 1px solid rgba(255,215,0,.32); border-radius: 18px; padding: 18px; color: var(--white); font-weight: 700; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0; color: rgba(255,255,255,.72); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .92rem; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold); }

/* Cookie banner */
#cookie-banner[hidden], #cookie-customize[hidden] { display: none !important; }
#cookie-banner.active { display: flex !important; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(92%, 980px); padding: 18px; background: rgba(16,24,32,.96); color: #fff; z-index: 99999; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; box-shadow: var(--shadow); }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.cookie-content p { color: var(--muted); }
.cookie-title { font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.cookie-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-buttons button, #save-preferences, #cancel-preferences { border: none; border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 700; }
#accept-cookies, #save-preferences { background: var(--gold); color: var(--black); }
#decline-cookies, #cancel-preferences { background: rgba(255,255,255,.12); color: var(--white); }
#customize-cookies { background: rgba(255,255,255,.22); color: var(--white); }
#cookie-customize.active { display: block !important; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--dark); color: #fff; padding: 24px; border-radius: 22px; z-index: 100000; max-width: min(92%, 480px); width: 100%; border: 1px solid var(--border); box-shadow: var(--shadow); }

@media (max-width: 1040px) {
  .post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hamburger { display: inline-grid; place-items: center; }
  nav#site-navigation { position: absolute; top: 82px; left: 0; right: 0; display: none; padding: 18px 4%; background: var(--dark); border-bottom: 1px solid var(--border); max-height: calc(100dvh - 82px); overflow-y: auto; }
  nav#site-navigation.open { display: block; }
  nav#site-navigation ul { flex-direction: column; align-items: stretch; gap: 8px; }
  nav#site-navigation a { justify-content: center; width: 100%; border-radius: 14px; }
  .has-submenu::after { display: none; }
  .submenu { position: static; min-width: 0; opacity: 1; pointer-events: auto; transform: none; display: none; margin-top: 8px; background: rgba(255,255,255,.08); border: 1px solid var(--border); box-shadow: none; }
  .submenu a { color: var(--white); justify-content: center; }
  .has-submenu:hover .submenu, .has-submenu:focus-within .submenu { display: flex; }
  .post-list { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .cookie-content { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .container, .narrow { width: min(90%, var(--container)); }
  .nav-wrap { min-height: 72px; }
  .logo { width: 58px; }
  nav#site-navigation { top: 72px; }
  .page-head { padding: 56px 0 52px; }
  .hero-cta .btn { width: 100%; }
  .light-zone { padding: 44px 0 56px; }
  .article { font-size: 1rem; }
  .cta-box { padding: 24px 20px; }
  .cta-box .btn { width: 100%; }
  .contact-section { padding: 56px 0; }
  .contact-card, .contact-info-card { padding: 22px; }
  .contact-form .btn, .contact-info-card .btn { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  #cookie-banner.active { bottom: 10px; padding: 15px; }
  .cookie-buttons button { flex: 1 1 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
