/* Hongr v34 — gerichte afwerking van contentpagina's en footer. */

.content-page .simple-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-height: 78px;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(250, 247, 241, .97);
  border-bottom: 1px solid #dedbd5;
  box-shadow: 0 8px 28px rgba(23, 26, 27, .05);
  backdrop-filter: blur(12px);
}

.content-page .simple-header .brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
}

.content-page .simple-header .brand > img {
  display: block;
  width: 120px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.content-page .simple-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 32px);
  min-width: 0;
}

.content-page .simple-header nav a {
  position: relative;
  color: #5d6461;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.content-page .simple-header nav a:hover,
.content-page .simple-header nav a.active { color: #171a1b; }

.content-page .simple-header nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: #f0483c;
}

/* De tabel staat op wit en krijgt daarom altijd expliciet donkere inhoud. */
.comparison-table .comparison-row:not(.head) {
  color: #252a28;
  background: #fff;
}

.comparison-table .comparison-row:not(.head) > span {
  color: #454c49;
  font-weight: 600;
}

.comparison-table .comparison-row:not(.head) > span:first-child {
  color: #171a1b;
  font-weight: 800;
}

.comparison-table .comparison-row.head > * { color: #fff; }
.comparison-table .comparison-row > * { min-width: 0; }

/* De missiekaarten horen onder de vergelijking te staan, niet er overheen. */
.about-costs + .about-page .mission-grid {
  margin: 64px auto 0;
}

.about-page .mission-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

.about-page .mission-grid strong {
  font: 800 12px/1.3 "DM Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-page .mission-grid h2 {
  margin: 18px 0 10px;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.08;
}

.about-page .mission-grid p { margin: auto 0 0; }

/* Oude footerregels waren te algemeen (footer div) en trokken alles uit model. */
.site-footer-pro {
  display: block !important;
  width: 100%;
  margin-top: 72px;
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 24px;
  border-top: 1px solid #2d3131;
}

.site-footer-pro .footer-main {
  display: grid !important;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(145px, 1fr));
  align-items: start;
  gap: clamp(30px, 4vw, 58px);
}

.site-footer-pro .footer-main > div { flex: none; }

.site-footer-pro .footer-intro {
  display: block !important;
  min-width: 0;
}

.site-footer-pro .footer-intro .brand {
  display: inline-flex !important;
  min-width: 0;
}

.site-footer-pro .footer-intro .brand > img {
  width: 132px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.site-footer-pro .footer-intro p {
  max-width: 300px;
  margin: 18px 0;
  line-height: 1.65;
}

.site-footer-pro .footer-intro > span {
  display: inline-flex;
  width: auto;
  min-height: 34px;
  align-items: center;
  align-self: auto;
  border-color: #3a403d;
  color: #d9ddda;
}

.site-footer-pro .footer-column {
  display: flex !important;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}

.site-footer-pro .footer-column strong { color: #fff; }

.site-footer-pro .footer-bottom {
  display: flex !important;
  flex: none;
  align-items: center;
  gap: 20px;
}

@media (max-width: 850px) {
  .site-footer-pro .footer-main { grid-template-columns: 1fr 1fr; }
  .about-page .mission-grid article { min-height: 200px; }
}

@media (max-width: 640px) {
  .content-page .simple-header {
    position: relative;
    height: auto;
    min-height: 72px;
    padding: 13px 18px 14px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .content-page .simple-header .brand > img { width: 104px; }

  .content-page .simple-header nav {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    padding: 4px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .content-page .simple-header nav::-webkit-scrollbar { display: none; }
  .content-page .simple-header nav a { font-size: 13px; }
  .content-page .simple-header nav a.active::after { bottom: -7px; }

  .comparison-table { overflow-x: auto; }
  .comparison-table .comparison-row {
    min-width: 0;
    grid-template-columns: minmax(130px, 1.25fr) minmax(100px, 1fr);
  }

  .about-costs + .about-page .mission-grid { margin-top: 38px; }
  .about-page .mission-grid article { min-height: 0; }

  .site-footer-pro { padding-top: 44px; }
  .site-footer-pro .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .site-footer-pro .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
