/* ============================================================
   Page 4.3 Über uns — page-specific styles (spec: 4.3-ueber-uns.md)
   Only what main.css doesn't cover; var(--token) values only.
   ============================================================ */

/* ── Hero (mission): dark band (surface-dark + eyebrow-dark in
   main.css) ───────────────────────────────────────────────── */
.about-hero { padding-block: var(--space-2xl); text-align: center; }
.about-hero__eyebrow { margin-bottom: var(--space-md); } /* pill look: .eyebrow-dark */
.about-hero__headline { margin-bottom: var(--space-sm); }
.about-hero__sub { font-size: var(--text-lg); color: var(--ink-inverse-muted); }

@media (min-width: 1024px) {
    .about-hero { padding-block: var(--space-3xl) var(--space-2xl); }
}

/* ── Section rhythm: alternate surface-0 against the body bg ─ */
.about-timeline,
.about-team { background: var(--surface-0); }

/* ── Mission & Vision: two distinct panels. Mission = dark panel with
   pull quote + shield-over-network drawing, Vision = light panel with
   the 60.000+ figure. Stacked on mobile, 7:5 from desktop. ───── */
.about-mv__grid { display: grid; gap: var(--space-lg); }
@media (min-width: 1024px) {
    .about-mv__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: stretch; }
}
.about-mv__item {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
@media (min-width: 768px) {
    .about-mv__item { padding: var(--space-xl); }
}
.about-mv__item--mission {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(30, 111, 224, .35), transparent 60%),
        var(--blue-900);
    box-shadow: var(--shadow-md);
}
.about-mv__item--vision {
    background: linear-gradient(160deg, var(--blue-100), var(--surface-0) 70%);
    border: 1px solid var(--line-200);
    box-shadow: var(--shadow-sm);
}
.about-mv__label {
    display: block;
    font-size: var(--text-sm); font-family: var(--font-body);
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--blue-700);
    margin-bottom: var(--space-sm);
}
.about-mv__item--mission .about-mv__label { color: var(--cyan-300); }
.about-mv__lead {
    font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.3;
    color: var(--ink-900); margin-bottom: var(--space-md); max-width: 36ch;
}
.about-mv__item--mission .about-mv__lead {
    font-size: var(--text-2xl-fluid); line-height: 1.2; color: #fff;
    padding-left: var(--space-md); border-left: 3px solid var(--cyan-300);
    margin-bottom: var(--space-lg);
}
.about-mv__text { font-size: var(--text-md); color: var(--ink-600); margin-bottom: var(--space-sm); max-width: 65ch; }
.about-mv__item--mission .about-mv__text { color: var(--ink-inverse); }
.about-mv__text:last-child { margin-bottom: 0; }

/* Decorative shield over a network (aria-hidden). Final state is the
   static drawing, hero-anim.js pops the nodes in once. */
.about-mv__net { width: 100%; max-width: 200px; margin-bottom: var(--space-md); color: var(--cyan-300); }
.about-mv__net svg { display: block; width: 100%; height: auto; overflow: visible; }
.about-mv__net-lines { opacity: .35; }
.about-mv__net-nodes { opacity: .8; }
.about-mv__net-shieldbody { fill: rgba(91, 203, 227, .14); stroke: currentColor; }
.about-mv__net .hva-pop { transform-box: fill-box; transform-origin: center; }
@media (min-width: 768px) {
    .about-mv__net { position: absolute; top: var(--space-xl); right: var(--space-xl); width: 180px; margin: 0; }
    .about-mv__item--mission .about-mv__label,
    .about-mv__item--mission .about-mv__lead { max-width: calc(100% - 200px); }
    .about-mv__item--mission .about-mv__lead { max-width: min(36ch, calc(100% - 200px)); }
}

/* Vision figure */
.about-mv__figure { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-lg); }
.about-mv__figure-value {
    font-family: var(--font-display); font-weight: 800; line-height: 1;
    font-size: clamp(52px, 8vw, 76px); color: var(--blue-700);
    font-variant-numeric: tabular-nums;
}
.about-mv__figure-label { font-size: var(--text-md); font-weight: 600; color: var(--ink-900); max-width: 28ch; }

/* ── Chronik: vertical timeline with an icon circle per entry
   (mobile: line left; from 768px: year column | line | text) ── */
