/* ==========================================================================
   Jobriver v2 – Programmiersprachen-Vergleich („Duell“)
   Basis: v2-core.css · Styleguide: docu/design/v2-styleguide.md
   Diagrammfarben A/B mit dataviz-Validator geprüft (hell #724fff/#0f9d8a,
   dunkel #8466ff/#1aa893). Markenfarben nur in den Duell-Flächen.
   ========================================================================== */

:root { --ca: #724fff; --cb: #0f9d8a; --ca-soft: rgba(114, 79, 255, .16); --cb-soft: rgba(15, 157, 138, .16); }
:root[data-theme="dark"] { --ca: #8466ff; --cb: #1aa893; --ca-soft: rgba(132, 102, 255, .2); --cb-soft: rgba(26, 168, 147, .2); }

.pv-title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; text-align: center; }
.pv-title span { background: linear-gradient(100deg, var(--brand-700), var(--brand) 50%, #b06bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-a { color: var(--ca); } .t-b { color: var(--cb); }

/* ---------- Kopf ---------- */
.pv-head { position: relative; padding: calc(72px + clamp(40px, 6vw, 80px)) 0 clamp(24px, 3vw, 40px); overflow: hidden; isolation: isolate; }
.pv-head__glow { position: absolute; inset: -20% -10% 0; z-index: -1; opacity: var(--hero-glow-o); background: radial-gradient(35% 55% at 15% 30%, rgba(178, 157, 255, .45), transparent 70%), radial-gradient(30% 50% at 85% 25%, rgba(15, 157, 138, .22), transparent 70%); filter: blur(24px); -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); mask-image: linear-gradient(#000 45%, transparent 92%); }
.pv-head__inner { display: flex; flex-direction: column; align-items: center; }
.pv-sub { max-width: 640px; margin: 18px auto 0; text-align: center; font-size: var(--fs-lead); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; margin-top: 24px; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); }

/* ---------- Duell-Bühne ---------- */
.duel { padding: 8px 0 0; }
.duel__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr); margin: 0 var(--edge); }
.side { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: clamp(28px, 4vw, 56px); overflow: hidden; isolation: isolate; background: color-mix(in oklab, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in oklab, var(--c) 30%, var(--line)); }
:root[data-theme="dark"] .side { background: color-mix(in oklab, var(--c) 18%, var(--surface)); }
.side--a { border-radius: var(--r-xl) 0 0 var(--r-xl); border-right: 0; align-items: flex-start; text-align: left; animation: inA .7s var(--ease) both; }
.side--b { border-radius: 0 var(--r-xl) var(--r-xl) 0; border-left: 0; align-items: flex-end; text-align: right; animation: inB .7s var(--ease) both; }
@keyframes inA { from { opacity: 0; transform: translateX(-40px); } }
@keyframes inB { from { opacity: 0; transform: translateX(40px); } }
.side::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--c) 45%, transparent), transparent 65%); filter: blur(30px); opacity: .55; top: -30%; }
.side--a::before { left: -20%; } .side--b::before { right: -20%; }
.side__pick { display: flex; flex-direction: column; align-items: inherit; gap: 6px; max-width: 100%; padding: 0; border: 0; background: none; text-align: inherit; color: var(--ink); }
.side__tile .tlogo { width: 72px; height: 72px; border-radius: 20px; font-size: 1.35rem; margin-bottom: 18px; box-shadow: 0 18px 40px -16px var(--c); }
.side__cat { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side__name { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.8rem); line-height: 1; font-weight: 650; letter-spacing: -.05em; overflow-wrap: anywhere; }
.side__tag { max-width: 34ch; margin-top: 6px; color: var(--ink-2); line-height: 1.45; }
.side__change { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); font-size: .875rem; font-weight: 600; transition: background-color .2s, transform .2s var(--ease); }
.side__change svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side__pick:hover .side__change { background: var(--surface); transform: translateY(-1px); }
.side__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: auto 0 0; padding-top: 28px; }
.side--b .side__facts { justify-content: flex-end; }
.side__facts dt { font-size: .75rem; color: var(--muted); }
.side__facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* VS-Medaillon */
.vs { position: relative; z-index: 3; align-self: center; justify-self: center; display: grid; place-items: center; width: 0; }
.vs__ring { position: absolute; width: 124px; height: 124px; border-radius: 50%; background: conic-gradient(from 0deg, var(--ca), #c48bff, var(--cb), var(--ca)); animation: spin 6s linear infinite; }
.vs__ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.vs__txt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 2rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; } /* absolut wie der Ring: der Container ist 0 px breit/hoch, im Fluss rutschte der Text vom Mittelpunkt weg */
.vs__swap { position: absolute; top: 74px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .2s; }
.vs__swap svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vs__swap:hover { transform: rotate(180deg); border-color: var(--brand); }

.verdict { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; padding: 0 16px; text-align: center; font-size: 1.125rem; font-weight: 600; }
.verdict svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Kapitel-Navigation (wie Gehaltsvergleich) */
.chap { position: sticky; top: 80px; z-index: 30; display: flex; justify-content: center; margin-top: 28px; padding: 10px 16px; pointer-events: none; }
.chap__pill { display: flex; gap: 2px; max-width: 100%; padding: 5px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--nav-glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); box-shadow: var(--shadow-sm); pointer-events: auto; }
.chap__pill::-webkit-scrollbar { display: none; }
.chap__pill a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: .875rem; font-weight: 550; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.chap__pill a:hover { background: rgba(114, 79, 255, .08); color: var(--ink); }
.chap__pill a.is-on { background: var(--ink); color: var(--bg); }

