/* ============================================================
   PRAKTIKO — "Wege" About Page
   style_about.css
   Built on top of style_global.css + style_lp.css tokens.
   Signature element: the "Weg" (path) — a single connecting
   line that runs through the page from mission to team to
   contact, echoing "wir ebnen Wege" as a literal visual thread.
   ============================================================ */

:root {
    --about-navy: #0B1330;
    --about-navy-2: #131c3f;
    --about-line-a: var(--color-primary);
    --about-line-b: var(--color-accent);
    --about-gold: var(--color-warning);
    --about-rose: #E85D75;
}

/* ── Narrow container helpers (about.php already references these) ── */
.narrow-container {
    max-width: 760px;
}

.wide-container {
    max-width: 1120px;
}

.about-main-flow {
    overflow-x: clip;
}

/* ============================================================
   1. HERO — dark mesh, the thesis statement
   ============================================================ */
.editorial-hero {
    position: relative;
    padding: calc(var(--space-20) + var(--space-6)) 0 var(--space-20);
    background:
        radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(13, 148, 136, 0.30) 0%, transparent 45%),
        linear-gradient(180deg, var(--about-navy) 0%, var(--about-navy-2) 100%);
    overflow: hidden;
    text-align: left;
}

.editorial-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 20%, transparent 75%);
    pointer-events: none;
}

/* The literal "path" doodle drifting through the hero */
.editorial-hero::after {
    content: "";
    position: absolute;
    right: -6%;
    bottom: -18%;
    width: 640px;
    height: 640px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px);
    border-radius: 50%;
    filter: blur(0.5px);
    pointer-events: none;
}

.editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary-light);
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.editorial-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-light);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

.editorial-headline {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: var(--weight-black);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #F8FAFC;
    max-width: 15ch;
    margin-bottom: var(--space-8);
}

.editorial-headline span {
    background: linear-gradient(120deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editorial-pitch {
    position: relative;
    z-index: 1;
    font-size: var(--text-lg);
    line-height: var(--leading-normal);
    color: rgba(226, 232, 240, 0.88);
    max-width: 62ch;
    margin-bottom: var(--space-10);
}

.hero-chip-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-semi);
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
}

.hero-chip svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent-light);
    flex-shrink: 0;
}

/* ============================================================
   2. THE JOURNEY RAIL — the signature connecting thread
   ============================================================ */
.journey-wrap {
    position: relative;
}

.journey-rail {
    position: absolute;
    left: calc(var(--space-6) + 1px);
    top: 0;
    bottom: 0;
    width: 2px;
    display: none;
}

.journey-rail-line {
    position: absolute;
    inset: 0;
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            var(--about-line-a) 8%,
            var(--about-line-b) 50%,
            var(--about-gold) 92%,
            transparent 100%);
    opacity: 0.35;
    border-radius: var(--radius-full);
}

.journey-node {
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.journey-node-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2.5px solid var(--color-primary);
    box-shadow: 0 0 0 5px var(--color-primary-bg);
    flex-shrink: 0;
    transform: translateX(-50%);
}

.journey-node-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    white-space: nowrap;
}

@media (min-width: 1180px) {
    .journey-rail {
        display: block;
    }
}

/* ============================================================
   3. MISSION — pull quote + 3 role cards
   ============================================================ */
.mission-section {
    padding: var(--space-20) 0;
    background: var(--color-surface);
}

.section-title-wrap {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.editorial-sub-headline {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-black);
    color: var(--color-ink);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.editorial-meta-text {
    font-size: var(--text-md);
    color: var(--color-muted);
    line-height: var(--leading-normal);
}

.mission-quote {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: var(--weight-xbold);
    color: var(--color-ink);
    line-height: 1.35;
    letter-spacing: -0.015em;
    max-width: 720px;
    margin: 0 auto var(--space-16);
    text-align: center;
    padding: 0 var(--space-6);
}

.mission-quote::before {
    content: "“";
    display: block;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: var(--weight-black);
    color: var(--color-primary);
    opacity: 0.35;
    margin-bottom: var(--space-2);
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
}

.role-card {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backface-visibility: hidden;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.role-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    color: var(--color-surface);
}

.role-card:nth-child(1) .role-card-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.role-card:nth-child(2) .role-card-icon {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
}

.role-card:nth-child(3) .role-card-icon {
    background: linear-gradient(135deg, var(--about-gold), var(--color-warning-dark));
}

.role-card-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-ink);
    margin-bottom: var(--space-2);
}

