/*
Theme Name: Liebchen & Hollwege
Theme URI: https://liebchen-hollwege.de
Author: Liebchen & Hollwege
Description: Eigenes Theme für Fa. Liebchen & Hollwege Inh. Tobias Reinert e.K., Lauenburg/Elbe – im Erscheinungsbild der bisherigen Homepage. Mit Wärmepumpen-Rechner (Pflege per Excel), Kontaktformular und Einrichtungs-Assistent für alle Seiten. Schriften lokal, keine externen Dienste.
Version: 3.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lh
*/

/* ==========================================================================
   1. Schriften (lokal, SIL Open Font License – siehe assets/fonts/OFL-*.txt)
   ========================================================================== */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/opensans-300.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/opensans-400.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/opensans-500.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/opensans-600.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/opensans-700.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-400.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-600.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-700.woff") format("woff"); }

/* ==========================================================================
   2. Farben & Grundwerte (wie bisherige Homepage)
   ========================================================================== */

:root {
	--header: #2F6288;
	--navy: #164E79;
	--navy-light: #547A9C;
	--box-a: #245780;
	--box-b: #124368;
	--text: #58585B;
	--dark: #212529;
	--page: #FAFAFA;
	--white: #FFFFFF;
	--grey: #888888;
	--line: #DEE2E6;
	--soft: #F1F3F5;
	--green: #1E7B45;
	--red: #B42318;

	--font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Montserrat", "Open Sans", Arial, sans-serif;

	--shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
	--box-grad: radial-gradient(var(--box-a), var(--box-b));
	--side-grad: linear-gradient(195deg, var(--box-a), var(--box-b));
	--grey-band: radial-gradient(#FFFFFF 30%, #E0E0E0 70%);
}
@supports (color: oklch(0.5 0.1 246)) {
	:root {
		--box-a: oklch(0.4417 0.0869 246.25);
		--box-b: oklch(0.3697 0.0825 246.25);
	}
}

/* ==========================================================================
   3. Basis
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--page);
	color: var(--text);
	font-family: var(--font);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.375;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
p { margin: 0 0 16px; }
strong, b { font-weight: 700; }
a { color: var(--navy); }
a:hover { color: var(--header); }
:focus-visible { outline: 3px solid #7FB2DB; outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text); margin: 0 0 8px; line-height: 1.2; overflow-wrap: break-word; }
h1 { font-size: 29px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 400; color: var(--navy); }
h3 { font-size: 19px; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

.screen-reader-text,
.lh-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.lh-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--white); color: var(--navy); font-weight: 700; }
.lh-skip:focus { top: 12px; }
.lh-main:focus { outline: none; }

.lh-icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }

/* Container wie bisher: 1320 px Inhalt, darunter in Stufen */
.lh-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1399.98px) { .lh-container { max-width: 1140px; } }
@media (max-width: 1199.98px) { .lh-container { max-width: 960px; } }
@media (max-width: 991.98px)  { .lh-container { max-width: 720px; } }
@media (max-width: 767.98px)  { .lh-container { max-width: 540px; } }
@media (max-width: 575.98px)  { .lh-container { max-width: none; padding: 0 16px; } }
@media (min-width: 1400px)    { .lh-container { max-width: 1320px; } }

/* Schaltflächen */
.lh-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid var(--navy);
	border-radius: 0;
	background: var(--navy);
	color: var(--white);
	font-family: var(--font);
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lh-btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover { background: var(--header); border-color: var(--header); color: var(--white); }
.lh-btn .lh-icon { width: 15px; height: 15px; }
.lh-btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.lh-btn--light:hover { background: #E8EEF4; border-color: #E8EEF4; color: var(--navy); }
.lh-btn--ghost,
.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); }
.lh-btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover { background: var(--navy); color: var(--white); }
.lh-btn--lg { padding: 9px 18px; }
.lh-btn--sm { padding: 4px 10px; font-size: 15px; }

/* ==========================================================================
   4. Kopfbereich
   ========================================================================== */

.lh-header { position: relative; z-index: 60; background: var(--header); }
.lh-header__inner { display: flex; align-items: center; min-height: 133px; padding-top: 30px; padding-bottom: 30px; }
.lh-logo { display: block; flex: none; width: 250px; background: var(--white); }
.lh-logo img,
.lh-header .custom-logo { display: block; width: 250px; height: auto; background: var(--white); }
.lh-header .custom-logo-link { display: block; flex: none; }
.lh-header__partner { display: block; flex: none; margin-left: auto; width: 192px; }
.lh-header__partner img { width: 192px; height: auto; }