/* ---------- Blöcke ---------- */
.block { padding: clamp(64px, 8vw, 104px) 0; scroll-margin-top: 130px; }
.block--tint { background: var(--tint); }
.block__head { max-width: 720px; margin-bottom: 32px; }
.block__head--center { margin-inline: auto; text-align: center; }
.block__lead { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 20px; font-size: .875rem; font-weight: 550; }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 4px; vertical-align: -1px; }
.lg--a::before { background: var(--ca); } .lg--b::before { background: var(--cb); }

/* Arbeitsmarkt */
.mk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mk__card { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.mk__card--wide { grid-column: 1 / -1; }
.mk__card h3 { margin-bottom: 18px; font-size: 1rem; font-weight: 600; }
.mk__note { margin-top: 14px; color: var(--ink-2); }
.mk__base { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.mk__none { color: var(--muted); }
.tug { display: flex; gap: 2px; height: 56px; }
.tug span { position: relative; display: flex; align-items: center; min-width: 56px; flex: var(--g) 1 0; padding: 0 16px; color: #fff; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; transform-origin: left; animation: grow .9s var(--ease) both; }
.tug__a { background: var(--ca); border-radius: 14px 4px 4px 14px; }
.tug__b { justify-content: flex-end; background: var(--cb); border-radius: 4px 14px 14px 4px; transform-origin: right; }
@keyframes grow { from { transform: scaleX(.2); opacity: 0; } }
.pbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 52px; align-items: center; gap: 12px; padding: 6px 0; }
.pbar__n { font-size: .9375rem; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbar__t { height: 12px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.pbar__t i { display: block; height: 100%; width: var(--w); border-radius: 0 4px 4px 0; animation: grow .9s var(--ease) both; transform-origin: left; }
.pbar--a i { background: var(--ca); } .pbar--b i { background: var(--cb); }
.pbar__v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.sal { display: grid; gap: 10px; }
.sal__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px; align-items: center; gap: 14px; }
.sal__n { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sal__t { position: relative; height: 26px; border-radius: 8px; background: var(--tint); }
.sal__t--empty { display: flex; align-items: center; padding: 0 12px; height: auto; min-height: 26px; font-size: .8125rem; color: var(--muted); background: none; border: 1px dashed var(--line-2); }
.sal__band { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; }
.sal__row--a .sal__band { background: var(--ca-soft); box-shadow: inset 0 0 0 1.5px var(--ca); }
.sal__row--b .sal__band { background: var(--cb-soft); box-shadow: inset 0 0 0 1.5px var(--cb); }
.sal__med { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; box-shadow: 0 0 0 2px var(--surface); }
.sal__row--a .sal__med { background: var(--ca); } .sal__row--b .sal__med { background: var(--cb); }
.sal__v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.sal__v small { display: block; font-size: .75rem; font-weight: 450; color: var(--muted); }
.sal__axis { display: flex; justify-content: space-between; gap: 12px; margin: 4px 124px 0; font-size: .75rem; color: var(--muted); }
.cities { list-style: none; display: grid; gap: 4px; counter-reset: c; }
.cities a { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1.2fr) 44px; align-items: center; gap: 10px; padding: 6px 8px; margin-inline: -8px; border-radius: 10px; transition: background-color .15s; }
.cities a::before { counter-increment: c; content: counter(c); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cities a:hover { background: var(--tint); }
.cities span { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cities i { height: 8px; border-radius: 999px; width: var(--w); }
.cities--a i { background: var(--ca); } .cities--b i { background: var(--cb); }
.cities b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Eignung */
.eig { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "copy radar" "table radar"; gap: 16px 48px; align-items: start; }
.eig__copy { grid-area: copy; }
.radar { grid-area: radar; position: relative; margin: 0; }
.eig__table { grid-area: table; }
.eig__score { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.eig__score b { font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.eig__score span { font-size: 2rem; color: var(--muted); }
.eig__score small { margin-left: 8px; color: var(--muted); }
.radar svg { width: 100%; height: auto; overflow: visible; }
.radar__ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.radar__axis { stroke: var(--line); stroke-width: 1; }
.radar__lbl { font: 550 12px var(--font); fill: var(--ink-2); }
.radar__num { display: none; font: 700 22px var(--font); fill: var(--ink-2); }
.eig__no { display: none; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--tint); font-size: .75rem; font-weight: 700; vertical-align: 1px; }
.radar__poly { stroke-width: 2; stroke-linejoin: round; transform-origin: 230px 210px; animation: radarIn .9s var(--ease) both; }
.radar__poly--a { fill: var(--ca-soft); stroke: var(--ca); }
.radar__poly--b { fill: var(--cb-soft); stroke: var(--cb); animation-delay: .12s; }
@keyframes radarIn { from { transform: scale(0); opacity: 0; } }
.radar__dot { stroke: var(--surface); stroke-width: 2; }
.radar__dot--a { fill: var(--ca); } .radar__dot--b { fill: var(--cb); }
.radar__hit line { stroke: transparent; stroke-width: 26; stroke-linecap: round; }
.radar__hit { cursor: pointer; outline: none; }
.radar__hit:hover .radar__dot, .radar__hit:focus-visible .radar__dot { r: 6.5; }
.radar__hit:focus-visible line { stroke: rgba(114, 79, 255, .12); }
.tip { position: absolute; z-index: 5; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: .8125rem; font-weight: 550; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); box-shadow: var(--shadow); }
.tip[hidden] { display: none; }
.eig__table table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.eig__table th, .eig__table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.eig__table thead th { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.eig__table thead th.t-a { color: var(--ca); } .eig__table thead th.t-b { color: var(--cb); }
.eig__table td { font-weight: 600; font-variant-numeric: tabular-nums; }
.eig__table td small { display: block; font-size: .75rem; font-weight: 450; color: var(--muted); }
.eig__table td.is-win { position: relative; }
.eig__table td.is-win::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--mint); vertical-align: 2px; }
.eig__table tbody th { font-weight: 550; }

/* Steckbrief */
.tape { max-width: 900px; margin: 0 auto; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tape__head, .tape__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .7fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 28px; }
.tape__head { font-size: 1.375rem; font-weight: 650; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.tape__head .t-b, .tape__v--b { text-align: right; justify-self: end; }
.tape__row { border-bottom: 1px solid var(--line); transition: background-color .15s; }
.tape__row:hover { background: var(--tint); }
.tape__l { text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tape__v { font-weight: 550; color: var(--ink-2); }
.tape__v.is-win { color: var(--ink); }
.dots { display: inline-flex; gap: 5px; vertical-align: middle; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.dots--a i.on { background: var(--ca); } .dots--b i.on { background: var(--cb); }
.tape__v.is-win .dots i.on { box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 0%, transparent); }
.tape__v.is-win::after { content: "Vorteil"; display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 6px; background: color-mix(in oklab, var(--mint) 14%, transparent); color: var(--mint); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.tape__v--b.is-win::after { margin: 0 10px 0 0; }
.tape__v--b.is-win { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; }
.tape__sum { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 28px 26px; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.tape__sum p:last-child { text-align: right; }
.trust { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 900px; margin: 18px auto 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.trust svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Stärken & Schwächen */
.pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pc__card { padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.pc__card header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pc__card h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -.025em; }
.pc__h { margin: 16px 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pc__h--pro { color: var(--mint); } .pc__h--con { color: #d6457a; }
:root[data-theme="dark"] .pc__h--con { color: #e0628f; }
.pc__list { list-style: none; display: grid; gap: 8px; }
.pc__list li { position: relative; padding-left: 28px; line-height: 1.5; color: var(--ink-2); }
.pc__list li::before { position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .75rem; font-weight: 700; }
.pc__list--pro li::before { content: "+"; background: color-mix(in oklab, var(--mint) 16%, transparent); color: var(--mint); }
.pc__list--con li::before { content: "–"; background: rgba(214, 69, 122, .14); color: #d6457a; }
.pc__card .link-arrow { margin-top: 20px; }

/* Finder */
.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.finder fieldset { margin: 22px 0 0; padding: 0; border: 0; }
.finder legend { margin-bottom: 10px; font-weight: 600; }
.finder__rule { margin-top: 22px; font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.seg2 { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.seg2 button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 550; color: var(--muted); transition: background-color .2s, color .2s; }
.seg2 button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.finder__res { position: sticky; top: 140px; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.podium { list-style: none; display: grid; gap: 10px; counter-reset: p; }
.podium li { display: grid; grid-template-columns: 34px 44px minmax(0, 1fr) 52px; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--tint); animation: rise .5s var(--ease) both; }
.podium li:nth-child(1) { background: var(--brand-50); box-shadow: inset 0 0 0 1.5px var(--brand); }
.podium li:nth-child(2) { animation-delay: .07s; } .podium li:nth-child(3) { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.podium li::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .875rem; }
.podium .tlogo { width: 44px; height: 44px; }
.podium strong { display: block; font-weight: 600; }
.podium small { display: block; font-size: .8125rem; color: var(--muted); }
.podium i { display: block; height: 6px; margin-top: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #b28dff); width: var(--w); }
.podium b { text-align: right; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.finder__go { width: 100%; margin-top: 18px; }

/* Weitere Duelle (Personio: Karten mit „Vergleichen →“) */
.duels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.duelcard { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.duelcard:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.duelcard__tiles { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.duelcard__tiles i { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.duelcard strong { font-size: 1.125rem; font-weight: 600; }
.duelcard__tag { font-size: .875rem; color: var(--muted); }
.duelcard__bar { display: block; height: 6px; margin: 10px 0 4px; border-radius: 999px; background: var(--cb); overflow: hidden; }
.duelcard__bar i { display: block; height: 100%; width: var(--w); background: var(--ca); border-right: 2px solid var(--surface); }
.duelcard__go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--brand-700); }
.duelcard__go::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
.duelcard:hover .duelcard__go::after { transform: translateX(4px); }

/* Verzeichnis aller Paar-Seiten (nur Übersicht) */
.pv-dir { border-top: 1px solid var(--line); }
.pv-dir__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 32px 40px; }
.pv-dir__h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; }
.pv-dir__h span { font-size: .8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-dir__list { list-style: none; display: grid; gap: 2px; }
.pv-dir__list a { display: block; padding: 6px 0; color: var(--ink); overflow-wrap: anywhere; transition: color .2s; }
.pv-dir__list a:hover { color: var(--brand-700); }
.pv-dir__list a::after { content: " →"; color: var(--muted); }

/* Abschluss */
.pv-end { margin: 0 var(--edge); padding: clamp(48px, 6vw, 80px) 0; border-radius: var(--r-xl); background: radial-gradient(80% 120% at 85% 0%, #3b2580, var(--plum) 70%); color: #d9d2ee; }
.pv-end__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.pv-end p { margin-top: 10px; color: #cfc4f3; }
.pv-end__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: #f1ecff; }
.btn--ghost-dark { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .1); }

/* 404 */
.pv-404 { padding: calc(72px + 96px) 0 96px; text-align: center; }
.pv-404 .chips { justify-content: center; margin-top: 24px; }
.pv-404 .block__lead { max-width: 560px; margin-inline: auto; }

/* Auswahl-Dialog */
.picker { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.picker[hidden] { display: none; }
.picker__scrim { position: absolute; inset: 0; background: rgba(13, 10, 20, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s both; }
@keyframes fade { from { opacity: 0; } }
.picker__box { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(680px, calc(100dvh - 32px)); padding: 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: pop .3s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.picker__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.picker__h { font-weight: 650; font-size: 1.125rem; }
.picker__x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); }
.picker__q { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); font: inherit; color: var(--ink); outline: none; }
.picker__q:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(114, 79, 255, .15); }
.picker__list { flex: 1; overflow-y: auto; margin-top: 10px; padding-right: 4px; }
.picker__cat { margin: 12px 4px 6px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.picker__opt { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: var(--ink); }
.picker__opt .tlogo { width: 40px; height: 40px; border-radius: 12px; }
.picker__opt strong { display: block; font-weight: 600; }
.picker__opt small { display: block; font-size: .8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__opt em { font-style: normal; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.picker__opt:hover, .picker__opt.is-active { background: var(--brand-50); }
.picker__opt:disabled { opacity: .35; cursor: not-allowed; }
.picker__opt[hidden], .picker__cat[hidden] { display: none; }

/* Laden */
.pv-compare.is-loading { opacity: .5; transition: opacity .2s; pointer-events: none; }

/* Technologie-Kacheln (wie Startseite) */
.tlogo { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--c); color: var(--ink); font-size: .8125rem; font-weight: 700; letter-spacing: -.01em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .faq { grid-template-columns: minmax(0, 1fr); }
    .eig { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "radar" "table"; }
    .finder { grid-template-columns: minmax(0, 1fr); }
    .finder__res { position: static; }
    .duels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .duel__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 0 auto; }
    .side { min-height: 0; padding: 28px 22px 36px; }
    .side--a { padding-bottom: 64px; }
    .side--a { border-radius: var(--r-xl) var(--r-xl) 0 0; border-right: 1px solid color-mix(in oklab, var(--c) 30%, var(--line)); border-bottom: 0; }
    .side--b { border-radius: 0 0 var(--r-xl) var(--r-xl); border-left: 1px solid color-mix(in oklab, var(--c) 30%, var(--line)); border-top: 0; align-items: flex-start; text-align: left; padding-top: 48px; }
    .side--b .side__facts { justify-content: flex-start; }
    .vs { width: 100%; height: 0; }
    .vs__ring { width: 84px; height: 84px; }
    .vs__txt { font-size: 1.4rem; }
    .vs__swap { top: auto; left: calc(50% + 50px); width: 40px; height: 40px; }
    .side__tile .tlogo { width: 56px; height: 56px; font-size: 1.1rem; margin-bottom: 12px; }
    .mk { grid-template-columns: minmax(0, 1fr); }
    .sal__row { grid-template-columns: 84px minmax(0, 1fr) 84px; gap: 10px; }
    .sal__axis { margin-inline: 0; flex-wrap: wrap; }
    .pbar { grid-template-columns: 84px minmax(0, 1fr) 46px; }
    .tape__head, .tape__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; row-gap: 6px; padding: 12px 16px; }
    .tape__l { grid-column: 1 / -1; grid-row: 1; text-align: left; }
    .tape__head span:nth-child(2) { display: none; }
    .tape__head { font-size: 1.05rem; }
    .tape__v.is-win::after { display: none; }
    .tape__sum { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
    .tape__sum p:last-child { text-align: left; }
    .pc, .duels { grid-template-columns: minmax(0, 1fr); }
    .chap { top: 78px; padding-inline: 16px; }
    .radar__lbl { display: none; }
    .radar__num { display: block; }
    .eig__no { display: inline-grid; }
    .eig__table tbody th { background: none; }
}
@media (prefers-reduced-motion: reduce) {
    .vs__ring, .side--a, .side--b, .radar__poly, .tug span, .pbar__t i, .podium li { animation: none !important; }
}

/* Mobil-Feinschliff (Audit 11.10.2026) */
@media (max-width: 560px) {
    .tape__v { min-width: 0; overflow-wrap: anywhere; }
    .seg2 { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
    .seg2 button { flex: 1 0 auto; padding: 0 12px; }
    .sal__axis > :nth-child(2) { order: 3; flex-basis: 100%; text-align: center; }
}
