/* ---------------------------------------------------------
   HTM-stijl mockup — nagebouwd op basis van htm.nl
   Kleuren uit het officiele HTM-logo (rood #DC291E).
   Lettertype: Nunito (zoals htm.nl).
--------------------------------------------------------- */
:root {
  --red: #DC291E;
  --red-dark: #B71F16;
  --blue: #2F7DC9;        /* HTM CTA-blauw */
  --blue-dark: #2569ab;
  --ink: #1A1A1A;         /* koppen */
  --text: #2B3242;        /* lopende tekst (donker leiblauw) */
  --muted: #5B6472;
  --line: #E3E6EA;
  --bg-soft: #F4F6F8;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(20, 22, 30, .07);
  --maxw: 1140px;
  --content: 880px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.content { max-width: var(--content); margin: 0 auto; padding: 0 24px; }

a { color: var(--red); }
h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.2; }

/* ---------- HEADER ---------- */
.bar-top { height: 6px; background: #1A1A1A; }

.utility { background: #F3F4F6; border-bottom: 1px solid var(--line); }
.utility__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; font-size: .84rem; }
.utility .rate { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.utility .right { display: flex; align-items: center; gap: 22px; }
.utility .right a { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 7px; font-weight: 700; }
.utility svg { display: block; }

.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.masthead__inner { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand img { height: 34px; display: block; }
.mainnav { display: flex; gap: 24px; margin-left: auto; }
.mainnav a { color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.mainnav a:hover { color: var(--red); }
.mainnav svg { stroke: var(--ink); }
.actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn { height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 0 16px; display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); cursor: pointer; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 700; }
.breadcrumb .sep { margin: 0 8px; color: #b9bfc8; }

/* ---------- HERO ---------- */
.hero { padding: 18px 0 8px; }
.hero h1 { font-size: 2.5rem; margin: 8px 0 18px; }
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.hero .lead { font-size: 1.18rem; color: var(--text); }
.hero .lead strong { color: var(--ink); }

.answer-card { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.answer-card .label { color: var(--red); font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.answer-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.answer-card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.answer-card li:last-child { border-bottom: 0; }
.answer-card li span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---------- BUTTONS ---------- */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; font-weight: 800;
  padding: 13px 22px; border-radius: 11px; text-decoration: none; margin-top: 6px;
}
.btn-cta:hover { background: var(--blue-dark); }
.btn-cta svg { stroke: #fff; }

/* ---------- TEKST / SECTIES ---------- */
section { padding: 6px 0; }
h2 { font-size: 1.8rem; margin: 46px 0 14px; }
h3 { font-size: 1.18rem; margin: 24px 0 6px; }
.content p { margin: 0 0 14px; }
.lead { font-size: 1.1rem; }
.content ul { padding-left: 20px; }
.content ul li { margin: 7px 0; }

/* ---------- TABEL ---------- */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.data-table th, .data-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 800; border-bottom: 2px solid var(--line); }
.data-table tbody tr:hover { background: #fafbfc; }

/* ---------- STAPPEN (OVpay) ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 14px 0 20px; }
ol.steps li { counter-increment: step; position: relative; padding: 6px 0 6px 46px; margin: 6px 0; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 4px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem;
  display: grid; place-items: center;
}
.highlight { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.highlight .label { color: var(--red); font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.highlight p { margin: 8px 0 0; color: var(--text); }

/* ---------- NOTE (zonder iconen) ---------- */
.note { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
.note strong { color: var(--ink); }

/* ---------- KAARTEN (HTM quick-card stijl) ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 18px 0; }
.htm-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 56px; box-shadow: var(--shadow); }
.htm-card .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 14px; }
.htm-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.htm-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.arrow-btn { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.arrow-btn:hover { background: var(--red-dark); }

/* link-lijst variant */
.linklist { list-style: none; padding: 0; margin: 8px 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 4px; color: var(--ink); text-decoration: none; font-weight: 700; }
.linklist a:hover { color: var(--red); }
.linklist .arrow-btn { position: static; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 22px;
  width: 9px; height: 9px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--text); }

.freshness { color: var(--muted); font-size: .85rem; margin: 30px 0 10px; }

/* ---------- FOOTER ---------- */
.footer { background: #1A1A1A; color: #fff; margin-top: 50px; padding: 40px 0 30px; }
.footer__top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid #333; }
.footer__brand { font-weight: 800; font-size: 1.5rem; }
.footer__brand small { display: block; font-weight: 400; font-size: .85rem; color: #b8b8b8; }
.footer nav a { color: #d9d9d9; text-decoration: none; display: block; padding: 4px 0; font-size: .92rem; }
.footer nav a:hover { color: #fff; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__cols strong { display: block; margin-bottom: 8px; }
.footer__small { color: #9a9a9a; font-size: .8rem; margin-top: 20px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 560px) {
  .utility .rate span { display: none; }
}
