/* Basis-CSS voor alle paginas: cookie-tab, WhatsApp-knop, compacte cookiebanner op mobiel en koppen op mobiel */

/* ---------- Cookie-tab ---------- */
#open_preferences_center {
  position: fixed; bottom: 0; left: 20px; z-index: 9998;
  font-size: 14px; line-height: 1; padding: 13px 20px 12px;
  border-radius: 10px 10px 0 0;
  background: #fff; color: #222; text-decoration: none;
  box-shadow: 0 -1px 6px rgba(0,0,0,.18);
}
#open_preferences_center:hover { color: #000; background: #f4f4f4; }

/* ---------- WhatsApp-knop boven de scroll-naar-boven knop ---------- */
.chatwith { bottom: 76px !important; }

/* ---------- Compacte cookiebanner op mobiel ---------- */
@media (max-width: 767px) {
  #termsfeed-com---nb.termsfeed-com---nb { left: 0 !important; right: 0 !important; width: 100% !important; bottom: 0 !important; max-width: none !important; border-radius: 10px 10px 0 0 !important; box-shadow: 0 -2px 12px rgba(0,0,0,.22) !important; }
  #termsfeed-com---nb .cc-nb-main-container { padding: 12px 14px !important; width: 100% !important; box-sizing: border-box; }
  #termsfeed-com---nb .cc-nb-title { display: none !important; }
  #termsfeed-com---nb .cc-nb-text { font-size: 12.5px !important; line-height: 1.35 !important; margin: 0 0 8px !important; width: 100% !important; text-align: center; }
  #termsfeed-com---nb .cc-nb-buttons-container { display: flex !important; gap: 6px; width: 100% !important; }
  #termsfeed-com---nb .cc-nb-buttons-container button { flex: 1 1 0; width: auto !important; margin: 0 !important; padding: 9px 4px !important; font-size: 12.5px !important; }
}

/* ---------- Koppen op mobiel ---------- */
@media (max-width: 767px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 32px !important; }
  h1, h2, h3 { line-height: 1.25 !important; }
}

