/* ==========================================================
   06 · Footer (partials/Footer.html)
   ========================================================== */

.site-footer { background: var(--gruen-dunkel); color: #e4e6de; font-size: .9375rem; }
.site-footer > .wrap { padding-block: clamp(3.5rem, 7vw, 4.5rem) 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
.site-footer__logo { display: inline-block; margin-bottom: 1.25rem; }
.site-footer__logo img { height: 110px; width: auto; }
.site-footer__brand p { color: var(--salbei); max-width: 22rem; line-height: 1.65; }
.site-footer__title { font-family: var(--sans); font-size: .8125rem; font-weight: var(--fett); letter-spacing: .14em; text-transform: uppercase; color: var(--weiss); margin: 0 0 1.1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__address { margin-bottom: .9rem; line-height: 1.6; }
.site-footer a { color: #e4e6de; text-decoration: none; }
.site-footer a:hover { color: var(--weiss); text-decoration: underline; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(168, 189, 169, .25);
  font-size: .8125rem; color: var(--salbei);
}
.site-footer__legal nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__legal a { color: var(--salbei); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* nach oben */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gruen); color: var(--weiss); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gruen-dunkel); color: var(--weiss); }
