/* FOOTER BEREICH */
/******************/

/* =========================
   Wrapper / Global
   ========================= */
.bt-footer {
  margin-top: 60px;
}

/* =========================
   MAIN Footer (dark)
   ========================= */
.bt-footer-main {
  position: relative;
  padding: 90px 0 60px;
  background: #111;
  color: #fff;
  overflow: hidden;
}

/* =========================
   Brand / Logo
   ========================= */
.bt-footer-main__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.bt-footer-main__brand img {
  max-height: 84px;
  width: auto;
  height: auto;
  display: block;
  opacity: 0.95;
}

@media (max-width: 520px) {
  .bt-footer-main__brand img {
    max-height: 44px;
  }
}

.bt-footer-main__brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== Footer Logo: von links nach rechts reinfahren ===== */

/* Footer Logo Animation – FINAL & überschreibfest */
.bt-footer-main__brand {
  opacity: 1; /* Default sichtbar */
  transform: none;
}

.bt-footer-main__brand.bt-inview {
  animation: btFooterLogoIn 4.75s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

@keyframes btFooterLogoIn {
  0% {
    opacity: 0;
    transform: translateX(-420px);
  }
  65% {
    opacity: 1;
    transform: translateX(130px); /* Overshoot */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* langsam zurück */
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-footer-main__brand.bt-inview {
    animation: none;
  }
}

/* =========================
   Social Icons
   ========================= */
.bt-footer-main__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.bt-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.bt-social__icon svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.bt-social:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.bt-social:hover .bt-social__icon svg {
  stroke: #e42c8c;
}

.bt-social:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 44, 140, 0.45);
}

/* =========================
   Statement
   ========================= */
.bt-footer-main__statement {
  max-width: 1100px; /* angepasst für 1500px Layout */
  margin: 0 auto 50px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* =========================
   Contact Bar
   ========================= */
.bt-footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  margin: 10px 0 70px;
}

.bt-footer-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bt-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 auto;
}

.bt-contact-item__icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bt-contact-item__label {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 4px;
}

.bt-contact-item__value {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.92;
}

.bt-footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.bt-footer-contact a:hover {
  color: #fff;
}

/* Contact Responsive */
@media (max-width: 900px) {
  .bt-footer-contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .bt-footer-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Footer Columns (Links)
   ========================= */

.bt-footer-main__cols {
  display: flex;
  justify-content: space-between;
  gap: 60px; /* kontrollierter Abstand */
  max-width: 1290px;
  margin: 0 auto;
}

/*2 Spalten, kontrolliert*/
@media (max-width: 900px) {
  .bt-footer-main__cols {
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
  }

  .bt-footer-col {
    width: calc(50% - 48px);
  }
}

/*1 Spalte*/

@media (max-width: 520px) {
  .bt-footer-col {
    width: 100%;
    max-width: 360px; /* etwas größer, weil viel Content */
  }
}

@media (max-width: 900px) {
  .bt-footer-main__cols {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .bt-footer-col {
    width: calc(50% - 40px);
    text-align: center;
  }
}

.bt-footer-col__title {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  opacity: 0.8;
  margin-bottom: 14px;
}

.bt-footer-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bt-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.bt-footer a:hover {
  color: #fff;
}

/* Columns Responsive */
@media (max-width: 900px) {
  .bt-footer-main {
    padding: 70px 0 40px;
  }

  .bt-footer-main__cols {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
}

/* =========================
   Sub Footer
   ========================= */
.bt-footer-sub {
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.bt-footer-sub__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bt-footer-sub__right {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

/* Sub Footer Responsive */
@media (max-width: 900px) {
  .bt-footer-sub__inner {
    flex-direction: column;
    text-align: center;
  }

  .bt-footer-sub__right {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* ==========================================================
   PRE-FOOTER CONTACT SECTION
   Zweck:
   - Globaler Kontaktbereich über dem Footer
   - Saubere Content-Breite + ruhiges Spacing
   Owner: bt-core
   ========================================================== */

/* ==========================================================
   PRE-FOOTER CONTACT SECTION
   ========================================================== */

.bt-prefooter-contact {
  padding: 60px 20px;
  background: #f8f8f8;
}

.bt-prefooter-contact__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bt-prefooter-contact__title {
  margin: 0 0 30px;
  font-size: 28px;
  font-weight: 600;
}

.bt-prefooter-contact__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

/* Vertikale Trennlinie (nur Desktop, kein Layout-Risiko) */
.bt-prefooter-contact__info {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  padding-left: 40px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}
/* Sticky rechter Block (nur Desktop) */
@media (min-width: 831px) {
  .bt-prefooter-contact__info {
    position: sticky;
    top: 160px; /* Abstand zum Sticky Header; bei Bedarf feinjustieren */
    align-self: start;
  }
}

.bt-prefooter-contact__form {
  max-width: 100%;
}

.bt-prefooter-contact__info p {
  margin: 0 0 14px;
}

.bt-prefooter-contact__info strong {
  font-weight: 800;
  color: #111;
}

button.wpforms-submit {
  width: 100% !important;
}

/* Mobile: automatisch stapeln */
@media (max-width: 830px) {
  .bt-prefooter-contact {
    padding: 40px 16px;
  }

  .bt-prefooter-contact__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bt-prefooter-contact__title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .bt-prefooter-contact__info {
    border-left: 0;
    padding-left: 0;
  }
}
