/* MunichTech EXPO — global site footer (all routes) */

footer.mte-site-footer,
footer.mte-injected-footer {
  background: linear-gradient(180deg, var(--mte-bg-0) 0%, #010510 100%);
  border-top: 1px solid rgba(0, 200, 255, 0.15);
}

footer.mte-footer-enhanced .mte-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  footer.mte-footer-enhanced .mte-footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

footer.mte-footer-enhanced .mte-footer-links h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

footer.mte-footer-enhanced .mte-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.mte-footer-enhanced .mte-footer-links a {
  color: var(--mte-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2;
  transition: color 0.35s;
}

footer.mte-footer-enhanced .mte-footer-links a:hover,
footer.mte-footer-enhanced .mte-footer-links a:focus-visible {
  color: var(--mte-accent);
  outline: none;
}

footer.mte-footer-enhanced:has(.mte-footer-links) .mte-footer-legacy-cols {
  display: none !important;
}

footer.mte-footer-enhanced:has(.mte-footer-links) .mte-footer-legacy-social {
  display: none !important;
}

footer.mte-site-footer,
footer.mte-injected-footer,
footer#mte-site-footer {
  display: block !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
}

footer.mte-footer-enhanced .mte-footer-social {
  margin-top: 1.5rem;
}

footer.mte-footer-enhanced .mte-footer-social h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

footer.mte-footer-enhanced .mte-footer-social__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer.mte-footer-enhanced .mte-footer-social a {
  color: var(--mte-muted);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--mte-card-border);
  transition: color 0.35s, border-color 0.35s;
}

footer.mte-footer-enhanced .mte-footer-social a:hover,
footer.mte-footer-enhanced .mte-footer-social a:focus-visible {
  color: var(--mte-accent);
  border-color: rgba(0, 200, 255, 0.45);
  outline: none;
}

@media (min-width: 768px) {
  footer.mte-footer-enhanced .mte-footer-links {
    grid-column: span 4;
  }
  footer.mte-footer-enhanced .mte-footer-social {
    grid-column: span 4;
    margin-top: 0;
  }
}

footer.mte-site-footer .mte-footer-legal a,
footer.mte-injected-footer .mte-footer-legal a,
footer.mte-footer-enhanced .mte-footer-legal a {
  color: var(--mte-muted);
  text-decoration: none;
  transition: color 0.35s;
}

footer.mte-site-footer .mte-footer-legal a:hover,
footer.mte-injected-footer .mte-footer-legal a:hover,
footer.mte-footer-enhanced .mte-footer-legal a:hover {
  color: var(--mte-accent);
}
