/* D250: shared standard-page design. Base: ratgeber/hausmeister-weg.
   beispiel-portal uses its own style.css. See scripts/site-template.mjs. */

/* Tokens */
:root { --ink: #1c1d1f; --muted: #5d6066; --paper: #f6f3ee; --line: #dcd6cc; --accent: #c4552b; --band: #ebe5dc;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Base */
* { box-sizing: border-box; margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 1.04rem; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .18em; }
main { padding: 2.6rem 6vw 4rem; }
article { max-width: 42rem; margin: 0 auto; }

/* Header and footer */
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 6vw; border-bottom: 1px solid var(--line); }
.top .brand { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; line-height: 1; }
.top .cta { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--accent); }
footer { padding: 2.4rem 6vw 3.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .links { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1rem; }

/* Page head */
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5.4vw, 3rem); line-height: 1.12; letter-spacing: -.01em; margin-top: .6rem; overflow-wrap: break-word; hyphens: auto; }
.byline { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .15rem .45rem; font-size: .85rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li:not(:last-child) { white-space: nowrap; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: .45rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Article components */
.answer { margin-top: 1.8rem; padding: 1.2rem 1.3rem; background: #fff; border-left: 3px solid var(--accent); font-size: 1.08rem; }
.answer strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 1.95rem); line-height: 1.2; margin-top: 2.8rem; }
h3 { font-size: 1.05rem; margin-top: 1.6rem; }
p, ul, ol, dl { margin-top: 1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-top: .45rem; }
.law { padding: 0; }
.law div { padding: .9rem 0; border-top: 1px solid var(--line); }
.law dt { font-weight: 600; }
.law dd { margin-top: .2rem; color: var(--ink); }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding: .7rem 0 .7rem 2rem; border-top: 1px solid var(--line); margin: 0; }
.check li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 1.05rem; height: 1.05rem; border: 2px solid var(--accent); border-radius: 3px; }
.check b { font-weight: 600; }
.letter { margin-top: 1.2rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); font-size: .97rem; }
.letter p { margin-top: .7rem; }
.letter p:first-child { margin-top: 0; }
.letter ol { margin-top: .7rem; }
.letter .hint { color: var(--muted); font-size: .88rem; }
.muted { color: var(--muted); }
details { border-top: 1px solid var(--line); padding: .9rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
details p { margin-top: .6rem; }
.close { margin-top: 3rem; padding: 1.6rem 1.4rem; background: var(--band); }
.close h2 { margin-top: 0; }
.btn { display: inline-block; margin-top: 1.2rem; padding: .9rem 1.3rem; border-radius: 2px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.disclaimer { margin-top: 2rem; font-size: .88rem; color: var(--muted); padding-left: .9rem; border-left: 2px solid var(--line); }
.sources { font-size: .88rem; color: var(--muted); }
.sources li { margin-top: .3rem; }
.toc { margin-top: 2rem; padding: 1rem 0 1.1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc .toc-title { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin-top: .5rem; padding-left: 1.25rem; font-size: .95rem; }
.toc li { margin: 0; padding-top: .3rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
h2[id] { scroll-margin-top: 1rem; }
@media (min-width: 760px) { .toc ol { columns: 2; column-gap: 2.4rem; } .toc li { break-inside: avoid; } }
.hero { margin-top: 1.6rem; }
.hero img { display: block; width: 100%; height: auto; background: var(--band); }
.hero figcaption { margin-top: .45rem; font-size: .78rem; color: var(--muted); }
.hero figcaption a { text-decoration: none; }
.hero figcaption a:hover { text-decoration: underline; }
.scroll { margin-top: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.swipe { font-size: .85rem; color: var(--muted); }
.swipe.mobile-only { display: none; }
@media (max-width: 480px) { .swipe.mobile-only { display: block; } }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .5rem; border: 1px solid var(--line); background: #fff; }
th { font-size: .74rem; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: var(--band); }
td, th { hyphens: auto; overflow-wrap: break-word; }
/* Keep nowrap figures from crushing the description column on narrow screens. */
.table-wrap td:first-child, .scroll td:first-child { min-width: 7em; }
td.n, th.n, td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.n, td.num { white-space: nowrap; }
tr.sum td { font-weight: 600; border-top: 2px solid var(--ink); }
tr.group td { background: var(--band); font-weight: 600; font-size: .82rem; }
@media (max-width: 520px) { table { font-size: .84rem; } th, td { padding: .4rem .35rem; } }
.code { font-family: var(--serif); font-size: clamp(4rem, 14vw, 7.5rem); line-height: 1; color: var(--accent); }
.actions { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-secondary { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.box { margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--band); font-size: .97rem; }
.tick-box { display: inline-block; width: .85em; height: .85em; border: 1.5px solid var(--ink); border-radius: 2px; vertical-align: -.1em; margin-right: .35em; }
.box p:first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: .8rem 0 .8rem 2.6rem; border-top: 1px solid var(--line); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .55rem; font-family: var(--serif); font-size: 1.6rem; color: var(--accent); }
.figure { margin-top: 1.6rem; }
.figure img { display: block; width: 100%; max-width: 400px; height: auto; }
.figure figcaption { margin-top: .5rem; font-size: .86rem; color: var(--muted); }
.note { margin-top: 2rem; font-size: .88rem; color: var(--muted); padding-left: .9rem; border-left: 2px solid var(--line); }
.ws { table-layout: fixed; font-size: .82rem; }
.ws td { height: 2.3em; }
.ws th { font-size: .72rem; letter-spacing: 0; }
.ws1 th:nth-child(1) { width: 24%; }
.ws1 th:nth-child(2) { width: 17%; }
.ws1 th:nth-child(3) { width: 9%; }
.ws1 th:nth-child(4) { width: 14%; }
.ws1 th:nth-child(5), .ws1 th:nth-child(6), .ws1 th:nth-child(7) { width: 12%; }
.ws th[scope="row"] { width: 42%; font-size: .8rem; color: var(--ink); background: #fff; font-weight: 400; }
.ws th[scope="row"] small { display: block; color: var(--muted); font-size: .74rem; }
.print { margin-top: 1rem; padding: .7rem 1.1rem; border: 1px solid var(--accent); border-radius: 2px; background: #fff; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.print-only { display: none; }
/* .ex, .cl: tables owned by ratgeber/baugemeinschaft-zur-weg (mobile labels below); pick new names for other tables. */
.ex td:first-child { white-space: nowrap; }
.cl { table-layout: fixed; font-size: .86rem; }
.cl th { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.cl th:nth-child(1) { width: 30%; }
.cl th:nth-child(2) { width: 22%; }
.cl th:nth-child(3) { width: 17%; }
.cl th:nth-child(4) { width: 13%; }
.cl th:nth-child(5) { width: 9%; }
.cl th:nth-child(6) { width: 9%; }
.cl td.done::before { content: ""; display: block; width: 1.05rem; height: 1.05rem; margin: .1rem auto 0; border: 2px solid var(--accent); border-radius: 3px; }
.klaeren { display: block; margin-top: .3rem; font-size: .85rem; color: var(--accent); font-weight: 600; }
.legend { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) {
  .cl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cl, .cl tbody, .cl tr, .cl td { display: block; width: 100%; }
  .cl tr { margin-top: .7rem; border: 1px solid var(--line); background: #fff; }
  .cl td { border: 0; padding: .35rem .7rem; }
  .cl td:first-child { padding-top: .7rem; font-weight: 600; }
  .cl td:nth-child(2)::before { content: "Nachweis: "; color: var(--muted); }
  .cl td:nth-child(3)::before { content: "Zuständig: "; color: var(--muted); }
  .cl td:nth-child(3) { padding-bottom: .7rem; }
  .cl td:nth-child(n+4) { display: none; }
  .ex thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ex, .ex tbody, .ex tr, .ex td { display: block; width: 100%; }
  .ex tr { margin-top: .7rem; border: 1px solid var(--line); background: #fff; }
  .ex td { border: 0; padding: .3rem .7rem; }
  .ex td:first-child { padding-top: .7rem; font-weight: 600; }
  .ex td:nth-child(3) { padding-bottom: .7rem; }
  .ex td:nth-child(3)::before { content: "Wer handelt: "; color: var(--muted); }
}
.box ul { margin-top: .6rem; }
.wsa th:nth-child(1) { width: 46%; }
.wsa th:nth-child(2) { width: 34%; }
.wsa th:nth-child(3) { width: 20%; }
.wsa td { height: auto; min-height: 2.3em; }
.wsb th:nth-child(1) { width: 14%; }
.wsb th:nth-child(2) { width: 34%; }
.wsb th:nth-child(3) { width: 13%; }
.wsb th:nth-child(4), .wsb th:nth-child(5) { width: 11%; }
.wsb th:nth-child(6) { width: 17%; }
.caption { margin-top: .6rem; font-size: .86rem; color: var(--muted); }
.tag { display: inline-block; margin-right: .4rem; padding: .1rem .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; }
.glance { margin-top: 1.2rem; padding: 1rem 1.2rem 1.1rem; background: var(--band); font-size: .97rem; }
.glance .glance-title { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.glance ul { margin-top: .3rem; padding-left: 1.1rem; }
.glance li { margin-top: .45rem; }
table.compare td:first-child { padding-right: .8rem; }
table.compare td[colspan] { white-space: normal; }
.offer { margin-top: 1.2rem; padding: 1rem 1.1rem 1.05rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); scroll-margin-top: 1rem; }
.offer:target { box-shadow: 0 0 0 2px var(--accent); }
.offer h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.25; }
.offer dl { margin-top: .6rem; font-size: .95rem; }
.offer dl div { display: grid; grid-template-columns: 8.2rem 1fr; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.offer dt { color: var(--muted); font-size: .84rem; padding-top: .12rem; }
.offer dd { overflow-wrap: break-word; hyphens: auto; }
.offer dd .muted { display: block; margin-top: .15rem; font-size: .88rem; }
.offer p { margin-top: .6rem; font-size: .95rem; }
.offer .src { font-size: .84rem; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { margin: 0; padding: .05rem .6rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .82rem; line-height: 1.55; }
.chips b { font-weight: 600; }
.chips .ka { border-style: dashed; border-color: var(--muted); color: var(--muted); }
.chips .service { border-color: var(--accent); }
@media (max-width: 520px) { .offer { padding: .9rem .9rem 1rem; } .offer dl div { grid-template-columns: 1fr; gap: .1rem; padding: .4rem 0; } }
.copy { font: inherit; font-size: .9rem; padding: .5rem 1rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.copy:hover { background: var(--ink); color: #fff; }
.models { list-style: none; padding: 0; display: grid; gap: 1rem; }
.models li { margin: 0; padding: 1.1rem 1.2rem; background: #fff; border-top: 3px solid var(--accent); }
.models h3 { margin-top: 0; }
.models p { margin-top: .5rem; }
.models .fit { font-size: .94rem; color: var(--muted); }
.facts { list-style: none; padding: 0; }
.facts li { padding: .8rem 0; border-top: 1px solid var(--line); margin: 0; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { font-weight: 600; }
#muster-vollmacht { margin-top: .9rem; }
caption { text-align: left; font-size: .86rem; padding-bottom: .4rem; }
table.wide { min-width: 34rem; }
td.nw { white-space: nowrap; }
table.calc { margin-top: 1rem; }
table.calc td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.calc tr:last-child td { font-weight: 600; border-top: 2px solid var(--ink); }
.box h2 { margin-top: 0; font-size: 1.3rem; }
.reading { max-width: calc(42rem + 12vw); margin: 0 auto; }
.klara { margin-top: 2.6rem; font-size: .97rem; }
.flush { margin-top: 0; }
nav.related { margin-top: 2rem; padding: 1rem 0 1.1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
nav.related h2 { margin: 0; font-family: var(--sans); font-size: .78rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
nav.related ul { margin-top: .5rem; font-size: .95rem; }
nav.related li { margin: 0; padding-top: .3rem; }
nav.related a { text-decoration: none; }
nav.related a:hover { text-decoration: underline; }

/* Index lists */
h2.group { margin-top: 2.8rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; font-family: var(--sans); }
.wrap { max-width: 46rem; margin: 0 auto; }
.intro { margin-top: 1rem; color: var(--muted); max-width: 38rem; }
.tools { list-style: none; padding: 0; margin-top: 2rem; }
.tools li { margin: 0; border-top: 1px solid var(--line); }
.tools li:last-child { border-bottom: 1px solid var(--line); }
.tools a { display: block; padding: 1.3rem 0; text-decoration: none; }
.tools h2 { margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 3.2vw, 1.7rem); line-height: 1.2; }
.tools a:hover h2 { color: var(--accent); }
.tools p { margin-top: .4rem; color: var(--muted); font-size: .97rem; }
.tools h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 3.2vw, 1.7rem); line-height: 1.2; }
.tools a:hover h3 { color: var(--accent); }
.group-intro { margin-top: .5rem; color: var(--muted); font-size: .97rem; }
.articles { list-style: none; padding: 0; margin-top: 1rem; }
.articles li { margin: 0; border-top: 1px solid var(--line); }
.articles li:last-child { border-bottom: 1px solid var(--line); }
.articles a { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; column-gap: 1rem; align-items: start; padding: 1.3rem 0; text-decoration: none; }
.articles h3 { grid-column: 1; grid-row: 1; margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 3.2vw, 1.7rem); line-height: 1.2; }
.articles a:hover h3 { color: var(--accent); }
.articles p { grid-column: 1; grid-row: 2; margin-top: .4rem; color: var(--muted); font-size: .97rem; }
.articles a > img { grid-column: 2; grid-row: 1 / span 2; display: block; width: 100%; height: auto; margin-top: .25rem; background: var(--band); }
@media (min-width: 760px) { .articles a { grid-template-columns: minmax(0, 1fr) 9.5rem; column-gap: 1.6rem; } }
.cols { columns: 2 14rem; column-gap: 2rem; }
.cols li { break-inside: avoid; }

/* Glossary */
.definition { margin-top: 1.8rem; padding: 1.2rem 1.3rem; background: #fff; border-left: 3px solid var(--accent); font-size: 1.08rem; }
.terms { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.terms li { margin: 0; }
.terms a { display: inline-block; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 2px; background: #fff; text-decoration: none; font-size: .95rem; }
.terms a:hover { border-color: var(--accent); }
.answer.definition { font-size: 1.12rem; }
.closing-line { margin-top: 2.4rem; padding: 1rem 1.2rem; background: var(--band); font-size: .97rem; }
.az { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .55rem; font-size: .95rem; }
.az li { margin: 0; }
.az a { text-decoration: none; font-weight: 600; }
.letter-group h2 { margin-top: 2.2rem; }
.gloss { list-style: none; padding: 0; }
.gloss li { margin: 0; padding: .7rem 0; border-top: 1px solid var(--line); }
.gloss a { font-weight: 600; }
.gloss span { display: block; color: var(--muted); font-size: .95rem; }
.calc li { padding: .6rem 0; border-top: 1px solid var(--line); margin: 0; font-variant-numeric: tabular-nums; }
.calc li:last-child { border-bottom: 1px solid var(--line); }
ul.calc { list-style: none; padding: 0; }

/* Calculators */
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
label.check input { width: auto; margin-top: .3rem; }
.inputs .mea { min-width: 0; }
.lede { margin-top: 1.2rem; }
.tool { margin-top: 2rem; padding: 1.4rem 1.3rem 1.5rem; background: #fff; border-top: 2px solid var(--ink); }
.tool .tool-title { margin-top: 0; font-size: 1.25rem; color: var(--muted); }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; margin-top: 1rem; }
.inputs .wide { grid-column: 1 / -1; min-width: 0; }
@media (max-width: 520px) { .inputs { grid-template-columns: 1fr; } }
.result { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.result .big { font-family: var(--serif); font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.15; color: var(--accent); }
.result .label { font-size: .95rem; color: var(--muted); margin-top: .2rem; }
.warn { margin-top: 1rem; padding: .9rem 1rem; background: var(--band); border-left: 3px solid var(--accent); font-size: .97rem; }
.warn[hidden] { display: none; }
tr.key td { font-weight: 600; }
.verdict { margin-top: 1rem; font-weight: 600; }
[hidden] { display: none !important; }
label { font-size: .9rem; font-weight: 600; display: grid; gap: .35rem; }
input, select { font: inherit; font-size: 16px; font-weight: 400; padding: .8rem .9rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; color: var(--ink); width: 100%; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
td small { display: block; color: var(--muted); font-size: .85rem; }
#plan td:first-child { white-space: nowrap; }

/* Reading marks */
mark { background: #fbe38e; color: inherit; padding: 0 .12em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Citations */
.ref { font-size: .85em; color: var(--muted); }

/* Landing pages: retained funnel design; branch waits for the 10.11 readout (D250).
   Scope every rule to .landing; chrome continues to use the shared rules above. */
.landing { --night: #14191f; --night-line: #2b3138; --night-muted: #a7a39c; font-size: 1rem; line-height: 1.55; }
html:has(body.landing) { scroll-behavior: smooth; }
.landing section a { text-decoration-color: currentColor; text-underline-offset: auto; }
.landing p, .landing ul, .landing ol, .landing dl, .landing li { margin-top: 0; }
.landing h1 { font-family: var(--sans); letter-spacing: normal; hyphens: manual; overflow-wrap: normal; }
.landing h3 { margin-top: 0; }
.landing .hero { margin-top: 0; padding: 0; position: relative; min-height: 100svh; display: grid; align-items: start; color: #fff; overflow: hidden; }
.landing .hero img { background: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 35%; transform: scale(1.06); transform-origin: 68% 35%; animation: settle 1.8s ease-out forwards; }
.landing .hero .brand { display: block; text-decoration: none; font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -.02em; line-height: 1; }
.landing .btn { margin-top: 0; display: inline-block; padding: .95rem 1.4rem; border-radius: 2px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, background .2s ease; }
.landing .btn-ghost { background: transparent; }
.landing .note, .landing .disclaimer { padding: 0; border: 0; }
.landing .offer { padding: 0; border: 0; background: none; margin-top: 1.6rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.landing .facts li:last-child { border-bottom: 0; }
.landing .steps li { position: static; margin: 0; padding: 1.3rem 0; border-top: 1px solid var(--line); counter-increment: s; }
.landing .steps li::before { position: static; width: auto; height: auto; content: "0" counter(s); display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--accent); margin-bottom: .3rem; }
.landing .faq details { padding: 0; border-top: 1px solid var(--line); }
.landing .faq .answer { margin: 0; border: 0; background: none; font-size: inherit; padding: 0 0 1.2rem; color: var(--muted); }
.landing .faq p { margin-top: 0; }
.landing #preis.flush-top { padding-top: 0; }
.landing .list.spaced { margin-top: 1.6rem; }
.landing .top, .landing > footer { line-height: 1.65; }
.landing .hero picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.landing .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,34,.84) 0%, rgba(14,24,34,.72) 65%, rgba(14,24,34,.28) 100%); }
.landing .topnav { position: absolute; top: 0; right: 0; z-index: 2; padding: 1.2rem 6vw; }
.landing .topnav a { color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: .1rem; }
.landing .topnav a:hover { border-bottom-color: #fff; }
.landing .topnav a + a { margin-left: 1.2rem; }
.landing .hero-inner { position: relative; z-index: 1; padding: 9vh 6vw 8vh; max-width: 680px; }
@media (min-width: 760px) {
  .landing .hero::after { background: linear-gradient(120deg, rgba(14,24,34,.84) 0%, rgba(14,24,34,.72) 38%, rgba(14,24,34,.12) 75%); }
  .landing .hero-inner { padding-top: 14vh; }
}
.landing .hero h1 { margin-top: 1.3rem; font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; max-width: 20ch; }
.landing .hero p { margin-top: 1rem; font-size: 1.08rem; max-width: 32rem; opacity: .95; }
.landing .actions { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.landing .btn:hover { transform: translateY(-2px); }
.landing .btn-primary { background: var(--accent); color: #fff; }
.landing .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.landing .fade { opacity: 0; transform: translateY(14px); animation: rise .9s ease-out forwards; }
.landing .fade:nth-child(2) { animation-delay: .15s }
.landing .fade:nth-child(3) { animation-delay: .3s }
.landing .fade:nth-child(4) { animation-delay: .45s }
.landing .fade:nth-child(5) { animation-delay: .6s }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }
.landing section { padding: 12vh 6vw; }
@media (max-width: 600px) {
  .landing section { padding: 4.5rem 6vw; } }
.landing .wrap { max-width: 1040px; margin: 0 auto; }
.landing .eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.landing h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -.01em; margin-top: .6rem; max-width: 22ch; }
.landing .lead { margin-top: 1.1rem; color: var(--muted); max-width: 38rem; font-size: 1.08rem; }
.landing .split > div > .lead:first-child { margin-top: 0; }
.landing .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.landing .reveal.in { opacity: 1; transform: none; }
.landing .split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) {
  .landing .split { grid-template-columns: 1fr 1fr; gap: 6vw; } }
.landing .night { background: var(--night); color: #f1eee8; }
.landing .night .eyebrow, .landing .night .lead { color: var(--night-muted); }
.landing .chat { list-style: none; padding: 1.2rem 0 0; display: grid; gap: .7rem; max-width: 30rem; }
.landing .chat-head { display: flex; justify-content: space-between; font-size: .8rem; color: var(--night-muted); border-bottom: 1px solid var(--night-line); padding-bottom: .7rem; }
.landing .msg { max-width: 88%; padding: .7rem .9rem .5rem; border-radius: 14px; font-size: .96rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.landing .chat.play .msg { opacity: 1; transform: none; }
.landing .chat.play .msg:nth-child(2) { transition-delay: .5s }
.landing .chat.play .msg:nth-child(3) { transition-delay: 1.3s }
.landing .chat.play .msg:nth-child(4) { transition-delay: 2.1s }
.landing .chat.play .msg:nth-child(5) { transition-delay: 2.9s }
.landing .msg.owner { justify-self: end; background: #2f5d4a; border-bottom-right-radius: 4px; }
.landing .msg.klara { justify-self: start; background: #252b33; border-bottom-left-radius: 4px; }
.landing .msg .who { display: block; font-size: .74rem; font-weight: 600; color: var(--night-muted); margin-bottom: .2rem; }
.landing .msg .who b { color: #e7a184; font-weight: 600; }
.landing .msg time { display: block; text-align: right; font-size: .72rem; color: var(--night-muted); margin-top: .25rem; }
.landing .msg ul { padding-left: 1.1rem; margin-top: .3rem; }
.landing .photo { display: inline-block; margin-bottom: .45rem; padding: .25rem .6rem; border-radius: 6px; background: rgba(255,255,255,.12); font-size: .78rem; color: #dfe9e3; }
.landing .night-note { margin-top: 1.2rem; font-size: .85rem; color: var(--night-muted); }
.landing .motto { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; margin-top: 2.2rem; }
.landing .compare { margin-top: 2.8rem; border-top: 1px solid var(--line); }
.landing .compare .head { display: none; }
.landing .crow { display: grid; grid-template-columns: 1fr; gap: .35rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.landing .crow dt { font-weight: 600; }
.landing .crow dd { color: var(--muted); display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; }
.landing .crow dd.us { color: var(--ink); }
.landing .crow dd::before { padding-top: .2rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.landing .crow dd.them::before { content: "Typisch"; }
.landing .crow dd.us::before { content: "Klara"; color: var(--accent); }
@media (min-width: 760px) {
  .landing .compare .head, .landing .crow { display: grid; grid-template-columns: 1fr 1.3fr 1.5fr; gap: 2rem; }
  .landing .compare .head { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .landing .compare .head span:last-child { color: var(--accent); }
  .landing .crow dd { display: block; }
  .landing .crow dd::before { display: none; }
}
.landing .price { font-family: var(--serif); font-size: clamp(3.2rem, 8vw, 5.4rem); line-height: 1; margin-top: 1.6rem; }
.landing .price small { display: block; margin-top: .5rem; font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.landing .price s { font-size: .55em; color: var(--muted); text-decoration-thickness: 2px; }
.landing .offer + .price { margin-top: .4rem; }
.landing .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.landing .facts { list-style: none; padding: 0; margin-top: 1.6rem; }
.landing .facts li { padding: .8rem 0; border-top: 1px solid var(--line); }
.landing .note { margin-top: 1.4rem; font-size: .88rem; color: var(--muted); max-width: 34rem; }
.landing .calc { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.landing .calc h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.landing .calc .inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; align-items: end; }
.landing .calc output { display: block; }
.landing .saving { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin-top: 1.6rem; color: var(--accent); transition: color .3s ease; }
.landing .saving-label { font-size: .95rem; color: var(--muted); margin-top: .3rem; }
.landing .calc-detail { margin-top: 1rem; font-size: .95rem; }
.landing .list { list-style: none; padding: 0; }
.landing .list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.landing .list strong { display: block; font-weight: 600; }
.landing .list span { color: var(--muted); }
.landing .band { background: #ebe5dc; }
.landing .promises { list-style: none; padding: 0; margin-top: 2.4rem; display: grid; grid-template-columns: 1fr; gap: 0 3rem; counter-reset: p; }
@media (min-width: 760px) {
  .landing .promises { grid-template-columns: repeat(2, 1fr); } }
.landing .promises li { padding: 1.3rem 0; border-top: 1px solid #cfc7ba; counter-increment: p; }
.landing .promises li::before { content: "0" counter(p); display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--accent); margin-bottom: .3rem; }
.landing .promises strong { display: block; font-size: 1.1rem; }
.landing .promises span { color: var(--muted); }
.landing form { display: grid; gap: 1.05rem; }
.landing input, .landing select { font: inherit; font-size: 16px; font-weight: 400; padding: .8rem .9rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; color: var(--ink); width: 100%; }
.landing .row { display: grid; grid-template-columns: 1fr; gap: 1.05rem; align-items: end; }
@media (min-width: 560px) {
  .landing .row { grid-template-columns: 1fr 1fr; } }
.landing .opt { font-weight: 400; color: var(--muted); }
.landing .consent { font-weight: 400; display: flex; gap: .6rem; align-items: start; color: var(--muted); }
.landing .consent input { width: auto; margin-top: .3rem; }
.landing .hp { position: absolute; left: -9999px; }
.landing button.btn { cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }
.landing button.btn[disabled] { opacity: .6; cursor: wait; }
.landing #status { min-height: 1.5rem; font-weight: 600; }
.landing #status.err { color: #a3361a; }
.landing .done { padding: 1.4rem 0; border-top: 2px solid #2f5d4a; }
.landing .done h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.landing .done p { margin-top: .6rem; color: var(--muted); }
.landing .statusline { margin-top: 1.4rem; padding-left: .9rem; border-left: 2px solid var(--accent); font-size: .95rem; }
.landing fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.05rem; }
.landing .step legend { padding: 0; margin-bottom: .3rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.landing .stepno { display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.landing .step + .step { margin-top: 1.6rem; }
.landing form.stepped .step + .step { margin-top: 0; }
.landing #lead { scroll-margin-top: 1.5rem; }
.landing form.stepped:not(.at2) #step2, .landing form.stepped.at2 #step1 { display: none; }
.landing .readiness { font-size: .9rem; color: var(--muted); padding-left: .9rem; border-left: 2px solid var(--accent); }
.landing .submit-row { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.landing button.back { font: inherit; font-size: .95rem; background: none; border: 0; padding: .4rem 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.landing .total { margin-top: 1.2rem; padding: .9rem 1rem; border-left: 3px solid var(--accent); background: #fff; font-size: 1rem; max-width: 34rem; }
.landing .qa { display: grid; gap: .9rem; }
.landing .qa .who { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); margin-bottom: .3rem; }
.landing .qa .who b { color: var(--accent); font-weight: 600; }
.landing .qa .q { justify-self: end; max-width: 92%; background: #2f5d4a; color: #fff; padding: .8rem 1rem; border-radius: 14px; border-bottom-right-radius: 4px; font-size: .97rem; line-height: 1.45; }
.landing .qa .q .who { color: #d6e4dc; }
.landing .qa .a { background: #fff; border: 1px solid var(--line); padding: 1rem 1.1rem; border-radius: 14px; border-bottom-left-radius: 4px; font-size: .97rem; line-height: 1.5; }
.landing .qa .a p + p { margin-top: .6rem; }
.landing .qa .a .src { margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.landing .founder { margin: 1.4rem 0 .4rem; padding-left: 1rem; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.3; }
.landing .founder .byline { padding: 0; border: 0; margin-top: .5rem; font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.landing .faq details:last-child { border-bottom: 1px solid var(--line); }
.landing .faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.landing .faq summary::-webkit-details-marker { display: none; }
.landing .faq summary::after { content: "+"; position: absolute; right: .2rem; top: .95rem; font-size: 1.3rem; font-weight: 400; color: var(--accent); }
.landing .faq details[open] summary::after { content: "\2212"; }
.landing .faq .answer p + p { margin-top: .6rem; }
.landing .faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .landing * { animation: none !important; transition: none !important; }
  .landing .fade, .landing .reveal, .landing .msg { opacity: 1; transform: none; } }
.landing .hero.lp { min-height: 88svh; }
.landing .steps { list-style: none; padding: 0; margin-top: 2.4rem; display: grid; grid-template-columns: 1fr; gap: 0 3rem; counter-reset: s; }
@media (min-width: 760px) {
  .landing .steps { grid-template-columns: repeat(2, 1fr); } }
.landing .steps strong { display: block; font-size: 1.1rem; }
.landing .steps span { color: var(--muted); }
.landing .readmore { margin-top: 1.6rem; font-weight: 600; }
.landing .readmore a { color: var(--accent); }
.landing .disclaimer { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.landing .list a { color: var(--accent); }
/* No-JS fallback: JS alone opts into reveal animation. */
.landing:not(.js) .reveal, .landing:not(.js) .msg { opacity: 1; transform: none; }

/* Print */
/* Price page (/preise/, D279) */
.pr-lead { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.pr-label { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 0; }
.pr-hero { margin-top: 2rem; padding: 1.6rem 1.5rem 1.4rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.pr-big { font-family: var(--serif); font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1; margin-top: .7rem; }
.pr-big small { display: block; margin-top: .55rem; font-family: var(--sans); font-size: 1rem; line-height: 1.45; color: var(--muted); }
.pr-note { margin-top: .6rem; font-size: .86rem; color: var(--muted); }
.pr-start { margin-top: 1.2rem; }
.pr-calc { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pr-calc-title { margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.pr-calc .result { display: block; }
.pr-calc-table { font-size: .97rem; }
.pr-calc-table th, .pr-calc-table td { padding: .65rem .6rem; }
.pr-calc-table thead th { font-size: .74rem; }
.pr-calc-table tbody th { background: #fff; color: var(--ink); font-size: .9rem; font-weight: 400; letter-spacing: 0; }
.pr-calc-table td { font-family: var(--serif); font-size: 1.35rem; color: var(--accent); white-space: nowrap; }
.pr-calc-table .pr-today td { color: var(--muted); }
.pr-calc-error { margin-top: .6rem; font-weight: 600; }
.pr-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.pr-pills li { margin: 0; padding: .3rem .75rem; border-radius: 999px; background: var(--band); font-size: .86rem; }
.pr-incl { list-style: none; padding: 0; display: grid; gap: 0 1.8rem; }
@media (min-width: 640px) { .pr-incl { grid-template-columns: 1fr 1fr; } }
.pr-incl li { position: relative; margin: 0; padding: .65rem 0 .65rem 1.7rem; border-top: 1px solid var(--line); font-size: .97rem; }
.pr-incl li::before { content: ""; position: absolute; left: .15rem; top: 1.02rem; width: .8rem; height: .42rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pr-promise { margin-top: 1.6rem; padding: 1.1rem 1.25rem; background: var(--band); }
.pr-promise p { margin-top: .45rem; }
.pr-promise .pr-label { margin-top: 0; }
.pr-promise-plain { font-size: .97rem; }
.pr-extras { display: grid; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 760px) { .pr .pr-extras { grid-template-columns: repeat(3, 1fr); margin-left: -4rem; margin-right: -4rem; } }
.pr-card { padding: 1.2rem 1.15rem 1.25rem; background: #fff; border: 1px solid var(--line); }
.pr-card h3 { margin-top: .5rem; font-size: 1rem; }
.pr-card p { margin-top: .55rem; font-size: .95rem; }
.pr-card .pr-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); margin-top: 0; }
.pr-card .pr-num small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.pr-card .pr-small { color: var(--muted); font-size: .86rem; }
.pr-fine { font-size: .93rem; }
.pr-fine div { display: grid; gap: .2rem 1.4rem; padding: .85rem 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .pr-fine div { grid-template-columns: 8.5rem 1fr; } }
.pr-fine dt { font-weight: 600; }
.pr-fine dd { color: var(--ink); }
.pr-stand { margin-top: 1.4rem; font-size: .86rem; }

@media print {
  body { background: #fff; font-size: 10pt; line-height: 1.45; }
  main { padding: 0; }
  article { max-width: none; }
  .top, footer, .crumbs, .toc, .hero, .close, .related, .print, .eyebrow, .swipe { display: none !important; }
  .print-only { display: block; font-size: 8.5pt; color: #444; margin-top: .4rem; }
  h1 { font-size: 20pt; }
  h2 { font-size: 14pt; margin-top: 1.4rem; break-after: avoid; }
  h3 { font-size: 11pt; margin-top: 1rem; break-after: avoid; }
  .answer { border: 1px solid #999; border-left: 3px solid var(--accent); }
  a { text-decoration: none; }
  .scroll, .table-wrap { overflow: visible; }
  table.wide { min-width: 0; }
  table { font-size: 8.5pt; }
  th, td { border-color: #888; padding: .25rem .35rem; }
  .ws th { font-size: 7.5pt; }
  .ws td { height: 2.1em; }
  thead { display: table-header-group; }
  tr { break-inside: avoid; }
  .law div, .letter { break-inside: avoid; }
  .sheet { break-before: page; }
  #antragsblatt-block .sheet { break-before: auto; break-inside: avoid; }
  .intro-screen + .sheet { break-before: auto; }
  details::details-content { content-visibility: visible; display: block; }
  summary { list-style: none; }
  html.print-sheet article > :not(h1):not(.print-only):not(#arbeitsblatt-block):not(#antragsblatt-block):not(#beschlusscheck-block) { display: none !important; }
  html.print-sheet .intro-screen { display: none; }
  .cl { font-size: 8.5pt; }
  .cl th { font-size: 7.5pt; }
  .cl td { padding: .3rem .35rem; }
  .klaeren { font-size: 8pt; }
  .cl thead { display: table-header-group; }
  .phase, .law div { break-inside: avoid; }
  .cl td.blank, .cl td.done { height: 2.2em; }
  .cl td.done::before { border-color: #333; }
  html.print-checklist article > :not(h1):not(.print-only):not(#checkliste-block) { display: none !important; }
  .legend { display: none; }
}
