/* ==========================================================================
   Jobriver v2 – Startseite (Sektionen). Basis kommt aus v2-core.css.
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(72px + clamp(48px, 8vw, 104px)) 0 clamp(64px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.hero__glow {
    position: absolute; inset: 38% -10% -5% -10%; z-index: -1;
    background:
        radial-gradient(40% 50% at 20% 60%, rgba(178, 157, 255, .55), transparent 70%),
        radial-gradient(35% 45% at 80% 55%, rgba(255, 168, 220, .38), transparent 70%),
        radial-gradient(45% 60% at 50% 80%, rgba(114, 79, 255, .35), transparent 70%);
    filter: blur(20px); opacity: var(--hero-glow-o);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 10px; margin-bottom: 28px;
    border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
    font-size: .875rem; color: var(--muted); box-shadow: var(--shadow-sm);
    transition: border-color .2s;
}
.eyebrow-pill strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.eyebrow-pill svg { stroke: currentColor; }
.eyebrow-pill:hover { border-color: var(--brand); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(18, 184, 134, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 184, 134, 0); } }

.hero__title { font-size: var(--fs-h1); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.hero__line { display: block; }
/* Eigene Zeile, Breite = längstes Wort (unsichtbare Platzhalter) → kein Springen.
   Schriftgröße so begrenzt, dass „DevOps Engineer" auch auf 320 px nicht umbricht. */