/* Hauptmenü */
.lh-nav { margin-left: 32px; }
.lh-nav__list,
.lh-nav__list ul { list-style: none; margin: 0; padding: 0; }
.lh-nav__list { display: flex; flex-wrap: wrap; align-items: center; }
.lh-nav__list > li { position: relative; margin: 0 10px 0 0; }
.lh-nav__list > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	color: var(--white);
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	text-decoration: none;
	white-space: nowrap;
}
.lh-nav__list > li:hover > a,
.lh-nav__list > li:focus-within > a,
.lh-nav__list > li.current-menu-item > a,
.lh-nav__list > li.current-menu-ancestor > a,
.lh-nav__list > li.current-menu-parent > a,
.lh-nav__list > li.current_page_item > a,
.lh-nav__list > li.current_page_ancestor > a { background: var(--navy); color: var(--white); }
.lh-nav__list > .menu-item-has-children > a::after,
.lh-nav__list > .page_item_has_children > a::after {
	content: "";
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Aufklappmenüs (Desktop) */
.lh-nav__list ul {
	position: absolute;
	z-index: 70;
	width: 291px;
	background: linear-gradient(var(--navy-light) 0%, var(--navy) 100%);
	visibility: hidden;
	opacity: 0;
	transition: opacity .15s ease, visibility .15s ease;
}
.lh-nav__list > li > ul { top: 51.5px; left: 0; }
.lh-nav__list > li > ul::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.lh-nav__list ul ul { top: 0; left: 100%; }
.lh-nav__list li:hover > ul,
.lh-nav__list li:focus-within > ul,
.lh-nav__list li.is-open > ul { visibility: visible; opacity: 1; }
.lh-nav__list ul li { position: relative; padding: 11px 12px 9px; border-bottom: 1px solid var(--white); }
.lh-nav__list ul a {
	position: relative;
	display: block;
	padding-right: 14px;
	color: var(--white);
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	text-decoration: none;
}
.lh-nav__list ul a:hover,
.lh-nav__list ul .current-menu-item > a,
.lh-nav__list ul .current_page_item > a { color: #D6E4F0; }
.lh-nav__list ul .menu-item-has-children > a::after,
.lh-nav__list ul .page_item_has_children > a::after {
	content: "";
	position: absolute;
	right: -4px;
	top: 50%;
	margin-top: -5px;
	width: 10px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lh-sub-toggle { display: none; }

/* Menü-Knopf (mobil) */
.lh-nav-toggle {
	display: none;
	width: 42px;
	height: 35px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.lh-nav-toggle .lh-icon { width: 24px; height: 24px; stroke-width: 2.6; }
.lh-nav-toggle .lh-nav-toggle__close { display: none; }
.lh-nav-toggle[aria-expanded="true"] .lh-nav-toggle__open { display: none; }
.lh-nav-toggle[aria-expanded="true"] .lh-nav-toggle__close { display: inline-flex; }
.lh-nav-toggle span { display: inline-flex; }

/* Kontakt-Symbole links */
.lh-side { position: absolute; z-index: 50; top: 300px; left: 27px; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lh-side li { position: relative; }
.lh-side a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: var(--side-grad);
	color: var(--white);
	text-decoration: none;
}
.lh-side .lh-icon { width: 17px; height: 17px; }
.lh-side .lh-icon--fill { fill: currentColor; stroke: none; }
.lh-side__label {
	position: absolute;
	left: 49px;
	top: 0;
	height: 45px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	pointer-events: none;
}
.lh-side a:hover + .lh-side__label,
.lh-side a:focus-visible + .lh-side__label { opacity: 1; visibility: visible; transform: none; }

/* Nach oben */
.lh-top {
	position: fixed;
	z-index: 80;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.lh-top.is-visible { opacity: 1; visibility: visible; }
.lh-top .lh-icon { width: 18px; height: 18px; stroke-width: 2.6; }

/* ==========================================================================
   5. Startseite
   ========================================================================== */

/* Bild-Slider */
.lh-slider { position: relative; height: 585px; overflow: hidden; background: #E9E7E3; }
.lh-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.lh-slide.is-active { opacity: 1; visibility: visible; }
.lh-slide__media,
.lh-slide__media img,
.lh-slide__media .lh-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lh-slide__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 33.3333%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	padding: 0 80px 0 50px;
	background: rgba(248, 249, 250, .7);
}
.lh-slide__title { margin: 0; font-family: var(--font); font-size: 32px; font-weight: 300; line-height: 48px; color: var(--navy); }
.lh-slider__arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	width: 44px;
	height: 64px;
	margin-top: -32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--white);
	cursor: pointer;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, .35));
}
.lh-slider__arrow .lh-icon { width: 44px; height: 44px; stroke-width: 1.2; }
.lh-slider__arrow--prev { left: 4px; }
.lh-slider__arrow--next { right: 4px; }

/* Abschnitte */
.lh-band { padding: 80px 0; }
.lh-band--white { background: var(--white); }
.lh-band--grey { background: var(--grey-band); }
.lh-band--page { background: var(--page); }
.lh-band--center { text-align: center; }
.lh-band__title { margin: 0 0 8px; }
.lh-band--center .lh-band__title { text-align: center; }

/* Drei Stärken */
.lh-features { padding: 80px 0 64px; background: var(--page); }
.lh-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lh-feature { padding: 30px 24px 28px; border-radius: 8px; background: var(--box-grad); color: var(--white); text-align: center; }
.lh-feature .lh-icon { width: 40px; height: 40px; margin: 0 auto 12px; display: block; stroke-width: 2.4; }
.lh-feature__title { margin: 0 0 20px; font-weight: 700; }
.lh-feature p:last-child { margin: 0; }

/* Einleitung */
.lh-intro { padding: 80px 0 72px; background: var(--white); text-align: center; }
.lh-intro h1 { margin-bottom: 8px; }
.lh-intro .entry-content > * { max-width: none; }
.lh-intro .entry-content p { margin-bottom: 16px; }
.lh-intro .entry-content p:last-child { margin-bottom: 0; }

/* Qualitäts-Versprechen */
.lh-promise-wrap { padding: 50px 0; }
.lh-promise { padding: 80px 0; background: var(--navy); color: var(--white); }
.lh-promise__title { margin: 0 0 32px; color: var(--white); font-size: 19px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-align: center; }
.lh-promise__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.lh-promise__item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 194px; padding: 20px; text-align: center; border: 1px solid #EEEEEE; }
.lh-promise__item:nth-child(8n+1),
.lh-promise__item:nth-child(8n+3),
.lh-promise__item:nth-child(8n+6),
.lh-promise__item:nth-child(8n+8) { background: var(--white); color: var(--text); border-color: var(--white); box-shadow: var(--shadow); }
.lh-promise__icon { display: inline-flex; width: 26px; height: 26px; margin-bottom: 14px; border-radius: 3px; background: #7A7A7C; color: var(--white); align-items: center; justify-content: center; }
.lh-promise__icon .lh-icon { width: 16px; height: 16px; stroke-width: 3; }
.lh-promise__item strong { display: block; margin-bottom: 24px; font-weight: 700; }
.lh-promise__item span { display: block; }

/* Kontakt-Abschnitt */
.lh-hello { padding: 80px 0; background: var(--white); text-align: center; }
.lh-hello h2 { margin-bottom: 8px; }
.lh-hello .lh-hours { margin: 16px 0; }
.lh-hello .lh-btn { margin-top: 0; }

/* Öffnungszeiten */
.lh-hours { margin: 0; }
.lh-hours div { margin: 0 0 16px; }
.lh-hours div:last-child { margin-bottom: 0; }
.lh-hours dt { font-weight: 400; }
.lh-hours dd { margin: 0; }

/* Werkzeuge */
.lh-tools { padding: 80px 0; background: var(--white); border-top: 1px solid #F0F0F0; }
.lh-tools h2 { text-align: center; margin-bottom: 16px; }
.lh-tools__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.lh-tool {
	display: flex;
	flex-direction: column;
	width: 280px;
	min-height: 453px;
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
	overflow: hidden;
	color: var(--text);
	text-decoration: none;
}
.lh-tool:hover { color: var(--text); box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .18), 0 2px 4px -1px rgba(0, 0, 0, .06); }
.lh-tool__media { position: relative; display: block; height: 200px; overflow: hidden; background: #E9ECEF; }
.lh-tool__media img,
.lh-tool__media .lh-scene { width: 100%; height: 100%; object-fit: cover; }
.lh-tool__body { display: flex; flex-direction: column; flex: 1; padding: 30px 30px 16px; }
.lh-tool__body h3 { margin-bottom: 8px; }
.lh-tool__text { flex: 1; font-size: 15px; }
.lh-tool__more { margin-top: 16px; font-size: 15px; }

/* Neuigkeiten */
.lh-news { padding: 50px 0 80px; background: radial-gradient(#FFFFFF, #E9ECEF); }
.lh-news h2 { text-align: center; margin-bottom: 40px; }
.lh-carousel { position: relative; padding: 0 56px; }
.lh-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.lh-carousel__track::-webkit-scrollbar { display: none; }
.lh-carousel__btn { position: absolute; top: 50%; width: 40px; height: 56px; margin-top: -28px; padding: 0; border: 0; background: none; color: #111; cursor: pointer; }
.lh-carousel__btn .lh-icon { width: 34px; height: 34px; stroke-width: 2.4; }
.lh-carousel__btn--prev { left: 0; }
.lh-carousel__btn--next { right: 0; }
.lh-carousel__btn[disabled] { opacity: .25; cursor: default; }
.lh-post-card { scroll-snap-align: start; display: flex; }
.lh-post-card__link { display: flex; flex-direction: column; width: 100%; border-radius: 4px; background: var(--white); box-shadow: var(--shadow); color: var(--text); text-decoration: none; overflow: hidden; }
.lh-post-card__link:hover { color: var(--text); }
.lh-post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E9ECEF; }
.lh-post-card__media img,
.lh-post-card__media .lh-scene { width: 100%; height: 100%; object-fit: cover; }
.lh-post-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 15px 14px; }
.lh-post-card__date { font-size: 14px; margin-bottom: 4px; }
.lh-post-card__title { display: block; margin-bottom: 10px; font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--text); }
.lh-post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
.lh-post-card__more { margin-top: auto; padding-top: 24px; font-size: 15px; }
.lh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Ausstellung */
.lh-visit {
	position: relative;
	padding: 80px 0;
	color: var(--white);
	text-align: center;
	overflow: hidden;
	background: #6B6259;
}
.lh-visit__bg,
.lh-visit__bg img,
.lh-visit__bg .lh-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lh-visit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(33, 37, 41, .7), rgba(33, 37, 41, .7)); }
.lh-visit .lh-container { position: relative; z-index: 1; }
.lh-visit__badge { display: inline-flex; width: 64px; height: 64px; margin-bottom: 18px; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; }
.lh-visit__badge .lh-icon { width: 30px; height: 30px; stroke-width: 1.6; }
.lh-visit h2 { color: var(--white); margin-bottom: 8px; }
.lh-visit p { margin-bottom: 24px; }

/* Anfahrt */
.lh-map { padding: 50px 0; background: var(--white); text-align: center; }
.lh-map__icon { display: block; width: 36px; height: 36px; margin: 0 auto 18px; color: #555; }
.lh-map p { margin-bottom: 14px; }
.lh-map p:last-child { margin-bottom: 0; }

/* ==========================================================================
   6. Unterseiten
   ========================================================================== */

.lh-page-image { position: relative; height: 400px; overflow: hidden; background: #E9E7E3; }
.lh-page-image img,
.lh-page-image .lh-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lh-page-image__credit { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 2px 6px; background: rgba(255, 255, 255, .7); color: #333; font-size: 10px; line-height: 1.4; }

.lh-page-head { padding: 80px 0 64px; background: var(--white); }
.lh-page-head h1 { margin-bottom: 8px; }
.lh-page-head__sub { margin: 0 0 8px; font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--navy); }
.lh-page-head .entry-content > *:last-child { margin-bottom: 0; }

.lh-section-title { margin: 0 0 16px; }

/* Inhaltsbereich */
.entry-content { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin: 40px 0 8px; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { margin: 28px 0 8px; }
.entry-content h4 { margin: 24px 0 8px; }
.entry-content ul,
.entry-content ol { margin: 0 0 16px; padding-left: 1.6em; }
.entry-content li { margin-bottom: 2px; }
.entry-content li::marker { color: var(--text); }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.entry-content blockquote { margin: 24px 0; padding: 8px 0 8px 20px; border-left: 4px solid var(--navy); font-style: italic; }
.entry-content figure { margin: 24px 0; }
.entry-content a:not(.wp-block-button__link):not(.lh-btn) { color: var(--navy); font-weight: 400; }

.lh-lead { font-size: 17px; font-weight: 400; }
.lh-note { position: relative; padding: 14px 16px 14px 50px; border-left: 4px solid var(--navy); background: rgba(22, 78, 121, .06); }
.lh-note::before {
	content: "i";
	position: absolute;
	left: 16px;
	top: 14px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	font: italic 700 14px/22px Georgia, serif;
	text-align: center;
}

.entry-content .lh-checks { list-style: none; padding-left: 0; }
.entry-content .lh-checks li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.entry-content .lh-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 3px;
	background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.entry-content .lh-steps { list-style: none; padding-left: 0; counter-reset: lhstep; display: grid; gap: 10px; }
.entry-content .lh-steps li {
	position: relative;
	counter-increment: lhstep;
	margin: 0;
	padding: 16px 20px 16px 72px;
	background: var(--white);
	box-shadow: var(--shadow);
}
.entry-content .lh-steps li::before {
	content: counter(lhstep);
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--box-grad);
	color: var(--white);
	font: 700 17px/36px var(--font-head);
	text-align: center;
}
.entry-content .lh-steps strong { color: var(--dark); font-weight: 600; }

/* Kästen wie „IconBox“ der bisherigen Seite */
.lh-cards { margin: 24px 0 32px; }
.lh-cards,
.lh-cards > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.lh-cards--2,
.lh-cards--2 > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lh-cards > .wp-block-group__inner-container { grid-column: 1 / -1; }
.lh-cards:has(> .wp-block-group__inner-container) { display: block; }
.lh-card { padding: 28px 20px 24px; background: rgba(255, 255, 255, .55); box-shadow: var(--shadow); text-align: center; hyphens: auto; }
.lh-card h3 { margin: 0 0 14px; font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.375; }
.lh-card h3 a { color: inherit; text-decoration: none; }
.lh-card h3 a:hover { color: var(--navy); }
.lh-card p { margin: 0; color: var(--dark); }
.lh-card::before {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	margin: 0 auto 10px;
	background: var(--navy);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.5 12.3 3 3 6-6.3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.5 12.3 3 3 6-6.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lh-callout { margin: 32px 0; padding: 32px; background: var(--box-grad); border-radius: 8px; color: var(--white); }
.lh-callout h3 { margin-top: 0; color: var(--white); font-size: 22px; font-weight: 400; }
.lh-callout p { color: var(--white); }
.lh-callout a:not(.wp-block-button__link) { color: var(--white) !important; text-decoration: underline; }
.lh-callout .wp-block-buttons { margin: 20px 0 0; }
.lh-callout .wp-block-button__link { background: var(--white); border-color: var(--white); color: var(--navy); }
.lh-callout .wp-block-button__link:hover { background: #E8EEF4; border-color: #E8EEF4; color: var(--navy); }
.lh-callout .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--white); color: var(--white); }
.lh-callout .is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--navy); }

.lh-faq { margin: 16px 0 32px; }
.lh-faq,
.lh-faq > .wp-block-group__inner-container { display: grid; gap: 8px; }
.wp-block-details { background: var(--white); box-shadow: var(--shadow); }
.wp-block-details summary {
	position: relative;
	padding: 14px 48px 14px 18px;
	font-weight: 600;
	color: var(--dark);
	cursor: pointer;
	list-style: none;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	background: var(--navy);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}
.wp-block-details[open] summary::after { transform: rotate(180deg); }
.wp-block-details > p { padding: 0 18px 16px; margin: 0; }

.lh-table { margin: 16px 0 32px; overflow-x: auto; }
.lh-table table { width: 100%; border-collapse: collapse; background: var(--white); }
.entry-content .lh-table thead { border-bottom: 0; }
.entry-content .lh-table th { background: var(--navy); color: var(--white); text-align: left; font-weight: 600; padding: 10px 12px; border: 0; }
.entry-content .lh-table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content .lh-table table.has-fixed-layout { table-layout: auto; }
.lh-table tr:nth-child(even) td { background: #F6F7F8; }

.lh-partner-list { columns: 2; column-gap: 32px; }
.lh-partner-list li { break-inside: avoid; }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; margin: 24px 0; }
.wp-block-column { flex: 1 1 300px; min-width: 0; }

.lh-back { margin-top: 40px; }

/* Unterseiten-Kacheln „Unsere Leistungen im Bereich …“ */
.lh-children__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 16px; }
.lh-child {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
	overflow: hidden;
	color: var(--text);
	text-decoration: none;
	padding-bottom: 15px;
}
.lh-child:hover { color: var(--text); box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .18), 0 2px 4px -1px rgba(0, 0, 0, .06); }
.lh-child__media { position: relative; display: block; height: 200px; overflow: hidden; background: #E9ECEF; }
.lh-child__media img,
.lh-child__media .lh-scene { width: 100%; height: 100%; object-fit: cover; }
.lh-child__title { display: block; padding: 30px 30px 0; margin-bottom: 8px; font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--text); }
.lh-child__text { display: block; flex: 1; padding: 22px 30px 0; hyphens: auto; }
.lh-child__more { display: block; padding: 24px 30px 0; }

