/* ==========================================================================
   vero · design system
   Built on the TANGO prototype principles (square corners, hairlines instead
   of shadows, generous white space, large numbers) in the vero corporate
   design: vero red, the gold arrow of the logo as signal colour, DIN type.
   ========================================================================== */

/* Schriften lokal – keine Anfrage an Google oder andere Server */
@font-face { font-family: Barlow; font-weight: 300; font-display: swap; src: url("../fonts/Barlow-Light.ttf") format("truetype"); }
@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url("../fonts/Barlow-Regular.ttf") format("truetype"); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url("../fonts/Barlow-Medium.ttf") format("truetype"); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url("../fonts/Barlow-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); }

@view-transition { navigation: auto; }

:root {
  /* vero CD (flyer vectors, letterhead) */
  --vero: #880827;
  --vero-dark: #6a0620;
  --vero-85: #9b2a45;
  --vero-38: #dba7b4;
  --vero-18: #f3dfe4;
  --vero-08: #faf0f2;
  --rosa: #f6819a;
  --gold: #eaba4f;
  --gold-dark: #d9a52f;
  --gold-18: #fbf0d6;

  /* Status (reserved, always with label or icon) */
  --ok: #2f7a3d;
  --ok-18: #e3f1e5;
  --hinweis: #b45309;
  --hinweis-18: #fdf0e1;
  --fehler: #b42318;
  --info: #1f6fae;
  --info-18: #e4eef7;

  /* Chart categories (validated: light surface, CVD-safe) */
  --c-west: #9b1b3a;
  --c-nord: #1f6fae;
  --c-sonstige: #b07d12;

  /* Surfaces and ink — warm greys around the vero dark #231F20 */
  --ground: #f4f2f0;
  --surface: #ffffff;
  --surface-quiet: #faf8f7;
  --line: #e5e0dd;
  --line-strong: #cbc3bf;
  --ink: #231f20;
  --ink-body: #2b2627;
  --ink-soft: #564d4f;
  --ink-quiet: #7d7275;

  --font: 'Barlow', 'D-DIN', 'DIN Pro', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-cond: 'Barlow Condensed', var(--font);
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.077, 1.121 24.2%, 1.149 26.5%, 1.159 28.4%, 1.154 30.9%, 1.129 34.4%, 1.051 42.8%, 1.017 47.9%, 0.997 52.6%, 0.991 58.4%, 1.001 75.7%, 1);
  --spring-soft: linear(0, 0.06 3%, 0.24 7.6%, 0.76 17.6%, 0.95 23%, 1.03 28.8%, 1.05 33%, 1.04 39%, 1.005 52%, 0.997 64%, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --content-max: 1360px;
  --topbar-h: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 15.5px; line-height: 1.55;
  color: var(--ink-body); background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--vero); text-underline-offset: 3px; }
a:hover { color: var(--vero-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--vero); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.r { text-align: right; }
.muted { color: var(--ink-quiet); }
.wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow { font-family: var(--font-cond); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-quiet); font-weight: 600; }
.eyebrow--vero { color: var(--vero); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); view-transition-name: topbar; }
.topbar::before { content: ""; display: block; height: 4px; background: var(--vero); }
.topbar__in { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 44px; min-height: var(--topbar-h); }
.brand { flex: none; display: block; view-transition-name: brand; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { position: relative; padding: 6px 0; font-size: 15.5px; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--vero); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--spring); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.topbar__sp { flex: 1; }
.searchbtn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 12px; border: 1px solid var(--line-strong); background: var(--surface-quiet); color: var(--ink-quiet); cursor: pointer; font-size: 14px; min-width: 220px; transition: border-color .2s; }
.searchbtn:hover { border-color: var(--vero); color: var(--ink); }
.searchbtn .kbd { margin-left: auto; }
.me { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.me form { display: contents; }
.me button { border: 0; background: none; cursor: pointer; color: var(--ink-quiet); font-size: 13.5px; padding: 4px 0; }
.me button:hover { color: var(--vero); }
.avatar { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; background: var(--vero-18); color: var(--vero); font-family: var(--font-cond); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.avatar--lg { width: 72px; height: 72px; font-size: 28px; }
@media (max-width: 1100px) { .searchbtn { min-width: 0; } .searchbtn span:not(.kbd) { display: none; } .topbar__in { gap: 28px; } }
@media (max-width: 860px) { .nav a:not([aria-current="page"]) { display: none; } .me span { display: none; } }

.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--surface); font-size: 11.5px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { --b: var(--vero); --f: #fff; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid var(--b); background: var(--b); color: var(--f); font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: none; user-select: none; white-space: nowrap; transition: transform .5s var(--spring), background-color .2s, border-color .2s; }
.btn:hover { background: var(--vero-dark); border-color: var(--vero-dark); color: #fff; }
.btn:active { transform: scale(.965); transition-duration: .08s; }
.btn--gold { --b: var(--gold); --f: var(--ink); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--ink); }
.btn--ghost { --b: transparent; --f: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--vero); color: var(--ink); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn .arrow { transition: transform .45s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Pills, notes
   -------------------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; font-size: 12.5px; font-weight: 500; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--ink-soft); background: var(--surface); }
.pill--ok { color: var(--ok); background: var(--ok-18); border-color: #a9d3b0; }
.pill--warn { color: var(--hinweis); background: var(--hinweis-18); border-color: #f0c08f; }
.pill--vero { color: var(--vero); background: var(--vero-08); border-color: var(--vero-38); }
.pill--gold { color: #6b4e00; background: var(--gold-18); border-color: var(--gold); }
.pill--info { color: var(--info); background: var(--info-18); border-color: #a8c8e4; }
.pill--quiet { color: var(--ink-quiet); }
.chiplist { display: flex; flex-wrap: wrap; gap: 4px; }
.fg { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; font-family: var(--font-cond); font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--ink-soft); background: var(--surface-quiet); border: 1px solid var(--line); white-space: nowrap; }
.fg::before { content: ""; width: 6px; height: 6px; margin-right: 6px; background: var(--c, var(--ink-quiet)); }
.fg--west { --c: var(--c-west); }
.fg--nord { --c: var(--c-nord); }
.fg--sonstige { --c: var(--c-sonstige); }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-left: 3px solid var(--info); background: var(--info-18); font-size: 14.5px; color: #12384f; }
.note--warn { border-left-color: var(--hinweis); background: var(--hinweis-18); color: #4a2a00; }
.note--gold { border-left-color: var(--gold-dark); background: var(--gold-18); color: #4a3600; }
.note--ok { border-left-color: var(--ok); background: var(--ok-18); color: #123d1b; }
.note--vero { border-left-color: var(--vero); background: var(--vero-08); color: var(--ink); }
.note svg { flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Page head, KPI strip, section heads
   -------------------------------------------------------------------------- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end; padding-block: clamp(44px, 6vw, 88px) clamp(32px, 4vw, 52px); }
.head h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; letter-spacing: -.02em; margin-top: 14px; }
.head h1 b { font-weight: 600; color: var(--vero); }
.head p { color: var(--ink-soft); font-size: clamp(16.5px, 1.35vw, 19px); margin-top: 16px; max-width: 62ch; }
.head p b { color: var(--ink); font-weight: 600; }
.head__act { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .head { grid-template-columns: minmax(0, 1fr); } }

.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-quiet); padding-top: 28px; }
.crumbs a { color: var(--ink-quiet); text-decoration: none; }
.crumbs a:hover { color: var(--vero); }

.kpis { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.kpi { padding: 26px 24px 24px 0; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); min-width: 0; }
.kpi + .kpi { padding-left: 28px; }
.kpi:last-child { border-right: 0; }
.kpi b { font-size: clamp(38px, 3.8vw, 54px); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi b small { font-size: .45em; letter-spacing: 0; margin-left: 4px; color: var(--ink-soft); font-weight: 400; }
.kpi > span { font-size: 14px; color: var(--ink-soft); }
.kpi .delta { font-size: 13px; display: inline-flex; gap: 4px; align-items: center; color: var(--ink-quiet); }
.kpi .delta.up { color: var(--ok); }
.kpi .delta.down { color: var(--fehler); }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi:nth-child(2n) { border-right: 0; } .kpi:nth-child(2n+1) { padding-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line); } }

.shead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 20px; border-top: 2px solid var(--ink); padding-top: 20px; margin-bottom: 22px; }
.shead h2 { font-size: 24px; font-weight: 500; }
.shead p { font-size: 14px; color: var(--ink-quiet); }
.shead a { font-size: 14px; }

.block { margin-top: clamp(48px, 6vw, 88px); }
.grid2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); align-items: start; }
@media (max-width: 1080px) { .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); }
.panel--flush { padding: 0; }

