/* renovatiekampioen.be | eigen opmaak, juli 2026 */
:root {
  --inkt: #2a2521;
  --inkt-zacht: #55493f;
  --klei: #b34a28;
  --klei-diep: #8f3517;
  --goud: #d69a2d;
  --goud-licht: #f3e3c3;
  --zand: #f7f1e8;
  --papier: #fffdf9;
  --lijn: #e6dbcb;
  --schaduw: 0 1px 2px rgba(42, 37, 33, .06), 0 8px 24px rgba(42, 37, 33, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--zand);
  border-top: 5px solid var(--klei);
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); font-weight: 800; margin: .35em 0 .4em; }
h2 { font-size: 1.42rem; font-weight: 750; margin: 1.9em 0 .55em; }
h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
p { margin: .65em 0; }

a { color: var(--klei-diep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--klei); }

img { max-width: 100%; height: auto; display: block; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.skiplink {
  position: absolute; left: -999px; top: 8px; z-index: 50;
  background: var(--inkt); color: #fff; padding: 8px 16px; border-radius: 999px;
}
.skiplink:focus { left: 12px; }

/* ---------- knoppen ---------- */
.pill {
  display: inline-block; border-radius: 999px; font-weight: 700;
  text-decoration: none; padding: 9px 20px; line-height: 1.3;
  transition: transform .12s ease, background .12s ease;
}
.pill:active { transform: scale(.97); }
.pill--fire { background: var(--klei); color: #fff; }
.pill--fire:hover { background: var(--klei-diep); color: #fff; }
.pill--gold { background: var(--goud); color: var(--inkt); }
.pill--gold:hover { background: #c2881d; color: var(--inkt); }
.pill--big { padding: 13px 28px; font-size: 1.08rem; }

/* ---------- header ---------- */
.topnav { background: var(--papier); border-bottom: 1px solid var(--lijn); }
.topnav__bar { display: flex; align-items: center; gap: 18px; min-height: 68px; position: relative; }
.topnav__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--inkt); margin-right: auto;
}
.topnav__logo { flex: 0 0 auto; }
.topnav__name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.topnav__name small {
  display: block; font-size: .68rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--inkt-zacht);
}
.topnav__menu { display: flex; align-items: center; gap: 20px; }
.topnav__menu > ul {
  display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center;
}
.topnav__menu ul a {
  text-decoration: none; color: var(--inkt); font-weight: 600;
  font-size: .98rem; white-space: nowrap;
}
.topnav__menu ul a:hover,
.topnav__menu ul a[aria-current="page"] { color: var(--klei-diep); }
/* mega-menu */
.topnav__megaitem { position: static; }
.topnav__megabtn {
  background: none; border: none; font: inherit; font-weight: 600; color: var(--inkt);
  cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 7px;
}
.topnav__megabtn:hover, .topnav__megabtn[aria-expanded="true"] { color: var(--klei-diep); }
.topnav__megabtn::after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; transition: transform .15s ease;
}
.topnav__megabtn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.topnav__mega {
  display: none; position: absolute; top: calc(100% + 14px); right: 0;
  background: var(--papier); border: 1px solid var(--lijn); border-radius: 16px;
  box-shadow: var(--schaduw); padding: 26px 30px; z-index: 60;
  width: max-content; max-width: min(880px, 84vw);
}
.topnav__mega--open { display: block; }
.topnav__megagrid { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 28px; }
.topnav__megacol h2 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--inkt-zacht); margin: 0 0 10px; font-weight: 700;
}
.topnav__megacol ul { list-style: none; margin: 0; padding: 0; }
.topnav__megacol li { margin: 6px 0; }
.topnav__megacol a { font-size: .95rem; font-weight: 500; color: var(--inkt); text-decoration: none; }
.topnav__megacol a:hover, .topnav__megacol a[aria-current="page"] { color: var(--klei-diep); }
.topnav__megafoot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--lijn); }
.topnav__megafoot a { font-weight: 700; color: var(--klei-diep); text-decoration: none; }
.topnav__megafoot a:hover { text-decoration: underline; }

