#kosten { background: var(--white); color: var(--navy); }
#kosten .section-desc { margin-bottom: 28px; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cost-inputs, .cost-result, .cost-breakdown { min-width: 0; padding: clamp(20px, 3vw, 32px); border-radius: 16px; }
.cost-inputs, .cost-breakdown { border: 1px solid var(--gray-200); }
.cost-result { display: flex; flex-direction: column; background: var(--navy); color: white; }
#kosten h3 { font: 700 1.16rem/1.4 'DM Sans', sans-serif; margin: 0; }
.cost-note, .cost-scale, .cost-scope { font-size: .875rem; }
.cost-note { color: var(--gray-600); margin: 8px 0 0; }
.cost-count { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 10px; }
#kosten input[type=number] { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--gray-300); border-radius: 8px; color: var(--navy); background: var(--gray-50); font: inherit; }
#kosten .cost-count input { width: 125px; font-weight: 700; font-size: 1.7rem; }
#kosten input[type=range] { width: 100%; accent-color: var(--blue); cursor: pointer; }
.cost-scale, .cost-row { display: flex; justify-content: space-between; gap: 10px; }
.cost-scale { color: var(--gray-600); }
.cost-presets { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 18px; }
.cost-presets button { min-width: 46px; padding: 6px 12px; font: inherit; font-size: .875rem; border: 1px solid var(--gray-300); border-radius: 18px; color: var(--navy); background: white; cursor: pointer; }
.cost-presets button[aria-pressed=true] { background: var(--blue-lt); border-color: var(--blue); color: var(--blue); }
#kosten summary { cursor: pointer; font-weight: 600; }
.cost-details { border-top: 1px solid var(--gray-200); padding-top: 14px; }
.cost-fields { display: grid; grid-template-columns: 1fr 90px; gap: 8px 12px; align-items: center; margin-top: 12px; font-size: .92rem; }
.cost-offer { margin-top: 12px; }
.cost-offer label { display: block; margin-bottom: 5px; }
.cost-error { color: #a11120; font-size: .875rem; }
.cost-error:empty { display: none; }
.cost-amount { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.14; letter-spacing: -.04em; margin-top: 7px; white-space: nowrap; }
.cost-amount.long { font-size: clamp(1.25rem, 3vw, 2rem); }
.cost-time { margin: 5px 0 16px; color: var(--blue-md); }
.cost-time b, .cost-row b { white-space: nowrap; }
.cost-bars { border-top: 1px solid #536c8d; padding-top: 15px; margin-bottom: 14px; }
.cost-row { align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.cost-track { height: 5px; margin: 5px 0 11px; border-radius: 5px; overflow: hidden; background: #435b79; }
.cost-track div { height: 100%; background: var(--blue-md); }
#cost-bar2 { background: #70a5ff; }
.cost-cta { display: block; text-align: center; padding: 12px; border-radius: 10px; margin-top: auto; font-weight: 700; color: white; background: var(--blue); text-decoration: none; }
.cost-cta:hover { background: #1d4ed8; }
.cost-scope { text-align: center; margin: 7px 0 0; color: var(--blue-md); }
.cost-breakdown { margin-top: 12px; padding-block: 17px; }
.cost-breakdown table { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.cost-breakdown th, .cost-breakdown td { padding: 8px 2px; border-top: 1px solid var(--gray-200); text-align: right; font-size: .9rem; overflow-wrap: anywhere; }
.cost-breakdown th:first-child { text-align: left; }
.cost-breakdown tbody th { font-weight: 500; }
.cost-breakdown tbody tr:last-child > * { font-weight: 700; }
#kosten :focus-visible { outline: 3px solid #60a5fa; outline-offset: 2px; }
.cost-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) {
    .cost-grid { grid-template-columns: minmax(0, 1fr); }
    .cost-inputs, .cost-result, .cost-breakdown { padding: 18px; }
}
