.han-public-formular {
	max-width: 720px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fafafa;
	font-family: inherit;
	color: #2b2b2b;
	box-sizing: border-box;
}

.han-public-formular * {
	box-sizing: border-box;
}

.han-public-titel {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.4em;
}

.han-public-form .han-field-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.han-public-form .han-field {
	flex: 1 1 220px;
	margin-bottom: 16px;
}

.han-public-form .han-field-small {
	flex: 0 1 120px;
}

.han-public-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.92em;
}

.han-public-form input[type="text"],
.han-public-form input[type="email"],
.han-public-form input[type="tel"],
.han-public-form select,
.han-public-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
}

.han-public-form input:focus,
.han-public-form select:focus,
.han-public-form textarea:focus {
	outline: none;
	border-color: #c81e2a;
	box-shadow: 0 0 0 1px #c81e2a;
}

.han-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.han-distance-box {
	margin: 8px 0 20px;
	padding: 14px;
	background: #fdf3f3;
	border: 1px solid #f0cccf;
	border-radius: 6px;
}

.han-btn-entfernung {
	background: #fff;
	border: 1px solid #c81e2a;
	color: #c81e2a;
	padding: 9px 16px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
}

.han-btn-entfernung:hover {
	background: #c81e2a;
	color: #fff;
}

.han-distance-spinner {
	margin-left: 10px;
	font-size: 13px;
	color: #555;
}

.han-distance-result {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.6;
}

.han-distance-result strong {
	font-size: 1.1em;
}

.han-btn-submit {
	width: 100%;
	background: #c81e2a;
	color: #fff;
	border: none;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.han-btn-submit:hover {
	background: #a8161f;
}

.han-btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.han-public-hinweis {
	font-size: 12px;
	color: #666;
	margin-top: 12px;
	margin-bottom: 0;
}

.han-public-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 14px;
}

.han-public-notice.han-notice-success {
	background: #e5f5e8;
	border: 1px solid #b7e0bf;
	color: #1e6b34;
}

.han-public-notice.han-notice-error {
	background: #fbeaea;
	border: 1px solid #f0bcbc;
	color: #a52424;
}

.han-public-form.han-submitted {
	display: none;
}

/* -------- Kontaktformular: Sicherheitsfrage (Anti-Spam-Quiz) -------- */
.han-kontakt-quiz-hinweis {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #666;
}

/* -------- Datenschutz-/AGB-Checkbox -------- */
.han-datenschutz-row {
	margin-top: 4px;
}

.han-datenschutz-row a {
	color: #0195d5;
	font-weight: 600;
	text-decoration: underline;
}

.han-checkbox-label {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500 !important;
	font-size: 0.9em !important;
	cursor: pointer;
	line-height: 1.5;
}

.han-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 1px;
	accent-color: #c81e2a;
}

.han-checkbox-label a {
	color: #c81e2a;
	text-decoration: underline;
}

/* -------- Anlagen-Auswahl über Icons -------- */
.han-kat-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.han-kat-icon {
	flex: 1 1 96px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 14px 8px;
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 8px;
	cursor: pointer;
	color: #c81e2a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.han-kat-icon span {
	color: #1d2327;
}

.han-kat-icon:hover {
	border-color: #c81e2a;
	box-shadow: 0 2px 6px rgba(200, 30, 42, 0.15);
}

.han-kat-icon:active {
	transform: translateY(1px);
}

.han-kat-icon svg {
	display: block;
}

.han-varianten {
	margin-top: 4px;
}

.han-varianten-titel {
	font-weight: 700;
	margin: 4px 0 10px;
	font-size: 1.02em;
}

.han-varianten-liste {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.han-variante-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	text-align: left;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.han-variante-btn:hover {
	border-color: #c81e2a;
	background: #fdf5f5;
}

.han-variante-name {
	flex: 1 1 auto;
}

.han-variante-preis {
	font-weight: 700;
	white-space: nowrap;
	color: #c81e2a;
}

.han-varianten-leer {
	font-size: 13px;
	color: #666;
	margin: 0 0 8px;
}

.han-varianten-zurueck {
	margin-top: 10px;
	background: none;
	border: none;
	color: #c81e2a;
	cursor: pointer;
	font-size: 13px;
	padding: 4px 0;
}

.han-klima-panel {
	margin-top: 4px;
}

.han-klima-panel select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d7d7d7;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
}

.han-klima-preis {
	font-weight: 700;
	color: #c81e2a;
	margin: 10px 0 0;
}

.han-klima-add {
	margin-top: 12px;
	background: #c81e2a;
	border: 1px solid #c81e2a;
	color: #fff;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	width: 100%;
}

.han-klima-add:hover {
	background: #a8161f;
}

.han-weitere-btn {
	margin-top: 10px;
	background: #fff;
	border: 1px dashed #c81e2a;
	color: #c81e2a;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	width: 100%;
}

.han-weitere-btn:hover {
	background: #fdf5f5;
}

/* Der Wartungs-Auswahl-Block bekommt bewusst mehr Luft nach oben und unten,
   damit die gewählten Anlagen bei mehreren Anfragen nicht gestaucht wirken. */
.han-public-form .han-anlagen-picker {
	margin: 28px 0 24px;
}

.han-gewaehlte-anlagen {
	list-style: none;
	margin: 16px 0 6px;
	padding: 0;
}

/* Doppelklasse: gewinnt gegen Theme-Listenabstände (z. B. .entry-content li). */
.han-gewaehlte-anlagen .han-anlage-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 14px;
	margin: 0 0 10px;
	background: #fff;
	border: 1px solid #eccccf;
	border-radius: 5px;
	font-size: 14px;
}

.han-anlage-item .han-anlage-name {
	flex: 1 1 auto;
}

.han-anlage-item .han-anlage-preis {
	font-weight: 600;
	white-space: nowrap;
}

.han-anlage-remove {
	flex: 0 0 auto;
	background: none;
	border: none;
	color: #a52424;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
	padding: 2px 6px;
}

.han-picker-hinweis {
	font-size: 12px;
	color: #666;
	margin: 8px 0 0;
}

.han-preis-hinweis {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: #666;
	line-height: 1.5;
}

.han-preis-disclaimer {
	margin: 6px 0 16px;
	padding: 10px 12px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #555;
	background: #f6f7f8;
	border-left: 3px solid #cfd6db;
	border-radius: 0 4px 4px 0;
}

/* 1.4.42 Bewerbungsformular */
.han-bewerbung .han-public-intro { margin: 0 0 14px; }
.han-public-form input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed #bbb;
	border-radius: 5px;
	background: #fafafa;
	font-size: 14px;
}

.han-strassen-hinweis {
	font-size: 12px;
	color: #666;
	margin: 6px 0 0;
	line-height: 1.5;
}

.han-strassen-hinweis:empty {
	display: none;
}

/* 1.4.46: Quellenangabe OpenStreetMap unter den Adressfeldern */
.han-osm-hinweis {
	font-size: 11px;
	color: #777;
	margin: -4px 0 14px;
	line-height: 1.4;
}

.han-osm-hinweis a {
	color: inherit;
	text-decoration: underline;
}
