/* =====================================================================
   Diri Haustechnik – modernes Layout für Kontakt- und Anfrageseite
   Wird zusätzlich zum Theme geladen und überschreibt nur diese Seiten.
   ===================================================================== */

:root {
	--dh-brand: #0a79b1;
	--dh-brand-dark: #075c87;
	--dh-brand-light: #e8f3fa;
	--dh-ink: #17242f;
	--dh-body: #55697a;
	--dh-line: #e2e9ef;
	--dh-bg: #f4f7fa;
	--dh-radius: 14px;
	--dh-shadow: 0 2px 4px rgba(16, 42, 66, .04), 0 12px 32px rgba(16, 42, 66, .07);
	--dh-shadow-sm: 0 1px 2px rgba(16, 42, 66, .05), 0 4px 14px rgba(16, 42, 66, .06);
}

/* ---------- Seitenkopf ---------- */
.dh-hero {
	background: linear-gradient(135deg, #0a79b1 0%, #075c87 55%, #054768 100%);
	position: relative;
	overflow: hidden;
	padding: 62px 0 66px;
	color: #fff;
}
.dh-hero:after {
	content: "";
	position: absolute;
	right: -120px;
	top: -140px;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
}
.dh-hero:before {
	content: "";
	position: absolute;
	right: 90px;
	bottom: -190px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .05);
}
.dh-hero .container { position: relative; z-index: 2; }
.dh-hero h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 600;
	color: #fff;
	margin: 0 0 12px;
	letter-spacing: -.5px;
}
.dh-hero p {
	font-size: 17px;
	line-height: 1.65;
	color: #ffffff;
	font-weight: 400;
	max-width: 620px;
	margin: 0;
}
.dh-crumb {
	font-size: 13px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
	margin: 0 0 14px;
	font-weight: 500;
}
.dh-crumb a { color: rgba(255, 255, 255, .7); }
.dh-crumb a:hover { color: #fff; }

/* Schnellkontakt im Kopf */
.dh-hero-actions { margin-top: 26px; }
.dh-hero-actions a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 10px 10px 0;
	padding: 11px 20px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all .18s ease;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .28);
	color: #fff;
}
.dh-hero-actions a em { margin-right: 7px; }
.dh-hero-actions a:hover { background: #fff; color: var(--dh-brand-dark); border-color: #fff; }
.dh-hero-actions a.is-solid { background: #fff; color: var(--dh-brand-dark); border-color: #fff; }
.dh-hero-actions a.is-solid:hover { background: rgba(255, 255, 255, .85); }

/* ---------- Inhaltsbereich ---------- */
.dh-section {
	background: var(--dh-bg);
	padding: 56px 0 70px;
}
.dh-grid { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.dh-col-main { width: 63%; padding: 0 14px; }
.dh-col-side { width: 37%; padding: 0 14px; }

.dh-card {
	background: #fff;
	border-radius: var(--dh-radius);
	box-shadow: var(--dh-shadow);
	padding: 38px 38px 34px;
	margin-bottom: 26px;
}
.dh-card-sm {
	background: #fff;
	border-radius: var(--dh-radius);
	box-shadow: var(--dh-shadow-sm);
	padding: 28px 28px 24px;
	margin-bottom: 22px;
}
.dh-card h2, .dh-card-sm h3 {
	font-family: 'Poppins', sans-serif;
	color: var(--dh-ink);
	margin: 0 0 10px;
	letter-spacing: -.3px;
}
.dh-card h2 { font-size: 27px; font-weight: 600; }
.dh-card-sm h3 { font-size: 18px; font-weight: 600; }
.dh-lead { font-size: 15.5px; line-height: 1.7; color: var(--dh-body); margin: 0 0 28px; }

/* ---------- Formular ---------- */
.dh-form .dh-row { display: flex; flex-wrap: wrap; margin: 0 -9px; }
.dh-form .dh-field { padding: 0 9px; margin-bottom: 18px; width: 100%; }
.dh-form .dh-field.half { width: 50%; }

.dh-form label.dh-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #7b8b9a;
	margin: 0 0 7px;
}
.dh-form label.dh-label .req { color: var(--dh-brand); }

.dh-form .form-control,
.dh-form select,
.dh-form textarea.form-control {
	width: 100%;
	background: #fbfcfd;
	border: 1.5px solid var(--dh-line);
	border-radius: 10px;
	padding: 13px 15px;
	font-size: 15px;
	font-family: 'Roboto', sans-serif;
	color: var(--dh-ink);
	height: auto;
	box-shadow: none;
	transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
	-webkit-appearance: none;
	appearance: none;
}
.dh-form textarea.form-control { min-height: 148px; resize: vertical; line-height: 1.6; }
.dh-form select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%237b8b9a' d='M1.4 0 7 5.6 12.6 0 14 1.4 7 8.4 0 1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
	cursor: pointer;
}
.dh-form .form-control:focus,
.dh-form select:focus {
	outline: none;
	background: #fff;
	border-color: var(--dh-brand);
	box-shadow: 0 0 0 4px rgba(10, 121, 177, .12);
}
.dh-form .form-control::placeholder { color: #a8b4bf; }

/* Fehlermeldungen der Validierung
   (das Theme blendet label.error global aus - hier bewusst wieder einblenden) */
.dh-form label.error {
	display: block !important;
	color: #c0392b;
	font-size: 13px;
	font-weight: 500;
	margin: 7px 0 0;
	padding: 0;
	background: none;
}
.dh-form .form-control.error,
.dh-form select.error {
	border-color: #e0837a !important;
	background: #fdf6f5;
	box-shadow: none;
}
.dh-form .form-control.error:focus,
.dh-form select.error:focus {
	box-shadow: 0 0 0 4px rgba(217, 80, 63, .12);
}
.dh-form .form-control.valid { border-color: #cfe0d6; }

/* Datei-Upload */
.dh-upload {
	border: 1.5px dashed #c6d4e0;
	border-radius: 12px;
	background: #fbfcfd;
	padding: 22px 20px;
	text-align: center;
	transition: all .16s ease;
}
.dh-upload:hover { border-color: var(--dh-brand); background: var(--dh-brand-light); }
.dh-upload em { font-size: 26px; color: var(--dh-brand); display: block; margin-bottom: 10px; }
.dh-upload .dh-upload-title { font-size: 15px; font-weight: 600; color: var(--dh-ink); margin-bottom: 4px; }
.dh-upload .dh-upload-hint { font-size: 13px; color: #8b98a5; margin-bottom: 12px; }
.dh-upload input[type=file] { display: block; margin: 0 auto; font-size: 13.5px; color: var(--dh-body); max-width: 100%; }

/* Absenden */
.dh-submit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #0a79b1, #075c87);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 15px 36px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .3px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(10, 121, 177, .28);
	transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.dh-submit em { margin-left: 8px; }
.dh-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 121, 177, .34); filter: brightness(1.05); color: #fff; }
.dh-submit:active { transform: translateY(0); }

.dh-consent { font-size: 13.5px; line-height: 1.65; color: #7b8b9a; margin: 4px 0 22px; }
.dh-consent a { color: var(--dh-brand); font-weight: 600; }

/* Ergebnismeldung */
.dh-form .form-results { margin-top: 22px; }
.dh-form .form-results.alert {
	border: 0;
	border-radius: 10px;
	padding: 16px 18px;
	font-size: 15px;
	line-height: 1.6;
}
.dh-form .form-results.alert-success { background: #e7f6ec; color: #1e6b3a; border-left: 4px solid #2e9e5b; }
.dh-form .form-results.alert-danger { background: #fdeeec; color: #a03225; border-left: 4px solid #d9503f; }

/* ---------- Kontaktinfos in der Seitenspalte ---------- */
.dh-info-list { list-style: none; margin: 0; padding: 0; }
.dh-info-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--dh-line);
}
.dh-info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.dh-info-list li:first-child { padding-top: 0; }
.dh-info-ico {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--dh-brand-light);
	color: var(--dh-brand);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	margin-right: 14px;
}
.dh-info-txt { flex: 1; }
.dh-info-txt .dh-info-label {
	display: block;
	font-size: 11.5px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #93a1ad;
	font-weight: 600;
	margin-bottom: 3px;
}
.dh-info-txt strong, .dh-info-txt a { font-size: 15.5px; color: var(--dh-ink); font-weight: 600; text-decoration: none; }
.dh-info-txt a:hover { color: var(--dh-brand); }
.dh-info-txt span.dh-info-sub { display: block; font-size: 14.5px; color: var(--dh-body); line-height: 1.55; font-weight: 400; }

.dh-call-btn {
	display: block;
	text-align: center;
	background: var(--dh-ink);
	color: #fff;
	border-radius: 999px;
	padding: 13px 20px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
	margin-top: 22px;
	text-decoration: none;
	transition: background .16s ease, transform .16s ease;
}
.dh-call-btn:hover { background: var(--dh-brand); color: #fff; transform: translateY(-2px); }

/* ---------- Karte ---------- */
.dh-map-card { padding-bottom: 0; overflow: hidden; }
.dh-map-card h3 { margin-bottom: 4px; }
.dh-map-adr { font-size: 14.5px; color: var(--dh-body); line-height: 1.6; margin: 0 0 16px; }
.dh-map-frame {
	position: relative;
	width: calc(100% + 56px);
	margin-left: -28px;
	height: 260px;
	background: #e9eef2;
}
.dh-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dh-map-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 14px 0 16px;
}
.dh-map-foot a {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--dh-brand);
	text-decoration: none;
}
.dh-map-foot a:hover { text-decoration: underline; }
.dh-map-note { font-size: 12px; color: #9aa7b3; line-height: 1.5; padding: 0 0 18px; margin: 0; }
.dh-map-note a { color: #9aa7b3; text-decoration: underline; }

/* ---------- Vertrauensleiste ---------- */
.dh-trust { list-style: none; margin: 0; padding: 0; }
.dh-trust li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--dh-body);
	padding: 9px 0;
}
.dh-trust li em { color: #2e9e5b; font-size: 15px; margin-top: 2px; margin-right: 12px; }
.dh-trust li strong { color: var(--dh-ink); display: block; font-size: 15px; }

/* ---------- Schritt-Anzeige ---------- */
.dh-steps { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.dh-steps li {
	flex: 1 1 0;
	min-width: 150px;
	position: relative;
	padding: 0 14px 0 0;
}
.dh-steps li .dh-step-no {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--dh-brand-light);
	color: var(--dh-brand);
	font-weight: 700;
	font-size: 14px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 10px;
}
.dh-steps li strong { display: block; font-size: 15px; color: var(--dh-ink); margin-bottom: 3px; }
.dh-steps li span { font-size: 13.5px; color: var(--dh-body); line-height: 1.5; }

/* ---------- Responsiv ---------- */
@media (max-width: 991px) {
	.dh-col-main, .dh-col-side { width: 100%; }
	.dh-col-side { margin-top: 4px; }
	.dh-hero { padding: 46px 0 50px; }
	.dh-hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
	.dh-section { padding: 34px 0 46px; }
	.dh-card { padding: 26px 20px 24px; border-radius: 12px; }
	.dh-card-sm { padding: 22px 18px 20px; border-radius: 12px; }
	.dh-form .dh-field.half { width: 100%; }
	.dh-hero h1 { font-size: 26px; }
	.dh-hero p { font-size: 15.5px; }
	.dh-card h2 { font-size: 22px; }
	.dh-map-frame { width: calc(100% + 36px); margin-left: -18px; height: 220px; }
	.dh-submit { width: 100%; justify-content: center; }
	.dh-hero-actions a { width: 100%; justify-content: center; margin-right: 0; }
}

/* Datei-Auswahl-Button */
.dh-upload input[type=file]::file-selector-button {
	background: #fff;
	border: 1.5px solid var(--dh-brand);
	color: var(--dh-brand);
	border-radius: 999px;
	padding: 9px 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-right: 12px;
	transition: background .16s ease, color .16s ease;
}
.dh-upload input[type=file]::file-selector-button:hover { background: var(--dh-brand); color: #fff; }
.dh-upload input[type=file]::-webkit-file-upload-button {
	background: #fff;
	border: 1.5px solid var(--dh-brand);
	color: var(--dh-brand);
	border-radius: 999px;
	padding: 9px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-right: 12px;
}

/* Karte: gleiche Höhe wie Infokarte auf großen Schirmen */
@media (min-width: 992px) {
	.dh-map-frame { height: 300px; }
}

/* =====================================================================
   Startseite – Begrüßungsbereich mit Formular
   ===================================================================== */
.dh-welcome {
	background: #1b242e;
	background: linear-gradient(160deg, #232f3b 0%, #1b242e 55%, #141c24 100%);
	position: relative;
	overflow: hidden;
	padding: 74px 0 78px;
}
.dh-welcome:before {
	content: "";
	position: absolute;
	left: -160px;
	bottom: -200px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(10, 121, 177, .22) 0%, rgba(10, 121, 177, 0) 70%);
}
.dh-welcome .container { position: relative; z-index: 2; }
.dh-welcome .dh-grid { align-items: flex-start; }
.dh-welcome .dh-col-main { width: 58%; }
.dh-welcome .dh-col-side { width: 42%; }

.dh-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: #6cc0ea;
	background: rgba(10, 121, 177, .16);
	border: 1px solid rgba(108, 192, 234, .28);
	border-radius: 999px;
	padding: 7px 16px;
	margin: 0 0 20px;
}
.dh-welcome h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 34px;
	line-height: 1.22;
	font-weight: 600;
	color: #fff;
	margin: 0 0 8px;
	letter-spacing: -.4px;
	text-transform: none;
}
.dh-welcome .dh-sub {
	font-size: 17px;
	color: #7fcbef;
	font-weight: 500;
	margin: 0 0 26px;
	letter-spacing: .2px;
}
.dh-welcome p.dh-text {
	font-size: 15.5px;
	line-height: 1.78;
	color: #ffffff;
	font-weight: 400;
	margin: 0 0 18px;
	max-width: 640px;
}
.dh-welcome p.dh-text:last-of-type { margin-bottom: 0; }

/* Kurze Merkmalsliste unter dem Text */
.dh-usp { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 34px; }
.dh-usp li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 14.5px;
	color: #ffffff;
	padding: 7px 0;
	font-weight: 500;
}
.dh-usp li em {
	color: #6cc0ea;
	font-size: 16px;
	margin-right: 11px;
}

/* Formularkarte auf dunklem Grund */
.dh-quotecard {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
	overflow: hidden;
}
.dh-quotecard-head {
	background: linear-gradient(135deg, #0a79b1, #075c87);
	padding: 26px 28px 24px;
}
.dh-quotecard-head h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 7px;
	text-transform: none;
	letter-spacing: -.2px;
}
.dh-quotecard-head p {
	font-size: 14.5px;
	line-height: 1.6;
	color: #ffffff;
	margin: 0;
}
.dh-quotecard-body { padding: 26px 28px 28px; }
.dh-quotecard .dh-form .dh-field { margin-bottom: 15px; }
.dh-quotecard .dh-form textarea.form-control { min-height: 96px; }
.dh-quotecard .dh-submit { width: 100%; justify-content: center; padding: 14px 24px; }
.dh-quotecard .dh-consent { font-size: 12.5px; margin: 14px 0 16px; }

.dh-quotecard-foot {
	border-top: 1px solid var(--dh-line);
	padding: 16px 28px;
	background: #fafbfc;
	text-align: center;
	font-size: 14px;
	color: var(--dh-body);
}
.dh-quotecard-foot a { color: var(--dh-brand); font-weight: 700; text-decoration: none; font-size: 16px; }
.dh-quotecard-foot a:hover { text-decoration: underline; }

@media (max-width: 991px) {
	.dh-welcome .dh-col-main, .dh-welcome .dh-col-side { width: 100%; }
	.dh-welcome .dh-col-side { margin-top: 34px; }
	.dh-welcome { padding: 52px 0 56px; }
	.dh-welcome h2 { font-size: 27px; }
}
@media (max-width: 640px) {
	.dh-welcome { padding: 40px 0 44px; }
	.dh-welcome h2 { font-size: 23px; }
	.dh-welcome p.dh-text { font-size: 15px; }
	.dh-usp { gap: 0; }
	.dh-usp li { width: 100%; }
	.dh-quotecard-head, .dh-quotecard-body { padding-left: 20px; padding-right: 20px; }
}

.dh-quotecard-foot a { white-space: nowrap; }

/* Startseiten-Formular kompakter, damit die Karte etwa so hoch ist
   wie der Textblock links daneben. */
.dh-quotecard-head { padding: 22px 26px 20px; }
.dh-quotecard-head h3 { font-size: 19px; margin-bottom: 5px; }
.dh-quotecard-head p { font-size: 14px; line-height: 1.55; }
.dh-quotecard-body { padding: 22px 26px 24px; }
.dh-quotecard .dh-form .dh-field { margin-bottom: 12px; }
.dh-quotecard .dh-form label.dh-label { font-size: 11.5px; margin-bottom: 5px; }
.dh-quotecard .dh-form .form-control { padding: 11px 13px; font-size: 14.5px; border-radius: 9px; }
.dh-quotecard .dh-form textarea.form-control { min-height: 72px; }
.dh-quotecard .dh-consent { font-size: 12px; margin: 8px 0 12px; line-height: 1.5; }
.dh-quotecard .dh-submit { padding: 13px 22px; font-size: 14.5px; }
.dh-quotecard-foot { padding: 13px 26px; font-size: 13.5px; }
.dh-quotecard-foot a { font-size: 15px; }
.dh-quotecard .dh-form .form-results { margin-top: 16px; }

/* Zwei Felder nebeneinander, sobald die Spalte breit genug ist */
@media (min-width: 992px) {
	.dh-quotecard .dh-form .dh-field.half-lg { width: 50%; }
}

/* Textspalte und Karte gleich hoch ausrichten */
@media (min-width: 992px) {
	.dh-welcome { padding: 62px 0 66px; }
	.dh-welcome h2 { font-size: 31px; }
	.dh-welcome p.dh-text { font-size: 15.5px; line-height: 1.8; margin-bottom: 17px; }
	.dh-welcome .dh-usp { margin-top: 26px; }
	.dh-welcome .dh-usp li { padding: 8px 0; }
}
