/* assets/css/components/footer.css */

.section.footer {
  color: var(--text);
  background: #0D1117;
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding-bottom: 1.75rem;
}

/* Sponsor Strip */

.footer-sponsors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-sponsors-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-sponsor-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
  white-space: nowrap;
}

.footer-sponsor-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 200ms ease, border-color 200ms ease, background 200ms ease;
  flex-shrink: 0;
}

.footer-sponsor-logo:hover {
  opacity: 1;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-sponsor-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

/* Brand-Bereich */

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  line-height: 1.6;
}

/* Spalten-Layout */

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 3.5rem;
}

.footer-column {
  min-width: 140px;
  flex: 1 1 0;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.85rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li + li {
  margin-top: 0.45rem;
}

.footer-column a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 150ms ease, color 150ms ease, transform 150ms ease;
}

.footer-column a:hover {
  opacity: 1;
  color: #38bdf8; /* Akzentfarbe */
  transform: translateY(-1px);
}

/* CTA-Spalte */

.footer .cta {
  display: inline-flex;
}

/* Bottom-Line */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  white-space: nowrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal a,
.footer-cookie-btn {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms ease;
}

.footer-legal a:hover,
.footer-cookie-btn:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-brand {
    flex: 1.2;
  }

  .footer-columns {
    flex: 1.8;
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .section.footer {
    padding: 2.5rem 1.2rem 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-legal {
    gap: 0.85rem;
  }
}
