.ilc-rechner {
	--ilc-ink: #0E1B29;
	--ilc-panel: #16263A;
	--ilc-paper: #F4F5F1;
	--ilc-text: #18222D;
	--ilc-muted: #55626F;
	--ilc-line: #D5DAD1;
	--ilc-fill: 50%;
	background: var(--ilc-ink);
	color: var(--ilc-paper);
	border-radius: 14px;
	padding: clamp(16px, 4vw, 32px);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.ilc-rechner *, .ilc-rechner *::before, .ilc-rechner *::after { box-sizing: border-box; }
.ilc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(16px, 3vw, 32px);
	align-items: start;
}
.ilc-title { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; color: var(--ilc-paper); }
.ilc-inputs { background: var(--ilc-panel); border-radius: 12px; padding: clamp(16px, 3vw, 28px); display: flex; flex-direction: column; gap: 22px; }
.ilc-field-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ilc-field-head label { color: #C9D2DB; }
.ilc-val { font-weight: 700; white-space: nowrap; }
.ilc-hint { margin: 6px 0 0; font-size: 13px; color: #A9B5C2; }

.ilc-rechner input[type="range"] {
	-webkit-appearance: none; appearance: none;
	width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer;
}
.ilc-rechner input[type="range"]::-webkit-slider-runnable-track {
	height: 6px; border-radius: 3px;
	background: linear-gradient(to right, var(--ilc-accent) var(--ilc-fill), #3A4B5E var(--ilc-fill));
}
.ilc-rechner input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
	background: var(--ilc-accent); border: 3px solid var(--ilc-ink); margin-top: -9px;
}
.ilc-rechner input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #3A4B5E; }
.ilc-rechner input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ilc-accent); }
.ilc-rechner input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ilc-accent); border: 3px solid var(--ilc-ink); }
.ilc-rechner input[type="range"]:focus-visible { outline: 2px solid var(--ilc-accent); outline-offset: 4px; }

.ilc-results { background: var(--ilc-paper); color: var(--ilc-text); border-radius: 12px; padding: clamp(16px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; }
.ilc-results hr { border: 0; height: 1px; background: var(--ilc-line); margin: 0; }
.ilc-kpis, .ilc-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.ilc-kpis span, .ilc-small span, .ilc-big span { display: block; font-size: 13px; color: var(--ilc-muted); }
.ilc-kpis strong { font-size: 22px; }
.ilc-small strong { font-size: 19px; }
.ilc-big strong { display: block; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }
.ilc-locked, .ilc-unlocked { display: flex; flex-direction: column; gap: 16px; }
.ilc-locked[hidden], .ilc-unlocked[hidden] { display: none; }
.ilc-blur { filter: blur(9px); user-select: none; }

.ilc-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ilc-form-title { margin: 0; font-weight: 700; }
.ilc-form label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 500; }
.ilc-form input[type="text"], .ilc-form input[type="tel"], .ilc-form input[type="email"] {
	height: 48px; border: 1px solid #A9B0A6; border-radius: 6px; padding: 0 14px; background: #fff; font: inherit; color: var(--ilc-text); width: 100%;
}
.ilc-form input:focus { outline: 2px solid var(--ilc-ink); outline-offset: 1px; }
.ilc-form label.ilc-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; color: #46525E; }
.ilc-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; }
.ilc-consent a { color: inherit; text-decoration: underline; }
.ilc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ilc-error { margin: 0; color: #A3321F; font-size: 14px; font-weight: 500; }
.ilc-btn {
	min-height: 54px; border: 0; border-radius: 6px; background: var(--ilc-ink); color: var(--ilc-paper);
	font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; padding: 0 20px;
}
.ilc-btn:hover { filter: brightness(1.25); }
.ilc-btn:disabled { opacity: .6; cursor: wait; }
.ilc-thanks { margin: 0; font-weight: 700; color: #2F6B4F; }
.ilc-unlocked p { margin: 0; }
.ilc-link { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--ilc-text); text-decoration: underline; cursor: pointer; text-align: left; min-height: 44px; }
.ilc-stale .ilc-unlocked strong { opacity: .35; }
.ilc-stale .ilc-recalc { font-weight: 700; }
.ilc-disclaimer { margin: 0; font-size: 12px; color: var(--ilc-muted); line-height: 1.5; }
.ilc-bilanz { background: #fff; border: 1px solid var(--ilc-line); border-radius: 10px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.ilc-bilanz > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ilc-bilanz > div > span { color: #46525E; }
.ilc-bilanz-title { margin: 0; font-weight: 700; }
.ilc-bilanz-sum { border-top: 1px solid var(--ilc-line); padding-top: 8px; align-items: baseline; }
.ilc-bilanz-sum span { color: var(--ilc-text) !important; font-weight: 700; }
.ilc-bilanz-sum strong { font-size: 24px; color: #2F6B4F; }
.ilc-bilanz-teaser { flex-direction: row; justify-content: space-between; align-items: baseline; font-weight: 700; }
.ilc-bilanz-teaser strong { font-size: 22px; }
.ilc-objekt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--ilc-ink); border: 1px solid var(--ilc-accent); border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.ilc-objekt[hidden] { display: none; }
.ilc-objekt-label { display: block; font-size: 12px; color: #A9B5C2; }
.ilc-objekt-clear { background: none; border: 1px solid #5B6B7C; color: #DCE3EA; border-radius: 6px; padding: 8px 12px; min-height: 40px; font: inherit; font-size: 14px; cursor: pointer; }
.ilc-objekt-clear:hover { border-color: var(--ilc-accent); }
.ilc-years { background: #fff; border: 1px solid var(--ilc-line); border-radius: 10px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; overflow-x: auto; }
.ilc-years-title { margin: 0; font-weight: 700; }
.ilc-years-title small { font-weight: 400; color: var(--ilc-muted); font-size: 13px; }
.ilc-years table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ilc-years th, .ilc-years td { padding: 6px 4px; text-align: right; border-bottom: 1px solid #ECEEE9; white-space: nowrap; }
.ilc-years thead th { font-size: 12px; font-weight: 500; color: var(--ilc-muted); }
.ilc-years th:first-child, .ilc-years td:first-child { text-align: left; }
.ilc-years tbody th { font-weight: 500; }
.ilc-years tr:last-child th, .ilc-years tr:last-child td { border-bottom: 0; }
.ilc-years .ilc-cost { font-weight: 700; }
.ilc-years .ilc-gain { font-weight: 700; color: #2F6B4F; }
.ilc-years-teaser ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.ilc-years-teaser li { display: flex; justify-content: space-between; }
.ilc-kpis .ilc-gain-text { color: #2F6B4F; }