.timeline {
    --tl-line: var(--line-200);
    --tl-year-col: 8rem;
    --tl-dot: 44px;
    list-style: none; padding: 0; margin: 0;
    position: relative;
    max-width: 52rem; margin-inline: auto;
}
.timeline::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--tl-dot) / 2 - 1px);
    width: 2px; background: var(--tl-line);
}
.timeline__item {
    position: relative; min-height: var(--tl-dot);
    padding: 0 0 var(--space-lg) calc(var(--tl-dot) + var(--space-md));
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__icon {
    position: absolute; left: 0; top: 0;
    width: var(--tl-dot); height: var(--tl-dot);
    border: 4px solid var(--surface-0); box-sizing: border-box;
    box-shadow: 0 0 0 1px var(--line-200);
}
.timeline__icon > .icon { width: 20px; height: 20px; }
.timeline__year {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: var(--text-md); color: var(--blue-700);
    margin-bottom: var(--space-3xs); padding-top: var(--space-2xs);
}
.timeline__text { margin: 0; }
@media (min-width: 768px) {
    .timeline::before { left: calc(var(--tl-year-col) + var(--space-xl) - 1px); }
    .timeline__item {
        display: grid; grid-template-columns: var(--tl-year-col) minmax(0, 1fr);
        column-gap: calc(var(--space-xl) * 2);
        padding: 0 0 var(--space-xl) 0;
    }
    .timeline__icon { left: calc(var(--tl-year-col) + var(--space-xl) - var(--tl-dot) / 2); }
    .timeline__year { text-align: right; margin: 0; padding-top: var(--space-sm); }
    .timeline__body { padding-top: var(--space-sm); }
}

/* Founding snapshot: small framed print, slight tilt */
.timeline__snap {
    margin: var(--space-md) 0 0; width: 100%; max-width: 280px;
    background: var(--surface-0); padding: var(--space-xs) var(--space-xs) var(--space-sm);
    border: 1px solid var(--line-200);
    box-shadow: var(--shadow-md);
    transform: rotate(-2deg);
}
.timeline__wide { margin: var(--space-md) 0 0; max-width: 420px; }
.timeline__wide img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.timeline__wide figcaption { margin-top: var(--space-xs); font-size: var(--text-2xs); color: var(--ink-600); }
.timeline__snap img { display: block; width: 100%; height: auto; }
.timeline__snap figcaption {
    margin-top: var(--space-xs); text-align: center;
    font-size: var(--text-2xs); color: var(--ink-600);
}

/* ── Team mosaic ───────────────────────────────────────────── */
.team-founders {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md); max-width: 36rem; margin: 0 auto var(--space-xl);
}
.team-mosaic {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md) var(--space-sm);
}
@media (min-width: 640px) {
    .team-founders { gap: var(--space-lg); }
    .team-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
}
@media (min-width: 1024px) {
    .team-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.team-tile { display: block; text-align: center; min-width: 0; color: inherit; text-decoration: none; }
.team-tile__photo {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
    object-fit: cover; border-radius: var(--radius-md);
    transition: filter 300ms ease;
}
/* Grey-to-colour only where hover exists; touch screens show colour. */
@media (hover: hover) {
    .team-tile__photo { filter: grayscale(1); }
}
.team-tile:hover .team-tile__photo,
.team-tile:focus-within .team-tile__photo,
.team-tile:focus-visible .team-tile__photo { filter: grayscale(0); }
@media (prefers-reduced-motion: reduce) {
    .team-tile__photo { transition: none; }
}
.team-tile__photo--monogram {
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-100); color: var(--blue-700);
    font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
}
.team-tile__name, .team-tile__role {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; overflow-wrap: anywhere; margin: 0;
}
.team-tile__name {
    margin-top: var(--space-xs); font-family: var(--font-body);
    font-size: var(--text-xs); font-weight: 700; line-height: 1.25; color: var(--ink-900);
}
.team-tile__role { font-size: var(--text-2xs); line-height: 1.3; color: var(--ink-600); margin-top: var(--space-3xs); }
.team-tile--founder .team-tile__name { font-size: var(--text-md); }
.team-tile--founder .team-tile__role { font-size: var(--text-sm); }
.team-tile--founder .team-tile__photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.team-tile:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 3px; border-radius: var(--radius-md); }

/* "Du?" tile */
.team-tile--join .team-tile__photo--join {
    display: flex; align-items: center; justify-content: center;
    filter: none; background: transparent;
}
.team-tile__plus {
    display: flex; align-items: center; justify-content: center;
    width: 72%; aspect-ratio: 1; border-radius: var(--radius-full);
    border: 2px dashed var(--blue-500); background: var(--blue-100); color: var(--blue-700);
    transition: background-color 300ms ease;
}
.team-tile__plus svg { width: 40%; height: 40%; }
.team-tile--join:hover .team-tile__plus { background: var(--surface-0); }
@media (prefers-reduced-motion: reduce) {
    .team-tile__plus { transition: none; }
}

/* ── Pedigree: logo tiles follow the stat tiles ────────────── */
.about-pedigree__logos { margin-top: var(--space-lg); }
/* Real logo images: main.css caps card logos at 32px (wordmark
   scale); the 96px-high PNGs read better at 40px — same height the
   trust strip uses. Fixed height + width:auto keeps CLS at 0. Wide
   logo + long pill may not share one row on phones → allow wrap. */
.about-pedigree__logos .reference-card__logo {
    height: auto; width: auto;
    max-height: 56px; max-width: 180px; /* dual caps balance wide vs. compact marks */
}
.about-pedigree__logos .reference-card__head {
    flex-direction: column; align-items: center; justify-content: center;
    gap: var(--space-sm);
    min-height: 112px; text-align: center;
}

/* ── Values (3-up card grid; stacks on mobile) ─────────────── */
.about-values__grid {
    display: grid; gap: var(--space-lg);
    list-style: none; padding: 0;
}
@media (min-width: 768px) {
    .about-values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.about-values__item {
    background: var(--surface-0);
    border: 1px solid var(--line-200);
    border-top: 4px solid var(--blue-700);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl) var(--space-lg);
}
/* Icon circle: .icon-circle--lg from main.css (--icon-circle tokens);
   blue-700 on blue-100 for AA, accent stays reserved for checks. */
.about-values__icon { margin-bottom: var(--space-md); }
.about-values__title {
    font-size: var(--text-xl); font-weight: 700; color: var(--ink-900);
    margin: 0 0 var(--space-xs);
}
.about-values__text { margin: 0; color: var(--ink-600); }