/* Beratungstermin */
.lh-cta {
	position: relative;
	padding: 80px 0;
	color: var(--white);
	text-align: center;
	background-color: #2C3237;
	background-image:
		linear-gradient(rgba(33, 37, 41, .55), rgba(33, 37, 41, .55)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='%23C9B79A' stroke-opacity='.35' stroke-width='1.2'%3E%3Cpath d='M10 20 70 60 150 30 230 70M70 60 40 130 120 110 150 30M120 110 210 140 230 70M40 130 10 20'/%3E%3C/g%3E%3Cg fill='%23C9B79A' fill-opacity='.5'%3E%3Ccircle cx='10' cy='20' r='3'/%3E%3Ccircle cx='70' cy='60' r='3'/%3E%3Ccircle cx='150' cy='30' r='3'/%3E%3Ccircle cx='230' cy='70' r='3'/%3E%3Ccircle cx='40' cy='130' r='3'/%3E%3Ccircle cx='120' cy='110' r='3'/%3E%3Ccircle cx='210' cy='140' r='3'/%3E%3C/g%3E%3C/svg%3E"),
		radial-gradient(circle at 30% 20%, #4A5258, #1E2326 70%);
	background-size: auto, 240px 160px, cover;
}
.lh-cta h2 { color: var(--white); margin-bottom: 8px; }
.lh-cta p { margin-bottom: 24px; }

/* Kontaktseite */
.lh-contact { padding: 80px 0 64px; background: var(--white); }
.lh-contact h1 { margin-bottom: 4px; }
.lh-contact__intro { margin-bottom: 24px; }
.lh-contact__aside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.lh-contact__aside h2 { font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.lh-contact__aside p { margin-bottom: 8px; }
.lh-contact__aside a { font-weight: 700; text-decoration: none; }

/* ==========================================================================
   7. Formulare (wie bisher: Bootstrap-Optik)
   ========================================================================== */

.lh-form-wrap { margin: 0; }
.lh-form { margin: 0; }
.lh-form__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 24px; }
.lh-field { grid-column: span 6; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lh-field--anrede { grid-column: span 2; }
.lh-field--name { grid-column: span 5; }
.lh-field--s { grid-column: span 4; }
.lh-field--l { grid-column: span 8; }
.lh-field--full { grid-column: 1 / -1; }
.lh-field > label { font-weight: 300; font-size: 16px; color: var(--text); }
.lh-req { color: inherit; }
.lh-hint { font-size: 16px; color: var(--text); line-height: 1.4; }

.lh-form input[type="text"],
.lh-form input[type="email"],
.lh-form input[type="tel"],
.lh-form input[type="search"],
.lh-form select,
.lh-form textarea,
.lh-rechner select,
.lh-rechner input[type="text"],
.lh-search input[type="search"] {
	width: 100%;
	min-height: 38px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--white);
	color: var(--dark);
	font-family: var(--font);
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.lh-form select,
.lh-rechner select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px 12px no-repeat;
}
.lh-form textarea { min-height: 150px; resize: vertical; }
.lh-form ::placeholder { color: #6C757D; opacity: 1; }
.lh-form input:focus,
.lh-form select:focus,
.lh-form textarea:focus,
.lh-rechner select:focus,
.lh-rechner input:focus,
.lh-search input:focus { outline: none; border-color: #8BB1D3; box-shadow: 0 0 0 4px rgba(22, 78, 121, .2); }
.lh-form input[type="file"] { width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--dark); font: 400 16px/36px var(--font); }
.lh-form input[type="file"]::file-selector-button { margin-right: 10px; padding: 0 12px; height: 36px; border: 0; border-right: 1px solid var(--line); background: #E9ECEF; color: var(--dark); font: inherit; cursor: pointer; }

.lh-check { display: flex; gap: 10px; align-items: flex-start; flex-direction: row; }
.lh-check input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.lh-check label { font-weight: 300; font-size: 16px; line-height: 1.4; color: var(--text); }

.lh-form__note { grid-column: 1 / -1; margin: 4px 0 0; }
.lh-form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.lh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.lh-alert { margin: 0 0 20px; padding: 12px 16px; border: 1px solid transparent; border-radius: 6px; font-weight: 400; }
.lh-alert--success { background: #D1E7DD; border-color: #A3CFBB; color: #0A3622; }
.lh-alert--error { background: #F8D7DA; border-color: #F1AEB5; color: #58151C; }

.lh-search { display: flex; gap: 10px; flex-wrap: wrap; }
.lh-search input[type="search"] { flex: 1 1 260px; }

/* ==========================================================================
   8. Wärmepumpen-Rechner
   ========================================================================== */

.lh-rechner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin: 24px 0; hyphens: manual; }
.lh-rechner__form { display: grid; gap: 16px; }
.lh-rechner__step { margin: 0; padding: 20px 24px 24px; border: 0; background: var(--white); box-shadow: var(--shadow); min-width: 0; }
.lh-rechner__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; padding: 0; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--text); }
.lh-rechner__step legend + * { clear: both; }
.lh-rechner__num { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--box-grad); color: var(--white); font-size: 15px; font-weight: 700; }
.lh-rechner__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; align-items: end; }
.lh-rechner__form .lh-field { grid-column: auto; }
.lh-rechner .lh-check { margin: 16px 0 0; }
.lh-check--inline { align-self: center; margin: 0 !important; }
.lh-rechner .lh-field > label { font-weight: 400; }

.lh-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.lh-choice label { position: relative; cursor: pointer; }
.lh-choice input { position: absolute; opacity: 0; inset: 0; }
.lh-choice span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-weight: 600; text-align: center; transition: border-color .15s, background-color .15s, color .15s; }
.lh-choice .lh-icon { width: 24px; height: 24px; color: var(--navy); }
.lh-choice input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.lh-choice input:checked + span .lh-icon { color: var(--white); }
.lh-choice input:focus-visible + span { outline: 3px solid #7FB2DB; outline-offset: 2px; }

.lh-input-unit { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.lh-input-unit:focus-within { border-color: #8BB1D3; box-shadow: 0 0 0 4px rgba(22, 78, 121, .2); }
.lh-rechner .lh-input-unit input[type="text"] { border: 0; box-shadow: none; font-weight: 600; min-width: 0; }
.lh-input-unit span { padding-right: 12px; color: var(--text); white-space: nowrap; }

.lh-rechner__result { position: sticky; top: 24px; padding: 28px; border-radius: 8px; background: var(--box-grad); color: var(--white); }
.lh-rechner__result .lh-eyebrow { color: #C9D9E8; }
.lh-eyebrow { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.lh-rechner__headline { color: var(--white); font-size: 22px; font-weight: 400; margin-bottom: 20px; }
.lh-rechner.is-empty .lh-rechner__kpis,
.lh-rechner.is-empty .lh-rechner__compare,
.lh-rechner.is-empty .lh-rechner__details { opacity: .4; }
.lh-rechner__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lh-kpi { display: flex; flex-direction: column; padding: 14px 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.lh-kpi[hidden] { display: none; }
.lh-kpi__label { font-size: 14px; font-weight: 400; color: #D3E0EC; }
.lh-kpi__value { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--white); line-height: 1.15; margin: 4px 0; font-variant-numeric: tabular-nums; }
.lh-kpi__note { font-size: 13px; color: #D3E0EC; line-height: 1.35; }
.lh-kpi--green { background: var(--white); border-color: var(--white); }
.lh-kpi--green .lh-kpi__label,
.lh-kpi--green .lh-kpi__note { color: var(--text); }
.lh-kpi--green .lh-kpi__value { color: var(--navy); }

.lh-rechner__compare { margin-top: 22px; }
.lh-rechner__compare h4 { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.lh-bar { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 15px; }
.lh-bar__label { overflow-wrap: normal; hyphens: none; }
.lh-bar__track { height: 20px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.lh-bar__fill { display: block; height: 100%; width: 0; transition: width .35s ease; }
.lh-bar__fill--alt { background: #B9C6D2; }
.lh-bar__fill--wp { background: #FFFFFF; }
.lh-bar__value { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.lh-rechner__saving { margin: 14px 0 0; padding: 12px 14px; background: rgba(255, 255, 255, .12); color: var(--white); line-height: 1.5; }
.lh-rechner__saving.is-negative { background: rgba(0, 0, 0, .15); }
.lh-rechner__saving strong { color: var(--white); }

.lh-rechner__details { margin-top: 18px; }
.lh-rechner__details summary { cursor: pointer; font-weight: 600; color: var(--white); }
.lh-rechner__details ul { margin: 12px 0; padding-left: 1.1em; font-size: 14px; line-height: 1.5; }
.lh-rechner__details .lh-hint { color: #D3E0EC; display: block; font-size: 14px; }
.lh-rechner__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lh-rechner__cta .lh-btn--primary { background: var(--white); border-color: var(--white); color: var(--navy); }
.lh-rechner__cta .lh-btn--primary:hover { background: #E8EEF4; border-color: #E8EEF4; color: var(--navy); }
.lh-rechner__cta .lh-btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.lh-rechner__cta .lh-btn--ghost:hover { background: var(--white); color: var(--navy); }

.lh-rechner__lead { grid-column: 1 / -1; padding: 32px; background: var(--white); box-shadow: var(--shadow); }
.lh-rechner__lead h3 { margin-top: 0; font-size: 22px; font-weight: 400; color: var(--navy); }
.lh-rechner__lead .lh-form__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lh-rechner__lead .lh-field { grid-column: span 3; }
.lh-rechner__lead .lh-field--s { grid-column: span 2; }
.lh-rechner__lead .lh-field--l { grid-column: span 4; }
.lh-rechner__lead .lh-field--full { grid-column: 1 / -1; }

/* ==========================================================================
   9. Fußbereich
   ========================================================================== */

.lh-footer { background: var(--navy); color: var(--white); }
.lh-footer a { color: var(--white); }
.lh-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 80px; padding-bottom: 80px; }
.lh-footer__title { margin: 0 0 8px; color: var(--white); font-size: 19px; font-weight: 600; }
.lh-footer p { margin: 0 0 22px; }
.lh-footer address { font-style: normal; margin: 0 0 22px; }
.lh-footer__mail { font-weight: 700; text-decoration: none; }
.lh-footer__mail .lh-icon { width: 14px; height: 14px; margin-left: 4px; }
.lh-footer .lh-hours div { margin-bottom: 22px; }
.lh-footer .lh-hours dt { font-weight: 400; }
.lh-footer__partner { display: flex; justify-content: center; align-items: flex-start; }
.lh-footer__logos {
	position: relative;
	display: block;
	width: 200px;
	height: 200px;
	background: var(--white);
}
.lh-footer__logos a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; }
.lh-footer__logos img { width: 180px; height: auto; }
@media (prefers-reduced-motion: no-preference) {
	.lh-footer__logos a { animation: lh-fade 10s infinite; }
	.lh-footer__logos a:nth-child(2) { animation-delay: -5s; }
}
@media (prefers-reduced-motion: reduce) {
	.lh-footer__logos { height: auto; padding: 16px 0; display: grid; gap: 16px; }
	.lh-footer__logos a { position: static; }
}
@keyframes lh-fade {
	0%, 45% { opacity: 1; visibility: visible; }
	50%, 95% { opacity: 0; visibility: hidden; }
	100% { opacity: 1; visibility: visible; }
}

.lh-footer__bottom { background: var(--grey); padding: 5px 0 6px; }
.lh-footer__bottom-inner { display: flex; align-items: center; justify-content: flex-end; min-height: 42px; }
.lh-footer__legal-list { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.lh-footer__legal-list a { color: var(--dark); font-weight: 700; text-decoration: none; }
.lh-footer__legal-list a:hover { color: var(--white); }

/* ==========================================================================
   10. Sonstiges
   ========================================================================== */

.pagination,
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--navy); font-weight: 600; }
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

.wp-caption-text,
.wp-element-caption { font-size: 14px; text-align: center; margin-top: 8px; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.lh-scene { display: block; }

/* ==========================================================================
   11. Responsiv
   ========================================================================== */

@media (max-width: 1399.98px) {
	.lh-nav__list > li { margin-right: 4px; }
	.lh-nav__list > li > a { padding: 5px 10px; }
	.lh-header__partner, .lh-header__partner img { width: 160px; }
	.lh-carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}

/* Mobiles Menü */
@media (max-width: 1199.98px) {
	.lh-header__inner { flex-direction: column; justify-content: center; gap: 0; min-height: 0; }
	.lh-header__partner { display: none; }
	.lh-nav-toggle { display: inline-flex; }
	.lh-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin: 0;
		max-height: calc(100vh - 40px);
		overflow-y: auto;
		background: linear-gradient(var(--navy-light) 0%, var(--navy) 100%);
		box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5);
	}
	.lh-nav-open .lh-nav { display: block; }
	.lh-nav__list { display: block; max-width: 720px; margin: 0 auto; padding: 8px 16px 16px; }
	.lh-nav__list > li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .55); display: flex; flex-wrap: wrap; align-items: center; }
	.lh-nav__list > li > a { flex: 1; padding: 12px 4px; font-weight: 700; }
	.lh-nav__list > li:hover > a,
	.lh-nav__list > li:focus-within > a,
	.lh-nav__list > li.current-menu-item > a,
	.lh-nav__list > li.current-menu-ancestor > a,
	.lh-nav__list > li.current-menu-parent > a,
	.lh-nav__list > li.current_page_item > a,
	.lh-nav__list > li.current_page_ancestor > a { background: transparent; }
	.lh-nav__list > .menu-item-has-children > a::after,
	.lh-nav__list > .page_item_has_children > a::after,
	.lh-nav__list ul .menu-item-has-children > a::after,
	.lh-nav__list ul .page_item_has_children > a::after { display: none; }
	.lh-nav__list ul,
	.lh-nav__list ul ul {
		position: static;
		width: 100%;
		flex-basis: 100%;
		display: none;
		visibility: visible;
		opacity: 1;
		background: none;
		padding: 0 0 8px 14px;
	}
	.lh-nav__list > li > ul::before { display: none; }
	.lh-nav__list li.is-open > ul { display: block; }
	.lh-nav__list li:hover > ul,
	.lh-nav__list li:focus-within > ul { visibility: visible; }
	.lh-nav__list ul li { display: flex; flex-wrap: wrap; align-items: center; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
	.lh-nav__list ul li:last-child { border-bottom: 0; }
	.lh-nav__list ul a { flex: 1; padding: 10px 4px; font-weight: 400; }
	.lh-sub-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--white);
		cursor: pointer;
	}
	.lh-sub-toggle .lh-icon,
	.lh-sub-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
	.lh-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

	.lh-slide__panel { width: 45%; padding: 0 40px; }
	.lh-features__grid { gap: 12px; }
	.lh-promise__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-promise__item:nth-child(n) { background: transparent; color: var(--white); border-color: #EEEEEE; box-shadow: none; }
	.lh-promise__item:nth-child(4n+1),
	.lh-promise__item:nth-child(4n+4) { background: var(--white); color: var(--text); border-color: var(--white); box-shadow: var(--shadow); }
	.lh-children__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-footer__partner { justify-content: flex-start; }
}

@media (max-width: 991.98px) {
	.lh-slider { height: 548px; }
	.lh-slide__panel { left: 0; width: auto; padding: 24px 56px 24px 96px; align-items: flex-start; }
	.lh-slide__title { font-size: 26px; line-height: 36px; }
	.lh-features__grid { grid-template-columns: minmax(0, 1fr); }
	.lh-cards,
	.lh-cards > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-rechner { grid-template-columns: minmax(0, 1fr); }
	.lh-rechner__result { position: static; }
	.lh-carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
	.lh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-contact__aside { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.lh-page-image { height: 320px; }
}

@media (max-width: 767.98px) {
	.lh-band,
	.lh-intro,
	.lh-hello,
	.lh-tools,
	.lh-cta,
	.lh-visit,
	.lh-promise,
	.lh-page-head,
	.lh-contact { padding-top: 56px; padding-bottom: 56px; }
	h1 { font-size: 25px; }
	.lh-page-image { height: 240px; }
	.lh-promise__grid { grid-template-columns: minmax(0, 1fr); }
	.lh-promise__item:nth-child(n) { background: transparent; color: var(--white); border-color: #EEEEEE; box-shadow: none; }
	.lh-promise__item:nth-child(odd) { background: var(--white); color: var(--text); border-color: var(--white); box-shadow: var(--shadow); }
	.lh-promise__item { min-height: 160px; }
	.lh-children__grid,
	.lh-cards,
	.lh-cards--2,
	.lh-cards > .wp-block-group__inner-container,
	.lh-cards--2 > .wp-block-group__inner-container,
	.lh-posts,
	.lh-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.lh-footer__grid { padding-top: 56px; padding-bottom: 56px; gap: 8px; }
	.lh-carousel { padding: 0 36px; }
	.lh-carousel__btn { width: 30px; }
	.lh-carousel__track { grid-auto-columns: 100%; }
	.lh-form__grid { grid-template-columns: minmax(0, 1fr); }
	.lh-field,
	.lh-field--anrede,
	.lh-field--name,
	.lh-field--s,
	.lh-field--l,
	.lh-rechner__lead .lh-field,
	.lh-rechner__lead .lh-field--s,
	.lh-rechner__lead .lh-field--l { grid-column: 1 / -1; }
	.lh-rechner__lead .lh-form__grid { grid-template-columns: minmax(0, 1fr); }
	.lh-rechner__row,
	.lh-rechner__kpis { grid-template-columns: minmax(0, 1fr); }
	.lh-rechner__step,
	.lh-rechner__result,
	.lh-rechner__lead { padding: 20px 18px; }
	.lh-partner-list { columns: 1; }
	.lh-bar { grid-template-columns: 104px minmax(0, 1fr) auto; }
	.lh-slide__panel { padding: 20px 48px 20px 88px; }
	.lh-slide__title { font-size: 22px; line-height: 30px; }
	.lh-footer__bottom-inner { justify-content: center; }
}

@media (max-width: 420px) {
	.lh-choice { grid-template-columns: minmax(0, 1fr); }
	.lh-choice span { flex-direction: row; justify-content: flex-start; padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

@media print {
	.lh-header, .lh-side, .lh-top, .lh-cta, .lh-map, .lh-footer, .lh-nav-toggle, .lh-rechner__lead, .lh-slider, .lh-page-image { display: none !important; }
	body { background: #fff; color: #000; }
	a { color: #000; }
}