/* --------------------------------------------------------------------------
   The annual cycle: one strip that says where the year stands
   -------------------------------------------------------------------------- */
.cycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); counter-reset: step; }
.cycle li { list-style: none; position: relative; padding: 22px 22px 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; animation: rise .7s var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 80ms); }
.cycle li:last-child { border-right: 0; }
.cycle li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line); }
.cycle li.done::before { background: var(--vero); transform-origin: left; animation: fill .9s var(--ease-out) both; animation-delay: calc(.2s + var(--i, 0) * .12s); }
.cycle li.now::before { background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--line) 0); }
.cycle .n { font-family: var(--font-cond); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-quiet); }
.cycle .n::before { counter-increment: step; content: counter(step, decimal-leading-zero) "  "; color: var(--ink-quiet); }
.cycle li.done .n { color: var(--vero); }
.cycle li.now .n { color: #8a6200; }
.cycle b { font-size: 17px; font-weight: 500; color: var(--ink); }
.cycle small { font-size: 13px; color: var(--ink-quiet); }
@keyframes fill { from { transform: scaleX(0); } }
@media (max-width: 960px) { .cycle { grid-template-columns: minmax(0, 1fr); } .cycle li { border-right: 0; border-bottom: 1px solid var(--line); } }

/* --------------------------------------------------------------------------
   Charts (server-rendered, CSS-sized). Thin marks, 4px rounded data-ends,
   2px surface gap between stacked segments, recessive hairline grid.
   -------------------------------------------------------------------------- */
.chart { position: relative; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }

.cols { --h: 260px; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; height: calc(var(--h) + 30px); padding-left: 48px; }
.cols__grid { position: absolute; inset: 0 0 30px 48px; display: flex; flex-direction: column-reverse; justify-content: space-between; pointer-events: none; }
.cols__grid span { position: relative; border-top: 1px solid var(--line); height: 0; }
.cols__grid span:first-child { border-top-color: var(--line-strong); }
.cols__grid em { position: absolute; right: calc(100% + 10px); top: -9px; font-style: normal; font-size: 12px; color: var(--ink-quiet); font-variant-numeric: tabular-nums; white-space: nowrap; }
.col { position: relative; height: calc(var(--h) + 30px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: default; outline: 0; }
.col__bar { width: min(28px, 56%); display: flex; flex-direction: column-reverse; gap: 2px; height: calc(var(--h) * var(--t) / 100); transform-origin: bottom; animation: grow .9s var(--spring-soft) both; animation-delay: calc(var(--i) * 55ms); }
.col__bar i { display: block; height: var(--v); min-height: 0; background: var(--c); }
.col__bar i:last-child { border-radius: 4px 4px 0 0; }
.col__lbl { height: 30px; display: grid; place-items: center; font-size: 12.5px; color: var(--ink-quiet); font-variant-numeric: tabular-nums; }
.col__val { position: absolute; bottom: calc(30px + var(--h) * var(--t) / 100 + 6px); font-size: 12px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.col.is-last .col__val, .col:hover .col__val, .col:focus-visible .col__val { opacity: 1; }
.col:hover .col__bar, .col:focus-visible .col__bar { filter: saturate(1.15) brightness(1.04); }
.col::after { content: ""; position: absolute; inset: 0 0 30px; background: var(--ink); opacity: 0; transition: opacity .2s; z-index: -1; }
.col:hover::after { opacity: .03; }
@keyframes grow { from { transform: scaleY(0); } }

.hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hbars li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hbars li:last-child { border-bottom: 0; }
.hbars .k { font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.hbars .track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hbars .bar { height: 14px; width: calc(var(--v) * 1%); min-width: 2px; max-width: calc(100% - 92px); background: var(--c, var(--vero)); border-radius: 0 4px 4px 0; transform-origin: left; animation: grow-x .9s var(--spring-soft) both; animation-delay: calc(var(--i) * 45ms); }
.hbars .v { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
@keyframes grow-x { from { transform: scaleX(0); } }

.tip { position: fixed; z-index: 120; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 12px; font-size: 13px; line-height: 1.5; min-width: 180px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .25s var(--spring); }
.tip.is-on { opacity: 1; transform: none; }
.tip b { display: block; font-weight: 600; margin-bottom: 4px; }
.tip div { display: flex; justify-content: space-between; gap: 18px; font-variant-numeric: tabular-nums; }
.tip div span { display: inline-flex; gap: 6px; align-items: center; color: #d8d0d2; }
.tip div i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.tip .sum { border-top: 1px solid #4a4244; margin-top: 4px; padding-top: 4px; }

.ring { --p: 0; --c: var(--vero); --s: 44px; width: var(--s); height: var(--s); border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; flex: none; transition: --p 1.2s var(--ease-out); }
.ring::before { content: ""; width: calc(var(--s) - 8px); height: calc(var(--s) - 8px); border-radius: 50%; background: var(--surface); grid-area: 1 / 1; }
.ring b { grid-area: 1 / 1; z-index: 1; font-size: 11.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring.is-full { --c: var(--ok); }
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }

.spark { width: 100%; height: 56px; overflow: visible; }
.spark path.l { fill: none; stroke: var(--vero); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.4s var(--ease-out) .2s forwards; }
.spark path.a { fill: var(--vero); opacity: .08; }
.spark circle { fill: var(--vero); stroke: var(--surface); stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Lists and tables
   -------------------------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 14px; }
.seg { position: relative; display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line-strong); background: var(--surface); padding: 3px; }
.seg a, .seg button { flex: none; position: relative; z-index: 1; border: 0; background: none; padding: 7px 14px; cursor: pointer; font-size: 14px; color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; text-decoration: none; transition: color .2s; }
.seg [aria-current="true"] { color: #fff; }
.seg .c { font-size: 12px; min-width: 22px; height: 20px; display: inline-grid; place-items: center; background: rgba(0,0,0,.06); padding: 0 5px; font-variant-numeric: tabular-nums; }
.seg [aria-current="true"] .c { background: rgba(255,255,255,.2); }
.seg .ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; background: var(--vero); transition: transform .55s var(--spring), width .55s var(--spring); }
.search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-quiet); }
.search input { border: 0; outline: 0; background: none; width: 240px; font-size: 14.5px; color: var(--ink); }
.search:focus-within { border-color: var(--vero); box-shadow: 0 0 0 4px rgba(136, 8, 39, .1); }
.search .htmx-indicator { opacity: 0; transition: opacity .2s; }
.search.htmx-request .htmx-indicator, .htmx-request .search .htmx-indicator { opacity: 1; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select { height: 40px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 34px 0 12px; font-size: 14.5px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23564d4f' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.select:focus { outline: 0; border-color: var(--vero); box-shadow: 0 0 0 4px rgba(136, 8, 39, .1); }

.list { background: var(--surface); border: 1px solid var(--line); }
.row { display: grid; grid-template-columns: var(--cols); gap: 18px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); position: relative; color: inherit; text-decoration: none; transition: background-color .2s; }
.row:first-child { border-top: 0; }
a.row:hover { background: var(--surface-quiet); color: inherit; }
a.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vero); transform: scaleY(0); transition: transform .4s var(--spring); }
a.row:hover::before { transform: scaleY(1); }
.row--head { padding-block: 10px; background: var(--surface-quiet); font-size: 12.5px; color: var(--ink-quiet); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-cond); }
.row .t { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row .t > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row .t b { font-weight: 500; color: var(--ink); font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .t small { font-size: 13px; color: var(--ink-quiet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .id { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-quiet); }
.row.is-off { opacity: .6; }
.listfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-quiet); }
.listfoot a { font-weight: 500; }
.empty { padding: 56px 20px; text-align: center; color: var(--ink-quiet); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.empty b { color: var(--ink); font-size: 17px; font-weight: 500; }
@media (max-width: 860px) { .row { grid-template-columns: minmax(0, 1fr) auto; } .row > .opt { display: none; } }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); }
.table th { position: sticky; top: calc(var(--topbar-h) + 4px); z-index: 2; background: var(--surface-quiet); text-align: left; font-family: var(--font-cond); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-quiet); padding: 10px 14px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tbody tr { transition: background-color .15s; }
.table tbody tr:hover { background: var(--surface-quiet); }
.table tfoot td { font-weight: 600; color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 0; background: var(--surface); }
.table a { color: var(--ink); text-decoration: none; font-weight: 500; }
.table a:hover { color: var(--vero); text-decoration: underline; }
.table .sub { display: block; font-size: 12.5px; color: var(--ink-quiet); font-weight: 400; }
.table tr.is-flag td:first-child { box-shadow: inset 3px 0 0 var(--hinweis); }
.tablewrap { border: 1px solid var(--line); overflow-x: auto; background: var(--surface); }

/* Key/value rows */
.kv { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin: 0; }
.kv > div { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 5fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; font-size: 14.5px; }
.kv dt { color: var(--ink-quiet); font-size: 13.5px; }
.kv dd { margin: 0; color: var(--ink); min-width: 0; white-space: pre-line; }

/* Editorial section: heading column left, content right */
.sec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px 56px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); }
.sec + .sec { margin-top: 16px; }
.sec__h { display: flex; flex-direction: column; gap: 8px; }
.sec__h h2 { font-size: 20px; }
.sec__h p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); max-width: 30ch; }
.sec__b { min-width: 0; }
@media (max-width: 960px) { .sec { grid-template-columns: minmax(0, 1fr); } }