/* ---------- Knop (overal dezelfde) ---------- */
.knop, .knop:link, .knop:visited, .knop:focus, .knop:active {
  display: inline-block; padding: 12px 30px; background: #cdbea9; color: #fff !important;
  font-size: 14px; line-height: 14px; font-weight: 600; text-transform: uppercase; text-decoration: none;
  transition: background .3s, color .3s; outline: none;
}
.knop:hover, .knop:focus-visible { background: #101010; color: #fff !important; }

/* ---------- Ruimte tussen secties (overal gelijk) ---------- */
section.sectie-ruim { padding-top: 60px; padding-bottom: 60px; }
@media (max-width: 767px) { section.sectie-ruim { padding-top: 30px; padding-bottom: 30px; } }

/* ---------- Realisatie-rijen: foto's (3) naast korte tekst, links/rechts afwisselend ---------- */
.realisatie-rij { display: flex; align-items: center; margin-bottom: 70px; }
.realisatie-rij:before, .realisatie-rij:after { display: none; }
.realisatie-rij.omgekeerd .realisatie-tekst { order: -1; }
.realisatie-rij:last-child { margin-bottom: 0; }
.realisatie-tekst { padding-top: 0; }
.realisatie-tekst h2 { margin: 0 0 18px; color: #222; }
.realisatie-tekst p { color: #333; margin: 0 0 14px; }

.fotoblok { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 4 / 3; }
.fotoblok img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.fotoblok img:first-child { grid-row: 1 / span 2; }

@media (max-width: 991px) {
  .realisatie-rij { display: block; margin-bottom: 50px; }
  .realisatie-rij.omgekeerd .realisatie-tekst { order: 0; }
  .realisatie-tekst { padding-top: 24px; text-align: center; }
}
@media (max-width: 767px) {
  .fotoblok { aspect-ratio: auto; grid-template-rows: auto; }
  .fotoblok img:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .fotoblok img:not(:first-child) { aspect-ratio: 1 / 1; }
  .realisatie-rij { margin-bottom: 36px; }
}

/* ---------- Kaarten (drie naast elkaar, gelijke hoogte) op beige achtergrond ---------- */
.kaarten-rij { display: flex; flex-wrap: wrap; }
.kaarten-rij:before, .kaarten-rij:after { display: none; }
.kaart { height: 100%; padding: 32px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.1); display: flex; flex-direction: column; }
.kaart h3 { margin: 0 0 14px; color: #222; }
.kaart .kaart-intro { font-weight: 600; color: #222; }
.kaart p { color: #333; margin: 0 0 12px; }
.kaart p:last-child { margin-bottom: 0; }
.kaart-acties { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 991px) {
  .kaarten-rij > [class*="col-"] { margin-bottom: 24px; }
  .kaarten-rij > [class*="col-"]:last-child { margin-bottom: 0; }
  .kaart { padding: 24px; text-align: center; }
  .kaart-acties { justify-content: center; }
}

/* ---------- Afsluiting met afspraakknop ---------- */
.tekstblok { text-align: center; }
.sec-title-container.tekstblok { padding-bottom: 0; margin-bottom: 0; }
.tekstblok p:last-child { margin-bottom: 0; }
.tekstblok .ce-title-line { margin-bottom: 24px; }
.tekstblok h2 { color: #222; }
.tekstblok p { color: #333; max-width: 640px; margin: 0 auto 28px; }

/* ---------- Fotorij met 3 foto's op gelijke hoogte (liggend en staand gemengd) ---------- */
.foto-rij { display: flex; gap: 10px; margin-bottom: 40px; }
.foto-rij img { display: block; min-width: 0; height: auto; object-fit: cover; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.foto-rij img.foto-l { flex: 1.5 1 0; }
.foto-rij img.foto-p { flex: .67 1 0; }
@media (max-width: 767px) {
  .foto-rij { flex-direction: column; margin-bottom: 24px; }
  .foto-rij img.foto-l, .foto-rij img.foto-p { flex: none; width: 100%; }
}

/* ---------- Afgeronde foto's (zelfde stijl voor alle projectfoto's) ---------- */
img.foto-rond { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }

/* ---------- Tekst op beige achtergrond: donkerder voor beter contrast ---------- */
section.section-light p, section.section-light li, section.section-light a:not(.btn):not(.knop) { color: #3a3a3a; }

/* ---------- Review-kaarten: foto boven, tekst eronder, gelijke hoogte ---------- */
.review-kaart { height: 100%; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.1); overflow: hidden; display: flex; flex-direction: column; }
.review-kaart img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.review-tekst { flex: 1; display: flex; flex-direction: column; padding: 24px 28px 28px; }
.review-tekst h3 { margin: 0 0 12px; color: #222; }
.review-tekst p { color: #333; margin: 0 0 12px; }
.review-tekst .review-naam { margin: auto 0 0; padding-top: 8px; font-weight: 600; color: #222; }
@media (max-width: 991px) { .review-tekst { text-align: center; padding: 20px 20px 24px; } }

/* ---------- Sectie zonder onderruimte (volgt direct op een andere sectie met ruimte) ---------- */
section.sectie-ruim.sectie-kort { padding-bottom: 0; }

/* ---------- Contactpagina: rechterblok en gsm-uitlijning ---------- */
.contactblok .contact-logo { margin: 30px 0; }
.contactblok .contact-logo img { max-width: 100%; height: auto; }
@media (max-width: 991px) {
  .contact-intro, .contactblok { text-align: center; }
  .contact-form-kolom { margin-bottom: 30px; }
  .contactblok .contact-logo { margin: 20px 0; }
  .contactblok .contact-logo img { max-width: 200px; margin: 0 auto; }
}
@media (max-width: 767px) { .contactblok .contact-logo img { max-width: 150px; } }
.contact-form-kolom::after { content: ""; display: block; clear: both; }
