html[lang^="de"] body.tp-de-footer #footer.tp-site-footer {
  width: calc(100% - 24px) !important;
  max-width: 1896px !important;
  box-sizing: border-box !important;
  margin: clamp(3rem, 4.6vw, 5.5rem) auto 20px !important;
  border: 1px solid #b8d491 !important;
  border-radius: 20px !important;
  background-color: #252a38 !important;
  color: #dbe1ea !important;
  overflow: hidden !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.14) !important;
  --tp-home-footer-link: #dbe1ea;
  --tp-home-footer-link-muted: #c4ccda;
  --tp-home-footer-gold: #ffc94d;
  --tp-home-footer-bg: #252a38;
  --tp-home-footer-border: #b8d491;
  --tp-home-footer-inner-x: clamp(1.35rem, 2.6vw, 3rem);
  --tp-home-footer-row-h: 27.1875px;
  --tp-home-footer-row-gap: .93rem;
  --tp-home-footer-polish-gap: 22px;
  --tp-home-footer-polish-row-h: 20px;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer > .container {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(1.45rem, 2.2vw, 2.05rem) var(--tp-home-footer-inner-x) !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer > .container > .row.lead {
  display: none !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px) minmax(0, 1fr);
  align-items: center !important;
  gap: clamp(2rem, 4.2vw, 4.25rem);
  margin: 0 !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-col,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-logo-col,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-col {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-col {
  justify-self: start !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-logo-col {
  justify-self: center !important;
  align-self: start !important;
  align-items: center !important;
  text-align: center !important;
  padding-top: 0 !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-logo-col .navbar-brand {
  transform: translateY(-6px) !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-col {
  justify-self: end !important;
  text-align: right !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-card,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-address {
  font-style: normal !important;
  margin-left: auto !important;
  max-width: 23rem;
  opacity: 1 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--tp-home-footer-polish-gap) !important;
  row-gap: var(--tp-home-footer-polish-gap) !important;
  padding-top: 3px !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-list {
  gap: var(--tp-home-footer-row-gap) !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-copy-col {
  color: var(--tp-home-footer-link-muted) !important;
  margin-top: 1.2rem !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer a,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-copy-col,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-line {
  font-weight: 400 !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer a {
  color: var(--tp-home-footer-link) !important;
  transition: color .2s ease, outline-color .2s ease !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer a:hover,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-list a:hover,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location:hover,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email:hover {
  color: var(--tp-home-footer-gold) !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer a:focus-visible {
  outline: 2px solid var(--tp-home-footer-gold) !important;
  outline-offset: 4px !important;
  border-radius: 4px;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email {
  color: var(--tp-home-footer-link) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: var(--tp-home-footer-polish-gap) !important;
  row-gap: var(--tp-home-footer-polish-gap) !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email {
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-line,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-footer-copyright-right {
  min-height: var(--tp-home-footer-polish-row-h) !important;
  height: var(--tp-home-footer-polish-row-h) !important;
  line-height: var(--tp-home-footer-polish-row-h) !important;
  margin-top: 0 !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title .tp-fa-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title .tp-fa-icon path {
  color: #ffc94d !important;
  fill: currentColor !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title .tp-fa-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email .tp-fa-icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email-icon {
  width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title .tp-fa-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title .tp-fa-icon path,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email-icon .tp-fa-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email-icon .tp-fa-icon path {
  color: inherit !important;
  fill: currentColor !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location:hover .tp-fa-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email:hover .tp-fa-icon,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location:hover .tp-contact-footer-title,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location:hover .tp-contact-footer-line,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email:hover .tp-contact-footer-email-icon {
  color: var(--tp-home-footer-gold) !important;
  fill: currentColor !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location:hover .tp-fa-icon path,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email:hover .tp-fa-icon path {
  fill: currentColor !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 191px !important;
  max-height: 191px !important;
  background: none !important;
  color: var(--tp-home-footer-link, #dbe1ea);
  overflow: hidden !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline svg.terra-footer-logo {
  display: block !important;
  width: auto !important;
  height: 190% !important;
  max-height: none !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  transform: translateY(10px) !important;
  transform-origin: center;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline .visually-hidden {
  display: none !important;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer.tp-site-footer .terra-footer-logo-inline svg.terra-footer-logo path,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer.tp-site-footer .terra-footer-logo path {
  fill: #0a0d14 !important;
  stroke: #ffe199 !important;
  stroke-width: 1.35px !important;
  opacity: 1 !important;
  fill-opacity: 1 !important;
  stroke-opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-footer-copyright-right {
  margin-top: 0 !important;
  color: var(--tp-home-footer-link-muted) !important;
  line-height: var(--tp-home-footer-row-h);
  min-height: var(--tp-home-footer-row-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location .tp-contact-footer-line,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-emails .tp-contact-footer-email {
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-row {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    text-align: center !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-legal-col,
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-logo-col,
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-col {
    justify-self: center !important;
    text-align: center !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-address {
    padding-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-location,
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email,
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-footer-copyright-right {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer a {
    min-height: 44px !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-title,
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-line,
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-contact-footer-email {
    min-height: 44px !important;
    height: auto !important;
    line-height: 1.35 !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .tp-home-footer-logo-col .navbar-brand {
    transform: none !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline {
    height: 148px !important;
    max-height: 148px !important;
  }

  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline svg.terra-footer-logo {
    transform: translateY(7px) !important;
  }
}

/* === Igualar logo con home: tamaño fluid y color del trazo correcto === */
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline {
  width: clamp(340px, 28vw, 403px) !important;
  height: clamp(190px, 15.7vw, 225px) !important;
  max-height: none !important;
}

@media (max-width: 991.98px) {
  html[lang^="de"] body.tp-de-footer #footer.tp-site-footer .terra-footer-logo-inline {
    height: clamp(190px, 15.7vw, 225px) !important;
    max-height: none !important;
  }
}

html[lang^="de"] body.tp-de-footer #footer.tp-site-footer.tp-site-footer .terra-footer-logo-inline svg.terra-footer-logo path,
html[lang^="de"] body.tp-de-footer #footer.tp-site-footer.tp-site-footer .terra-footer-logo path {
  fill: #171b24 !important;
  stroke: #ffc94d !important;
  stroke-width: 1px !important;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
}
