.elementor-904 .elementor-element.elementor-element-1b2d921{--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;}.elementor-904 .elementor-element.elementor-element-c345830{--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;}/* Start custom CSS for html, class: .elementor-element-362d7e0 */.team-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
}

/* Karte */
.team-member {
  position: relative;
  border-radius: 20px;
  background: #f4f6f9;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
}

/* Rundes Bild */
.team-image {
  width: 140px;
  height: 140px;
  margin: 20px auto 10px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inhalt */
.team-content {
  text-align: center;
  padding: 15px;
}

.team-name {
  font-size: 18px;
  font-weight: 600;
}

.team-role {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}

.team-contact {
  font-size: 14px;
  color: #444;
}

/* Dropdown Overlay */
.team-description {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  padding: 25px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

/* Hover (Desktop) */
.team-member:hover .team-description {
  transform: translateY(0);
}

/* Klick Steuerung (Mobile Trick) */
.team-toggle {
  display: none;
}

.team-toggle:checked + .team-member .team-description {
  transform: translateY(0);
}

/* Optional Titel */
.team-description h4 {
  margin-top: 0;
}

.team-description p {
  font-size: 14px;
  line-height: 1.5;
}

/* Mobile Anpassung */
@media (max-width: 900px) {
  .team-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-container {
    grid-template-columns: 1fr;
  }

  /* Hover deaktivieren auf Mobile */
  .team-member:hover .team-description {
    transform: translateY(100%);
  }
}/* End custom CSS */