.lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 15px;
  font-size: 14px;
}
.lang-switcher a {
  color: inherit;
  opacity: 0.6;
  padding: 0 4px;
  text-decoration: none;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  opacity: 1;
  font-weight: 500;
}
.lang-switcher .sep {
  opacity: 0.4;
  padding: 0 2px;
}
.brand .brand-logo-ec,
.footer-logo .brand-logo-ec {
  height: 40px;
  width: auto;
  max-width: 320px;
}
.footer-logo .brand-logo-ec {
  height: 36px;
}
.rd-navbar-transparent .lang-switcher a {
  color: #fff;
}
.rd-navbar-transparent.rd-navbar--is-stuck .lang-switcher a,
.rd-navbar-transparent.rd-navbar--is-clone .lang-switcher a {
  color: inherit;
}

/* Ehrenzeller brand palette — logo blue */
:root {
  --ec-primary: #1a4a8e;
  --ec-primary-dark: #143a70;
  --ec-primary-light: #2a5fa8;
}

/* Hero overlay — improves text contrast on bright custom image */
.swiper-slider-1 .swiper-slide.hero-slide-overlay::before {
  display: block !important;
  background: linear-gradient(
    105deg,
    rgba(20, 45, 90, 0.82) 0%,
    rgba(26, 74, 142, 0.62) 42%,
    rgba(0, 0, 0, 0.35) 72%,
    rgba(0, 0, 0, 0.12) 100%
  );
  z-index: 0;
}

.swiper-slider-1 .swiper-slide.hero-slide-overlay .swiper-slide-caption {
  position: relative;
  z-index: 1;
}

/* Show hero secondary text on mobile */
.swiper-slider-1 .swiper-slide-caption p.lead {
  display: block;
}

@media (max-width: 767px) {
  .swiper-slider-1 .swiper-slide-caption p.lead {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.45;
    max-width: 100% !important;
  }
}
