/* ============================= */
/* Footer - 5 kolommen fix       */
/* ============================= */
.footer {
  padding: 6vh clamp(16px, 6vw, 8%) 0; /* was 10% → fluid smaller */
  background: transparent;
  color: inherit;
}

.footer a {
  text-decoration: none !important;
  color: inherit;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); /* altijd 5 naast elkaar */
  gap: 28px 36px; /* iets compacter dan 32/48 */
  align-items: center;
  justify-items: center;
  text-align: left;
  max-width: 1600px;       /* centreer & limiteer extreem brede schermen */
  margin: 0 auto;
  padding-bottom: 3vh;
}

.grid-5 > div { 
  line-height: 1.5;
  word-break: break-word;  /* voorkom uitrekken door lange teksten */
}

.grid-5 h3 {
  margin: 0 0 10px 0;
  font-weight: 600;
  line-height: 1.2;
  font-size: clamp(18px, 1.4vw, 22px); /* iets flexibeler zodat ’t past */
}

.grid-5 a p { margin: 6px 0; }

/* Hover/focus */
.grid-5 a:hover p,
.grid-5 a:focus p {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================= */
/* Responsive                    */
/* ============================= */
@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .grid-5 {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 22px;
  }
  .grid-5 a p { margin: 4px 0; }
}

/* Divider + copyright */
.line {
  border-bottom: 1px solid rgba(128,128,128,0.35);
  width: 100%;
}

.copyright {
  margin: 2vh 0;
  padding: 0 clamp(16px, 6vw, 8%);
  text-align: center;
}
