
/* site-footer-compact.css (v2: etwas hoeher, Links oben, Copyright unten, responsive Wrap) */

:root{
  --footer-pad-y: 120px;   /* etwas hoeher als vorher */
  --footer-pad-x: 24px;
  --footer-gap:   12px;
}

footer.site-footer{
  padding: var(--footer-pad-y) var(--footer-pad-x) !important;
  display: flex;
  flex-direction: column;
  row-gap: var(--footer-gap);
  min-height: 0 !important;
}

/* Links-/Nav-Bereich ganz oben, mit Wrap */
footer.site-footer nav,
footer.site-footer .site-footer__nav,
footer.site-footer .footer-links,
footer.site-footer .menu{
  order: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 10px;
  align-items: flex-start;
  justify-content: center;   /* zentriert in der Breite */
  margin: 0 !important;
  padding: 0 !important;
}

/* Copyright immer am unteren Rand */
footer.site-footer .site-footer__copy,
footer.site-footer .copyright{
  order: 2;
  margin-top: auto !important;
  padding-top: 8px;
  text-align: center;
}

/* Margins im Footer straffen */
footer.site-footer p,
footer.site-footer ul,
footer.site-footer li{
  margin: 0.25rem 0;
}

/* Mobile Feinschliff */
@media (max-width: 640px){
  :root{ --footer-pad-x: 16px; }
  footer.site-footer nav,
  footer.site-footer .site-footer__nav,
  footer.site-footer .footer-links,
  footer.site-footer .menu{
    column-gap: 14px;
    row-gap: 8px;
    justify-content: center;
  }
}
