.ueber-uns {
    max-width: 1200px;
    margin-top: -100px !important;
    margin: 15px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

.ueber-uns h1, 
.ueber-uns h2 {
    color: #08351cea;
    margin-bottom: 20px;
}

.ueber-uns p {
    margin-bottom: 15px;
    color: #555;
}

.team-logo {
    width: 18%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* === Team Grid (setzt sich gegen globale img-Regeln durch) === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
  justify-items: center;
}

.team-card { text-align: center; }

/* feste Avatar-Größe + wirklich rund */
.team-card .avatar {
  width: 250px !important;
  height: 250px !important;
  max-width: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block;
  margin: 0 auto;
  border: 4px solid #08351cea;
  transition: transform .25s ease;
}

/* optionaler Hover-Effekt */
.team-card .avatar:hover { transform: scale(1.04); }

.team-card h3 {
  margin-top: 14px;
  font-size: 1.15em;
  color: #08351cea;
}

.team-card p {
  margin: 4px 0 0;
  color: #555;
  font-size: 1em;
}

/* Responsive: 2 Spalten auf Tablet, 1 Spalte auf Handy */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}
