/* Zählerstände Meldeformular */
.zst-wrap {
	--zst-green: #2f5d3a;
	--zst-green-dark: #234a2d;
	--zst-bg: #f6f4ef;
	--zst-border: #d8d3c8;
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
	color: #2b2b26;
}

.zst-wrap fieldset.zst-step {
	background: var(--zst-bg);
	border: 1px solid var(--zst-border);
	border-radius: 10px;
	padding: 18px;
	margin: 0 0 16px;
}
.zst-wrap legend {
	font-weight: 700;
	color: var(--zst-green-dark);
	padding: 0 8px;
}

.zst-haeuser {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
}
.zst-haus {
	position: relative;
	display: block;
	cursor: pointer;
}
.zst-haus input {
	position: absolute;
	opacity: 0;
}
.zst-haus span {
	display: block;
	text-align: center;
	background: #fff;
	border: 2px solid var(--zst-border);
	border-radius: 10px;
	padding: 12px 6px;
	font-weight: 700;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.zst-haus input:checked + span {
	border-color: var(--zst-green);
	background: #eef4ee;
	color: var(--zst-green-dark);
}
.zst-haus input:focus-visible + span {
	outline: 2px solid var(--zst-green);
	outline-offset: 2px;
}

.zst-feld {
	display: block;
	font-weight: 600;
}
.zst-feld input {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--zst-border);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-weight: 400;
	margin-top: 4px;
	box-sizing: border-box;
	font-size: 1.1em;
}
.zst-feld input:focus {
	outline: 2px solid var(--zst-green);
	outline-offset: 1px;
}

.zst-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 520px) {
	.zst-grid-2 { grid-template-columns: 1fr; }
}

.zst-error {
	color: #a4262c;
	font-weight: 600;
}

.zst-submit,
.zst-nochmal {
	display: inline-block;
	background: var(--zst-green);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 26px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}
.zst-submit:hover,
.zst-nochmal:hover { background: var(--zst-green-dark); }
.zst-submit:disabled { opacity: 0.6; cursor: wait; }

.zst-success {
	background: var(--zst-bg);
	border: 1px solid var(--zst-border);
	border-radius: 10px;
	padding: 22px;
	text-align: center;
}
.zst-success h3 { color: var(--zst-green-dark); margin-top: 0; }
.zst-verbrauch {
	background: #eef4ee;
	border-radius: 8px;
	padding: 10px 14px;
	display: inline-block;
}