.role-card-desc {
    font-size: var(--text-sm);
    color: var(--color-muted);
    line-height: var(--leading-normal);
}

/* Value strip */
.value-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-12);
}

.value-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-ink-2);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
}

.value-pill span {
    color: var(--color-primary);
}

/* ============================================================
   4. TEAM-AUFNAHME — "Ein Foto, ein Licht"
   Die vier freigestellten Portraits werden als EIN Print inszeniert:
   ueberlappender Cluster (zwei vorn, zwei hinten), synthetischer
   Raum als gemeinsamer Hintergrund, ein Farb-Look und eine
   Vignette ueber der gesamten Aufnahme, dazu genau EINE
   Bildunterschrift. Keine Namen-Labels — sonst waere es nur eine
   zweite, groessere Kopie der Badge-Karten darunter.
   Die Originalfotos bleiben unberuehrt, benutzt werden die
   transparenten Kopien aus assets/media/team/.
   ============================================================ */
.team-shot-section {
    padding: 0 0 var(--space-20);
    background: var(--color-surface);
}

.team-shot {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 14px 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 34px 70px -24px rgba(11, 19, 48, 0.55), 0 0 0 1px rgba(11, 19, 48, 0.08);
    transform: rotate(-1deg);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
    backface-visibility: hidden;
}

.team-shot:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 44px 90px -24px rgba(11, 19, 48, 0.6), 0 0 0 1px rgba(11, 19, 48, 0.1);
}

/* Klebeband in den oberen Ecken */
.team-shot-tape {
    position: absolute;
    top: -15px;
    width: 92px;
    height: 30px;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0 7px, transparent 7px 15px);
    background-color: rgba(226, 232, 240, 0.55);
    border-radius: 2px;
    box-shadow: 0 6px 14px rgba(11, 19, 48, 0.28);
    pointer-events: none;
}

.team-shot-tape--l {
    left: 52px;
    transform: rotate(-8deg);
}

.team-shot-tape--r {
    right: 52px;
    transform: rotate(7deg);
    background-color: rgba(245, 158, 11, 0.38);
}

.team-shot-frame {
    position: relative;
    isolation: isolate;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--about-navy);
}

/* Synthetischer Raum: Wand, Lichtpool, Wortmarke, Bodenkante */
.team-shot-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 6%, rgba(120, 160, 255, 0.30) 0%, transparent 60%),
        radial-gradient(80% 60% at 16% 100%, rgba(45, 212, 191, 0.16) 0%, transparent 65%),
        linear-gradient(180deg, #10193c 0%, #0a1128 62%, #070c1c 100%);
}

.team-shot-backdrop::before {
    content: "praktiko";
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: var(--weight-black);
    letter-spacing: -0.05em;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.05);
}

.team-shot-backdrop::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 64%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

/* --- Cluster: die vier Personen als eine Aufnahme ------------------- */
.team-shot-people {
    position: absolute;
    inset: 0;
}

.shot-person {
    --shot-x: 50%;
    --shot-y: 0%;
    --shot-w: 30%;
    --shot-scale: 1;
    position: absolute;
    left: var(--shot-x);
    bottom: var(--shot-y);
    width: var(--shot-w);
    margin: 0;
    z-index: var(--shot-z, 2);
    transform: translateX(-50%) scale(var(--shot-scale));
    transform-origin: bottom center;
    filter: drop-shadow(0 18px 22px rgba(2, 6, 23, 0.45));
}

.team-shot-people .shot-person:nth-child(1) {
    --shot-x: 12%;
    --shot-y: -2.5%;
    --shot-w: 31%;
    --shot-scale: 0.98;
    --shot-z: 2;
}

.team-shot-people .shot-person:nth-child(2) {
    --shot-x: 35%;
    --shot-y: -12.5%;
    --shot-w: 33%;
    --shot-scale: 1.05;
    --shot-z: 3;
}

.team-shot-people .shot-person:nth-child(3) {
    --shot-x: 60%;
    --shot-y: -4%;
    --shot-w: 32%;
    --shot-scale: 1.02;
    --shot-z: 3;
}

