/* ===============================
   Team Anzeige – stabil + mobilfreundlich
================================ */

.team-container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Wrapper: links Bild+Buttons, rechts Details */
.team-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-sizing: border-box;
}

/* Linke Spalte fixiert: Bild + Buttons */
.team-left {
  width: 260px;
  flex: 0 0 260px;
}

/* Bild einheitlich groß */
.team-image {
  width: 260px;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: #f0f0f0;
}

/* Buttons bleiben fest unter dem Bild */
.team-nav {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Buttons */
.team-btn {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.team-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Rechte Seite: Text */
.team-details {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #222;
  box-sizing: border-box;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-bereich {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

.team-line {
  margin-bottom: 6px;
}

/* Zusatzqualifikationen */
.team-qualification {
  margin: 10px 0 0 0;
  padding-left: 0;
  list-style: none;
}

.team-qualification li {
  margin-bottom: 4px;
}

.team-qualification li::before {
  content: "• ";
  margin-right: 6px;
  color: #333;
}

/* ===============================
   Responsive (Mobile)
================================ */
@media (max-width: 768px) {
  .team-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .team-left {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .team-image {
    width: 100%;
    max-width: 340px;
    height: 320px;
  }

  .team-nav {
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .team-btn {
    font-size: 22px;
    padding: 12px 18px;
    border-radius: 10px;
  }

  .team-details {
    width: 100%;
    margin-top: 12px;
  }
}
