/* ==========================================================================
   Jobomatik – Design System
   Ink + Cobalt + Signal-Lime. Keine externen Abhängigkeiten, keine Build-Tools.
   ========================================================================== */

:root {
  --ink: #0c1024;
  --ink-2: #161b36;
  --ink-3: #242a4d;
  --text: #0c1024;
  --muted: #5d6384;
  --faint: #8d92ad;
  --line: #e5e7f0;
  --line-2: #eef0f6;
  --bg: #f4f5f9;
  --surface: #ffffff;
  --surface-2: #f9fafc;

  --brand: #2d5bff;
  --brand-600: #1f47e6;
  --brand-50: #eef2ff;
  --brand-100: #dde5ff;
  --lime: #c8f560;
  --lime-600: #a4d93a;
  --green: #0fa971;
  --green-50: #e8f8f1;
  --amber: #d98a04;
  --amber-50: #fff5e0;
  --red: #e5484d;
  --red-50: #fdeced;
  --violet: #7b5cff;
  --violet-50: #f1edff;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(12, 16, 36, .06);
  --shadow: 0 1px 2px rgba(12, 16, 36, .05), 0 6px 20px -6px rgba(12, 16, 36, .10);
  --shadow-lg: 0 2px 6px rgba(12, 16, 36, .05), 0 24px 48px -12px rgba(12, 16, 36, .22);
  --ring: 0 0 0 4px rgba(45, 91, 255, .18);

  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

  --header-h: 64px;
  --maxw: 1240px;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(28px, 3.4vw, 40px); }
