/* ==========================================================================
   Tadelsucht Tattoo & Piercing – css/pages/team.css
   Nur Seitenspezifisches für team.html („La Familia“): Profil-Layout .ts-founder
   (Founder + zwei Profile im gleichen Aufbau, Bildseite wechselt), Platzhalter-Story,
   Join-Karte. Alles andere kommt aus css/main.css (DESIGN.md §2–§5, §11).
   ========================================================================== */

/* 1. Page-Hero ---------------------------------------------------------- */
/* main.css §17 gibt .ts-page-hero nur vertikales Padding (Shorthand `… 0 …` überschreibt den Container-Gutter) – deshalb liegen die
   Kinder wie auf galerie.html/kontakt.html in einem inneren .ts-container (→ sharedIssues: §17 sollte padding-inline: var(--gutter) setzen). */
.ts-page-hero__inner { display: grid; justify-items: center; gap: clamp(16px, 2.5vh, 26px); text-align: center; }
.ts-page-hero__inner .ts-lead { max-width: 56ch; }
.ts-page-hero__inner .ts-divider { margin-top: clamp(10px, 2vh, 22px); }

/* 2. Profil-Layout ------------------------------------------------------ */
/* Erste Profil-Sektion direkt nach dem Page-Hero: der Hero bringt schon Luft (min-height 56vh + Divider), das volle Section-Padding
   ergäbe ~200 px Leerraum bei 1440. Kandidat für main.css: `.ts-page-hero + .ts-section { padding-top: … }` */
.ts-page-hero + .ts-section--profile { padding-top: clamp(40px, 7vw, 88px); }
.ts-founder { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 640px; margin-inline: auto; }
.ts-founder__visual { display: grid; gap: 16px; width: 100%; max-width: 440px; } /* gestapelt (< 1024): Bild linksbündig auf derselben Achse wie Eyebrow/Headline/Text */
.ts-founder__frame { padding: clamp(10px, 1.6vw, 16px); background: var(--bg-2); } /* Passepartout: äußerer Rahmen + Innenlinie (::before, 6 px) + 8 px Luft bis zum Bild */
/* Platzhalter-Portraits bringen ihren eigenen gezeichneten Goldrahmen mit → kein Passepartout und keine Innenlinie (sonst dreifacher Rahmen).
   Modifier entfernen, sobald echte 4:5-Portraits eingesetzt sind (TODO in team.html). */
.ts-founder__frame--ph { padding: 0; }
.ts-founder__frame--ph::before { display: none; }
.ts-founder__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.ts-founder__media picture { position: absolute; inset: 0; }
.ts-founder__media img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter .8s var(--ease);
}
/* Parallax (main.js: yPercent −6 → +6 des Bildes = ±6,9 % des Wrappers): Bild 115 % hoch und 3,75 % nach oben versetzt.
   So verschwinden oben höchstens ~7 % des Fotos (Kappe bleibt im Bild); die Lücke am oberen Rand entstünde erst bei Fortschritt > 77 %,
   wenn der Rahmen den Viewport schon oben verlassen hat. will-change setzt main.css §24. Ohne Motion (kein html.ts-motion) steht das Bild ungeschnitten. */
html.js.ts-motion .ts-founder__media img[data-ts-parallax] { top: -3.75%; height: 115%; }
.ts-founder:hover .ts-founder__media img,
.ts-founder:focus-within .ts-founder__media img { filter: grayscale(.2) sepia(.35); } /* Warmton beim Hover wie .ts-team-card (brand-guidelines §5) */
.ts-founder__caption { justify-self: center; font-size: .72rem; } /* Gold wie .ts-team-card .ts-eyebrow – --muted erst ab 16 px (DESIGN §2) */
.ts-founder__caption .ts-ph { color: inherit; } /* Platzhalter-Caption: nur die gepunktete Linie markiert den Platzhalter, Farbe bleibt Gold */

.ts-founder__body { display: grid; gap: clamp(14px, 2vw, 20px); align-content: start; }
.ts-founder__body .ts-eyebrow::after { display: none; } /* linksbündiger Text: Ornament nur links */
.ts-founder__body .ts-h2 { overflow-wrap: anywhere; } /* Notfall-Umbruch für „[PLATZHALTER] NAME“ auf 375 px */
.ts-founder__lead { max-width: 48ch; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); line-height: 1.45; color: var(--cream); }
.ts-founder__lead .ts-ph { font-size: .85em; }
.ts-founder__story { display: grid; gap: 1em; max-width: 60ch; }
.ts-founder__ph { padding-left: 16px; border-left: 1px dotted var(--gold-dark); color: var(--muted); } /* sichtbar als Platzhalter; --muted ≥ 16 px (DESIGN §2) */
.ts-founder .ts-tags { margin-top: 4px; }
.ts-founder .ts-quote { margin-top: clamp(10px, 1.5vw, 18px); max-width: 36ch; }
.ts-founder .ts-link { justify-self: start; margin-top: 4px; }
/* Instagram noch unbekannt (Artist/Piercer): nicht-interaktiver Platzhalter an der Stelle des späteren .ts-link – Label in Gold-Cinzel wie der Link,
   Wert als .ts-ph in 16 px (--muted ≥ 16 px, DESIGN §2). Gleiche Höhe wie .ts-link (44 px), damit die drei Profile denselben Rhythmus haben. */
.ts-founder__insta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 44px; margin-top: 4px; }
.ts-founder__insta strong { font: 600 .8rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

@media (min-width: 1024px) {
  .ts-founder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); max-width: none; align-items: center; } /* center: die lange Founder-Story läuft sonst 300 px unter dem Rahmen weiter */
  .ts-founder__visual { max-width: none; }
  .ts-founder--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .ts-founder--flip .ts-founder__visual { grid-column: 2; grid-row: 1; }
  .ts-founder--flip .ts-founder__body { grid-column: 1; grid-row: 1; }
}

/* 3. „Werde Teil der Familia“ ------------------------------------------- */
.ts-join { display: grid; gap: clamp(14px, 2vw, 20px); justify-items: center; text-align: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px); }
.ts-join p { max-width: 58ch; }
.ts-join .ts-actions { margin-top: 8px; }

/* Lange Kundentexte (11/2026): Bild oben ausrichten und beim Scrollen mitführen (CSS sticky, DESIGN §0.7), Signaturzeile */
.ts-founder__sign { font: 500 italic 1.35rem/1.3 var(--font-body); color: var(--gold); }
@media (min-width: 1024px) {
  .ts-founder--long { align-items: start; }
  .ts-founder--long .ts-founder__visual { position: sticky; top: calc(var(--header-h) + 32px); }
}
