/* ==========================================================
   06 · Footer, grüner Kontakt-Bereich davor, "Nach oben"-Button
   ========================================================== */

/* --- Grüner Kontakt-Bereich vor dem Footer (partials/CtaBand.html) --- */
.cta-band { background: var(--moss); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.cta-band::before { /* dekorative Kreise rechts */
  content: ""; position: absolute; right: -8rem; top: 50%; width: 30rem; height: 30rem; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, .03), 0 0 0 8rem rgba(255, 255, 255, .025);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: var(--step-3); margin-bottom: .3em; max-width: 30rem; }
.cta-band__text { color: rgba(255, 255, 255, .85); max-width: 34rem; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Footer --- */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .78); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand p { max-width: 22rem; margin-top: 1.25rem; }
.site-footer__title { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-200); margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__address { margin-bottom: .9rem; }
.site-footer__social { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem;
}
.site-footer__legal nav { display: flex; gap: 1.5rem; }

@media (max-width: 900px) {
  .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; }
}

/* --- "Nach oben"-Button (über dem Cookie-Button) --- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 4.5rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--moss); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--moss); color: #fff; }
