/* ══════════════════════════════════════════════════════════════
   the crcl · Styles
   Stil: angelehnt an linear.app – warmer Sandton, Navy als einziger
   Akzent, haarfeine Linien, eckige Formen. Einzige Rundung: das Logo.
   ══════════════════════════════════════════════════════════════ */

/* ── Schriften lokal (DSGVO: keine Verbindung zu Google) ─────
   Inter und Inter Tight, variable Fassung, SIL Open Font License 1.1 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fdf8ef;   /* „sehr hell, warm“ (03.10.2026) */
  --bg-soft: #f7eee0;
  --panel: #fffcf6;
  --ink: #10141c;
  --ink-2: #5b5f68;
  --ink-3: #716a5e;   /* 4,6:1 auf Sand – WCAG AA */
  --line: #efe4d1;
  --line-2: #e3d4bc;
  --navy: #0b1d3a;
  --navy-2: #1b2f52;
  --navy-soft: #e6e8ec;
  --ok: #1d6b45;
  --ok-soft: #e3ecdf;
  --warn: #8a5a12;
  --warn-soft: #f3e3c4;
  --bad: #9b2c2c;
  --bad-soft: #f3dcd4;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; border-radius: 0; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-family: var(--font-display); letter-spacing: -.02em; }
h1 { font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.03em; }
h2 { font-weight: 600; font-size: 1.15rem; }
h3 { font-weight: 600; font-size: 1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-size: .86rem; }
.hidden { display: none !important; }
::selection { background: var(--navy); color: #fff; }

/* ── Layout ─────────────────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 248, 239, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: radial-gradient(circle, var(--navy) 0 4.5px, transparent 5px);
}
.nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav a { padding: 6px 10px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; background: var(--bg-soft); }
.nav a.active { color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.nav .count { display: inline-block; min-width: 18px; margin-left: 7px; padding: 0 5px; background: var(--navy); color: #fff; font-size: 11px; line-height: 17px; text-align: center; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
main { padding: 36px 0 80px; position: relative; z-index: 1; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0; }

.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--line); padding: 20px; }
.card + .card { margin-top: 14px; }
.grid > .card + .card, .grid > .card { margin-top: 0; }   /* im Raster steuert nur gap die Abstände */
.card.link { display: block; color: inherit; transition: border-color .12s, background .12s; }
.card.link:hover { border-color: var(--navy); text-decoration: none; background: #fffdf9; }
.card h3 { margin-bottom: 4px; font-size: 1.02rem; }

/* ── Buttons & Inputs ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--ink); font: 500 14px var(--font);
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { border-color: var(--ink-3); text-decoration: none; }
.btn.primary, .btn.accent { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover, .btn.accent:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn.danger { color: var(--bad); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.textlink { color: var(--ink-2); font-size: 15px; }
select.lang-select { width: auto; height: 30px; padding: 0 22px 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); background-color: transparent; border-color: var(--line-2); }
.textlink:hover { color: var(--ink); text-decoration: none; }

label { display: block; font-weight: 500; font-size: 13px; margin-bottom: 5px; color: var(--ink-2); }
.field { margin-bottom: 14px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number],
input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--line-2);
  background: #fffdf8; color: var(--ink); font: 14px var(--font);
}
textarea { height: auto; min-height: 110px; padding: 9px 11px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
input[type=checkbox] { accent-color: var(--navy); width: 15px; height: 15px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink); }
.check input { margin-top: 3px; flex: none; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.chips-select { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-select label { display: inline-flex; gap: 7px; align-items: center; margin: 0; padding: 5px 10px; border: 1px solid var(--line-2); font-weight: 400; font-size: 13px; cursor: pointer; color: var(--ink); background: #fffdf8; }
.chips-select label:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar input[type=search] { max-width: 280px; }
.toolbar select { width: auto; }
.seg { display: inline-flex; border: 1px solid var(--line-2); background: #fffdf8; }
.seg button { border: 0; background: transparent; height: 36px; padding: 0 14px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--navy); color: #fff; }

/* ── Chips, Badges, Avatare ─────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font-size: 12px; padding: 1px 7px; border: 1px solid var(--line-2); color: var(--ink-2); background: #fffdf8; }
.chip.hit { border-color: var(--navy); color: var(--navy); background: var(--navy-soft); font-weight: 500; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent; }
.b-open, .b-interested { background: var(--navy-soft); color: var(--navy); }
.b-team_forming, .b-team { background: var(--navy); color: #fff; }
.b-bidding, .b-lead { background: transparent; color: var(--navy); border-color: var(--navy); }
.b-submitted { background: var(--bg-soft); color: var(--ink-2); }
.b-won, .b-available { background: var(--ok-soft); color: var(--ok); }
.b-lost, .b-cancelled, .b-unavailable { background: var(--bad-soft); color: var(--bad); }
.b-limited { background: var(--warn-soft); color: var(--warn); }
.b-admin { background: var(--ink); color: #fff; }

.avatar {
  width: 40px; height: 40px; flex: none; object-fit: cover;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line-2);
  display: inline-grid; place-items: center; font-weight: 600; font-size: 13px;
}
.avatar.lg { width: 80px; height: 80px; font-size: 1.5rem; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.person { display: flex; gap: 12px; align-items: center; min-width: 0; color: inherit; }
.person:hover { text-decoration: none; }
.person .meta { min-width: 0; }
.person .name { display: block; font-weight: 500; color: var(--ink); }
.person .sub { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }

.deadline { font-weight: 500; font-size: 13px; }
.deadline.soon { color: var(--warn); }
.deadline.over { color: var(--bad); }
.tender-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; margin: 6px 0 10px; }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list > li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.list > li:last-child { border-bottom: 0; }

.comment { padding: 13px 0; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment .head { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.comment .head b { color: var(--ink); font-weight: 500; }
.comment .body { white-space: pre-wrap; word-wrap: break-word; }

.progress { height: 4px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--navy); }

.stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }

.empty { text-align: center; padding: 48px 16px; color: var(--ink-3); }
.notice { padding: 11px 14px; background: var(--navy-soft); border: 1px solid #cfd4de; color: var(--ink); margin-bottom: 14px; font-size: 14px; }
.notice.ok { background: var(--ok-soft); border-color: #c5d6c0; }
.notice.err { background: var(--bad-soft); border-color: #e3c0b4; color: var(--bad); }

/* ── Modal & Toast ──────────────────────────────────────────── */
.modal-bg { position: fixed; inset: 0; background: rgba(16, 20, 28, .38); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); border: 1px solid var(--line-2); padding: 24px; box-shadow: 0 30px 80px -30px rgba(16, 20, 28, .45); }
.modal .actions, .form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--navy); color: #fff; padding: 10px 18px; font-size: 14px; font-weight: 500; }

/* ── Auth ───────────────────────────────────────────────────── */
.auth-box { max-width: 400px; margin: 10vh auto 0; position: relative; z-index: 1; }
.auth-box .logo { justify-content: center; margin-bottom: 22px; font-size: 17px; }

