:root {
  --mako-50: #f6f7f9;
  --mako-100: #edeef1;
  --mako-200: #d7dae0;
  --mako-300: #b3bac6;
  --mako-400: #8a94a6;
  --mako-500: #6b778c;
  --mako-600: #565f73;
  --mako-700: #464d5e;
  --mako-800: #3e4451;
  --mako-900: #363a44;
  --mako-950: #24262d;

  --bg-primary: var(--mako-950);
  --bg-secondary: var(--mako-900);
  --text-primary: var(--mako-50);
  --inactive: var(--mako-700);
  --accent: var(--mako-500);
}

/* === Unified Footer Styles === */
.site-footer,
footer {
  background: var(--bg-secondary);
  color: var(--inactive);
  padding: 2rem 0 1rem 0;
  margin-top: 3rem;
  font-size: 1rem;
  border-top: 1px solid var(--inactive);
  flex-shrink: 0;
}

.site-footer,
footer.site-footer {
  margin: 2.5rem 0 0 0 !important;
  border-radius: 0 0 var(--content-radius, 22px) var(--content-radius, 22px);
  background: var(--bg-secondary);
  padding: 2.5rem 2rem 1.5rem 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.footer-logo img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  background-color: var(--inactive);
  color: var(--accent); /* nun grau */
}

.footer-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
}

.footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0.9);
  transition: filter 0.2s;
}

.footer-social img:hover {
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--inactive);
}

/* Kurze Seiten: sicherstellen dass kein Zwischenraum unterhalb erscheint */
html, body {
  height: 100%;
}