/* ==========================================================================
   Jobriver v2 – IT-Arbeitsmarkt-Report (Datenjournalismus-Layout)
   Basis: v2-core.css · Styleguide: docu/design/v2-styleguide.md
   Diagrammfarben (dataviz-Validator, alle Prüfungen bestanden):
   - Ordinal-Rampe Arbeitsmodell/Erfahrung hell #ab95ff → #7a5cf0 → #4626b8,
     dunkel #5a43a8 → #8a6bff → #c4b4ff
   - Veränderung: plus #0f9d8a / #1aa893, minus #d6457a / #e0628f (Styleguide Kap. 15)
   ========================================================================== */

:root {
    --rv-s1: #724fff;
    --rv-o1: #ab95ff;
    --rv-o2: #7a5cf0;
    --rv-o3: #4626b8;
    --rv-na: #d9d4e4;
    --rv-up: #0f9d8a;
    --rv-down: #d6457a;
    --rv-grid: #ece8f4;
    --rv-axis: #6b6480;
    --rv-cover: radial-gradient(45% 60% at 20% 30%, #c9b8ff, transparent 70%), radial-gradient(40% 55% at 80% 25%, #ffc2e2, transparent 70%), radial-gradient(50% 60% at 55% 85%, #b6c8ff, transparent 70%);
    --rv-dark-bg: radial-gradient(70% 60% at 20% 0%, #2c1d55, #120c1e 70%);
}
:root[data-theme="dark"] {
    --rv-s1: #8a6bff;
    --rv-o1: #5a43a8;
    --rv-o2: #8a6bff;
    --rv-o3: #c4b4ff;
    --rv-na: #3b3150;
    --rv-up: #1aa893;
    --rv-down: #e0628f;
    --rv-grid: #2a2238;
    --rv-axis: #a59dbb;
    --rv-cover: radial-gradient(45% 60% at 20% 30%, #3b2585, transparent 70%), radial-gradient(40% 55% at 80% 25%, #4a1d45, transparent 70%), radial-gradient(50% 60% at 55% 85%, #1d2d63, transparent 70%);
}

.rv-main { --chap-h: 56px; }
.rv-h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.rv-h2--center { text-align: center; }
.rv-h2--light { color: #fff; }
.rv-sub { margin-top: 12px; max-width: 760px; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.rv-sub a { color: var(--brand-700); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }
.rv-narrow { max-width: 920px; }
.rv-note { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.rv-note--dark { color: #b8afd0; }

/* ---------- Cover ---------- */
.rv-cover { position: relative; isolation: isolate; overflow: hidden; padding: calc(72px + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); text-align: center; }
.rv-cover__mesh { position: absolute; inset: -10% -5% 10%; z-index: -2; filter: blur(30px); opacity: .9; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.rv-cover__mesh i { position: absolute; inset: 0; background: var(--rv-cover); animation: rvMesh 18s ease-in-out infinite alternate; }
.rv-cover__mesh i:nth-child(2) { animation-duration: 23s; animation-direction: alternate-reverse; opacity: .6; transform: scale(1.2); }
.rv-cover__mesh i:nth-child(3) { display: none; }
@keyframes rvMesh { to { transform: translate(3%, -4%) scale(1.08) rotate(3deg); } }
.rv-cover__dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(color-mix(in oklab, var(--ink) 18%, transparent) 1.1px, transparent 1.2px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(60% 50% at 50% 35%, #000, transparent); mask-image: radial-gradient(60% 50% at 50% 35%, #000, transparent); opacity: .5; }
.rv-cover__inner { display: flex; flex-direction: column; align-items: center; }
.rv-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.rv-kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.rv-kicker__dot.is-live { background: var(--mint); animation: rvPulse 2.2s infinite; }
@keyframes rvPulse { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(18, 184, 134, 0); } }
.rv-title { margin-top: 26px; font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.rv-title__month { display: block; margin-top: .14em; font-size: .62em; letter-spacing: -.04em; background: linear-gradient(100deg, var(--brand-700), var(--brand) 45%, #c06bff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.rv-lead { margin-top: 22px; max-width: 700px; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.rv-lead strong { color: var(--ink); }
.rv-months { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rv-month { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 550; color: var(--ink-2); transition: background-color .2s, color .2s; }
.rv-month small { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.rv-month:hover { background: rgba(114, 79, 255, .1); color: var(--ink); }
.rv-month.is-on { background: var(--ink); color: var(--bg); }
.rv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.rv-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rv-meta { margin-top: 14px; font-size: .8125rem; color: var(--muted); }

.rv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 1100px; margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.rv-kpi { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--glass-strong); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.rv-kpi__l { font-size: .8125rem; font-weight: 550; color: var(--muted); }
.rv-kpi__v { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rv-delta { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rv-delta small { font-weight: 450; color: var(--muted); }
.rv-delta i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; }
.rv-delta--up i { border-bottom: 7px solid var(--rv-up); }
.rv-delta--down i { border-top: 7px solid var(--rv-down); }
.rv-delta--flat i { width: 10px; height: 2px; border: 0; border-radius: 2px; background: var(--muted); }

/* ---------- Kapitel-Navigation ---------- */
.rv-chap { position: sticky; top: 80px; z-index: 30; display: flex; justify-content: center; padding: 10px 16px; pointer-events: none; }
.rv-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; }
.rv-chap__pill::-webkit-scrollbar { display: none; }
.rv-chap__pill a { flex: none; display: inline-flex; align-items: baseline; gap: 6px; 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; }
.rv-chap__pill a span { font-size: .6875rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-chap__pill a:hover { background: rgba(114, 79, 255, .08); color: var(--ink); }
.rv-chap__pill a.is-on { background: var(--ink); color: var(--bg); }
.rv-chap__pill a.is-on span { color: color-mix(in oklab, var(--bg) 70%, transparent); }

/* ---------- Intro: Wörter färben sich beim Scrollen ---------- */
.rv-intro { padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 4vw, 56px); }
.rv-intro__text { font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.6rem); line-height: 1.25; font-weight: 600; letter-spacing: -.03em; }
.rv-intro__text span { color: color-mix(in oklab, var(--ink) 22%, transparent); transition: color .35s; }
.rv-intro__text span.is-lit { color: var(--ink); }
.rv-intro__text span.is-lit:nth-child(-n+4) { color: var(--brand-700); }
.rv-archive-note { margin-top: 22px; padding: 12px 16px; border-radius: 12px; background: var(--brand-50); color: var(--ink-2); font-size: .9375rem; }

/* ---------- Kernaussagen ---------- */
.rv-findings { padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 8vw, 104px); }
.rv-find__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.rv-find:first-child { grid-column: span 2; }
.rv-find { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(160deg, color-mix(in oklab, var(--brand) 9%, var(--surface)), var(--surface) 60%); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.rv-find:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.rv-find__n { position: absolute; top: 18px; right: 20px; font-size: .75rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-find__tile { margin-bottom: 4px; }
.rv-find__big { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.rv-find__big.is-long { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.rv-find__big small { margin-left: 2px; font-size: .55em; letter-spacing: -.02em; }
.rv-find__t { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.rv-find__go { margin-top: auto; padding-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--brand-700); }
.rv-find__go::after { content: " ↓"; }
.rv-waffle { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.rv-waffle i { aspect-ratio: 1; border-radius: 50%; background: var(--rv-na); transform: scale(.4); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.rv-waffle i.on { background: var(--rv-s1); }
.is-in .rv-waffle i, .rv-waffle.is-in i, .no-js .rv-waffle i { transform: none; opacity: 1; }
.rv-find .rv-waffle i { transition-delay: calc(var(--d, 0) * 1ms); }
.rv-waffle--lg { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; width: min(100%, 340px); margin: 14px auto 0; }
.rv-waffle--lg i { transform: none; opacity: 1; }
.rv-waffle--lg i.w-onsite { background: var(--rv-o1); }
.rv-waffle--lg i.w-hybrid { background: var(--rv-o2); }
.rv-waffle--lg i.w-remote { background: var(--rv-o3); }

/* ---------- Kapitel ---------- */
.rv-sec { padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: calc(80px + var(--chap-h)); }
.rv-sec--tint { background: var(--tint); }
.rv-sec--dark { margin: 0 var(--edge); border-radius: var(--r-xl); background: var(--rv-dark-bg); color: #e9e3fb; }
.rv-sec--dark .rv-h2 { color: #fff; }
.rv-sec--dark .rv-sub { color: #cfc6e6; }
.rv-sec--dark .rv-head__n { color: #fff; -webkit-text-stroke: 0; background: linear-gradient(180deg, #c4b4ff, #6a45d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; margin-bottom: 36px; }
.rv-head__n { font-size: clamp(3.4rem, 2.4rem + 4vw, 6rem); line-height: .85; font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--brand), color-mix(in oklab, var(--brand) 25%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-card { position: relative; margin: 0; padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rv-card + .rv-card, .rv-card + .rv-table, .rv-mini + .rv-table { margin-top: 16px; }
.rv-card--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rv-card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.rv-card__k { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.rv-card--dark .rv-card__k { color: #b8afd0; }
.rv-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.rv-split--tech { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.rv-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rv-stat { display: block; margin-top: 4px; font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rv-crosslink { margin-top: 22px; }
.link-arrow--light { color: #c9b8ff; }

/* Legende */
.rv-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 4px; font-size: .8125rem; color: var(--ink-2); }
.rv-legend span::before, .rv-waffle__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.k-onsite::before { background: var(--rv-o1); }
.k-hybrid::before { background: var(--rv-o2); }
.k-remote::before { background: var(--rv-o3); }
.k-junior::before { background: var(--rv-o1); }
.k-mid::before { background: var(--rv-o2); }
.k-senior::before { background: var(--rv-o3); }
.k-any::before { background: var(--rv-na); }
.k-band::before { background: color-mix(in oklab, var(--rv-s1) 25%, transparent) !important; box-shadow: inset 0 0 0 2px var(--rv-s1); }
.rv-waffle__legend { list-style: none; display: grid; gap: 8px; width: 100%; max-width: 340px; margin-top: 18px; }
.rv-waffle__legend li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); text-align: left; font-size: .9375rem; }
.rv-waffle__legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rv-waffle__legend small { grid-column: 1 / -1; color: var(--muted); font-size: .8125rem; }
.rv-card--center .link-arrow { margin-top: 14px; }

/* ---------- Diagramme (SVG aus JS) ---------- */
.rv-chart { position: relative; height: 320px; margin-top: 10px; }
.rv-chart--mini { height: 120px; }
.rv-chart--find { display: block; flex: none; height: 110px; margin: 6px 0 0; }
.rv-chart--spark { height: 64px; }
.rv-chart--bump { height: 440px; }
.rv-chart--slope { height: 400px; }
.rv-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rv-chart .g-grid line { stroke: var(--rv-grid); stroke-width: 1; shape-rendering: crispEdges; }
.rv-chart .g-axis text, .rv-chart .t-axis { fill: var(--rv-axis); font: 500 11.5px var(--font); font-variant-numeric: tabular-nums; }
.rv-chart .t-label { fill: var(--ink); font: 600 12.5px var(--font); }
.rv-chart .t-val { fill: var(--ink); font: 600 13px var(--font); font-variant-numeric: tabular-nums; }
.rv-chart .t-muted { fill: var(--muted); font: 500 11.5px var(--font); }
.rv-chart .l-main { fill: none; stroke: var(--rv-s1); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rv-chart .a-main { fill: var(--rv-s1); opacity: .1; }
.rv-chart .dot { fill: var(--rv-s1); stroke: var(--surface); stroke-width: 2; }
.rv-chart .dot--peak { fill: var(--surface); stroke: var(--rv-s1); stroke-width: 2.5; }
.rv-chart .annot { stroke: var(--line-2); stroke-width: 1; }
.rv-chart .cross { stroke: var(--rv-axis); stroke-width: 1; opacity: 0; }
.rv-chart.is-hover .cross { opacity: .5; }
.rv-chart .hit { fill: transparent; cursor: crosshair; }
.rv-chart .s-onsite { fill: var(--rv-o1); }
.rv-chart .s-hybrid { fill: var(--rv-o2); }
.rv-chart .s-remote { fill: var(--rv-o3); }
.rv-chart .col.is-dim { opacity: .45; }
.rv-chart .band { fill: var(--rv-s1); opacity: .16; }
.rv-chart .l-band { fill: none; stroke: var(--rv-s1); stroke-width: 2; }
.rv-chart .gap-zone { fill: url(#rv-hatch); }
.rv-chart .gap-lab { fill: #a99fc6; font: 600 11px var(--font); letter-spacing: .02em; }
.rv-chart .hatch-line { stroke: var(--rv-na); stroke-width: 1.5; }
.rv-card--dark .rv-chart .hatch-line { stroke: rgba(255, 255, 255, .16); }
/* Bump */
.rv-chart .bump { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke .2s, stroke-width .2s, opacity .2s; }
.rv-chart .bump-dot { fill: #1b1330; stroke: rgba(255, 255, 255, .35); stroke-width: 2; transition: fill .2s, stroke .2s; }
.rv-chart .bump-g { cursor: pointer; }
.rv-chart .bump-g.is-on .bump { stroke: var(--c); stroke-width: 4; }
.rv-chart .bump-g.is-on .bump-dot { fill: var(--c); stroke: #1b1330; }
.rv-chart.has-on .bump-g:not(.is-on) { opacity: .35; }
.rv-chart .bump-lab { fill: #ece7fb; font: 600 12.5px var(--font); }
.rv-chart .bump-rank { fill: #a99fc6; font: 600 11.5px var(--font); }
.rv-card--dark .rv-chart .t-axis { fill: #a99fc6; }
.rv-card--dark .rv-chart .g-grid line { stroke: rgba(255, 255, 255, .07); }
.rv-chart .bump-tile rect { rx: 5; }
.rv-chart .bump-tile text { font: 700 9px var(--font); }
/* Slope */
.rv-chart .slope { stroke: var(--line-2); stroke-width: 2; transition: stroke .2s, stroke-width .2s; }
.rv-chart .slope.is-up { stroke: var(--rv-up); stroke-width: 2.5; }
.rv-chart .slope.is-down { stroke: var(--rv-down); stroke-width: 2.5; }
.rv-chart .slope-dot { fill: var(--surface); stroke-width: 2.5; }
.rv-chart .slope-g:hover .slope, .rv-chart .slope-g:focus .slope { stroke-width: 4; }
.rv-chart .slope-g { cursor: default; outline: none; }
.rv-chart .slope-hit, .rv-chart .bump-hit { fill: none; stroke: transparent; stroke-width: 16; stroke-linecap: round; }

/* Stacked bar (Erfahrung) */
.rv-stackbar { display: flex; gap: 2px; height: 56px; margin-top: 14px; overflow: hidden; border-radius: 10px; }
.rv-stackbar span { position: relative; display: grid; place-items: center; min-width: 4px; transition: filter .2s; outline: none; }
.rv-stackbar span:hover, .rv-stackbar span:focus-visible { filter: brightness(1.08) saturate(1.1); }
.rv-stackbar em { font-style: normal; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.sb-junior { background: var(--rv-o1); color: #15111f; }
.sb-mid { background: var(--rv-o2); color: #fff; }
.sb-senior { background: var(--rv-o3); color: #fff; }
.sb-any { background: var(--rv-na); color: var(--ink); }
:root[data-theme="dark"] .sb-junior { color: #fff; }
:root[data-theme="dark"] .sb-senior { color: #15111f; }
.js .rv-stackbar span { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease), filter .2s; }
.rv-stackbar.is-in span, .is-in .rv-stackbar span { transform: none; }

.rv-emp { display: grid; grid-template-columns: 90px 1fr 56px; align-items: center; gap: 10px; margin-top: 14px; font-size: .875rem; }
.rv-emp i { height: 10px; border-radius: 999px; background: var(--brand-50); overflow: hidden; }
.rv-emp b { display: block; height: 100%; border-radius: inherit; background: var(--rv-s1); }
.rv-emp em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Tech-Liste */
.rv-tech { list-style: none; display: grid; gap: 4px; margin-top: 12px; }
.rv-tech li { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr) 30% 52px 40px; align-items: center; gap: 10px; padding: 5px 6px; border-radius: 10px; transition: background-color .2s; }
.rv-tech li:hover { background: rgba(255, 255, 255, .05); }
.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); }
.rv-find__tile .tlogo { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 10px 24px -10px var(--c); }
.rv-tech .tlogo { width: 30px; height: 30px; border-radius: 9px; font-size: .6875rem; }
.rv-tech__r { font-size: .75rem; font-weight: 700; color: #a99fc6; text-align: right; font-variant-numeric: tabular-nums; }
.rv-tech__name { font-weight: 550; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-tech__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-tech__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rv-tech__bar b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #8a6bff, #c4b4ff); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) calc(var(--i) * 40ms); }
.is-in .rv-tech__bar b { transform: none; }
.rv-tech__n { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.rv-tech__d { justify-self: end; min-width: 36px; padding: 2px 6px; border-radius: 6px; font-size: .75rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; color: #ece7fb; background: rgba(255, 255, 255, .07); }
.rv-tech__d.is-up { box-shadow: inset 3px 0 0 #1aa893; }
.rv-tech__d.is-down { box-shadow: inset 3px 0 0 #e0628f; }
.rv-tech__d.is-new { box-shadow: inset 3px 0 0 #c4b4ff; }

/* Karte */
.rv-card--map { display: flex; flex-direction: column; }
.rv-map { display: block; width: 100%; max-height: 620px; margin: 6px auto 0; overflow: visible; }
.rv-map__matrix { fill: url(#rv-grid); }
#rv-grid circle { fill: var(--line-2); }
.rv-map__border { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-linejoin: round; }
.rv-map__city { cursor: pointer; outline: none; }
.rv-map__city circle { fill: var(--rv-s1); fill-opacity: .55; stroke: var(--surface); stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: fill-opacity .2s, transform .3s var(--ease); }
.js .rv-card--map:not(.is-in) .rv-map__city circle { transform: scale(0); }
.rv-card--map.is-in .rv-map__city circle { animation: rvPop .7s var(--ease) both; animation-delay: var(--d); }
@keyframes rvPop { from { transform: scale(0); } }
.rv-map__city:hover circle, .rv-map__city:focus circle, .rv-map__city.is-hot circle { fill-opacity: .9; }
.rv-map__city text { fill: var(--ink); font: 600 17px var(--font); text-anchor: middle; paint-order: stroke; stroke: var(--surface); stroke-width: 5px; pointer-events: none; }
.rv-cities { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 18px; }
.rv-cities li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.rv-cities a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-cities a:hover { color: var(--brand-700); }
.rv-cities b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Gehalts-Spannen */
.rv-axis { position: relative; height: 18px; margin: 18px 0 4px; margin-left: calc(36% + 12px); margin-right: 92px; }
.rv-axis span { position: absolute; transform: translateX(-50%); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-roles { list-style: none; display: grid; gap: 2px; }
.rv-roles li { display: grid; grid-template-columns: 36% minmax(0, 1fr) 80px; align-items: center; gap: 12px; padding: 7px 6px; border-radius: 10px; outline: none; transition: background-color .2s; }
.rv-roles li:hover, .rv-roles li:focus-visible { background: var(--brand-50); }
.rv-roles__name { font-size: .9375rem; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-roles__name:hover { color: var(--brand-700); }
.rv-roles__track { position: relative; height: 18px; background: repeating-linear-gradient(90deg, var(--rv-grid) 0 1px, transparent 1px calc(100% / 7)); border-radius: 4px; }
.rv-roles__track i { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: linear-gradient(90deg, color-mix(in oklab, var(--rv-s1) 35%, transparent), var(--rv-s1)); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) calc(var(--i) * 45ms); }
.is-in .rv-roles__track i { transform: none; }
.rv-roles__track b { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); }
.rv-roles__m { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Berufsfelder */
.rv-cats { list-style: none; display: grid; gap: 8px; }
.rv-cats li { display: grid; grid-template-columns: minmax(120px, 28%) minmax(0, 1fr) 70px; align-items: center; gap: 14px; font-size: .9375rem; }
.rv-cats li span { font-weight: 550; }
.rv-cats i { height: 14px; border-radius: 0 999px 999px 0; background: transparent; }
.rv-cats b { display: block; height: 100%; width: var(--w); border-radius: 2px 6px 6px 2px; background: var(--rv-s1); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) calc(var(--i) * 50ms); }
.is-in .rv-cats b { transform: none; }
.rv-cats em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.rv-callout { margin-bottom: 16px; padding: 14px 18px; border-radius: 14px; background: var(--brand-50); color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.rv-callout strong { color: var(--ink); }
.rv-cats li.is-rest b { background: var(--rv-na); }
.rv-cats li.is-rest span { color: var(--muted); }
.rv-card--map .rv-cities { margin-top: 14px; }

.rv-chart.is-empty { display: grid; place-items: center; height: auto; min-height: 64px; }
.rv-chart__empty { padding: 14px; border-radius: 12px; background: var(--tint); color: var(--muted); font-size: .875rem; text-align: center; }
.rv-card--dark .rv-chart__empty { background: rgba(255, 255, 255, .05); color: #b8afd0; }
.rv-tech--nod li { grid-template-columns: 22px 34px minmax(0, 1fr) 34% 52px; }

/* Tabellen-Alternative */
.rv-table { margin-top: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.rv-table summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: .875rem; font-weight: 600; color: var(--brand-700); cursor: pointer; list-style: none; }
.rv-table summary::-webkit-details-marker { display: none; }
.rv-table summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-50); font-weight: 700; }
.rv-table[open] summary::before { content: "−"; }
.rv-table__scroll { overflow-x: auto; padding: 0 16px 14px; }
.rv-table table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.rv-table th, .rv-table td { padding: 8px 10px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.rv-table th:first-child { text-align: left; }
.rv-table thead th { color: var(--muted); font-weight: 600; border-top: 0; }
.rv-table--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.rv-table--dark summary { color: #c9b8ff; }
.rv-table--dark summary::before { background: rgba(255, 255, 255, .08); }
.rv-table--dark th, .rv-table--dark td { border-color: rgba(255, 255, 255, .08); color: #ece7fb; }
.rv-table--dark thead th { color: #a99fc6; }

/* ---------- Frag den Report ---------- */
.rv-ask { margin: 0 var(--edge); padding: clamp(64px, 8vw, 104px) 0; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--brand-50), color-mix(in oklab, #ffc2e2 25%, var(--surface)) 70%); }
:root[data-theme="dark"] .rv-ask { background: linear-gradient(160deg, #1d1533, #22152b 70%); }
.rv-ask__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rv-chat { display: flex; flex-direction: column; padding: 20px; border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 10px var(--glass-weak), var(--shadow-lg); }
.rv-chat__head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rv-chat__log { display: flex; flex-direction: column; gap: 10px; height: 200px; overflow-y: auto; padding: 14px 2px; scrollbar-width: none; }
.rv-chat__hint { margin-top: auto; color: var(--muted); }
.rv-msg { max-width: 92%; padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.5; animation: rvRise .35s var(--ease) both; }
.rv-msg--q { align-self: flex-end; background: var(--plum); color: #fff; border-bottom-right-radius: 5px; }
.rv-msg--a { align-self: flex-start; background: var(--brand-50); border-bottom-left-radius: 5px; }
.rv-msg--a a { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--brand-700); }
@keyframes rvRise { from { opacity: 0; transform: translateY(8px); } }
.rv-chat__qs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.rv-chat__q { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; font-size: .875rem; font-weight: 550; color: var(--ink-2); text-align: left; transition: background-color .2s, border-color .2s, color .2s; }
.rv-chat__q:hover { border-color: var(--brand); color: var(--brand-700); }
.rv-chat__q:disabled { opacity: .45; cursor: default; }
.rv-chat__q.is-used { background: var(--brand-50); border-color: transparent; }

/* ---------- Methodik ---------- */
.rv-method { display: grid; gap: 14px; padding-left: 20px; color: var(--ink-2); line-height: 1.6; }
.rv-method strong { color: var(--ink); }
.rv-card--cite { background: var(--plum); border-color: var(--plum); color: #e9e3fb; }
.rv-card--cite .rv-card__k { color: #c9b8ff; }
.rv-cite { margin: 14px 0 0; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border-left: 3px solid #8a6bff; font-size: .9375rem; line-height: 1.6; }
.rv-cite__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 16px; }
.rv-card--cite .btn--ink { background: #fff; color: var(--plum); }
.rv-card--cite .link-arrow { color: #c9b8ff; }
.rv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.rv-facts div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.rv-facts dt { font-size: .75rem; color: #a99fc6; }
.rv-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .9375rem; }
.rv-faq { margin-top: 40px; max-width: 900px; }

/* ---------- Archiv ---------- */
.rv-archive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rv-arch { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.rv-arch:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--shadow); }
.rv-arch.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(114, 79, 255, .15); }
.rv-arch__m { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.rv-arch__m em { font-style: normal; color: var(--mint); text-transform: uppercase; font-size: .6875rem; letter-spacing: .06em; }
.rv-arch strong { margin-top: 6px; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rv-arch small { font-size: .8125rem; color: var(--ink-2); }
.rv-arch__dl { margin-top: 10px; font-size: .75rem; color: var(--muted); }

/* ---------- Abschluss ---------- */
.rv-end { padding: clamp(80px, 10vw, 128px) 0 clamp(96px, 12vw, 160px); background: var(--cta-grad); }
.rv-end__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rv-end .rv-h2--light { color: var(--ink); }
.rv-end__p { margin-top: 14px; color: var(--ink-2); font-size: var(--fs-lead); }
.rv-end__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: #f1ecff; }
.btn--ghost-dark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .2); }
.rv-end .btn--ghost-dark { background: var(--glass); color: var(--ink); border-color: var(--line-2); }

/* ---------- Tooltip + Toast ---------- */
.rv-tip { position: fixed; z-index: 80; max-width: 260px; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: .8125rem; font-weight: 550; line-height: 1.45; pointer-events: none; box-shadow: var(--shadow); transform: translate(-50%, calc(-100% - 14px)); font-variant-numeric: tabular-nums; }
.rv-tip[hidden], .rv-toast[hidden] { display: none; }
.rv-tip b { font-weight: 700; }
.rv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 85; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .9375rem; font-weight: 550; box-shadow: var(--shadow-lg); transform: translateX(-50%); animation: rvRise .3s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .rv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-find__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-find:first-child { grid-column: 1 / -1; }
    .rv-split, .rv-split--tech, .rv-ask__grid { grid-template-columns: minmax(0, 1fr); }
    .rv-archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .rv-chap { top: 78px; }
    .rv-mini { grid-template-columns: minmax(0, 1fr); }
    .rv-head { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .rv-head__n { font-size: 3rem; }
    .rv-chart { height: 260px; }
    .rv-chart--bump { height: 420px; }
    .rv-chart--slope { height: 380px; }
    .rv-chart--mini { height: 110px; }
    .rv-chart--spark { height: 60px; }
    .rv-chart--find { height: 100px; }
    .rv-roles li { grid-template-columns: minmax(0, 1fr) 76px; gap: 4px 10px; }
    .rv-roles__track { grid-column: 1 / -1; grid-row: 2; }
    .rv-axis { margin-left: 6px; margin-right: 6px; }
    .rv-cats li { grid-template-columns: minmax(0, 1fr) 60px; gap: 4px 10px; }
    .rv-cats i { grid-column: 1 / -1; grid-row: 2; height: 10px; }
    .rv-tech li { grid-template-columns: 18px 30px minmax(0, 1fr) 46px 36px; }
    .rv-tech__bar { display: none; }
    .rv-cities { grid-template-columns: minmax(0, 1fr); }
    .rv-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .rv-kicker__long { display: none; }
    .rv-kpis { gap: 10px; }
    .rv-kpi { padding: 16px; }
    .rv-find__grid { grid-template-columns: minmax(0, 1fr); }
    .rv-months { border-radius: 20px; }
    .rv-facts { grid-template-columns: minmax(0, 1fr); }
    .rv-emp { grid-template-columns: 80px 1fr 50px; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-cover__mesh i, .rv-kicker__dot.is-live { animation: none; }
    .rv-waffle i, .rv-tech__bar b, .rv-roles__track i, .rv-cats b, .js .rv-stackbar span { transform: none !important; opacity: 1 !important; transition: none !important; }
    .rv-map__city circle { animation: none !important; transform: none !important; }
    .rv-intro__text span { color: var(--ink); }
}
@media print {
    .nav, .rv-chap, .rv-actions, .rv-months, .rv-ask, .rv-end, .foot, .rv-tip, .rv-toast { display: none !important; }
    .rv-sec--dark { background: none; color: var(--ink); }
}

/* Mobil-Feinschliff (Audit 11.10.2026) */
@media (max-width: 560px) {
    .rv-chat__log { height: auto; min-height: 48px; max-height: 200px; }
}
