/*
 * Emma, geteilter Marketing-Footer für alle öffentlichen Seiten.
 *
 * Eigene .site-footer__*-Klassen, damit aelterer Inline-Footer-CSS
 * (.foot, .foot-logo, .foot-links, .foot-note) nicht kollidiert.
 *
 * Wird gemeinsam mit page-transitions.css über <link rel="stylesheet">
 * im <head> jeder Marketing-Seite geladen.
 */

/*
 * Damit unter dem Footer kein heller HTML-Default-Streifen durchscheint,
 * setzen wir das Wurzel-Element auf denselben Cremeton wie der Body und
 * lassen den Body mindestens den Viewport ausfuellen.
 */
html {
  background: #FFFFFF;
}
body {
  min-height: 100vh;
}

.site-footer {
  margin-top: 0;
  padding: 56px 0 24px;
  border-top: 1px solid var(--line, rgba(20, 17, 14, 0.10));
  color: var(--ink-soft, #4F4A42);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(140px, 1fr));
  gap: 56px;
  align-items: start;
}

/* Brand block (linke Spalte) */
.site-footer__brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-bottom: 18px;
}
.site-footer__brand-logo img {
  display: block;
  height: 44px;
  width: auto;
  user-select: none;
}
.site-footer__brand-tagline {
  margin: 0 0 18px;
  max-width: 320px;
  color: var(--ink-soft, #4F4A42);
  font-size: 14px;
  line-height: 1.55;
}
.site-footer__brand-meta {
  margin: 0;
  color: var(--ink-mute, #8A847A);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Link-Spalten (rechte Seite) */
.site-footer__col h4 {
  margin: 0 0 14px;
  font-family: var(--serif, ui-serif, "Georgia", serif);
  font-style: italic;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sage, #2C5240);
  letter-spacing: 0.02em;
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-footer__col a {
  color: var(--ink-soft, #4F4A42);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}
.site-footer__col a:hover {
  color: var(--ink, #14110E);
}

/* Bottom bar */
.site-footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line, rgba(20, 17, 14, 0.10));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-mute, #8A847A);
}
.site-footer__bottom-left,
.site-footer__bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__bottom-sep {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--ink-mute, #8A847A);
  opacity: 0.6;
}

@media (max-width: 880px) {
  .site-footer { padding: 44px 0 22px; }
  .site-footer__inner { padding: 0 22px; }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer__brand-logo img { height: 38px; }
  .site-footer__brand-tagline { max-width: none; }
  .site-footer__col h4 { margin-bottom: 10px; }
  .site-footer__col ul { gap: 7px; }
  .site-footer__bottom {
    margin-top: 28px;
    padding-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }
}
