/* Copyright Elias Bentz - elias@bentz.dev
 Christine Steinmann 2025 */

/* --- Main Footer Styling --- */
.main-footer {
  background-color: var(--color-background-content);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-border-light);
  color: var(--color-text-tertiary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-copyright p {
  margin: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent-primary);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-block;
  color: var(--color-text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 0;
}

.footer-social a:hover {
  color: var(--color-accent-primary);
  transform: scale(1.1);
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-links ul {
    justify-content: center;
    gap: 1rem;
  }

  .footer-social {
    justify-content: center;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .main-footer {
    font-size: 0.85rem;
    padding: 1.5rem 1rem;
  }
  .footer-links ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
