/* Footer — waarden uit #footer van het origineel. */
.footer { padding-block: 2.5rem; }
@media (min-width: 64rem) { .footer { padding-block: 3rem; } }
@media (min-width: 80rem) { .footer { padding-block: 4rem; } }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}
@media (min-width: 48rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Contact and "Direct naar" equally wide. 13rem fits the e-mail address with its icon (~200px; at
   160px it ran into the next column).
   64–80rem: too narrow for two cards side by side, so they stack in the third column and the two
   link columns span both rows.
   From 80rem: 2 × 250px (the same total as the original 300px + 200px), the cards side by side. */
@media (min-width: 64rem) and (max-width: 79.999rem) {
  .footer__grid { grid-template-columns: 13rem 13rem 1fr; }
  .footer__col { grid-row: span 2; }
  .footer__card { grid-column: 3; }
}
@media (min-width: 80rem) { .footer__grid { grid-template-columns: 250px 250px 1fr 1fr; } }

/* demo- en bestelkaart: in de DOM eerst, op desktop achteraan */
.footer__card {
  border-radius: var(--radius-3xl);
  background-color: var(--color-accent);
  padding: 1.875rem;
}
@media (min-width: 64rem) { .footer__card { order: 9999; } }
.footer__card-text { margin-block: 1rem; }

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.4286;
}
.footer__contact-link {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}
/* telefoonnummer groter vanaf xl (origineel: xl:lead) */
@media (min-width: 80rem) { .footer__contact-link--phone { font-size: 20px; line-height: 150%; } }
@media (min-width: 96rem) { .footer__contact-link--phone { font-size: 22px; } }
@media (hover: hover) { .footer__contact-link:hover { text-decoration-line: underline; } }

.footer__contact-icon { display: flex; flex-shrink: 0; width: 1.25rem; }
.footer__icon { width: 1.25rem; height: 1.25rem; color: color-mix(in oklab, var(--color-primary) 20%, transparent); }
.footer__address { display: flex; align-items: flex-start; column-gap: 0.75rem; margin-top: 0.25rem; }
.footer__address address { font-weight: 400; font-style: normal; }

@media (min-width: 64rem) { .footer__logo { max-width: 150px; } }
@media (min-width: 80rem) { .footer__logo { max-width: 200px; } }

.footer__nav { display: flex; flex-direction: column; row-gap: 0.5rem; padding: 0; list-style-type: none; }
.footer__nav a {
  border-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease-in-out);
}
@media (hover: hover) { .footer__nav a:hover { border-color: var(--color-primary); } }
.footer__nav a[aria-current="page"] { border-color: var(--color-primary); }

/* Required company details, below the logo in the Contact column */
.footer__legal { margin: 2rem 0 0; font-size: 0.75rem; line-height: 1.5; opacity: 0.75; }
