@font-face {
  font-family: Inter;
  src: url("marke/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("marke/inter-tight-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #192c35;
  --body: #2e2e2e;
  --muted: #50616b;
  --line: #dde3e7;
  --link: #08628c;
  --aqua: #1ad1b6;
  --blue: #31ade9;
  --heading: "Inter Tight", Inter, Arial, sans-serif;
  --paper: #fff;
  --back: #f6f9fb;
  font: 16px/1.53 Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--back); color: var(--body) }
a { color: #08628c; text-underline-offset: .2em; overflow-wrap: anywhere }
a:hover { color: #124659 }
button, input, select, textarea { font: inherit }
button { cursor: pointer }
:focus-visible { outline: 3px solid #117bac; outline-offset: 3px }
[hidden] { display: none !important }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
h1, h2, h3, h4, p, dl { margin: 0 }
h1, h2, h3, h4, strong { color: var(--ink) }
h1, h2, h3, h4 { font-family: var(--heading) }
h1 { font-size: clamp(2.2rem,4.2vw,3.8rem); line-height: 1.07; letter-spacing: -.027em; font-weight: 800; overflow-wrap: anywhere }
h2 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 750 }
h3 { font-size: 1.02rem; line-height: 1.35 }
h4 { margin: 1rem 0 .4rem; font-size: .95rem }
small, .small, .field-note, .table-note { font-size: .85rem }
small, .muted, .field-note, .table-note { color: var(--muted) }
small { display: block; font-weight: 400; line-height: 1.4 }
.eyebrow { margin-bottom: .67rem; text-transform: uppercase; color: var(--link); font-size: .8rem; font-weight: 700; letter-spacing: .14em }
.topbar { background: #fff; border-bottom: 1px solid var(--line) }
.topbar-inner, .shell, .footer { max-width: 1280px; margin: auto; padding-inline: clamp(1.05rem,4.5vw,4rem) }
.topbar-inner { height: 76px; display: flex; align-items: center; gap: 2rem }
.brand { display: inline-flex; align-items: center; flex-shrink: 0 }
.brand img { display: block; width: auto; height: 57px }
.website-link { margin-left: auto; font-size: .92rem; font-weight: 600; color: var(--ink); text-underline-offset: .28em }
.topnav { border-left: 1px solid var(--line); padding-left: 2rem; font-size: .9rem; font-weight: 620 }
.topnav a { text-decoration: none }
.guest-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em }
@media (max-width:640px) { .topbar .guest-nav { display:block; padding-left:.8rem } }
.account { margin-left: auto; display: flex; align-items: center; gap: .7rem; font-size: .87rem }
.avatar { width: 33px; height: 33px; border: 1px solid #bed8e5; background: #e7f4f8; border-radius: 50%; display: grid; place-items: center; color: var(--ink); font-weight: 700 }
.shell { min-height: calc(100vh - 163px); padding-top: clamp(2rem,4vw,4rem); padding-bottom: 3rem }
.footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.4rem; color: var(--muted); font-size: .8rem }
.page-head { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; margin-bottom: 2rem }
.page-head .muted { margin-top: .65rem }
.project-identity {min-width:0}
.project-title {display:flex;align-items:baseline;gap:.45rem 1.15rem;flex-wrap:wrap}
.project-title details {max-width:100%}
.project-title details[open] {flex-basis:100%}
.project-title summary {color:var(--link);font-size:.92rem;text-decoration:underline;text-underline-offset:.2em}
.rename-project {display:flex;align-items:flex-end;gap:.5rem;flex-wrap:wrap}
.rename-project label {width:min(25rem,100%)}
.breadcrumb { display: inline-block; font-size: .85rem; margin-bottom: 1.05rem }
.tabs { display: flex; gap: .35rem; flex-wrap: wrap; border-bottom: 1px solid #ccd9e0; margin-bottom: 1.5rem }
.tabs a { padding: .65rem .85rem .75rem; border-bottom: 3px solid transparent; text-decoration: none; font-size: .92rem; color: var(--muted) }
.tabs a[aria-current] { border-color: var(--link); color: var(--ink); font-weight: 700 }
.tabs a:hover, .step:hover { background: #edf6fa }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 3px 12px #192c3505; margin: 0 0 1.15rem; overflow: hidden; min-width: 0 }
.panel-head { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.2rem 1.45rem; border-bottom: 1px solid var(--line) }
.panel-head p { margin-top: .35rem; font-size: .92rem }
.panel-body { padding: 1.35rem 1.45rem }
.panel-body > p + p { margin-top: .65rem }
.panel-group { min-width: 0 }
.compact { max-width: 640px }
.columns { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: 1.25rem; align-items: start }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .95rem; margin-bottom: 1.4rem }
.stat { min-height: 111px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.35rem }
.stat:first-child { background: var(--ink); border-color: var(--ink); color: #f2faff }
.stat:first-child strong { color: var(--aqua) }
.stat span { font-size: .88rem; font-weight: 600 }
.stat strong { display: block; font-family: var(--heading); font-size: 2.45rem; letter-spacing: -.06em; line-height: 1.15; font-weight: 600 }
.project-row { display: grid; align-items: center; grid-template-columns: minmax(180px,1.4fr) minmax(80px,.9fr) minmax(130px,.85fr) auto; gap: .85rem; padding: 1.05rem 1.45rem; text-decoration: none; color: var(--body); font-size: .9rem }
.project-row + .project-row { border-top: 1px solid var(--line) }
.project-row:hover { background: #f1f8fb }
.project-row [data-project-open] { color: inherit; text-underline-offset: .18em }
.project-row [data-row-link] { min-height: 2.75rem }
.project-row [data-row-link] + time { display: block }
.review-row-actions { display:grid; justify-items:start }
.review-row-actions .text-btn { margin-left:0 }
[data-review-shell] .facts dd { overflow-wrap:anywhere; white-space:pre-line }
[data-review-shell] [data-review-groups] { gap:1.6rem }
[data-review-shell] [data-received-files] { margin:0; padding-left:1.2rem; overflow-wrap:anywhere }
@media (min-width:901px) { [data-review-board] .stats { grid-template-columns:repeat(4,minmax(0,1fr)) } }
@media (max-width:900px) { [data-review-board] .stats { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:640px) { [data-review-board] .review-row-actions { margin-left:3.2rem } [data-review-board] .review-row-actions [data-row-link] { margin-left:0 } [data-review-shell] .facts > div { grid-template-columns:1fr; gap:.1rem } }
@media (min-width: 641px) and (max-width: 900px) { [data-mode=beratung] .project-row { grid-template-columns: minmax(8rem,1.3fr) 1fr 1fr auto } }
@media (max-width: 640px) { .project-row [data-row-link] { margin-left: 3.2rem } .project-row [data-row-link] + time { display: none } }
.project-name { display: flex; align-items: center; gap: .8rem }
.project-name strong, .project-name .small { display: block }
.house-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #e7f4f9; color: var(--link); font-size: 1.5rem }
.tag { display: inline-flex; align-items: center; gap: .42rem; padding: .28rem .7rem; border-radius: 6px; font-size: .82rem; font-weight: 650; line-height: 1.35; width: fit-content }
.tag::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: currentColor }
.neutral { color: #395665; background: #eaf2f6 }
.ok { color: #265a3b; background: #e5f1dc }
.warn { color: #805013; background: #f8edcf }
.notice { margin: 0 0 1rem; border-left: 4px solid #a68b4c; background: #f9f2df; border-radius: 6px; padding: .9rem 1rem }
.notice.ok { border-color: #609359; background: #e9f2e3 }
.release-review{border-left:4px solid #609359}
.release-review.needs-review{border-left-color:#be792b}
.review-links{margin:0;padding-left:1.2rem}
.design-choice>summary{cursor:pointer}
.design-choice fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:.65rem}
.design-choice fieldset>p{grid-column:1/-1}
.design-choice .check{display:grid;grid-template-columns:1rem minmax(0,1fr);align-content:start;align-items:start;gap:.65rem;margin:0;padding:.75rem .85rem;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.design-choice .check:has(input:checked){border-color:#42827a;background:#edf6f3}
.design-choice .check input[type=radio]{width:1rem;min-width:1rem;height:1rem;min-height:0;margin:.22rem 0 0;padding:0;accent-color:#196761}
.design-choice .check small{display:block;color:#435962;margin-top:.18rem}
@media(max-width:700px){.design-choice fieldset{grid-template-columns:minmax(0,1fr)}}
.notice.error { border-color: #ad5140; background: #f7e9e3 }
.notice p, .notice .btn { margin-top: .45rem }
.stack { display: grid; gap: 1rem }
.stack > .btn, .upload > .btn { justify-self: start }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem }
.wide { grid-column: 1 / -1 }
label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 610; color: var(--ink) }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; border: 1px solid #aabdc8; padding: .57rem .72rem; border-radius: 7px; color: var(--body); background: white; font-size: .95rem; font-weight: 400 }
textarea { resize: vertical }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--link); margin: .13rem 0 0; flex-shrink: 0 }
.check { display: flex; align-items: flex-start; gap: .65rem; font-weight: 450; margin: .2rem 0 }
fieldset { margin: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 9px; min-width: 0 }
legend { padding: 0 .3rem; font-size: .88rem; font-weight: 650; color: var(--ink) }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; padding: .62rem 1rem; background: #fff; border-radius: 7px; border: 1px solid #b3c5cf; font-size: .89rem; line-height: 1.35; font-weight: 640; color: var(--ink); text-decoration: none; min-height: 44px }
.btn:hover { background: #eef6fa }
.btn.primary { color: #112b36; background: var(--blue); border-color: var(--blue) }
.btn.primary:hover { color: #10232c; background: #67c3f0; border-color: #67c3f0 }
.text-btn { border: 0; background: transparent; padding: .25rem .05rem; text-decoration: underline; text-underline-offset: .2em; color: #155a7c; font-size: .86rem }
.actions, .statusline, .list-line { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap }
.statusline, .list-line { justify-content: space-between }
.list-line { padding-block: .72rem; border-bottom: 1px solid var(--line) }
.file-card { padding: 1rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere }
.file-card:first-child { padding-top: 0 }
.file-card:last-child { padding-bottom: .1rem; border-bottom: 0 }
.file-card > * + * { margin-top: .6rem }
.file-link { display: block; margin-top: .45rem }
.file-input { padding: .4rem !important }
.file-input::file-selector-button { border: 0; padding: .4rem .55rem; margin-right: .55rem; background: #e4f2f8; border-radius: 4px; color: var(--ink) }
.progress { padding-block: .45rem }
.step { display: flex; align-items: flex-start; gap: .9rem; border-bottom: 1px solid var(--line); padding: 1rem .1rem; text-decoration: none }
.step:last-child { border-bottom: 0 }
.step-symbol { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: #516874 }
.step-symbol.done { color: #23543b; background: #e1efda }
.scope-item { padding-bottom: .65rem; border-bottom: 1px solid var(--line) }
details > summary { cursor: pointer; color: var(--ink); font-weight: 630; font-size: .93rem }
details > summary + * { margin-top: .6rem }
details.panel > summary { padding: 1rem 1.45rem }
details.panel[open] > summary { border-bottom: 1px solid var(--line) }
details.panel > summary + .panel-body { margin-top: 0 }
.sample-action { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .75rem }
.empty { padding: 1.5rem; color: var(--muted) }
.error-panel { max-width: 700px; margin: 1rem auto }
.error-panel > * + * { margin-top: 1rem }
.search { width: min(230px,48%) }
.table-scroll { overflow-x: auto }
table { border-collapse: collapse; width: 100%; font-size: .91rem }
th, td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
thead th { background: #f3f7fa; font-size: .78rem; color: var(--muted) }
tbody td { font-variant-numeric: tabular-nums }
.table-note { padding: .65rem 1rem }
.facts { display: grid; gap: .55rem; margin-top: .85rem }
.facts > div { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; border-top: 1px solid var(--line); padding-top: .5rem }
.facts dt { font-size: .9rem }
.facts dd { margin: 0; font-weight: 650 }
.reasons { margin: .6rem 0; padding-left: 1.2rem; font-size: .91rem; color: #765025 }
.mono, .source-text { font-family: Consolas, monospace; font-size: .85rem }
.source-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 65vh; overflow-y: auto; margin: 0 }
.auth { max-width: 1280px; margin: auto; padding: clamp(1.3rem,4vw,3.8rem) clamp(1.05rem,4.5vw,4rem); min-height: calc(100dvh - 150px); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-content: center; gap: clamp(1.15rem,3vw,2.4rem) }
.auth-cover { isolation: isolate; overflow: hidden; position: relative; display: flex; align-items: flex-end; min-height: 430px; border-radius: 18px; background: var(--ink) }
.auth-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center }
.auth-cover::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 30%,#11252d18 49%,#11252df5 100%) }
.auth-caption { padding: clamp(1.5rem,3.6vw,3rem); color: #f9fcff }
.auth-caption::before { content: ""; display: block; height: 4px; width: 54px; margin-bottom: .95rem; background: var(--aqua) }
.auth-caption h1 { font-size: clamp(2.35rem,4.3vw,4.2rem); color: white; letter-spacing: -.027em }
.auth-caption p { font-size: 1.03rem; max-width: 42ch; margin-top: .65rem; line-height: 1.5 }
.auth-form { display: grid; align-content: center; padding: clamp(1.35rem,3.4vw,3rem); background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 26px #192c3508 }
.auth-form h2 { font-size: clamp(1.85rem,2.8vw,2.6rem); font-weight: 800; letter-spacing: -.025em }
.auth-form p.muted { margin: .55rem 0 1.4rem }
.auth-form .btn.primary { justify-self: stretch }
.auth-form details,.login-hint { margin-top: 1.2rem }
.login-hint { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem }
.external-heading { margin-bottom: 1.2rem }
.external-nav { margin-bottom: 1.35rem }
.external-nav a { color: var(--link); font-weight: 600 }
.external-columns { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr) }
.upload-panel { border-top: 3px solid var(--blue) }
.intake-panel, #belege, #freigaben { scroll-margin-top: 1.4rem }
.intake-panel .panel-body { max-width: 900px }
.file-zone { display: grid; gap: .55rem; background: #f6fafc; border: 1px dashed #95b6c8; border-radius: 9px; padding: .9rem 1rem }
.file-zone.is-dragging { background: #e5f6fb; border-color: var(--link) }
.file-zone .file-input { background: white; border-color: #c8d6dd }
.file-zone [data-drop-note]:empty { display: none }
.receipts { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1rem }
.receipts ul { list-style: none; margin: .35rem 0 0; padding: 0; max-height: 17rem; overflow: auto }
.receipts li { padding: .55rem 0; display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--line); font-size: .9rem; overflow-wrap: anywhere }
.receipts time { color: var(--muted); font-size: .83rem; white-space: nowrap }
@media (max-width: 840px) {
  .columns { grid-template-columns: 1fr; gap: 0 }
  .auth { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 1rem }
  .auth-cover { min-height: 385px }
  .project-row { grid-template-columns: 1.2fr 1fr auto }
  .project-row > time { display: none }
}
@media (max-width: 640px) {
  .topbar-inner { height: 65px; gap: .8rem }
  .topnav, .account-name { display: none }
  .page-head { align-items: flex-start; flex-direction: column; gap: .85rem; margin-bottom: 1.3rem }
  .stats { gap: .45rem }
  .stat { min-height: 77px; padding: .65rem .5rem }
  .stat span { font-size: .72rem }
  .stat strong { font-size: 1.75rem }
  .project-row { grid-template-columns: 1fr; gap: .28rem; padding: .9rem }
  .project-row > span { margin-left: 3.2rem }
  .panel-head, .panel-body { padding: 1rem }
  .tabs { gap: .05rem }
  .tabs a { padding: .5rem; font-size: .84rem }
  .form-grid { grid-template-columns: 1fr }
  .wide { grid-column: auto }
  .footer { flex-wrap: wrap }
  .brand img { height: 48px }
  .auth { display: flex; flex-direction: column; padding: 1.15rem 1rem 1.6rem; min-height: auto }
  .auth-form { order: -1; padding: 1.35rem 1.15rem }
  .auth-cover { min-height: 240px; border-radius: 13px }
  .auth-photo { object-position: 50% 44% }
  .auth-caption { padding: 1.1rem }
  .auth-caption h1 { font-size: 1.9rem }
  .auth-caption p { font-size: .9rem; max-width: 32ch }
  .external-nav { display: grid; gap: .15rem; border: 0 }
  .external-nav a { padding: .35rem 0; border: 0; text-decoration: underline }
}
.archived-project{border:0;padding:0;margin:0;min-width:0}
.inquiry { max-width: 860px; margin-inline: auto }
.inquiry .inquiry-intro { display:grid; grid-template-columns: minmax(0,1.55fr) minmax(12rem,.85fr); align-items:stretch; gap:0; border:1px solid var(--line); border-radius:14px; background:#fff; overflow:hidden }
.inquiry-intro > div { align-self:center; padding:clamp(1.25rem,3vw,2rem) }
.inquiry-intro h1 { margin:0 0 .55rem }
.inquiry-intro p { margin:0; line-height:1.55; max-width:57ch }
.inquiry-intro > img { display:block; width:100%; height:100%; min-height:10rem; object-fit:cover; object-position:64% 62% }
.evidence-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem }
.evidence-examples figure { margin:0; min-width:0 }
.evidence-examples img { display:block; width:100%; height:auto; aspect-ratio:66/37; border:1px solid #c0d0d5; border-radius:.4rem; background:#eef1ee }
.evidence-examples figcaption { display:grid; gap:.1rem; margin-top:.4rem; font-size:.86rem }
.evidence-examples figcaption span { color:var(--muted); line-height:1.35 }
.manual-envelope { border-top:1px solid var(--line); border-bottom:1px solid var(--line) }
.manual-envelope summary small { color:var(--muted); font-weight:400; margin-left:.45rem }
.intake-confirmation { border-top:4px solid #347a62; margin-bottom:1.25rem }
@media(max-width:640px) {
  .inquiry .inquiry-intro { grid-template-columns:1fr }
  .inquiry-intro > img { height:6.25rem; min-height:0; object-position:50% 62% }
  .evidence-examples { grid-template-columns:1fr; gap:.65rem }
  .evidence-examples figure { display:grid; grid-template-columns:minmax(5.5rem,32%) 1fr; align-items:center; gap:.8rem }
  .evidence-examples figcaption { margin-top:0 }
}
.inquiry-form > .panel { margin-bottom: 0 }
.scope-fields { border: 0; padding: 0; margin: 0 }
.bulk-intake { background: #f2f8f6; border-color: #9abeb4 }
.bulk-intake .file-zone { background: white; border-color: #749d92; padding: 1rem }
.bulk-intake .receipts:empty, .bulk-intake .receipts[hidden], [data-attic-note]:empty, [data-part-docs]:empty { display: none }
.bulk-intake .receipts { margin: 0 }
.bulk-intake .receipts summary { font-weight: 650 }
.bulk-intake .receipts .text-btn { flex-shrink: 0 }
.bulk-intake .notice { overflow-wrap: anywhere }
.part-question { padding: 0; border: 0 }
.component-body { padding: 0; border: 0; min-width: 0 }
.profile-group { padding-block: .6rem 1rem; border-bottom: 1px solid var(--line) }
.profile-group h3 { margin: 0 }
.profile-group .part-options label { max-width: 100%; align-items: baseline }
.profile-group .part-options input { flex: 0 0 auto }
@media(max-width:640px) {
  .profile-group .part-options { display: grid; gap: .05rem }
}
.part-question legend { padding: 0; margin-bottom: .35rem; font-weight: 650 }
.part-question legend small { font-size: .82rem; font-weight: 450; color: var(--muted) }
.part-options { display: flex; flex-wrap: wrap; gap: .2rem .5rem }
.part-options label { display: inline-flex; gap: .45rem; align-items: center; min-height: 44px; margin: 0; padding: 0 .45rem; font-weight: 450; cursor: pointer }
.part-options input[type=radio] { inline-size: 1.05rem; block-size: 1.05rem; min-height: 0; margin: 0; padding: 0; accent-color: #196761 }
.part-options label:has(input:checked) { background: #e6f3ef; border-radius: .35rem }
.part-followup label { display: grid; gap: .3rem; margin-bottom: .75rem; font-weight: 500 }
[data-part-docs] { display: block; overflow-wrap: anywhere }
.component summary { overflow-wrap: anywhere }
.intake-errors ul { padding-inline-start: 1.4rem; margin-block: .5rem 0 }
.intake-errors a { text-decoration: underline; text-underline-offset: .15em }
[data-online-aufnahme] [aria-invalid=true] { border-color: #9b3429 }
form:has(input[name="purpose"][value="heizlast"]:not(:checked)) [data-heizlast-fields],
form:has(input[name="purpose"][value="heizlast"]:not(:checked)) [data-load-jump],
form:has(input[name="purpose"][value="heizlast"]:not(:checked)):has(input[name="purpose"][value="foerderung"]:not(:checked)) [data-service-jump],
form:has(input[name="purpose"][value="heizlast"]:not(:checked)):has(input[name="purpose"][value="foerderung"]:not(:checked)) [data-service-fields],
form:has(input[name="purpose"][value="foerderung"]:not(:checked)) [data-funding-container],
form:has(input[name="purpose"][value="foerderung"]:not(:checked)) [data-funding-fields] { display: none }
.intake-navigation { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem }
.intake-navigation a { padding: .6rem .95rem; min-height: 44px; border: 1px solid #b6c8d1; border-radius: 8px; background: white; text-decoration: none; font-weight: 630; font-size: .9rem }
.intake-navigation a[aria-current] { color: white; background: var(--ink); border-color: var(--ink) }
.purpose-options { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem }
.intake-shortcuts { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .9rem }
.intake-section { min-width: 0; scroll-margin-top: 1rem }
.intake-panel .intake-section + .intake-section { border-top: 1px solid var(--line); padding-top: 1rem }
.entry-field { min-width: 0; position: relative; align-self: start }
.entry-field > label { min-height: 1.9rem; padding-right: 2.4rem; align-content: center; margin-bottom: .28rem }
.field-help > summary { position: absolute; top: -.1rem; right: 0; display: grid; place-items: center; width: 2rem; height: 2rem; list-style: none }
.field-help > summary::-webkit-details-marker { display: none }
.field-help > summary span { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1px solid #99b5c2; border-radius: 50%; color: #155677; font-size: .82rem; line-height: 1; background: #f0f8fa }
.field-help[open] > summary span { background: var(--link); color: white }
.field-help > div { background: #ecf5f8; padding: .65rem .77rem; border-radius: 6px; color: #294d60; font-size: .86rem; line-height: 1.48 }
.component-list { border-block: 1px solid var(--line); container-type: inline-size }
.component + .component { border-top: 1px solid var(--line) }
.component > summary { padding: .9rem .2rem; font-size: 1.04rem; color: var(--ink) }
.component > summary small { display: inline; margin-left: .4rem }
.component-layout { display: grid; align-items: start; gap: .9rem 1.5rem; padding: 0 .15rem 1.25rem }
.component-figure { margin: 0; border-radius: 10px; background: #edf5f5; color: #30525a; display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem }
.component-figure img { width: 31%; max-width: 9rem; height: auto; display: block }
.component-figure figcaption { font-size: .84rem; line-height: 1.4 }
.component-fields, .part-step { display: grid; gap: .8rem; min-width: 0 }
.component-fields > .entry-field > label { font-weight: 720; font-size: 1rem; color: var(--ink) }
.component-fields select { width: 100%; text-overflow: ellipsis }
.part-extra { border-left: 2px solid #c9dfe0; padding-left: .75rem }
.part-extra > summary { font-size: .9rem; color: var(--link); min-height: 2rem; align-content: center }
.part-extra > .entry-field { margin: .55rem 0 }
.part-file { padding: .7rem; border: 1px dashed #91aeb4; border-radius: 8px; background: #f7fbfa }
.part-file input { font-size: .83rem; max-width: 100%; background: white }
@container (min-width: 570px) {
  .component-layout { grid-template-columns: minmax(0, 1fr) minmax(10rem, 27%) }
  .component-fields { grid-column: 1; grid-row: 1 }
  .component-figure { grid-column: 2; grid-row: 1; display: block; padding: .8rem; position: sticky; top: .8rem }
  .component-figure img { width: 100%; max-width: none; margin-bottom: .45rem }
}
/* The same inputs remain usable with scripting disabled. */
.component:not(:has([data-part-input=state] option[value=existing]:checked)) [data-step=original],
.component:not(:has([data-part-input=state] option[value=done]:checked)) :is([data-step=done],[data-step=works]),
.component:not(:has([data-part-input=state] option[value=planned]:checked)) [data-step=planned],
.component:not(:has([data-part-input=state] option[value=unknown]:checked)) [data-step=unknown],
.component:not(:has([data-part-input=state] option[value=done]:checked):has([data-part-input=knowledge] option:checked:not([value=""]))) [data-step=period],
.component:not(:has([data-part-input=state] option[value=existing]:checked), :has([data-part-input=state] option[value=done]:checked):has([data-part-input=knowledge] option:checked:not([value=""]))) [data-step=optional],
.component:not(:has([data-part-input=state] option[value=planned]:checked), :has([data-part-input=state] option[value=done]:checked):has([data-part-input=knowledge] :is(option[value=yes],option[value=some]):checked):not(:has([data-part-input=work] option[value=surface]:checked))) [data-step=spec] { display: none }
.twin-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem, 27%); gap: 1.1rem; align-items: center }
.twin-intro p { margin: .5rem 0 }
.twin-intro a { font-size: .88rem }
.twin-intro video { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .65rem; background: white }
.building-upload { padding: .95rem 1rem; background: #edf7f6; border: 1px solid #bdded6; border-radius: .75rem; scroll-margin-top: 1rem }
.building-upload .file-zone { background: white }
.manual-envelope > summary { padding: .65rem 0; color: var(--link); font-weight: 650 }
.manual-envelope > div { margin-top: .6rem }
@media (max-width: 550px) {
  .twin-intro { grid-template-columns: 1fr }
  .twin-intro video { width: min(100%, 15rem) }
}
#unterlagen { scroll-margin-top: 1.3rem }
#eingangsauswertung {scroll-margin-top:1.3rem}
.draft-entry {padding:1.3rem 1.5rem;border-left:4px solid #197a70}
.draft-entry h2,.draft-entry p,.source-quote p {margin:.3rem 0}
.draft-entry .actions {margin-top:1rem}
.draft-summary {display:flex;flex-wrap:wrap;gap:1.25rem 3rem}
.draft-summary div,.draft-row summary>span:first-child {display:grid;gap:.18rem}
.draft-summary strong {font-size:1.55rem;color:#17554f}
.draft-group>summary,.draft-row>summary {cursor:pointer;padding:.85rem 1.1rem}
.draft-group>summary>span,.draft-row summary small {color:#465a64;font-size:.85rem}
.draft-group>summary>span {margin-left:.5rem}
.draft-row {border-top:1px solid var(--line)}
.draft-row>summary {display:flex;justify-content:space-between;align-items:center;gap:1rem}
.draft-row>summary>span:first-child {min-width:0;overflow-wrap:anywhere}
.draft-row-body {padding:0 1.15rem 1rem}
.draft-controls {margin-top:.9rem}
.draft-option,.source-quote {padding:.65rem .85rem;background:#f3f6f5;border-left:2px solid #9bb9b4}
.draft-option p {margin:.35rem 0}
.plain-sources small {display:block}
.intake-evaluation {border-left:4px solid #197a70;scroll-margin-top:1rem}
.intake-evaluation h2,.intake-evaluation h3,.intake-action p {margin:0}
.intake-action {display:flex;align-items:center;justify-content:space-between;gap:1.75rem}
.intake-action p {color:var(--muted);max-width:65ch;margin-top:.35rem}
.intake-action form {flex:0 0 auto}
.intake-result {display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .8rem;font-size:.94rem}
.intake-result strong {color:#18584f}
.intake-receipt {background:#f1f8f6;border:1px solid #cce2dc;border-radius:.5rem;padding:.85rem 1rem;scroll-margin-top:1rem}
.intake-receipt h3,.intake-receipt p {margin:0 0 .35rem}
.intake-receipt:target {border-color:#468f80}
.intake-receipt.awaiting-choice {background:#fffaf0;border-color:#e7d6b1}
.decision-prompt {display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem 1rem;margin:0 0 1rem;padding:.7rem 1rem;background:#fff7e6;border:1px solid #dfcfac;border-radius:8px;color:#664310}
.decision-prompt a,.row-task {font-weight:600}
.project-row .row-task {display:block;margin-top:.25rem;color:var(--link)}
.stats.has-decisions {grid-template-columns:repeat(4,minmax(0,1fr))}
.decision-stat {text-decoration:none}
.decision-stat small {color:inherit;text-decoration:underline;text-underline-offset:.18em}
@media(max-width:750px){.stats.has-decisions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.intake-decisions form:target {outline:2px solid #987023;outline-offset:4px;border-radius:3px}
.intake-decisions form,#schlussrechnung {scroll-margin-top:1rem}
.invoice-task {margin:0 0 1rem;border-color:#a2cad8}
.invoice-task h2,.invoice-task p {margin:0}
.invoice-task p {margin-top:.35rem}
.invoice-form {max-width:37rem}
.invoice-task details[open] .invoice-form {margin-top:1rem}
.invoice-state,.receipt-action {overflow-wrap:anywhere}
.receipt-action {display:inline-block;margin-top:.3rem}
.ki-monitor {display:inline-flex;align-items:center;gap:.4rem;font-weight:650;white-space:nowrap;text-decoration:none}
.ki-monitor:hover,.ki-monitor[aria-current] {text-decoration:underline}
.ki-monitor [data-ki-badge] {padding:.16rem .45rem;border-radius:.35rem;color:#17544a;background:#e4f2ee;font-size:.8rem}
.ki-run {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.45rem}
.ki-run+.ki-run {border-top:1px solid var(--line)}
.ki-run-info {min-width:0;overflow-wrap:anywhere}
.ki-run-info h3,.ki-run-info p {margin:0}
.ki-run-info p {margin:.3rem 0}
.ki-run-action {display:grid;justify-items:end;gap:.45rem;flex-shrink:0}
.ki-toast {position:fixed;z-index:10;inset:auto 1rem 1rem auto;width:max-content;max-width:calc(100% - 2rem);display:flex;gap:1.25rem;align-items:baseline;color:var(--ink);background:white;border:1px solid #9bb9c5;border-radius:12px;padding:.9rem 1.15rem;box-shadow:0 6px 20px #192c3524}
.ki-toast p {font-weight:650;margin:0 0 .2rem}
@media(max-width:640px){.account:has(.ki-monitor) .avatar{display:none}.account:has(.ki-monitor){gap:.6rem}.ki-run{align-items:flex-start;flex-direction:column;padding:1rem}.ki-run-action{justify-items:start}.ki-toast{inset:auto .6rem .6rem;max-width:none;width:auto}}
@media(max-width:440px){.ki-monitor{display:grid;justify-items:start;gap:.12rem;line-height:1.2}.ki-monitor [data-ki-badge]{font-size:.72rem}.ki-toast>div{min-width:0;overflow-wrap:anywhere}}
.intake-decisions {background:#faf4e5;border-radius:.5rem;padding:1rem 1.15rem}
.intake-choice {border:0;padding:0;margin:.65rem 0 0;min-width:0}
.intake-choice legend {font-weight:650;margin-bottom:.3rem}
.intake-option {display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .85rem;margin:.35rem 0}
.intake-option label {display:inline-flex;align-items:baseline;gap:.55rem;margin:0;font-weight:400}
.intake-option input[type=radio] {width:1rem;min-width:1rem;height:1rem;accent-color:#196761;align-self:center}
.intake-option a {font-size:.875rem;overflow-wrap:anywhere}
.intake-choice button {margin-top:.55rem}
@media(max-width:850px){.intake-action{flex-direction:column;align-items:flex-start;gap:.8rem}.intake-option{gap:.15rem .6rem}}
.draft-form summary,.intake-reading summary,#stammdaten summary {cursor:pointer}
@media(max-width:600px){.draft-entry{padding:1rem}.draft-summary{gap:.65rem 1.3rem}.draft-row>summary{flex-wrap:wrap}}
.upload-results {border-left:3px solid #08786d;padding:.8rem 1rem;background:#edf8f6;border-radius:.35rem}
.upload-result {margin-top:.65rem;overflow-wrap:anywhere}
.upload-result p,.observation-ref p {margin:.25rem 0}
.observation-list {margin-top:.65rem}
.observation {display:grid;grid-template-columns:minmax(10rem,1fr) minmax(12rem,1.8fr) auto;gap:1rem;align-items:start;padding:.8rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.observation h4 {margin:0}
.observation-values details {margin-bottom:.2rem}
.observation-values summary {cursor:pointer}
.observation-values small {font-weight:400;margin-left:.4rem}
.observation-ref {padding:.4rem 0 .45rem .8rem;font-size:.9rem}
@media(max-width:700px){.observation{grid-template-columns:1fr;gap:.45rem}.observation>.tag{justify-self:start}}
.intake-heading { margin: 0 }
.reading-page + .reading-page { border-top: 1px solid var(--line); padding-top: 1rem }
.reading-page li, .reading-excerpt { overflow-wrap: anywhere }
.reading-page li + li { margin-top: .5rem }
.reading-excerpt { margin-top: .5rem; border-left: 2px solid #98c8c0; padding-left: .7rem }
.fund-sign{display:block;width:min(100%,32rem);height:auto;aspect-ratio:10/3;background:#fff;color:#192c35;border:1px solid #73818a;border-radius:6px;touch-action:none}

.source-comparison {border-top:1px solid var(--line);padding-top:1.35rem}
.source-comparison h3 {font-size:1.28rem}
.source-question {min-inline-size:0;border:0;padding:0;margin:1.2rem 0 1.35rem}
.source-question legend {padding:0;font:650 1.06rem/1.35 var(--heading);color:var(--ink);overflow-wrap:anywhere}
.source-context {max-width:76ch;color:var(--muted);margin:.35rem 0 .9rem}
.source-option {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:1.75rem;align-items:start;border-top:1px solid var(--line);padding:1.05rem .8rem}
.source-option:last-child {border-bottom:1px solid var(--line)}
.source-option:has(input:checked) {background:#edf6f3}
.source-pick {display:grid;grid-template-columns:1.12rem minmax(0,1fr);align-items:start;gap:.8rem;margin:0;cursor:pointer}
.source-pick input[type=radio] {inline-size:1.12rem;block-size:1.12rem;padding:0;margin:.45rem 0 0;accent-color:#196761}
.source-pick-body {display:grid;justify-items:start;overflow-wrap:anywhere}
.source-value {display:flex;align-items:baseline;gap:.38rem;font-variant-numeric:tabular-nums;color:var(--muted);font-size:.875rem;font-weight:450}
.source-value strong {font:750 1.65rem/1.2 var(--heading);font-variant-numeric:tabular-nums}
.source-missing {font-size:1rem}
.source-name {margin-top:.35rem;font-weight:650;line-height:1.4;color:var(--ink)}
.source-meaning {font-size:.93rem;font-weight:400;margin-top:.25rem;color:var(--muted)}
.source-evidence {min-width:0;overflow-wrap:anywhere}
.source-evidence figure {margin:0}
.source-image {display:block;width:fit-content;max-width:100%;border:1px solid var(--line);background:white;cursor:zoom-in}
.source-image:hover {border-color:var(--link)}
.source-image img {display:block;width:auto;max-width:100%;max-height:9rem;object-fit:contain}
.source-transcript {font-size:.85rem;color:var(--muted);margin:.4rem 0 .1rem}
.source-transcript q {font-weight:550;color:var(--ink);quotes:"„" "“" "‚" "‘"}
.source-links {display:flex;align-items:baseline;flex-wrap:wrap;gap:.25rem 1rem;margin-top:.35rem;font-size:.86rem}
.source-links a {padding-block:.15rem}
.source-links a+a {color:var(--muted)}
.source-question:disabled .source-pick {cursor:default}
@media(max-width:700px){
  .source-option {grid-template-columns:minmax(0,1fr);gap:.6rem;padding:1rem .25rem}
  .source-evidence {margin-inline-start:1.92rem}
  .source-links a {padding-block:.35rem}
  .source-comparison .btn {max-width:100%;white-space:normal}
}
