/* ===== ROAS-Rechner (nur auf /roas-rechner geladen) =====
   Orientiert an den Tool-Seiten von brex.com: flache Karten mit Haarlinie,
   ruhige Sans-Typografie, genau ein Akzent (Koralle) für Aktionen. */

/* Hero: Seitenstandard (page-hero on-dark), nur etwas kompakter */
.rc-hero { padding-bottom: clamp(44px, 6vw, 72px); }

/* Rechner-Bereich */
.rc-sec { background: var(--creme); padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.rc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(20px, 2.6vw, 32px); align-items: start; }

.rc-card { background: var(--kreide); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 48, 58, .08); padding: clamp(20px, 2.4vw, 24px); }
.rc-card-h { margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-family: var(--font-body); text-transform: none; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; hyphens: manual; color: var(--petrol); }
.rc-form { container-type: inline-size; }

/* Zeile: Beschriftung links, Eingabe rechts */
.rc-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 10px 28px; align-items: start; padding-block: 22px; border-bottom: 1px solid var(--line); }
.rc-r-c { display: grid; gap: 10px; min-width: 0; }
.rc-label { display: block; font-size: 1rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: var(--petrol); }
.rc-hint { margin: 4px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--text-3); }
.rc-out { justify-self: end; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--petrol); }

/* Zahlenfeld */
.rc-num { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--kreide); transition: border-color .15s, box-shadow .15s; }
.rc-num:hover { border-color: rgba(16, 48, 58, .5); }
.rc-num:focus-within { border-color: var(--petrol); box-shadow: 0 0 0 1px var(--petrol); }
.rc-num input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; color: var(--petrol); padding: 10px 0; font-variant-numeric: tabular-nums; }
.rc-num input::placeholder { color: var(--text-3); font-weight: 400; }
.rc-num > span { font-size: .875rem; color: var(--text-3); }

/* Regler */
.rc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
.rc-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--petrol) var(--p), rgba(16, 48, 58, .16) var(--p)); }
.rc-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(16, 48, 58, .16); }
.rc-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--petrol); }
.rc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--petrol); border: 3px solid var(--kreide); box-shadow: 0 0 0 1px var(--petrol); }
.rc-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--petrol); border: 3px solid var(--kreide); box-shadow: 0 0 0 1px var(--petrol); }
.rc-range:focus-visible { outline: 2px solid var(--petrol); outline-offset: 4px; border-radius: 4px; }

/* Segment-Schalter */
.rc-seg { display: flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--kreide); }
.rc-chip { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 6px 4px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--petrol); font-size: .875rem; line-height: 1.2; transition: background .15s, color .15s; }
.rc-chip:last-child { border-right: 0; }
.rc-chip b { font-weight: 500; font-variant-numeric: tabular-nums; }
.rc-chip small { font-size: .6875rem; color: var(--text-3); white-space: nowrap; }
.rc-chip:hover { background: var(--creme); }
.rc-chip[aria-pressed="true"] { background: var(--petrol); color: var(--kreide); }
.rc-chip[aria-pressed="true"] small { color: rgba(250, 246, 240, .72); }
.rc-chip:focus-visible { outline: 2px solid var(--petrol); outline-offset: -3px; }

/* Plus/Minus */
.rc-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--kreide); }
.rc-stepper button { border: 0; background: transparent; font-size: 1.125rem; color: var(--petrol); min-height: 44px; }
.rc-stepper button:hover { background: var(--creme); }
.rc-stepper .rc-num { border: 0; border-inline: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.rc-stepper .rc-num input { text-align: right; }

/* Hinweis am Feld: nur Text, keine Farbfläche */
.rc-warn { display: none; grid-column: 1 / -1; gap: 8px; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: var(--koralle-text); }
.rc-warn.is-on { display: flex; }
.rc-warn svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rc-warn.is-info { color: var(--text-2); }

/* Erweitert */
.rc-adv summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.rc-adv summary::-webkit-details-marker { display: none; }
.rc-adv summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: 4px; }
.rc-adv[open] summary::after { transform: rotate(225deg); }
.rc-assume { margin: 20px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--text-3); }