.team-shot-people .shot-person:nth-child(4) {
    --shot-x: 85%;
    --shot-y: -7%;
    --shot-w: 31%;
    --shot-scale: 0.97;
    --shot-z: 2;
}

.shot-person img {
    display: block;
    width: 100%;
    height: auto;
    /* untere Kante weich ausblenden: der Torso loest sich im Dunkeln der
       Aufnahme auf, dadurch entsteht kein sichtbarer Bildschnitt und die
       Personen wirken wie in einem echten Foto angeschnitten */
    -webkit-mask-image: linear-gradient(180deg, black 0 92%, rgba(0, 0, 0, 0.7) 97%, transparent 100%);
    mask-image: linear-gradient(180deg, black 0 92%, rgba(0, 0, 0, 0.7) 97%, transparent 100%);
}

.shot-fallback {
    display: none;
    width: 100%;
    aspect-ratio: 3 / 4;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--about-navy-2), var(--about-navy));
    color: var(--color-surface);
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: var(--text-xl);
}

/* --- Ein gemeinsames Licht fuer alle ------------------------------- */
.team-shot-grade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
    background:
        radial-gradient(120% 100% at 50% 0%, rgba(255, 240, 220, 0.22) 0%, transparent 58%),
        linear-gradient(180deg, rgba(150, 180, 255, 0.22) 0%, rgba(150, 180, 255, 0) 42%);
}

.team-shot-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(130% 110% at 50% 42%, transparent 52%, rgba(4, 8, 20, 0.55) 100%),
        linear-gradient(180deg, rgba(4, 8, 20, 0.18) 0%, transparent 22%),
        linear-gradient(0deg, rgba(4, 8, 20, 0.55) 0%, transparent 26%);
}

/* --- Bildunterschrift im Print-Rand -------------------------------- */
.team-shot-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-2) var(--space-5);
}

.team-shot-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-ink);
}

.team-shot-meta {
    font-size: var(--text-xs);
    font-weight: var(--weight-semi);
    color: var(--color-muted);
    letter-spacing: 0.04em;
}
/* ============================================================
   5. TEAM BADGES — the signature "ID card" motif
   Praktikum → ID badge you'd wear on your first day.
   ============================================================ */
.badge-section {
    padding: 0 0 var(--space-20);
    background: var(--color-surface);
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-8);
}

.badge-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6) var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.badge-grid>.badge-card:nth-child(odd) {
    transform: rotate(-1.4deg);
}

.badge-grid>.badge-card:nth-child(even) {
    transform: rotate(1.4deg);
}

.badge-card:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* punch-hole at the top, like a lanyard card */
.badge-card::before {
    content: "";
    position: absolute;
    top: var(--space-3);
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: var(--color-surface-3);
    border: 1px solid var(--color-border);
}

.badge-clip {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: var(--weight-black);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px var(--space-3);
    border-radius: var(--radius-full);
    color: var(--color-surface);
    margin-bottom: var(--space-5);
}

.badge-photo {
    position: relative;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto var(--space-5);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-surface);
    box-shadow: 0 0 0 3px var(--badge-accent, var(--color-primary));
}

.badge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-avatar-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: var(--text-xl);
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--badge-accent, var(--color-primary)), var(--color-ink));
}

.badge-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-ink);
    margin-bottom: var(--space-1);
}

.badge-role {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    color: var(--badge-accent, var(--color-primary));
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-4);
}

.badge-divider {
    width: 2rem;
    height: 2px;
    background: var(--color-border);
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-full);
}

.badge-bio {
    font-size: var(--text-sm);
    color: var(--color-muted);
    line-height: var(--leading-normal);
    text-align: left;
}

/* Per-member accent variables */
.badge-card.accent-primary {
    --badge-accent: var(--color-primary);
}

.badge-card.accent-accent {
    --badge-accent: var(--color-accent);
}

.badge-card.accent-gold {
    --badge-accent: var(--about-gold);
}

.badge-card.accent-success {
    --badge-accent: var(--color-success);
}

.badge-card.accent-primary .badge-clip {
    background: var(--color-primary);
}

.badge-card.accent-accent .badge-clip {
    background: var(--color-accent);
}

