/* Footer Container */
.footer-container {
  background-color: var(--color-footer-background);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--color-border-primary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Footer Text */
.footer-text {
  color: var(--color-footer-text);
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-normal);
}

.footer-text.made-in-germany {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--color-germany-text-default) 0%, var(--color-germany-text-secondary) 50%, var(--color-germany-text-default) 100%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 0 transparent;
  letter-spacing: 0.5px;
}

.footer-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-text.made-in-germany:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-germany-gold-primary) 0%, var(--color-germany-gold-secondary) 25%, var(--color-germany-gold-primary) 50%, var(--color-germany-gold-secondary) 75%, var(--color-germany-gold-primary) 100%);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px var(--color-germany-shadow));
}

.footer-text.made-in-germany:hover .footer-flag {
  transform: scale(1.1);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 4px;
}

.footer-link:hover {
  color: var(--color-text-primary);
  background-color: var(--color-background-secondary);
}

/* Footer Divider */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border-primary);
  margin: 1rem 0;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-text {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    padding: 1.5rem 0;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-text.made-in-germany {
    font-size: var(--font-size-base);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 1rem 0;
  }

  .footer-content {
    padding: 0 0.75rem;
  }

  .footer-text {
    font-size: var(--font-size-sm);
  }

  .footer-text.made-in-germany {
    font-size: var(--font-size-sm);
  }

  .footer-link {
    font-size: var(--font-size-xs);
  }

  .footer-bottom-text {
    font-size: var(--font-size-xs);
  }
}
