.tcm-roi{--tcm-red:#ab1920;--tcm-ink:#1f1f1f;--tcm-muted:#595959;--tcm-line:#dedede;font-family:Arial,Helvetica,sans-serif;color:var(--tcm-ink);font-size:16px;line-height:1.5;max-width:1060px;margin:0 auto;background:#fff;padding:clamp(18px,3vw,36px);border:1px solid var(--tcm-line);border-radius:12px;box-sizing:border-box;text-align:left}
.tcm-roi *{box-sizing:border-box}.tcm-roi [hidden]{display:none!important}.tcm-roi .tcm-roi-eyebrow{color:var(--tcm-red);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.tcm-roi h2{font-family:inherit;font-size:clamp(25px,3vw,35px);font-weight:700;line-height:1.18;margin:10px 0 14px;color:var(--tcm-ink)}.tcm-roi p{margin:0 0 16px}.tcm-roi-head>p{max-width:760px;color:var(--tcm-muted)}
.tcm-roi .tcm-roi-modes{display:flex;gap:10px;margin:26px 0;flex-wrap:wrap}.tcm-roi button{font-family:inherit;font-size:15px;line-height:1.4;border:1px solid var(--tcm-red);padding:12px 17px;border-radius:5px;background:#fff;color:var(--tcm-red);font-weight:700;box-shadow:none;text-shadow:none;cursor:pointer;white-space:normal}.tcm-roi button:hover{background:#f8ecec;color:var(--tcm-red)}.tcm-roi .tcm-roi-modes button.is-active{background:var(--tcm-red);color:#fff}.tcm-roi :is(button,input,select,summary):focus-visible{outline:3px solid #1f1f1f;outline-offset:3px}
.tcm-roi fieldset{margin:0 0 28px;padding:20px 0 0;border:0;border-top:1px solid var(--tcm-line);min-width:0}.tcm-roi legend{font-size:20px;font-weight:700;padding:0 12px 0 0;float:none;width:auto;max-width:100%}.tcm-roi legend>span:not([hidden]){display:inline-flex;background:var(--tcm-red);color:#fff;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;font-size:15px;margin-right:7px}.tcm-roi .tcm-roi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}.tcm-roi label{font-weight:600;font-size:15px;display:block;min-width:0}.tcm-roi input[type=number],.tcm-roi select{font-family:inherit;font-size:18px;line-height:1.4;height:48px;width:100%;border:1px solid #aaa;border-radius:5px;background:#fff;color:#1f1f1f;padding:9px 12px;margin:7px 0 0;box-shadow:none;min-width:0}.tcm-roi input::placeholder{font-size:14px;color:#686868}.tcm-roi small{display:block;font-weight:400;font-size:13px;line-height:1.45;color:var(--tcm-muted);margin-top:6px}.tcm-roi .tcm-roi-input{position:relative;display:block}.tcm-roi .tcm-roi-input input{padding-right:77px}.tcm-roi .tcm-roi-input>b{position:absolute;right:12px;top:20px;color:var(--tcm-muted);font-size:14px;font-weight:400}.tcm-roi .tcm-roi-check{align-self:center;padding:12px;border:1px solid var(--tcm-line);border-radius:5px}.tcm-roi .tcm-roi-check input{width:20px;height:20px;vertical-align:middle;margin-right:8px;accent-color:var(--tcm-red)}
.tcm-roi .tcm-roi-note{font-size:13px;line-height:1.55;color:var(--tcm-muted);margin:0 0 18px}.tcm-roi .tcm-roi-grid+.tcm-roi-note{margin-top:18px}.tcm-roi details{border-top:1px solid var(--tcm-line);padding-top:14px;margin-top:22px}.tcm-roi summary{font-weight:700;font-size:15px;cursor:pointer;padding:5px 0;color:var(--tcm-red)}.tcm-roi details[open]>summary{margin-bottom:16px}.tcm-roi .tcm-roi-error{border-left:4px solid var(--tcm-red);padding:14px;background:#fbeeee;color:#7f1116}.tcm-roi .tcm-roi-results{border:1px solid #d8b4b5;background:#fdf8f8;padding:24px;border-radius:8px;margin-top:20px}.tcm-roi .tcm-roi-result-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;font-weight:600;margin-bottom:23px}.tcm-roi .tcm-roi-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:22px}.tcm-roi .tcm-roi-stats>div>span{font-size:13px;display:block;color:var(--tcm-muted)}.tcm-roi .tcm-roi-stats strong{font-size:clamp(21px,2.8vw,29px);display:block;line-height:1.2;margin-top:8px;color:var(--tcm-red);overflow-wrap:anywhere}.tcm-roi .tcm-roi-stats small{font-size:12px}.tcm-roi .tcm-roi-table{overflow-x:auto}.tcm-roi table{font-family:inherit;width:100%;font-size:13px;border-collapse:collapse;border:0;background:transparent}.tcm-roi table caption{text-align:left;margin:0 0 10px;font-size:13px;color:var(--tcm-muted)}.tcm-roi th,.tcm-roi td{border:0;border-bottom:1px solid var(--tcm-line);text-align:right;padding:10px 8px;font-weight:400;vertical-align:top}.tcm-roi th{font-weight:700}.tcm-roi td:first-child,.tcm-roi th:first-child{text-align:left;min-width:150px}.tcm-roi table+.tcm-roi-note{margin-top:12px}.tcm-roi dl{margin:20px 0}.tcm-roi dl>div{display:flex;gap:20px;justify-content:space-between;border-bottom:1px solid var(--tcm-line);padding:10px 0}.tcm-roi dt{font-size:14px;max-width:75%;font-weight:400}.tcm-roi dd{font-weight:700;font-size:15px;text-align:right;margin:0}.tcm-roi .tcm-roi-footer{margin-top:22px}.tcm-roi .tcm-roi-footer p{font-size:12px;color:var(--tcm-muted)}.tcm-roi .tcm-roi-footer button{font-size:13px;padding:9px 13px;border-color:#888;color:#444}
@media(max-width:650px){.tcm-roi .tcm-roi-grid{grid-template-columns:1fr;gap:20px}.tcm-roi .tcm-roi-stats{grid-template-columns:1fr}.tcm-roi .tcm-roi-stats>div{border-bottom:1px solid #ead7d8;padding-bottom:15px}.tcm-roi .tcm-roi-stats>div:last-child{border-bottom:0}.tcm-roi .tcm-roi-results{padding:18px}.tcm-roi .tcm-roi-modes{flex-direction:column}.tcm-roi legend{font-size:18px}.tcm-roi dl>div{flex-direction:column;gap:5px}.tcm-roi dt{max-width:100%}.tcm-roi dd{text-align:left}}

/* Prüffassung 0.2: kompaktere Ansicht und unveränderte Markenschreibweise. */
.tcm-roi{padding:22px;font-size:15px;line-height:1.4}
.tcm-roi .tcm-roi-eyebrow{text-transform:none;letter-spacing:.02em}
.tcm-roi h2{width:fit-content;max-width:100%;font-size:clamp(24px,2.7vw,32px);margin:7px 0 8px}
.tcm-roi .tcm-roi-copy{max-width:var(--tcm-copy-width,680px)}
.tcm-roi .tcm-roi-head>p{font-size:14px;margin-bottom:12px}
.tcm-roi .tcm-roi-modes{margin:15px 0;gap:8px}
.tcm-roi button{padding:9px 13px}
.tcm-roi fieldset{margin-bottom:18px;padding-top:13px}
.tcm-roi legend{font-size:18px}
.tcm-roi .tcm-roi-grid{gap:14px 22px}
.tcm-roi input[type=number],.tcm-roi select{height:41px;font-size:16px;padding:7px 10px;margin-top:5px}
.tcm-roi .tcm-roi-input input{padding-right:72px}
.tcm-roi .tcm-roi-input>b{top:15px}
.tcm-roi .tcm-roi-note{margin-bottom:12px;font-size:12px}
.tcm-roi small{font-size:12px;margin-top:4px}
.tcm-roi .tcm-roi-assumption{align-self:center;font-size:14px;line-height:1.45;margin:0;padding-top:10px;max-width:460px}
.tcm-roi details{margin-top:14px;padding-top:10px}
.tcm-roi .tcm-roi-results{padding:18px;margin-top:10px}
.tcm-roi .tcm-roi-result-head{margin-bottom:13px}
.tcm-roi .tcm-roi-stats{gap:18px;margin-bottom:14px}
.tcm-roi .tcm-roi-stats strong{font-size:clamp(21px,2.6vw,28px)}
.tcm-roi .tcm-roi-footer{margin-top:14px}
@media(min-width:980px){.tcm-roi .tcm-roi-workflow{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.tcm-roi{padding:16px}.tcm-roi .tcm-roi-assumption{padding-top:0}.tcm-roi .tcm-roi-stats{gap:12px}}

/* 0.3: anfängliche Gesamtinvestition aus Grundausstattung und Optionen. */
.tcm-roi .tcm-roi-investment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:13px 16px;border:1px solid var(--tcm-line);border-radius:6px;background:#fafafa;margin:8px 0 12px}
.tcm-roi .tcm-roi-investment-summary span{display:block;font-size:12px;color:var(--tcm-muted)}
.tcm-roi .tcm-roi-investment-summary strong{display:block;font-size:20px;margin-top:3px;line-height:1.3}
.tcm-roi .tcm-roi-investment-summary>div:last-child strong{color:var(--tcm-red)}
.tcm-roi .tcm-roi-package{align-self:center;margin-top:8px}
.tcm-roi .tcm-roi-check small{margin-left:30px}
.tcm-roi .tcm-roi-grid+.tcm-roi-note{margin-top:12px}
@media(max-width:650px){.tcm-roi .tcm-roi-investment-summary{grid-template-columns:1fr;gap:10px}}

/* 0.3.1: Hinweis vertikal zur Eingabe des Maschinenstundensatzes ausrichten. */
.tcm-roi .tcm-roi-business>.tcm-roi-assumption{align-self:end;display:flex;align-items:center;min-height:41px;margin:0;padding:0}
@media(max-width:650px){.tcm-roi .tcm-roi-business>.tcm-roi-assumption{display:block;min-height:0}}

/* 0.5: Druckfunktion direkt rechts neben der Hauptüberschrift. */
.tcm-roi .tcm-roi-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tcm-roi .tcm-roi-title-row h2{min-width:0}
.tcm-roi .tcm-roi-title-row .tcm-roi-print{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:9px 13px;margin:0;line-height:1.4}
.tcm-roi button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:650px){.tcm-roi .tcm-roi-title-row{flex-wrap:wrap;gap:8px;margin-bottom:10px}.tcm-roi .tcm-roi-title-row .tcm-roi-print{margin-left:auto}}

/* 0.5.1: Aktuelle sichtbare Rechneransicht statt zusätzlichem Bericht drucken. */
.tcm-roi-print-layer{display:none!important}
@media print{
 @page{size:A4 portrait;margin:12mm}
 html,body.tcm-roi-printing{height:auto!important;overflow:visible!important;background:#fff!important}
 body.tcm-roi-printing>*:not(.tcm-roi-print-layer){display:none!important}
 body.tcm-roi-printing>.tcm-roi-print-layer{display:block!important;position:static!important;width:100%!important}
 .tcm-roi-print-layer .tcm-roi{max-width:none;width:100%;margin:0;padding:0;border:0;border-radius:0;font-size:10pt;line-height:1.35;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .tcm-roi-print-layer .tcm-roi h2{font-size:21pt}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-workflow{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-stats,.tcm-roi-print-layer .tcm-roi .tcm-roi-investment-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tcm-roi-print-layer .tcm-roi label{font-size:10pt}
 .tcm-roi-print-layer .tcm-roi small,.tcm-roi-print-layer .tcm-roi .tcm-roi-note{font-size:8pt}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-stats strong{font-size:19pt}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-table{overflow:visible}
 .tcm-roi-print-layer .tcm-roi table{font-size:9pt}
 .tcm-roi-print-layer .tcm-roi fieldset{break-inside:auto}
 .tcm-roi-print-layer .tcm-roi legend,.tcm-roi-print-layer .tcm-roi summary{break-after:avoid}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-stats,.tcm-roi-print-layer .tcm-roi .tcm-roi-investment-summary,.tcm-roi-print-layer .tcm-roi tr{break-inside:avoid}
 .tcm-roi-printed-value{display:block;min-height:30px;border:1px solid #aaa;border-radius:5px;padding:6px 10px;margin-top:5px;background:#fff;font-weight:400;font-size:11pt}
 .tcm-roi-printed-check{display:inline-block;margin-right:8px}
 .tcm-roi-print-layer .tcm-roi .tcm-roi-input>b{top:10px}
 .tcm-roi-print-layer .tcm-roi details:not([open])>:not(summary){display:none!important}
}
