/* Footer – Grundlayout nach Originalwebseite */

.site-footer {
  min-height: 420px;
  margin-top: 4rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.35fr 1.55fr 1fr;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--purple);
  font-family: 'MohaveVariable', sans-serif;
}

/* Links */

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Adresse und Vereinslogo */

.footer-address {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}

.footer-address address {
  font-size: 18px;
  line-height: 1.35;
  font-style: normal;
}

.footer-address address a {
  font-style: italic;
  font-size: 18px;
}

.footer-logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Footer-Navigation */

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(18px, 3vw, 52px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 18px;
  font-weight: 800;
  font-stretch: condensed;
  white-space: nowrap;
}

/* Rechter Footer-Bereich */

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.back-to-top {
  border: 1px solid currentColor;
  border-radius: 30px;
  padding: 11px 18px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

/* Social Media */

.social-links {
  display: flex;
  gap: 1rem;
  width: 40%;
  margin: 0;
  padding: 0;
}

.social-links a {
  display: block;
  flex: 1;
  min-width: 0;
}

.social-links img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(9%)
          sepia(53%) saturate(1938%) hue-rotate(236deg)
          brightness(85%) contrast(103%);
}

/* Tablet und Desktop */

@media (min-width: 768px) {
  .site-footer {
    padding: 4rem;
  }
}

/* Große Desktop-Bildschirme */

@media (min-width: 1280px) {
  .site-footer {
    padding-left: 8rem;
    padding-right: 8rem;
  }
}

/* Tablet */

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
  }

  .footer-actions {
    align-items: flex-end;
  }
}

/* Smartphone */

@media (max-width: 580px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-links a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