/* Ergebnis-Karte */
.rc-result { position: sticky; top: calc(var(--header-h) + 24px); }
.rc-main { padding-block: 20px; border-bottom: 1px solid var(--line); }
.rc-k { margin: 0; font-size: .875rem; color: var(--text-3); }
.rc-big { margin: 6px 0 0; }
.rc-big strong { font-family: var(--font-giga); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--petrol); }
.rc-big strong::after { content: " ROAS"; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.375rem; letter-spacing: 0; color: var(--koralle-text); }
.rc-sub { margin: 12px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.rc-status { margin: 10px 0 0; font-size: .8125rem; color: var(--text-3); }
.rc-kpis { margin: 0; }
.rc-kpis > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); }
.rc-kpis dt { grid-column: 1; font-size: .9375rem; color: var(--petrol); }
.rc-kpis small { grid-column: 1; grid-row: 2; font-size: .75rem; line-height: 1.4; color: var(--text-3); }
.rc-kpis dd { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--petrol); }
.rc-verdict { padding-block: 18px; display: grid; gap: 10px; }
.rc-verdict-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 12px; align-items: center; }
.rc-verdict label { font-size: .9375rem; color: var(--petrol); line-height: 1.3; }
.rc-verdict label span { color: var(--text-3); }
.rc-verdict-out { margin: 0; min-height: 2.6em; font-size: .875rem; line-height: 1.5; color: var(--text-2); }
.rc-verdict-out b { color: var(--petrol); font-weight: 600; }
.rc-btn { width: 100%; }

/* Abschnitte unter dem Rechner */
.rc-detail { background: var(--kreide); padding-block: clamp(56px, 7vw, 96px); }
.rc-how { background: var(--creme); padding-block: clamp(56px, 7vw, 96px); }
.rc-prose { max-width: 768px; margin-inline: auto; }
.rc-prose h2 { margin: 0; font-family: var(--font-body); text-transform: none; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; hyphens: manual; color: var(--petrol); }
.rc-tips-wrap { margin-top: clamp(40px, 5vw, 64px); }