.badge-card.accent-gold .badge-clip {
    background: var(--about-gold);
}

.badge-card.accent-success .badge-clip {
    background: var(--color-success);
}

/* ============================================================
   6. CONTACT
   ============================================================ */
.minimal-contact-section {
    padding: var(--space-20) 0 calc(var(--space-20) + var(--space-6));
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}

.minimal-contact-wrapper {
    text-align: center;
}

.contact-bold-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: var(--weight-black);
    color: var(--color-ink);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.contact-editorial-sub {
    font-size: var(--text-md);
    color: var(--color-muted);
    max-width: 46rem;
    margin: 0 auto var(--space-12);
    line-height: var(--leading-normal);
}

.minimal-contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

.minimal-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backface-visibility: hidden;
}

.minimal-contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-border);
}

.contact-icon-badge {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.m-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
}

.m-val {
    font-size: var(--text-sm);
    font-weight: var(--weight-semi);
    color: var(--color-ink);
    word-break: break-word;
}

/* ============================================================
   7. MOTION — reveal on scroll (progressive enhancement)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .badge-card,
    .badge-card:hover,
    .role-card,
    .role-card:hover,
    .team-shot,
    .team-shot:hover,
    .minimal-contact-item,
    .minimal-contact-item:hover {
        transition: none;
    }
}

/* ============================================================
   8. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .editorial-hero {
        padding: var(--space-16) 0;
        text-align: left;
    }

    .editorial-headline {
        font-size: clamp(1.875rem, 8vw, 2.5rem);
    }

    .mission-quote {
        font-size: 1.25rem;
    }

    .role-grid,
    .badge-grid {
        grid-template-columns: 1fr;
    }

    .badge-grid>.badge-card:nth-child(odd),
    .badge-grid>.badge-card:nth-child(even) {
        transform: none;
    }

    .badge-card:hover {
        transform: translateY(-4px);
    }

    /* Aufnahme im Querformat: 21:9 wird auf 3:2 gestaucht, die vier bleiben
       auf einer Linie (alle mit gleichem Ausschnitt am unteren Rand) */
.team-shot {
        padding: 10px 10px 0;
        transform: none;
    }

    .team-shot:hover {
        transform: translateY(-4px);
    }

    .team-shot-frame {
        aspect-ratio: 3 / 2;
    }

    .team-shot-tape--l {
        left: 28px;
    }

    .team-shot-tape--r {
        right: 28px;
    }

    .team-shot-people .shot-person:nth-child(1),
    .team-shot-people .shot-person:nth-child(2),
    .team-shot-people .shot-person:nth-child(3),
    .team-shot-people .shot-person:nth-child(4) {
        --shot-y: -3%;
    }

    /* Maxi im Querformat auf die gleiche Kopfoehe bringen */
    .team-shot-people .shot-person:nth-child(2) {
        --shot-y: -9.5%;
    }

    .team-shot-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
        padding: var(--space-3) var(--space-1) var(--space-4);
    }

    .team-shot-title {
        font-size: var(--text-xs);
    }
}

/* Schmales Handy: Hochformat mit zwei Reihen. Die hintere Reihe sitzt
       höher, ihre untere Bildkante wird von den vorderen Schultern
       verdeckt, beide Reihen werden am Rahmen abgeschnitten. */
@media (max-width: 560px) {
    .team-shot-frame {
        aspect-ratio: 1 / 1;
    }

    .team-shot-people .shot-person:nth-child(1) {
        --shot-x: 31%;
        --shot-y: 14%;
        --shot-w: 46%;
        --shot-scale: 1;
        --shot-z: 2;
    }

    .team-shot-people .shot-person:nth-child(2) {
        --shot-x: 69%;
        --shot-y: 14%;
        --shot-w: 46%;
        --shot-scale: 1;
        --shot-z: 2;
    }

    .team-shot-people .shot-person:nth-child(3) {
        --shot-x: 28%;
        --shot-y: -6%;
        --shot-w: 54%;
        --shot-scale: 1;
        --shot-z: 3;
    }

    .team-shot-people .shot-person:nth-child(4) {
        --shot-x: 72%;
        --shot-y: -6%;
        --shot-w: 54%;
        --shot-scale: 1;
        --shot-z: 3;
    }
}