/* === Footer === */
.footer {
  background-color: var(--farbe3);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}
.footer {
  width: 100%;
  flex-shrink: 0;
}

.footer p {
  color: var(--farbe4);
}

.footer-links {
  margin-top: 1rem;
}

/* Footer-Links mit Unterstrich-Effekt */
.footer-links a {
  color: var(--farbe1);
  margin: 0 1rem;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--farbe1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Hover-Effekt dynamisch von links oder rechts */
.footer-links a.hover-left::after {
  transform-origin: left;
}
.footer-links a.hover-right::after {
  transform-origin: right;
}
.footer-links a:hover::after {
  transform: scaleX(1);
}
