/* Zusätze für die Werkzeug-Seiten von Band 1. Basis ist /style.css */

.tool { max-width: 1160px; margin: 0 auto; padding: 8px 24px 64px; }
.crumb { margin: 0 0 10px; color: var(--muted); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; text-transform: uppercase; }
.crumb a { color: var(--muted); }
.tool h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18ch; margin-bottom: 16px; }
.tool .lead { margin-bottom: 28px; }

.tool-grid { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 40px; align-items: start; }
.tool-grid .calc { position: sticky; top: 16px; }
.calc .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.example { margin: -6px 0 6px; font-size: 0.9rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.linkbtn { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { background: none; color: var(--brass-d); }

.out { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
.out h2 { font-size: 1.35rem; margin: 0 0 6px; max-width: none; }
.big { font: 800 clamp(2.2rem, 4.4vw, 3rem)/1.05 var(--display); letter-spacing: -0.03em; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.say { font-size: 1.12rem; line-height: 1.55; margin: 0 0 20px; padding-left: 14px; border-left: 4px solid var(--brass); }
.say strong { font-weight: 700; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--plaster); vertical-align: middle; }
.tag.good { background: #DCEBD9; } .tag.mid { background: #E2E7EE; } .tag.bad { background: #F2D9D2; }

table.nums { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
table.nums th, table.nums td { text-align: right; padding: 9px 8px; border-bottom: 1px solid var(--line); }
table.nums th:first-child, table.nums td:first-child { text-align: left; }
table.nums thead th { color: var(--muted); font-size: 0.88rem; font-weight: 700; }
table.nums tr.sum td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); }
table.nums td.lead-cell { font-weight: 700; }

.chart { width: 100%; height: auto; display: block; margin: 8px 0 6px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); margin: 0 0 16px; }
.legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

details.how { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
details.how summary { cursor: pointer; font-weight: 700; }
details.how p, details.how li { color: var(--muted); font-size: 0.95rem; }

.book { margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; font-size: 0.98rem; }
.book svg { flex: none; width: 28px; height: 28px; color: var(--brass-d); margin-top: 2px; }
.book p { margin: 0; }

.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 1rem/34px var(--display); text-align: center; }
.steps-list h3 { font: 600 1.15rem/1.3 var(--display); margin: 0 0 4px; }
.steps-list p { margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 0; padding: 10px 0; cursor: pointer; }
.checklist input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brass-d); flex: none; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.checklist-group { font: 600 1.1rem/1.3 var(--display); margin: 24px 0 4px; }

.beta { display: inline-block; font: 800 0.8rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; background: var(--brass); color: var(--ink); padding: 6px 10px; border-radius: 4px; margin-bottom: 14px; }
.promise { list-style: none; padding: 0; margin: 0 0 8px; }
.promise li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.promise li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 2px; background: var(--brass-d); }

.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tiles a { display: block; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 18px 18px 16px; text-decoration: none; }
.tiles a:hover { border-color: var(--brass); }
.tiles .k { color: var(--muted); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.tiles .t { display: block; font: 600 1.15rem/1.25 var(--display); margin: 4px 0 6px; }
.tiles .d { color: var(--muted); font-size: 0.95rem; display: block; }
.tiles .s { display: inline-block; margin-top: 10px; font-size: 0.8rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #DCEBD9; }
.tiles .s.b { background: #E2E7EE; }

.note-legal { color: var(--muted); font-size: 0.85rem; max-width: 60em; }

@media (max-width: 920px) {
  .tool-grid { grid-template-columns: 1fr; gap: 24px; }
  .tool-grid .calc { position: static; }
}
@media (max-width: 560px) {
  .tool { padding-left: 16px; padding-right: 16px; }
  .out { padding: 20px 16px; }
  .calc .two { grid-template-columns: 1fr; }
  table.nums th, table.nums td { padding: 8px 4px; font-size: 0.95rem; }
}

/* Oktober 2026: Förder-Finder, Angebots-Check, Eigentümer-Modul */
.facts-top { margin-bottom: 14px; }
.facts-top .big { margin: 0; }
.prog-h { font-size: 1.2rem; margin: 22px 0 10px; display: inline-flex; gap: 10px; align-items: center; }
.prog-gruppe summary { cursor: pointer; list-style: none; }
.prog-gruppe summary::-webkit-details-marker { display: none; }
.prog-gruppe summary .prog-h::after { content: "anzeigen"; font: 700 0.85rem var(--body, inherit); color: var(--muted); text-decoration: underline; }
.prog-gruppe[open] summary .prog-h::after { content: "ausblenden"; }
.progs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.prog { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 4px; padding: 14px 16px; background: #fff; }
.prog-passt { border-left-color: #5E9C6A; }
.prog-pruefen { border-left-color: var(--brass); }
.prog-nein { opacity: .8; }
.prog h3 { font: 600 1.1rem/1.3 var(--display); margin: 6px 0 2px; }
.prog p { margin: 4px 0; }
.prog-kopf { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 !important; }
.prog-kopf .tag { font-size: 0.75rem; padding: 2px 8px; }
.prog-betrag { font-weight: 700; }
.prog-gruende { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.prog-quelle { font-size: 0.92rem; }

fieldset.ang { border: 1px solid var(--line); border-radius: 4px; padding: 4px 14px 14px; margin: 18px 0 0; }
fieldset.ang legend { padding: 0 6px; width: 60%; }
fieldset.ang legend label { margin-top: 4px; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp td, table.cmp th { white-space: nowrap; }
table.cmp td:first-child { white-space: normal; min-width: 9em; }
table.cmp td.best { font-weight: 700; background: #E8F1E5; }

.soon { margin-top: 22px; padding: 14px 16px; background: var(--plaster); border-radius: 4px; }
.soon .beta { margin-bottom: 6px; }
.soon p { margin: 0; }

table.rl { width: 100%; border-collapse: collapse; }
table.rl th { text-align: left; font-size: 0.82rem; color: var(--muted); padding: 0 4px 4px; }
table.rl td { padding: 3px 4px; }
table.rl input { width: 100%; padding: 9px 8px; min-width: 0; }
table.rl td:nth-child(1) { width: 38%; }
table.rl .rl-monat { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps-list.dates h3 { font-size: 1.02rem; }
input[type="date"], input[type="month"] { width: 100%; font: inherit; padding: 10px 12px; min-height: 46px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
fieldset.ang { min-width: 0; }
.tool-grid > * { min-width: 0; }
@media (max-width: 560px) {
  table.rl input { padding: 8px 5px; font-size: 0.95rem; min-height: 40px; }
  table.rl td:nth-child(1) { width: 32%; } table.rl td:nth-child(2) { width: 26%; } table.rl td:nth-child(3) { width: 17%; }
  table.rl td { padding: 3px 2px; }
}
.install { margin-bottom: 24px; }
.install p { margin: 0 0 12px; }
