/* ==========================================================================
   1. Hero Section (Kooperations-Seite)
   ========================================================================== */
.team-hero {
  position: relative;
  width: 100%;
  /* Gleiches Format auf allen Geräten (passend zu 1920 × 800 px).
     Nur sehr breite Bildschirme (> 1920 px) schneiden oben/unten etwas ab. */
  aspect-ratio: 12 / 5;
  max-height: 800px;
  background-color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-hero-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.team-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.team-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.team-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 1.5rem;
}

.team-hero-title {
  font-size: 3.2rem;
  font-weight: 850;
  letter-spacing: -0.5px;
  margin: 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   2. Intro Text Section
   ========================================================================== */
.su-intro-section {
  padding: 6rem 2rem;
  background-color: var(--bg-page);
}

.su-intro-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.su-section-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.su-text-block .title-accent {
  width: 65px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.su-text-block p {
  font-size: 1.08rem;
  color: #444444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.su-text-block .lead-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.65;
}

/* ==========================================================================
   3. Sponsoren-Raster (Eigenständiges Design)
   ========================================================================== */
.sponsors-section {
  padding: 2rem 2rem 6.5rem 2rem;
  background-color: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-accent {
  margin: 0.4rem auto 0 auto;
}

.sponsors-section .team-section-title {
  font-size: 2.4rem;
  font-weight: 850;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.sponsors-section .text-center {
  margin-bottom: 3.5rem;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.sponsor-card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 2rem;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sponsor-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.sponsor-img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.2s ease;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  border-color: rgba(255, 204, 0, 0.4);
}

.sponsor-card:hover .sponsor-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .team-hero-title {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }

  .su-intro-section {
    padding: 4rem 1.25rem;
  }

  .sponsors-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
    gap: 1.5rem;
  }

  .sponsor-card {
    height: 110px;
    padding: 1rem;
  }
}