h2 { font-size: clamp(22px, 2.4vw, 28px); }
h3 { font-size: 18px; letter-spacing: -.01em; }
h4 { font-size: 15px; letter-spacing: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -0.2em; }
.i-lg { width: 22px; height: 22px; }
.i-xl { width: 28px; height: 28px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .container { padding: 0 16px; } }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --b: var(--surface); --c: var(--text); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--b); color: var(--c); font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none; user-select: none; position: relative;
}
.btn:hover { color: var(--c); border-color: color-mix(in srgb, var(--bd), var(--ink) 18%); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-primary { --b: var(--brand); --c: #fff; --bd: var(--brand); box-shadow: 0 6px 16px -6px rgba(45, 91, 255, .6); }
.btn-primary:hover { --b: var(--brand-600); --bd: var(--brand-600); box-shadow: 0 8px 20px -6px rgba(45, 91, 255, .7); }
.btn-dark { --b: var(--ink); --c: #fff; --bd: var(--ink); }
.btn-dark:hover { --b: var(--ink-3); --bd: var(--ink-3); }
.btn-lime { --b: var(--lime); --c: var(--ink); --bd: var(--lime); }
.btn-lime:hover { --b: #d6ff78; --bd: #d6ff78; box-shadow: 0 0 0 6px rgba(200, 245, 96, .18); }
.btn-ghost { --b: transparent; --bd: transparent; }
.btn-ghost:hover { --b: rgba(12, 16, 36, .05); box-shadow: none; }
.btn-danger { --b: var(--surface); --c: var(--red); --bd: #f5c6c8; }
.btn-danger:hover { --b: var(--red-50); }
.btn-glass { --b: rgba(255, 255, 255, .08); --c: #fff; --bd: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-glass:hover { --b: rgba(255, 255, 255, .14); --bd: rgba(255, 255, 255, .3); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; gap: 6px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-sm.btn-icon { width: 34px; }

/* Rund-Icon-Buttons auf Karten (Merken, Ausblenden) */
.act {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  transition: all .15s ease; position: relative;
}
.act:hover { color: var(--ink); border-color: #cfd3e3; transform: scale(1.06); }
.act.is-on { color: #f43f5e; border-color: #fecdd6; background: #fff1f3; }
.act-hide:hover { color: var(--red); border-color: #f5c6c8; background: var(--red-50); }
.act .i { width: 18px; height: 18px; }
.act.pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ------------------------------------------------------------------ Badges & Chips */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 650; background: var(--line-2); color: var(--muted); white-space: nowrap;
}
.badge .i { width: 13px; height: 13px; }
.badge-blue { background: var(--brand-50); color: var(--brand); }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-amber { background: var(--amber-50); color: var(--amber); }
.badge-red { background: var(--red-50); color: var(--red); }
.badge-violet { background: var(--violet-50); color: var(--violet); }
.badge-lime { background: var(--lime); color: var(--ink); }
.badge-dark { background: var(--ink); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--line); }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; font-weight: 550; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-3); }
.tag.hit { background: var(--green-50); border-color: #bfe9d6; color: #077a52; }
.tag.hit::before { content: "✓"; margin-right: 5px; font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Filter-/Auswahl-Chips (Checkbox/Radio versteckt) */
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 550; cursor: pointer;
  transition: all .12s ease; color: var(--ink-3); user-select: none;
}
.chip span:hover { border-color: #c9cee0; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { box-shadow: var(--ring); }
.chip .i { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Segment-Control */
.seg { display: inline-flex; padding: 4px; background: var(--line-2); border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { box-shadow: var(--ring); }

/* ------------------------------------------------------------------ Formulare */
.field { display: block; }
.field + .field { margin-top: 18px; }
.label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 650; font-size: 13.5px; margin-bottom: 7px; color: var(--ink-2); }
.label .opt { font-weight: 500; color: var(--faint); font-size: 12.5px; }
.help { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.error-text { font-size: 12.5px; color: var(--red); margin-top: 6px; font-weight: 550; }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); transition: border-color .15s, box-shadow .15s; outline: none; font-size: 15px;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.input:hover, .select:hover, .textarea:hover { border-color: #cdd2e3; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: var(--ring); }
.select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d6384' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input-icon { position: relative; }
.input-icon > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: var(--r) 0 0 var(--r); }
.input-group .addon { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-left: 0; background: var(--surface-2); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.is-invalid { border-color: var(--red) !important; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14.5px; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; }
.switch + .switch { border-top: 1px solid var(--line-2); }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: #d9dcea; position: relative; transition: background .2s; flex: none; cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked { background: var(--brand); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { box-shadow: var(--ring); }
.switch-text strong { display: block; font-size: 14.5px; }
.switch-text small { color: var(--muted); font-size: 13px; }
input[type=range] { width: 100%; accent-color: var(--brand); }

/* Tag-Eingabe (Skills) */
.taginput { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); min-height: 44px; cursor: text; transition: border-color .15s, box-shadow .15s; }
.taginput:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.taginput .tg { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 6px 0 10px; border-radius: 7px; background: var(--brand-50); color: var(--brand-600); font-size: 13px; font-weight: 600; }
.taginput .tg button { border: 0; background: none; color: inherit; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; padding: 0; opacity: .7; }
.taginput .tg button:hover { background: rgba(45, 91, 255, .12); opacity: 1; }
.taginput input { flex: 1; min-width: 140px; border: 0; outline: 0; height: 28px; padding: 0 6px; background: transparent; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.suggest button { border: 1px dashed #cbd0e2; background: transparent; border-radius: 7px; height: 26px; padding: 0 9px; font-size: 12.5px; color: var(--muted); }
.suggest button:hover { border-style: solid; color: var(--brand); border-color: var(--brand); }

/* ------------------------------------------------------------------ Karten */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 24px; }
.card-head { padding: 18px 24px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; font-size: 16px; }
.card-body { padding: 24px; }
.card-foot { padding: 16px 24px; border-top: 1px solid var(--line-2); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (max-width: 560px) { .card-pad, .card-body { padding: 18px; } .card-head { padding: 16px 18px; } }

/* ------------------------------------------------------------------ Logos */
.logo { display: grid; place-items: center; flex: none; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.logo-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
.logo-md { width: 52px; height: 52px; font-size: 17px; }
.logo-lg { width: 76px; height: 76px; border-radius: 18px; font-size: 26px; }
.logo-fallback { background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 40) 75% 45%)); color: #fff; font-weight: 800; border: 0; letter-spacing: -.02em; }

/* ------------------------------------------------------------------ Header (App) */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 850; font-size: 22px; letter-spacing: -.045em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; height: 32px; width: auto; max-width: 220px; object-fit: contain; }
.brand-logo.on-dark { display: none; }
.brand-upload { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: center; }
.brand-preview { height: 72px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 10px; background: #fff; }
.brand-preview.dark { background: var(--ink); }
.brand-preview img { max-height: 100%; max-width: 100%; }
@media (max-width: 560px) { .brand-upload { grid-template-columns: 1fr; } }
.site-header:not(.light) .brand-logo.on-light, .site-footer .brand-logo.on-light { display: none; }
.site-header:not(.light) .brand-logo.on-dark, .site-footer .brand-logo.on-dark { display: block; }
.invoice .brand-logo { height: 36px; }
@media (max-width: 380px) { .topbar .brand-logo { height: 26px; } }
.brand small { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 7px; border-radius: 6px; background: var(--ink); color: var(--lime); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.nav a:hover { color: var(--ink); background: rgba(12, 16, 36, .04); }
.nav a.active { color: var(--ink); background: var(--line-2); }
.nav .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--violet)); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }

.menu { position: relative; }
.menu-btn { border: 0; background: none; padding: 0; border-radius: 50%; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: all .16s ease; transform-origin: top right; }
.menu.open .menu-pop { opacity: 1; transform: none; pointer-events: auto; }
.menu-pop .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.menu-pop .who strong { display: block; font-size: 14.5px; }
.menu-pop .who span { font-size: 12.5px; color: var(--muted); }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; color: var(--ink-3); font-weight: 550; font-size: 14px; border: 0; background: none; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--line-2); color: var(--ink); }
.menu-pop .i { color: var(--faint); }

/* Mobile Bottom-Navigation für Talente */
.tabbar { display: none; }
@media (max-width: 900px) {
  .topbar .nav { display: none; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 650; color: var(--faint); padding: 6px 10px; border-radius: 12px; position: relative; }
  .tabbar a.active { color: var(--brand); }
  .tabbar .i { width: 22px; height: 22px; }
  .tabbar .count { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
  body.has-tabbar { padding-bottom: 76px; }
}

/* ------------------------------------------------------------------ Seitenstruktur */
.page { padding-top: 32px; padding-bottom: 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 550; }
.crumbs a:hover { color: var(--ink); }

.layout-sidebar { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1060px) { .layout-aside { grid-template-columns: 1fr; } .layout-aside .sticky { position: static; } }
@media (max-width: 900px) { .layout-sidebar { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Filter */
.filters { padding: 6px 0; }
.filters .fgroup { padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.filters .fgroup:last-child { border-bottom: 0; }
.fgroup-title { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-bottom: 12px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--ink-3); }
.fopt input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; }
.fopt .n { margin-left: auto; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.salary-out { font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .filter-toggle { display: inline-flex; }
  .filter-panel { position: fixed; inset: 0; z-index: 90; background: rgba(12, 16, 36, .4); display: none; }
  .filter-panel.open { display: block; }
  .filter-panel > .card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; border-radius: 22px 22px 0 0; animation: sheet .25s ease; }
  .filter-panel .sheet-head { display: flex !important; }
}
.sheet-head { display: none; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: #fff; z-index: 2; }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }

.searchbar { display: flex; gap: 10px; margin-bottom: 18px; }
.searchbar .input-icon { flex: 1; }
.searchbar .input { height: 50px; border-radius: 999px; font-size: 15.5px; box-shadow: var(--shadow-sm); }
.searchbar .btn { height: 50px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-bar strong { font-size: 15px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters a { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px 0 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.active-filters a:hover { background: var(--ink-3); color: #fff; }
.active-filters a .i { width: 14px; height: 14px; opacity: .7; }

/* ------------------------------------------------------------------ Job-Karte */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; padding: 20px 20px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .2s, transform .2s, opacity .3s;
}
.job:hover { border-color: #cfd4e6; box-shadow: var(--shadow); }
.job.is-highlight { border-color: #c9d5ff; background: linear-gradient(180deg, #f7f9ff, #fff 60%); }
.job.is-highlight::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.job.is-seen .job-title { color: #4a5070; }
.job.leaving, [data-fav-row].leaving { opacity: 0; transform: translateX(40px) scale(.98); }
.job-title { font-size: 17.5px; font-weight: 750; letter-spacing: -.015em; color: var(--ink); margin: 0 0 3px; line-height: 1.3; }
.job-title a { color: inherit; }
.job-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-company { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 550; }
.job-company .i { color: var(--brand); width: 15px; height: 15px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0; font-size: 13.5px; color: var(--ink-3); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .i { color: var(--faint); width: 16px; height: 16px; }
.job-meta .salary { font-weight: 700; color: var(--ink); }
.job-meta .salary .i { color: var(--green); }
.job-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.job-foot .when { font-size: 12.5px; color: var(--faint); margin-left: auto; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; position: relative; z-index: 2; }
.job-actions { display: flex; gap: 6px; }
.mode { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.mode-remote { background: #e9fbd0; color: #3e6a00; }
.mode-hybrid { background: var(--brand-50); color: var(--brand-600); }
.mode-onsite { background: #fff0e6; color: #b45309; }
.mode .i { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .job { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
  .job-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .job .logo-md { width: 44px; height: 44px; }
}

/* Match-Ring */
.ring {
  --v: 0; --c: var(--brand);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--line-2) 0);
  position: relative;
}
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font-size: 15px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring b small { font-size: 10px; font-weight: 700; }
.ring.hi { --c: var(--green); }
.ring.mid { --c: var(--brand); }
.ring.lo { --c: #b9bdd1; }
.ring-lg { width: 96px; height: 96px; }
.ring-lg::before { inset: 8px; }
.ring-lg b { font-size: 26px; }
.ring-label { font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; text-align: center; margin-top: 4px; }
.ring-wrap { display: flex; flex-direction: column; align-items: center; }
.ring-empty { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--faint); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1; }

.check-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.check-pill.match { background: var(--green-50); color: var(--green); }
.check-pill.partial { background: var(--amber-50); color: var(--amber); }
.check-pill.mismatch { background: var(--red-50); color: var(--red); }

/* Popover für Ausblende-Gründe */
.hide-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 12px; display: none; }
.hide-pop.open { display: block; animation: fade .15s ease; }
.job:has(.hide-pop.open), .card:has(.hide-pop.open) { z-index: 30; }
.fgroup-title .salary-out { text-transform: none; letter-spacing: -.01em; color: var(--ink); }
.hide-pop h5 { margin: 4px 6px 8px; font-size: 13px; }
.hide-pop button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-3); }
.hide-pop button:hover { background: var(--line-2); }
.hide-pop hr { margin: 6px 0; }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* ------------------------------------------------------------------ Job-Detail */
.job-hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; }
.job-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 91, 255, .10), transparent 70%); pointer-events: none; }
.job-hero h1 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 22px; }
.fact { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.fact small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fact small .i { width: 14px; height: 14px; }
.fact strong { display: block; font-size: 15px; margin-top: 4px; letter-spacing: -.01em; }
.fact em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.fact.good { background: var(--green-50); border-color: #cdeede; }
.fact.good small { color: var(--green); }
.prose { font-size: 15.5px; line-height: 1.7; color: #23294a; }
.prose h4 { margin: 1.4em 0 .5em; font-size: 16px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--brand); }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 14px; }
.section-title .i { color: var(--brand); }
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.benefit { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.benefit .i { color: var(--brand); width: 20px; height: 20px; }
.steps { display: flex; flex-direction: column; gap: 0; counter-reset: s; }
.steps li { list-style: none; position: relative; padding: 0 0 18px 40px; font-weight: 600; font-size: 14.5px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; }
.steps li::after { content: ""; position: absolute; left: 12.5px; top: 26px; bottom: 2px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps { padding: 0; margin: 0; }

.salary-box { padding: 20px; border-radius: var(--r-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.salary-box::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 245, 96, .35), transparent 70%); }
.salary-box small { color: #aab0cf; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; }
.salary-box strong { display: block; font-size: 26px; letter-spacing: -.03em; margin: 4px 0 6px; font-family: var(--font-display); }
.salary-box .cmp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(200, 245, 96, .15); color: var(--lime); font-weight: 650; }
.salary-box .cmp.below { background: rgba(255, 255, 255, .08); color: #cfd3ea; }

.pros-cons { display: grid; gap: 6px; font-size: 13.5px; margin-top: 12px; }
.pros-cons div { display: flex; gap: 8px; align-items: flex-start; }
.pros-cons .i { width: 16px; height: 16px; margin-top: 2px; }
.pros-cons .pro .i { color: var(--green); }
.pros-cons .con .i { color: var(--amber); }

.preview-banner { background: var(--amber-50); border: 1px solid #f6dca6; color: #7a4d00; border-radius: var(--r); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; margin-bottom: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Jobcheck */
.jc { border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 26px; position: relative; overflow: hidden; }
.jc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 100% 0%, rgba(45, 91, 255, .45), transparent 60%), radial-gradient(400px 200px at 0% 100%, rgba(200, 245, 96, .18), transparent 60%); pointer-events: none; }
.jc > * { position: relative; }
.jc h3 { font-size: 21px; margin: 0 0 4px; color: #fff; }
.jc p { color: #b7bcd8; margin: 0; }
.jc-progress { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; margin: 18px 0 22px; }
.jc-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--lime)); border-radius: 99px; transition: width .35s ease; }
.jc-q { display: none; animation: qin .35s ease; }
.jc-q.active { display: block; }
.no-js .jc-q { display: block; margin-bottom: 24px; }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } }
.jc-topic { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.jc-topic strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.jc-topic em { font-style: normal; font-size: 12.5px; color: #9ea4c4; }
.jc-topic em.must { color: var(--lime); font-weight: 700; }
.jc-q .qi { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; }
.jc-q .qi .i { width: 22px; height: 22px; color: var(--lime); }
.jc-q h4 { font-size: 19px; line-height: 1.35; margin: 0 0 6px; letter-spacing: -.015em; }
.jc-q .hint { color: #9ea4c4; font-size: 13.5px; margin-bottom: 18px; }
.jc-q .prefill.note { color: #ffd479; }
.jc-q .prefill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lime); margin-bottom: 12px; font-weight: 650; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yn label { position: relative; }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); font-weight: 700; font-size: 16px; cursor: pointer; transition: all .15s; }
.yn span:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.yn input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.yn input.no:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.yn input:focus-visible + span { box-shadow: 0 0 0 4px rgba(200, 245, 96, .3); }
.jc .chip span { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); color: #fff; height: 38px; }
.jc .chip input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.jc-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.jc-nav .count { font-size: 13px; color: #9ea4c4; font-variant-numeric: tabular-nums; }
.jc .btn-ghost { --c: #cfd3ea; }
.jc .btn-ghost:hover { --b: rgba(255, 255, 255, .06); --c: #fff; }

.verdict { border-radius: var(--r-xl); padding: 26px; position: relative; overflow: hidden; }
.verdict h3 { font-size: 22px; margin: 12px 0 6px; }
.verdict .v-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; }
.verdict .v-icon .i { width: 28px; height: 28px; }
.verdict ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.verdict li { display: flex; gap: 8px; font-size: 14px; font-weight: 550; }
.verdict li .i { width: 17px; height: 17px; margin-top: 2px; }
.verdict.match { background: linear-gradient(160deg, #dffbe9, #f3fff6 55%); border: 1px solid #bfeccf; }
.verdict.match .v-icon { background: var(--green); color: #fff; box-shadow: 0 8px 20px -6px rgba(15, 169, 113, .6); }
.verdict.partial { background: linear-gradient(160deg, #fff1d1, #fffaf0 55%); border: 1px solid #f5dca2; }
.verdict.partial .v-icon { background: var(--amber); color: #fff; }
.verdict.partial li .i { color: var(--amber); }
.verdict.mismatch { background: linear-gradient(160deg, #ffe1e2, #fff6f6 55%); border: 1px solid #f6c3c5; }
.verdict.mismatch .v-icon { background: var(--red); color: #fff; box-shadow: 0 8px 20px -6px rgba(229, 72, 77, .6); }
.verdict.mismatch li .i { color: var(--red); }
.verdict .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 12px; border-radius: 2px; animation: fall 1.6s ease-in forwards; opacity: .9; }
@keyframes fall { to { transform: translateY(360px) rotate(540deg); opacity: 0; } }

/* ------------------------------------------------------------------ Swipe / Entdecken */
.deck-wrap { max-width: 560px; margin: 0 auto; }
.deck { position: relative; height: 560px; }
.deck .sc { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 26px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2, .8, .3, 1), opacity .35s; touch-action: pan-y; user-select: none; overflow: hidden; }
.deck .sc:nth-last-child(2) { transform: translateY(12px) scale(.96); opacity: .8; }
.deck .sc:nth-last-child(3) { transform: translateY(24px) scale(.92); opacity: .5; }
.deck .sc:nth-last-child(n+4) { opacity: 0; transform: translateY(24px) scale(.92); }
.deck .sc.dragging { transition: none; cursor: grabbing; }
.deck .sc .stamp { position: absolute; top: 28px; padding: 6px 14px; border-radius: 10px; font-weight: 900; font-size: 20px; letter-spacing: .06em; border: 3px solid; opacity: 0; transform: rotate(-12deg); }
.deck .sc .stamp.like { left: 24px; color: var(--green); border-color: var(--green); }
.deck .sc .stamp.nope { right: 24px; color: var(--red); border-color: var(--red); transform: rotate(12deg); }
.deck .sc h2 { font-size: 24px; margin: 18px 0 4px; }
.deck .sc .desc { color: var(--muted); font-size: 14.5px; flex: 1; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); }
.deck-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; border: 2px dashed var(--line); border-radius: 26px; padding: 30px; }
.deck-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; }
.deck-controls .btn { border-radius: 50%; width: 64px; height: 64px; padding: 0; box-shadow: var(--shadow); }
.deck-controls .btn .i { width: 26px; height: 26px; }
.deck-controls .nope { color: var(--red); }
.deck-controls .like { color: #f43f5e; }
.deck-controls .skip { width: 48px; height: 48px; }
.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; font-size: 11.5px; font-weight: 700; background: #fff; color: var(--muted); }
@media (max-width: 560px) { .deck { height: 520px; } }

/* ------------------------------------------------------------------ Tabellen, Stats, Tabs */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

.stat { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.stat small { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 600; }
.stat small .i { color: var(--brand); }
.stat strong { display: block; font-size: 30px; font-family: var(--font-display); letter-spacing: -.035em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat em { font-style: normal; font-size: 12.5px; color: var(--faint); }
.stat.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat.dark small { color: #aab0cf; }
.stat.dark small .i { color: var(--lime); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; color: var(--muted); font-weight: 650; font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-color: var(--ink); }
.tabs .n { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--line-2); color: var(--muted); }

.progress { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--violet)); }
.progress.good i { background: linear-gradient(90deg, #22c55e, var(--green)); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars div { flex: 1; background: var(--brand-100); border-radius: 6px 6px 2px 2px; position: relative; min-height: 4px; }
.bars div:hover { background: var(--brand); }
.bars div span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--muted); }
.bars-x { display: flex; gap: 6px; margin-top: 6px; }
.bars-x span { flex: 1; text-align: center; font-size: 11px; color: var(--faint); }

/* Pipeline / Kanban */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.lane { background: var(--line-2); border-radius: var(--r-lg); padding: 10px; min-height: 180px; }
.lane h4 { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin: 4px 6px 10px; }
.lane h4 span { font-size: 12px; color: var(--faint); }
.cand { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 8px; color: var(--text); transition: box-shadow .15s, transform .15s; }
.cand:hover { box-shadow: var(--shadow); color: var(--text); transform: translateY(-1px); }
.cand strong { display: block; font-size: 14px; }
.cand small { color: var(--muted); font-size: 12.5px; }

/* ------------------------------------------------------------------ Empty States, Alerts, Toasts */
.empty { text-align: center; padding: 56px 24px; }
.empty .art { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-50), #f6f0ff); color: var(--brand); }
.empty .art .i { width: 36px; height: 36px; }
.empty h3 { font-size: 19px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 18px; }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); font-size: 14px; border: 1px solid; align-items: flex-start; }
.alert .i { margin-top: 2px; }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: #1d3aa8; }
.alert-success { background: var(--green-50); border-color: #bfe9d6; color: #065f40; }
.alert-warn { background: var(--amber-50); border-color: #f6dca6; color: #7a4d00; }
.alert-error { background: var(--red-50); border-color: #f6c3c5; color: #9b1c21; }

.toasts { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 550; animation: toastin .3s cubic-bezier(.2, .9, .3, 1.2); }
.toast .i { color: var(--lime); }
.toast.error .i { color: #ff8a8e; }
.toast button { border: 0; background: rgba(255, 255, 255, .12); color: #fff; height: 30px; padding: 0 12px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.toast button:hover { background: rgba(255, 255, 255, .2); }
.toast.out { animation: toastout .25s ease forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastout { to { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) { .has-tabbar .toasts { bottom: 90px; } }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); max-width: min(560px, calc(100vw - 32px)); width: 100%; color: var(--text); }
dialog::backdrop { background: rgba(12, 16, 36, .45); backdrop-filter: blur(3px); }
dialog[open] { animation: dlg .22s ease; }
@keyframes dlg { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.dlg-head h3 { margin: 0; }
.dlg-body { padding: 18px 24px 24px; }

/* ------------------------------------------------------------------ Öffentliche Seiten */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; height: 76px; }
.site-header .container { display: flex; align-items: center; height: 100%; gap: 28px; }
.site-header .brand { color: #fff; }
.site-header nav a { color: #c5cae4; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; }
.site-header nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-header nav { display: flex; gap: 4px; }
.site-header .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-header.light { position: sticky; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); height: 68px; }
.site-header.light .brand { color: var(--ink); }
.site-header.light nav a { color: var(--muted); }
.site-header.light nav a:hover { color: var(--ink); background: var(--line-2); }
@media (max-width: 860px) { .site-header nav { display: none; } .site-header .right .btn-ghost-login { display: none; } }

.hero { position: relative; background: var(--ink); color: #fff; padding: 150px 0 110px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(circle, rgba(45, 91, 255, .55), rgba(123, 92, 255, .18) 40%, transparent 65%); filter: blur(10px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 850; margin: 18px 0 20px; }
.hero h1 .hl { color: var(--lime); position: relative; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--lime); opacity: .25; border-radius: 4px; }
.hero .lead { font-size: 19px; color: #b9bfdc; max-width: 560px; line-height: 1.55; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; color: #d8dcf0; }
.hero-pill b { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-proof { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-proof div strong { display: block; font-size: 26px; font-family: var(--font-display); letter-spacing: -.03em; }
.hero-proof div span { color: #8d93b5; font-size: 13.5px; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 120px 0 70px; } .hero-visual { display: none; } }

/* Hero-Visual: schwebende Karten */
.hero-visual { position: relative; height: 480px; }
.hv-card { position: absolute; background: rgba(255, 255, 255, .98); color: var(--text); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); width: 340px; max-width: 94%; animation: float 7s ease-in-out infinite; }
.hv-card.c1 { top: 20px; left: 20px; }
.hv-card.c2 { top: 190px; right: 0; width: 300px; animation-delay: -2.5s; }
.hv-card.c3 { bottom: 10px; left: 60px; width: 290px; animation-delay: -4.5s; background: var(--lime); }
@keyframes float { 50% { transform: translateY(-12px); } }
.hv-card .row { gap: 10px; }
.hv-card h4 { margin: 0; font-size: 15px; }
.hv-card .ring { width: 46px; height: 46px; }
.hv-card .ring b { font-size: 13px; }
.hv-q { font-weight: 700; font-size: 15px; margin: 6px 0 12px; line-height: 1.35; }
.hv-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hv-yn span { height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 1px solid var(--line); }
.hv-yn span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; }
.section-head p { font-size: 17.5px; color: var(--muted); }
.section-dark .section-head p { color: #aab0cf; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.feature { padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 18px; }
.feature .fi .i { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature.big { grid-column: span 2; background: linear-gradient(135deg, #0c1024, #1b2150); color: #fff; border: 0; }
.feature.big p { color: #aab0cf; }
.feature.big .fi { background: var(--lime); color: var(--ink); }
@media (max-width: 860px) { .feature.big { grid-column: auto; } }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 650; transition: all .2s; }
.cat:hover { background: rgba(255, 255, 255, .08); border-color: rgba(200, 245, 96, .5); color: #fff; }
.cat .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(200, 245, 96, .12); color: var(--lime); flex: none; }
.cat small { display: block; font-weight: 500; color: #8d93b5; font-size: 12.5px; }

.teaser-wall { position: relative; }
.teaser-wall .jobs-list { filter: blur(5px); user-select: none; pointer-events: none; opacity: .85; }
.teaser-lock { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(244, 245, 249, 0) 0%, rgba(244, 245, 249, .9) 55%); }
.teaser-lock .card { padding: 28px; text-align: center; max-width: 420px; box-shadow: var(--shadow-lg); }

.how { counter-reset: how; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how > div { padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.how > div::before { counter-increment: how; content: "0" counter(how); display: block; font-family: var(--mono); font-weight: 700; color: var(--brand); font-size: 13px; margin-bottom: 12px; }
.how h3 { font-size: 17px; }
.how p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { padding: 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.price h3 { font-size: 20px; margin: 0; }
.price .amount { font-family: var(--font-display); font-size: 44px; font-weight: 850; letter-spacing: -.045em; margin: 16px 0 2px; }
.price .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 14.5px; }
.price li .i { color: var(--green); margin-top: 3px; width: 17px; height: 17px; }
.price.pop { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -24px rgba(12, 16, 36, .6); transform: translateY(-8px); }
.price.pop .amount small, .price.pop .muted { color: #aab0cf; }
.price.pop li .i { color: var(--lime); }
.price .ribbon { position: absolute; top: -12px; left: 30px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .price.pop { transform: none; } }
/* Paketwahl (Radio-Karten) */
.pkg input { position: absolute; opacity: 0; }
.pkg .price { cursor: pointer; transition: border-color .15s, box-shadow .15s; transform: none; background: var(--surface); color: var(--text); box-shadow: none; }
.pkg .price:hover { border-color: #c9cee0; }
.pkg input:checked + .price { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.pkg input:checked + .price::after { content: "✓"; position: absolute; right: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.pkg .price li .i { color: var(--green); }
.pkg .price .amount small { color: var(--muted); }

.cta-band { border-radius: 32px; background: var(--ink); color: #fff; padding: 56px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 245, 96, .35), transparent 65%); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 8px; }
.cta-band p { color: #aab0cf; margin: 0; font-size: 17px; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px; } }

.compare-table td:first-child { font-weight: 650; width: 42%; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--faint); }

.site-footer { background: var(--ink); color: #9ea4c4; padding: 64px 0 36px; font-size: 14px; }
.site-footer .brand { color: #fff; }
.site-footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer a { color: #9ea4c4; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Auth-Seiten */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; }
.auth-side::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; bottom: -200px; background: radial-gradient(circle, rgba(45, 91, 255, .5), transparent 65%); }
.auth-side .brand { color: #fff; }
.auth-side h2 { font-size: 36px; letter-spacing: -.04em; line-height: 1.1; max-width: 440px; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; color: #c5cae4; }
.auth-side li .i { color: var(--lime); margin-top: 2px; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; background: var(--surface); }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 30px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12.5px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.role-pick { display: grid; gap: 12px; }
.role-pick a { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); transition: all .15s; }
.role-pick a:hover { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); color: var(--text); }
.role-pick .ri { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.role-pick a:last-child .ri { background: var(--ink); color: var(--lime); }
.role-pick strong { display: block; font-size: 16px; }
.role-pick span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* Job-Editor */
.editor { display: grid; grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.editor-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.editor-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.editor-nav a:hover { background: var(--line-2); color: var(--ink); }
.editor-nav a.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.editor-nav .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); font-size: 11.5px; font-weight: 750; flex: none; }
.editor-nav a.done .n { background: var(--green); color: #fff; }
.editor section { scroll-margin-top: calc(var(--header-h) + 20px); }
.editor section + section { margin-top: 20px; }
.editor-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.quality { padding: 20px; }
.quality .score { display: flex; align-items: center; gap: 14px; }
.quality ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.quality li { display: flex; gap: 8px; }
.quality li .i { color: var(--amber); width: 15px; height: 15px; margin-top: 2px; }
.md-tools { display: flex; gap: 4px; margin-bottom: 6px; }
.md-tools button { height: 30px; min-width: 30px; padding: 0 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); }
.md-tools button:hover { color: var(--ink); border-color: #c9cee0; }
.kq { display: grid; grid-template-columns: minmax(0, 1fr) 150px 130px auto; gap: 8px; align-items: center; margin-bottom: 8px; }
@media (max-width: 1200px) { .editor { grid-template-columns: 200px minmax(0, 1fr); } .editor-side { grid-column: 2; position: static; } }
@media (max-width: 860px) { .editor { grid-template-columns: 1fr; } .editor-nav { display: none; } .editor-side { grid-column: auto; } .kq { grid-template-columns: 1fr 1fr; } .kq .input { grid-column: 1 / -1; } }
[hidden] { display: none !important; }

/* Rechnung (Druck) */
.invoice { max-width: 820px; margin: 0 auto; background: #fff; padding: 56px; border-radius: var(--r-lg); border: 1px solid var(--line); }
@media print {
  body { background: #fff; }
  .topbar, .tabbar, .no-print, .site-footer { display: none !important; }
  .invoice { border: 0; padding: 0; }
}

/* Hilfen */
section[id], #jobcheck, #similar { scroll-margin-top: calc(var(--header-h) + 16px); }
.btn.is-on { color: #e11d48; border-color: #fecdd6; background: #fff1f3; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: currentColor; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 245, 96, .6); } 70% { box-shadow: 0 0 0 10px rgba(200, 245, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 245, 96, 0); } }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 650; color: var(--ink-3); padding: 0 12px; }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.list-plain { list-style: none; padding: 0; margin: 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.callout { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--brand-50), #f5f0ff); border: 1px solid var(--brand-100); }
.callout .i { color: var(--brand); width: 24px; height: 24px; }
.link-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--text); }
.link-row:last-child { border-bottom: 0; }
.link-row:hover { color: var(--text); }
.link-row:hover strong { color: var(--brand); }
@media (max-width: 560px) {
  .topbar .container { gap: 12px; }
  .topbar .btn-sm span { display: none; }
  .topbar .btn-sm { width: 34px; padding: 0; }
  .brand small { display: none; }
  .page-head .btn-lg { height: 44px; font-size: 15px; }
  .job-hero { padding: 20px; }
  .jc, .verdict { padding: 20px; }
  .deck .sc { padding: 20px; }
}

/* ------------------------------------------------------------------ Sprachen */
.langrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.langrow.has-req { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 150px auto; }
.langrow .req-select { font-weight: 650; }
@media (max-width: 640px) { .langrow, .langrow.has-req { grid-template-columns: 1fr 1fr; } .langrow .btn-icon { justify-self: end; } }
.lvl { display: inline-flex; gap: 3px; vertical-align: middle; }
.lvl i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.lvl i.on { background: var(--brand); }
.lvl.ok i.on { background: var(--green); }
.lvl.miss i.on { background: var(--amber); }
.lang-list { display: grid; gap: 8px; }
.lang-item { display: grid; grid-template-columns: minmax(110px, 1fr) auto minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; }
.lang-item strong { font-size: 14.5px; }
.lang-item .lvl-text { color: var(--muted); font-size: 13px; }
.lang-item .state { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.lang-item .state.ok { color: var(--green); }
.lang-item .state.miss { color: var(--amber); }
.lang-item .state.miss.req { color: var(--red); }
@media (max-width: 640px) { .lang-item { grid-template-columns: 1fr auto; } .lang-item .lvl-text { grid-column: 1 / -1; } }
.lang-chip { display: inline-flex; align-items: center; gap: 4px; }
.lang-chip .pref { color: var(--faint); font-weight: 500; }
.note-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; padding-left: 4px; }
.note-row .i { color: var(--faint); }
.note-row input { flex: 1; border: 0; border-bottom: 1px dashed var(--line); background: transparent; height: 32px; font-size: 13.5px; outline: none; padding: 0 4px; color: var(--ink-3); }
.note-row input:focus { border-bottom-color: var(--brand); }
.note-row .saved { font-size: 12px; color: var(--green); font-weight: 650; opacity: 0; transition: opacity .3s; }
.note-row .saved.show { opacity: 1; }

/* Entdecken: beschriftete Aktionen, Einführung */
.deck-controls { align-items: flex-start; gap: 28px; }
.dc { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dc > span { font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2; }
.dc > span small { display: block; font-weight: 500; color: var(--faint); font-size: 11.5px; }
.deck-controls .dc .skip { width: 56px; height: 56px; margin-top: 4px; }
.deck-intro { position: fixed; inset: 0; z-index: 95; background: rgba(12, 16, 36, .45); display: grid; place-items: center; padding: 16px; }
.deck-intro .card { max-width: 440px; animation: dlg .22s ease; }
.from-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--ink); color: #fff; }
.from-bar .container { display: flex; align-items: center; gap: 10px; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.from-bar .btn-ghost { --c: #cfd3ea; }
.from-bar .btn-ghost:hover { --b: rgba(255,255,255,.08); --c: #fff; }

/* ------------------------------------------------------------------ Avatare & Talentprofil */
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-photo { background: var(--line-2); overflow: hidden; padding: 0; }
.avatar-anon { background: linear-gradient(135deg, #2a3158, #0c1024); color: var(--lime); }
.avatar-anon .i { width: 45%; height: 45%; }
.avatar-lg .i, .avatar-xl .i { width: 42%; height: 42%; }
.avatar-xl { width: 88px; height: 88px; font-size: 30px; border-width: 3px; }
.tp-head { display: flex; gap: 18px; align-items: center; }
.tp-head h2 { font-size: 24px; }
.tp-highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tp-highlights li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r); background: linear-gradient(120deg, #fffbea, #fff); border: 1px solid #f6e7b0; font-weight: 600; font-size: 14.5px; }
.tp-highlights .i { color: var(--amber); margin-top: 2px; }
.doc-list { display: grid; gap: 8px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.doc:hover { border-color: var(--brand); color: var(--text); box-shadow: var(--shadow-sm); }
.doc strong { display: block; font-size: 14.5px; }
.doc small { color: var(--muted); font-size: 12.5px; }
.doc > .i { color: var(--faint); }
.doc-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.doc-ic.lg { width: 48px; height: 48px; border-radius: 14px; }
.locked-docs { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 1px dashed #cfd3e3; color: var(--muted); font-size: 14px; background: var(--surface-2); }
.how-mini > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.how-mini span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 10px; }
.how-mini strong { display: block; font-size: 14.5px; }
.how-mini small { color: var(--muted); font-size: 13px; }

/* Sichtbarkeit */
.visibility-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.visibility-card.on { border-color: #bfe9d6; background: linear-gradient(120deg, var(--green-50), #fff); }
.visibility-card .vc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--line-2); color: var(--muted); flex: none; }
.visibility-card.on .vc-ic { background: var(--green); color: #fff; }
.vis-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vis-opt { position: relative; cursor: pointer; }
.vis-opt input { position: absolute; opacity: 0; }
.vis-opt > span { display: block; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: all .15s; }
.vis-opt > span .i { color: var(--muted); margin-bottom: 8px; }
.vis-opt strong { display: block; font-size: 15px; }
.vis-opt small { color: var(--muted); font-size: 13px; }
.vis-opt input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.vis-opt input:checked + span .i { color: var(--brand); }
.vis-opt input:focus-visible + span { box-shadow: var(--ring); }
@media (max-width: 560px) { .vis-options { grid-template-columns: 1fr; } }
.profile-top { display: flex; gap: 22px; align-items: center; }
.pt-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pt-status { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.pt-status .ok { color: var(--green); font-weight: 650; }
@media (max-width: 560px) { .profile-top { flex-direction: column; align-items: flex-start; } }

/* Anfragen */
.req-card.is-new { border-color: #c9d5ff; box-shadow: 0 0 0 3px var(--brand-50); }
.req-msg { color: var(--ink-3); font-size: 14.5px; }
.req-quote { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border-left: 3px solid var(--brand); }
.share-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; }
.share-summary .ok { color: var(--green); }
.share-summary .off { color: var(--faint); }
.share-summary .i { width: 14px; height: 14px; }
.share-opt { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.share-opt:last-of-type { border-bottom: 0; }
.share-opt.fixed { cursor: default; }
.share-opt strong { display: block; font-size: 14.5px; }
.share-opt small { color: var(--muted); font-size: 12.5px; }
.so-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--line-2); color: var(--ink-3); flex: none; }
.switch-input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: #d9dcea; position: relative; transition: background .2s; flex: none; cursor: pointer; margin: 0; }
.switch-input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch-input:checked { background: var(--green); }
.switch-input:checked::after { transform: translateX(18px); }
.switch-input:disabled { opacity: .4; cursor: not-allowed; }
.switch-input:focus-visible { box-shadow: var(--ring); }
.talent-card .avatar-lg { width: 56px; height: 56px; }

/* Teilen */
.share-btn { cursor: pointer; border: 1px solid var(--line); font-family: inherit; }
.share-btn:hover { border-color: var(--brand); color: var(--brand); }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.share-opt-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-3); font-size: 12.5px; font-weight: 650; }
.share-opt-btn:hover { border-color: var(--brand); color: var(--ink); }
.share-opt-btn span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.share-opt-btn.wa span { background: #25d366; }
.share-opt-btn.li span { background: #0a66c2; }
.share-opt-btn.tg span { background: #229ed9; }
.share-opt-btn.ml span { background: var(--ink); }
@media (max-width: 420px) { .share-grid { grid-template-columns: repeat(2, 1fr); } }
.share-hero { padding: 28px; position: relative; overflow: hidden; }
.share-hero h1 { font-size: clamp(24px, 3vw, 32px); }
.share-lock { position: relative; margin-top: 24px; }
.blur-lines { display: grid; gap: 12px; filter: blur(3px); opacity: .7; }
.blur-lines i { display: block; height: 14px; border-radius: 6px; background: var(--line); }
.share-cta { position: relative; margin-top: -60px; text-align: center; padding: 32px 20px 8px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 35%); }

/* ------------------------------------------------------------------ Links */
.lk-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lk { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: 13.5px; font-weight: 650; transition: border-color .15s, box-shadow .15s; }
.lk:hover { border-color: var(--c, var(--brand)); color: var(--ink); box-shadow: var(--shadow-sm); }
.lk > .i { width: 14px; height: 14px; color: var(--faint); }
.lk-badge { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: -.02em; flex: none; }
.lk-ic { background: none; }
.lk-ic .lk-badge { width: 34px; height: 34px; font-size: 12.5px; }
.linkrow { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.linkrow.seeker { grid-template-columns: 160px minmax(0, 1fr) 210px auto; }
.linkrow.company { grid-template-columns: 170px minmax(0, 1fr) auto auto; }
@media (max-width: 700px) { .linkrow, .linkrow.seeker, .linkrow.company { grid-template-columns: 1fr 1fr; } .linkrow .input { grid-column: 1 / -1; order: -1; } }
.vis-legend { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); }
.req-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); }
.req-meta .i { width: 14px; height: 14px; }

/* Anfahrt */
.maps-addr { display: flex; gap: 8px; align-items: flex-start; font-weight: 650; font-size: 14px; margin-bottom: 10px; }
.maps-addr .i { color: var(--brand); margin-top: 2px; }
.maps-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.maps-btns .btn { height: 32px; font-size: 12.5px; padding: 0 11px; }

/* Bewerbungsübersicht (Unternehmen) */
.app-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.app-row:hover { background: #fafbff; }
.app-job { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 13px; }
.app-job .i { width: 14px; height: 14px; color: var(--muted); }
.app-job a { font-weight: 650; color: var(--ink); }
.app-job a:hover { color: var(--brand); }
.app-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.applied-for { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r); background: #f4f6ff; border: 1px solid #dfe5ff; }
.applied-for .grow { min-width: 0; }
.applied-for small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.applied-for strong { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .app-row { flex-wrap: wrap; padding: 14px; }
  .app-side { flex-direction: row; align-items: center; width: 100%; justify-content: flex-start; padding-left: 52px; }
  .applied-for { flex-wrap: wrap; }
  .app-row > .btn { display: none; }
}

/* ================================================================== Showcase & Projekte */
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vis-options:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); }

.pj-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--line-2); flex: none; }
.pj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-thumb-gen { display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 10% 0%, hsl(var(--h) 90% 66%) 0%, transparent 55%), linear-gradient(135deg, hsl(var(--h) 72% 42%), hsl(calc(var(--h) + 50) 70% 30%)); }
.pj-thumb-gen .i { width: 30%; height: 30%; max-width: 64px; max-height: 64px; opacity: .9; }
.pj-thumb-gen b { position: absolute; right: 10px; bottom: 6px; font-size: 13px; letter-spacing: .06em; opacity: .75; }
.pj-thumb-sm { width: 76px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.pj-thumb-sm .i { width: 26px; height: 26px; }
.pj-thumb-sm b { display: none; }
.pj-thumb-md { width: 220px; }

.pj-admin-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.pj-admin-row:last-child { border-bottom: 0; }
.pj-list { display: grid; gap: 12px; }
.pj-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pj-list-anon .pj-item { background: var(--surface-2); }
.pj-strip { display: flex; gap: 12px; flex-wrap: wrap; }
.pj-strip a { display: flex; flex-direction: column; gap: 4px; width: 96px; color: var(--text); }
.pj-strip .pj-thumb-sm { width: 96px; }
.pj-add .pj-thumb { display: grid; place-items: center; border: 2px dashed var(--line); background: var(--surface); color: var(--muted); }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); transition: transform .15s; }
.swatches input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); transform: scale(1.05); }
.swatches input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 4px; }

.sc-teaser { display: flex; align-items: center; gap: 14px; color: inherit; background: linear-gradient(135deg, #fff 0%, var(--brand-50) 100%); }
.sc-teaser:hover { color: inherit; box-shadow: var(--shadow); }
.sc-teaser-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--lime); flex: none; }
.sc-teaser strong { display: block; }
.sc-teaser small { display: block; color: var(--muted); font-size: 13px; }

/* Öffentliches Showcase */
.sc { --accent: var(--brand); background: var(--bg); }
.sc-owner { background: var(--ink); color: #dfe3f7; font-size: 14px; padding: 10px 0; }
.sc-hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 44px;
  background: radial-gradient(900px 400px at 85% -20%, color-mix(in srgb, var(--accent) 70%, #fff 0%) 0%, transparent 60%), linear-gradient(160deg, var(--ink) 0%, color-mix(in srgb, var(--accent) 38%, var(--ink)) 100%); }
.sc-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--lime), var(--accent)); }
.sc-id { display: flex; gap: 28px; align-items: center; }
.sc-photo { width: 132px; height: 132px; border-radius: 34px; overflow: hidden; flex: none; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); background: var(--accent); }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; }
.sc-photo-gen { display: grid; place-items: center; font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.sc-hero h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; margin: 6px 0 4px; line-height: 1.05; }
.sc-headline { font-size: clamp(17px, 2vw, 21px); color: #d3d7ef; margin: 0; }
.sc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: #b5bbdb; font-size: 14.5px; }
.sc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sc-open { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--lime); background: rgba(200, 245, 96, .1); border: 1px solid rgba(200, 245, 96, .3); padding: 4px 12px; border-radius: 999px; }
.sc-open i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 245, 96, .25); animation: pulse 2s infinite; }
.sc-hero .lk { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.sc-hero .lk:hover { background: rgba(255, 255, 255, .16); }
.sc-cta { display: flex; flex-direction: column; gap: 10px; align-self: flex-start; }
.sc-body { padding-top: 36px; padding-bottom: 56px; }
.sc-section { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 16px; }
.sc-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.sc-kicker .i { width: 14px; height: 14px; }
.sc-outcome { display: flex; gap: 8px; align-items: flex-start; font-weight: 650; color: var(--text); margin: 8px 0; }
.sc-outcome .i { color: var(--green); flex: none; margin-top: 2px; }
.sc-btn { background: var(--accent); border-color: var(--accent); }
.sc-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.sc-featured-img .pj-thumb { border-radius: 0; height: 100%; aspect-ratio: auto; min-height: 300px; }
.sc-featured-text { padding: 32px; }
.sc-featured-text h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; margin: 8px 0; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.sc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.sc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sc-card-img .pj-thumb { border-radius: 0; }
.sc-card-img img { transition: transform .4s; }
.sc-card:hover .sc-card-img img { transform: scale(1.03); }
.sc-card-body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.sc-card-body h3 { font-size: 18px; margin: 6px 0 2px; letter-spacing: -.01em; }
.sc-desc { color: var(--muted); font-size: 14px; margin: 4px 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sc-card-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; }
.sc-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sc-contact { margin-top: 36px; border: 2px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.sc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.sc-foot > span { display: inline-flex; align-items: center; gap: 8px; }

/* Galerie */
.sc-gal-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.sc-gal-head h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.035em; margin: 8px 0; }
.sc-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.sc-gal-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; border-top: 3px solid var(--accent); }
.sc-gal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.sc-gal-card .pj-thumb { border-radius: 0; }
.sc-gal-body { padding: 14px 16px 16px; }
.sc-open-dot { color: var(--green); font-weight: 650; }
.sc-open-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; }

/* ================================================================== Nachrichten */
.inbox-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); color: var(--text); }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row:hover { background: var(--surface-2); color: var(--text); }
.inbox-row.unread { background: var(--brand-50); }
.inbox-row.unread strong { color: var(--ink); }
.inbox-row .i { width: 13px; height: 13px; vertical-align: -2px; }
.inbox-preview { color: var(--muted); margin-top: 2px; }
.inbox-row.unread .inbox-preview { color: var(--text); font-weight: 600; }
.inbox-row .count, .chat .count { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 6px; }

.chat { display: flex; flex-direction: column; height: calc(100vh - 170px); min-height: 520px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, var(--surface-2), #fff 140px); scroll-behavior: auto; }
.chat-empty { text-align: center; color: var(--muted); font-size: 14px; margin: auto; max-width: 360px; }
.msg { display: flex; flex-direction: column; max-width: min(78%, 560px); }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.msg.theirs { align-self: flex-start; }
.bubble { padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.msg.theirs .bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.mine .bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.msg.msg-status .bubble { background: var(--amber-50); border: 1px solid #f5dfb0; color: var(--text); }
.msg-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .7; margin-bottom: 4px; }
.msg-meta { font-size: 11.5px; color: var(--faint); margin-top: 4px; padding: 0 4px; }
.msg-in { animation: msgIn .3s ease-out; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg-card { max-width: min(90%, 460px); }
.msg-system { align-self: center; font-size: 12.5px; color: var(--muted); background: var(--line-2); padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; text-align: center; }
.chat-compose { border-top: 1px solid var(--line); padding: 12px 14px; background: #fff; }
.chat-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.chat-tools .select { height: 34px; width: auto; max-width: 260px; font-size: 13.5px; }
.chat-input { display: flex; gap: 10px; align-items: flex-end; }
.chat-input .textarea { min-height: 46px; max-height: 220px; resize: none; }
.chat-input .btn { height: 46px; }
.chat-closed { padding: 16px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }

.iv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); text-align: left; }
.msg.mine .iv-card { border-color: var(--brand-100); }
.iv-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.iv-card-head > .i { color: var(--brand); }
.iv-slots { display: grid; gap: 8px; }
.iv-slot { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--brand-600); border-radius: 12px; font-weight: 650; font-size: 14px; cursor: pointer; transition: all .15s; font-family: inherit; }
.iv-slot:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.iv-slot:disabled { opacity: .45; cursor: not-allowed; background: var(--line-2); color: var(--muted); border-color: var(--line); }
.iv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.iv-list li { display: flex; gap: 8px; align-items: center; }
.iv-list li.chosen { color: var(--green); font-weight: 700; }
.iv-booked { border-color: #bfe9d6; background: var(--green-50); }
.iv-booked .iv-card-head > .i { color: var(--green); }
.iv-booked.is-cancelled { background: var(--surface-2); border-color: var(--line); opacity: .75; }
.iv-booked.is-cancelled .iv-when { text-decoration: line-through; }
.iv-when { font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.iv-when small { font-size: 13px; color: var(--muted); font-weight: 500; }
.iv-cancel summary { list-style: none; }
.iv-cancel summary::-webkit-details-marker { display: none; }
.iv-cancel[open] { flex-basis: 100%; }
.iv-propose > summary { list-style: none; cursor: pointer; }
.iv-propose > summary::-webkit-details-marker { display: none; }
.iv-propose[open] > summary > .i { transform: rotate(180deg); }
.seg-sm span { height: 30px; padding: 0 10px; font-size: 12.5px; }
.seg-sm { flex-wrap: wrap; }
.iv-mini { display: flex; align-items: center; gap: 12px; color: var(--text); padding: 4px 0; }
.iv-mini:hover { color: var(--text); }
.iv-date { width: 46px; height: 50px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.iv-date b { font-size: 18px; line-height: 1; }
.iv-date small { font-size: 10.5px; color: var(--lime); font-weight: 700; margin-top: 3px; }
.iv-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--brand); color: #fff; }
.iv-banner:hover { color: #fff; background: var(--brand-600); }
.iv-banner strong { display: block; }
.iv-banner small { display: block; opacity: .85; font-size: 13px; }
.iv-banner.is-booked { background: var(--green-50); color: #077a52; border: 1px solid #bfe9d6; }
.iv-banner.is-booked:hover { background: #dcf4ea; color: #077a52; }

/* ================================================================== Feedback & Bewertungen */
.stars { display: inline-flex; gap: 1px; vertical-align: -3px; color: #f5b301; }
.stars .i { width: 16px; height: 16px; }
.stars .i:not(.on) { color: #d9dce8; }
.stars-sm .i { width: 13px; height: 13px; }
.exp-badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff8e1; border: 1px solid #f7e3a1; color: #7a5900; font-size: 12.5px; font-weight: 600; }
.exp-badge .i { width: 14px; height: 14px; color: #f5b301; }
.exp-badge small { color: #a38226; }
.rate-stars { display: flex; align-items: center; gap: 2px; }
.rate-stars button { background: none; border: 0; padding: 2px; cursor: pointer; color: #d9dce8; transition: transform .1s, color .1s; }
.rate-stars button .i { width: 26px; height: 26px; }
.rate-stars button.on { color: #f5b301; }
.rate-stars:hover button { color: #f5b301; }
.rate-stars button:hover ~ button:not(.rate-clear) { color: #d9dce8; }
.rate-stars button:hover { transform: scale(1.12); }
.rate-stars .rate-clear { color: var(--faint) !important; font-size: 16px; margin-left: 6px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: #d9dce8; transition: transform .1s; }
.star-input label .i { width: 30px; height: 30px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5b301; }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 6px; }
.review-box { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface-2); }
.review-box > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-box > summary .i { color: #f5b301; }
.feedback-box { border-left: 3px solid var(--amber); background: var(--amber-50); padding: 12px 14px; border-radius: 0 var(--r) var(--r) 0; font-size: 14.5px; }
.reject-box > summary { list-style: none; cursor: pointer; }
.reject-box > summary::-webkit-details-marker { display: none; }
.reject-box[open] > summary { background: var(--red-50); border-color: #f6c9cb; color: var(--red); }

/* Pipeline Drag & Drop */
.cand[draggable="true"] { cursor: grab; }
.cand.dragging { opacity: .45; transform: rotate(-1deg); }
.lane.drop { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand-100); }
.lane[data-lane="closed"].drop { background: var(--red-50); box-shadow: inset 0 0 0 2px #f6c9cb; }
.cand .stars { margin-top: 4px; }

@media (max-width: 960px) {
  .sc-featured, .sc-about { grid-template-columns: 1fr; }
  .sc-featured-img .pj-thumb { min-height: 0; aspect-ratio: 16 / 10; }
  .chat { height: calc(100vh - 150px); }
}
@media (max-width: 640px) {
  .sc-id { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sc-photo { width: 96px; height: 96px; border-radius: 26px; }
  .sc-cta { flex-direction: row; flex-wrap: wrap; align-self: stretch; }
  .sc-featured-text { padding: 20px; }
  .vis-options:has(> :nth-child(3)) { grid-template-columns: 1fr; }
  .pj-admin-row { flex-wrap: wrap; padding: 14px; }
  .pj-thumb-md { width: 100%; }
  .msg { max-width: 88%; }
  .chat { height: calc(100vh - 190px); min-height: 440px; }
  .chat-input .btn span { display: none; }
  .chat-tools .select { max-width: 100%; flex: 1; }
}

/* ================================================================== Runde 8: Navigation, Klick-Filter, Skills */
.check-pill, .cand .badge { white-space: nowrap; flex-shrink: 0; }
.cand .row { flex-wrap: wrap; row-gap: 6px; }
.cand .row .xs.faint { white-space: nowrap; }

.backbar { padding-top: 18px; margin-bottom: -22px; position: relative; z-index: 2; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 6px 12px 6px 8px; border-radius: 999px; transition: background .15s, color .15s; }
.back-link:hover { color: var(--ink); background: var(--line-2); }
.crumbs a:first-child { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; margin-left: -6px; border-radius: 999px; }
.crumbs a:first-child:hover { background: var(--line-2); }

a.fact-link { display: block; color: var(--text); position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.fact-link:hover { color: var(--text); border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-1px); }
a.fact-link::after { content: "↗"; position: absolute; top: 10px; right: 12px; font-size: 12px; color: var(--faint); opacity: 0; transition: opacity .15s; }
a.fact-link:hover::after { opacity: 1; }
a.mode-link { color: inherit; cursor: pointer; }
a.mode-link .i:last-child { width: 12px; height: 12px; opacity: .55; }
a.mode-link:hover { filter: brightness(.96); box-shadow: 0 0 0 2px rgba(45, 91, 255, .15); }
a.tag { color: inherit; }
a.tag.hit:hover { border-color: var(--green); }
.tag-add { cursor: pointer; font-family: inherit; gap: 4px; border-style: dashed; background: var(--surface); transition: all .15s; }
.tag-add .i { width: 12px; height: 12px; opacity: 0; margin-right: -4px; transition: opacity .15s, margin .15s; }
.tag-add:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-50); }
.tag-add:hover .i { opacity: 1; margin-right: 0; }
.tag-add.added { border-style: solid; }

.explain { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; }
.list-check { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; color: var(--muted); }
.list-check li { display: flex; gap: 8px; align-items: flex-start; }
.list-check .i { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand); }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* HR-Funnel */
.funnel { display: grid; gap: 8px; }
.fn-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 64px; align-items: center; gap: 14px; }
.fn-label { display: flex; flex-direction: column; line-height: 1.25; }
.fn-label .i { display: none; }
.fn-label strong { font-size: 14px; }
.fn-label small { font-size: 11.5px; color: var(--faint); }
.fn-bar { position: relative; height: 34px; background: var(--line-2); border-radius: 10px; overflow: hidden; }
.fn-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 10px; background: linear-gradient(90deg, var(--brand), var(--violet)); transition: width .6s ease; }
.fn-row:nth-child(n+5) .fn-bar i { background: linear-gradient(90deg, var(--violet), #b76cff); }
.fn-row:last-child .fn-bar i { background: linear-gradient(90deg, var(--green), var(--lime-600)); }
.fn-bar b { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13.5px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); mix-blend-mode: normal; }
.fn-conv { font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: right; }
.fn-conv span::before { content: "↓ "; color: var(--faint); }
.dur-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.dur-bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.dur-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.dur-bar i.slow { background: var(--amber); }
.todo-row { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); color: var(--text); }
.todo-row:last-child { border-bottom: 0; }
.todo-row:hover { background: var(--surface-2); color: var(--text); }
.stat.good { background: var(--green-50); border-color: #cdeede; }

/* Sammelaktionen */
.app-row > input[type=checkbox], .app-row-head input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; cursor: pointer; }
.app-row-head { background: var(--surface-2); padding-top: 10px; padding-bottom: 10px; cursor: pointer; }
.bulk-bar { position: sticky; bottom: 16px; z-index: 20; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.bulk-bar .select, .bulk-bar .input { height: 36px; font-size: 13.5px; }

/* Talent-Kennzahlen */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { display: block; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); }
a.kpi:hover { border-color: var(--brand-100); color: var(--text); }
.kpi small { display: block; font-size: 11.5px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { display: block; font-size: 24px; letter-spacing: -.02em; margin: 2px 0; }
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.market { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--green-50); border: 1px solid #cdeede; }
.market > .i { color: var(--green); width: 22px; height: 22px; }
.viewers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.viewer { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.viewer .logo { width: 24px; height: 24px; font-size: 10px; border-radius: 50%; }

/* Anzeige löschen */
.del-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.del-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.del-list .i { flex: none; margin-top: 2px; color: var(--muted); }
.del-list li.warn .i { color: var(--red); }
.del-list.keep .i { color: var(--green); }
.del-confirm { border: 2px solid #f6c9cb; }

@media (max-width: 760px) {
  .fn-row { grid-template-columns: 110px minmax(0, 1fr) 52px; gap: 8px; }
  .fn-label small { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bulk-bar { bottom: 76px; }
}

/* KI-Hilfe */
.ai-btn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; margin-left: 6px; border-radius: 999px; border: 1px solid #dcd3ff; background: linear-gradient(135deg, #f5f1ff, #eef2ff); color: #5b3fd6; font: 650 12px/1 var(--font); cursor: pointer; vertical-align: middle; transition: box-shadow .15s, transform .15s; }
.ai-btn .i { width: 13px; height: 13px; }
.ai-btn:hover { box-shadow: 0 0 0 3px rgba(123, 92, 255, .15); transform: translateY(-1px); }
.ai-dlg { max-width: min(640px, calc(100vw - 32px)); }
.ai-dlg .dlg-head strong { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.ai-dlg .dlg-head .i { color: var(--violet); }
.ai-dlg .dlg-body { padding: 16px 24px 22px; }
.ai-loading { display: flex; align-items: center; gap: 10px; padding: 26px 0; color: var(--muted); font-size: 14px; }
.ai-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #dcd3ff; border-top-color: var(--violet); animation: aispin .8s linear infinite; }
@keyframes aispin { to { transform: rotate(360deg); } }

/* Gesprächsoptionen */
.chat-head .menu { position: relative; }
.chat-head .menu-btn { width: 34px; height: 34px; border-radius: 10px; }
.chat-menu { min-width: 280px; }
.chat-menu button { align-items: flex-start; flex-wrap: wrap; }
.chat-menu button small { display: block; width: 100%; padding-left: 28px; margin-top: -2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.chat-menu button.danger { color: var(--red); }
.chat-closed form { margin-left: 8px; }

/* Datei-Auswahl: lange Dateinamen kürzen statt überlaufen */
label.btn:has(> input[type=file]) { max-width: 100%; min-width: 0; overflow: hidden; }
label.btn:has(> input[type=file]) > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
label.btn.has-file { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand-600); justify-content: flex-start; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

/* Platzhalter-Chips */
.ph-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; margin: 3px 2px 0 0; border: 1px dashed var(--brand-100); border-radius: 8px; background: var(--brand-50); color: var(--brand-600); font: 600 12.5px/1 var(--mono); cursor: pointer; }
.ph-chip:hover { border-style: solid; background: #e3e9ff; }

/* Lesebestätigung */
.rcpt.read { color: var(--brand); font-weight: 600; }

/* Nach oben */
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top .i { transform: rotate(180deg); width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; }
body.has-tabbar .to-top { bottom: 84px; }

/* Umkreissuche */
.dist { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 4px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: 11.5px; font-weight: 700; }
.geo-ok { color: var(--green); }
.geo-ok .i { color: var(--green); }
.geo-hint { margin-left: 8px; }
a.geo-hint:hover { filter: brightness(.95); }
.linklike { background: none; border: 0; padding: 4px 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
[data-match-box].flash { animation: matchflash 1.2s ease; border-radius: var(--r); }
@keyframes matchflash { 0% { background: var(--green-50); box-shadow: 0 0 0 6px var(--green-50); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }

/* Dokumenten-Safe: Freigaben direkt verwalten */
.share-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share-chip { display: inline-flex; align-items: center; gap: 2px; height: 26px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--green-50); border: 1px solid #bfe9d6; font-size: 12.5px; font-weight: 650; }
.share-chip a { color: #077a52; }
.share-chip button { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 50%; background: none; color: #077a52; cursor: pointer; }
.share-chip button:hover { background: var(--red-50); color: var(--red); }
.share-chip button .i { width: 12px; height: 12px; }
.share-add .select { height: 28px; width: auto; font-size: 12.5px; padding: 0 28px 0 10px; border-radius: 999px; border-style: dashed; }
.doc-card { scroll-margin-top: 90px; }
.doc-card.is-new, .doc-card:target { box-shadow: 0 0 0 3px var(--brand-100), var(--shadow); }

/* Live-Hinweise */
.count.bump { animation: bump .5s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
a.toast.live-note { color: #fff; text-decoration: none; cursor: pointer; }
a.toast.live-note span { flex: 1; }
a.toast.live-note:hover { filter: brightness(1.15); }
.live-refresh { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 45; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 650 14px/1 var(--font); box-shadow: var(--shadow-lg); cursor: pointer; animation: msgIn .3s ease-out; }
.live-refresh:hover { background: var(--brand-600); }

/* Sammelleiste: Auswahlfelder lesbar (Text nicht weiß erben) */
.bulk-bar .select, .bulk-bar .input { color: var(--text); background-color: #fff; }
.bulk-bar option { color: var(--text); background: #fff; }

/* Dateien zu Bewerbungen */
.doc-picks { display: grid; gap: 6px; }
.doc-pick { position: relative; display: block; cursor: pointer; }
.doc-pick input { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; accent-color: var(--brand); }
.doc-pick > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 12px 9px 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .15s, background .15s; }
.doc-pick > span small { color: var(--muted); font-size: 12px; }
.doc-pick input:checked + span { border-color: var(--brand-100); background: var(--brand-50); }
.app-docs > summary { list-style: none; cursor: pointer; }
.app-docs > summary::-webkit-details-marker { display: none; }
.app-docs[open] { flex-basis: 100%; }
.app-docs-body { margin-top: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); }
.share-chip small { font-weight: 500; opacity: .8; }

/* Chat: freigegebene Dateien als Links (neuer Tab) */
.msg-files { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.msg-files a { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.msg-files a:hover { text-decoration: underline; }
.msg-files a .i { width: 12px; height: 12px; }

/* ------------------------------------------------------------------ Handy: nichts quetschen, nichts überstehen */
@media (max-width: 560px) {
  /* Zeilen aus Logo/Avatar + Text + Aktionen: Aktionen rutschen in die nächste Zeile, statt den Text zu quetschen */
  .row { flex-wrap: wrap; }
  .row > .grow { min-width: min(170px, 100%); }
  .card-head { flex-wrap: wrap; padding: 14px 16px; }
  .visibility-card { flex-wrap: wrap; }
  .visibility-card .grow { min-width: min(200px, 100%); }
  /* Reiter werden zu umbrechenden Pillen – nichts wird abgeschnitten */
  .tabs { flex-wrap: wrap; overflow: visible; border-bottom: 0; gap: 6px; }
  .tabs a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; margin: 0; font-size: 13.5px; background: var(--surface); }
  .tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .tabs a.active .n { background: rgba(255, 255, 255, .2); color: #fff; }
  /* Tabellen: kompakter, Nummern nicht umbrechen */
  .table th, .table td { padding: 10px 10px; }
  .table td.mono, .table .nowrap { white-space: nowrap; }
  .compare-table td:first-child { width: auto; }
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 13px; }
  /* Auswahllisten nie breiter als der Bildschirm */
  .select, .share-add, .share-add .select { max-width: 100%; }
}
/* Zweispaltige Layouts: einspaltig ohne Mindestbreite des Inhalts (sonst schieben Tabellen die Seite breiter) */
@media (max-width: 1060px) { .layout-aside { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .crumbs { flex-wrap: wrap; row-gap: 6px; }
  .crumbs > a:not(:first-child) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .applied-for, .pj-item, .sc-teaser { flex-wrap: wrap; }
  .applied-for .grow, .pj-item > .grow, .sc-teaser > .grow { min-width: min(170px, 100%); }
  .pj-item > .stack-sm { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
  .pj-item > .stack-sm > * + * { margin-top: 0; }
}
@media (max-width: 560px) {
  .row > .grow { min-width: min(170px, 100%) !important; } /* übersteuert style="min-width:0" in Listen */
}
.app-docs[open] { flex-basis: 100%; }
/* Anfragen & Freigaben: „Was steht aus?“ */
.todo-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.todo-card > .i { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.todo-card strong { display: block; }
.todo-card.all-done { border-color: #bfe9d6; background: var(--green-50); }
.todo-card.all-done > .i { color: var(--green); }
.todo-card.has-todo { border-color: #c9d5ff; background: var(--brand-50); }
.todo-card.has-todo > .i { color: var(--brand); }
.todo-list { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.todo-list a { font-weight: 600; }
@media (max-width: 560px) {
  .pj-admin-row > .grow { min-width: min(170px, 100%) !important; }
  .pj-admin-row > .row:last-child { margin-left: auto; }
}

/* ------------------------------------------------------------------ Runde 15: Admin, 2FA, Pakete, Support */
a.stat { color: inherit; display: block; transition: box-shadow .15s, border-color .15s; }
a.stat:hover { box-shadow: var(--shadow); border-color: var(--brand-100); color: inherit; }
a.stat.dark:hover { color: #fff; }
.adm-link { font-weight: 600; }
.adm-link:hover { text-decoration: underline; }
.admin-search .input { width: 340px; max-width: 100%; }
.topbar-search { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.topbar-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; width: 150px; }
.topbar-search .i { color: var(--faint); width: 16px; height: 16px; }
@media (max-width: 860px) { .topbar-search { display: none; } }

/* Admin-Ansicht als Nutzer */
.imp-bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; background: #1f1a3a; color: #fff; font-size: 14px; }
.imp-bar .i { color: var(--lime); }
.imp-bar .btn { background: #fff; }

/* Aktivität & Protokoll */
.feed { list-style: none; margin: 0; padding: 6px 0; }
.feed li { display: flex; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.feed li:last-child { border-bottom: 0; }
.feed li small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.feed-ic { width: 28px; height: 28px; border-radius: 9px; background: var(--line-2); display: grid; place-items: center; flex: none; color: var(--muted); }
.feed-ic .i { width: 15px; height: 15px; }
tr.is-muted td { opacity: .55; }

/* Einstellungen */
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; align-items: start; }
.settings-grid .field { margin-top: 12px; }
.settings-grid .switch { grid-column: 1 / -1; }
@media (max-width: 760px) { .settings-grid { grid-template-columns: minmax(0, 1fr); } }
.bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.mini-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.mini-bars span { width: 100%; max-width: 26px; background: linear-gradient(180deg, var(--brand), #7c5cff); border-radius: 6px 6px 2px 2px; }
.mini-bars small { font-size: 10.5px; color: var(--faint); }

/* Pakete & Kontingent */
.credit-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.credit { padding: 14px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.credit small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.credit strong { font-size: 22px; font-family: var(--font-display); }
@media (max-width: 560px) { .credit-bar { grid-template-columns: 1fr 1fr; } .credit strong { font-size: 18px; } }
.use-credit { border-color: #bfe9d6; background: linear-gradient(120deg, var(--green-50), #fff); }
.use-credit .vc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; flex: none; }
.pkg-diff li strong { font-weight: 650; }
.feature-grid { list-style: none; padding: 0; margin: 10px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; font-size: 14px; }
.feature-grid li { display: flex; gap: 8px; align-items: flex-start; }
.feature-grid .i { color: var(--green); flex: none; margin-top: 2px; }

/* Zwei-Faktor */
.twofa-steps { margin: 0; padding-left: 20px; display: grid; gap: 18px; }
.twofa-steps > li > strong { display: block; margin-bottom: 4px; }
.twofa-steps > li > span { display: block; }
.twofa-qr { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.twofa-qr svg { border: 1px solid var(--line); border-radius: 14px; padding: 6px; background: #fff; flex: none; }
.twofa-secret { display: block; font-size: 15px; letter-spacing: .08em; margin: 6px 0 8px; padding: 8px 10px; background: var(--line-2); border-radius: 10px; word-break: break-all; }
.input-code { font-size: 20px; letter-spacing: .25em; font-variant-numeric: tabular-nums; text-align: center; max-width: 260px; }
.recovery-codes { columns: 2; column-gap: 24px; margin: 0 0 18px; padding-left: 22px; font-size: 17px; line-height: 2; }
.recovery-codes code { letter-spacing: .06em; font-weight: 650; }
.print-only { display: none; }
@media print {
  .imp-bar, .backbar, .flashes, .toasts { display: none !important; }
  .print-only { display: block; margin-bottom: 14px; }
  .recovery-sheet { border: 1px dashed #999; box-shadow: none; }
}

/* Support */
.topic-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-pick input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pick span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--surface); }
.topic-pick span .i { width: 16px; height: 16px; color: var(--muted); }
.topic-pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic-pick input:checked + span .i { color: var(--lime); }
.topic-pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ticket-reply { padding: 12px 14px; border-radius: var(--r); background: var(--brand-50); border: 1px solid var(--brand-100); }
.ticket-reply small { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; margin-bottom: 4px; }

/* Talent: Lebenslauf zurückziehen, Pseudonym */
.cv-sent { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 10px; font-size: 13.5px; }
.cv-sent small { color: var(--muted); }
.alias-card { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.alias-card .input { width: 260px; max-width: 100%; }
.callout-warn { background: var(--amber-50); border-color: #f6dca6; align-items: flex-start; padding: 12px 14px; }
.callout-warn .i { color: var(--amber); width: 20px; height: 20px; flex: none; }
.ai-btn.is-off { background: var(--line-2); border-color: var(--line); color: var(--faint); cursor: not-allowed; }
.text-green { color: var(--green); font-weight: 600; }
.text-red { color: var(--red); font-weight: 600; }
.feed li > div { min-width: 0; overflow-wrap: anywhere; }
.alias-card > .grow { flex: 1; min-width: min(220px, 100%); }
@media (max-width: 560px) { .alias-card .input { width: 100%; } }
/* Admin: Pakete bearbeiten */
.pkg-edit .table td { vertical-align: top; }
.pkg-edit .input-sm { height: 38px; font-size: 14px; padding: 0 10px; min-width: 70px; }
.pkg-edit td:first-child .input-sm { min-width: 170px; }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 26px; min-width: 100px; }
.input-suffix span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
[data-pkg-preview] { white-space: nowrap; line-height: 1.5; }
/* Admin: Zu erledigen */
.todo-items { list-style: none; margin: 0; padding: 4px 0; }
.todo-items li a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line-2); color: var(--text); }
.todo-items li:last-child a { border-bottom: 0; }
.todo-items li a:hover { background: var(--surface-2); }
.todo-items li a > .i { color: var(--faint); flex: none; }
.todo-items strong { display: block; font-size: 14.5px; }
.todo-items small { display: block; color: var(--muted); font-size: 12.5px; }
.todo-items .is-urgent .feed-ic { background: var(--red-50); color: var(--red); }
.todo-items .is-todo .feed-ic { background: var(--amber-50); color: var(--amber); }
/* Anzeigenliste (Firma): Zeilen statt breiter Tabelle – kein seitliches Scrollen */
.jrows { display: block; }
.jrow { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; grid-template-areas: "main status actions"; gap: 10px 18px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.jrows > .jrow:first-child { border-top: 0; }
.card-head + .jrows > .jrow:first-child { border-top: 0; }
.jrow-main { grid-area: main; min-width: 0; }
.jrow-status { grid-area: status; }
.jrow-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.jrow-title { font-weight: 700; color: var(--ink); display: block; overflow-wrap: anywhere; }
.jrow-title:hover { color: var(--brand); }
.jrow-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.jrow-stats > * { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.jrow-stats .i { width: 14px; height: 14px; }
.jrow-stats .is-apps { color: var(--brand); font-weight: 650; }
@media (max-width: 720px) {
  .jrow { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "main main" "status actions"; padding: 14px 16px; }
}
/* Konto-Kennzeichnung (Business/Admin) auch am Handy sichtbar – kompakt */
@media (max-width: 560px) {
  .brand small { display: inline-block !important; font-size: 9.5px; padding: 2px 5px; margin-left: 4px; }
}
@media (max-width: 480px) { .jrow-opt { display: none !important; } .jrow-actions { flex-wrap: nowrap; } }
/* Reiter brechen um statt seitlich zu scrollen (mit der Maus war der Rest sonst nicht erreichbar) */
.tabs { flex-wrap: wrap; overflow: visible; row-gap: 2px; }
/* Einstellungen: Speichern-Leiste bleibt sichtbar, Hinweis bei ungespeicherten Änderungen */
.settings-form .save-bar { position: sticky; bottom: 0; background: var(--surface); padding: 12px 0; margin-bottom: -12px; border-top: 1px solid var(--line-2); z-index: 5; }
.dirty-note { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); font-weight: 650; }
.dirty-note .i { width: 16px; height: 16px; }
form.is-dirty .save-bar .btn-primary { box-shadow: 0 0 0 4px var(--brand-50); }

/* ------------------------------------------------------------------ Anhänge (Support) */
.attach-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.attach-list:empty { display: none; }
.attach { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 34px; padding: 0 6px 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 600; }
a.attach { padding-right: 11px; }
a.attach:hover { border-color: var(--brand); color: var(--brand); }
.attach span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.attach small { color: var(--muted); font-weight: 500; font-size: 12px; flex: none; }
.attach .i { width: 15px; height: 15px; flex: none; color: var(--brand); }
.attach button { border: 0; background: none; width: 24px; height: 24px; border-radius: 6px; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; flex: none; }
.attach button:hover { background: var(--line-2); color: var(--ink); }

/* ------------------------------------------------------------------ Setup & Livegang */
.setup-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.setup-list { list-style: none; margin: 0; padding: 0; }
.setup-item { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.setup-item:first-child { border-top: 0; }
.setup-ic .i { width: 20px; height: 20px; margin-top: 1px; }
.setup-item.is-ok .setup-ic { color: var(--green, #16a34a); }
.setup-item.is-todo .setup-ic { color: var(--red, #dc2626); }
.setup-item.is-warn .setup-ic { color: var(--amber, #d97706); }
.setup-item.is-info .setup-ic { color: var(--faint); }
.setup-text .small { margin-top: 3px; }
.setup-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.setup-later { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
@media (max-width: 640px) { .setup-item { grid-template-columns: 22px 1fr; } .setup-actions { grid-column: 2; justify-content: flex-start; } }
