.footer.site-footer {
  background: var(--ink);
  padding: 96px 40px 32px;
}

.site-footer .site-footer__inner {
  max-width: 1200px;
  margin-inline: auto;
}
.site-footer .site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas: 'brand brand brand brand menu menu contact contact contact company company company';
  gap: 24px;
  align-items: start;
}

.site-footer .site-footer__brand {
  grid-area: brand;
}
.site-footer .site-footer__menu {
  grid-area: menu;
}
.site-footer .site-footer__contact {
  grid-area: contact;
}
.site-footer .site-footer__company {
  grid-area: company;
}
.site-footer .site-footer__logo {
  display: block;
  width: auto;
  height: 56px;
}

.site-footer .site-footer__label {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer .site-footer__links {
  display: grid;
  gap: 12px;
}
.site-footer .site-footer__contact-icon,
.site-footer .site-footer__contact-arrow,
.site-footer .site-footer__kvk-mobile {
  display: none;
}
.site-footer a {
  color: var(--on-dark-soft);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-footer address {
  color: var(--on-dark-soft);
  font: normal 15px/1.7 var(--f-body);
}
.site-footer .site-footer__tagline {
  margin: 24px 0 0;
  color: var(--on-dark);
  font: 900 28px/1 var(--f-display);
  text-transform: uppercase;
}
.site-footer .site-footer__subline {
  margin: 10px 0 0;
  color: var(--on-dark-soft);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer .site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--on-dark) 12%, transparent);
}
.site-footer .site-footer__bottom p,
.site-footer .site-footer__bottom a {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: 13px;
  line-height: 1.5;
}
.site-footer .site-footer__bottom a:is(:hover, :focus-visible) {
  color: var(--on-dark);
}
.site-footer .site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
}

@media (768px <= width < 1024px) {
  body .footer.site-footer {
    padding: 80px 32px 28px;
  }
  .site-footer .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 'brand contact' 'menu company';
    row-gap: 48px;
  }
}

@media (width < 768px) {
  body .footer.site-footer {
    padding: 56px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .site-footer .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'brand' 'contact' 'menu' 'company';
    gap: 32px;
  }
  .site-footer .site-footer__logo {
    height: 52px;
  }
  .site-footer .site-footer__tagline {
    margin-top: 16px;
    font-size: 26px;
  }
  .site-footer .site-footer__subline {
    margin-top: 6px;
  }
  .site-footer .site-footer__label {
    margin-bottom: 12px;
  }

  .site-footer .site-footer__contact .site-footer__links {
    gap: 0;
  }
  .site-footer .site-footer__contact a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    border-top: 1px solid color-mix(in srgb, var(--on-dark) 10%, transparent);
    color: var(--on-dark);
  }
  .site-footer .site-footer__contact a:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 10%, transparent);
  }
  .site-footer .site-footer__contact-label {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .site-footer .site-footer__contact-icon,
  .site-footer .site-footer__contact-arrow {
    display: block;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
  }
  .site-footer .site-footer__contact-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
  }
  .site-footer .site-footer__contact-arrow {
    width: 16px;
    height: 16px;
    color: var(--on-dark-soft);
  }
  .site-footer .site-footer__contact [data-company='email'] {
    white-space: nowrap;
  }

  .site-footer .site-footer__menu .site-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .site-footer .site-footer__menu a {
    display: flex;
    align-items: center;
    height: 40px;
    color: var(--on-dark);
  }
  .site-footer address {
    font-size: 14px;
    line-height: 1.6;
  }
  .site-footer .site-footer__kvk-mobile {
    display: inline;
  }
  .site-footer .site-footer__kvk-wide {
    display: none;
  }
  .site-footer .site-footer__bottom {
    margin-top: 32px;
    padding-top: 16px;
  }
  .site-footer .site-footer__legal a {
    display: flex;
    align-items: center;
    min-height: 40px;
  }
}
