.footer {
  background-color: #ffffff;
  backdrop-filter: blur(5px);
  box-shadow: 0 -2px 10px #ffffff;;
  padding: 3rem 5rem;
  position: relative;
  z-index: 999;
  margin-top: 5rem;
}

.footer-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav,
.footer-social,
.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-legal a {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  transition: 0.3s;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--text-color);
  text-decoration: underline;
  transform: translateY(-2px);
}

.footer-social a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 0.2rem solid var(--text-color);
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-color);
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}

.footer-social a:hover {
  color: var(--bg-color);
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--text-color);
  z-index: -1;
  transition: 0.5s;
}

.footer-social a:hover::before {
  width: 100%;
}

@media (max-width: 768px) {

  .footer {
    padding: 3rem 2rem;
  }

  .footer-content-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* NAV */
  .footer-nav {
    gap: 1.6rem;
  }

  .footer-nav a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  /* SOCIAL – ruhiger & kleiner */
  .footer-social {
    gap: 2.4rem;
  }

  .footer-social a {
    width: auto;
    height: auto;
    border: none;
    font-size: 2.2rem;
    color: rgba(0, 0, 0, 0.5);
  }

  .footer-social a::before {
    display: none;
  }

  .footer-social a:hover {
    color: var(--text-color);
  }

  /* LEGAL */
  .footer-legal {
    gap: 2rem;
  }

  .footer-legal a {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.55);
  }

  .footer-legal a:hover {
    color: var(--text-color);
    text-decoration: none;
    transform: none;
  }
}

@media (max-width: 480px) {

  .footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-nav {
    gap: 1.2rem;
  }

  .footer-nav a {
    font-size: 1.4rem;
  }

  .footer-social {
    gap: 2rem;
  }

  .footer-social a {
    font-size: 2rem;
  }

  .footer-legal a {
    font-size: 1.2rem;
  }
}

