#ansprechpartner {
  background-color: #f8fafc;
  padding: 4rem 1rem;
}

#ansprechpartner .content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#ansprechpartner h1 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 600;
}

#ansprechpartner p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 70%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 18px rgba(10, 20, 40, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.team-card p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 20, 40, 0.12);
}

.team-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.team-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0.5rem 0 0.25rem 0;
}

.team-card .position {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0.25rem 0;
}

.team-card a.cta {
  margin-top: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.team-card a.cta:hover {
  background: #0056b3;
}

/* Responsive */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    padding: 1.5rem 1rem;
  }
}
