/* --------------------------- ANCHOR Custom Style -------------------------- */
/* --------------------------- ANCHOR WPML SWITCH --------------------------- */
.wpml-ls-native {
  display: none;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
    vertical-align: middle;
    display: none!important;
}

/* Standard (nicht aktiv) */
.wpml-ls-item a::after {
  content: attr(href);
}

/* DE / EN Text */
.wpml-ls-item-de a::after {
  content: "DE";
}

.wpml-ls-item-en a::after {
  content: "EN";
}

/* Styling allgemein */
.wpml-ls-item a::after { 
  font-weight: 600;
  position: relative;
  left: 5px;
  top: 1px;
  font-size: 15px;
}

/* AKTIVE SPRACHE  */
.wpml-ls-current-language a::after {
  color: #ffffff;
  opacity: 1;
}

/*  INAKTIVE SPRACHE */
.wpml-ls-item:not(.wpml-ls-current-language) a::after {
  opacity: 0.7;
  color: #ffffff;
}

/* HOVER */
.wpml-ls-item:not(.wpml-ls-current-language) a:hover::after {
  opacity: 1;
}
/********* ********/
.e-n-accordion > .e-n-accordion-item:last-child {
  border-bottom: 2px solid #1d1d1c !important;
}

.elementor-heading-title span {
  color: #eb7c15 !important;
}

html {
  scroll-behavior: auto !important;
}

@media (min-width: 1400px) {
  .header-bild {
    transform: translateY(-120px);
  }
  .header-bild img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
}

.elementor-counter .elementor-counter-number-wrapper,
.elementor-counter .elementor-counter-title {
  line-height: normal !important;
}

/* Alle Boxen */
.elementor .boxes {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease !important;
}

.elementor .boxes::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 4px !important;
  background: #eb7d10 !important;
  transition: width 0.45s ease !important;
  z-index: 3 !important;
  border-radius: 20px 20px 0 0 !important;
}

.elementor .boxes::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(245, 130, 32, 0.08),
    rgba(245, 130, 32, 0)
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
  z-index: -1 !important;
}

.elementor .boxes:hover::before {
  width: 100% !important;
}

/* .elementor .boxes:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12) !important;
} */

.elementor .boxes:hover::after {
  opacity: 1 !important;
}

.elementor .boxes .elementor-icon {
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease !important;
}

.elementor .boxes:hover .elementor-icon {
  transform: translateY(-3px) scale(1.06) !important;
  background-color: #eb7d10 !important;
  color: #ffffff !important;
  border-color: #eb7d10 !important;
}

.elementor .boxes:hover .elementor-icon svg,
.elementor .boxes:hover .elementor-icon svg path,
.elementor .boxes:hover .elementor-icon svg g {
  fill: currentColor !important;
  stroke-width: inherit !important;
}

.elementor .boxes .elementor-heading-title {
  transition: color 0.35s ease !important;
}

.elementor .boxes:hover .elementor-heading-title {
  color: #f58220 !important;
}
/* alle Boxen */

/* Kundenstimmen Karten */
.elementor .kundestimme {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  min-height: 520px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #ffffff !important;
  border-radius: 14px !important;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease !important;
}
/* Dezenter Hover-Hintergrund */
.elementor .kundestimme::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(235, 125, 16, 0.08),
    rgba(235, 125, 16, 0)
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
  z-index: -1 !important;
}
/* Hover Effekt */
.elementor .kundestimme:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12) !important;
}
.elementor .kundestimme:hover::after {
  opacity: 1 !important;
}
/* Textbereich oben */
.elementor .kundestimme > .e-con-inner,
.elementor .kundestimme {
  height: 100% !important;
}
/* Unterer Bereich: Name links, Logo rechts */
.elementor .kundestimme > .e-con-inner > div:last-child,
.elementor .kundestimme > div:last-child {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 35px !important;
  width: 100% !important;
}
/* Name/Position links */
.elementor .kundestimme > .e-con-inner > div:last-child > div:first-child,
.elementor .kundestimme > div:last-child > div:first-child {
  flex: 0 0 42% !important;
  max-width: 42% !important;
}
/* Logo-Bereich rechts */
.elementor .kundestimme > .e-con-inner > div:last-child > div:last-child,
.elementor .kundestimme > div:last-child > div:last-child {
  flex: 0 0 45% !important;
  max-width: 45% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
/* Alle Logos/Bilder gleich behandeln */
.elementor .kundestimme .elementor-widget-image {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
.elementor .kundestimme .elementor-widget-image img {
  width: 100% !important;
  max-width: 275px !important;
  height: 125px !important;
  object-fit: contain !important;
  object-position: center right !important;
  display: block !important;
  aspect-ratio: 1 / 1 !important;
}
/* Überschrift Hover-Farbe einheitlich */
.elementor .kundestimme .elementor-heading-title {
  transition: color 0.35s ease !important;
}
.elementor .kundestimme:hover .elementor-heading-title {
  color: #eb7d10 !important;
}
/* Pagination Bullets orange vereinheitlichen */
.elementor .swiper-pagination-bullet-active {
  background-color: #eb7d10 !important;
}
/* Qualitis bilder */
.qualitis-boxen img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
/* Qualitis bilder */
iframe {
  width: 100%;
  height: 500px;
  border: 0;
}
/* Formular */
.elementor-field-type-acceptance {
  a {
    color: #eb7d10 !important;
    &:hover {
      color: #1d1d1c !important;
    }
  }
}
/* ------------------------- ANCHOR Gallery Lightbox ------------------------ */
.fancybox__container [type="button"]:focus,
.fancybox__container [type="button"]:hover,
.fancybox__container [type="submit"]:focus,
.fancybox__container [type="submit"]:hover,
.fancybox__container button:focus,
button:hover {
  background-color: #eb7c15 !important;
  color: #fff;
  text-decoration: none;
}
/* elementor editor: Nur erstes Bild in Galerie anzeigen*/
.elementor-editor-active .fancybox-gallery .e-gallery-item:not(:first-child) {
  display: none !important;
}
.fancybox__container .f-caption {
  font-size: 21px;
}