/* Aufteilung: ein Streifen mit Abschnitten */
.rc-viz { max-width: 960px; margin-inline: auto; background: var(--creme); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.rc-viz-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .8125rem; color: var(--text-3); }
.rc-viz-top b { color: var(--petrol); font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-bars { display: flex; gap: 4px; height: clamp(72px, 9vw, 96px); }
.rc-sg, .rc-row, .rc-dot { --c: #B5CBC6; --t: var(--petrol); }
[data-k="vat"] { --c: #DCE7E4; }
[data-k="ret"] { --c: #CCDCD8; }
[data-k="cogs"] { --c: #B6CCC7; }
[data-k="fee"] { --c: #A1BCB6; }
[data-k="ship"] { --c: #8EADA6; }
[data-k="oth"] { --c: #7C9E96; }
[data-k="tar"] { --c: var(--petrol); --t: var(--kreide); }
[data-k="ad"] { --c: var(--koralle); --t: var(--petrol); }
.rc-sg { flex: 1 1 0; min-width: 5px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 0; border: 0; border-radius: 12px; background: var(--c); color: var(--t); text-align: left; overflow: hidden; cursor: pointer; transition: flex-grow .6s var(--ease), opacity .2s, transform .25s var(--ease), box-shadow .25s; }
.rc-sg[data-k="tar"] { background-image: repeating-linear-gradient(135deg, rgba(250, 246, 240, .09) 0 6px, transparent 6px 12px); }
.rc-sg[hidden] { display: none; }
.rc-sg-l, .rc-sg-a { display: block; max-width: 100%; padding-inline: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-sg-l { padding-top: 11px; font-size: .75rem; font-weight: 500; opacity: .8; }
.rc-sg-a { padding-bottom: 11px; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-sg:not(.is-wide) .rc-sg-l, .rc-sg:not(.is-wide) .rc-sg-a { display: none; }
.rc-sg:hover, .rc-sg.is-on { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16, 48, 58, .16); }
.rc-sg.is-dim { opacity: .38; }
.rc-sg:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }
.rc-viz:not(.is-in) .rc-sg { opacity: 0; }
.rc-viz.is-in .rc-sg { animation: rcSg .55s var(--ease) backwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes rcSg { from { opacity: 0; transform: translateY(14px) scaleY(.82); } }

.rc-braces { position: relative; height: 58px; margin-top: 10px; }
.rc-brace { position: absolute; left: 0; top: 0; height: 10px; min-width: 6px; border: 1.5px solid var(--line-strong); border-top: 0; border-radius: 0 0 8px 8px; transition: left .6s var(--ease), width .6s var(--ease); }
.rc-brace.is-m { border-color: var(--koralle); }
.rc-brace[hidden] { display: none; }
.rc-brace span { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .8125rem; line-height: 1.35; text-align: center; color: var(--text-2); }
.rc-brace b { display: block; color: var(--petrol); font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-brace.is-narrow span { left: auto; right: 0; transform: none; text-align: right; }

.rc-read { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: baseline; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.rc-read-h { grid-column: 1; display: grid; gap: 2px; }
.rc-read-n { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--petrol); }
.rc-read-p { font-size: .8125rem; color: var(--text-3); }
.rc-read-v { grid-column: 2; grid-row: 1; font-family: var(--font-giga); font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--petrol); }
.rc-read-d { grid-column: 1 / -1; margin: 10px 0 0; min-height: 3.1em; font-size: .9375rem; line-height: 1.55; color: var(--text-2); max-width: 60ch; }

/* Tabelle unter dem Streifen */
.rc-wf { margin-top: 20px; border-bottom: 1px solid var(--line-strong); }
.rc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 11px 10px; margin-inline: -10px; border-top: 1px solid var(--line-strong); border-radius: 8px; font-size: .9375rem; transition: background .15s; }
.rc-l { display: flex; align-items: center; color: var(--text-2); }
.rc-dot { flex: none; width: 10px; height: 10px; margin-right: 12px; border-radius: 50%; background: var(--c); }
.rc-row[data-k="g"] .rc-dot, .rc-row[data-k="cm"] .rc-dot { display: none; }
.rc-row[data-k="g"] .rc-l, .rc-row[data-k="cm"] .rc-l { padding-left: 0; }
.rc-v { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--petrol); white-space: nowrap; }
.rc-row.is-minus .rc-v { color: var(--text-2); }
.rc-row.is-total .rc-l, .rc-row.is-result .rc-l, .rc-row.is-final .rc-l { color: var(--petrol); font-weight: 600; }
.rc-row.is-final .rc-v { font-size: 1.0625rem; font-weight: 600; color: var(--petrol); }
.rc-row.is-neg .rc-v { color: var(--koralle-text); }
.rc-row.is-hl { background: rgba(250, 246, 240, .9); }
.rc-row.is-hl .rc-l, .rc-row.is-hl .rc-v { color: var(--petrol); }
.rc-row[hidden] { display: none; }

/* Einordnung */
.rc-tips { margin-top: 8px; }
.rc-tip { display: block; padding: 22px 0; border-top: 1px solid var(--line); animation: rcIn .35s var(--ease) both; }
.rc-tip:first-child { border-top: 0; }
.rc-tip-ic { display: none; }
.rc-tip h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: var(--petrol); }
.rc-tip p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.rc-tip.is-warn h3::before { content: "Prüfen: "; color: var(--koralle-text); font-weight: 600; }
.rc-tip a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.rc-tip b { color: var(--petrol); font-weight: 600; }
.rc-tip.is-key { margin-bottom: 8px; padding: 22px 24px; border-radius: 12px; background: var(--creme); border-top: 0; }
@keyframes rcIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Erklärung */
.rc-steps { max-width: 768px; margin: 0 auto;  padding: 0; list-style: none; counter-reset: s; display: grid; }
.rc-steps li { counter-increment: s; padding: 20px 0 20px 40px; border-top: 1px solid var(--line-strong); position: relative; }
.rc-steps li::before { content: counter(s) "."; position: absolute; left: 0; top: 20px; font-size: 1rem; font-weight: 600; color: var(--petrol); }
.rc-steps h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.rc-steps p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.rc-steps code { display: block; margin-top: 8px; font-family: var(--font-body); font-size: .875rem; color: var(--petrol); }

/* Mobile Mini-Leiste */
.rc-dock { display: none; }

@container (max-width: 560px) {
  .rc-r { grid-template-columns: minmax(0, 1fr); }
  .rc-out { justify-self: start; }
}
@media (max-width: 960px) {
  .rc-grid { grid-template-columns: minmax(0, 1fr); }
  .rc-result { position: relative; top: auto; }
  .rc-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--kreide); border-top: 1px solid var(--line-strong); box-shadow: 0 -2px 8px rgba(16, 48, 58, .08); transform: translateY(110%); transition: transform .3s var(--ease); }
  .rc-dock.is-on { transform: none; }
  .rc-dock small { display: block; font-size: .75rem; color: var(--text-3); }
  .rc-dock strong { font-family: var(--font-giga); font-size: 1.25rem; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--petrol); }
}
@media (max-width: 720px) {
  .rc-card { padding: 18px 16px; border-radius: 14px; }
  .rc-card-h { font-size: 1.25rem; padding-bottom: 16px; }
  .rc-r { padding-block: 18px; }
  .rc-verdict-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rc-tip.is-key { padding: 18px 16px; }
  .rc-sg-l { display: none; }
  .rc-sg { justify-content: flex-end; }
  .rc-sg:not(.is-big) .rc-sg-a { display: none; }
  .rc-sg-l, .rc-sg-a { padding-inline: 10px; }
  .rc-read-d { min-height: 4.8em; }
  .rc-brace span { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .rc-dock { transition: none; } .rc-tip { animation: none; } }

/* ===== Lead-Rechner ===== */
[data-if][hidden], .lc-leg[hidden], .rc-pair[hidden] { display: none !important; }
.rc-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.rc-chip small { white-space: nowrap; }
.lc-big strong::after { content: none; }
.lc-viz-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.lc-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; width: 100%; max-width: 300px; }
.lc-dots i { aspect-ratio: 1; border-radius: 6px; background: #CCDCD8; transition: opacity .2s, transform .25s var(--ease); }
.lc-dots i.k-t { background: #6F8F98; }
.lc-dots i.k-c { background: var(--koralle); }
.lc-dots i.is-dim { opacity: .22; }
.lc-dots i.is-on { transform: scale(1.08); }
.lc-viz:not(.is-in) .lc-dots i { opacity: 0; }
.lc-viz.is-in .lc-dots i { animation: rcDot .45s var(--ease) backwards; animation-delay: calc(var(--i) * 9ms); }
@keyframes rcDot { from { opacity: 0; transform: scale(.4); } }
.lc-legend { display: grid; }
.lc-leg { --sw: #CCDCD8; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 12px; margin-inline: -12px; border: 0; border-top: 1px solid var(--line-strong); border-radius: 10px; background: transparent; text-align: left; color: var(--petrol); cursor: pointer; transition: opacity .2s, background .2s; }
.lc-leg:first-child { border-top: 0; }
.lc-leg[data-k="termin"] { --sw: #6F8F98; }
.lc-leg[data-k="kunde"] { --sw: var(--koralle); }
.lc-leg-sw { width: 14px; height: 14px; border-radius: 4px; background: var(--sw); }
.lc-leg-t { display: grid; gap: 1px; min-width: 0; }
.lc-leg-t b { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.lc-leg-t small { font-size: .8125rem; color: var(--text-3); }
.lc-leg-v { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lc-leg:hover, .lc-leg.is-on { background: var(--kreide); }
.lc-leg.is-dim { opacity: .45; }
.lc-leg:focus-visible { outline: 2px solid var(--petrol); outline-offset: 0; }
.lc-wf .rc-row[data-k] { }
@media (max-width: 720px) {
  .lc-viz-body { grid-template-columns: minmax(0, 1fr); }
  .lc-dots { max-width: 260px; margin-inline: auto; }
  .rc-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .lc-viz.is-in .lc-dots i { animation: none; } }
.rc-detail .b-head h2, .rc-how .b-head h2 { hyphens: manual; }

/* ===== Budget-Rechner ===== */
.rc-select { position: relative; }
.rc-select select { width: 100%; min-height: 44px; padding: 0 40px 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--kreide); font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; color: var(--petrol); -webkit-appearance: none; appearance: none; cursor: pointer; }
.rc-select select:hover { border-color: rgba(16, 48, 58, .5); }
.rc-select select:focus-visible { outline: 0; border-color: var(--petrol); box-shadow: 0 0 0 1px var(--petrol); }
.rc-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--petrol); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.bd-chain { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.bd-tile { display: grid; align-content: center; gap: 2px; min-width: 132px; padding: 14px 16px; border-radius: 14px; background: var(--kreide); transition: transform .25s var(--ease), box-shadow .25s; }
.bd-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 48, 58, .1); }
.bd-tile b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--petrol); }
.bd-tile small { font-size: .75rem; line-height: 1.4; color: var(--text-3); }
.bd-tile.is-end { background: var(--koralle); }
.bd-tile.is-end b, .bd-tile.is-end small { color: var(--petrol); }
.bd-conn { display: flex; align-items: center; gap: 8px; padding-inline: 2px; font-size: .8125rem; line-height: 1.3; color: var(--text-2); }
.bd-conn i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--kreide); font-style: normal; font-weight: 600; color: var(--petrol); }
.bd-conn span { white-space: nowrap; }
.bd-step { display: flex; align-items: stretch; gap: 10px; }

.bd-cor { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.bd-track { position: relative; height: 14px; margin: 60px 0 72px; border-radius: 999px; background: rgba(16, 48, 58, .1); }
.bd-fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #BFD3CF, var(--koralle)); transition: left .6s var(--ease), width .6s var(--ease); }
.bd-mk { position: absolute; top: 50%; width: 0; height: 0; padding: 0; border: 0; background: none; transition: left .6s var(--ease), opacity .2s; cursor: pointer; }
.bd-mk i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--kreide); border: 3px solid var(--petrol); transition: transform .2s var(--ease); }
.bd-mk.is-base i { left: -12px; top: -12px; width: 24px; height: 24px; background: var(--koralle); }
.bd-mk.is-on i { transform: scale(1.2); }
.bd-mk.is-dim { opacity: .4; }
.bd-mk:focus-visible i { outline: 2px solid var(--petrol); outline-offset: 3px; }
.bd-mk-l { position: absolute; white-space: nowrap; font-size: .8125rem; line-height: 1.3; color: var(--text-2); text-align: left; }
.bd-mk-l small { display: block; font-size: .75rem; color: var(--text-3); }
.bd-mk-l b { display: block; font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; }
.bd-mk[data-k="opt"] .bd-mk-l { top: 20px; right: -4px; text-align: right; }
.bd-mk[data-k="cons"] .bd-mk-l { top: 20px; left: -4px; }
.bd-mk[data-k="base"] .bd-mk-l { bottom: 24px; left: 0; transform: translateX(-50%); text-align: center; }
.bd-mk[data-k="base"] .bd-mk-l b { font-size: 1.125rem; }
.bd-cor-d { margin: 0; min-height: 3.1em; font-size: .9375rem; line-height: 1.55; color: var(--text-2); max-width: 64ch; }

.bd-tbl { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.bd-tr { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.bd-tr > span:first-child { color: var(--text-2); }
.bd-tr > span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; color: var(--petrol); }
.bd-tr .is-base { font-weight: 600; }
.bd-tr > span.is-bad { color: var(--koralle-text); }
.bd-tr.is-head > span { font-size: .8125rem; color: var(--text-3); font-weight: 500; }
.bd-tr.is-key > span:first-child { color: var(--petrol); font-weight: 600; }
.bd-tr.is-key > span:not(:first-child) { font-weight: 600; }
.bd-tr i { font-style: normal; }
.bd-tr i.sh { display: none; }
@media (max-width: 720px) {
  .bd-tile { min-width: 0; flex: 1 1 calc(50% - 5px); }
  .bd-chain { flex-direction: column; align-items: stretch; gap: 6px; }
  .bd-tile { flex: none; }
  .bd-step { flex-direction: column; gap: 6px; }
  .bd-conn { justify-content: flex-start; padding-left: 14px; }
  .bd-tr { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 6px; font-size: .8125rem; }
  .bd-tr i.lg { display: none; }
  .bd-tr i.sh { display: inline; }
}

.rc-next { display: block; margin-top: 12px; text-align: center; font-size: .875rem; font-weight: 500; color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.rc-next:hover { text-decoration-color: var(--koralle); }
