.tk { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 32px; padding: clamp(16px, 3vw, 28px); border: 1.5px solid var(--ink); border-left: 4px solid var(--orange); background: var(--paper); min-width: 0; }
.tk[hidden] { display: none; }
.tk p { margin: 0; }
.tk-titel { margin: 0; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.tk-lead { max-width: 72ch; color: var(--ink-70); }
.tk-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.tk-regler-gruppe { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tk-regler { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; min-width: 0; }
.tk-regler[hidden] { display: none; }
.tk-regler label { font-weight: 700; color: var(--ink); }
.tk-regler output { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.tk-regler input[type="range"] { grid-column: 1 / -1; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: var(--orange); cursor: pointer; }
.tk-regler input[type="range"]:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tk-ergebnis { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 18px 18px; border: 1.5px solid var(--rule); background: var(--paper-2); }
.tk-ergebnis-titel { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.tk-ergebnis dl { display: grid; gap: 8px; margin: 0; }
.tk-ergebnis dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.tk-ergebnis dt { color: var(--ink-70); }
.tk-ergebnis dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.tk-ergebnis .tk-gross { padding: 10px 0 2px; border-top: 1px solid var(--rule); }
.tk-ergebnis .tk-gross dt { color: var(--ink); font-weight: 700; }
.tk-ergebnis .tk-gross dd { font-size: clamp(22px, 4vw, 30px); font-weight: 900; letter-spacing: -.02em; }
.tk-netto { font-size: 13px; color: var(--ink-70); }
.tk-knopf { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
@media (min-width: 860px) {
  .tk-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}
