/* Reset & Box-Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Footer Grundstil */
footer.footer {
  position: relative;
  background: linear-gradient(135deg, #4a360e 0%, #c7822c 50%, #f3d27a 100%);
  color: #3b2f0b; /* Helles Grau */
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

/* Dekorativer Wellenbogen oben */
.footer-wave {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120px;
  background: linear-gradient(135deg, #4a360e 0%, #c7822c 50%, #f3d27a 100%);
  border-radius: 50% / 100%;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  z-index: 0;
}

/* Footer Inhalt Container */
.footer-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 1;
}

/* Logo Bereich */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 2.25rem;
  color: #3b2f0b;
  cursor: default;
}

.footer-logo img {
  height: 56px;
  width: auto;
  border-radius: 0.75rem;
  box-shadow: 0 0 8px rgba(255 255 255 / 0.3);
}

/* Navigation Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-links a {
  color: #3b2f0b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #a5b4fc;
  outline: none;
  text-decoration: underline;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1.8rem;
}

.footer-social a {
  color: #3b2f0b;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover,
.footer-social a:focus {
  color: #a5b4fc;
  transform: scale(1.2);
  outline: none;
}

/* Copyright */
.footer-copy {
  font-size: 0.9rem;
  color: #3b2f0b;
  line-height: 1.4;
}

/* Scroll-to-top Container */
.scroll-to-top {
  text-align: center;
  margin-bottom: 1rem;
}

/* Pfeil-Link Styling */
.scroll-arrow {
  display: inline-block;
  font-size: 2.5rem;
  color: #3b2f0b; /* gleiche Farbe wie Footer-Text */
  cursor: pointer;
  transition: color 0.3s ease;
  animation: pulseArrow 2s infinite;
}

/* Hover- und Fokus-Effekt */
.scroll-arrow:hover,
.scroll-arrow:focus {
  color: #a5b4fc; /* gleiche Hover-Farbe wie Links */
  outline: none;
  animation-play-state: paused; /* Animation beim Hover pausieren */
}

.footer-partner-banners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.partner-banners-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Erlaubt Umbruch bei kleinen Bildschirmen */
  width: 100%;
}

.partner-banners-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-color, white);
  font-weight: 600;
  font-size: 14px;
}

.partner-banners-row a img {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

/* Optional: Textlink als Button */
.partner-link {
  padding: 8px 12px;
  border: 2px solid var(--border-color, #3e434c);
  border-radius: 6px;
  background-color: var(--select-bg, #222);
  transition: background-color 0.3s, color 0.3s;
}

.partner-link:hover {
  background-color: var(--button-bg, #c7822c);
  color: #fff;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .partner-banners-row {
    justify-content: center;
    gap: 12px;
  }
}

/* Pulsierende Animation */
@keyframes pulseArrow {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-8px);
    opacity: 0.7;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 640px) {
  .footer-links {
    gap: 1.5rem;
    font-size: 1rem;
  }
  .footer-social {
    gap: 1.5rem;
    font-size: 1.5rem;
  }
  .footer-logo {
    font-size: 1.75rem;
  }
}