.topnav__lang {
  font-weight: 700; font-size: .9rem; text-decoration: none;
  border: 1.5px solid var(--lijn); border-radius: 999px; padding: 5px 12px;
  color: var(--inkt-zacht);
}
.topnav__lang:hover { border-color: var(--goud); color: var(--inkt); }
.topnav__toggle { display: none; }

/* ---------- opener (paginakop) ---------- */
.opener { padding: 40px 0 14px; }
.opener__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 44px; align-items: center;
}
.opener__lead { font-size: 1.12rem; color: var(--inkt-zacht); max-width: 58ch; }
.opener__points { list-style: none; margin: 18px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.opener__points li {
  background: var(--papier); border: 1px solid var(--lijn); border-radius: 999px;
  padding: 6px 14px; font-size: .92rem; font-weight: 600;
}
.opener__points li::before { content: "\2713"; color: var(--goud); font-weight: 800; margin-right: 8px; }
.opener__action { margin-top: 20px; }
.opener__visual { margin: 0; }
.opener__visual img {
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--goud-licht);
}

.crumbtrail { font-size: .88rem; margin-bottom: 4px; }
.crumbtrail ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbtrail li + li::before { content: "\203A"; margin: 0 6px; color: var(--inkt-zacht); }
.crumbtrail a { color: var(--inkt-zacht); text-decoration: none; }
.crumbtrail a:hover { color: var(--klei-diep); text-decoration: underline; }
.crumbtrail [aria-current="page"] { color: var(--inkt); font-weight: 600; }

/* ---------- hoofdlayout ---------- */
.layout-duo {
  display: grid; grid-template-columns: minmax(0, 1fr) 350px;
  gap: 36px; align-items: start; padding-bottom: 64px;
}

.layout-solo { padding-bottom: 64px; max-width: 760px; margin-left: auto; margin-right: auto; }
.quotebox--onder { margin: 30px 0 0; }
.quotebox--onder .quotebox { max-width: 460px; }

.content {
  background: var(--papier); border: 1px solid var(--lijn); border-radius: 16px;
  padding: 10px 34px 30px; box-shadow: var(--schaduw);
}
.content > section > h2:first-child { margin-top: 1.2em; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin: .3em 0; }
.content figure { margin: 22px 0; }
.content figure img { border-radius: 12px; }
.content figcaption { font-size: .88rem; color: var(--inkt-zacht); margin-top: 8px; }

/* tabellen */
.swipe { overflow-x: auto; margin: 18px 0; }
.datatable { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .98rem; }
.datatable th, .datatable td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--lijn); }
.datatable thead th {
  background: var(--zand); border-bottom: 2.5px solid var(--goud);
  font-size: .86rem; text-transform: uppercase; letter-spacing: .06em;
}
.datatable tbody tr:nth-child(even) { background: #fbf7f0; }

/* tipblok */
.protip {
  background: #fdf6e9; border: 1.5px dashed var(--goud); border-radius: 14px;
  padding: 18px 22px 14px; margin: 26px 0; position: relative;
}
.protip::before {
  content: attr(data-label);
  position: absolute; top: -12px; left: 18px;
  background: var(--goud); color: var(--inkt); font-size: .78rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 12px;
}
.protip p:first-child { margin-top: 4px; }

/* faq */
.faqwrap__item { border-left: 4px solid var(--goud); padding: 2px 0 2px 18px; margin: 18px 0; }
.faqwrap__item h3 { margin: 0 0 .3em; }
.faqwrap__item p { margin: 0; }

/* lees ook */
.readmore {
  margin-top: 34px; padding-top: 8px; border-top: 1px solid var(--lijn);
}
.readmore ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.readmore li a {
  display: inline-block; background: var(--zand); border: 1px solid var(--lijn);
  border-radius: 999px; padding: 7px 16px; text-decoration: none; font-weight: 600; font-size: .94rem;
}
.readmore li a:hover { border-color: var(--goud); }

/* ---------- formulier-zijkolom ---------- */
.layout-duo > * { min-width: 0; }
.rail { position: sticky; top: 18px; min-width: 0; }
.quotebox {
  background: var(--papier); border: 1px solid var(--lijn); border-radius: 16px;
  overflow: hidden; box-shadow: var(--schaduw); max-width: 100%;
}
.quotebox__body, .quotebox__body > div { max-width: 100%; overflow: hidden; }
.quotebox__head { background: var(--klei); padding: 14px 22px; }
.quotebox__head h2 { color: #fff; margin: 0; font-size: 1.18rem; }
.quotebox__body { padding: 16px 22px 20px; }
.quotebox__body > p { margin-top: 0; font-size: .95rem; color: var(--inkt-zacht); }
.quotebox__marks { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--lijn); font-size: .9rem; }
.quotebox__marks li { margin: 5px 0; }
.quotebox__marks li::before { content: "\2713"; color: var(--goud); font-weight: 800; margin-right: 8px; }

/* ---------- hub-subnavigatie (rechterkolom) ---------- */
.hubnav {
  background: var(--papier); border: 1px solid var(--lijn); border-radius: 16px;
  padding: 18px 20px 16px; margin-top: 18px; box-shadow: var(--schaduw);
}
.hubnav__title {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--inkt-zacht); margin: 0 0 10px; font-weight: 700;
}
.hubnav ul { list-style: none; margin: 0; padding: 0; }
.hubnav li { margin: 2px 0; }
.hubnav a {
  display: block; padding: 7px 10px; border-radius: 10px;
  font-size: .93rem; font-weight: 600; color: var(--inkt); text-decoration: none;
}
.hubnav a:hover { background: var(--zand); color: var(--klei-diep); }
.hubnav a[aria-current="page"] { background: var(--goud-licht); color: var(--klei-diep); }

