.speicherrechner-page { --bg: #edf6f7; --bg-soft: #ffffff; --panel: #ffffff; --panel-deep: #f5fafb; --line: #c6d9df; --text: #17313f; --muted: #5b707b; --green: #159b70; --green-deep: #087a57; --blue: #2778b8; --yellow: #a56a00; --red: #b43e50; background: linear-gradient(180deg, #f8fcfc 0%, #edf6f7 50%, #e5f0f3 100%); }
.speicherrechner-page .site-header { border-bottom-color: #c6d9df; background: rgb(255 255 255 / 94%); }
.speicherrechner-page .brand, .speicherrechner-page .main-nav a { color: var(--text); }
.speicherrechner-page .menu-toggle { border-color: var(--line); background: #f4fafb; color: var(--text); }
.speicherrechner-page .main-nav[data-open="true"] { border-bottom-color: var(--line); background: #fff; }
.speicherrechner-page .main-nav a:hover, .speicherrechner-page .main-nav a[aria-current="page"] { background: #dff3ec; color: #0b6e50; }
.speicherrechner-page .lead, .speicherrechner-page .section-head p { color: var(--muted); }
.speicherrechner-page .notice { border-color: #e0c77c; background: #fff9e7; }
.speicherrechner-page .notice strong { color: #805400; }
.speicherrechner-page .notice p { color: #6e5b2e; }
.speicherrechner-page .card, .speicherrechner-page .info-toggle { border-color: var(--line); background: #fff; box-shadow: 0 12px 30px rgb(42 79 91 / 10%); }
.speicherrechner-page .result-highlight { border-color: #65c7a6; background: linear-gradient(145deg, #f0fcf7, #e2f5ee); }
.speicherrechner-page .metric { border-color: #cfe3e0; background: rgb(255 255 255 / 70%); }
.speicherrechner-page .comparison { border-color: var(--line); }
.speicherrechner-page .comparison th { background: #e4f0f4; color: #23495b; }
.speicherrechner-page .comparison td { color: #4f6874; }
.speicherrechner-page .comparison .recommended { background: #e8f8f0; }
.speicherrechner-page .field input, .speicherrechner-page .field select { border-color: #a9c4ce; background: #f8fcfd; color: var(--text); }
.speicherrechner-page .input-details { margin-top: .15rem; border: 1px solid var(--line); border-radius: .9rem; background: #f7fbfc; overflow: hidden; }
.speicherrechner-page .input-details summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem 1rem; cursor: pointer; list-style: none; color: var(--text); }
.speicherrechner-page .input-details summary::-webkit-details-marker { display: none; }
.speicherrechner-page .input-details summary::after { content: '+'; color: var(--green-deep); font-size: 1.3rem; font-weight: 800; }
.speicherrechner-page .input-details[open] summary::after { content: '−'; }
.speicherrechner-page .input-details summary span { margin-left: auto; color: var(--muted); font-size: .85rem; font-weight: 500; text-align: right; }
.speicherrechner-page .input-details .details-copy { padding: 0 1rem 1rem; }
.speicherrechner-page .input-details .button { margin-top: .8rem; }
.speicherrechner-page .input-details .form-error { margin-top: .8rem; color: #8f2638; background: #fff0f2; }
.speicherrechner-page .input-details .field-note { margin-top: .2rem; }
.speicherrechner-page .pv-surface-list { display: grid; gap: .8rem; }
.speicherrechner-page .pv-surface-card { padding: .9rem; border: 1px solid #b8d0d8; border-radius: .85rem; background: #fff; }
.speicherrechner-page .pv-surface-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; }
.speicherrechner-page .pv-surface-head h4 { margin: 0; color: var(--text); }
.speicherrechner-page .pv-surface-remove { padding: .55rem .7rem; font-size: .82rem; }
.speicherrechner-page .pv-surface-remove:disabled { opacity: .45; cursor: not-allowed; }
.speicherrechner-page .pv-global-fields { margin-top: .9rem; }
.speicherrechner-page .pv-ertrags-details { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.speicherrechner-page .pv-ertrags-details:empty { display: none; }
.speicherrechner-page .details-copy { color: var(--muted); }
.speicherrechner-page .info-toggle[open] summary { border-bottom-color: var(--line); background: #eaf6fa; }
.speicherrechner-page .future-note { border-color: #afd0dd; background: #eef8fb; }
.speicherrechner-page .site-footer { border-top-color: var(--line); background: #dcebef; }
.speicherrechner-page .footer-links a, .speicherrechner-page .footer-links span { color: #4d6874; }
.speicherrechner-page .calculator-shell, .speicherrechner-page .calculator-card, .speicherrechner-page .field-grid, .speicherrechner-page .field { min-width: 0; max-width: 100%; }
.speicherrechner-page .field input, .speicherrechner-page .field select { box-sizing: border-box; max-width: 100%; }
.speicherrechner-standalone .site-header, .speicherrechner-standalone .site-footer { display: none; }
.speicherrechner-standalone main { padding-top: 1rem; }
.speicherrechner-standalone .page-title { padding-top: 1rem; }
.speicherrechner-standalone .brand, .speicherrechner-standalone .main-nav { display: none; }
.calculator-shell { display: grid; gap: 1rem; }
.calculator-card { padding: 1.15rem; }
.calculator-form { display: grid; gap: 1rem; }
.field-grid { display: grid; gap: .9rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 800; }
.field small { display: block; margin-top: .35rem; color: var(--muted); }
.field-note { color: var(--muted); font-size: .92rem; }
.details-copy hr { margin: 1.2rem 0; border: 0; border-top: 1px solid rgb(255 255 255 / 12%); }
.details-copy h4 { margin: 1rem 0 .45rem; }
.check-label { display: flex !important; align-items: center; gap: .65rem; }
.check-label input { appearance: none; position: relative; flex: 0 0 auto; width: 3.1rem !important; height: 1.75rem !important; min-height: 1.75rem !important; margin: 0; padding: 0 !important; border: 1px solid #55708b !important; border-radius: 999px !important; background: #3e5268 !important; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.check-label input::after { content: ''; position: absolute; top: .16rem; left: .17rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 35%); transition: transform .18s ease; }
.check-label input:checked { border-color: var(--green) !important; background: var(--green) !important; }
.check-label input:checked::after { transform: translateX(1.35rem); }
.field input, .field select { width: 100%; min-height: 50px; padding: .75rem .85rem; border: 1px solid #42627e; border-radius: .72rem; background: #0b1723; color: var(--text); font: inherit; font-size: 1rem; }
.field input:focus, .field select:focus { outline: 3px solid rgb(245 189 69 / 70%); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.form-error { padding: .75rem .9rem; border-left: 4px solid var(--red); border-radius: .6rem; background: rgb(255 123 140 / 12%); color: #ffd6dc; }
.result-highlight { padding: 1.2rem; border-color: rgb(56 217 150 / 55%); background: linear-gradient(145deg, rgb(20 54 48 / 95%), rgb(10 28 29 / 98%)); }
.result-highlight h2 { margin-bottom: .35rem; }
.metric-grid { display: grid; gap: .75rem; margin-top: 1rem; }
.metric { padding: .9rem; border: 1px solid rgb(255 255 255 / 10%); border-radius: .8rem; background: rgb(0 0 0 / 15%); }
.metric strong, .metric span { display: block; }
.metric strong { font-size: 1.35rem; color: var(--green); }
.metric span { color: var(--muted); font-size: .92rem; }
.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; }
.comparison table { width: 100%; min-width: 690px; border-collapse: collapse; }
.comparison th, .comparison td { padding: .75rem .7rem; border-bottom: 1px solid rgb(255 255 255 / 9%); text-align: left; vertical-align: top; }
.comparison th { color: #c8e2ff; background: #0d1b2a; font-size: .9rem; }
.comparison td { color: var(--muted); }
.comparison tr:last-child td { border-bottom: 0; }
.comparison .recommended { background: rgb(56 217 150 / 10%); color: var(--text); }
.comparison .recommended td:first-child { border-left: 4px solid var(--green); }
.product-note { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.detail-list { display: grid; gap: .55rem; margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgb(255 255 255 / 9%); }
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 800; text-align: right; }
.calculator-footnote { margin-top: 1rem; color: #9cb0c0; font-size: .9rem; }
.amortisation-options { display: grid; gap: .7rem; margin-top: 1.1rem; padding: 1rem; border: 1px solid rgb(56 217 150 / 28%); border-radius: .9rem; background: rgb(0 0 0 / 14%); }
.amortisation-options h3 { margin: 0; }
.amortisation-option { display: grid; gap: .25rem; padding: .7rem 0; border-top: 1px solid rgb(255 255 255 / 9%); }
.amortisation-option:first-of-type { border-top: 0; }
.amortisation-option span { color: var(--muted); font-size: .9rem; }
.amortisation-option strong { color: var(--green); }
.future-note { border-color: #42627e; background: linear-gradient(145deg, #142235, #0c1724); }
@media (min-width: 680px) {
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calculator-card { padding: 1.4rem; }
}
@media (max-width: 679px) {
  .speicherrechner-page { overflow-x: hidden; }
  .speicherrechner-page main { width: 100%; max-width: 100%; padding-right: .75rem; padding-left: .75rem; }
  .speicherrechner-page .calculator-card { padding: .9rem; }
  .speicherrechner-page .field input, .speicherrechner-page .field select { min-height: 46px; }
  .speicherrechner-page .input-details summary { align-items: flex-start; flex-wrap: wrap; }
  .speicherrechner-page .input-details summary span { flex-basis: 100%; margin-left: 0; text-align: left; }
  .speicherrechner-page .pv-surface-head { align-items: flex-start; flex-direction: column; }
}
