/* Team-Streifen vor den Fragen (Tobias 10.11.2026, Idee von accountable.de).
   Am Anfang drei schmale lila Streifen. Ein Klick oeffnet eine Person: das
   Feld wird breit, der Name steht gross hinter ihr. Fotos sind freigestellt
   (assets/img/start/team-*.webp, 800 x 1100, Kopf oben frei fuer den Namen). */
.ts-kopf { max-width: 760px; margin: 0 auto; text-align: center; }
.ts-kopf .titel { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.ts-kopf .lead { margin: 20px auto 0; max-width: 34em; }

.ts-streifen {
  display: flex; justify-content: center; gap: 12px;
  height: 600px; margin: 56px 0 0; padding: 0; list-style: none;
}
.ts-person { flex: 0 0 156px; min-width: 0; transition: flex-basis .7s var(--ease); }
.ts-person.ist-offen { flex-basis: 560px; }

.ts-feld {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; overflow: hidden; border-radius: var(--r-karte);
  background: linear-gradient(180deg, var(--tint-weak) 0%, var(--tint) 100%);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.ts-feld:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Name gross oben, hinter der Person. */
.ts-name {
  position: absolute; z-index: 0; top: 4%; left: 0; right: 0;
  font: 700 clamp(84px, 9vw, 132px)/1 var(--head); letter-spacing: -.05em;
  color: var(--accent); text-align: center; white-space: nowrap;
  opacity: 0; translate: 0 16px;
  transition: opacity .45s var(--ease), translate .6s var(--ease);
}
.ts-feld img {
  position: absolute; z-index: 1; left: 50%; bottom: 0;
  width: 560px; max-width: none; height: auto; translate: -50% 0;
  transition: scale .7s var(--ease);
  transform-origin: 50% 100%;
}
/* Zu: lila Schleier wie bei der Vorlage, beim Zeigen etwas heller. */
.ts-feld::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(108, 43, 242, .22);
  transition: opacity .5s var(--ease); pointer-events: none;
}
.ts-feld:hover::after { opacity: .55; }
.ts-rolle {
  position: absolute; z-index: 3; left: 20px; bottom: 20px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px);
  font-size: 15px; font-weight: 600; color: var(--ink);
  opacity: 0; translate: 0 8px;
  transition: opacity .4s var(--ease), translate .5s var(--ease);
}
.ist-offen .ts-feld { cursor: default; }
.ist-offen .ts-feld::after { opacity: 0; }
.ist-offen .ts-name, .ist-offen .ts-rolle { opacity: 1; translate: 0 0; transition-delay: .3s; }

@media (max-width: 1120px) {
  .ts-person { flex: 1 1 0; }
  .ts-person.ist-offen { flex: 3.4 1 0; }
}
@media (max-width: 980px) {
  .ts-streifen { height: 520px; gap: 10px; }
  .ts-person { flex: 1 1 0; }
  .ts-person.ist-offen { flex: 3.4 1 0; }
  .ts-feld img { width: 480px; }
}
@media (max-width: 620px) {
  .ts-streifen { height: 420px; gap: 8px; margin-top: 40px; }
  .ts-feld img { width: 420px; }
  .ts-name { font-size: 64px; }
  .ts-rolle { left: 12px; bottom: 12px; font-size: 13px; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-person, .ts-name, .ts-rolle, .ts-feld img, .ts-feld::after { transition: none; }
}

/* Vierter Reiter: keine erfundene Person, sondern ein leeres Profilbild
   und eine Einladung ins Team (Tobias 10.11.2026). */
.ts-person { position: relative; overflow: clip; overflow-clip-margin: 8px; }
.ts-einladung {
  position: absolute; z-index: 4; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 14px 14px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -14px rgba(40, 20, 90, .35);
  opacity: 0; translate: 0 10px; visibility: hidden;
  transition: opacity .4s var(--ease), translate .5s var(--ease), visibility 0s .5s;
}
.ts-einladung p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ts-einladung a {
  flex: none; padding: 11px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background var(--t-2) var(--ease);
}
.ts-einladung a:hover { background: var(--accent-hover); }
.ts-du.ist-offen .ts-einladung { opacity: 1; translate: 0 0; visibility: visible; transition-delay: .3s, .3s, 0s; }
@media (max-width: 980px) {
}
@media (max-width: 620px) {
  .ts-streifen { gap: 6px; }
  .ts-person.ist-offen { flex-grow: 4.2; }
  .ts-einladung { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .ts-einladung p { font-size: 14px; }
  .ts-einladung a { text-align: center; padding: 10px 14px; font-size: 14px; }
}