/* ── Parallax-Logo im Hintergrund ───────────────────────────── */
.parallax { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.parallax svg { position: absolute; will-change: transform; }
.parallax .ring { stroke: #ebdec8; }
.parallax .core { fill: #f5ebda; }
.layer { position: relative; z-index: 1; }

/* ── Startseite ─────────────────────────────────────────────── */
.site-nav { display: flex; gap: 24px; font-size: 14px; flex: 1; }
.site-nav a { color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.hero { padding: 96px 0 56px; }
.hero p.hero-lead { font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; max-width: 760px; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -.045em; margin: 0 0 26px; max-width: 1000px; }
.hero p { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0 0 32px; }
.hero .cta, .final .cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); padding: 4px 10px 4px 5px; margin-bottom: 28px; background: rgba(255, 252, 246, .6); }
.pill b { background: var(--navy-soft); color: var(--navy); font-weight: 500; padding: 1px 6px; font-size: 12px; }
.pill:hover { text-decoration: none; color: var(--ink); }

.app-shot { border: 1px solid var(--line-2); background: var(--panel); display: grid; grid-template-columns: 210px 1fr 250px; min-height: 440px; font-size: 13px; box-shadow: 0 30px 80px -40px rgba(16, 20, 28, .3); }
@media (max-width: 980px) { .app-shot { grid-template-columns: 1fr; } .app-shot .s-side, .app-shot .s-props { display: none; } }
.s-side { border-right: 1px solid var(--line); background: var(--bg-soft); padding: 14px 10px; }
.s-ws { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 8px 14px; }
.s-ws .logo-mark { width: 18px; height: 18px; background: radial-gradient(circle, var(--navy) 0 3.5px, transparent 4px); }
.s-nav > span { display: flex; align-items: center; gap: 9px; padding: 6px 8px; color: var(--ink-2); }
.s-nav > span.on { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.s-nav .n { margin-left: auto; background: var(--navy); color: #fff; font-size: 11px; padding: 0 6px; line-height: 17px; box-shadow: none; }
.s-grp { font-size: 11px; color: var(--ink-3); padding: 16px 8px 6px; }
.s-tag { font-size: 11px; color: var(--ink-2); border: 1px solid var(--line-2); padding: 0 5px; line-height: 17px; }
.s-main { padding: 18px 26px; min-width: 0; }
.s-crumb { color: var(--ink-3); display: flex; gap: 8px; margin-bottom: 18px; }
.s-crumb b { color: var(--ink-2); font-weight: 500; }
.s-main h2 { font-size: 22px; margin: 0 0 6px; }
.s-desc { color: var(--ink-2); margin: 0 0 20px; max-width: 560px; }
.s-ask { border: 1px solid var(--navy); background: var(--navy-soft); padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.s-ask .t { flex: 1; min-width: 200px; }
.s-ask .t b { display: block; font-weight: 500; }
.s-ask .t span { color: var(--ink-2); }
.s-h3 { font-size: 12px; color: var(--ink-3); margin: 0 0 8px; }
.s-req { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.s-req li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.s-req .who { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.s-chk { width: 15px; height: 15px; border: 1.5px solid var(--line-2); flex: none; position: relative; }
.s-chk.ok { background: var(--navy); border-color: var(--navy); }
.s-chk.ok::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.s-props { border-left: 1px solid var(--line); padding: 18px; }
.s-prop { display: grid; grid-template-columns: 82px 1fr; gap: 6px; padding: 7px 0; align-items: center; }
.s-prop > span { color: var(--ink-3); }
.s-dot { width: 12px; height: 12px; border: 2px solid var(--navy); display: inline-block; vertical-align: -1px; margin-right: 6px; border-radius: 50%; background: linear-gradient(90deg, var(--navy) 50%, transparent 50%); }
.s-fit { color: var(--navy); font-weight: 600; }
.s-av { display: flex; gap: 4px; }
.s-av i { width: 22px; height: 22px; font-style: normal; font-size: 10px; font-weight: 600; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line-2); color: var(--ink-2); }
.s-av i.y { background: var(--navy); border-color: var(--navy); color: #fff; }
.s-sep { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

.statement { padding: 72px 0 24px; }
.statement p { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; margin: 0; max-width: 980px; }
.statement p span { color: var(--ink-3); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features > div { padding: 30px 28px 34px; }
.features > div + div { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } .features > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.features svg { display: block; margin: 0 0 30px; }
.features h3 { font-size: 16px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--ink-2); }
.features .k { font-size: 12px; color: var(--ink-3); margin-bottom: 14px; display: block; }

.apply { padding: 110px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 880px) { .apply { grid-template-columns: 1fr; gap: 28px; padding-top: 80px; } }
.apply h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; line-height: 1.04; margin: 0 0 20px; }
.apply .lead { font-size: 17px; color: var(--ink-2); max-width: 440px; }
.why { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.why li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; }
.why li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 9px; height: 9px; background: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 13px; margin-top: 60px; position: relative; z-index: 1; }
.footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.footer a { color: var(--ink-2); }

@media (max-width: 760px) {
  .topbar .wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
  .nav { order: 3; flex: 0 0 100%; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  .topbar-right { margin-left: auto; }
  .hide-mobile { display: none; }
  .site-nav { order: 3; flex: 0 0 100%; overflow-x: auto; gap: 18px; font-size: 13px; padding-bottom: 2px; }
  .site-nav a { white-space: nowrap; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .kv dt { margin-top: 8px; }
  .hero { padding: 56px 0 40px; }
  .statement { padding: 80px 0 56px; }
}
@media (prefers-reduced-motion: reduce) { .parallax svg { transform: none !important; } }

/* ── Startseite v2: Hero mit Anfrage-Vorschau ───────────────── */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-grid h1 { font-size: clamp(48px, 6.6vw, 92px); }
.cta-note { font-size: 13px !important; color: var(--ink-3) !important; margin: 14px 0 0 !important; }
label .opt { font-weight: 400; color: var(--ink-3); }

.ask-preview { position: relative; }
.ap-label { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .02em; }
.ap-card { background: var(--panel); border: 1px solid var(--navy); box-shadow: 0 40px 90px -45px rgba(11, 29, 58, .55), 14px 14px 0 -1px var(--bg-soft), 14px 14px 0 0 var(--line-2); }
.ap-top { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #f6eee0; padding: 10px 16px; font-size: 13px; }
.ap-new { font-weight: 600; letter-spacing: .02em; }
.ap-fit { font-weight: 600; color: #c9b48f; }
.ap-body { padding: 22px 20px 20px; }
.ap-title { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.ap-meta { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.ap-why { border-left: 2px solid var(--navy); padding: 4px 0 4px 14px; margin-bottom: 18px; font-size: 15px; }
.ap-why b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 2px; }
.ap-facts { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 18px; font-size: 14px; }
.ap-team { display: flex; gap: 10px; align-items: center; }
.ap-deadline { font-weight: 600; color: var(--warn); }
.ap-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.ap-actions .btn { height: 44px; font-size: 15px; }

/* ── Navy-Abschnitt ─────────────────────────────────────────── */
.navy-band { background: var(--navy); color: #f6eee0; padding: 100px 0 90px; margin-top: 40px; }
.band-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #c9b48f; margin-bottom: 16px; }
.band-kicker.dark { color: var(--navy); }
.band-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 56px; max-width: 820px; color: #fbf6ed; }
.navy-band .features { border-color: rgba(246, 238, 224, .2); }
.navy-band .features > div + div { border-color: rgba(246, 238, 224, .2); }
.navy-band .features h3 { color: #fbf6ed; font-size: 18px; }
.navy-band .features p { color: #cfc8ba; }
.navy-band .features .k { color: #c9b48f; }

/* ── Wer dahintersteht ──────────────────────────────────────── */
.about { padding: 110px 0 20px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-photo { margin: 0; position: relative; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--navy); filter: grayscale(.15) contrast(1.02); }
.about-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-2); z-index: -1; }
.about-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 22px; }
.about p { font-size: 17px; color: var(--ink-2); max-width: 560px; }
.about-sign { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; }
.about-sign b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.about-sign span { font-size: 14px; color: var(--ink-3); }

@media (max-width: 760px) {
  .ap-actions { grid-template-columns: 1fr; }
  .ap-long { display: none; }
  .ap-short { display: inline !important; }
  .navy-band { padding: 72px 0 60px; }
  .about { padding-top: 80px; }
}

/* ── Ausschreibungskarten (entschlackt) ─────────────────────── */
.tcard { display: flex !important; flex-direction: column; padding: 18px 20px; }
.tc-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; min-height: 20px; }
.tc-admin { font-size: 11px; color: var(--ink-3); margin-left: auto; }
.tc-title { font-size: 17px !important; line-height: 1.3; margin: 0 0 6px !important; letter-spacing: -.015em; }
.tc-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.tc-facts { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; font-size: 13px; }
.tc-facts .deadline { font-size: 14px; }
.tc-team { font-weight: 500; }
.tc-topics { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* ── Feinschliff Runde 2 ────────────────────────────────────── */
.ap-short { display: none; }
.tc-topics .hit { color: var(--ink); font-weight: 600; }
.tc-topics .sep { color: var(--line-2); }

/* Gemini: Karte im Hero auf sehr schmalen Displays */
@media (max-width: 480px) {
  .ap-actions { grid-template-columns: 1fr; gap: 10px; }
  .ap-facts { flex-direction: column; align-items: flex-start; gap: 8px; }
}
/* Gemini: Micro-Interaction für klickbare Karten */
.card.link { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.card.link:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(11, 29, 58, .08); }
/* Gemini: kleine Schriften für die Zielgruppe gut lesbar halten */
.small, .hint, .tc-sub, .tc-topics { font-size: .88rem; }
.ap-label, .s-grp, .s-h3 { font-size: 12px; letter-spacing: .03em; }
/* Gemini: sichtbarerer Fokusring */
input:focus, select:focus, textarea:focus { background: #fff; box-shadow: 0 0 0 3px rgba(11, 29, 58, .12); }
/* Gemini: Abstände in der App-Navigation (Zähler bleibt eckig) */
.nav { gap: 6px; }
.nav a { padding: 6px 12px; }
.nav .count { margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { .card.link { transition: none; } .card.link:hover { transform: none; } }

/* Startseite mobil: Kopfzeile auf zwei Reihen statt drei
   Reihe 1: Logo + "Mitglied werden" · Reihe 2: Navigation, Anmelden, Sprache */
@media (max-width: 760px) {
  .site-top .wrap { row-gap: 4px; column-gap: 12px; }
  .site-top .wrap::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
  .site-top .logo { order: 1; }
  .site-top .topbar-right { display: contents; }
  .site-top .topbar-right .btn.primary { order: 2; margin-left: auto; height: 32px; padding: 0 12px; font-size: 13px; }
  .site-top .site-nav { order: 4; flex: 1 1 0; min-width: 0; }
  .site-top .topbar-right .textlink { order: 5; font-size: 13px; white-space: nowrap; }
  .site-top .lang-slot { order: 6; }
}
@media (max-width: 760px) {
  .site-nav, .nav { scrollbar-width: none; }
  .site-nav::-webkit-scrollbar, .nav::-webkit-scrollbar { display: none; }
  .site-top .site-nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 16px; }
}

/* ── Feinschliff Runde 3 (Gemini) ───────────────────────────── */
@media (max-width: 480px) {
  .ap-top { padding: 12px 14px; font-size: 12px; }
  .ap-fit { background: rgba(201, 180, 143, .15); padding: 2px 6px; }
}
.card.stat { border-top: 2px solid var(--navy); background: #fffdf9; }
.split .card h2 { font-size: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.check { padding: 6px 0; cursor: pointer; }
.check input[type=checkbox] { width: 18px; height: 18px; }

/* ── Erfolgsprovision transparent ───────────────────────────── */
.fee-box { margin-top: 28px; border: 1px solid var(--navy); background: var(--panel); padding: 18px 20px; }
.fee-box h3 { font-size: 15px; margin: 0 0 12px; }
.fee-box dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 14px; margin: 0 0 14px; font-size: 14px; }
.fee-box dt { color: var(--ink-3); }
.fee-box dd { margin: 0; }
@media (max-width: 480px) { .fee-box dl { grid-template-columns: 1fr; gap: 2px; } .fee-box dd { margin-bottom: 8px; } }

/* ── Feinschliff Runde 4 (Gemini) ───────────────────────────── */
.tc-sub, .tc-topics { color: var(--ink-2); }
h2.with-lock { display: flex; align-items: center; gap: 8px; }
h2.with-lock svg { color: var(--navy); flex: none; }

/* ── Startseite v3: Menschen & Zusammenarbeit (03.10.2026) ──── */
.hero-v3 { align-items: end; }
.hero-v3 h1 { font-size: clamp(52px, 7.6vw, 104px); }
.hero-facts { margin: 0; border-top: 1px solid var(--navy); }
.hero-facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.hero-facts dd { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.35; letter-spacing: -.01em; }

.sec { padding: 110px 0 20px; }
.sec-title { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 44px; max-width: 900px; }
.sec-close { font-family: var(--font-display); font-size: 20px; color: var(--ink-2); margin: 32px 0 0; max-width: 720px; }
.sit-n { display: block; font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 18px; letter-spacing: .04em; }
.sit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); }
.sit { padding: 26px 24px 30px 0; border-right: 1px solid var(--line); }
.sit + .sit { padding-left: 24px; }
.sit:last-child { border-right: 0; }
.sit h3, .ex-steps h3, .join-steps h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.015em; }
.sit p, .ex-steps p, .join-steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 960px) {
  .sit-grid { grid-template-columns: 1fr 1fr; }
  .sit, .sit + .sit { padding: 24px 20px 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sit:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .sit-grid { grid-template-columns: 1fr; } .sit:nth-child(even) { padding-left: 0; border-left: 0; } }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(246, 238, 224, .2); }
.offer { padding: 26px 24px 30px 0; border-bottom: 1px solid rgba(246, 238, 224, .2); }
.offer:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid rgba(246, 238, 224, .2); }
.offer h3 { color: #fbf6ed; font-size: 18px; margin: 12px 0 8px; }
.offer p { color: #cfc8ba; margin: 0; }
.st { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; }
.st.now { background: #c9b48f; color: var(--navy); }
.st.planned { border: 1px solid #c9b48f; color: #c9b48f; }
@media (max-width: 960px) {
  .offers { grid-template-columns: 1fr 1fr; }
  .offer, .offer:not(:nth-child(3n+1)) { padding: 24px 20px 26px 0; border-left: 0; }
  .offer:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(246, 238, 224, .2); }
}
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } .offer:nth-child(even) { padding-left: 0; border-left: 0; } }

.ex-badge { display: inline-block; font-size: 13px; color: var(--ink-2); border: 1px dashed var(--line-2); padding: 5px 10px; margin: -24px 0 32px; }
.ex-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
@media (max-width: 760px) { .ex-people { grid-template-columns: 1fr; gap: 10px; } }
.ex-person { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); background: var(--panel); padding: 14px 16px; }
.ex-person b { display: block; font-family: var(--font-display); font-size: 17px; }
.ex-person div span { display: block; font-size: 13px; color: var(--ink-3); }
.ex-av { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--navy); color: #f6eee0; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.ex-steps, .join-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.ex-steps li, .join-steps li { padding: 24px 22px 28px 0; }
.ex-steps li + li, .join-steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
@media (max-width: 960px) {
  .ex-steps, .join-steps { grid-template-columns: 1fr; }
  .ex-steps li + li, .join-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.about-phase { border-left: 2px solid var(--navy); padding-left: 14px; color: var(--ink) !important; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.two-col h3 { font-size: 20px; margin: 0 0 12px; }
.two-col h4 { font-size: 15px; margin: 0 0 10px; color: var(--navy); }
.tick-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.tick-list li { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); position: relative; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 9px; height: 9px; background: var(--navy); }
.roles-title { font-size: 20px; margin: 56px 0 0; }
.two-col.roles { margin-top: 16px; }
.sec .apply { padding: 80px 0 40px; }

/* ── Arbeitsstil & Big Five ─────────────────────────────────── */
.ps-teaser { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ps-role { border-left: 2px solid var(--navy); padding: 4px 0 4px 12px; margin-bottom: 16px; }
.ps-role strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.ps-role p { margin: 4px 0 0; }
.axis-row { padding: 12px 0; border-top: 1px solid var(--line); }
.axis-row p { margin: 6px 0 0; }
.axis-head { margin-bottom: 8px; font-size: 14px; }
.axis { display: grid; grid-template-columns: minmax(70px, auto) 1fr minmax(70px, auto); gap: 10px; align-items: center; font-size: 12px; color: var(--ink-2); }
.axis-pole.r { text-align: right; }
.axis-track { position: relative; height: 2px; background: var(--line-2); }
.axis-dot { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--panel); }
.ps-form { max-width: 760px; }
.ps-item { border: 1px solid var(--line); background: var(--panel); margin: 0 0 10px; padding: 14px 16px; }
.ps-item legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: 15px; color: var(--ink); }
.ps-item legend + * { clear: both; }
.ps-n { display: inline-block; min-width: 26px; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.scale label { margin: 0; cursor: pointer; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 40px; height: 100%; padding: 6px 4px; border: 1px solid var(--line-2); background: #fffdf8; font-size: 12px; font-weight: 400; line-height: 1.25; color: var(--ink-2); transition: background .12s, border-color .12s; }
.scale label:hover span { border-color: var(--navy); }
.scale input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.scale input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.b5-dom { padding: 12px 0; border-top: 1px solid var(--line); }
.b5-dom p { margin: 6px 0 0; }
.b5-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.b5-dom details { margin-top: 6px; }
.b5-dom summary { cursor: pointer; color: var(--navy); }
.b5-facets { margin-top: 6px; }
.b5-facets > li { padding: 6px 0; font-size: 13px; }
@media (max-width: 600px) {
  .scale { grid-template-columns: 1fr; }
  .scale span { justify-content: flex-start; min-height: 36px; padding: 6px 10px; }
  .axis { grid-template-columns: 1fr 1fr; }
  .axis-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ── Gruppen ────────────────────────────────────────────────── */
.net-tabs { margin-bottom: 18px; }
.seg a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; font: 500 14px var(--font); color: var(--ink-2); text-decoration: none; }
.seg a + a { border-left: 1px solid var(--line-2); }
.seg a.on { background: var(--navy); color: #fff; }
.seg a:hover:not(.on) { color: var(--navy); text-decoration: none; }
.g-sec { font-size: 1.05rem; margin: 26px 0 12px; }
.g-card { display: flex; flex-direction: column; gap: 6px; }
.g-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.g-card-head a { color: inherit; }
.g-card-head h3 { margin: 0; }
.g-desc { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.g-review { border-top: 2px solid var(--navy); margin-bottom: 14px; }
.g-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.g-lead { max-width: 720px; color: var(--ink-2); margin: -8px 0 18px; white-space: pre-line; }
.g-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; overflow-x: auto; }
.g-tabs a { padding: 9px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.g-tabs a.on { color: var(--navy); border-bottom-color: var(--navy); }
.g-tabs a:hover { color: var(--navy); text-decoration: none; }
.g-new summary { cursor: pointer; color: var(--navy); list-style: none; }
.g-new summary::-webkit-details-marker { display: none; }
.g-new { margin-bottom: 14px; }
.g-post-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.g-thread-title { margin: 10px 0 4px; }
.g-post-body { white-space: pre-line; font-size: 15px; overflow-wrap: anywhere; }
.g-replies { margin-top: 14px; border-left: 2px solid var(--line-2); padding-left: 14px; display: grid; gap: 12px; }
.g-reply .g-post-body { margin-top: 4px; font-size: 14px; }
.g-reply-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 14px; }
.g-reply-form textarea { min-height: 42px; height: 42px; flex: 1; resize: vertical; }
.g-event { align-items: flex-start !important; flex-wrap: nowrap !important; }
.g-date { flex: none; width: 52px; text-align: center; border: 1px solid var(--line-2); background: #fffdf8; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding: 4px 0; }
.g-date span { display: block; font: 600 1.3rem/1.1 var(--font-display); color: var(--navy); letter-spacing: 0; }
.g-event-main { flex: 1; min-width: 0; }
@media (max-width: 600px) {
  .g-reply-form { flex-direction: column; align-items: stretch; }
}

/* ── Netzwerk: nach Themenfeldern ─────────────────────────── */
.f-jump { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 22px; }
.f-jump button { border: 1px solid var(--line-2); background: #fffdf8; padding: 5px 11px; font: 500 13px var(--font); color: var(--ink-2); cursor: pointer; }
.f-jump button:hover { border-color: var(--navy); color: var(--navy); }
.f-jump button span { color: var(--ink-3); font-weight: 400; margin-left: 2px; }
.f-sec { margin-bottom: 30px; scroll-margin-top: 80px; }
.f-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; margin-bottom: 12px; }
.f-sec-head h2 { margin: 0; font-size: 1.1rem; }
.f-sec-head h2 .muted { font-weight: 400; font-size: .95rem; margin-left: 4px; }
.f-grid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.f-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.f-card .person { align-items: flex-start; }
.f-card .meta { flex: 1; }
.f-head { margin: 0; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-card .chips { margin-top: auto; }
.m-more { font-size: 12px; color: var(--ink-3); align-self: center; }
.m-avail i { display: block; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: var(--ok); }
.m-avail.a-limited i { background: var(--warn); }
.m-avail.a-unavailable i { background: var(--bad); }

/* ── Lange Wörter, E-Mail-Adressen, Links: nie über den Rand ── */
.card, .list > li, .notice, .modal, .kv dd, .g-post-body, .tc-team, .person .meta { overflow-wrap: anywhere; min-width: 0; }
.person .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list > li > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
.person > div { min-width: 0; }
input[type=file] { max-width: 100%; }

/* ── Aufträge & Abrechnung ──────────────────────────────────── */
.k-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 14px; margin-bottom: 14px; align-items: start; }
.k-grid > .card + .card { margin-top: 0; }
.k-alerts { margin: 6px 0 0; padding-left: 18px; }
.k-edit { margin-top: 12px; }
.k-edit summary { cursor: pointer; color: var(--navy); font-weight: 500; font-size: 14px; }
.k-upload { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.k-upload select { width: auto; }
.k-inline { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; align-items: center; }
.k-set { margin-top: 10px; }
.k-set.old { opacity: .65; }
.k-set .list { margin-top: 4px; }
.k-share-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.k-share-row input { text-align: right; }
.k-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin-bottom: 14px; }
.k-stats > .card + .card { margin-top: 0; }
.k-big { font: 600 1.5rem/1.2 var(--font-display); margin-top: 4px; font-variant-numeric: tabular-nums; }
.ok-text { color: var(--ok); font-weight: 600; }
.err-text { color: var(--bad); font-weight: 600; }
@media (max-width: 600px) { .k-inline { grid-template-columns: 1fr 1fr; } .k-inline input:first-child { grid-column: 1 / -1; } }

/* ── Hinweise ───────────────────────────────────────────────── */
.nt-bell { position: relative; display: inline-flex; align-items: center; color: var(--ink-2); padding: 4px; }
.nt-bell:hover { color: var(--navy); }
.nt-bell .count { position: absolute; top: -4px; right: -8px; min-width: 16px; padding: 0 4px; background: var(--navy); color: #fff; font-size: 10px; line-height: 15px; text-align: center; font-weight: 600; }
.nt-list > li { align-items: flex-start; }
.nt-list > li a { color: var(--ink); flex: 1; min-width: 0; }
.nt-list > li.unread a { font-weight: 600; }
.nt-list > li.unread::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); margin-top: 7px; flex: none; }

/* ── Rechtsseiten ───────────────────────────────────────────── */
.legal { max-width: 780px; }
.legal h1 { margin-bottom: 14px; }
.legal h2 { font-size: 1.12rem; margin: 26px 0 8px; scroll-margin-top: 20px; }
.legal p, .legal li { line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.legal ul { padding-left: 20px; }
.legal .ph { background: var(--warn-soft); color: var(--warn); padding: 0 4px; font-weight: 500; }
.legal-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 4px 16px; margin: 16px 0 6px; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; }
.legal-box { border-left: 3px solid var(--navy); background: var(--bg-soft); padding: 10px 14px; margin: 12px 0; }
.legal-box p { margin: 0; }
.legal-form { max-width: 560px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-foot { padding: 18px 0 40px; font-size: 13px; color: var(--ink-2); }
.legal-foot a { color: var(--ink-2); }
.app-legal { text-align: center; padding: 22px 0 30px; font-size: 12px; color: var(--ink-3); }
.app-legal a { color: var(--ink-3); }

/* ── Ampel (einheitlich für Mitglied, Ausschreibung, Auftrag, Rechnung) ── */
.light { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.light i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--line-2); box-shadow: 0 0 0 2px var(--panel); }
.light.l-red i { background: var(--bad); }
.light.l-yellow i { background: #d4a017; }
.light.l-green i { background: var(--ok); }
.light.l-open i { background: transparent; border: 2px solid var(--ink-3); width: 8px; height: 8px; }
.light.l-red { color: var(--bad); }
.tc-top [data-tl] .light span, .ml-dot .light span { display: none; }
.ml-dot { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.lt-reasons { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.lt-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.lt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin-top: 14px; }
.lt-area { border: 1px solid var(--line); padding: 12px 14px; background: var(--panel); min-width: 0; }
.lt-area h3 { margin: 0 0 8px; font-size: .98rem; }
.lt-counts { display: flex; gap: 14px; margin-bottom: 6px; }
.lt-counts .light span { font: 600 1.1rem var(--font-display); color: var(--ink); }
.lt-area details summary { cursor: pointer; color: var(--navy); }
.terms-gate { max-width: 520px; }

/* Konto löschen */
.del-box > summary { list-style: none; display: inline-flex; cursor: pointer; }
.del-box > summary::-webkit-details-marker { display: none; }
.del-box[open] > summary { display: none; }
.tcard .tc-top [data-plt]:empty, [data-pl]:empty { display: none; }

/* Startseite „Für dich“ */
.dash-hello { align-items: flex-end; flex-wrap: wrap; gap: 8px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dash-card { margin: 0; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.dash-head h2 { margin: 0; }
.dash-n { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 11px; background: var(--navy); color: #fff; font-size: 12px; line-height: 22px; text-align: center; vertical-align: middle; }
.dash-list li { gap: 10px; }
.dash-right { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
.dash-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dash-empty { margin: 4px 0 10px; }
.dash-snip { color: var(--ink-2); overflow-wrap: anywhere; }
.dash-light-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dash-dates li { justify-content: flex-start; align-items: center; }
.dash-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line-2); border-radius: 10px; line-height: 1.05; }
.dash-date b { font-size: 16px; }
.dash-date span { font-size: 11px; text-transform: uppercase; color: var(--ink-3); }
.dash-admin { margin-bottom: 18px; padding: 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.dash-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dash-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
.dash-tile:hover { border-color: var(--line-2); }
.dash-tile-n { font-size: 24px; font-weight: 700; line-height: 1.1; }
.dash-tile-l { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.dash-tile.t-bad { border-left: 4px solid #c0392b; }
.dash-tile.t-warn { border-left: 4px solid #d4a017; }
.dash-tile.t-ok { opacity: .62; }
.dash-tile.t-ok .dash-tile-n { color: var(--ink-3); }
@media (max-width: 820px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
.dash-grid > .card, .dash-grid > .card + .card { margin: 0; }

/* KI-Erkennung der Unterlagen */
.ex-badge { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 10px; font-size: 12px; }
.ex-pending { background: #eef2fb; color: #2b4a8a; }
.ex-done { background: #fdf3d6; color: #7a5a00; }
.ex-ok { background: #e6f4ea; color: #1d6b36; }
.ex-fail { background: #fbeaea; color: #8a2b2b; }
.list li.ex-li { display: block; border-top: 0; padding-top: 0; }
.ex-review { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.ex-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ex-group { margin-top: 8px; }
.ex-gl { margin-bottom: 2px; }
.ex-item { display: flex; gap: 8px; align-items: flex-start; padding: 2px 0; overflow-wrap: anywhere; }
/* Aufnahmekriterien */
.ac-field { border: 0; padding: 0; margin: 0 0 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.ac-field legend { width: 100%; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.ac-box { margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.ac-pass { background: #eef7f0; }
.ac-fail { background: #fdf3e6; }
.ac-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 2px; }
.ac-ok { color: #1d6b36; }
.ac-no { color: #8a4b00; }

/* Verträge */
.agr-doc h3 { margin: 18px 0 6px; font-size: 15px; }
.agr-doc p { margin: 0 0 6px; line-height: 1.55; overflow-wrap: anywhere; }
.agr-doc ul { margin: 0 0 8px; padding-left: 20px; }
.agr-paper { max-width: 820px; padding: 28px 32px; }
.agr-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.agr-title { margin: 0 0 14px; font-size: 22px; }
.agr-sigs { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 4px; }
.agr-meta { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 8px; }
.agr-signbox { border-left: 4px solid var(--navy); }
.agr-scroll { max-height: 46vh; overflow: auto; padding: 12px 14px; margin: 10px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-size: 14px; }
.terms-gate.tg-wide { max-width: 760px; }
.agr-row { padding: 8px 0; border-bottom: 1px solid var(--line); }
.agr-row-name { margin-bottom: 4px; }
@media print {
  .topbar, .app-legal, .no-print, .toast { display: none !important; }
  body { background: #fff; }
  .agr-paper { border: 0; box-shadow: none; max-width: none; padding: 0; }
}
@media (max-width: 600px) { .agr-paper { padding: 18px 16px; } }

/* Verbindliche Zusage */
.cm-zcard { border: 1px solid var(--line-2); background: var(--panel); padding: 16px; margin-bottom: 14px; }
.cm-kicker { font-weight: 700; color: var(--navy); }
.cm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; margin: 0 0 12px; }
.cm-facts div { min-width: 0; }
.cm-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.cm-facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.cm-text { margin: 0 0 12px; }
.cm-text summary { cursor: pointer; font-size: 14px; color: var(--navy); }
.cm-hold { position: relative; overflow: hidden; width: 100%; min-height: 52px; border: 0; background: var(--navy); color: #fff; font: 600 15px/1.2 inherit; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.cm-hold .cm-fill { position: absolute; inset: 0; background: rgba(255, 255, 255, .22); transform: scaleX(0); transform-origin: left; }
.cm-hold .cm-label { position: relative; padding: 0 12px; }
.cm-hold.cm-holding { box-shadow: 0 0 0 3px rgba(11, 29, 58, .18); }
.cm-hold.cm-done { background: #1d6b36; }
.cm-hold.cm-done .cm-fill { transform: scaleX(1); }
.cm-hold.cm-danger { background: #8a2b2b; }
.cm-hold:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.cm-hint { margin: 8px 0 10px; }
.cm-banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 12px; }
.cm-banner.cm-ok { background: #e6f4ea; color: #134a25; }
.cm-check { width: 32px; height: 32px; border-radius: 50%; background: #1d6b36; color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.cm-team { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.cm-bar { height: 6px; background: var(--line); margin: 8px 0 6px; }
.cm-bar i { display: block; height: 100%; background: #1d6b36; }
.cm-ring { display: inline-flex; border-radius: 50%; padding: 2px; box-shadow: 0 0 0 2px transparent; flex-shrink: 0; }
.cm-ring.cm-r-ok { box-shadow: 0 0 0 2px #1d6b36; }
.cm-ring.cm-r-wait { box-shadow: 0 0 0 2px #d4a017; }
.cm-ring.cm-r-bad { box-shadow: 0 0 0 2px #c0392b; }
.cm-opt { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 6px; }
@media (prefers-reduced-motion: reduce) { .cm-hold .cm-fill { transition: none; } }

/* Arbeitsraum fürs Angebot */
.ws-open { display: block; width: 100%; text-align: center; }
.ws-head { align-items: flex-end; flex-wrap: wrap; gap: 8px; }
.ws-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.ws-steps { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--panel); }
.ws-steps li { min-width: 0; border-right: 1px solid var(--line); }
.ws-steps li:last-child { border-right: 0; }
.ws-steps li > * { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.ws-steps li button { cursor: pointer; }
.ws-steps li button:hover { background: var(--bg-soft); }
.ws-steps li button:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.ws-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line-2); font-size: 12px; }
.ws-steps li.done > * { color: var(--ink-2); }
.ws-steps li.done b { background: #1d6b36; border-color: #1d6b36; color: #fff; }
.ws-steps li.now > * { color: var(--ink); font-weight: 600; background: var(--bg-soft); box-shadow: inset 0 -3px 0 var(--navy); }
.ws-steps li.now b { background: var(--navy); border-color: var(--navy); color: #fff; }
.ws-clocks { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 10px; margin-bottom: 12px; }
.ws-clock { border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ws-clock span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.ws-clock b { font-size: 15px; overflow-wrap: anywhere; }
.ws-clock i { font-style: normal; font-size: 13px; color: var(--ink-2); }
.ws-clock.main { border-color: var(--navy); }
.ws-clock.main i { color: var(--navy); font-weight: 600; }
.ws-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ws-stats > div { border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; min-width: 0; }
.ws-stats span { font-size: 12px; color: var(--ink-3); display: block; }
.ws-stats b { font-size: 20px; }
.ws-stats .bar { height: 4px; background: var(--line); margin-top: 6px; }
.ws-stats .bar i { display: block; height: 100%; background: var(--navy); }
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ws-grid > .card, .ws-grid > .card + .card { margin: 0; min-width: 0; }
.ws-add { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; margin: 0 0 12px; align-items: center; }
.ws-add-2 { grid-template-columns: minmax(0, 1fr) auto auto; margin: 12px 0 0; }
.ws-add input, .ws-add select { min-width: 0; width: 100%; }
.ws-group { margin-top: 8px; }
.ws-gl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 2px; }
.ws-list { list-style: none; padding: 0; margin: 0; }
.ws-list > li { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ws-list > li:last-child { border-bottom: 0; }
.ws-check { display: flex; gap: 8px; align-items: flex-start; min-width: 0; flex: 1 1 220px; cursor: pointer; overflow-wrap: anywhere; }
.ws-check input { margin-top: 3px; flex-shrink: 0; }
.ws-task.done .ws-check span, .ws-cl.done .ws-check span { color: var(--ink-3); text-decoration: line-through; }
.ws-who { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-2); }
.ws-who .avatar { width: 20px; height: 20px; font-size: 9px; }
.ws-due { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.ws-due.over { color: #c0392b; font-weight: 600; }
.ws-cl-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ws-mini-sel { font-size: 12px; padding: 2px 4px; max-width: 150px; }
.ws-attach { cursor: pointer; color: var(--navy); text-decoration: underline; }
.ws-attach-btn { cursor: pointer; }
.ws-file > div a { overflow-wrap: anywhere; }
.ws-vers { margin: 4px 0 0; padding-left: 18px; }
.ws-toggle { display: inline-flex; gap: 6px; align-items: center; }
.ws-warn { padding: 6px 10px; margin-bottom: 6px; background: #fdf3d6; color: #7a5a00; font-size: 14px; }
.ws-ready { padding: 8px 10px; margin-bottom: 6px; background: #e6f4ea; color: #134a25; font-weight: 600; }
.ws-submit { border-left: 4px solid var(--navy); }
.avatar.xs { width: 20px; height: 20px; font-size: 9px; }
@media (max-width: 900px) {
  .ws-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-steps li:nth-child(3) { border-right: 0; }
  .ws-steps li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .ws-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-add { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ws-add > input:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .ws-clocks { grid-template-columns: minmax(0, 1fr); } }
.ws-add { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.ws-add > input:first-child { grid-column: 1 / -1; }
.ws-add-2 { grid-template-columns: minmax(0, 1fr) auto auto; }
.ws-add-2 > input:first-child { grid-column: auto; }
.ws-cl-meta { flex-basis: 100%; justify-content: flex-start; padding-left: 24px; gap: 10px; }
.ws-mini-sel { width: auto; max-width: 170px; min-height: 0; height: auto; }

/* Eingabefelder (Uli 17.10.): 1 px grauer Rand, 150 % Höhe – gilt auch für Felder ohne type-Attribut */
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=tel],
input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; height: 57px; padding: 0 16px; border: 1px solid #c9c9c9; border-radius: 0;
  background: #fffdf8; color: var(--ink); font: 16px var(--font); box-shadow: none;
}
select { padding-right: 36px; }
textarea { height: auto; min-height: 150px; padding: 14px 16px; line-height: 1.55; }
input:not([type]):focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 29, 58, .12); background: #fff; }
label { margin-bottom: 7px; }
.field { margin-bottom: 18px; }
/* kompakte Ausnahmen */
select.lang-select { height: 32px; font-size: 13px; padding: 0 22px 0 8px; border-color: #c9c9c9; }
.ws-mini-sel { height: 36px; font-size: 13px; padding: 0 28px 0 8px; }
.ws-add input, .ws-add select, .ws-add-2 input { height: 48px; }
input[type=file] { height: auto; border: 0; padding: 0; background: transparent; }

/* Geführtes Onboarding */
.ob-wrap { max-width: 760px; margin: 0 auto; }
.ob-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 8px 0 10px; }
.ob-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.ob-steps { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.ob-steps button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 4px 2px; font-size: 12px; color: var(--ink-3); text-align: center; }
.ob-steps button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.ob-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; }
.ob-steps li.done b { background: #1d6b36; border-color: #1d6b36; color: #fff; }
.ob-steps li.now b { background: var(--navy); border-color: var(--navy); color: #fff; }
.ob-steps li.now span { color: var(--ink); font-weight: 600; }
.ob-steps span { overflow-wrap: anywhere; }
.ob-bar { height: 4px; background: var(--line); margin: 0 0 16px; }
.ob-bar i { display: block; height: 100%; background: var(--navy); transition: width .3s ease; }
.ob-card { padding: 26px 28px; }
.ob-card h2 { font-size: 22px; margin: 0 0 6px; }
.ob-card > p.muted { margin: 0 0 18px; max-width: 60ch; }
.ob-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 28px 16px; border: 1px dashed #b9b9b9; background: var(--panel); cursor: pointer; text-align: center; margin: 4px 0 12px; }
.ob-drop:hover { border-color: var(--navy); background: #fff; }
.ob-drop-icon { font-size: 26px; color: var(--navy); line-height: 1; }
.ob-drop-sm { padding: 10px 16px; margin: 0; flex-direction: row; gap: 10px; }
.ob-drop-sm .ob-drop-icon { font-size: 18px; }
.ob-drop-sm .small { display: none; }
.ob-docs { margin-top: 6px; }
.ob-avatar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ob-meter { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.ob-meter-bar { flex: 1; height: 8px; background: var(--line); }
.ob-meter-bar i { display: block; height: 100%; background: #1d6b36; }
.ob-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 30px; flex-wrap: wrap; }
.ob-done { text-align: center; }
.ob-done .cm-check.ob-big { width: 56px; height: 56px; font-size: 26px; margin: 0 auto 12px; }
.ob-light { text-align: left; max-width: 520px; margin: 14px auto 18px; }
.ob-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: left; margin: 0 0 18px; }
.ob-next .card { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ob-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 16px; border-left: 4px solid var(--navy); text-decoration: none; color: var(--ink); }
.ob-teaser .small { flex: 1 1 260px; }
@media (max-width: 640px) {
  .ob-steps span { display: none; }
  .ob-card { padding: 18px 16px; }
  .ob-next { grid-template-columns: minmax(0, 1fr); }
}

/* Nachrichten */
.msg-shell { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; height: calc(100vh - 170px); min-height: 480px; }
.msg-shell > .card, .msg-shell > .card + .card { margin: 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.msg-side-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 14px 8px; }
.msg-side-head h1 { font-size: 20px; margin: 0; }
.msg-side > input[type=search] { margin: 0 14px 8px; width: calc(100% - 28px); height: 44px; }
.msg-items { overflow-y: auto; flex: 1; border-top: 1px solid var(--line); }
.msg-item { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.msg-item:hover { background: var(--bg-soft); }
.msg-item.on { background: var(--bg-soft); box-shadow: inset 3px 0 0 var(--navy); }
.msg-item-main { min-width: 0; flex: 1; }
.msg-item-top { display: flex; justify-content: space-between; gap: 8px; }
.msg-item-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-item-prev { display: block; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-item.unread .msg-item-prev { color: var(--ink); font-weight: 600; }
.msg-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.msg-ico { font-size: 15px; background: var(--bg-soft); }
.msg-head { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.msg-head strong { overflow-wrap: anywhere; }
.msg-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.msg-back { display: none; text-decoration: none; font-size: 20px; color: var(--ink); padding: 0 4px; }
.msg-thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 4px; background: var(--bg); }
.msg-day { align-self: center; font-size: 12px; color: var(--ink-3); margin: 12px 0 6px; padding: 2px 10px; background: var(--panel); border: 1px solid var(--line); }
.msg-row { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; }
.msg-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg-row:not(.grouped) { margin-top: 6px; }
.msg-av { width: 20px; flex-shrink: 0; }
.msg-bubble { background: var(--panel); border: 1px solid var(--line); padding: 8px 12px; min-width: 0; }
.msg-row.mine .msg-bubble { background: var(--navy); border-color: var(--navy); color: #fff; }
.msg-author { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.msg-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.msg-time { font-size: 11px; color: var(--ink-3); text-align: right; margin-top: 2px; }
.msg-row.mine .msg-time { color: rgba(255, 255, 255, .7); }
.msg-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); }
.msg-compose textarea { min-height: 48px; height: 48px; max-height: 160px; padding: 12px 14px; resize: none; }
.msg-compose .btn { height: 48px; }
.msg-empty { margin: auto; text-align: center; padding: 30px 16px; }
.msg-empty-ico { font-size: 40px; margin-bottom: 8px; }
.nc-list { max-height: 46vh; overflow-y: auto; border: 1px solid var(--line); margin-top: 8px; }
.nc-row { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; margin: 0; font-weight: 400; }
.nc-row:hover { background: var(--bg-soft); }
.bc-card { max-width: 760px; }
.bc-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; margin: 14px 0 18px; }
@media (max-width: 760px) {
  .msg-shell { grid-template-columns: minmax(0, 1fr); height: calc(100vh - 150px); }
  .msg-shell.has-conv .msg-side { display: none; }
  .msg-shell:not(.has-conv) .msg-main { display: none; }
  .msg-back { display: inline-block; }
  .msg-row { max-width: 90%; }
}
.msg-item-top .small { white-space: nowrap; flex-shrink: 0; }
.msg-compose textarea { min-height: 48px; }

/* Team-Vorschlag */
.ts-funnel { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ts-funnel li { position: relative; text-align: center; padding: 10px 6px; background: var(--bg-soft); border: 1px solid var(--line); }
.ts-funnel li + li { border-left: 0; }
.ts-funnel li:nth-child(2) { background: #f1ead9; }
.ts-funnel li:nth-child(3) { background: var(--navy); color: #fff; border-color: var(--navy); }
.ts-funnel b { display: block; font-size: 22px; }
.ts-funnel span { font-size: 12px; }
.ts-team { border: 1px solid var(--line); padding: 12px; margin-bottom: 10px; background: var(--panel); }
.ts-team.best { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--navy); }
.ts-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.ts-people { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; }
.ts-person { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.ts-metrics { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); }
.ts-metrics b { color: var(--ink); }
.ts-gap { color: #8a4b00; margin-top: 6px; }
.ts-ok { color: #1d6b36; margin-top: 6px; }
/* KI-Prüfung Aufnahmeantrag */
.ai-box { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); background: var(--panel); }
.ai-box.ai-pass { border-left: 4px solid #1d6b36; }
.ai-box.ai-review { border-left: 4px solid #d4a017; }
.ai-box.ai-pending { border-left: 4px solid #2b4a8a; }
.ai-reasons { margin: 6px 0 4px; padding-left: 18px; }
/* Wer fehlt im Netzwerk? */
.gap-h { font-size: 14px; margin: 14px 0 6px; }
.gap-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gap-chip { border: 1px solid var(--line-2); background: var(--panel); padding: 4px 10px; font-size: 13px; }
.gap-chip b { color: var(--navy); }
.gap-chip span { color: var(--ink-3); font-size: 12px; }
.gap-chip.zero { border-color: #c0392b; }

.ct2-h { font-size: 15px; margin: 8px 0 10px; }
.m-contact { margin: -4px 0 12px; overflow-wrap: anywhere; }
input:disabled { background: var(--bg-soft); color: var(--ink-2); }
.ob-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); }

/* Schlagwort-Eingabe und Auswahl-Chips */
.ti-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 57px; padding: 8px 10px; border: 1px solid #c9c9c9; background: #fffdf8; cursor: text; }
.ti-box:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 29, 58, .12); background: #fff; }
.ti-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; }
.ti-tag button { all: unset; cursor: pointer; padding: 0 6px; font-size: 16px; line-height: 1; opacity: .8; }
.ti-tag button:hover, .ti-tag button:focus-visible { opacity: 1; outline: 1px solid #fff; }
.ti-box .ti-input { flex: 1 1 180px; min-width: 120px; border: 0 !important; box-shadow: none !important; height: 38px !important; padding: 0 4px !important; background: transparent !important; }
.cp-group + .cp-group { margin-top: 8px; }
.cp-label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #c9c9c9; background: #fffdf8; cursor: pointer; font-weight: 400; margin: 0; font-size: 14px; }
.cp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cp-chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.cp-chip:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.cd-list { list-style: none; padding: 0; margin: 10px 0 0; }
.cd-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cd-name { overflow-wrap: anywhere; }
.cd-ok { color: #1d6b36; }
.ct2-street { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }

.cp .cp-chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.cp .cp-chip:has(input:checked) span { color: #fff; }
.cp-more summary { cursor: pointer; list-style: none; }
.cp-more summary::-webkit-details-marker { display: none; }
.cp-more summary::before { content: '▸ '; }
.cp-more[open] summary::before { content: '▾ '; }
.ac-field .hint { width: 100%; margin: -2px 0 4px; }
.ac-roles { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; }

/* ── App-Navigation (Uli 17.10.2026): Seitenleiste wie linear.app (B2), Handy-Leiste unten (D1) ── */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 232px; z-index: 30; display: flex; flex-direction: column; gap: 14px; padding: 14px 12px; background: var(--bg-soft); border-right: 1px solid var(--line); overflow-y: auto; }
.sb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 6px; }
.sb-head-r { display: flex; align-items: center; gap: 10px; }
.side-nav { display: flex; flex-direction: column; gap: 1px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.side-nav a:hover { color: var(--ink); background: rgba(255, 252, 246, .7); text-decoration: none; }
.side-nav a.active { color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.nv-ic { flex: none; }
.side-nav .nv-ic { color: var(--ink-3); }
.side-nav a.active .nv-ic { color: var(--navy); }
.side-nav .count, .tabbar .count { display: inline-block; min-width: 18px; padding: 0 5px; background: var(--navy); color: #fff; font-size: 11px; line-height: 17px; text-align: center; font-weight: 600; }
.side-nav .count { margin-left: auto; }
.sb-label { margin: 14px 8px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 4px 2px; border-top: 1px solid var(--line); }
.sb-foot-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.shell-main { margin-left: 232px; min-height: 100vh; display: flex; flex-direction: column; }
.shell-main main { flex: 1; }
.m-top, .tabbar, .sb-scrim { display: none; }
/* Deko-Kreise nur auf Startseite und Anmeldung, nicht hinter der Arbeit */
body:has(.sidebar) .parallax { display: none; }

@media (max-width: 900px) {
  .shell-main { margin-left: 0; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .m-top { display: block; }
  .m-top .wrap { flex-wrap: nowrap; justify-content: space-between; min-height: 52px; padding-top: 0; padding-bottom: 0; }
  .sidebar { width: min(280px, 84vw); transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar .sb-head-r { display: none; }
  body.sb-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(16, 20, 28, .18); }
  body.sb-open .sb-scrim { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(16, 20, 28, .25); }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(253, 248, 239, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar button { flex: 1 1 auto; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 7px; font: 500 11px var(--font); color: var(--ink-3); background: none; border: 0; cursor: pointer; }
  .tabbar a:hover { text-decoration: none; color: var(--ink); }
  .tabbar a.active, .tabbar:not(:has(a.active)) #tb-more { color: var(--navy); }
  .tabbar a.active::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; background: var(--navy); }
  .tabbar .nv-l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar .count { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 16px; padding: 0 4px; font-size: 10px; line-height: 15px; }
  body:has(.tabbar) .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }
@media print {
  .sidebar, .tabbar, .m-top, .sb-scrim { display: none !important; }
  .shell-main { margin-left: 0; }
}

/* ── Etiketten einheitlich (C2, 17.10.2026): grau umrandet, die Ampel bleibt farbig ── */
.badge, .badge[class*="b-"], .ex-badge.ex-pending, .ex-badge.ex-done { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }

/* Keine Rundungen außer Logo und Punkten */
.dash-n, .dash-date, .dash-admin, .dash-tile, .ex-badge, .ex-review, .ac-box, .agr-scroll, .msg-badge { border-radius: 0; }

/* ── Datei-Felder im crcl-Stil (boot.js ersetzt das Browser-Feld) ── */
.filepick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; font-weight: 400; cursor: pointer; }
.filepick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.filepick .fp-btn { pointer-events: none; }
.filepick .fp-name { font-size: 13px; color: var(--ink-3); min-width: 0; overflow-wrap: anywhere; }
.filepick.has-file .fp-name { color: var(--ink); }
.filepick:focus-within .fp-btn { box-shadow: 0 0 0 3px rgba(11, 29, 58, .12); }

/* ── Startseite Handy: Menü hinter ☰ (17.10.2026) ── */
.menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); cursor: pointer; }
.menu-btn .mb-close, .site-top.open .menu-btn .mb-open { display: none; }
.site-top.open .menu-btn .mb-close { display: inline; }
@media (max-width: 760px) {
  .site-top .wrap { flex-wrap: wrap; row-gap: 0; min-height: 60px; }
  .site-top .wrap::after { order: 4; }
  .site-top .logo { order: 1; }
  .site-top .topbar-right .btn.primary { order: 2; margin-left: auto; height: 40px; }
  .menu-btn { display: inline-flex; order: 3; }
  .site-top .site-nav, .site-top .topbar-right .textlink, .site-top .lang-slot { display: none; }
  .site-top.open .site-nav { display: flex; order: 5; flex: 0 0 100%; flex-direction: column; gap: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 8px 0 0; margin-top: 8px; border-top: 1px solid var(--line); font-size: 16px; }
  .site-top.open .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-top.open .topbar-right .textlink { display: block; order: 6; flex: 1 1 auto; padding: 14px 0; font-size: 16px; }
  .site-top.open .lang-slot { display: block; order: 7; padding: 10px 0; }
}

.cw-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cw-bar .filters { display: flex; gap: 6px; flex-wrap: wrap; }
.cw-bar .filters [aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cw-bar input[type=search] { max-width: 260px; }
.cw-item { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; }
.cw-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; text-align: right; }
.cw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cw-table th, .cw-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line, #e5e0d6); }
.cw-table td:nth-child(2), .cw-table td:nth-child(3), .cw-table td:nth-child(4) { font-variant-numeric: tabular-nums; }
.cw-err td { color: var(--bad, #9a3a24); }
@media (max-width: 640px) { .cw-item { flex-direction: column; } .cw-side { align-items: flex-start; text-align: left; } }

.cx-list .cx-item { display: flex; gap: 12px; align-items: flex-start; }
.cx-item .badge { margin-right: 6px; }
.cx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cx-tile { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; min-width: 0; }
.cx-tile b { overflow-wrap: anywhere; }
.cx-thumb { display: block; aspect-ratio: 4 / 3; background: var(--bg-soft, #F7EEE0) center / cover no-repeat; border: 1px solid var(--line, #EFE4D1); }
.cx-thumb.big { cursor: zoom-in; }

.push-kinds summary { cursor: pointer; }
.pk-group { border: 1px solid var(--line, #EFE4D1); padding: 8px 12px 10px; margin: 10px 0 0; display: grid; gap: 4px; }
.pk-group legend { font-weight: 600; font-size: 14px; padding: 0 6px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pk-group legend .btn { font-weight: 500; }
.pk-item { margin: 0; }

.install-hint { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
