/* ═══════════════════════════════════════════════════════
   ÜBER UNS / TEAM (ueber-uns.html, Zweig team-seite, 20.11.2026)
   Lars 20.11.: oben (später) das Teamfoto am Vito, darunter die Fotos „echt“ präsentiert:
   Abzüge mit weißem Rand, leicht schräg (.abzug in css/foto.css), Geschichte in Kapiteln, alle Fotos links.
   Botschaft: jung, wir gehen auf deinen Betrieb ein, wir lernen noch. Fotos: img/leute-*.webp (nicht team-*: das Muster der Prüfung website-app-bilder hält team-* für App-Bilder) (img/FOTOS.md).
   ═══════════════════════════════════════════════════════ */

/* Teamfoto am Vito, ganz oben vor dem Seitenkopf (kommt mit Todo 92) */
.team-vito { margin: 64px 0 0; height: min(70vh, 56.25vw); min-height: 420px; max-height: 720px; }
.team-vito img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.team-vito::after { display: none; }   /* kein Verlauf: kein Text im Bild */
.team-vito + .team-kopf-rahmen { padding-top: 48px; }
.team-vito-satz { color: rgba(255, 255, 255, .92); font-size: 19px; line-height: 1.5; max-width: 46ch; margin: 0 0 8px; }

/* Seitenkopf: Botschaft links, Gesichter als Abzüge rechts */
.team-kopf-rahmen { padding-top: 84px; }  /* wie .seitenkopf-rahmen, aber so breit wie die Kapitel darunter */
.team-kopf { padding: 8px 0 88px; max-width: 760px; }
.team-kopf h1 {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 700; color: var(--fa-tinte);
  font-size: clamp(38px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; max-width: 17ch; text-wrap: balance;
}
.team-kopf-satz { font-size: 19px; line-height: 1.6; color: var(--fa-tinte); margin: 18px 0 0; max-width: 50ch; }
.team-kopf-satz--wer { font-size: 21px; font-weight: 500; margin-top: 26px; }

/* Geschichte in Kapiteln */
.team-geschichte { padding: 88px 0 112px; background: var(--fa-hell); }
.team-geschichte-titel { font-family: 'Archivo', 'Inter', sans-serif; font-size: 22px; color: var(--fa-tinte); margin: 0; }
.team-geschichte-titel span { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px; color: var(--fa-leise); margin-left: 10px; }
.team-kapitel { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px 64px; align-items: center; margin-top: 64px; }
.team-kapitel:nth-of-type(odd) .abzug { transform: rotate(-2deg); }
.team-kapitel:nth-of-type(even) .abzug { transform: rotate(1.6deg); }
.team-kapitel-text { max-width: 62ch; }
.team-kapitel-text h3 { font-family: 'Archivo', 'Inter', sans-serif; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; color: var(--fa-tinte); margin: 0 0 6px; }
.team-kapitel-text .team-rolle { color: var(--akzent-text); font-weight: 600; font-size: 15px; margin: 0 0 16px; }
.team-kapitel-text p { font-size: 18px; line-height: 1.65; color: var(--fa-tinte); margin: 0; }
.team-kapitel-text .team-profil { margin-top: 16px; font-size: 16px; }
.team-profil a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
/* Der Vito: Abzug quer */
.team-kapitel--vito { grid-template-columns: 360px minmax(0, 1fr); }
.team-kapitel--vito .abzug img { aspect-ratio: 5 / 4; }

/* Kennenlernen */
.team-kontakt { padding: 112px 0; }
.team-kontakt-innen > p { font-size: 20px; color: var(--fa-tinte); margin: 18px 0 0; max-width: 56ch; }
.team-kontakt-innen .fa-knoepfe { margin-top: 28px; }
.team-kontakt .team-mail { font-size: 16px; margin: 24px 0 0; }
.team-mail a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .team-kopf-rahmen { padding-top: 72px; }
  .team-kopf { padding-bottom: 56px; }
  .team-geschichte, .team-kontakt { padding: 64px 0 80px; }
  .team-kapitel, .team-kapitel--vito { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 56px; }
  .team-kapitel .abzug { width: 220px; margin-left: 6px; }
  .team-kapitel--vito .abzug { width: min(340px, 100%); }
}
@media (max-width: 600px) {
  .team-vito { height: 120vw; min-height: 0; max-height: 80vh; }
  .team-vito img { object-position: 50% 60%; }
  .team-vito-satz { font-size: 17px; }
  .team-geschichte-titel span { display: block; margin: 4px 0 0; }
  .team-kopf-satz { font-size: 18px; }
  .team-kopf-satz--wer { font-size: 19px; }
}
