/* =====================================================================
   Vacancy Guru – Komponenten (wird nach app.css geladen)
   Logo, Menü, Auth, Startseite, Dashboards, Bewerbungen, Uploads, Einstellungen, Rechtliches, Chat
   ===================================================================== */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--saffron); color: var(--ink); padding: .6rem 1rem; z-index: 100; border-radius: 0 0 var(--r-s) 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.brand-logo { border-radius: 10px; display: block; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--saffron); margin-bottom: 1rem; }
.eyebrow-dark { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--saffron-d); margin: 0 0 .4rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.hint { display: block; font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.hint i { color: var(--saffron-d); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }

/* Eingabefelder mit Icon */
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 2.6rem; }
.field .reveal { top: 2.25rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 0 0 1.2rem; cursor: pointer; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--saffron-d); flex: none; }
.check.full { grid-column: 1 / -1; }

/* Konto-Menü */
.menu { position: relative; }
.menu-btn { background: transparent; border: 0; color: #cdd6e4; font: 500 .95rem var(--font); display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: var(--r-s); cursor: pointer; }
.menu-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menu-list { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 18px 40px -12px rgba(15, 27, 45, .35); padding: .4rem; z-index: 60; }
.menu.open .menu-list { display: block; }
.menu-list a, .menu-list button { display: flex; gap: .7rem; align-items: center; width: 100%; padding: .6rem .8rem; border-radius: var(--r-s); text-decoration: none; background: none; border: 0; color: var(--text) !important; font: 500 .93rem var(--font); cursor: pointer; text-align: left; }
.menu-list a:hover, .menu-list button:hover { background: var(--paper); }
.menu-list i { width: 18px; color: var(--saffron-d); text-align: center; }
.menu-list form { margin: .3rem 0 0; border-top: 1px solid var(--line); padding-top: .3rem; }

/* Avatare mit Bild */
.avatar-img { object-fit: cover; background: #fff; border: 1px solid var(--line); }
.avatar.lg.avatar-img { border-radius: 18px 18px 18px 5px; }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid h4 { color: #fff; font: 700 .85rem var(--font); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .9rem; }
.footer-grid nav a { display: block; color: #9fb0cb; text-decoration: none; padding: .22rem 0; font-size: .93rem; }
.footer-grid nav a:hover { color: var(--saffron); }
.footer-brand p { margin: 1rem 0 0; max-width: 34ch; font-size: .93rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.2rem; font-size: .85rem; color: #6e809c; }
.footer-note i { color: var(--saffron); margin-right: .3rem; }

/* ---------- Auth ---------- */
.auth-aside-inner { max-width: 440px; }
.auth-aside h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.auth-aside p { color: #b9c6dc; }
.auth-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.auth-points li { display: flex; gap: 1rem; align-items: flex-start; }
.auth-points li > i { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(242, 164, 31, .16); color: var(--saffron); margin: 0; }
.auth-points strong { display: block; color: #fff; }
.auth-points span { font-size: .9rem; color: #9fb0cb; }
.auth-card h1 { font-size: 2.1rem; margin-bottom: .3rem; }
.auth-card.wide { width: min(620px, 100%); }
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.4rem 0 1.6rem; }
.role-tabs button { display: flex; align-items: center; gap: .8rem; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: .9rem 1rem; cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, background .15s; }
.role-tabs button i { font-size: 1.25rem; color: var(--muted); width: 26px; text-align: center; }
.role-tabs button strong { display: block; font-size: .98rem; color: var(--ink); }
.role-tabs button small { color: var(--muted); font-size: .8rem; }
.role-tabs button:hover { border-color: #cdbf9f; }
.role-tabs button.active { border-color: var(--saffron); background: var(--saffron-soft); box-shadow: 0 0 0 3px rgba(242, 164, 31, .18); }
.role-tabs button.active i { color: var(--saffron-d); }
.auth-card .legal-mini { text-align: center; font-size: .8rem; margin: 1.4rem 0 0; }
.auth-card .legal-mini a { color: var(--muted); }

/* ---------- Startseite ---------- */
.section { margin-top: 3.5rem; }
.sort-form { margin-left: auto; }
.sort-form .input { padding: .5rem .8rem; width: auto; font-size: .9rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.cat-card { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.1rem 1.2rem; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cat-card i { font-size: 1.3rem; color: var(--saffron-d); margin-bottom: .5rem; }
.cat-card strong { color: var(--ink); font-size: .97rem; }
.cat-card span { color: var(--muted); font-size: .85rem; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--saffron); box-shadow: var(--shadow); }
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
.emp-card { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.2rem; transition: border-color .15s, transform .15s; }
.emp-card .avatar { margin-bottom: .6rem; }
.emp-card strong { color: var(--ink); }
.emp-card span { color: var(--muted); font-size: .85rem; }
.emp-card:hover { border-color: var(--saffron); transform: translateY(-2px); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: .6rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--saffron-d); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 1.1rem; color: var(--muted); }
.tag-new { display: inline-block; background: var(--saffron); color: var(--ink); font: 700 .68rem var(--font); padding: .15rem .5rem; border-radius: 999px; vertical-align: middle; letter-spacing: .04em; text-transform: uppercase; margin-left: .3rem; }
.chip.warn { background: #fbe3e0; color: #912d22; }
.chip.warn i { color: #c0392b; }
.chip-tag { background: transparent; border: 1px dashed var(--line); color: var(--muted); }

/* ---------- Dashboards ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.kpi { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.2rem 1.3rem; text-decoration: none; color: inherit; position: relative; transition: transform .15s, border-color .15s; }
a.kpi:hover { transform: translateY(-2px); border-color: var(--saffron); }
.kpi > i { color: var(--saffron-d); font-size: 1.1rem; margin-bottom: .7rem; }
.kpi strong { font: 800 2.2rem/1 var(--serif); color: var(--ink); letter-spacing: -.03em; }
.kpi span { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.kpi.hot { background: var(--ink); border-color: var(--ink); }
.kpi.hot strong { color: #fff; }
.kpi.hot span { color: #9fb0cb; }
.kpi.hot > i { color: var(--saffron); }
.dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.4rem; align-items: start; }
.dash-main, .dash-side { display: grid; gap: 1.4rem; }
.dash-grid .panel { padding: 1.4rem 1.5rem; box-shadow: none; margin-top: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.panel-head h3 { margin: 0; font-size: 1.1rem; }
.panel-head a { font-size: .88rem; }
.percent { font: 800 1.1rem var(--serif); color: var(--saffron-d); }
.app-row, .rec-row { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.panel-head + .app-row, .panel-head + .rec-row { border-top: 0; }
.app-row > div:first-child, .rec-row > div { flex: 1; min-width: 0; }
.app-row strong a { color: var(--ink); text-decoration: none; }
.rec-row strong { color: var(--ink); }
.rec-row > i.fa-arrow-right { color: var(--muted); }
.rec-row:hover > i.fa-arrow-right { color: var(--saffron-d); }
.rec-row .avatar { width: 44px; height: 44px; font-size: .9rem; flex: none; border-radius: 12px 12px 12px 3px; }
.rec-row.slim { padding: .65rem 0; }
.mini-steps { display: flex; gap: 4px; margin-top: .5rem; max-width: 180px; }
.mini-steps span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.mini-steps span.on { background: var(--saffron); }
.empty-mini { text-align: center; padding: 1.2rem 0; color: var(--muted); }
.empty-mini i { font-size: 1.6rem; color: var(--saffron); display: block; margin-bottom: .5rem; }
.empty-mini p { margin: 0 0 .8rem; }
.meter { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), #f7c35c); border-radius: 4px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; font-size: .92rem; color: var(--muted); }
.checklist li i { margin-right: .5rem; color: var(--line); }
.checklist li.ok { color: var(--text); }
.checklist li.ok i { color: var(--ok); }
.alert-bar { display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem; border-radius: var(--r-m); margin-bottom: .8rem; font-size: .94rem; flex-wrap: wrap; }
.alert-bar span { flex: 1; }
.alert-bar.warn { background: #fdf1d6; color: #7a5206; border: 1px solid #f0d28a; }
.alert-bar.info { background: #e4eefc; color: #1e4a8f; border: 1px solid #bcd1f2; }
.alert-bar a { font-weight: 700; white-space: nowrap; }
.pipeline { display: flex; height: 16px; border-radius: 8px; overflow: hidden; gap: 2px; margin-bottom: 1rem; background: var(--line); }
.pipeline .seg { min-width: 6px; }
.seg.st-new, .swatch.st-new { background: #8fa1bf; }
.seg.st-review, .swatch.st-review { background: #f2a41f; }
.seg.st-interview, .swatch.st-interview { background: #3f7fe0; }
.seg.st-hired, .swatch.st-hired { background: #1f8a5b; }
.seg.st-rejected, .swatch.st-rejected { background: #d9534f; }
.pipeline-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .9rem; }
.pipeline-legend a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.table-wrap { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.simple th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
table.simple td { padding: .75rem .6rem; border-bottom: 1px solid var(--line); }
table.simple tr:last-child td { border-bottom: 0; }
table.simple .num { text-align: right; font-variant-numeric: tabular-nums; }
table.simple a { color: var(--ink); font-weight: 600; text-decoration: none; }
.state { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.state-active { background: #d9f2e5; color: #17694a; }
.state-paused { background: #fdf1d6; color: #7a5206; }
.state-expired { background: #fbe3e0; color: #912d22; }

/* ---------- Bewerbungen ---------- */
.status-pill.st-withdrawn, .status-box.st-withdrawn { background: #eceef2; color: #5b667a; }
.app-card { padding: 1.3rem 1.5rem; }
.applicant .applicant-head, .app-card .applicant-head { align-items: flex-start; }
.stepper { list-style: none; display: flex; padding: 0; margin: 1.1rem 0 .4rem; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); position: relative; text-align: center; }
.stepper li::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); font-weight: 700; font-size: .78rem; position: relative; z-index: 1; }
.stepper li.done::before, .stepper li.current::before { background: var(--saffron); }
.stepper li.done .dot { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.stepper li.current .dot { border-color: var(--saffron); color: var(--ink); box-shadow: 0 0 0 4px rgba(242, 164, 31, .2); }
.stepper li.current { color: var(--ink); font-weight: 700; }
.stepper.is-rejected li.current .dot { border-color: var(--danger); background: #fbe3e0; color: var(--danger); box-shadow: none; }
.stepper.is-rejected li.current::before { background: var(--danger); }
.timeline { list-style: none; padding: 0 0 0 1.2rem; margin: .8rem 0 0 .5rem; display: grid; gap: .7rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: flex; gap: .7rem; }
.timeline li > i { position: absolute; left: -2.05rem; top: .05rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; background: var(--card); border-radius: 50%; font-size: .75rem; color: var(--saffron-d); border: 2px solid var(--line); }
.timeline p { margin: .2rem 0 0; font-size: .9rem; color: var(--text); }
.file-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .4rem; font-size: .9rem; }
.file-list li { display: flex; align-items: center; gap: .6rem; }
.file-list .thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.file-list.attached { margin: 0 0 1rem; padding: .8rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.file-list .dl { margin-left: auto; color: var(--muted); }
.review-row { margin: 1rem 0 .6rem; }
.stars { display: flex; align-items: center; gap: .15rem; }
.stars .muted { margin-right: .6rem; }
.star { background: none; border: 0; cursor: pointer; font-size: 1.15rem; color: var(--line); padding: .1rem .15rem; width: auto; }
.star.on { color: var(--saffron); }
.star:hover { color: var(--saffron-d); }
.note-form { display: grid; gap: .5rem; margin-bottom: .8rem; }
.note-form .btn { justify-self: start; }
.note-form textarea { min-height: 64px; }
.status-form .input { width: auto; }

/* ---------- Upload ---------- */
.dropzone { position: relative; border: 2px dashed var(--line); border-radius: var(--r-m); padding: 1.1rem; text-align: center; background: var(--paper); transition: border-color .15s, background .15s; }
.dropzone label { display: block; cursor: pointer; font-weight: 600; color: var(--ink); margin: 0; }
.dropzone label i { color: var(--saffron-d); margin-right: .4rem; }
.dropzone small { display: block; color: var(--muted); margin-top: .3rem; font-size: .8rem; }
.dropzone.drag, .dropzone:hover { border-color: var(--saffron); background: var(--saffron-soft); }
.dropzone .file-list { margin-top: .8rem; text-align: left; }
.current-file { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; }
.current-file i { color: #c0392b; font-size: 1.3rem; }
.profile-head { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Einstellungen ---------- */
.segmented { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented label { margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.segmented input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.segmented input:focus-visible + span { outline: 3px solid var(--saffron); }
.switch { display: flex; gap: 1rem; align-items: flex-start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { flex: none; width: 46px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background .2s; margin-top: .15rem; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--saffron); }
.switch strong { display: block; color: var(--ink); }
.switch small { display: block; color: var(--muted); margin-top: .15rem; }
.meta-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; font-size: .92rem; color: var(--muted); }
.meta-list i { color: var(--saffron-d); width: 18px; margin-right: .4rem; }
.panel h3 i { color: var(--saffron-d); margin-right: .4rem; font-size: .95em; }
.danger-zone h3 i { color: var(--danger); }
.panel + form.panel, form.panel + .panel, .panel + section.panel, section.panel + form.panel, form.panel + form.panel, section.panel + section.panel { margin-top: 1.2rem; }

/* ---------- Rechtliches ---------- */
.legal { padding: 2.5rem 0 1rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2rem; }
.legal code { background: var(--paper); border: 1px solid var(--line); padding: .05rem .35rem; border-radius: 5px; font-size: .88em; }
.legal-warning { display: flex; gap: 1rem; align-items: flex-start; background: #fdf1d6; border: 1px solid #f0d28a; color: #6b4a07; padding: 1rem 1.2rem; border-radius: var(--r-m); margin-bottom: 1.5rem; font-size: .92rem; }
.legal-warning i { margin-top: .2rem; color: #d68a0a; }
mark.ph { background: #ffe58a; color: #5a3f00; padding: .05rem .35rem; border-radius: 4px; font-weight: 600; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; }
.legal-table th, .legal-table td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--paper); }

/* ---------- Chat v2 ---------- */
.chat-side-head { padding: 1.2rem 1.3rem .8rem; }
.chat-side-head h2 { padding: 0 0 .7rem; font-size: 1.3rem; margin: 0; }
.chat-side-head .input { padding: .55rem .8rem .55rem 2.4rem; font-size: .9rem; }
.conv[hidden] { display: none; }
.composer { display: block; padding: .8rem 1.2rem 1rem; }
.composer-row { display: flex; gap: .6rem; align-items: flex-end; }
.composer-row textarea { flex: 1; min-height: 46px; max-height: 140px; resize: none; }
.attach-btn { color: var(--muted); font-size: 1.15rem; padding: .7rem .8rem; cursor: pointer; border: 1px solid var(--line); border-radius: var(--r-m); }
.attach-btn:hover { color: var(--ink); border-color: var(--saffron); background: transparent; }
.composer-attach { display: inline-flex; align-items: center; gap: .6rem; background: var(--saffron-soft); border-radius: 999px; padding: .3rem .5rem .3rem .9rem; font-size: .86rem; margin-bottom: .6rem; }
.composer-attach[hidden] { display: none; }
.composer-attach button { background: none; border: 0; cursor: pointer; color: var(--muted); width: auto; padding: .2rem .4rem; }
.composer.sending { opacity: .7; pointer-events: none; }
.msg-file { margin-bottom: .4rem; }
.msg-file img { max-width: 260px; max-height: 220px; border-radius: 10px; display: block; }
.file-chip { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-radius: 10px; background: rgba(127, 140, 160, .16); text-decoration: none; color: inherit !important; font-size: .9rem; }
.file-chip i { color: var(--saffron-d); }
.msg.mine .file-chip { background: rgba(255, 255, 255, .14); }
.msg .tick { margin-left: .35rem; font-size: .7rem; opacity: .7; }
.msg .tick.read { color: #6ec3ff; opacity: 1; }
.msg.mine a { color: inherit; }

@media (max-width: 980px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .role-tabs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-list { position: static; box-shadow: none; display: block; margin-top: .3rem; background: transparent; border: 0; }
  .menu-list a, .menu-list button { color: #cdd6e4 !important; }
  .menu-list a:hover, .menu-list button:hover { background: rgba(255, 255, 255, .08); }
  .menu-list form { border-top-color: rgba(255, 255, 255, .12); }
  .menu-btn { display: none; }
  .stepper li span:last-child { font-size: .7rem; }
  .sort-form { margin-left: 0; width: 100%; }
}

/* ---------- Dark Mode: neue Komponenten ---------- */
[data-theme="dark"] .kpi strong, [data-theme="dark"] .cat-card strong, [data-theme="dark"] .emp-card strong, [data-theme="dark"] .rec-row strong,
[data-theme="dark"] .app-row strong a, [data-theme="dark"] .switch strong, [data-theme="dark"] .faq summary, [data-theme="dark"] .role-tabs button strong,
[data-theme="dark"] .dropzone label, [data-theme="dark"] table.simple a { color: #f1f5fb; }
[data-theme="dark"] .kpi.hot { background: #1c2f4d; border-color: #1c2f4d; }
[data-theme="dark"] .role-tabs button.active { background: #2a2210; }
[data-theme="dark"] .role-tabs button.active strong { color: #fff; }
[data-theme="dark"] .dropzone { background: #0c1627; }
[data-theme="dark"] .dropzone.drag, [data-theme="dark"] .dropzone:hover { background: #2a2210; }
[data-theme="dark"] .segmented, [data-theme="dark"] .file-list.attached { background: #0c1627; }
[data-theme="dark"] .segmented input:checked + span { background: #1c2f4d; color: #fff; }
[data-theme="dark"] .alert-bar.warn { background: #3a2c0e; border-color: #6b4f14; color: #f5c76b; }
[data-theme="dark"] .alert-bar.info { background: #17305a; border-color: #28497f; color: #a9c8ff; }
[data-theme="dark"] .chip.warn { background: #4a1f1b; color: #f4a79f; }
[data-theme="dark"] .state-active { background: #123a2a; color: #86e0b5; }
[data-theme="dark"] .state-paused { background: #3a2c0e; color: #f5c76b; }
[data-theme="dark"] .state-expired { background: #4a1f1b; color: #f4a79f; }
[data-theme="dark"] .status-pill.st-withdrawn, [data-theme="dark"] .status-box.st-withdrawn { background: #1a2b47; color: #aab6cb; }
[data-theme="dark"] .menu-list { box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
[data-theme="dark"] .legal-warning { background: #3a2c0e; border-color: #6b4f14; color: #f5c76b; }
[data-theme="dark"] .legal code { background: #0c1627; }
[data-theme="dark"] .avatar-img { background: #0c1627; }
[data-theme="dark"] .composer-attach { background: #2a2210; }
[data-theme="dark"] .stepper li.current { color: #fff; }
[data-theme="dark"] .menu-list a, [data-theme="dark"] .menu-list button { color: var(--text) !important; }
