/* Footer-Neugestaltung 2026-10-12 (Desktop + Mobil)
   Praefix mit :not(.zN) erhoeht die Spezifitaet gegenueber catalog-shared-shell.css.
   .copyr liegt ausserhalb von #footer. */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer {
  background: #fbf6f1 !important;
  color: #1b2b35 !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer #footer-content {
  gap: 0 !important;
  align-items: start !important;
}

/* Spaltenueberschriften */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-accordion-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #1b2b35 !important;
  font: 700 22px/1.2 "Playfair Display", Georgia, serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  cursor: default;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-accordion-trigger > i {
  color: #c44b16 !important;
  font-size: 26px !important;
}

/* Link-Listen mit Icon + Pfeil */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-navigation--config ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-navigation--config li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #eadfd5 !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-navigation--config li > a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 42px !important;
  padding: 8px 4px !important;
  color: #1b2b35 !important;
  font: 400 15px/1.3 Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-navigation--config li > a:hover { color: #b83c0d !important; }

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .bi-ft-ico {
  flex: 0 0 22px;
  color: #bd4312;
  font-size: 18px;
  text-align: center;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .bi-ft-chev {
  margin-left: auto;
  color: #8a949a;
  font-size: 18px;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .bi-ft-more {
  margin: 10px 0 0 !important;
  padding: 6px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #bd4312 !important;
  font: 700 14px/1.2 Arial, Helvetica, sans-serif !important;
  text-decoration: underline !important;
  cursor: pointer;
}

/* Vertrauens-Zeile unter der Bewertungskarte */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-trust-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 18px !important;
  text-align: center !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-trust-row > div {
  display: grid !important;
  justify-items: center !important;
  gap: 4px !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-trust-row i { color: #1d2d38 !important; font-size: 32px !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-trust-row strong { font-size: 13px !important; line-height: 1.2 !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-trust-row span { color: #55616a !important; font-size: 12px !important; line-height: 1.2 !important; }

/* Standort + Promo */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-bottom-grid {
  gap: 18px !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-location-card {
  border: 1px solid #f0e4db !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 6px 22px rgba(80, 50, 30, .08) !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-location-card h3 {
  color: #1b2b35 !important;
  font: 700 22px/1.2 "Playfair Display", Georgia, serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-route-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #c9501a, #a83a0d) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-promo-card { border-radius: 12px !important; overflow: hidden !important; }

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-promo-card strong {
  font: 700 26px/1.2 "Playfair Display", Georgia, serif !important;
  letter-spacing: 0 !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-promo-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #1b2b35 !important;
  font-weight: 700 !important;
}

/* dunkle Fussleiste */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px 24px !important;
  align-items: center !important;
  margin-top: 28px !important;
  padding: 22px max(24px, 4vw) 26px !important;
  background: #1d272d !important;
  color: #e9edef !important;
  text-align: left !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr p {
  margin: 0 !important;
  color: #e9edef !important;
  font: 400 14px/1.5 Arial, Helvetica, sans-serif !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr p:nth-of-type(2) { text-align: right; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr p:nth-of-type(3) {
  grid-column: 1 / -1;
  max-width: none !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #b8c1c6 !important;
  font-size: 12.5px !important;
  text-align: left !important;
}

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr a { color: #e9edef !important; text-decoration: none !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr a:hover { text-decoration: underline !important; }

html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr #back-to-top {
  position: absolute !important;
  top: -26px !important;
  right: max(24px, 4vw) !important;
  left: auto !important;
  display: grid !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #c9501a, #a83a0d) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25) !important;
  color: #fff !important;
  font-size: 28px !important;
  transform: none !important;
}

@media (min-width: 721px) {
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-navigation--config {
    padding: 0 26px !important;
    border-left: 1px solid #eadfd5 !important;
  }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-info { padding-right: 26px !important; }
}

/* Mobil: Akkordeon-Spalten, Fussleiste einspaltig */
@media (max-width: 720px) {
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-accordion-trigger {
    padding: 14px 16px !important;
    margin: 0 !important;
    border: 1px solid #f0e4db !important;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: pointer;
  }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-accordion-trigger::after {
    content: "\f107";
    margin-left: auto;
    color: #bd4312;
    font: normal 22px/1 FontAwesome;
  }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-accordion-trigger[aria-expanded="true"]::after { content: "\f106"; }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-navigation--config { margin: 10px 14px 0 !important; border: 0 !important; padding: 0 !important; }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #footer .footer-accordion-panel { padding: 4px 6px 0 !important; }

  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr {
    grid-template-columns: 1fr !important;
    padding: 34px 18px 24px !important;
    text-align: center !important;
  }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr p:nth-of-type(2) { text-align: center; }
  html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .copyr #back-to-top { right: 50% !important; transform: translateX(50%) !important; }
}
