/* ==========================================================================
   transformis® · Footer-LP Component (Landingpage-Variante)
   --------------------------------------------------------------------------
   Wird von allen Templates genutzt, die get_footer('lp') laden
   (z. B. kampagnen-landingpage.php, startseite-entwurf.php).
   Setzt auf den Grundklassen .tm-footer / .tm-footer__* aus tm-footer.css auf.
   ========================================================================== */

.tm-footer--lp {
  position: relative;
  overflow: hidden;
}

/* ── Deko-Shape unten rechts ── */
.tm-footer-lp__shape {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: clamp(260px, 32vw, 500px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.tm-footer-lp__shape svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Kontaktbereich: 1-spaltig, linksbuendig ── */
.tm-footer--lp__main {
  position: relative;
  z-index: 2;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 20px 48px;
}

/* Kontaktblock: kein Grid, einfach Spalte */
.tm-footer--lp .tm-footer__contact {
  align-items: flex-start;
}

.tm-footer--lp .tm-footer__address {
  text-align: left;
}

.tm-footer--lp .tm-footer__contact .tm-btn {
  align-self: flex-start;
}

.tm-footer--lp .tm-footer__social {
  justify-content: flex-start;
}

/* ── Bottom Bar: linksbuendig ── */
.tm-footer--lp__bottom {
  position: relative;
  z-index: 2;
}

.tm-footer--lp__bottom .tm-footer__bottom-inner {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 20px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.tm-footer--lp__bottom .tm-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}

.tm-footer--lp__bottom .tm-footer__copy {
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .tm-footer--lp .tm-footer__contact {
    align-items: flex-start !important;
  }

  .tm-footer--lp .tm-footer__address {
    text-align: left !important;
  }

  .tm-footer--lp .tm-footer__contact .tm-btn {
    align-self: flex-start !important;
  }

  .tm-footer--lp .tm-footer__social {
    justify-content: flex-start !important;
  }

  .tm-footer--lp__bottom .tm-footer__bottom-inner {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
  }

  .tm-footer--lp__bottom .tm-footer__legal {
    justify-content: flex-start !important;
  }
}

@media (max-width: 600px) {
  .tm-footer-lp__shape {
    width: 160px;
    right: -30px;
    bottom: -40px;
  }

  .tm-footer--lp__bottom .tm-footer__bottom-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .tm-footer--lp__bottom .tm-footer__legal {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start !important;
  }
}
