/* =========================================

das ist meiner footer.css

   FOOTER – GRUNDLAYOUT (fixed bottom)
   ========================================= */

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box; /* wichtig */
  height: var(--footer-height); /* kommt aus index.css */
  padding: 8px 12px;

  border-top: 2px solid var(--accent-2);
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.35);
  font-size: 0.8rem;

  z-index: 900; /* unter Header (1001), über Content */
}

/* Dark / Light Mode Anbindung */
body.dark .site-footer {
  background-color: #222;
  color: var(--text-accent);
}

body.light .site-footer {
  background-color: #fffaf0;
  color: #333;
}

/* =========================================
   FOOTER-INNERES LAYOUT
   ========================================= */

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* =========================================
   FOOTER-LINKS
   ========================================= */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Kleine „Badge“-Links im CI-Stil, angelehnt an Header-Navi */
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 155, 0, 0.7);

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  text-decoration: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}

/* Dark-Mode-Look */
body.dark .footer-links a {
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-accent);
}

/* Light-Mode-Look */
body.light .footer-links a {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.footer-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  text-decoration: none; /* globales underline überschreiben */
}

/* Hover-Farben je Modus */
body.dark .footer-links a:hover {
  background: rgba(255, 184, 69, 0.25);
  color: #ffffff;
}

body.light .footer-links a:hover {
  background: rgba(255, 184, 69, 0.9);
  color: #111;
}

/* =========================================
   COPYRIGHT / META
   ========================================= */

.footer-copy {
  opacity: 0.8;
  text-align: right;
  font-size: 0.75rem;
}

body.dark .footer-copy {
  color: var(--text-accent);
}

body.light .footer-copy {
  color: #444;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-copy {
    text-align: left;
  }
}
