/* Shared navigation, language switcher, and footer layout. */
html.i18n-loading body {
  visibility: hidden;
}

.site-header .brand {
  /* De transparante ruimte in het beeldbestand maakt het logo optisch topzwaar. */
  transform: translateY(6px);
}

.site-header .brand img {
  width: 170px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin-left: 2px;
  color: #686d77;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.language-switcher button,
.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #858a94;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.language-switcher button:hover,
.language-switcher a:hover {
  color: #f1ede7;
}

.language-switcher button[aria-pressed="true"],
.language-switcher a[aria-current="true"] {
  border-bottom-color: var(--purple);
  color: #f1ede7;
}

@media (min-width: 901px) {
  .site-header .container {
    width: min(calc(100% - 60px), 1340px);
  }
}

.site-footer {
  height: auto;
  min-height: 0;
  padding: 30px 0 18px;
  overflow: visible;
}

.site-footer .container {
  width: min(calc(100% - 48px), 1340px);
}

.footer-grid {
  height: auto;
  grid-template-columns: 1.45fr 0.55fr 0.55fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  mix-blend-mode: normal;
}

.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 14px;
  color: #a8abb2;
  font-size: 0.72rem;
  line-height: 1.5;
}

.footer-company-details strong {
  color: #f4f1ea;
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-grid h3 {
  margin: 2px 0 14px;
  font-size: 0.78rem;
}

.footer-grid ul,
.footer-grid p {
  margin-top: 0;
  margin-bottom: 0;
}

.footer-grid li {
  margin: 0.32rem 0;
}

.footer-grid a,
.footer-grid p {
  font-size: 0.76rem;
  line-height: 1.55;
}

.footer-grid > div:last-child p {
  max-width: 290px;
}

.footer-bottom {
  height: auto;
  margin-top: 22px;
  padding-top: 12px;
  color: #8e929b;
  font-size: 0.7rem;
}

.footer-bottom a {
  color: #a8abb2;
}

@media (max-width: 900px) {
  .site-header .brand {
    transform: translateY(3px);
  }

  .site-header .brand img {
    width: 150px;
    max-height: 58px;
  }

  .site-footer {
    height: auto;
    padding: 28px 0 18px;
    overflow: visible;
  }

  .footer-grid {
    height: auto;
    grid-template-columns: 1.3fr 0.75fr 0.75fr;
    gap: 28px;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: min(100%, 340px);
  }
}

@media (max-width: 580px) {
  .site-header .brand {
    transform: translateY(2px);
  }

  .site-header .brand img {
    width: 138px;
    max-height: 53px;
  }

  .site-footer .container {
    width: calc(100% - 28px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-brand img {
    width: min(100%, 300px);
  }

  .footer-bottom {
    gap: 8px;
    margin-top: 20px;
  }
}
