/* ═══════════════════════════════════════════════
   TEAM-SEITE — eigenständiges Stylesheet
   Ergänzt style.css (Fonts, :root, Nav, Footer,
   Buttons, .section-label, .reveal sind dort definiert)
═══════════════════════════════════════════════ */

/* ── BREADCRUMB (Startseite → Team) ── */
.breadcrumb-bar {
  background: var(--forest);
  padding: 84px 80px 0;
}
.breadcrumb {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  padding-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span.sep { color: rgba(255,255,255,0.3); }
.breadcrumb span.current { color: var(--amber-light); }

/* ── HERO ── */
#team-hero {
  background: var(--forest);
  padding: 40px 80px 96px;
  position: relative;
  overflow: hidden;
}
#team-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 15%, rgba(212,160,68,0.14) 0%, transparent 50%),
    radial-gradient(circle at 8% 85%, rgba(74,124,89,0.22) 0%, transparent 42%);
  pointer-events: none;
}
.team-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.section-label--light {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber);
  background: rgba(212,160,68,0.12);
  border: 1px solid rgba(212,160,68,0.3);
  border-radius: 100px;
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 24px;
}
#team-hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 18px;
}
.team-hero-intro {
  font-size: 1.05rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.7);
  max-width: 580px; margin: 0 auto 32px;
}
.team-hero-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 8px;
}
.team-hero-stat { text-align: center; }
.team-hero-stat strong {
  display: block; font-family: 'Syne', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: var(--amber);
}
.team-hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ── TEAM GRID ── */
#team {
  background: var(--cream);
  padding: 96px 80px;
}
#team > .section-label,
#team > h2,
#team > .section-intro { max-width: 1100px; margin-left: auto; margin-right: auto; display: block; }
#team > .section-intro { text-align: left; }
.team-intro-wrap { max-width: 1100px; margin: 0 auto 56px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--forest);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--forest);
  color: var(--amber-light);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.team-card h2 {
  font-size: 1.25rem;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.team-role {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sand);
  width: 100%;
}

.team-desc {
  font-size: 0.9rem; font-weight: 300; line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 18px;
}

.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tag {
  font-size: 0.7rem; font-weight: 500;
  color: var(--forest-mid);
  background: var(--sand);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ── ARBEITSWEISE / PROCESS ── */
#team-arbeitsweise { background: var(--white); padding: 96px 80px; }
.arbeitsweise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.arbeitsweise-card {
  padding: 28px; border-radius: 12px;
  background: var(--cream);
  border-left: 4px solid var(--amber);
}
.arbeitsweise-card .aw-num {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.8rem;
  color: var(--amber); letter-spacing: 0.08em; margin-bottom: 10px; display: block;
}
.arbeitsweise-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--forest); margin-bottom: 8px;
}
.arbeitsweise-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ── CTA-BAND ── */
.team-cta-band {
  background: var(--forest);
  padding: 72px 80px;
  text-align: center;
}
.team-cta-band h2 { color: var(--white); }
.team-cta-band p {
  color: rgba(255,255,255,0.7);
  max-width: 520px; margin: 0 auto 32px;
  font-size: 1rem; line-height: 1.7; font-weight: 300;
}
.team-cta-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .breadcrumb-bar { padding: 72px 20px 0; }
  #team-hero { padding: 24px 20px 64px; }
  #team, #team-arbeitsweise { padding: 64px 20px; }
  .team-cta-band { padding: 56px 20px; }
  .team-grid, .arbeitsweise-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .team-card, .arbeitsweise-card {
    margin: 0;
  }
  .team-hero-stats { gap: 28px; }

  /* Gleiche Behandlung wie in style.css: horizontaler Reveal-Versatz
     wird auf Mobile durch vertikalen ersetzt statt komplett entfernt,
     damit Team-Seite und Hauptseite konsistent animieren. */
  .reveal.reveal-left,
  .reveal.reveal-right {
    transform: translateY(32px) !important;
  }
  .reveal.reveal-left.visible,
  .reveal.reveal-right.visible {
    transform: none !important;
  }
}