/* kg-blok-belofte
   Gegenereerd door tools/genereer_css.py — niet met de hand bewerken.
   Gescopet onder .kg */

.kg .belofte {
  background:var(--kg-papier);
}
.kg .belofte .grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.kg .belofte .media {
  position:relative;
  border-radius:var(--kg-radius);
  overflow:hidden;
  aspect-ratio:4/5;
  box-shadow:0 22px 54px rgba(21,23,15,.14);
}
.kg .belofte .media .bimg {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease;
}
.kg .belofte .media .bimg.on {
  opacity:1;
}
.kg .belofte h2 {
  font-weight:800 !important;
  font-size:clamp(27px,3.6vw,42px) !important;
  letter-spacing:-.01em;
  margin-bottom:28px;
  max-width:18ch;
}
.kg .b-item {
  padding:20px 0 20px 20px;
  border-top:1px solid var(--kg-lijn);
  cursor:pointer;
  position:relative;
  transition:.2s;
}
.kg .b-item:last-of-type {
  border-bottom:1px solid var(--kg-lijn);
}
.kg .b-item::before {
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--kg-goud);
  opacity:0;
  transition:.2s;
  border-radius:3px;
}
.kg .b-item.on::before {
  opacity:1;
}
.kg .b-item h3 {
  font-family:var(--kg-kop);
  font-size:18px !important;
  color:var(--kg-grijs);
  margin-bottom:0;
  font-weight:700 !important;
  transition:.2s;
}
.kg .b-item:hover h3 {
  color:var(--kg-groen-donker);
}
.kg .b-item.on h3 {
  color:var(--kg-groen-donker);
}
.kg .b-item p {
  color:var(--kg-grijs);
  font-size:15.5px;
  max-width:48ch;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:.3s;
  margin-top:0;
}
.kg .b-item.on p {
  max-height:140px;
  opacity:1;
  margin-top:8px;
}
.kg .belofte .b-cta {
  margin-top:26px;
}
.kg .belofte-band {
  position:relative;
  color:#fff;
  background:linear-gradient(160deg,#0d1f12,#122a18);
  isolation:isolate;
  padding:clamp(88px,11vw,132px) 0;
}
.kg .belofte-band::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(21,23,15,.88),rgba(21,23,15,.42)),url('/wp-content/uploads/2026/05/Klaassen-Bouwen-voor-generaties.webp') center/cover no-repeat;
}
.kg .belofte-band .eyebrow.light {
  color:var(--kg-goud-licht);
}
.kg .belofte-band .eyebrow.light::before {
  background:var(--kg-goud-licht);
}
.kg .belofte-band h2 {
  color:#fff;
  font-weight:800 !important;
  font-size:clamp(28px,4vw,46px) !important;
  max-width:22ch;
  letter-spacing:-.01em;
  margin-bottom:16px;
}
.kg .belofte-band p {
  color:rgba(255,255,255,.9);
  max-width:56ch;
  font-size:17px;
}
.kg .belofte-proof {
  display:flex;
  gap:14px 34px;
  flex-wrap:wrap;
  margin-top:30px;
}
.kg .belofte-proof span {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--kg-kop);
  font-size:13.5px;
  font-weight:700;
  color:rgba(255,255,255,.85);
}
.kg .belofte-proof span::before {
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--kg-goud-licht);
}

@media(max-width:980px) {
  .kg .belofte .media {
    aspect-ratio:16/10;
  }
}