/* Firm header */
.firm { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 28px; align-items: center; padding-block: 28px 40px; }
.firm h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.015em; }
.firm .sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--ink-soft); font-size: 15px; align-items: center; }
@media (max-width: 760px) { .firm { grid-template-columns: auto minmax(0, 1fr); } .firm .head__act { grid-column: 1 / -1; } }

/* Status list (completeness, checks) */
.slist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slist li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.slist .ic { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink-quiet); background: var(--surface-quiet); }
.slist li.is-ok .ic { color: var(--ok); background: var(--ok-18); }
.slist li.is-due .ic { color: #fff; background: var(--hinweis); }
.slist small { display: block; font-size: 12.5px; color: var(--ink-quiet); }

/* Invoice preview: an A4 sheet in the vero letterhead */
.sheet { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(35, 31, 32, .35); aspect-ratio: 210 / 297; width: 100%; max-width: 760px; padding: 7% 8% 6%; display: grid; grid-template-columns: minmax(0, 1fr) 27%; grid-template-rows: auto auto 1fr auto; gap: 0 6%; font-size: clamp(10px, 1.05vw, 13px); line-height: 1.5; color: #222; container-type: inline-size; }
.sheet__logo { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-bottom: 7%; }
.sheet__logo img { height: 5.2cqw; width: auto; min-height: 30px; }
.sheet__addr { font-size: .95em; }
.sheet__addr .from { font-size: .72em; color: #777; border-bottom: 1px solid #ccc; padding-bottom: 2px; margin-bottom: 8px; display: inline-block; }
.sheet__addr p { white-space: pre-line; }
.sheet__side { grid-row: 2 / 4; grid-column: 2; font-size: .78em; color: #555; display: flex; flex-direction: column; gap: 12px; border-left: 2px solid var(--vero); padding-left: 10px; }
.sheet__side b { color: var(--vero); font-weight: 600; display: block; }
.sheet__body { grid-column: 1; margin-top: 12%; display: flex; flex-direction: column; gap: 1.2em; }
.sheet__body h3 { font-size: 1.45em; font-weight: 600; color: var(--ink); }
.sheet__body .rnr { font-size: .9em; color: #555; }
.sheet__body table { width: 100%; border-collapse: collapse; }
.sheet__body td { padding: .45em 0; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.sheet__body td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet__body tr.total td { border-top: 2px solid #222; border-bottom: 0; font-weight: 700; }
.sheet__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid #ddd; font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vero); font-size: .82em; }

/* --------------------------------------------------------------------------
   Toasts, command palette, tooltips
   -------------------------------------------------------------------------- */
.toasts { position: fixed; z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; right: 16px; bottom: 16px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 32px)); padding: 12px 16px 12px 14px; background: var(--ink); color: #fff; font-size: 14.5px; border-left: 3px solid var(--gold); animation: toast-in .55s var(--spring) both; }
.toast.out { animation: toast-out .3s var(--ease-out) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

dialog.cmd { position: fixed; inset: 0; margin: min(12vh, 120px) auto auto; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: min(580px, 78vh); border: 1px solid var(--line-strong); border-top: 4px solid var(--vero); background: var(--surface); color: var(--ink-body); box-shadow: 0 40px 90px -40px rgba(35, 31, 32, .6); display: none; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .2s, transform .5s var(--spring), display .5s allow-discrete, overlay .5s allow-discrete; }
dialog.cmd[open] { display: flex; opacity: 1; transform: none; }
@starting-style { dialog.cmd[open] { opacity: 0; transform: translateY(-16px) scale(.97); } }
dialog.cmd::backdrop { background: rgba(35, 31, 32, 0); transition: background .3s, display .3s allow-discrete, overlay .3s allow-discrete; }
dialog.cmd[open]::backdrop { background: rgba(35, 31, 32, .45); }
@starting-style { dialog.cmd[open]::backdrop { background: rgba(35, 31, 32, 0); } }
.cmd__bar { display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.cmd__bar svg { color: var(--ink-quiet); flex: none; }
.cmd__bar input { flex: 1; min-width: 0; height: 64px; border: 0; outline: 0; background: none; font-size: 19px; color: var(--ink); }
.cmd__body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; min-height: 0; flex: 1; }
@media (max-width: 680px) { .cmd__body { grid-template-columns: minmax(0, 1fr); } .cmd__peek { display: none; } }
.cmd__list { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; min-height: 0; }
.cmd__grp { padding: 14px 20px 6px; font-family: var(--font-cond); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-quiet); font-weight: 600; }
.cmd__item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 20px; cursor: pointer; position: relative; }
.cmd__item svg { color: var(--ink-quiet); }
.cmd__item .t { min-width: 0; display: flex; flex-direction: column; }
.cmd__item .t b { font-weight: 400; font-size: 15.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd__item .t small { font-size: 13px; color: var(--ink-quiet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd__item .hk { font-size: 12px; color: var(--ink-quiet); }
.cmd__item[aria-selected="true"] { background: var(--vero-08); }
.cmd__item[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vero); }
.cmd__item[aria-selected="true"] svg { color: var(--vero); }
.cmd__item mark { background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.cmd__empty { padding: 28px 20px; color: var(--ink-soft); font-size: 14.5px; }
.cmd__peek { border-left: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--surface-quiet); overflow-y: auto; }
.cmd__peek h4 { font-size: 17px; font-weight: 500; }
.cmd__peek dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: 13px; }
.cmd__peek dt { color: var(--ink-quiet); }
.cmd__peek dd { margin: 0; color: var(--ink); }
.cmd__peek .swap { animation: swap .35s var(--spring) both; display: flex; flex-direction: column; gap: 12px; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.cmd__foot { display: flex; gap: 18px; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-quiet); flex: none; }
.cmd__foot span { display: inline-flex; gap: 6px; align-items: center; }

/* --------------------------------------------------------------------------
   Footer, login, motion
   -------------------------------------------------------------------------- */
.foot { margin-top: 96px; background: var(--ink); color: #d8d0d2; }
.foot__in { max-width: var(--content-max); margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 13.5px; }
.foot__claim { font-family: var(--font-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot__claim em { font-style: normal; color: var(--rosa); }
.foot .sp { flex: 1; }

.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr); }
.login__hero { position: relative; overflow: hidden; background: var(--vero); color: #fff; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; isolation: isolate; }
.login__hero::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -30%; width: 75%; aspect-ratio: 1; background: url("../brand/logo-mark.svg") center / contain no-repeat; opacity: .07; filter: brightness(0) invert(1); }
.login__hero img { height: 54px; width: auto; align-self: flex-start; }
.login__hero h1 { color: #fff; font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(44px, 6.4vw, 96px); line-height: .95; }
.login__hero h1 em { font-style: normal; color: var(--rosa); }
.login__hero p { font-size: clamp(16px, 1.4vw, 19px); color: #f3dfe4; max-width: 46ch; margin-top: 22px; }
.login__punkte { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; max-width: 520px; }
.login__punkte li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15px; color: #f3dfe4; }
.login__punkte li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.login__punkte b { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; font-size: 14px; }
.login__claim { font-family: var(--font-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: #fff; }
.login__claim em { font-style: normal; color: var(--rosa); }
.login__form { background: var(--surface); padding: clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) 28px; display: flex; flex-direction: column; gap: 28px; }
.login__mitte { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.login__fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-quiet); border-top: 1px solid var(--line); padding-top: 16px; }
.rechtlich { display: flex; gap: 20px; }
.rechtlich a { color: inherit; text-decoration: none; }
.rechtlich a:hover { color: var(--vero); text-decoration: underline; text-underline-offset: 3px; }
.foot .rechtlich a:hover { color: #fff; }
/* Impressum, Datenschutz */
.recht { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg, #f3f1ef); }
.recht__kopf { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); background: var(--surface); border-bottom: 1px solid var(--line); border-top: 4px solid var(--vero); }
.recht__zurueck { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.recht__zurueck:hover { color: var(--vero); }
.recht__inhalt { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 72px; }
.recht__inhalt h1 { margin: 10px 0 28px; }
.recht__text { font-size: 15.5px; line-height: 1.7; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.recht__text b { font-weight: 600; display: inline-block; margin-top: 6px; }
.recht__fuss { padding: 18px var(--gutter); font-size: 13px; color: var(--ink-quiet); display: flex; justify-content: center; border-top: 1px solid var(--line); background: var(--surface); }
.login__form h2 { font-size: 30px; font-weight: 500; }
.login__form form { display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
@media (max-width: 900px) { .login { grid-template-columns: minmax(0, 1fr); } .login__hero { min-height: 52vh; } }

.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.field input { height: 50px; border: 1px solid var(--line-strong); border-bottom-color: var(--ink-quiet); padding: 0 14px; background: #fff; border-radius: 0; font-weight: 400; font-size: 16px; color: var(--ink); transition: box-shadow .2s, border-color .2s; }
.field input:focus { outline: 0; border-color: var(--vero); box-shadow: inset 0 -2px 0 var(--vero), 0 0 0 4px rgba(136, 8, 39, .1); }
.errors { color: var(--fehler); font-size: 14px; }

.rise { animation: rise .8s var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  @view-transition { navigation: none; }
}
.tablewrap .table th { top: 0; }

/* --------------------------------------------------------------------------
   Modal dialog and form atoms (agreements and later all admin forms)
   -------------------------------------------------------------------------- */
dialog.modal { position: fixed; inset: 0; margin: min(8vh, 80px) auto auto; padding: 0; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 2 * min(8vh, 80px)); border: 1px solid var(--line-strong); border-top: 4px solid var(--vero); background: var(--surface); color: var(--ink-body); box-shadow: 0 40px 90px -40px rgba(35, 31, 32, .6); display: none; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .2s, transform .5s var(--spring), display .5s allow-discrete, overlay .5s allow-discrete; }
dialog.modal[open] { display: flex; opacity: 1; transform: none; }
@starting-style { dialog.modal[open] { opacity: 0; transform: translateY(-16px) scale(.97); } }
dialog.modal::backdrop { background: rgba(35, 31, 32, .45); }
#modal-body, #modal-body > form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.modal__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); }
.modal__h h2 { font-size: 24px; margin-top: 6px; }
.modal__b { padding: 22px 26px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
.modal__f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 26px; border-top: 1px solid var(--line); background: var(--surface-quiet); }
.ib { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid transparent; background: none; cursor: pointer; color: var(--ink-soft); flex: none; font-size: 16px; }
.ib:hover { border-color: var(--line-strong); color: var(--ink); }

.field select, .field textarea { height: 50px; border: 1px solid var(--line-strong); border-bottom-color: var(--ink-quiet); padding: 0 14px; background: #fff; border-radius: 0; font-weight: 400; font-size: 15.5px; color: var(--ink); width: 100%; }
.field textarea { height: auto; min-height: 84px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input { width: 100%; }
.field select:focus, .field textarea:focus { outline: 0; border-color: var(--vero); box-shadow: inset 0 -2px 0 var(--vero), 0 0 0 4px rgba(136, 8, 39, .1); }
.field .help { font-size: 12.5px; font-weight: 400; color: var(--ink-quiet); }
.field .errors, .errors { font-size: 13px; font-weight: 500; color: var(--fehler); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: minmax(0, 1fr); } }
.unit { position: relative; display: block; }
.unit input { padding-right: 44px; font-variant-numeric: tabular-nums; }
.unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; color: var(--ink-quiet); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.chips legend { font-size: 13.5px; color: var(--ink); font-weight: 500; margin-bottom: 9px; padding: 0; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: 14.5px; transition: border-color .2s, background-color .2s, color .2s, transform .5s var(--spring); }
.chip:hover { border-color: var(--vero); }
.chip:active { transform: scale(.96); transition-duration: .08s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--vero); color: #fff; border-color: var(--vero); }
.chip:has(input:focus-visible) { outline: 2px solid var(--vero); outline-offset: 2px; }

.switch { position: relative; flex: none; width: 52px; height: 28px; appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; background: var(--line-strong); transition: background-color .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; transition: transform .5s var(--spring); }
.switch:checked { background: var(--vero); }
.switch:checked::after { transform: translateX(24px); }
.switchrow { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 16px; border: 1px solid var(--line-strong); cursor: pointer; }
.switchrow b { font-weight: 500; color: var(--ink); }
.switchrow:has(.switch:checked) { border-color: var(--vero); box-shadow: inset 3px 0 0 var(--vero); }

/* The form follows the chosen kind: rule picker for rules, amount otherwise */
.vform .f-regel { display: none; }
.vform:has([name=art][value=sonderregel]:checked) .f-regel { display: flex; }
.vform:has([name=art][value=sonderregel]:checked) .f-betrag { display: none; }
.vform .f-regel, .vform .f-betrag { animation: rise .45s var(--spring-soft) both; }

/* --------------------------------------------------------------------------
   Member area: start tile, annual report wizard, live contribution preview
   -------------------------------------------------------------------------- */
.vorschau-band { background: var(--gold); color: var(--ink); font-size: 14px; }
.vorschau-band .wrap { display: flex; gap: 16px; align-items: center; padding-block: 8px; }
.vorschau-band a { color: var(--ink); font-weight: 600; }

.start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: clamp(8px, 2vw, 24px); }
@media (max-width: 960px) { .start { grid-template-columns: minmax(0, 1fr); } }
.newtile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: clamp(28px, 3.4vw, 48px); min-height: 340px; background: var(--vero); color: #fff; text-decoration: none; transition: background-color .25s, transform .55s var(--spring); }
.newtile:hover { background: var(--vero-dark); color: #fff; }
.newtile:active { transform: scale(.985); transition-duration: .08s; }
.newtile::after { content: ""; position: absolute; z-index: -1; right: -8%; bottom: -24%; width: 58%; aspect-ratio: 1; background: url("../brand/logo-mark.svg") center / contain no-repeat; opacity: .08; filter: brightness(0) invert(1); }
.newtile .eyebrow { color: var(--vero-38); }
.newtile h2 { color: #fff; font-size: clamp(34px, 3.6vw, 52px); font-weight: 400; letter-spacing: -.02em; margin-top: 12px; }
.newtile p { color: #f3dfe4; font-size: 17px; line-height: 1.5; max-width: 40ch; margin-top: 12px; }
.newtile .go { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; background: var(--gold); color: var(--ink); font-weight: 600; padding: 0 22px; min-height: 50px; }
.newtile .go .arrow { transition: transform .45s var(--spring); }
.newtile:hover .go .arrow { transform: translateX(5px); }
.newtile.is-done { background: #2b2627; }
.newtile.is-done .eyebrow { color: #b9afb1; }
.bars { display: flex; gap: 4px; }
.bars span { flex: 1; min-width: 0; height: 5px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.bars span.is-freigegeben::after, .bars span.is-geprueft::after { background: #7fd197; }
.bars span::after { content: ""; position: absolute; inset: 0; right: calc(100% - var(--p, 0) * 1%); background: var(--gold); transform-origin: left; animation: fill .9s var(--ease-out) both; animation-delay: calc(.3s + var(--i, 0) * .12s); }
.barlbl { display: flex; gap: 4px; font-size: 12px; color: #f3dfe4; margin-top: 8px; }
.barlbl span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.minicols { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 18px; }
.minicols div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.minicols i { display: block; width: min(22px, 70%); height: calc(var(--h) * 1%); background: var(--vero-38); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow .8s var(--spring-soft) both; animation-delay: calc(var(--i) * 50ms); }
.minicols div.is-last i { background: var(--vero); }
.minicols span { font-size: 11.5px; color: var(--ink-quiet); font-variant-numeric: tabular-nums; }

.wizard { padding-bottom: 40px; }
.stephead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; padding-block: clamp(32px, 4vw, 52px) 24px; }
.stephead h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.015em; margin-top: 12px; }
.stephead p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; max-width: 64ch; }
.stepper { display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; }
.stepper button { width: 100%; display: flex; flex-direction: column; gap: 9px; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink-quiet); min-width: 0; }
.stepper .seg { height: 4px; background: var(--line); position: relative; overflow: hidden; }
.stepper .seg::after { content: ""; position: absolute; inset: 0; right: calc(100% - var(--p, 0) * 1%); background: var(--vero); transition: right .6s var(--spring-soft); }
.stepper .lbl { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; min-width: 0; }
.stepper .lbl span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper .n { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper small { font-size: 12.5px; padding-left: 24px; }
.stepper .is-now button { color: var(--ink); }
.stepper .is-now .lbl { font-weight: 600; }
.stepper .is-ok small { color: var(--ok); }
.stepper .is-due small { color: var(--hinweis); }
.stepper button:hover .lbl span:last-child { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .stepper .lbl span:last-child, .stepper small { display: none; } }

.wz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 1080px) { .wz-grid { grid-template-columns: minmax(0, 1fr); } }
.step[hidden] { display: none; }
.step { animation: rise .5s var(--spring-soft) both; }
.fgsec { background: var(--surface); border: 1px solid var(--line); }
.fgsec + .fgsec { margin-top: 16px; }
.fgsec__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.fgsec__h h2 { font-size: 21px; }
.grp { padding: 22px 28px; border-top: 1px solid var(--line); }
.grp:first-of-type { border-top: 0; }
.grp > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 16px; }
.grp > summary::-webkit-details-marker { display: none; }
.grp > summary small { font-weight: 400; color: var(--ink-quiet); font-size: 13px; }
.grp > summary .chev { transition: transform .4s var(--spring); color: var(--ink-quiet); }
.grp[open] > summary .chev { transform: rotate(90deg); }
.grp__b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 18px; }
@media (max-width: 760px) { .grp__b { grid-template-columns: minmax(0, 1fr); } }
.zf { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink); font-weight: 500; min-width: 0; }
.zf.is-key { grid-column: 1 / -1; }
.zf .unit input { height: 48px; width: 100%; border: 1px solid var(--line-strong); border-bottom-color: var(--ink-quiet); padding: 0 64px 0 14px; font-size: 16.5px; font-variant-numeric: tabular-nums; text-align: right; background: #fff; transition: box-shadow .2s, border-color .2s, background-color .4s; }
.zf.is-key .unit input { height: 58px; font-size: 21px; }
.zf .unit input:focus { outline: 0; border-color: var(--vero); box-shadow: inset 0 -2px 0 var(--vero), 0 0 0 4px rgba(136, 8, 39, .1); }
.zf .unit input[readonly] { background: var(--surface-quiet); color: var(--ink-soft); }
.zf.is-pflicht:not(.is-filled) .unit input { background: #fffbef; border-bottom-color: var(--gold-dark); }
.zf.is-flash .unit input { background: var(--gold-18); box-shadow: 0 0 0 4px var(--gold); }
.zf .meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 400; color: var(--ink-quiet); min-height: 18px; }
.zf .meta button { border: 0; background: none; padding: 0; color: var(--vero); cursor: pointer; font-size: 12.5px; }
.zf .meta .warn { color: var(--hinweis); }
.zf .req { color: var(--vero); margin-left: 2px; }

.aside-sticky { position: sticky; top: calc(var(--topbar-h) + 24px); display: flex; flex-direction: column; gap: 16px; }

.actionbar { position: sticky; bottom: 0; z-index: 40; margin-top: 40px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -24px rgba(35,31,32,.35); }
.actionbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 12px; }
.actionbar .sp { flex: 1; }
.meter { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.meter b { color: var(--ink); font-weight: 600; }
.saved { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-quiet); }
.saved i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.saved.is-saving i { background: var(--gold); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
body:has(.actionbar) .toasts { bottom: 104px; }
body:has(.actionbar) .foot { margin-top: 0; }

.werkcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--line); }
.werkcard:first-child { border-top: 0; }
.werkcard b { font-size: 16px; font-weight: 500; color: var(--ink); }
.werkcard small { display: block; font-size: 13px; color: var(--ink-quiet); margin: 2px 0 8px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--vero); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.done-hero { display: flex; gap: 20px; align-items: center; padding: 28px; background: var(--ok-18); border: 1px solid #a9d3b0; }
.done-hero .ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; animation: pop .6s var(--spring) both; }
@keyframes pop { from { transform: scale(.4); } }
.wform .w-alt, .wform .w-verkauf { display: none !important; }
.wform:has([name=art][value=verkauf]:checked) .w-alt, .wform:has([name=art][value=stilllegung]:checked) .w-alt { display: flex !important; }
.wform:has([name=art][value=verkauf]:checked) .w-verkauf { display: flex !important; }
.wform:not(:has([name=art][value=neu]:checked)) .w-neu { display: none !important; }
.vform .f-prozent, .vform .help.h-max, .vform .help.h-min { display: none; }
.vform:has([name=art][value=abschlag]:checked) .f-prozent { display: flex; }
.vform:has([name=art][value=abschlag]:checked) .f-betrag { display: none; }
.vform:has([name=art][value=hoechstbetrag]:checked) .h-max, .vform:has([name=art][value=mindestbetrag]:checked) .h-min { display: inline; }
.vform:has([name=art][value=hoechstbetrag]:checked) .h-fest, .vform:has([name=art][value=mindestbetrag]:checked) .h-fest { display: none; }
[hidden] { display: none !important; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.matrix th.c, .matrix td.c { text-align: center; width: 64px; }
.matrix .tick { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--ok-18); color: var(--ok); font-weight: 700; font-size: 12px; }
.wform .w-fg { display: none; }
.wform:has([name=art][value=neu]:checked) .w-fg, .wform:has([name=art][value=fachgruppe]:checked) .w-fg { display: flex; }
.wform:has([name=art][value=fachgruppe]:checked) .w-alt { display: flex !important; }
.inline-num { width: 110px; height: 34px; border: 1px solid var(--line-strong); border-bottom-color: var(--ink-quiet); text-align: right; padding: 0 10px; font-variant-numeric: tabular-nums; background: #fffbef; }
.inline-num:focus { outline: 0; border-color: var(--vero); box-shadow: 0 0 0 3px rgba(136, 8, 39, .1); }
.grp .table th, .sec .table th { top: 0; position: static; }
@media (max-width: 1500px) { .searchbtn { min-width: 0; } .searchbtn span:not(.kbd) { display: none; } .nav { gap: 22px; } }

/* --------------------------------------------------------------------------
   Side navigation (replaces the top bar). Light, calm, vero red as the only
   accent. Collapses to an icon rail; on phones it slides in as a drawer.
   -------------------------------------------------------------------------- */
:root { --side-w: 264px; }
.side-schmal { --side-w: 76px; }
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100dvh; transition: grid-template-columns .45s var(--spring-soft); }
.app__main { min-width: 0; display: flex; flex-direction: column; }
.app__main main { flex: 1; }
.mobilebar { display: none; }

.side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); overflow: hidden; z-index: 60; }
.side::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--vero); }
.side__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 24px 14px 18px 26px; min-height: 86px; }
.side__brand { display: block; line-height: 0; }
.side__brand .voll { height: 38px; width: auto; }
.side__brand .mark { display: none; height: 28px; width: auto; }
.side__toggle { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; background: none; color: var(--ink-quiet); cursor: pointer; flex: none; transition: transform .45s var(--spring), border-color .2s, color .2s; }
.side__toggle:hover { border-color: var(--line-strong); color: var(--ink); }

.side__search { display: flex; align-items: center; gap: 10px; margin: 0 16px 10px 22px; height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--line-strong); background: var(--surface-quiet); color: var(--ink-quiet); cursor: pointer; font-size: 14.5px; transition: border-color .2s, color .2s; }
.side__search:hover { border-color: var(--vero); color: var(--ink); }
.side__search .kbd { margin-left: auto; }

.side__nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px 16px 18px; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.side__grp { display: block; font-family: var(--font-cond); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-quiet); padding: 18px 12px 8px; white-space: nowrap; }
.side__nav a { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 44px; padding: 0 12px; color: var(--ink-soft); text-decoration: none; font-size: 15.5px; white-space: nowrap; transition: background-color .2s, color .2s; }
.side__nav a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring); }
.side__nav a:hover { background: var(--surface-quiet); color: var(--ink); }
.side__nav a:hover svg { transform: translateX(2px); }
.side__nav a[aria-current="page"] { background: var(--vero-08); color: var(--vero); font-weight: 600; }
.side__nav a[aria-current="page"]::before { content: ""; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 4px; background: var(--vero); }
.side__nav .l, .side__me .l, .side__search .l { overflow: hidden; text-overflow: ellipsis; }
.side__badge { min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; background: var(--vero); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; animation: pop .6s var(--spring) both; }
.side__badge--gold { height: 20px; padding: 0 6px; font-size: 11px; background: var(--gold); color: var(--ink); text-transform: uppercase; font-family: var(--font-cond); letter-spacing: .06em; }

.side__kontakt { padding: 0 22px 18px 30px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.side__kontakt .side__grp { padding: 0 0 6px; }
.side__kontakt b { color: var(--ink); font-weight: 600; }

.side__me { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 14px 18px 26px; border-top: 1px solid var(--line); }
.side__me .avatar { width: 36px; height: 36px; }
.side__me b { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__me small { display: block; font-size: 12.5px; color: var(--ink-quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__me form { display: contents; }

/* Collapsed: icon rail with tooltips from the title attribute */
.side-schmal .side__brand .voll, .side-schmal .side .l, .side-schmal .side__grp, .side-schmal .side .kbd,
.side-schmal .side__kontakt, .side-schmal .side__badge { display: none; }
.side-schmal .side__brand .mark { display: block; }
.side-schmal .side__top { flex-direction: column; padding: 22px 0 12px 4px; gap: 14px; }
.side-schmal .side__toggle { transform: rotate(180deg); }
.side-schmal .side__search { margin: 0 12px 10px 16px; justify-content: center; padding: 0; }
.side-schmal .side__nav { padding: 4px 10px 16px 14px; }
.side-schmal .side__nav a { grid-template-columns: 22px; justify-content: center; padding: 0; }
.side-schmal .side__nav a[aria-current="page"]::before { left: -14px; }
.side-schmal .side__nav a:has(.side__badge)::after { content: ""; position: absolute; top: 9px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--vero); }
.side-schmal .side__me { grid-template-columns: 1fr; justify-items: center; padding: 14px 0 18px 4px; }
.side-schmal .side__me .ib { display: none; }

/* Phones: drawer */
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .45s var(--spring-soft); box-shadow: 0 0 60px -20px rgba(35, 31, 32, .5); }
  .side-offen .side { transform: none; }
  .side__toggle { display: none; }
  .side__scrim { position: fixed; inset: 0; z-index: 55; background: rgba(35, 31, 32, .4); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .side-offen .side__scrim { opacity: 1; pointer-events: auto; }
  .mobilebar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 50; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .side-schmal .app { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) { .side__scrim { display: none; } }

/* Overwritable values in the contribution table */
.beitraege td.edit { cursor: text; position: relative; transition: background-color .2s, box-shadow .2s; }
.beitraege td.edit:hover { background: var(--gold-18); box-shadow: inset 0 -2px 0 var(--gold); }
.beitraege td.edit:focus-visible { outline: 2px solid var(--vero); outline-offset: -2px; }
.beitraege td.edit.is-editing { background: var(--gold-18); box-shadow: inset 0 0 0 2px var(--gold); }
.beitraege td.is-korr { background: linear-gradient(225deg, var(--gold) 0 7px, transparent 7px); }
.beitraege td.is-korr::after { content: "korrigiert"; position: absolute; right: 14px; bottom: 1px; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-cond); color: #8a6200; }
.beitraege td.is-flash { animation: korr-flash 1.6s var(--ease-out); }
@keyframes korr-flash { 0%, 40% { background-color: var(--gold); } 100% { background-color: transparent; } }
.beitraege tr.is-korr td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
button.pill { cursor: pointer; font-family: inherit; }
button.pill--gold:hover { background: var(--gold); }

.ie { position: fixed; z-index: 130; width: 340px; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 12px; background: var(--surface); border: 1px solid var(--line-strong); border-top: 3px solid var(--gold); box-shadow: 0 24px 50px -24px rgba(35, 31, 32, .45); animation: ie-in .35s var(--spring) both; }
@keyframes ie-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.ie__row { display: flex; gap: 6px; align-items: center; }
.ie__row .unit { flex: 1; }
.ie__wert { width: 100%; height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); border-bottom-color: var(--ink-quiet); font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.ie__wert:focus, .ie__grund:focus { outline: 0; border-color: var(--vero); box-shadow: 0 0 0 3px rgba(136, 8, 39, .1); }
.ie__wert.is-invalid { border-color: var(--fehler); }
.ie .unit em { right: 12px; }
.ie__grund { height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); font-size: 14px; }
.ie small { font-size: 12.5px; color: var(--ink-quiet); }

/* Header + side navigation together: the header carries brand, search and person; the side menu
   carries only navigation and sits below the header. */
.topbar__in { max-width: none; padding-left: 28px; }
.burger { display: none; }
.me__t { display: flex; flex-direction: column; line-height: 1.25; }
.me__t b { font-weight: 500; font-size: 14.5px; }
.me__t small { font-size: 12.5px; color: var(--ink-quiet); }
.side { top: calc(var(--topbar-h) + 4px); height: calc(100dvh - var(--topbar-h) - 4px); }
.side::before { display: none; }
.side__nav { padding-top: 10px; }
.side__toggle { display: flex; align-items: center; gap: 12px; width: auto; height: 44px; margin: 8px 12px 14px 18px; padding: 0 12px; border-top: 1px solid var(--line); justify-content: flex-start; font-size: 14px; }
.side__toggle svg { flex: none; transition: transform .45s var(--spring); }
.side-schmal .side__toggle { transform: none; justify-content: center; padding: 0; margin: 8px 10px 14px 14px; }
.side-schmal .side__toggle svg { transform: rotate(180deg); }
@media (max-width: 900px) {
  .burger { display: grid; }
  .side { top: 0; height: 100dvh; padding-top: 12px; }
  .side__toggle { display: none; }
  .mobilebar { display: none !important; }
  .topbar__in { padding-left: 12px; gap: 14px; }
  .me__t { display: none; }
}

/* ---------------------------------------------------------------------------
   Jahresmeldung: Übersicht je Fachgruppe und Wizard einer Fachgruppe
   --------------------------------------------------------------------------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.backlink { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.backlink:hover { color: var(--vero); }
.shead__n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; vertical-align: 3px; }

.mtrack { display: flex; align-items: center; gap: 18px; font-size: 14.5px; color: var(--ink-soft); }
.mtrack b { color: var(--ink); font-weight: 600; }
.mtrack__bar { flex: 1; display: flex; gap: 6px; max-width: 560px; }
.mtrack__bar span { flex: 1; height: 8px; background: var(--line); position: relative; overflow: hidden; }
.mtrack__bar span::after { content: ""; position: absolute; inset: 0; right: calc(100% - var(--p, 0) * 1%); background: var(--gold); animation: fill .9s var(--ease-out) both; animation-delay: calc(.3s + var(--i, 0) * .12s); }
.mtrack__bar .is-freigegeben::after, .mtrack__bar .is-geprueft::after { background: var(--ok); }

.werkstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.werkstrip__w { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); }
.werkstrip__w b { font-weight: 500; color: var(--ink); }
.werkstrip__w small { color: var(--ink-quiet); font-size: 13px; min-height: 1em; }
.werkstrip__w .linkbtn { align-self: flex-start; font-size: 13px; margin-top: 4px; }

.fgcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.fgcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .35s var(--ease-out), transform .5s var(--spring); }
.fgcard:hover { border-color: var(--ink-quiet); box-shadow: 0 18px 40px -24px rgba(43, 38, 39, .45); transform: translateY(-2px); color: var(--ink); }
.fgcard:active { transform: scale(.99); transition-duration: .08s; }
.fgcard.is-next { border-color: var(--vero); box-shadow: inset 0 3px 0 var(--vero); }
.fgcard.is-next::before { content: attr(data-hinweis); position: absolute; top: -11px; left: 20px; padding: 2px 8px; background: var(--vero); color: #fff; font-family: var(--font-cond); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.fgcard.is-rueckfrage { border-color: var(--gold-dark); box-shadow: inset 0 3px 0 var(--gold); }
.fgcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fgcard h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.fgcard h3 small { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink-quiet); margin-top: 4px; letter-spacing: 0; }
.fgcard__werke { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.fgcard__frage { font-size: 14px; padding: 10px 12px; background: var(--gold-18); color: #4a3600; line-height: 1.5; }
.fgcard__frage small { display: block; margin-top: 4px; font-size: 12px; color: #6b4e00; }
.fgcard__prog { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 6px; }
.fgcard__prog small { font-size: 12.5px; color: var(--ink-quiet); }
.fgcard__bar { height: 5px; background: var(--line); position: relative; overflow: hidden; }
.fgcard__bar i { position: absolute; inset: 0; right: calc(100% - var(--p, 0) * 1%); background: var(--gold); animation: fill .9s var(--ease-out) both; }
.fgcard.is-freigegeben .fgcard__bar i, .fgcard.is-geprueft .fgcard__bar i { background: var(--ok); }
.fgcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.fgcard__foot small { font-size: 12.5px; color: var(--ink-quiet); }
.fgcard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--vero); font-size: 14.5px; }
.fgcard__go .arrow { transition: transform .45s var(--spring); }
.fgcard:hover .fgcard__go .arrow { transform: translateX(4px); }
.fgcard.is-next .fgcard__go { background: var(--gold); color: var(--ink); padding: 0 14px; min-height: 38px; }

.fgsec__intro { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; max-width: 60ch; line-height: 1.5; }

table.paare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.paare thead th { text-align: right; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-quiet); padding: 0 0 10px 12px; }
table.paare thead th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; margin-top: 2px; }
table.paare tbody th { text-align: left; font-weight: 500; color: var(--ink); padding: 6px 12px 6px 0; width: 44%; }
table.paare tbody tr + tr > * { border-top: 1px solid var(--line); }
table.paare td { padding: 6px 0 6px 12px; width: 28%; }
table.paare tr.is-davon th { padding-left: 22px; font-weight: 400; color: var(--ink-soft); }
table.paare tr.is-davon th::before { content: "davon "; color: var(--ink-quiet); }
table.paare tr.is-summe > * { border-top: 2px solid var(--ink-quiet); }
table.paare tr.is-summe th { font-weight: 600; }
.zf--zelle .unit input { height: 42px; padding-right: 12px; font-size: 15.5px; }
.zf--zelle .unit input::placeholder { color: var(--ink-quiet); font-size: 13px; }
@media (max-width: 760px) {
  table.paare, table.paare tbody, table.paare tr { display: block; }
  table.paare thead { display: none; }
  table.paare tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 0; }
  table.paare tbody th { grid-column: 1 / -1; width: auto; padding: 0; }
  table.paare td { width: auto; padding: 0; border: 0 !important; }
  table.paare td::before { content: attr(data-kopf); display: block; font-size: 11.5px; color: var(--ink-quiet); margin-bottom: 4px; }
}

.teilsumme { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; padding: 14px 16px; background: var(--surface-quiet); }
.teilsumme small { font-size: 13.5px; color: var(--ink-soft); }
.teilsumme__bar { height: 6px; background: var(--line); position: relative; overflow: hidden; }
.teilsumme__bar i { position: absolute; inset: 0; right: calc(100% - var(--p, 0) * 1%); background: var(--gold); transition: right .5s var(--spring-soft); }
.teilsumme.is-ok .teilsumme__bar i { background: var(--ok); }
.teilsumme.is-ok small { color: var(--ok); }
.teilsumme.is-over .teilsumme__bar i { background: var(--hinweis); }
.teilsumme.is-over small { color: var(--hinweis); }

.fgnav { list-style: none; margin: 12px -8px 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fgnav a { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 8px; color: var(--ink); text-decoration: none; }
.fgnav a:hover { background: var(--surface-quiet); }
.fgnav .is-now a { background: var(--vero-08); }
.fgnav b { display: block; font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fgnav small { display: block; font-size: 12.5px; color: var(--ink-quiet); }
.fgnav__dot { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), var(--line) 0); }
.fgnav__dot.is-freigegeben, .fgnav__dot.is-geprueft { background: var(--ok); }
.fgnav__dot.is-rueckfrage { background: var(--gold-dark); }

/* Meldungseingang der Geschäftsstelle */
.eingang .kz { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.eingang .kz small { color: var(--ink-quiet); font-size: 12px; display: inline-block; min-width: 72px; }
.eingang .kz b { font-weight: 500; color: var(--ink); }
.eingang__akt { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.eingang__frage { position: relative; }
.eingang__frage > summary { list-style: none; }
.eingang__frage > summary::-webkit-details-marker { display: none; }
.eingang__frage form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 340px; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 24px 48px -24px rgba(43, 38, 39, .5); animation: rise .35s var(--spring-soft) both; }
.eingang__frage textarea { width: 100%; font: inherit; font-size: 14px; padding: 10px; border: 1px solid var(--line-strong); resize: vertical; }
.eingang__frage form .btn { align-self: flex-end; }
.wizard { min-height: calc(100vh - var(--topbar-h, 76px) - 150px); }
.bars span::after, .mtrack__bar span::after { --p: inherit; }
.fgcard__foot { flex-wrap: wrap; }

/* Verwaltung → Texte */
.textkarten { display: flex; flex-direction: column; gap: 16px; }
.textkarte { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, box-shadow .6s; }
.textkarte.is-saved { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-18); }
.textkarte__kopf { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.textkarte__kopf b { font-weight: 500; color: var(--ink); }
.textkarte__kopf small { display: block; font-size: 12.5px; color: var(--ink-quiet); margin-top: 2px; }
.textkarte textarea, .textkarte input[name=text] { width: 100%; font: inherit; font-size: 14.5px; line-height: 1.5; padding: 10px 12px; border: 1px solid var(--line-strong); background: #fff; resize: vertical; }
.textkarte__vorschau { font-size: 14px; color: var(--ink-soft); line-height: 1.55; padding: 10px 12px; background: var(--surface-quiet); border-left: 3px solid var(--line-strong); }
.textkarte__fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.textkarte__fuss code { font-size: 12px; background: var(--surface-quiet); padding: 1px 4px; }

.zf .hilfe, table.paare .hilfe { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-quiet); line-height: 1.45; margin-top: -2px; }
table.paare .hilfe { margin-top: 3px; }
.freigabe { display: flex; flex-direction: column; gap: 20px; }
.freigabe__text { font-size: 14px; line-height: 1.6; color: var(--ink-soft); max-width: 70ch; padding: 14px 16px; background: var(--surface-quiet); border-left: 3px solid var(--line-strong); }
.freigabe__person { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.freigabe__person legend { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 10px; }
@media (max-width: 760px) { .freigabe__person { grid-template-columns: minmax(0, 1fr); } }
.hilfe-edit { display: block; width: 100%; margin-top: 6px; height: 32px; padding: 0 8px; font: inherit; font-size: 13px; color: var(--ink-soft); border: 1px solid transparent; border-bottom-color: var(--line); background: transparent; }
.hilfe-edit:hover { border-bottom-color: var(--line-strong); }
.hilfe-edit:focus { outline: 0; border-color: var(--vero); background: #fff; }
.hilfe-edit::placeholder { color: var(--ink-quiet); opacity: .6; }

/* Verwaltung → Rechnungsstellung */
.rform .sec__b.two { gap: 18px 20px; }
.field--breit { grid-column: 1 / -1; }
.field .help { font-size: 12.5px; font-weight: 400; color: var(--ink-quiet); }
table.steuer td { vertical-align: middle; }
table.steuer select, table.steuer input { width: 100%; height: 40px; border: 1px solid var(--line-strong); padding: 0 10px; font: inherit; font-size: 14px; background: #fff; }
table.steuer input[name$="satz"] { width: 80px; text-align: right; }
.pdfansicht { width: 100%; aspect-ratio: 1 / 1.414; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -40px rgba(43, 38, 39, .5); }
.sec--voll { grid-template-columns: minmax(0, 1fr); }
.sec--voll .sec__h p { max-width: 80ch; }
table.steuer { min-width: 0; }
table.steuer td:first-child { width: 22%; }
table.steuer td:nth-child(3) { width: 24%; } table.steuer td:nth-child(5) { width: 30%; }

/* Hinweise: Glocke im Kopf, Liste auf der Übersicht */
a.me__t { color: inherit; text-decoration: none; }
a.me__t:hover b { color: var(--vero); }
@media (max-width: 860px) { .me a.me__t { display: none; } }
.glocke { position: relative; margin-right: -24px; }
.glocke__btn { position: relative; width: 40px; height: 40px; }
.glocke__btn[aria-expanded="true"] { border-color: var(--line-strong); color: var(--ink); }
.glocke__n { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; animation: pop .6s var(--spring) both; }
.glocke__panel { position: absolute; z-index: 60; top: calc(100% + 10px); right: -8px; width: min(420px, calc(100vw - 32px)); max-height: min(560px, 70vh); overflow: auto; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 18px 48px rgba(20, 20, 30, .14); animation: rise .35s var(--spring-soft) both; }
.glocke__h { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.glocke__h b { font-weight: 500; font-size: 15px; }
.glocke__h .linkbtn { font-size: 13px; }
.hliste { list-style: none; margin: 0; padding: 0; }
.hliste .hl { border-top: 1px solid var(--line); }
.hliste .hl:first-child { border-top: 0; }
.hl { --dot: var(--info); display: flex; align-items: center; gap: 8px; }
.hl--ok { --dot: var(--ok); }
.hl--gold { --dot: var(--gold-dark); }
.hl--warn { --dot: var(--hinweis); }
.hl > a { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: flex-start; padding: 13px 18px; color: inherit; text-decoration: none; transition: background-color .2s; }
.hl > a:hover { background: var(--surface-quiet); }
.hl i { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.hl.is-neu i { background: var(--dot); box-shadow: none; }
.hl span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hl b { font-weight: 400; font-size: 14.5px; color: var(--ink); }
.hl.is-neu b { font-weight: 500; }
.hl small { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.hl .hl__m { color: var(--ink-quiet); font-size: 12.5px; }
.hl--leer { padding: 22px 18px; font-size: 14px; color: var(--ink-quiet); line-height: 1.5; }
.hinweise { display: flex; flex-direction: column; margin: -12px 0 28px; border: 1px solid var(--line); background: var(--surface); }
.hinweise .hl + .hl { border-top: 1px solid var(--line); }
.hinweise .hl > a { padding: 12px 16px; }
.hinweise .hl .ib { margin-right: 8px; color: var(--ink-quiet); font-size: 13px; }
.hinweise .hl.htmx-swapping { opacity: 0; transition: opacity .25s; }

/* Einstellungen */
.einst__f { display: flex; justify-content: flex-end; margin-top: 18px; }
.einst .switchrow small { display: block; font-size: 12.5px; color: var(--ink-quiet); margin-top: 3px; font-weight: 400; }

/* Rechnungslauf */
.laufform { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.laufform .field { width: 200px; }
.laufform .btn { margin-left: auto; }
.festschreiben > summary.is-disabled { opacity: .45; }
.festschreiben form { left: 0; right: auto; }
tr.is-lock td { color: var(--ink-soft); }
.vorfuehrung { align-items: center; flex-wrap: wrap; }
.vorfuehrung > span { flex: 1; min-width: 280px; line-height: 1.55; }
.ie__zurueck { align-self: flex-start; font-size: 13px; }

/* Rechnungslauf: Auswahl der Fachgruppen */
.laufwahl__schnell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13.5px; }
.chip--klein { min-height: 32px; padding: 0 12px; font-size: 13.5px; }
.laufwahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.fgwahl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .4s var(--spring); }
.fgwahl:hover { border-color: var(--line-strong); }
.fgwahl input { position: absolute; opacity: 0; pointer-events: none; }
.fgwahl:has(input:focus-visible) { outline: 2px solid var(--vero); outline-offset: 2px; }
.fgwahl:has(input:checked) { border-color: var(--vero); box-shadow: inset 0 3px 0 var(--vero); }
.fgwahl:active { transform: scale(.985); }
.fgwahl.is-zu { cursor: default; background: var(--surface-quiet); }
.fgwahl.is-zu:active { transform: none; }
.fgwahl__kopf { display: flex; justify-content: space-between; align-items: center; }
.fgwahl__haken { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.fgwahl.is-zu .fgwahl__haken { visibility: hidden; }
.fgwahl:has(input:checked) .fgwahl__haken { background: var(--vero); border-color: var(--vero); }
.fgwahl:has(input:checked) .fgwahl__haken::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.fgwahl b { font-weight: 500; font-size: 15px; color: var(--ink); }
.fgwahl__zahl { font-size: 13.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.fgwahl__fuss { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.fgwahl__link { margin-left: auto; font-size: 12.5px; color: var(--ink-quiet); }
.fgwahl__link:hover { color: var(--vero); }
.laufleiste { position: sticky; bottom: 16px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -22px rgba(35, 31, 32, .45); transition: border-color .2s; }
.laufleiste.is-aktiv { border-color: var(--vero); }
.laufleiste b { font-weight: 500; font-variant-numeric: tabular-nums; }
.laufleiste__datum { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); margin-left: auto; }
.laufleiste__datum input { height: 40px; border: 1px solid var(--line-strong); padding: 0 10px; font: inherit; color: var(--ink); background: #fff; }
.laufleiste .btn:disabled { opacity: .45; cursor: not-allowed; }
.entwurf__korr { display: block; color: #6b4e00 !important; }
.entwurf__korr s { color: var(--ink-quiet); }
.row.entwurf[hidden] { display: none; }

/* Lange Listen: Sortieren über die Köpfe, Blättern unten */
.list > .row--head { position: sticky; top: calc(var(--topbar-h) + 4px); z-index: 3; }
.sortkopf { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; cursor: pointer; transition: color .15s; }
.sortkopf i { font-style: normal; font-size: 11px; opacity: 0; transition: opacity .15s; font-family: var(--font-sans, inherit); }
.sortkopf:hover { color: var(--ink); }
.sortkopf:hover i { opacity: .55; }
.sortkopf.is-aktiv { color: var(--vero); }
.sortkopf.is-aktiv i { opacity: 1; }
.r .sortkopf, .num .sortkopf { flex-direction: row-reverse; }
.seiten { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-quiet); }
.seiten__info { font-variant-numeric: tabular-nums; }
.seiten__nr { display: inline-flex; gap: 2px; margin: 0 auto; }
.seiten__nr a, .seiten__nr span { min-width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0 6px; color: var(--ink-soft); text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s; }
.seiten__nr a:hover { background: var(--surface-quiet); color: var(--ink); }
.seiten__nr a[aria-current="page"] { background: var(--vero); color: #fff; font-weight: 600; }
.seiten__nr .is-aus { color: var(--line-strong); }
.seiten__n { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.seiten__nr + .seiten__n { margin-left: 0; }
.seiten__n a { padding: 4px 9px; color: var(--ink-soft); text-decoration: none; border: 1px solid transparent; }
.seiten__n a:hover { color: var(--ink); }
.seiten__n a[aria-current="true"] { border-color: var(--line-strong); color: var(--ink); font-weight: 500; background: var(--surface); }
.table th .sortkopf.is-aktiv { color: var(--vero); }
.table th a.sortkopf { color: inherit; font-weight: inherit; text-decoration: none; }
.table th a.sortkopf.is-aktiv { color: var(--vero); }

/* Erklärung der Markierungen */
[data-hilfe] { cursor: help; }
button[data-hilfe] { cursor: pointer; }
.hilfe-pop { position: fixed; z-index: 140; max-width: 340px; padding: 12px 14px; background: var(--ink); color: #f3eff0; font-size: 13px; line-height: 1.5; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .2s var(--ease-out); }
.hilfe-pop.is-on { opacity: 1; transform: none; }
.hilfe-pop > b { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.hilfe-pop b { color: #fff; }
.hilfe-pop__detail { display: block; color: var(--gold); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.hilfe-pop div br { content: ""; display: block; margin-top: 6px; }
/* Zeilenmenü ⋯ */
.zeilenmenue { position: relative; display: inline-block; }
.zeilenmenue > summary { list-style: none; width: 28px; height: 24px; font-size: 16px; color: var(--ink-quiet); }
.zeilenmenue > summary::-webkit-details-marker { display: none; }
.zeilenmenue form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; width: 300px; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 24px 48px -24px rgba(43, 38, 39, .5); animation: rise .3s var(--spring-soft) both; }
.zeilenmenue .switchrow { padding: 10px 12px; }
.zeilenmenue .switchrow small { display: block; font-size: 12px; color: var(--ink-quiet); margin-top: 2px; }
.table th.aktion, .table td.aktion { width: 44px; padding-left: 0; padding-right: 10px; text-align: right; }
.table td.aktion .zeilenmenue > summary { margin-left: auto; opacity: .55; transition: opacity .15s; }
.table tr:hover td.aktion .zeilenmenue > summary, .zeilenmenue[open] > summary { opacity: 1; }

/* Firmensuche im Dialog */
/* Ein Rahmen, ein Feld: die allgemeinen .field-input-Stile hier aufheben */
.fsuche .search { display: flex; width: 100%; height: 50px; padding: 0 14px; border-bottom-color: var(--ink-quiet); font-weight: 400; }
.fsuche .search:focus-within { border-color: var(--vero); box-shadow: inset 0 -2px 0 var(--vero), 0 0 0 4px rgba(136, 8, 39, .1); }
.fsuche .search input, .fsuche .search input:focus { flex: 1; width: auto; min-width: 0; height: 100%; padding: 0; border: 0; box-shadow: none; background: none; font-size: 16px; }
.fsuche .search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fsuche:has(.fsuche__liste:not(:empty)) .search { border-bottom-color: var(--line); }
.fsuche__liste { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 0; max-height: 320px; overflow: auto; }
.fsuche__liste:empty { display: none; }
.fsuche__treffer { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border: 0; border-top: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; font: inherit; font-weight: 400; transition: background-color .15s; }
.fsuche__treffer:first-child { border-top: 0; }
.fsuche__treffer:hover, .fsuche__treffer:focus-visible { background: var(--vero-08); outline: 0; }
.fsuche__treffer b { display: block; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.fsuche__treffer small { font-size: 12.5px; color: var(--ink-quiet); }
.fsuche__leer { margin: 0; padding: 12px; font-size: 13.5px; color: var(--ink-quiet); font-weight: 400; }
.eingang__frage .verwerfen { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 320px; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 24px 48px -24px rgba(43, 38, 39, .5); animation: rise .35s var(--spring-soft) both; }
.eingang__frage .verwerfen .btn { align-self: flex-end; }
.toolbar .search, .toolbar .select, .filters .select, .filters .search { height: 43px; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
