/* ============================================================
   GLOBALER SITE-FOOTER — EINE Quelle fuer ALLE Seiten (analog Nav):
   Markup in sections/footer.html (inlined per <!-- section:footer -->),
   Verhalten: keins (reine Links). Portiert 1:1 aus dem frueheren
   Tailwind-Footer der index (2026-08-19, User: "wie den nav einen
   einheitlichen footer fuer alle seiten"). 404 bleibt bewusst ohne.
   Touch-Konvention: hover nur @media(hover:hover), Hitboxen unsichtbar.
   ============================================================ */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 48px 0 28px;            /* mobil kompakter (Footer-Feedback 19.08.);
                                      unten bewusst knapper als oben — nach der
                                      12px-Meta-Zeile wirkte gleiches Padding
                                      wie ein leeres Band (Feedback 19.08.) */
  background: #080604;
  /* Basistypo hier verankert: die Seiten haben unterschiedliche body-Fonts
     (16/1.5 vs 17/1.6) — ohne das erben die li-Zeilenboxen und der Footer
     waere je Seite verschieden hoch */
  font-family: 'Roboto', sans-serif; font-size: 14px; line-height: 1.5;
}
@media (min-width: 768px) { .site-footer { padding: 80px 0 40px; } }

.site-footer__inner { max-width: 80rem; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .site-footer__inner { padding: 0 40px; } }

/* ---- Oben: Brand + Linkspalten ---- */
.site-footer__top {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 48px; margin-bottom: 48px;
}
@media (min-width: 768px) { .site-footer__top { margin-bottom: 64px; } }
/* Desktop-Zeile (Brand links, Spalten rechts) erst ab 1100px — darunter passen
   Brand (320px) + drei Spalten (~595px) + Gaps nicht nebeneinander und Kontakt
   brach in eine zweite Zeile um (gemessen: bis einschl. ~1040px). */
@media (min-width: 1100px) {
  .site-footer__top { flex-direction: row; justify-content: space-between; }
}
/* Tablet (768–1099): Brand-Block oben, die drei Linkspalten in EINER Zeile
   ueber die volle Breite (User 19.08.: "mach den footer auf dem tablet bitte
   einzeilig"). */
@media (min-width: 768px) and (max-width: 1099px) {
  .site-footer__cols { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 40px; }
}
.site-footer__brand { max-width: 20rem; }
.site-footer__brand img { height: 56px; width: auto; display: block; margin-bottom: 16px; }
.site-footer__brand p {
  font-family: 'Roboto', sans-serif; font-size: 14px; line-height: 1.625;
  color: rgba(168, 152, 128, .5); margin: 0;
}

.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
@media (min-width: 768px) { .site-footer__cols { gap: 80px; } }
.site-footer__label {
  font-family: 'Archivo Black', sans-serif; font-weight: 700;
  font-size: 13px; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245, 237, 224, .4); margin: 0 0 20px;
}
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__list a, .site-footer__list span {
  font-family: 'Roboto', sans-serif; font-size: 14px; line-height: 1.5;
  color: rgba(168, 152, 128, .7); text-decoration: none;
}
.site-footer__list a {
  display: inline-block; padding: 6px 0; margin: -6px 0;   /* 26px-Hitbox, Rhythmus bleibt */
  transition: color .2s ease;
}
@media (hover: hover) { .site-footer__list a:hover { color: #F5EDE0; } }
.site-footer__list a:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; border-radius: 2px; }

/* ---- Divider ---- */
.site-footer__divider {
  height: 1px; margin-bottom: 32px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, .15) 50%, transparent);
}

/* ---- Unten: Meta + Socials ---- */
.site-footer__bottom { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.site-footer__meta { display: flex; flex-direction: column; gap: 4px; }
.site-footer__meta p {
  font-family: 'Roboto', sans-serif; font-size: 12px; line-height: 1.5;
  color: rgba(168, 152, 128, .3); margin: 0;
}
.site-footer__meta a.credit {
  color: #7C3AED; font-weight: 500; text-decoration: none;
  position: relative;
}
.site-footer__meta a.credit::after { content: ''; position: absolute; inset: -10px -4px; }
@media (hover: hover) { .site-footer__meta a.credit:hover { opacity: .8; } }
.site-footer__meta a.credit:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; }

.site-footer__social { display: flex; align-items: center; gap: 16px; }
.site-footer__social a {
  display: inline-flex; color: rgba(168, 152, 128, .3);
  padding: 12px; margin: -12px;                             /* 44px-Hitbox */
  transition: color .2s ease;
}
@media (hover: hover) { .site-footer__social a:hover { color: #FFD700; } }
.site-footer__social a:active { color: #FFD700; }
.site-footer__social a:focus-visible { outline: 2px solid #FFD700; outline-offset: 3px; border-radius: 4px; }