.rotator { display: grid; justify-items: center; width: max-content; max-width: 100%; margin-inline: auto; font-size: min(1em, calc((100vw - 40px) / 8.4)); color: var(--brand); }
.rotator__sizer { grid-area: 1 / 1; visibility: hidden; white-space: nowrap; padding-bottom: .08em; }
.rotator { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.rotator__word { grid-area: 1 / 1; display: inline-flex; white-space: pre; }
.ch { display: inline-block; color: var(--brand); color: color-mix(in oklab, var(--brand-700), #b06bff var(--p)); will-change: transform; }
.rotator__word.is-out .ch { animation: chOut .5s cubic-bezier(.6, 0, .4, 1) both; animation-delay: calc(var(--i) * 22ms); }
.rotator__word.is-in .ch { animation: chIn .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(120ms + var(--i) * 28ms); }
@keyframes chOut { to { transform: translateY(-110%); opacity: 0; } }
@keyframes chIn { from { transform: translateY(110%); opacity: 0; } }

.hero__sub { margin-top: 24px; max-width: 660px; font-size: var(--fs-lead); color: var(--muted); line-height: 1.55; }

/* Suche */
.search {
    position: relative; display: flex; align-items: center; gap: 4px;
    width: 100%; max-width: 780px; margin-top: 40px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px;
    box-shadow: var(--shadow);
    transition: box-shadow .25s, border-color .25s;
}
.search:focus-within { border-color: var(--brand-200); box-shadow: 0 0 0 6px rgba(114, 79, 255, .1), var(--shadow); }
.search__field { position: relative; flex: 1 1 0; display: flex; align-items: center; min-width: 0; }
.search__icon { position: absolute; left: 18px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input[type="text"] {
    width: 100%; height: 52px; padding: 0 16px 0 48px;
    border: 0; background: transparent; outline: none;
    font: inherit; font-size: 1rem; color: var(--ink);
}
.search input::placeholder { color: #8d86a0; }
.search__div { width: 1px; height: 28px; background: var(--line-2); }
.search__btn { height: 52px; flex: none; }

.suggest {
    position: absolute; top: calc(100% + 14px); left: 0; right: -40px; z-index: var(--z-suggest);
    list-style: none; padding: 6px; text-align: left;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
    max-height: 340px; overflow: auto;
}
.suggest li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: .9375rem; }
.suggest li small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--brand-50); }
.suggest mark { background: none; color: var(--brand-700); font-weight: 600; }

.press { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
.press__k { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press__logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px clamp(28px, 4.5vw, 56px); }
/* Logos sind weiße SVGs: hell → einheitliches Grau, dunkel → gedämpftes Weiß */
.press__logos img { display: block; height: 26px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0); opacity: .42; transition: opacity .25s, transform .25s var(--ease); }
.press__logos li { position: relative; }
.press__logos li:hover img { opacity: .8; }
/* Verpixel-Effekt: Canvas liegt exakt über dem Logo, solange .is-px aktiv ist */
.px__cv { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .12s; }
.press__logos li.is-px .px__cv { opacity: 1; }
.press__logos li.is-px img { opacity: 0 !important; }
:root[data-theme="dark"] .press__logos img { filter: none; opacity: .55; }
:root[data-theme="dark"] .press__logos li:hover img { opacity: .9; }
@media (max-width: 560px) { .press__logos img { height: 20px; max-width: 110px; } .press__logos { gap: 12px 24px; } }

/* ---------- Showcase (Tabs + Fenster) ---------- */
.showcase { margin-top: clamp(56px, 7vw, 88px); }
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
    min-height: 46px; padding: 0 20px;
    border: 1px solid var(--glass-line); border-radius: 999px;
    background: var(--glass-weak); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-weight: 550; color: var(--brand-700);
    transition: background-color .25s, color .25s;
}
.tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab:hover { background: var(--glass-strong); }
.tab.is-active { background: var(--plum); color: #fff; border-color: var(--plum); }
.tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), #c79bff); }
.tab.is-active .tab__bar { animation: tabbar var(--tab-dur, 7s) linear forwards; }
[data-tabs].is-paused .tab.is-active .tab__bar { animation-play-state: paused; }
@keyframes tabbar { to { transform: scaleX(1); } }

.frame {
    position: relative; padding: 14px; border-radius: var(--r-xl);
    background: linear-gradient(180deg, var(--glass), var(--glass-weak));
    border: 1px solid var(--glass-line);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.frame__chrome { display: flex; align-items: center; gap: 6px; padding: 4px 10px 12px; }
.frame__chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(21, 17, 31, .14); }
.frame__chrome span { margin-left: 12px; padding: 3px 14px; border-radius: 999px; background: var(--glass-strong); font-size: .75rem; color: var(--muted); }
.frame__stack { display: grid; grid-template-columns: minmax(0, 1fr); }
.panel { grid-area: 1 / 1; min-height: 380px; border-radius: 20px; background: var(--surface); padding: clamp(18px, 3vw, 32px); }
.panel:not(.is-active) { visibility: hidden; opacity: 0; pointer-events: none; }
.panel.is-active { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

.app { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
.app__side { display: flex; flex-direction: column; gap: 8px; padding-right: 24px; border-right: 1px solid var(--line); }
.app__label { margin: 10px 0 2px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app__label:first-child { margin-top: 0; }
.fcheck { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.fcheck::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); flex: none; }
.fcheck.is-on::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--brand); }
.fcheck b { margin-left: auto; font-weight: 500; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.app__main { display: flex; flex-direction: column; gap: 12px; }

.logo-box { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--line); overflow: hidden; font-weight: 650; color: var(--brand-700); }
.logo-box img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo-box--lg { width: 52px; height: 52px; border-radius: 14px; }

.mini-job {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.panel.is-active .mini-job { animation: rise .55s var(--ease) both; animation-delay: var(--d); }
.mini-job:hover { border-color: var(--brand-200); box-shadow: var(--shadow); }
.mini-job__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mini-job__txt strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-job__txt small { color: var(--muted); font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__main, .mini-job { min-width: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Gehalt */
.salary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.salary__roles { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.salary__label { color: var(--muted); font-size: .9375rem; }
.salary__value { font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.range { position: relative; height: 14px; margin: 22px 0 10px; border-radius: 999px; background: var(--brand-50); }
.range__band { position: absolute; top: 0; bottom: 0; left: 20%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-200), var(--brand)); transition: left .6s var(--ease), width .6s var(--ease); }
.range__mark { position: absolute; top: -6px; width: 4px; height: 26px; margin-left: -2px; border-radius: 4px; background: var(--ink); left: 40%; transition: left .6s var(--ease); }
.range__legend { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.salary__note { margin: 18px 0 12px; font-size: .875rem; color: var(--muted); }

/* Skill-Balken */
.bars { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-inline: auto; }
.bar { display: grid; grid-template-columns: 110px 1fr 64px; align-items: center; gap: 14px; padding: 6px 8px; border-radius: 10px; transition: background-color .2s; }
.bar:hover { background: var(--brand-50); }
.bar__name { min-width: 0; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { height: 12px; border-radius: 999px; background: var(--brand-50); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand), #b28dff); transform-origin: left; }
.panel.is-active .bar__fill { animation: grow .9s var(--ease) both; animation-delay: var(--d); }
@keyframes grow { from { transform: scaleX(0); } }
.bar__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9375rem; }

/* Alerts */
.alerts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 316px; }
.alerts__copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.alerts__copy p { margin: 14px 0 22px; color: var(--muted); }
.alerts__stack { display: flex; flex-direction: column; gap: 12px; }
.toast { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel.is-active .toast { animation: rise .6s var(--ease) both; animation-delay: var(--d); }
.toast span:last-child { display: flex; flex-direction: column; min-width: 0; }
.toast small { font-size: .8125rem; color: var(--muted); }
.toast strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast__dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 4px var(--brand-100); }

/* ---------- Kennzahlen ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); text-align: center; }
.metric strong { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.metric span { color: var(--muted); }

/* ---------- Dunkle Plattform-Sektion ---------- */
.dark { position: relative; padding: clamp(80px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); background: radial-gradient(80% 60% at 50% 0%, var(--plum-2), var(--plum) 70%); color: #d9d2ee; overflow: hidden; }
.dark .kicker, .dark .h2 { text-align: center; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pillar {
    position: relative; padding: 32px; border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden; transition: border-color .3s, background-color .3s;
}
.pillar::before, .jcard::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(178, 157, 255, .22), transparent 60%);
}
.pillar:hover::before, .jcard:hover::before { opacity: 1; }
.pillar:hover { border-color: rgba(178, 157, 255, .4); }
.pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(178, 157, 255, .16); margin-bottom: 22px; }
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: #c9b8ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.pillar p { margin: 8px 0 22px; color: #b8afd0; }
.pillar ul { list-style: none; display: grid; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; }
.pillar li a { display: flex; justify-content: space-between; padding: 8px 0; color: #ece7fb; transition: color .2s; }
.pillar li a::after { content: "→"; opacity: .4; transition: transform .2s var(--ease), opacity .2s; }
.pillar li a:hover { color: #fff; }
.pillar li a:hover::after { opacity: 1; transform: translateX(4px); }
.dark__lead { margin: 72px 0 28px; text-align: center; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: #fff; font-weight: 500; letter-spacing: -.01em; }

.marquee { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__set { display: flex; gap: 14px; padding-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tech {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
    border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    color: #fff; font-weight: 550; white-space: nowrap; transition: background-color .2s, border-color .2s;
}
.tech small { color: #a99fc6; font-weight: 450; font-variant-numeric: tabular-nums; }
.tech:hover { background: rgba(178, 157, 255, .18); border-color: rgba(178, 157, 255, .5); }
.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), 0 6px 16px -8px var(--c); }
.tech:hover .tlogo { transform: rotate(-6deg) scale(1.06); }
.tlogo { transition: transform .3s var(--ease); }


/* Karussell */
.car-nav { display: flex; gap: 8px; }

.carousel__track {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 8px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 24px;
    scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
    scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.jcard {
    position: relative; flex: 0 0 340px; scroll-snap-align: start;
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
    overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.jcard:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.jcard__link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px; }
.jcard__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.jcard__title { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jcard__company { margin-top: 4px; color: var(--muted); }
.jcard__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: .875rem; color: var(--ink-2); }
.jcard__meta li + li::before { content: "·"; margin-right: 14px; color: var(--line-2); }
.jcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.jcard__tags span { padding: 4px 10px; border-radius: 8px; background: var(--tint); font-size: .8125rem; color: var(--ink-2); }
.jcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 22px; }
.jcard__salary { font-weight: 600; font-variant-numeric: tabular-nums; }
.jcard__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); transition: background-color .2s, transform .25s var(--ease); }
.jcard__go svg { width: 16px; height: 16px; fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.jcard:hover .jcard__go { background: var(--brand); transform: rotate(-45deg); }
.jcard:hover .jcard__go svg { stroke: #fff; }
.jcard--all { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: linear-gradient(150deg, var(--brand), #a777ff); color: #fff; border: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; min-height: 320px; }
.jcard--all .jcard__go { background: rgba(255, 255, 255, .2); }
.jcard--all .jcard__go svg { stroke: #fff; }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.car-dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width .3s var(--ease), background-color .3s; }
.car-dots i.is-on { width: 28px; background: var(--brand); }


/* ---------- Zielgruppen ---------- */
.seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; margin-top: 56px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.seg__list { padding: 12px 0; }
.seg__item { border-bottom: 1px solid var(--line); }
.seg__item:last-child { border-bottom: 0; }
.seg__head { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 24px 32px; border: 0; background: none; text-align: left; }
.seg__head strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; color: var(--muted); transition: color .2s; }
.seg__head span:not(.seg__progress) { color: var(--muted); }
.seg__item.is-open .seg__head strong { color: var(--brand-700); }
.seg__head:hover strong { color: var(--ink); }
.seg__progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; }
.seg__progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--brand); }
.seg__item.is-open .seg__progress i { animation: tabbar var(--seg-dur, 6.5s) linear forwards; }
.seg.is-paused .seg__item.is-open .seg__progress i { animation-play-state: paused; }
.seg__body { display: grid; grid-template-rows: 0fr; padding: 0 32px; transition: grid-template-rows .45s var(--ease), padding .45s var(--ease); }
.seg__inner { min-height: 0; overflow: hidden; }
.seg__item.is-open .seg__body { grid-template-rows: 1fr; padding-bottom: 24px; }
.seg__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.seg__kpis b { display: block; font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.seg__kpis span { font-size: .875rem; color: var(--muted); }
.seg__visual { position: relative; display: grid; place-items: center; min-height: 420px; background: var(--seg-grad); overflow: hidden; }
.blob { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #b29dff, var(--brand) 60%, transparent 70%); filter: blur(50px); opacity: .5; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(14%, -10%) scale(1.15); } }
.vcard { position: relative; width: min(340px, 82%); padding: 28px; border-radius: var(--r-lg); background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: panelIn .5s var(--ease); }
.vcard__k { font-size: .8125rem; color: var(--muted); font-weight: 550; letter-spacing: .04em; text-transform: uppercase; }
.vcard__h { margin-top: 6px; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vcard__steps { display: grid; gap: 10px; margin-top: 20px; }
.vcard__steps span { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.vcard__steps span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.vcard__steps .is-done { color: var(--ink); }
.vcard__steps .is-done::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--mint); }
.vcard__spark { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 22px; }
.vcard__spark i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand), var(--brand-200)); animation: grow .8s var(--ease) both; transform-origin: bottom; }
.vcard__spark i { animation-name: growY; }
@keyframes growY { from { transform: scaleY(0); } }
.donut { width: 150px; aspect-ratio: 1; margin: 20px auto 16px; border-radius: 50%;
    background: conic-gradient(var(--brand) 0 calc(var(--a) * 1%), #c3afff 0 calc((var(--a) + var(--b)) * 1%), var(--brand-50) 0);
    -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%); mask: radial-gradient(circle, transparent 52%, #000 53%); }
.vcard__legend { display: flex; justify-content: center; gap: 16px; font-size: .875rem; color: var(--muted); }
.vcard__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; }
.vcard__legend .l1::before { background: var(--brand); }
.vcard__legend .l2::before { background: #c3afff; }
.vcard__legend .l3::before { background: var(--brand-50); border: 1px solid var(--line-2); }

/* ---------- Frag den Jobmarkt (Personio-Aufbau: Kopf, Verlaufsband, Karte + Datenlinien, Merkmale) ---------- */
.ask { padding-top: clamp(80px, 10vw, 128px); background: var(--bg); }
.ask__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ask__lead { margin: 20px auto 18px; max-width: 620px; font-size: var(--fs-lead); color: var(--muted); }
.ask__band { margin-top: clamp(40px, 6vw, 72px); padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); background: var(--ask-grad); }
.ask__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 400px minmax(0, 1fr); align-items: stretch; }
.ask__cardwrap { grid-column: 2; position: relative; display: flex; flex-direction: column; align-items: center; }
.ask__tip { position: relative; margin-bottom: 16px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 550; }
.ask__tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.chat { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; padding: 22px 22px 18px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 10px var(--glass-weak), var(--shadow-lg); }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; font-weight: 600; font-size: 1.125rem; }
.chat__head span { background: linear-gradient(90deg, var(--brand-700), #b06bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chat__log { display: flex; flex-direction: column; gap: 10px; height: 220px; overflow-y: auto; padding: 12px 2px; scrollbar-width: thin; }
.chat__hint { margin-top: auto; color: var(--muted); font-size: .9375rem; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.5; animation: rise .35s var(--ease) both; }
.msg--q { align-self: flex-end; background: var(--plum); color: #fff; border-bottom-right-radius: 5px; }
.msg--a { align-self: flex-start; background: var(--brand-50); color: var(--ink); border-bottom-left-radius: 5px; }
.msg--a a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--brand-700); }
.msg--a a::after { content: " →"; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.chat__qs { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 4px; }
.chat__q { padding: 10px 16px; min-height: 44px; border-radius: 14px; border: 0; background: var(--plum); color: #fff; font-size: .9375rem; font-weight: 500; text-align: left; transition: background-color .2s, opacity .2s, box-shadow .2s, transform .2s var(--ease); }
.chat__q:hover { background: var(--brand-600); transform: translateX(3px); }
.chat__q:disabled { opacity: .45; cursor: default; transform: none; }
.chat__q.is-hint { box-shadow: 0 0 0 4px rgba(114, 79, 255, .25), 0 10px 24px -8px rgba(114, 79, 255, .7); animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 50% { box-shadow: 0 0 0 7px rgba(114, 79, 255, .12), 0 10px 24px -8px rgba(114, 79, 255, .7); } }

.ask__flow { grid-column: 3; grid-row: 1; position: relative; width: 62%; }
.ask__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ask__line { fill: none; stroke: var(--flow-line); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ask__pulse { fill: none; stroke: var(--flow-pulse); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2 400; stroke-dashoffset: 0; animation: flow 3.2s linear infinite; animation-delay: calc(var(--k) * -.6s); filter: drop-shadow(0 0 4px var(--flow-pulse)); }
@keyframes flow { to { stroke-dashoffset: -402; } }
.ask__node { position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--flow-pulse); box-shadow: 0 0 0 5px rgba(114, 79, 255, .2); }
.ask__sources { grid-column: 3; grid-row: 1; position: relative; list-style: none; margin-left: 62%; }
.ask__sources li { position: absolute; left: 0; transform: translateY(-50%); display: flex; flex-direction: column; padding: 8px 14px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; color: var(--ink); }
.ask__sources span { font-size: .8125rem; color: var(--muted); }
.ask__sources b { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ask__feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 88px); text-align: center; color: #e9e3fb; }
.ask__feats div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ask__feats svg { width: 22px; height: 22px; margin-bottom: 6px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ask__feats strong { color: #fff; font-weight: 600; }
.ask__feats span { font-size: .9375rem; color: #cfc4f3; }

/* ---------- Städte ---------- */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.city { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.city:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.city__name { font-weight: 600; font-size: 1.0625rem; }
.city__n { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.city__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w); background: linear-gradient(90deg, var(--brand), #c79bff); border-radius: 0 4px 4px 0; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .1s; }
.city.is-in .city__bar { transform: scaleX(1); }

/* ---------- Ratgeber ---------- */
.mag { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 10px; }
.post__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, var(--brand-100), #f6e6fa); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__tag { margin-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--brand-700); letter-spacing: .04em; text-transform: uppercase; }
.post__title { font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; transition: color .2s; }
.post:hover .post__title { color: var(--brand-700); }
.post__ex { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Arbeitgeber-CTA (Personio-Aufbau: Glas-Karten 2:1 auf Verlauf ins Dunkle) ---------- */
.cta { padding: clamp(80px, 10vw, 128px) 0 clamp(96px, 12vw, 160px); background: var(--cta-grad); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.glass { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-xl); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.glass--light { background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink); box-shadow: var(--shadow); }
.glass--dark { background: rgba(29, 18, 51, .62); border: 1px solid rgba(255, 255, 255, .14); color: #fff; box-shadow: var(--shadow); }
.glass h3 { margin-top: 18px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.glass ol { margin: 16px 0 28px; padding-left: 20px; display: grid; gap: 6px; }
.glass--light ol { color: var(--ink-2); }
.glass--dark ol { color: rgba(255, 255, 255, .85); }
.glass .btn, .glass .pillform { margin-top: auto; }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 8px; font-size: .875rem; font-weight: 550; }
.tag--amber { background: #ffc46b; color: #3a2400; }
.tag--soft { background: rgba(255, 255, 255, .85); color: var(--plum); }
.pillform { display: flex; width: 100%; max-width: 460px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.pillform:focus-within { box-shadow: 0 0 0 5px rgba(114, 79, 255, .15); }
.pillform input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; }
.pillform input::placeholder { color: #8d86a0; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: #f1ecff; }

/* Dark-Mode-Feinschliff der Startseiten-Sektionen */
:root[data-theme="dark"] .tab.is-active { background: var(--brand); border-color: var(--brand); }
:root[data-theme="dark"] .dark { background: radial-gradient(80% 60% at 50% 0%, #22163d, #110b1c 70%); }
:root[data-theme="dark"] .msg--q, :root[data-theme="dark"] .chat__q { background: #2b1f4a; }
:root[data-theme="dark"] .chat__q:hover { background: var(--brand-600); }
:root[data-theme="dark"] .post__img { background: linear-gradient(135deg, #22193a, #2b1a33); }
:root[data-theme="dark"] .eyebrow-pill { box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .pillars { grid-template-columns: 1fr; }
    .cities { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .search { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); padding: 8px; }
    .search__div { width: auto; height: 1px; margin: 0 14px; }
    .search__btn { width: 100%; }
    .suggest { right: 0; }
    .app { grid-template-columns: minmax(0, 1fr); }
    .app__side { display: none; }
    .salary, .alerts, .seg, .faq, .cta__grid { grid-template-columns: minmax(0, 1fr); }
    .ask__stage { grid-template-columns: 1fr; }
    .ask__cardwrap { grid-column: 1; max-width: 420px; width: 100%; margin-inline: auto; }
    .ask__flow, .ask__sources { display: none; }
    .ask__feats { grid-template-columns: repeat(2, 1fr); }
    .seg__visual { min-height: 320px; order: -1; }
    .metrics { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
    .mag { grid-template-columns: 1fr; }
    .cities { grid-template-columns: repeat(2, 1fr); }
    .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding: 0 24px; }
    .tabs::-webkit-scrollbar { display: none; }
    .tab { flex: none; }
    .car-nav { display: none; }
}
@media (max-width: 560px) {
    .tabs { margin-inline: -16px; padding: 0 16px; }
    .jcard { flex-basis: 84vw; }
    .carousel__track { padding-inline: 16px; scroll-padding-inline: 16px; }
    .bar { grid-template-columns: 84px 1fr 48px; gap: 10px; }
    .seg__head, .seg__body { padding-inline: 20px; }
    .panel { min-height: 0; }
    .qa__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee__row { animation: none; }
}
