/* Brennofen-Ersatzteilformular – strictly scoped to page 8478. */

.page-id-8478 .kbo-form {
	--kbo: #05c3a9;
	--soft: #f7f9fa;
	--line: #e9ecef;
	--text: #2a2f36;
	--muted: #5f6b76;
}

.page-id-8478 .kbo-form .wpcf7 form {
	max-width: 980px;
	margin: 0 auto;
	color: var(--text);
}

.page-id-8478 .kbo-form .wpcf7 form fieldset,
.page-id-8478 .kbo-form .wpcf7 form .wpcf7cf-group {
	box-sizing: border-box;
	margin: 18px 0 22px;
	padding: 24px 24px 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--soft);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .03);
	transition: background .25s, box-shadow .25s, opacity .25s, max-height .25s;
}

.page-id-8478 .kbo-form .wpcf7cf-hidden {
	max-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	opacity: 0;
}

.page-id-8478 .kbo-form .wpcf7cf-visible {
	max-height: 2400px;
	opacity: 1;
}

.page-id-8478 .kbo-form .wpcf7 form legend {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding: 8px 12px;
	border: 1px solid #dfe3e7;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
	font-weight: 800;
	line-height: 1.1;
}

.page-id-8478 .kbo-form .wpcf7 .hint {
	margin: 6px 0 10px;
	color: var(--muted);
	font-size: 14px;
}

.page-id-8478 .kbo-form .wpcf7 input[type="text"],
.page-id-8478 .kbo-form .wpcf7 input[type="email"],
.page-id-8478 .kbo-form .wpcf7 input[type="tel"],
.page-id-8478 .kbo-form .wpcf7 input[type="number"],
.page-id-8478 .kbo-form .wpcf7 textarea,
.page-id-8478 .kbo-form .wpcf7 select {
	box-sizing: border-box;
	width: 100%;
	margin: 6px 0 12px;
	padding: 12px 14px;
	border: 1px solid #cfd6dc;
	border-radius: 12px;
	background: #fff;
	color: var(--text);
	-webkit-text-fill-color: var(--text);
	font-size: 15px;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.page-id-8478 .kbo-form .wpcf7 input:focus,
.page-id-8478 .kbo-form .wpcf7 select:focus,
.page-id-8478 .kbo-form .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--kbo);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--kbo) 22%, transparent);
}

.page-id-8478 .kbo-form .wpcf7 ::placeholder {
	color: var(--muted);
	opacity: 1;
}

.page-id-8478 .kbo-form .wpcf7 select {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #999 50%),
		linear-gradient(135deg, #999 50%, transparent 50%);
	background-position: calc(100% - 18px) center, calc(100% - 12px) center;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
}

.page-id-8478 .kbo-form .wpcf7 select option:first-child {
	color: var(--muted);
	font-style: italic;
}

.page-id-8478 .kbo-form .kbo-adresse {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 12px;
	margin-top: .5rem;
}

.page-id-8478 .kbo-form .kbo-adresse > *:first-child {
	grid-column: span 2;
}

.page-id-8478 .kbo-form .wpcf7 input[type="submit"] {
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: var(--kbo);
	box-shadow: 0 6px 18px -6px rgba(5, 195, 169, .45);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	transition: transform .05s, opacity .2s;
}

.page-id-8478 .kbo-form .wpcf7 input[type="submit"]:hover {
	opacity: .92;
}

.page-id-8478 .kbo-form .wpcf7 input[type="submit"]:active {
	transform: translateY(1px);
}

.page-id-8478 .kbo-form .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 3px;
	color: #b00020;
	font-size: 13px;
}

.page-id-8478 .kbo-form .wpcf7 .wpcf7-response-output {
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}

.page-id-8478 .kbo-form .wpcf7 .checks label {
	display: -webkit-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	overflow: hidden;
	border: 1px solid #cfd6dc;
	border-radius: 999px;
	background: #fff;
	color: #444;
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
	word-break: break-word;
	hyphens: auto;
	cursor: pointer;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.page-id-8478 .kbo-form .wpcf7 .checks label:hover {
	border-color: var(--kbo);
	box-shadow: 0 2px 10px rgba(5, 195, 169, .12);
}

.page-id-8478 .kbo-form .wpcf7 .checks label:has(input:checked) {
	border-color: var(--kbo);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--kbo) 20%, transparent);
}

.page-id-8478 .kbo-form .wpcf7 .checks label:focus-within {
	outline: 2px solid var(--kbo);
	outline-offset: 2px;
}

.page-id-8478 .kbo-form .wpcf7 .checks input[type="checkbox"],
.page-id-8478 .kbo-form .wpcf7 .checks input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.page-id-8478 .kbo-form .kbo-space {
	height: 12px;
}

.page-id-8478 #grp-he,
.page-id-8478 #grp-rohr,
.page-id-8478 #grp-te,
.page-id-8478 #grp-zub,
.page-id-8478 #grp-sic,
.page-id-8478 #grp-ctrl,
.page-id-8478 #grp-ele,
.page-id-8478 #grp-he-top,
.page-id-8478 #grp-he-kam {
	scroll-margin-top: 90px;
}

.page-id-8478 .kbo-opened-hint {
	position: fixed;
	z-index: 9999;
	top: 12px;
	left: 50%;
	padding: 6px 10px;
	transform: translateX(-50%) translateY(-6px);
	border: 1px solid #05c3a9;
	border-radius: 999px;
	background: #e9fffb;
	color: #10504a;
	font-weight: 600;
	opacity: 0;
	transition: all .25s ease;
}

.page-id-8478 .kbo-opened-hint.show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.page-id-8478 .kbo-form .kbo-acceptance,
.page-id-8478 .kbo-form .kbo-acceptance label,
.page-id-8478 .kbo-form .kbo-acceptance .wpcf7-list-item-label {
	color: #2a2f36 !important;
	font-size: 17px !important;
	line-height: 1.6 !important;
}

.page-id-8478 .kbo-form .kbo-acceptance {
	display: block;
	padding: 12px 14px;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #f7f9fa;
}

.page-id-8478 .kbo-form .kbo-acceptance input[type="checkbox"] {
	width: 20px !important;
	height: 20px !important;
	margin-right: 8px;
	transform: translateY(2px);
	accent-color: #05c3a9;
}

.page-id-8478 .kbo-form .kbo-acceptance a {
	color: #05c3a9 !important;
	text-decoration: underline;
}

@media (min-width: 901px) {
	.page-id-8478 .kbo-form .wpcf7 .checks {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(180px, 1fr));
		gap: 10px 12px;
	}

	.page-id-8478 .kbo-form .wpcf7 .checks.kbo-compact {
		grid-template-columns: repeat(5, minmax(140px, 1fr));
	}

	.page-id-8478 .kbo-form .wpcf7 .checks .wpcf7-list-item {
		margin: 0 !important;
	}
}

@media (max-width: 900px) {
	.page-id-8478 .kbo-form .wpcf7 .checks {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(160px, 1fr));
		gap: 10px 12px;
	}

	.page-id-8478 .kbo-form .wpcf7 .checks .wpcf7-list-item {
		margin: 0 !important;
	}
}

@media (max-width: 800px) {
	.page-id-8478 .kbo-form .kbo-adresse {
		grid-template-columns: 1fr;
	}

	.page-id-8478 .kbo-form .kbo-adresse > *:first-child {
		grid-column: auto;
	}
}

@media (max-width: 600px) {
	.page-id-8478 .kbo-form .wpcf7 .checks {
		grid-template-columns: 1fr;
	}
}
