/* /static/module/footer/footer.css */

/* =========================
   Design Tokens (aligned mit Topbar)
   ========================= */
:root {
  --nv-footer-bg: #020308;
  --nv-footer-border: rgba(255, 255, 255, 0.06);
  --nv-footer-text: #f5f5f7;
  --nv-footer-text-soft: #9ba1b0;
  --nv-footer-accent: #007f7f;
  --nv-footer-gold: #f2c14f;
  --nv-footer-font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", -system-ui, sans-serif;
  --nv-footer-max-width: 1320px;
  --nv-footer-transition: 0.2s ease-out;
}

/* Grundlayout */
.nv-footer-wrapper {
  width: 100%;
  background-color: var(--nv-footer-bg);
  border-top: 1px solid var(--nv-footer-border);
  font-family: var(--nv-footer-font);
  color: var(--nv-footer-text-soft);
}

.nv-footer {
  max-width: var(--nv-footer-max-width);
  margin: 0 auto;
  padding: 18px 28px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
}

/* Linke Seite */
.nv-footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nv-footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-footer-text-soft);
}

#nv-footer-year {
  color: var(--nv-footer-gold);
}

/* Rechte Seite: Links + Kontakt */
.nv-footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nv-footer-links,
.nv-footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nv-footer-link {
  font-size: 0.8rem;
  color: var(--nv-footer-text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--nv-footer-transition), transform var(--nv-footer-transition);
}

.nv-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--nv-footer-accent), var(--nv-footer-gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--nv-footer-transition);
  opacity: 0.9;
}

.nv-footer-link:hover {
  color: var(--nv-footer-accent);
  transform: translateY(-1px);
}

.nv-footer-link:hover::after {
  transform: scaleX(1);
}

/* Telefonnummer leicht hervorheben */
.nv-footer-contact a[href^="tel:"] {
  color: var(--nv-footer-gold);
}
.nv-footer-contact a[href^="tel:"]:hover {
  color: var(--nv-footer-accent);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {
  .nv-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 22px;
  }

  .nv-footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nv-footer-links,
  .nv-footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .nv-footer-copy {
    font-size: 0.74rem;
  }

  .nv-footer-link {
    font-size: 0.74rem;
  }
}
