/* Bundle-Rechner – auf .br-root eingegrenzt */
:root {
  --ink: #1B2430;
  --ink-soft: #46536320;
  --steel: #43566B;
  --steel-deep: #2E3D4D;
  --paper: #F1F3F0;
  --panel: #FFFFFF;
  --rule: #C6CCC8;
  --rule-soft: #E2E6E2;
  --muted: #5F6B66;
  --gain: #0F6B4F;
  --spend: #8A5A2B;
  --warnbg: #FBF3E4;
  --r: 3px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
.br-root {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "tnum" 1; }
.br-root h1, .br-root h2, .br-root h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
.br-root p { margin: 0 0 0.6em; }
.br-root p:last-child { margin-bottom: 0; }
.br-root output { display: inline; }
.br-root .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.br-root .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
.br-root .gate-unused {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center;
  background: var(--ink);
  padding: 24px; }
.br-root .gate-card {
  width: 100%; max-width: 340px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 26px 24px 22px; }
.br-root .gate-title { font-size: 21px; margin-bottom: 4px; }
.br-root .gate-note { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.br-root .gate-error { color: #8C2F26; font-size: 14px; margin-top: 12px; }
.br-root .gate-card .btn { width: 100%; margin-top: 4px; }
.br-root .topbar {
  background: var(--ink);
  color: #EDF0EE;
  border-bottom: 3px solid var(--steel); }
.br-root .topbar-inner {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; padding-bottom: 14px;
  flex-wrap: wrap; }
.br-root .mark {
  width: 15px; height: 15px; flex: none;
  background:
    linear-gradient(to top, #EDF0EE 0 42%, transparent 42%) 0 0 / 3px 100% no-repeat,
    linear-gradient(to top, #EDF0EE 0 70%, transparent 70%) 6px 0 / 3px 100% no-repeat,
    linear-gradient(to top, #6FBF9B 0 100%, transparent 0) 12px 0 / 3px 100% no-repeat; }
.br-root .topbar-title { font-size: 17px; font-weight: 600; }
.br-root .topbar-meta { margin: 0; margin-left: auto; font-size: 13px; color: #A9B4AE; }
.br-root .tabs { display: flex; gap: 4px; padding-top: 0; padding-bottom: 0; overflow-x: auto; }
.br-root .tab {
  color: #C9D1CC; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 10px 14px 9px; border-bottom: 3px solid transparent; margin-bottom: -3px; white-space: nowrap; }
.br-root .tab:hover { color: #fff; }
.br-root .tab[aria-current="page"] { color: #fff; border-bottom-color: #6FBF9B; }
.br-root .tabpanel[hidden] { display: none; }
@media (max-width: 880px) {
.br-root .tabs { flex-wrap: wrap; gap: 0 2px; }
.br-root .tab { font-size: 13.5px; padding: 8px 10px 7px; } }
.br-root .headline-spend { border-left-color: var(--spend); }
.br-root .headline-spend .headline-figure output { color: var(--spend); }
.br-root .segmented button .sub { display: block; font-weight: 400; font-size: 11.5px; }
.br-root .work {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 8px; }
.br-root .results { display: grid; gap: 18px; min-width: 0; }
.br-root .panel {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 18px; }
.br-root .inputs { position: sticky; top: 18px; }
.br-root .panel-title {
  font-size: 13px; font-weight: 600; color: var(--steel);
  letter-spacing: 0.02em;
  padding-bottom: 8px; margin-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft); }
.br-root .panel-title.spaced { margin-top: 26px; }
.br-root h3.panel-title { margin-bottom: 12px; }
.br-root .field { display: block; border: 0; padding: 0; margin: 0 0 14px; }
.br-root .label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.br-root legend.label { padding: 0; }
.br-root .sub { color: #8A948F; }
.br-root input[type="number"], .br-root input[type="password"], .br-root select {
  width: 100%;
  font: inherit; font-size: 15px;
  color: var(--ink);
  background: #FCFDFC;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 7px 9px; }
.br-root select { cursor: pointer; }
.br-root .inline { display: flex; align-items: center; gap: 7px; }
.br-root .inline input { width: 100%; }
.br-root .unit { color: var(--muted); font-size: 14px; }
.br-root .segmented { display: flex; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.br-root .segmented button {
  flex: 1 1 0; font: inherit; font-size: 14px;
  padding: 7px 4px; cursor: pointer;
  background: #FCFDFC; color: var(--steel);
  border: 0; border-left: 1px solid var(--rule); }
.br-root .segmented button:first-child { border-left: 0; }
.br-root .segmented button[aria-checked="true"] { background: var(--steel-deep); color: #fff; }
.br-root .segmented button:disabled { color: #AAB2AE; cursor: not-allowed; background: #F4F6F4; }
.br-root .check { display: flex; gap: 9px; align-items: baseline; font-size: 14px; margin-bottom: 11px; }
.br-root .check input { margin: 0; }
.br-root .hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.br-root .panel-actions { display: flex; gap: 8px; margin-top: 18px; }
.br-root .btn {
  font: inherit; font-size: 14px;
  padding: 7px 14px; cursor: pointer;
  background: #FCFDFC; color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--r); }
.br-root .btn:hover { background: #F0F3F0; }
.br-root .btn-primary { background: var(--steel-deep); border-color: var(--steel-deep); color: #fff; }
.br-root .btn-primary:hover { background: #26333F; }
.br-root :focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }
.br-root .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.br-root .card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 16px 14px; border-top: 4px solid var(--steel); }
.br-root .card-kunde { border-top-color: var(--steel); }
.br-root .card-partner { border-top-color: var(--gain); }
.br-root .card-ek { border-top-color: #9AA5A0; }
.br-root .card-schaden { border-top-color: var(--spend); }
.br-root .card-title { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.br-root .card-figure { margin: 0 0 6px; }
.br-root .card-figure output { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.br-root .card-partner .card-figure output { color: var(--gain); }
.br-root .card-schaden .card-figure output { color: var(--spend); }
.br-root .card-sub { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
.br-root .card-sub b { color: var(--ink); }
.br-root .plain-line { font-size: 15.5px; margin: 0 0 8px; line-height: 1.5; }
.br-root .plain-line.negative { color: var(--spend); }
.br-root .plain-line:last-child { margin-bottom: 0; }
.br-root .field.big .label { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.br-root .field.big .label .sub { font-size: 13px; }
.br-root .field.big input[type="number"], .br-root .field.big select { font-size: 17px; padding: 10px 11px; }
.br-root input[type="range"] { width: 100%; accent-color: var(--steel-deep); }
.br-root .pill { display: inline-block; min-width: 66px; white-space: nowrap; flex: none; text-align: center; font-weight: 600; font-size: 16px; background: var(--steel-deep); color: #fff; border-radius: 14px; padding: 4px 10px; }
.br-root details.more { border-top: 1px solid var(--rule-soft); margin-top: 14px; padding-top: 10px; }
.br-root details.more > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--steel); list-style: none; padding: 4px 0 4px 20px; position: relative; }
.br-root details.more > summary::-webkit-details-marker { display: none; }
.br-root details.more > summary::before { content: "+"; position: absolute; left: 2px; top: 2px; font-weight: 600; }
.br-root details.more[open] > summary::before { content: "–"; }
.br-root details.more[open] > summary { margin-bottom: 12px; }
.br-root details.details-wide { border-top: 0; margin-top: 0; padding-top: 0; }
.br-root details.details-wide > summary { padding: 10px 0 10px 20px; }
.br-root details.details-wide > summary::before { top: 10px; }
.br-root details.details-wide > .panel { margin-bottom: 18px; }
@media (max-width: 880px) {
.br-root .cards { grid-template-columns: minmax(0, 1fr); } }
.br-root .headline { border-left: 3px solid var(--steel); }
.br-root .headline-label { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.br-root .headline-figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.br-root .headline-figure output {
  font-size: 46px; font-weight: 600; line-height: 1.05;
  letter-spacing: -0.02em; }
.br-root .per { font-size: 14px; color: var(--muted); }
.br-root .headline-grid, .br-root .compare-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px; margin: 0;
  border-top: 1px solid var(--rule-soft); padding-top: 14px; }
.br-root .headline-grid dt, .br-root .compare-grid dt { font-size: 12.5px; color: var(--muted); }
.br-root .headline-grid dd, .br-root .compare-grid dd { margin: 1px 0 0; font-size: 18px; font-weight: 600; }
.br-root dd.good { color: var(--gain); }
.br-root dd.cost { color: var(--spend); }
.br-root .warn {
  margin-top: 14px; padding: 9px 11px;
  background: var(--warnbg); border-left: 3px solid #C08A2E;
  font-size: 13.5px; }
.br-root .bars { display: grid; gap: 10px; margin-bottom: 14px; }
.br-root .bar-row {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) 118px;
  align-items: center; gap: 12px; }
.br-root .bar-label { margin: 0; font-size: 13.5px; color: var(--muted); }
.br-root .bar-track { background: #EDF0ED; height: 24px; border-radius: 2px; overflow: hidden; }
.br-root .bar { height: 100%; width: 0; }
.br-root .bar-kauf { background: #B08A5E; }
.br-root .bar-bundle { background: var(--steel); }
.br-root .bar-value { margin: 0; text-align: right; font-size: 15px; font-weight: 600; }
.br-root .delta {
  font-size: 15px; font-weight: 600; color: var(--gain);
  margin: 12px 0 0; }
.br-root .delta.negative { color: var(--spend); }
.br-root .vs { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 4px; }
.br-root .vs th, .br-root .vs td { padding: 7px 8px; border-bottom: 1px solid var(--rule-soft); text-align: left; vertical-align: top; }
.br-root .vs thead th { font-size: 13px; font-weight: 600; border-bottom: 2px solid var(--rule); padding-bottom: 6px; }
.br-root .vs th.col-kauf { color: var(--spend); }
.br-root .vs th.col-bundle { color: var(--steel); }
.br-root .vs .num { text-align: right; white-space: nowrap; font-feature-settings: "tnum" 1; }
.br-root .vs td:first-child { color: var(--muted); }
.br-root .vs tr.strong td { font-weight: 600; background: #F5F7F5; }
.br-root .vs tr.strong td:first-child { color: var(--ink); }
.br-root .vs td.good { color: var(--gain); }
.br-root .vs td.cost { color: var(--spend); }
.br-root .vs td.win { color: var(--gain); font-weight: 600; }
.br-root .chart svg { width: 100%; height: auto; display: block; }
.br-root .chart .ln-kauf { stroke: #B08A5E; stroke-width: 2.5; fill: none; }
.br-root .chart .ln-bundle { stroke: var(--steel); stroke-width: 2.5; fill: none; }
.br-root .chart .ln-marge { stroke: var(--gain); stroke-width: 2.5; fill: none; }
.br-root .chart .ar-marge { fill: var(--gain); opacity: 0.12; }
.br-root .chart .lbl-marge { fill: var(--gain); }
.br-root .chart .grid { stroke: var(--rule-soft); stroke-width: 1; }
.br-root .chart .axis { fill: var(--muted); font-size: 11px; }
.br-root .chart .lbl { font-size: 12px; font-weight: 600; }
.br-root .chart .lbl-kauf { fill: #8A5A2B; }
.br-root .chart .lbl-bundle { fill: var(--steel); }
.br-root .field .hint { display: block; }
.br-root .vers th, .br-root .vers td { vertical-align: top; }
.br-root .vers td:first-child { color: var(--ink); }
.br-root .vers td.st-ok { color: var(--gain); font-weight: 600; white-space: nowrap; }
.br-root .vers td.st-add { color: var(--steel); font-weight: 600; white-space: nowrap; }
.br-root .vers td.st-gap { color: var(--spend); font-weight: 600; white-space: nowrap; }
.br-root .box-note { margin-top: 18px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--steel); border-radius: var(--r); font-size: 14.5px; max-width: 80ch; }
@media (max-width: 560px) {
.br-root .vers td.st-ok, .br-root .vers td.st-add, .br-root .vers td.st-gap { white-space: normal; } }
.br-root .stack { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.br-root .stack th, .br-root .stack td {
  text-align: left; padding: 6px 8px;
  border-bottom: 1px solid var(--rule-soft); }
.br-root .stack thead th { color: var(--muted); font-size: 12.5px; font-weight: 600; border-bottom: 1px solid var(--rule); }
.br-root .stack .num { text-align: right; white-space: nowrap; }
.br-root .stack tr.total td { font-weight: 600; border-top: 1px solid var(--rule); border-bottom: 0; }
.br-root .stack tr.sub-row td { color: var(--muted); }
.br-root .offer {
  background: #F7F9F7; border: 1px solid var(--rule-soft); border-radius: var(--r);
  padding: 12px; font-size: 14px; margin-bottom: 12px; }
.br-root .copied { font-size: 13.5px; color: var(--gain); margin-left: 10px; }
.br-root .faq { padding-top: 26px; padding-bottom: 10px; }
.br-root .section-title { font-size: 24px; margin-bottom: 6px; }
.br-root .faq-intro { color: var(--muted); font-size: 14.5px; max-width: 68ch; margin-bottom: 18px; }
.br-root .qa { border-top: 1px solid var(--rule); }
.br-root .qa:last-of-type { border-bottom: 1px solid var(--rule); }
.br-root .qa summary {
  cursor: pointer; padding: 12px 0 12px 26px;
  font-size: 16px; font-weight: 600;
  list-style: none; position: relative; }
.br-root .qa summary::-webkit-details-marker { display: none; }
.br-root .qa summary::before {
  content: "+"; position: absolute; left: 4px; top: 11px;
  color: var(--steel); font-weight: 600; }
.br-root .qa[open] summary::before { content: "–"; }
.br-root .qa-body { padding: 0 0 16px 26px; max-width: 74ch; font-size: 15px; }
.br-root .proof { color: var(--steel); font-size: 14px; }
.br-root .foot { padding-top: 22px; padding-bottom: 34px; color: var(--muted); font-size: 12.5px; max-width: 90ch; }
.br-root .foot-ver { margin-top: 6px; }
@media (max-width: 880px) {
.br-root .work { grid-template-columns: minmax(0, 1fr); }
.br-root .inputs { position: static; }
.br-root .headline-figure output { font-size: 38px; }
.br-root .bar-row { grid-template-columns: minmax(0, 1fr) 108px; }
.br-root .bar-label { grid-column: 1 / -1; margin-bottom: -4px; } }
@media (max-width: 560px) {
.br-root .headline-grid, .br-root .compare-grid { grid-template-columns: minmax(0, 1fr); }
.br-root .topbar-meta { margin-left: 0; flex-basis: 100%; } }
@media (max-width: 880px) {
.br-root input[type="number"], .br-root input[type="password"], .br-root select { font-size: 16px; min-height: 44px; }
.br-root .segmented button { min-height: 44px; font-size: 15px; }
.br-root .btn { min-height: 44px; padding: 9px 16px; }
.br-root .check input { width: 20px; height: 20px; }
.br-root main.work { padding-bottom: 84px; }
.br-root .vs th, .br-root .vs td { padding: 7px 4px; font-size: 12.5px; } }
.br-root .mobilebar { display: none; }
@media (max-width: 880px) {
.br-root .mobilebar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--ink); color: #EDF0EE; text-decoration: none;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 14px;
    border-top: 3px solid var(--steel); }
.br-root .mb-item { flex: 1 1 0; min-width: 0; }
.br-root .mb-label { display: block; font-size: 11px; color: #A9B4AE; }
.br-root .mb-value { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) {
* { transition: none !important; animation: none !important; } }
@media print {
.br-root { background: #fff; font-size: 11pt; }
.br-root .topbar { background: #fff; color: #000; border-bottom: 1px solid #000; }
.br-root .topbar-meta { color: #444; }
.br-root .mark, .br-root .panel-actions, .br-root #btn-copy, .br-root .copied, .br-root .gate, .br-root .mobilebar { display: none !important; }
.br-root .work { grid-template-columns: 1fr; gap: 14px; }
.br-root .panel { border: 1px solid #999; break-inside: avoid; }
.br-root .faq { break-before: page; }
.br-root .qa { break-inside: avoid; }
.br-root .qa-body { display: block !important; }
.br-root details:not([open]) .qa-body { display: block !important; } }

.br-login { max-width: 360px; margin: 24px auto; background:#fff; border:1px solid #C6CCC8; border-radius:3px; padding:22px; font-family:"Segoe UI",system-ui,sans-serif; }
.br-login h2 { margin:0 0 4px; font-size:20px; }
.br-login p { color:#5F6B66; font-size:14px; margin:0 0 14px; }
.br-login input[type="password"] { width:100%; font-size:16px; padding:8px 9px; border:1px solid #C6CCC8; border-radius:3px; margin-bottom:10px; min-height:44px; }
.br-login button { width:100%; font-size:14px; padding:10px 14px; background:#2E3D4D; color:#fff; border:0; border-radius:3px; cursor:pointer; min-height:44px; }
.br-login .err { color:#8C2F26; }
body.br-fullscreen { margin:0; background:#F1F3F0; }
body.br-fullscreen .br-root { min-height:100vh; }
body.br-fullscreen.admin-bar .br-root .inputs { top: 50px; }
.br-root .tab { color:#C9D1CC; }
@media (max-width: 880px) { .br-root .work { padding-top:16px; gap:16px; } .br-root .panel { padding:15px; } .br-root .wrap { padding-left:14px; padding-right:14px; } }
