:root {
  --cream: #fafaf7; --paper: #ffffff; --navy: #0f1e40; --ink: #1f2937;
  --muted: #536070; --gold: #a98c52; --gold-ink: #705b30; --line: #d8d7d0;
  --dark-line: #52617d; --soft: #dce2ec; --sage: #d6dcc8; color-scheme: light;
}
* {box-sizing: border-box}
body {margin: 0; background: var(--cream); color: var(--navy); font: 16px/1.55 Inter, Arial, sans-serif}
button,input {font: inherit}
button,summary {cursor: pointer}
button:disabled {cursor: wait; opacity: .65}
a {color: inherit; text-underline-offset: .2em}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {outline: 3px solid var(--gold-ink); outline-offset: 4px}
h1,h2,p,dl,dd {margin: 0}
h1,h2 {font: 650 2rem/1.12 Inter, Arial, sans-serif; letter-spacing: -.045em}
[hidden] {display: none !important}
.shell {max-width: 1140px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 48px)}
.sr-only,.honeypot {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0}
.skip {position: fixed; left: 16px; top: -100px; padding: 12px; background: var(--navy); color: white; z-index: 2}
.skip:focus {top: 10px}
.header,.footer,.header nav,.footer nav {display: flex; align-items: center; justify-content: space-between; gap: 1.4rem}
.header {min-height: 80px}
.header nav a,.footer nav a {display: inline-flex; min-height: 44px; align-items: center; font-size: .87rem}
.brand,.header nav a {text-decoration: none}
.header nav a:hover,.footer nav a:hover {text-decoration: underline}
.brand {display: inline-flex; align-items: center; flex: 0 0 auto}
.brand img {display: block; width: clamp(112px, 13vw, 158px); height: auto}
.intro {padding-block: clamp(20px, 4vw, 54px) clamp(26px, 4vw, 42px)}
.eyebrow {font-size: .79rem; font-weight: 650; color: var(--gold-ink); letter-spacing: .045em}
.intro h1 {max-width: 23ch; margin-block: .5rem .8rem; font-size: clamp(2.35rem, 4.9vw, 4.55rem); line-height: 1.02; text-wrap: balance}
.intro-copy {max-width: 60ch; color: var(--muted); font-size: clamp(.99rem, 1.7vw, 1.13rem)}
.calculator {scroll-margin-top: 12px}
#ergebnis {scroll-margin-top: 12px}
.calculator-card {display: grid; grid-template-columns: 1.05fr 1fr; background: var(--navy); border: 1px solid var(--line); border-radius: 8px; color: var(--cream); overflow: hidden}
.settings,.results {min-width: 0; padding: clamp(20px, 3.2vw, 40px)}
.settings {background: var(--paper); color: var(--navy)}
.results {background: var(--navy); border-top: 4px solid #c7ad77}
.settings h2,.results h2 {font-size: clamp(1.6rem, 3vw, 2.1rem)}
.help {font-size: .85rem; color: var(--soft); margin-top: .7rem; line-height: 1.55}
.model-scope,.settings .help {font-size: .85rem; line-height: 1.55; color: var(--muted); margin-top: .7rem}
.income-control {margin-top: 26px}
.income-control>label,legend {color: var(--navy); font-size: .95rem; font-weight: 550}
.income-control output {display: block; margin-top: 4px; font: 600 2.25rem/1.2 Inter, Arial, sans-serif; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.045em}
.range {--progress: 0%; appearance: none; display: block; width: 100%; padding: 0; height: 40px; margin: 0; background: transparent; cursor: ew-resize}
.range::-webkit-slider-runnable-track {height: 6px; border-radius: 8px; background: linear-gradient(to right,var(--gold) var(--progress),#c6cbd2 var(--progress))}
.range::-moz-range-track {height: 6px; border-radius: 8px; background: #788c90}
.range::-moz-range-progress {height: 6px; background: var(--gold)}
.range::-webkit-slider-thumb {appearance: none; height: 23px; width: 23px; border: 2px solid #ead9ad; border-radius: 50%; background: var(--gold); margin-top: -8.5px}
.range::-moz-range-thumb {height: 19px; width: 19px; border: 2px solid #ead9ad; border-radius: 50%; background: var(--gold)}
.range-labels {display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted)}
fieldset {min-width: 0; margin: 19px 0 0; border: 0; padding: 0}
legend {margin-bottom: 7px; padding: 0}
.options {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px}
.options label {position: relative; cursor: pointer}
.options input {position: absolute; opacity: 0; width: 1px; height: 1px}
.options span {min-height: 44px; display: grid; place-items: center; border: 1px solid #909ba8; border-radius: 5px; font-size: .875rem}
.options input:checked+span {color: #fff; background: var(--navy); border-color: var(--navy); font-weight: 650}
.options input:focus-visible+span,.range:focus-visible {outline: 3px solid var(--gold-ink); outline-offset: 3px}
.headline-value {margin-top: 13px}
.headline-value strong {display: block; color: #ffffff; font: 600 clamp(3.2rem, 6vw, 5.3rem)/1.1 Inter, Arial, sans-serif; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.045em}
.headline-value span {font-size: .9rem; color: var(--soft)}
.statement {margin-top: 20px}
.statement>div {display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); font-size: .9rem}
.statement dd {font-variant-numeric: tabular-nums; font-weight: 550; white-space: nowrap}
.statement .subtotal {font-weight: 650}
.figures {padding-block: 25px}
.figures dl {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px}
.figures dl>div {padding: 0 14px 0 16px; border-left: 2px solid #a98c52}
.figures dt {color: var(--muted); font-size: .87rem}
.figures dd {font: 600 clamp(1.65rem, 3vw, 2.1rem)/1.3 Inter, Arial, sans-serif; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.035em; margin-top: 3px}
.figures p,.assumptions p {font-size: .9rem; color: var(--muted); margin-top: 15px; max-width: 88ch}
.assumptions {margin-top: 20px; padding: 14px 0; border-block: 1px solid var(--line)}
.assumptions summary {font-weight: 600; padding-block: 7px; min-height: 44px}
.assumptions .statement {max-width: 76ch}
.assumptions .statement>div {border-color: var(--line)}
.actions {display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px}
.button {display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; padding: 11px 21px; border-radius: 6px; font: 600 .92rem/1.45 Inter, Arial, sans-serif; text-decoration: none}
.primary {border: 1px solid transparent; color: var(--navy); background: var(--gold)}
.primary:hover {background: #d4bd8e}
.secondary {border: 1px solid #869090; color: var(--navy); background: transparent}
.secondary:hover {background: var(--paper)}
#delivery {border-top: 1px solid var(--dark-line); margin-top: 18px; padding-top: 16px}
#delivery a,#delivery .text-button {display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; color: #ead7a8; font-weight: 600}
.text-button {padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .2em}
.results :focus-visible {outline-color: #ead7a8}
.report-contents {list-style: none; margin: 22px 0; padding: 0}
.report-contents li {position: relative; border-top: 1px solid var(--dark-line); padding: 12px 0 12px 17px}
.report-contents li::before {position: absolute; inset: 1.15rem auto auto 0; width: 6px; height: 6px; border-radius: 50%; background: #e6cb93; content: ""}
.cost-details {margin-top: 1rem; border-top: 1px solid var(--dark-line)}
.cost-details summary {padding-block: 12px; font-weight: 620}
.cost-details .statement {margin-top: 0}
.calc-examples {border-block: 1px solid var(--line); padding: .35rem 0}
.calc-examples summary {color: var(--navy); padding-block: .7rem; font-weight: 650}
.calc-examples h2 {margin-top: .65rem}
.report-contents strong,.report-contents span {display: block}
.report-contents strong {font-weight: 600}
.report-contents span {margin-top: 2px; color: var(--soft); font-size: .9rem}
#request-intro .button {width: 100%}
#request-intro .help {font-size: .8rem}
.about a {color: var(--gold-ink); display: inline-block; padding-block: 8px; font-weight: 550}
.about {display: grid; grid-template-columns: minmax(160px,.38fr) minmax(0,1fr); gap: clamp(22px,4vw,46px); align-items: center; padding-block: clamp(32px,5vw,66px)}
.about img {width: 100%; height: 200px; object-fit: cover; object-position: 50% 58%; border-radius: 9px}
.about p {color: var(--muted); margin: 14px 0 5px}
.footer {border-top: 1px solid var(--line); padding-block: 15px; font-size: .85rem; color: var(--muted); flex-wrap: wrap}
dialog {width: min(480px,calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 34px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--navy); overflow: auto}
dialog::backdrop {background: #0b1530bc}
dialog h2 {font-size: 1.8rem; margin-right: 24px}
dialog>p {font-size: .93rem; color: var(--muted); margin: 12px 0 17px}
.dialog-close {position: absolute; right: 7px; top: 6px; width: 44px; height: 44px; background: transparent; border: 0; font-size: 1.5rem}
.input-label {display: block; font-size: .9rem; font-weight: 550; margin-bottom: 5px}
.text-input {display: block; width: 100%; min-height: 45px; padding: 9px 12px; border-radius: 5px; border: 1px solid #828b8d; color: var(--navy); background: white; margin-bottom: 13px}
.checkbox {display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 14px 0; cursor: pointer}
.checkbox input {width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--navy)}
.privacy {font-size: .82rem; color: var(--muted); margin-bottom: 15px}
.form-error {color: #7f2924; background: #f9e4dc; padding: 10px; margin-bottom: 12px}
#submit-button {width: 100%}
noscript p.help {color: var(--ink)}
@media (max-width: 760px) {
  .header {min-height: 65px}
  .header nav,.footer nav {gap: 1rem}
  .calculator-card {grid-template-columns: 1fr}
  .results {border-left: 0}
  .figures dl {grid-template-columns: 1fr; gap: 0}
  .figures dl>div {display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: baseline; border: 0; border-bottom: 1px solid var(--line); padding: 9px 0}
  .figures dd {font-size: 1.42rem; margin: 0}
  .about {grid-template-columns: 1fr}
  .about img {height: 150px}
  dialog {padding: 26px 20px}
}
@media (max-width: 460px) {
  .actions .button {width: 100%}
  .header nav a,.footer nav a {font-size: .82rem}
  .settings,.results {padding: 20px 17px}
  .statement>div {font-size: .86rem}
  .footer {gap: 5px}
}
@media (prefers-reduced-motion: no-preference) {
  html {scroll-behavior: smooth}
}


.calc-extra {margin-top: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 1rem}
.calc-extra h2 {font-size: clamp(1.7rem, 3.3vw, 2.65rem); text-wrap: balance}
.calc-extra .eyebrow {margin-bottom: .5rem}
.calc-extra-intro {color: var(--muted); margin-top: .65rem; max-width: 73ch}
.calc-example-grid, .calc-workflow {display: grid; gap: 1rem; margin-top: 1.25rem}
.calc-example-grid {grid-template-columns: repeat(2,minmax(0,1fr))}
.calc-example {min-width: 0; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 6px; padding: clamp(1rem, 3vw, 1.8rem)}
.calc-extra h3 {margin: 0; font-size: 1.05rem; letter-spacing: -.025em; line-height: 1.3}
.calc-example dl {margin: .8rem 0 1rem; font-size: .89rem}
.calc-example dl div {display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: .55rem; padding: .5rem 0; border-bottom: 1px solid var(--line)}
.calc-example dd {font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap}
.calc-example-total {margin-bottom: .85rem}
.calc-example-total strong {display: block; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.06em}
.calc-example-total span, .calc-example p:not(.calc-example-total), .calc-extra-note, .calc-workflow p, .calc-trust p, .calc-guide p:not(.eyebrow) {color: var(--muted); font-size: .9rem}
.calc-example a, .calc-extra-link {display: inline-flex; align-items: center; min-height: 44px; font-size: .91rem; font-weight: 650; color: var(--gold-ink)}
.calc-example a {margin-top: .55rem}
.calc-extra-note {margin-top: .8rem}
.calc-workflow {grid-template-columns: repeat(3,minmax(0,1fr)); padding-left: 1.7rem}
.calc-workflow li {min-width: 0; padding: .8rem .7rem .5rem 0; border-top: 1px solid var(--line)}
.calc-workflow li::marker {color: var(--gold-ink); font-weight: 650}
.calc-workflow p, .calc-trust p, .calc-guide p:not(.eyebrow) {margin-top: .5rem; max-width: 70ch}
.calc-trust {padding-top: 1.15rem; margin-top: 1.25rem; border-top: 1px solid var(--line)}
.calc-guide {display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: #efeee7; border-radius: 6px; padding: clamp(1rem, 4vw, 2rem)}
.calc-guide .button {flex-shrink: 0}
#investmentguide {margin-bottom: clamp(2.3rem, 5vw, 3.5rem)}
@media (max-width: 760px) {
  .calc-example-grid, .calc-workflow {grid-template-columns: minmax(0, 1fr)}
  .calc-workflow {gap: .45rem}
  .calc-guide {align-items: flex-start; flex-direction: column}
}