/* ---------- footer ---------- */
.foot { background: var(--inkt); color: #efe7dc; margin-top: 20px; }
.foot a { color: #f3d9a6; }
.foot a:hover { color: #fff; }
.foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 44px 22px 30px;
}
.foot__brand { font-weight: 800; font-size: 1.25rem; margin: 0 0 6px; }
.foot__brand small {
  display: block; font-size: .66rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #b9a88f;
}
.foot__col h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: #b9a88f; margin: 0 0 12px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin: 7px 0; font-size: .95rem; }
.foot__col p { font-size: .95rem; }
.foot__base { border-top: 1px solid #3d362f; padding: 14px 0; font-size: .88rem; color: #b9a88f; }
.foot__base p { margin: 0; }

/* ---------- mobiel ---------- */
@media (max-width: 960px) {
  .topnav__toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1.5px solid var(--lijn); border-radius: 999px;
    padding: 7px 16px; font: inherit; font-weight: 700; cursor: pointer; color: var(--inkt);
  }
  .topnav__toggle span, .topnav__toggle span::before, .topnav__toggle span::after {
    display: block; width: 17px; height: 2px; background: var(--klei); border-radius: 2px;
    position: relative; content: "";
  }
  .topnav__toggle span::before { position: absolute; top: -5px; }
  .topnav__toggle span::after { position: absolute; top: 5px; }
  .topnav__menu {
    display: none; position: absolute; left: 0; right: 0; top: 68px; z-index: 40;
    background: var(--papier); border-bottom: 1px solid var(--lijn);
    padding: 18px 22px 22px; flex-direction: column; align-items: flex-start;
  }
  .topnav { position: relative; }
  .topnav__menu--open { display: flex; }
  .topnav__menu > ul { flex-direction: column; gap: 4px; align-items: stretch; width: 100%; }
  .topnav__megaitem { width: 100%; }
  .topnav__megabtn { width: 100%; justify-content: space-between; padding: 8px 2px; }
  .topnav__mega {
    position: static; box-shadow: none; border: none; border-radius: 0;
    padding: 6px 0 10px 12px; width: auto; max-width: none;
    border-left: 2px solid var(--lijn);
  }
  .topnav__megagrid { grid-template-columns: 1fr; gap: 18px; }
  .topnav__megafoot { padding-top: 12px; }
  .opener { padding-top: 22px; }
  .opener__grid { grid-template-columns: 1fr; gap: 26px; }
  .opener__visual { order: 2; }
  .layout-duo { grid-template-columns: 1fr; gap: 26px; }
  .rail { position: static; order: -1; }
  .content { padding: 6px 20px 22px; }
  .foot__grid { grid-template-columns: 1fr 1fr; padding-top: 34px; }
}

@media (max-width: 560px) {
  .foot__grid { grid-template-columns: 1fr; }
  .topnav__name small { display: none; }
}
