/* ==========================================================================
   Jobriver v2 – Autorenprofil (Ergänzung zu karriere-2.css)
   Karten, Filterleiste, Raster und Abschluss-Band kommen aus den k2-Bausteinen
   des Karriere-Magazins; hier steht nur der Profilkopf und die Kennzahlen.
   Styleguide: docu/design/v2-styleguide.md
   ========================================================================== */

/* ---------- Profilkopf ---------- */
.a2-hero { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.a2-hero__inner { max-width: 980px; }
.a2-crumbs { margin-bottom: clamp(24px, 3vw, 36px); }
.a2-crumbs span:last-child { color: var(--ink-2); }
.a2-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.a2-photo { position: relative; width: clamp(132px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; padding: 6px; background: conic-gradient(from 210deg, var(--brand), #c79bff, #ffb3d9, var(--brand)); box-shadow: var(--shadow); }
.a2-photo img, .a2-photo__ini { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); background: var(--tint); }
.a2-photo__ini { display: grid; place-items: center; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; color: var(--brand-700); }
.a2-id { display: flex; flex-direction: column; align-items: flex-start; }
.a2-name { margin-top: 10px; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; overflow-wrap: break-word; }
.a2-role { margin-top: 12px; font-size: var(--fs-lead); color: var(--ink-2); }
.a2-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.a2-links .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a2-links .btn svg path[fill="currentColor"] { stroke: none; }
.a2-bio { max-width: 720px; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.a2-bio p + p { margin-top: 1em; }

/* ---------- Kennzahlenband ---------- */
.a2-stats { margin: 0 var(--edge); padding: clamp(28px, 4vw, 44px) 0; border-radius: var(--r-xl); background: var(--tint); border: 1px solid var(--line); }
.a2-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.a2-stats__grid > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 6px 0 6px 18px; border-left: 2px solid var(--brand-200); }
.a2-stats__grid > div:first-child { border-left-color: var(--brand); }
.a2-stats dt { font-size: .875rem; font-weight: 550; color: var(--muted); }
.a2-stats dd { margin: 0; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.a2-stats__note { margin-top: 18px; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Beiträge ---------- */
.a2-browse { padding-top: clamp(56px, 7vw, 96px); }
.a2-browse__head { margin-bottom: 24px; }
.a2-none { color: var(--muted); }
.a2-find { position: relative; display: flex; align-items: center; flex: 1 1 220px; max-width: 320px; }
.a2-find svg { position: absolute; left: 14px; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.a2-find input { width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: .9375rem; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.a2-find input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(114, 79, 255, .15); }
.a2 .k2-filterbar .k2-count { flex-basis: 100%; }
.a2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.a2-src { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }

.a2-page .btn--light { background: #fff; color: var(--plum); }
.a2-page .btn--light:hover { background: #f1ecff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .a2-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    .a2-find { max-width: none; }
}
@media (max-width: 560px) {
    .a2-head { grid-template-columns: minmax(0, 1fr); justify-items: start; }
    .a2-photo { width: 120px; }
}
