.elementor-1269 .elementor-element.elementor-element-511becf{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-73px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}body.elementor-page-1269{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-32377b4 */.abteilungsleitung-section {
  padding: 24px 0 80px;
}

.abteilungsleitung-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Intro */
.abteilungsleitung-intro {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.abteilungsleitung-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Grid */
.abteilungsleitung-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

/* Card */
.leitung-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 340px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.leitung-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 111, 120, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

/* Image */
.leitung-card-image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.leitung-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.leitung-card:hover .leitung-card-image img {
  transform: scale(1.03);
}

/* Content */
.leitung-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px;
}

.leitung-funktion {
  margin: 0 0 10px;
  color: #2d6f78;
  font-size: 0.84rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.leitung-card-content h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 700;
}

.leitung-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 34ch;
}

/* Tablet */
@media (max-width: 980px) {
  .abteilungsleitung-grid {
    grid-template-columns: 1fr;
  }

  .leitung-card {
    grid-template-columns: 240px 1fr;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .abteilungsleitung-section {
    padding: 18px 0 56px;
  }

  .abteilungsleitung-intro {
    margin-bottom: 28px;
  }

  .leitung-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .leitung-card-image,
  .leitung-card-image img {
    min-height: 320px;
  }

  .leitung-card-content {
    padding: 24px 22px 26px;
  }

  .leitung-card-content h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .leitung-text {
    max-width: none;
    font-size: 0.98rem;
  }
}/* End custom CSS */
/* Start custom CSS *//* Hero hart begrenzen */
.entry-hero.page-hero-section{
  max-height: 170px !important;
  overflow: hidden !important;
}

/* Innencontainer auch begrenzen und Inhalt sauber zentrieren */
.entry-hero.page-hero-section .entry-hero-container-inner{
  max-height: 170px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

/* Spacer/Pseudo-Elemente killen (häufig der eigentliche Höhen-Treiber) */
.entry-hero.page-hero-section::before,
.entry-hero.page-hero-section::after,
.entry-hero.page-hero-section .entry-hero-container-inner::before,
.entry-hero.page-hero-section .entry-hero-container-inner::after{
  content: none !important;
  display: none !important;
}

/* Breadcrumbs (bei dir schon ok) */
#thewebs-breadcrumbs{
  display:none !important;
}/* End custom CSS */