/* ==========================================================================
   JD Homes – Design-System
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Bausteine · 5 Kopf · 6 Fuß
           7 Vorlagen · 8 Startseiten-Blöcke · 9 Plugins · 10 Responsive
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
:root {
	--jdh-ink-900: #0a0a0a;
	--jdh-ink-700: #333333;
	--jdh-ink-500: #5a5a5a;
	--jdh-ink-400: #7a7a7a;
	--jdh-ink-200: #c3c4c7;
	--jdh-ink-100: #f0f0f1;
	--jdh-ink-50: #f8f8f8;
	--jdh-weiss: #ffffff;
	--jdh-akzent-700: #0a3a47;
	--jdh-akzent-600: #0f4c5c;
	--jdh-akzent-500: #15697e;
	--jdh-akzent-100: #e6f0f3;

	--jdh-schrift: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--jdh-breite: 1200px;
	--jdh-breite-text: 720px;
	--jdh-breite-mittel: 880px;
	--jdh-rand: clamp(20px, 4vw, 40px);
	--jdh-sektion: clamp(72px, 9vw, 112px);

	--jdh-radius: 2px;
	--jdh-schatten: 0 1px 2px rgba(10, 10, 10, .04), 0 8px 24px rgba(10, 10, 10, .06);
	--jdh-schatten-gross: 0 2px 4px rgba(10, 10, 10, .04), 0 18px 40px rgba(10, 10, 10, .10);

	--jdh-zeit: 220ms;
	--jdh-kurve: cubic-bezier(.2, .7, .2, 1);

	--jdh-kopf-hoehe: 84px;
	--jdh-admin: var(--wp-admin--admin-bar--height, 0px);
}

/* 2 Basis ----------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--jdh-kopf-hoehe) + var(--jdh-admin) + 16px); }

body {
	margin: 0;
	background: var(--jdh-weiss);
	color: var(--jdh-ink-700);
	font-family: var(--jdh-schrift);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--jdh-ink-900);
	font-family: var(--jdh-schrift);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

p { margin: 0; }

a {
	color: var(--jdh-akzent-600);
	text-decoration: none;
	transition: color var(--jdh-zeit) var(--jdh-kurve);
}
a:hover { color: var(--jdh-akzent-700); }

img { max-width: 100%; height: auto; }

:focus-visible {
	outline: 2px solid var(--jdh-akzent-500);
	outline-offset: 3px;
	border-radius: var(--jdh-radius);
}

::selection { background: var(--jdh-akzent-100); color: var(--jdh-ink-900); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: 12px 18px;
	background: var(--jdh-ink-900); color: #fff;
}

/* 3 Layout ---------------------------------------------------------------- */
.jdh-container {
	width: 100%;
	max-width: calc(var(--jdh-breite) + 2 * var(--jdh-rand));
	margin-inline: auto;
	padding-inline: var(--jdh-rand);
	box-sizing: border-box;
}
.jdh-container--text { max-width: calc(var(--jdh-breite-text) + 2 * var(--jdh-rand)); }
.jdh-container--breit { max-width: calc(var(--jdh-breite-mittel) + 2 * var(--jdh-rand)); }

.jdh-sektion { padding-block: var(--jdh-sektion); }
.jdh-sektion--hell { background: var(--jdh-ink-50); }
.jdh-sektion--dunkel { background: var(--jdh-ink-900); color: var(--jdh-ink-200); }
.jdh-sektion--akzent { background: var(--jdh-akzent-600); color: rgba(255, 255, 255, .86); }
.jdh-sektion__kopf { margin-bottom: 48px; max-width: 720px; }
.jdh-sektion__kopf--zeile {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px 40px; max-width: none;
}

/* 4 Bausteine ------------------------------------------------------------- */

/* Typo-Bausteine */
.jdh-overline {
	margin: 0 0 12px;
	color: var(--jdh-akzent-600);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.jdh-overline--hell, .jdh-sektion--akzent .jdh-overline, .jdh-sektion--dunkel .jdh-overline { color: rgba(255, 255, 255, .72); }
.jdh-h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.22; }
.jdh-lead {
	margin-top: 16px;
	color: var(--jdh-ink-500);
	font-size: clamp(17px, 1.6vw, 19px);
	line-height: 1.62;
}
.jdh-sektion--akzent .jdh-lead { color: rgba(255, 255, 255, .86); }

/* Pfeil in Buttons und Links */
.jdh-pfeil { flex: 0 0 auto; transition: transform var(--jdh-zeit) var(--jdh-kurve); }

/* Buttons */
.jdh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: var(--jdh-radius);
	font-family: var(--jdh-schrift);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: .01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color var(--jdh-zeit) var(--jdh-kurve),
		color var(--jdh-zeit) var(--jdh-kurve),
		border-color var(--jdh-zeit) var(--jdh-kurve),
		box-shadow var(--jdh-zeit) var(--jdh-kurve),
		transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-btn:hover .jdh-pfeil { transform: translateX(3px); }
.jdh-btn:active { transform: translateY(0); box-shadow: none; }

.jdh-btn.jdh-btn--primaer, .jdh-btn.jdh-btn--primaer:visited { background: var(--jdh-ink-900); color: #fff; }
.jdh-btn.jdh-btn--primaer:hover {
	background: var(--jdh-akzent-600); color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(15, 76, 92, .28);
}

.jdh-btn.jdh-btn--sekundaer, .jdh-btn.jdh-btn--sekundaer:visited { background: transparent; color: var(--jdh-ink-900); border-color: var(--jdh-ink-900); }
.jdh-btn.jdh-btn--sekundaer:hover { background: var(--jdh-ink-900); color: #fff; transform: translateY(-1px); }

.jdh-btn.jdh-btn--hell, .jdh-btn.jdh-btn--hell:visited { background: #fff; color: var(--jdh-akzent-600); }
.jdh-btn.jdh-btn--hell:hover {
	background: var(--jdh-akzent-100); color: var(--jdh-akzent-700);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.jdh-btn--klein { padding: 11px 18px; font-size: 14px; }
.jdh-btn--block { display: flex; width: 100%; }

/* Textlink mit wachsendem Unterstrich */
.jdh-link.jdh-link {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--jdh-akzent-600);
	font-weight: 600;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	padding-bottom: 2px;
	transition: background-size var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-link.jdh-link:hover { background-size: 100% 1px; color: var(--jdh-akzent-700); }
.jdh-link:hover .jdh-pfeil { transform: translateX(3px); }

/* Brotkrumen (Rank Math) */
.jdh-brotkrumen { margin-bottom: 20px; color: var(--jdh-ink-400); font-size: 13px; }
.jdh-brotkrumen p { margin: 0; }
.jdh-main .jdh-brotkrumen a { color: var(--jdh-ink-500); }
.jdh-main .jdh-brotkrumen a:hover { color: var(--jdh-akzent-600); }
.jdh-brotkrumen .separator { margin: 0 6px; color: var(--jdh-ink-200); }

/* Beitragskarten */
.jdh-beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.jdh-beitrag { display: flex; }
.jdh-beitrag .jdh-beitrag__link {
	display: flex; flex-direction: column; width: 100%;
	background: #fff;
	border: 1px solid var(--jdh-ink-100);
	color: inherit;
	transition: transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-beitrag .jdh-beitrag__link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--jdh-schatten-gross); border-color: transparent; }
.jdh-beitrag__bild { position: relative; aspect-ratio: 19 / 12; overflow: hidden; background: var(--jdh-ink-100); }
.jdh-beitrag__bild img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform 600ms var(--jdh-kurve);
}
.jdh-beitrag__link:hover .jdh-beitrag__bild img { transform: scale(1.045); }
.jdh-beitrag__ersatz {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, var(--jdh-akzent-100), var(--jdh-ink-100));
}
.jdh-beitrag__inhalt { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; }
.jdh-beitrag__inhalt .jdh-overline { margin: 0; }
.jdh-beitrag__titel { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; transition: color var(--jdh-zeit) var(--jdh-kurve); }
.jdh-beitrag__link:hover .jdh-beitrag__titel { color: var(--jdh-akzent-600); }
.jdh-beitrag__auszug { color: var(--jdh-ink-500); font-size: 15px; line-height: 1.6; }
.jdh-beitrag__meta { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; color: var(--jdh-ink-400); font-size: 13px; }

/* Infobox / CTA im Text */
.jdh-infobox {
	margin: 56px 0 0;
	padding: 32px 36px;
	background: var(--jdh-akzent-100);
	border-left: 3px solid var(--jdh-akzent-600);
}
.jdh-infobox__titel { margin-bottom: 8px; color: var(--jdh-ink-900); font-size: 20px; font-weight: 600; line-height: 1.35; }
.jdh-infobox p { color: var(--jdh-ink-700); }
.jdh-infobox__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; }

/* Seitennavigation */
.jdh-seitennav, .navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--jdh-ink-200);
	color: var(--jdh-ink-700); font-weight: 500;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
a.page-numbers:hover { border-color: var(--jdh-ink-900); color: var(--jdh-ink-900); }
.page-numbers.current { background: var(--jdh-ink-900); border-color: var(--jdh-ink-900); color: #fff; }

/* Suchformular */
.search-form { display: flex; gap: 8px; margin-top: 24px; max-width: 520px; }
.search-form label { flex: 1; }
.search-field, .jdh input[type="search"] {
	width: 100%; padding: 14px 16px;
	border: 1px solid var(--jdh-ink-200); border-radius: var(--jdh-radius);
	font: inherit; font-size: 16px; color: var(--jdh-ink-900);
	transition: border-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve);
}
.search-field:focus { outline: none; border-color: var(--jdh-akzent-600); box-shadow: 0 0 0 3px var(--jdh-akzent-100); }
.search-submit {
	padding: 0 22px; border: 0; border-radius: var(--jdh-radius);
	background: var(--jdh-ink-900); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve);
}
.search-submit:hover { background: var(--jdh-akzent-600); }

/* 5 Kopf ------------------------------------------------------------------ */
.jdh-kopf {
	position: sticky;
	top: var(--jdh-admin);
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--jdh-ink-100);
	transition: box-shadow var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-kopf.ist-gescrollt { border-color: transparent; box-shadow: 0 1px 0 var(--jdh-ink-100), 0 8px 24px rgba(10, 10, 10, .06); }
.jdh-kopf__innen { display: flex; align-items: center; gap: 32px; min-height: var(--jdh-kopf-hoehe); }

.jdh-logo { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.jdh-logo img { display: block; width: auto; height: 46px; }
.jdh-logo--hell img { height: 52px; filter: brightness(0) invert(1); }
.jdh-logo__text { color: var(--jdh-ink-900); font-size: 20px; font-weight: 700; line-height: 1; }
.jdh-logo__text small { display: block; margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--jdh-ink-400); }

.jdh-nav { flex: 1; display: flex; justify-content: flex-end; }
.jdh-nav__liste { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.jdh-nav__liste > li { position: relative; }
.jdh-nav__liste > li > a {
	position: relative;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px;
	color: var(--jdh-ink-700);
	font-size: 15px; font-weight: 500;
	white-space: nowrap;
}
.jdh-nav__liste > li > a::after {
	content: "";
	position: absolute; left: 14px; right: 14px; bottom: 4px;
	height: 2px;
	background: var(--jdh-akzent-600);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-nav__liste > li > a:hover,
.jdh-nav__liste > li:focus-within > a { color: var(--jdh-ink-900); }
.jdh-nav__liste > li > a:hover::after,
.jdh-nav__liste > .current-menu-item > a::after,
.jdh-nav__liste > .current-menu-ancestor > a::after { transform: scaleX(1); }
.jdh-nav__liste > .current-menu-item > a,
.jdh-nav__liste > .current-menu-ancestor > a { color: var(--jdh-ink-900); }

/* Pfeilchen am Eintrag mit Untermenü */
.jdh-nav__liste > .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 6px; height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-nav__liste > .menu-item-has-children:hover > a::before,
.jdh-nav__liste > .menu-item-has-children:focus-within > a::before { transform: translateY(2px) rotate(225deg); }

/* Ausklappmenü (Desktop) */
.jdh-nav .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 280px;
	margin: 0; padding: 10px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--jdh-ink-100);
	box-shadow: var(--jdh-schatten-gross);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve), visibility 0s linear var(--jdh-zeit);
}
.jdh-nav .menu-item-has-children:hover > .sub-menu,
.jdh-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
	transition-delay: 0s;
}
.jdh-nav .sub-menu a {
	display: block;
	padding: 10px 14px;
	color: var(--jdh-ink-700);
	font-size: 15px;
	border-radius: var(--jdh-radius);
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve), padding var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-nav .sub-menu a:hover { background: var(--jdh-ink-50); color: var(--jdh-akzent-600); padding-left: 18px; }
.jdh-nav .sub-menu .current-menu-item > a { color: var(--jdh-akzent-600); font-weight: 600; }

.jdh-nav__auf, .jdh-nav__mobil { display: none; }

.jdh-kopf__aktion { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.jdh-kopf .jdh-kopf__tel {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--jdh-ink-700);
	font-size: 15px; font-weight: 500;
	white-space: nowrap;
}
.jdh-kopf__tel svg { color: var(--jdh-akzent-600); transition: transform var(--jdh-zeit) var(--jdh-kurve); }
.jdh-kopf .jdh-kopf__tel:hover { color: var(--jdh-ink-900); }
.jdh-kopf__tel:hover svg { transform: rotate(-12deg) scale(1.08); }

.jdh-burger {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0; background: transparent; cursor: pointer;
}
.jdh-burger__linie {
	position: absolute; left: 11px; right: 11px;
	height: 2px; background: var(--jdh-ink-900);
	transition: transform var(--jdh-zeit) var(--jdh-kurve), top var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-burger__linie:nth-child(1) { top: 17px; }
.jdh-burger__linie:nth-child(2) { top: 25px; }
.jdh-nav-offen .jdh-burger__linie:nth-child(1) { top: 21px; transform: rotate(45deg); }
.jdh-nav-offen .jdh-burger__linie:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* 6 Fuß ------------------------------------------------------------------- */
.jdh-fuss { background: var(--jdh-ink-900); color: var(--jdh-ink-200); font-size: 15px; }
.jdh-fuss .jdh-container a:not(.jdh-btn) { color: var(--jdh-ink-200); transition: color var(--jdh-zeit) var(--jdh-kurve); }
.jdh-fuss .jdh-container a:not(.jdh-btn):hover { color: #fff; }

.jdh-fuss__aufruf { background: var(--jdh-akzent-600); color: rgba(255, 255, 255, .86); }
.jdh-fuss__aufruf-innen {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 28px 56px;
	padding-block: clamp(56px, 7vw, 88px);
}
.jdh-fuss__aufruf-text { max-width: 640px; }
.jdh-fuss__aufruf .jdh-overline { margin-bottom: 10px; }
.jdh-fuss__aufruf-titel { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.jdh-fuss__aufruf-lead { margin-top: 14px; font-size: 17px; line-height: 1.6; }
.jdh-fuss__aufruf-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.jdh-fuss .jdh-container .jdh-fuss__aufruf-tel, .jdh-fuss .jdh-fuss__aufruf-tel {
	display: inline-flex; align-items: center; gap: 8px;
	color: #fff; font-weight: 600; white-space: nowrap;
}
.jdh-fuss .jdh-container .jdh-fuss__aufruf-tel:hover { color: var(--jdh-akzent-100); }

.jdh-fuss__spalten {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.6fr;
	gap: 48px;
	padding: 64px 0 56px;
}
.jdh-fuss__adresse { margin: 24px 0 16px; font-style: normal; line-height: 1.7; color: var(--jdh-ink-400); }
.jdh-fuss__kontakt { line-height: 1.9; }
.jdh-fuss__titel { margin-bottom: 18px; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.jdh-fuss__spalte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.jdh-fuss__spalte--regionen ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.jdh-fuss__spalte a { display: inline-block; transition: color var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve); }
.jdh-fuss__spalte a:hover { transform: translateX(3px); }

.jdh-fuss__zeile {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px 32px;
	padding: 24px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	color: var(--jdh-ink-400); font-size: 13px;
}
.jdh-fuss__recht { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.jdh-fuss__recht a { color: var(--jdh-ink-400); }

/* 7 Vorlagen -------------------------------------------------------------- */
.jdh-main { display: block; }

/* Seiten- und Archivkopf */
.jdh-seite__kopf { padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); background: var(--jdh-ink-50); border-bottom: 1px solid var(--jdh-ink-100); }
.jdh-seite__titel { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
.jdh-seite .jdh-prosa { padding-block: clamp(40px, 5vw, 64px) var(--jdh-sektion); }
.jdh-archiv__liste { padding-block: clamp(40px, 5vw, 64px) var(--jdh-sektion); }

/* Artikel (Ratgeber) */
.jdh-artikel__kopf {
	padding-block: clamp(40px, 5vw, 72px);
	background: linear-gradient(120deg, var(--jdh-akzent-100) 0%, var(--jdh-ink-50) 55%, #fff 100%);
	border-bottom: 1px solid var(--jdh-ink-100);
}
.jdh-artikel__kopf-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.jdh-artikel__kopf-raster--ohne-bild { grid-template-columns: minmax(0, 760px); }
.jdh-artikel__titel { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.026em; }
.jdh-artikel__kopf .jdh-lead { margin-top: 18px; }
.jdh-artikel__bild { margin: 0; }
.jdh-artikel__bild img {
	display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: 4px;
	box-shadow: var(--jdh-schatten-gross);
}

.jdh-autor {
	display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px;
	margin-top: 28px; padding: 16px 0;
	border-top: 1px solid var(--jdh-ink-200);
	border-bottom: 1px solid var(--jdh-ink-200);
}
.jdh-autor__bild { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.jdh-autor__text { display: flex; flex-direction: column; line-height: 1.3; }
.jdh-autor__name { color: var(--jdh-ink-900); font-size: 16px; font-weight: 600; }
.jdh-autor__rolle { color: var(--jdh-ink-400); font-size: 13px; }
.jdh-autor__meta { display: flex; gap: 16px; margin-left: auto; color: var(--jdh-ink-500); font-size: 14px; }

/* Text links, mitlaufende Karte rechts */
.jdh-artikel__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	padding-block: clamp(40px, 5vw, 64px) var(--jdh-sektion);
}
.jdh-artikel__text { max-width: 780px; }
.jdh-seitenleiste { position: sticky; top: calc(var(--jdh-kopf-hoehe) + var(--jdh-admin) + 28px); }

.jdh-ansprechpartner { background: #fff; border: 1px solid var(--jdh-ink-100); box-shadow: var(--jdh-schatten); overflow: hidden; }
.jdh-ansprechpartner__bild { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.jdh-ansprechpartner__inhalt { display: flex; flex-direction: column; gap: 9px; padding: 22px 24px 22px; }
.jdh-ansprechpartner .jdh-overline { margin: 0; }
.jdh-ansprechpartner__name { color: var(--jdh-ink-900); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.jdh-ansprechpartner__rolle { margin-top: -4px; color: var(--jdh-ink-400); font-size: 13px; }
.jdh-ansprechpartner__text { margin: 4px 0 8px; color: var(--jdh-ink-500); font-size: 15px; line-height: 1.55; }
.jdh-ansprechpartner .jdh-btn { white-space: normal; text-align: center; }
.jdh-ansprechpartner .jdh-btn svg { flex: 0 0 auto; }
.jdh-main .jdh-ansprechpartner__mail { margin-top: 4px; color: var(--jdh-ink-500); font-size: 14px; text-align: center; }
.jdh-main .jdh-ansprechpartner__mail:hover { color: var(--jdh-akzent-600); }

/* "Kurz gesagt" / "Auf einen Blick" am Textanfang: abgesetzte Karte */
.jdh-artikel__text > blockquote:first-child,
.jdh-seite .jdh-prosa > blockquote:first-child {
	margin: 0 0 2.2em;
	padding: 26px 30px;
	background: var(--jdh-ink-50);
	border: 1px solid var(--jdh-ink-100);
	border-left: 3px solid var(--jdh-akzent-600);
	color: var(--jdh-ink-700);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}
.jdh-artikel__text > blockquote:first-child strong:first-child,
.jdh-seite .jdh-prosa > blockquote:first-child strong:first-child {
	display: inline-block; margin-bottom: 6px;
	color: var(--jdh-akzent-600); font-size: 17px; font-weight: 700;
}

/* Fließtext */
.jdh-prosa { color: var(--jdh-ink-700); font-size: 18px; line-height: 1.75; }
.jdh-prosa--breit { font-size: 17px; }
.jdh-prosa > * + * { margin-top: 1.15em; }
.jdh-prosa h2 { margin-top: 2.2em; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; }
.jdh-prosa h3 { margin-top: 1.9em; font-size: clamp(20px, 2vw, 23px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.jdh-prosa h4 { margin-top: 1.6em; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.jdh-prosa h2 + *, .jdh-prosa h3 + *, .jdh-prosa h4 + * { margin-top: .6em; }
.jdh-prosa > :first-child { margin-top: 0; }
.jdh-prosa strong { color: var(--jdh-ink-900); font-weight: 600; }
.jdh-main .jdh-prosa a {
	color: var(--jdh-akzent-600);
	text-decoration: underline;
	text-decoration-color: rgba(15, 76, 92, .35);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--jdh-zeit) var(--jdh-kurve), text-decoration-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-main .jdh-prosa a:hover { color: var(--jdh-akzent-700); text-decoration-color: currentColor; }
.jdh-prosa ul, .jdh-prosa ol { padding-left: 1.3em; }
.jdh-prosa li + li { margin-top: .45em; }
.jdh-prosa ul li::marker { color: var(--jdh-akzent-600); }
.jdh-prosa ol li::marker { color: var(--jdh-akzent-600); font-weight: 600; }
.jdh-prosa blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--jdh-akzent-600);
	color: var(--jdh-ink-900);
	font-size: 1.08em;
	font-weight: 500;
}
.jdh-prosa hr { margin-block: 2.5em; border: 0; border-top: 1px solid var(--jdh-ink-100); }
.jdh-prosa img, .jdh-prosa figure { display: block; margin-inline: auto; }
.jdh-prosa figcaption { margin-top: 10px; color: var(--jdh-ink-400); font-size: 14px; text-align: center; }

/* Tabellen: auf schmalen Bildschirmen horizontal scrollbar */
.jdh-prosa table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	-webkit-overflow-scrolling: touch;
}
.jdh-prosa thead th {
	background: var(--jdh-ink-900); color: #fff;
	font-weight: 600; text-align: left; white-space: nowrap;
}
.jdh-prosa th, .jdh-prosa td { padding: 12px 16px; border-bottom: 1px solid var(--jdh-ink-100); vertical-align: top; }
.jdh-prosa tbody tr { transition: background-color var(--jdh-zeit) var(--jdh-kurve); }
.jdh-prosa tbody tr:nth-child(even) { background: var(--jdh-ink-50); }
.jdh-prosa tbody tr:hover { background: var(--jdh-akzent-100); }

/* Leere Seiten (404) */
.jdh-leer { padding-block: var(--jdh-sektion); }
.jdh-leer__aktion { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Elementor: Inhalte randlos, Abstände regelt die Seite selbst */
.jdh-main--elementor > .elementor { width: 100%; }

/* 8 Startseiten-Blöcke ----------------------------------------------------- */

/* Hero */
.jdh-hero {
	position: relative;
	display: flex; align-items: center;
	min-height: min(720px, 82vh);
	padding-block: 64px;
	background: var(--jdh-ink-100) center / cover no-repeat;
	isolation: isolate;
}
.jdh-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(10, 10, 10, .42) 0%, rgba(10, 10, 10, .12) 55%, rgba(10, 10, 10, 0) 100%);
}
.jdh-hero__box {
	max-width: 640px;
	padding: clamp(32px, 4vw, 56px);
	background: #fff;
	box-shadow: var(--jdh-schatten-gross);
}
.jdh-hero__titel { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -.03em; }
.jdh-hero__text { margin: 24px 0 32px; color: var(--jdh-ink-500); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.jdh-hero__aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

/* Vertrauensleiste */
.jdh-vertrauen { background: var(--jdh-ink-900); }
.jdh-vertrauen__gitter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jdh-vertrauen__punkt { padding: 36px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.jdh-vertrauen__punkt:first-child { padding-left: 0; border-left: 0; }
.jdh-vertrauen__wert { color: #fff; font-size: 19px; font-weight: 600; line-height: 1.3; }
.jdh-vertrauen__bez { margin-top: 4px; color: var(--jdh-ink-400); font-size: 14px; }

/* Objektkarten (Startseite, Kaufen) */
.jdh-objekte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.jdh-objekte .jdh-objekt {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--jdh-ink-100);
	color: inherit;
	transition: transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-objekte .jdh-objekt:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--jdh-schatten-gross); border-color: transparent; }
.jdh-objekt__bild { position: relative; aspect-ratio: 19 / 12; overflow: hidden; background: var(--jdh-ink-100); }
.jdh-objekt__foto {
	position: absolute; inset: 0;
	background: center / cover no-repeat;
	transition: transform 600ms var(--jdh-kurve);
}
.jdh-objekt:hover .jdh-objekt__foto { transform: scale(1.05); }
.jdh-objekt__badge {
	position: absolute; top: 16px; left: 16px;
	padding: 6px 10px;
	background: var(--jdh-ink-900); color: #fff;
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	border-radius: var(--jdh-radius);
}
.jdh-objekt__badge--hinweis { background: #fff; color: var(--jdh-ink-700); }
.jdh-objekt__inhalt { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 24px 26px 26px; }
.jdh-objekt__ort { color: var(--jdh-ink-400); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.jdh-objekt__titel { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; transition: color var(--jdh-zeit) var(--jdh-kurve); }
.jdh-objekt:hover .jdh-objekt__titel { color: var(--jdh-akzent-600); }
.jdh-objekt__daten { display: flex; gap: 28px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--jdh-ink-100); }
.jdh-objekt__wert { color: var(--jdh-ink-900); font-size: 16px; font-weight: 500; }
.jdh-objekt__bez { color: var(--jdh-ink-400); font-size: 13px; }
.jdh-objekt__fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; }
.jdh-objekt__preis { color: var(--jdh-akzent-600); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.jdh-objekt__mehr {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border: 1px solid var(--jdh-ink-200);
	color: var(--jdh-ink-900);
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-objekt:hover .jdh-objekt__mehr { background: var(--jdh-ink-900); border-color: var(--jdh-ink-900); color: #fff; }
.jdh-objekt:hover .jdh-objekt__mehr .jdh-pfeil { transform: translateX(2px); }

/* Über */
.jdh-ueber { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.jdh-ueber__bild { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--jdh-ink-100) center / cover no-repeat; }
.jdh-ueber__bild::after {
	content: ""; position: absolute; left: 24px; top: 24px; right: -24px; bottom: -24px;
	border: 1px solid var(--jdh-akzent-600); z-index: -1;
}
.jdh-zitat { margin-top: 32px; padding: 4px 0 4px 24px; border-left: 3px solid var(--jdh-akzent-600); }
.jdh-zitat__text { color: var(--jdh-ink-900); font-size: 20px; font-weight: 600; line-height: 1.4; }
.jdh-zitat__wer { margin-top: 8px; color: var(--jdh-ink-400); font-size: 14px; }

/* Leistungen */
.jdh-leistungen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: leistung; }
.jdh-leistung {
	position: relative;
	display: flex; flex-direction: column; gap: 14px;
	padding: 32px 28px;
	background: var(--jdh-ink-50);
	overflow: hidden;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-leistung::before {
	content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
	background: var(--jdh-akzent-600);
	transform: scaleX(0); transform-origin: left;
	transition: transform 360ms var(--jdh-kurve);
}
.jdh-leistung:hover { background: #fff; box-shadow: var(--jdh-schatten); transform: translateY(-2px); }
.jdh-leistung:hover::before { transform: scaleX(1); }
.jdh-leistung__nr { color: var(--jdh-akzent-600); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.jdh-leistung__titel { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.jdh-leistung__text { color: var(--jdh-ink-500); font-size: 15px; line-height: 1.6; }

/* Einsatzgebiet mit Karte */
.jdh-regionen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px) minmax(0, 1fr); gap: 48px; align-items: center; }
.jdh-regionen__rechts { display: grid; gap: 36px; }
.jdh-ortsliste { display: flex; flex-direction: column; }
.jdh-ortsliste__titel {
	margin-bottom: 8px; padding-bottom: 12px;
	border-bottom: 1px solid var(--jdh-ink-200);
	color: var(--jdh-ink-400); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.jdh-regionen .jdh-ortsliste a {
	display: flex; align-items: center; gap: 12px;
	padding: 8px 0;
	color: var(--jdh-ink-700); font-size: 16px;
	transition: color var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-ortsliste a::before {
	content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%;
	background: var(--jdh-akzent-600);
	transition: transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-ortsliste a:hover, .jdh-ortsliste a.ist-aktiv { color: var(--jdh-akzent-600); transform: translateX(4px); }
.jdh-ortsliste a:hover::before, .jdh-ortsliste a.ist-aktiv::before { transform: scale(1.6); }

.jdh-geo { position: relative; }
.jdh-geo svg { display: block; width: 100%; height: auto; }
.jdh-geo svg path { transition: fill var(--jdh-zeit) var(--jdh-kurve); }
.jdh-geo__hof {
	position: absolute; width: 72px; height: 72px; border-radius: 50%;
	background: var(--jdh-akzent-600); opacity: .13;
	transform: translate(-50%, -50%);
	animation: jdh-puls 3.2s var(--jdh-kurve) infinite;
	pointer-events: none;
}
@keyframes jdh-puls {
	0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .16; }
	50% { transform: translate(-50%, -50%) scale(1.1); opacity: .08; }
}
.jdh-geo__punkt { position: absolute; width: 28px; height: 28px; transform: translate(-50%, -50%); z-index: 1; }
.jdh-geo__punkt::before {
	content: ""; position: absolute; inset: 9px;
	border-radius: 50%; background: var(--jdh-ink-900); box-shadow: 0 0 0 2px #fff;
	transition: transform var(--jdh-zeit) var(--jdh-kurve), background-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-geo__punkt--sitz::before { inset: 7px; background: var(--jdh-akzent-600); }
.jdh-geo__punkt::after {
	content: attr(data-name);
	position: absolute; left: 50%; bottom: calc(100% + 2px);
	padding: 5px 10px;
	background: var(--jdh-ink-900); color: #fff;
	font-size: 12px; font-weight: 500; white-space: nowrap;
	border-radius: var(--jdh-radius);
	opacity: 0; transform: translate(-50%, 4px);
	pointer-events: none;
	transition: opacity var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-geo__punkt--sitz::after { display: none; }
.jdh-geo__punkt:hover, .jdh-geo__punkt.ist-aktiv { z-index: 3; }
.jdh-geo__punkt:hover::before, .jdh-geo__punkt.ist-aktiv::before { transform: scale(1.7); background: var(--jdh-akzent-600); }
.jdh-geo__punkt:hover::after, .jdh-geo__punkt.ist-aktiv::after { opacity: 1; transform: translate(-50%, 0); }
.jdh-geo__label { position: absolute; transform: translateY(-50%); color: var(--jdh-akzent-600); white-space: nowrap; pointer-events: none; }
.jdh-geo__label b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.jdh-geo__label span { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* Liste ↔ Karte: Hover auf einen Ort hebt das Gegenstück hervor */
.jdh-regionen:has([data-ort="murnau"]:hover) [data-ort="murnau"],
.jdh-regionen:has([data-ort="garmisch"]:hover) [data-ort="garmisch"],
.jdh-regionen:has([data-ort="oberammergau"]:hover) [data-ort="oberammergau"],
.jdh-regionen:has([data-ort="weilheim"]:hover) [data-ort="weilheim"],
.jdh-regionen:has([data-ort="schongau"]:hover) [data-ort="schongau"],
.jdh-regionen:has([data-ort="peiting"]:hover) [data-ort="peiting"],
.jdh-regionen:has([data-ort="peissenberg"]:hover) [data-ort="peissenberg"],
.jdh-regionen:has([data-ort="altenstadt"]:hover) [data-ort="altenstadt"],
.jdh-regionen:has([data-ort="penzberg"]:hover) [data-ort="penzberg"],
.jdh-regionen:has([data-ort="muensing"]:hover) [data-ort="muensing"] { z-index: 3; }

.jdh-regionen:has([data-ort="murnau"]:hover) .jdh-geo__punkt[data-ort="murnau"]::before,
.jdh-regionen:has([data-ort="garmisch"]:hover) .jdh-geo__punkt[data-ort="garmisch"]::before,
.jdh-regionen:has([data-ort="oberammergau"]:hover) .jdh-geo__punkt[data-ort="oberammergau"]::before,
.jdh-regionen:has([data-ort="weilheim"]:hover) .jdh-geo__punkt[data-ort="weilheim"]::before,
.jdh-regionen:has([data-ort="schongau"]:hover) .jdh-geo__punkt[data-ort="schongau"]::before,
.jdh-regionen:has([data-ort="peiting"]:hover) .jdh-geo__punkt[data-ort="peiting"]::before,
.jdh-regionen:has([data-ort="peissenberg"]:hover) .jdh-geo__punkt[data-ort="peissenberg"]::before,
.jdh-regionen:has([data-ort="altenstadt"]:hover) .jdh-geo__punkt[data-ort="altenstadt"]::before,
.jdh-regionen:has([data-ort="penzberg"]:hover) .jdh-geo__punkt[data-ort="penzberg"]::before,
.jdh-regionen:has([data-ort="muensing"]:hover) .jdh-geo__punkt[data-ort="muensing"]::before { transform: scale(1.7); background: var(--jdh-akzent-600); }

.jdh-regionen:has([data-ort="garmisch"]:hover) .jdh-geo__punkt[data-ort="garmisch"]::after,
.jdh-regionen:has([data-ort="oberammergau"]:hover) .jdh-geo__punkt[data-ort="oberammergau"]::after,
.jdh-regionen:has([data-ort="weilheim"]:hover) .jdh-geo__punkt[data-ort="weilheim"]::after,
.jdh-regionen:has([data-ort="schongau"]:hover) .jdh-geo__punkt[data-ort="schongau"]::after,
.jdh-regionen:has([data-ort="peiting"]:hover) .jdh-geo__punkt[data-ort="peiting"]::after,
.jdh-regionen:has([data-ort="peissenberg"]:hover) .jdh-geo__punkt[data-ort="peissenberg"]::after,
.jdh-regionen:has([data-ort="altenstadt"]:hover) .jdh-geo__punkt[data-ort="altenstadt"]::after,
.jdh-regionen:has([data-ort="penzberg"]:hover) .jdh-geo__punkt[data-ort="penzberg"]::after,
.jdh-regionen:has([data-ort="muensing"]:hover) .jdh-geo__punkt[data-ort="muensing"]::after { opacity: 1; transform: translate(-50%, 0); }

.jdh-regionen:has([data-ort="murnau"]:hover) .jdh-ortsliste a[data-ort="murnau"],
.jdh-regionen:has([data-ort="garmisch"]:hover) .jdh-ortsliste a[data-ort="garmisch"],
.jdh-regionen:has([data-ort="oberammergau"]:hover) .jdh-ortsliste a[data-ort="oberammergau"],
.jdh-regionen:has([data-ort="weilheim"]:hover) .jdh-ortsliste a[data-ort="weilheim"],
.jdh-regionen:has([data-ort="schongau"]:hover) .jdh-ortsliste a[data-ort="schongau"],
.jdh-regionen:has([data-ort="peiting"]:hover) .jdh-ortsliste a[data-ort="peiting"],
.jdh-regionen:has([data-ort="peissenberg"]:hover) .jdh-ortsliste a[data-ort="peissenberg"],
.jdh-regionen:has([data-ort="altenstadt"]:hover) .jdh-ortsliste a[data-ort="altenstadt"],
.jdh-regionen:has([data-ort="penzberg"]:hover) .jdh-ortsliste a[data-ort="penzberg"],
.jdh-regionen:has([data-ort="muensing"]:hover) .jdh-ortsliste a[data-ort="muensing"] { color: var(--jdh-akzent-600); transform: translateX(4px); }

/* CTA-Band */
.jdh-aufruf { text-align: center; }
.jdh-aufruf__titel { color: #fff; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.025em; max-width: 18ch; margin-inline: auto; }
.jdh-aufruf .jdh-lead { max-width: 640px; margin: 24px auto 0; }
.jdh-aufruf__aktionen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 36px; }
.jdh-aufruf .jdh-aufruf__tel { color: #fff; font-weight: 600; }
.jdh-aufruf .jdh-aufruf__tel:hover { color: var(--jdh-akzent-100); }

/* 9 Plugins --------------------------------------------------------------- */

/* Immobilien-ABC: Plugin-Layout behalten, Schrift und Abstände angleichen */
.sab { font-family: var(--jdh-schrift); }
.sab .sab-hero { padding-top: clamp(40px, 5vw, 64px); }
.sab .sab-hero__title {
	margin: 4px 0 14px;
	color: var(--jdh-ink-900);
	font-size: clamp(32px, 4.2vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.025em;
}
.sab .sab-btn { border-radius: var(--jdh-radius); transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve); }
.sab .sab-btn:hover { transform: translateY(-1px); }
.sab .sab-chip { transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve); }
.sab .sab-sitefooter { display: none; }

/* Elementor-Widgets bekommen die Theme-Schrift, falls nichts anderes gesetzt ist */
.elementor-widget-text-editor, .elementor-widget-heading .elementor-heading-title { font-family: var(--jdh-schrift); }

/* 10 Responsive ------------------------------------------------------------ */
@media (max-width: 1200px) {
	.jdh-kopf__tel span { display: none; }
	.jdh-nav__liste > li > a { padding-inline: 10px; }
	.jdh-nav__liste > li > a::after { left: 10px; right: 10px; }
}

@media (max-width: 1080px) {
	:root { --jdh-kopf-hoehe: 72px; }
	.jdh-logo img { height: 40px; }
	.jdh-burger { display: block; }
	.jdh-kopf__aktion .jdh-btn { display: none; }
	.jdh-kopf__innen { gap: 16px; }
	.jdh-kopf__aktion { margin-left: auto; }
	.jdh-kopf__tel { width: 44px; height: 44px; justify-content: center; }

	.jdh-nav {
		position: fixed;
		top: calc(var(--jdh-kopf-hoehe) + var(--jdh-admin));
		left: 0; right: 0; bottom: 0;
		display: flex; flex-direction: column; justify-content: space-between;
		padding: 16px var(--jdh-rand) 32px;
		background: #fff;
		overflow-y: auto;
		opacity: 0; visibility: hidden;
		transform: translateY(-8px);
		transition: opacity var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve), visibility 0s linear var(--jdh-zeit);
	}
	.jdh-nav-offen .jdh-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.jdh-nav-offen body { overflow: hidden; }

	.jdh-nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
	.jdh-nav__liste > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--jdh-ink-100); }
	.jdh-nav__liste > li > a { flex: 1; padding: 18px 0; font-size: 18px; }
	.jdh-nav__liste > li > a::after, .jdh-nav__liste > .menu-item-has-children > a::before { display: none; }

	.jdh-nav__auf {
		display: block; position: relative;
		width: 44px; height: 44px; padding: 0;
		border: 0; background: transparent; cursor: pointer;
	}
	.jdh-nav__auf::before {
		content: ""; position: absolute; left: 50%; top: 50%;
		width: 8px; height: 8px; margin: -6px 0 0 -4px;
		border-right: 2px solid var(--jdh-ink-700); border-bottom: 2px solid var(--jdh-ink-700);
		transform: rotate(45deg);
		transition: transform var(--jdh-zeit) var(--jdh-kurve);
	}
	.ist-offen > .jdh-nav__auf::before { transform: translateY(3px) rotate(225deg); }

	.jdh-nav .sub-menu {
		position: static; flex-basis: 100%;
		display: none;
		min-width: 0; padding: 0 0 12px;
		border: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.jdh-nav .ist-offen > .sub-menu { display: block; }
	.jdh-nav .sub-menu a { padding: 10px 0 10px 16px; font-size: 16px; }
	.jdh-nav .sub-menu a:hover { padding-left: 20px; background: transparent; }

	.jdh-nav__mobil { display: grid; gap: 16px; margin-top: 32px; }
	.jdh-nav .jdh-nav__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--jdh-ink-700); font-weight: 500; }

	.jdh-regionen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.jdh-geo { grid-column: 1 / -1; order: -1; width: 100%; max-width: 420px; margin-inline: auto; }
	.jdh-leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jdh-fuss__spalten { grid-template-columns: 1fr 1fr; }
	.jdh-fuss__marke { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
	.jdh-artikel__kopf-raster, .jdh-artikel__raster { grid-template-columns: minmax(0, 1fr); }
	.jdh-seitenleiste { position: static; max-width: 480px; }
	.jdh-artikel__text { max-width: none; }
}

@media (max-width: 860px) {
	.jdh-beitraege, .jdh-objekte { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.jdh-ueber { grid-template-columns: minmax(0, 1fr); }
	.jdh-ueber__bild { max-width: 420px; }
	.jdh-vertrauen__gitter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jdh-vertrauen__punkt { padding: 24px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
	.jdh-vertrauen__punkt:nth-child(-n + 2) { border-top: 0; }
	.jdh-vertrauen__punkt:nth-child(even) { padding-left: 24px; }
	.jdh-hero { min-height: 0; padding-block: 40px; }
	.jdh-hero__box { box-shadow: none; }
	.jdh-infobox { padding: 24px; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.jdh-prosa { font-size: 17px; }
	.jdh-regionen, .jdh-leistungen, .jdh-fuss__spalten { grid-template-columns: minmax(0, 1fr); }
	.jdh-fuss__spalte--regionen ul { grid-template-columns: minmax(0, 1fr); }
	.jdh-geo__label { display: none; }
	.jdh-hero__aktionen .jdh-btn, .jdh-leer__aktion .jdh-btn { width: 100%; }
	.jdh-ueber__bild::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* 11 Immobilien-Plugin ------------------------------------------------------
   Das Plugin bringt eigene Variablen mit (nur innerhalb .jdh-grid/.jdh-single).
   "body" davor, weil das Plugin-CSS später geladen wird. */
body .jdh-grid,
body .jdh-single {
	--jdh-ink: var(--jdh-ink-900);
	--jdh-muted: var(--jdh-ink-400);
	--jdh-line: var(--jdh-ink-100);
	--jdh-accent: var(--jdh-akzent-600);
	--jdh-radius: 2px;
	font-family: var(--jdh-schrift);
}
body .jdh-grid { gap: 32px; }
body .jdh-grid .jdh-card {
	color: inherit;
	transition: transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
body .jdh-grid .jdh-card:hover,
body .jdh-grid .jdh-card:focus-visible { transform: translateY(-4px); box-shadow: var(--jdh-schatten-gross); border-color: transparent; color: inherit; }
body .jdh-grid .jdh-card-media { aspect-ratio: 19 / 12; overflow: hidden; background: var(--jdh-ink-100); }
body .jdh-grid .jdh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--jdh-kurve); }
body .jdh-grid .jdh-card:hover .jdh-card-media img { transform: scale(1.05); }
body .jdh-grid .jdh-badge {
	top: 16px; left: 16px;
	padding: 6px 10px;
	background: var(--jdh-ink-900); color: #fff;
	font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	border-radius: 2px;
}
body .jdh-grid .jdh-badge-status { left: auto; right: 16px; background: #fff; color: var(--jdh-ink-700); }
body .jdh-grid .jdh-card-body { gap: 8px; padding: 24px 26px 26px; }
body .jdh-grid .jdh-card-location { color: var(--jdh-ink-400); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
body .jdh-grid .jdh-card-title { margin: 0; color: var(--jdh-ink-900); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; transition: color var(--jdh-zeit) var(--jdh-kurve); }
body .jdh-grid .jdh-card:hover .jdh-card-title { color: var(--jdh-akzent-600); }
body .jdh-grid .jdh-card-facts { display: flex; gap: 20px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--jdh-ink-100); color: var(--jdh-ink-700); font-size: 15px; }
body .jdh-grid .jdh-card-price { padding-top: 14px; color: var(--jdh-akzent-600); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
body .jdh-empty { padding: 32px; background: var(--jdh-ink-50); color: var(--jdh-ink-500); text-align: center; }

.jdh-objektseite__inhalt { padding-block: clamp(32px, 4vw, 56px) var(--jdh-sektion); }
body .jdh-single .jdh-single-price { color: var(--jdh-akzent-600); font-weight: 600; letter-spacing: -.01em; }
body .jdh-single h2 { font-size: clamp(22px, 2.4vw, 28px); }
body .jdh-sitefooter { display: none; }

/* 12 Elementor-Brücke --------------------------------------------------------
   Klassen für Elementor-Widgets (Feld "CSS-Klassen" im Reiter Erweitert):
   jdh-el-btn-sekundaer · jdh-el-btn-hell · jdh-el-btn-link   → Button-Varianten
   jdh-el-karte                                               → Karte mit Hover
   jdh-el-rahmen                                              → Bild mit versetztem Rahmen
   jdh-el-trenner                                             → senkrechte Trennlinie links */

/* Alle Elementor-Buttons: gleiches Verhalten wie die Theme-Buttons */
.elementor-widget-button .elementor-button {
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve),
		border-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
.elementor-widget-button .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 76, 92, .25); }
.elementor-widget-button .elementor-button:active { transform: none; box-shadow: none; }
.elementor-widget-button .elementor-button-icon { transition: transform var(--jdh-zeit) var(--jdh-kurve); }
.elementor-widget-button .elementor-button:hover .elementor-button-icon { transform: translateX(3px); }

.jdh-el-btn-sekundaer .elementor-button { background: transparent !important; color: var(--jdh-ink-900) !important; border: 1px solid var(--jdh-ink-900) !important; }
.jdh-el-btn-sekundaer .elementor-button:hover { background: var(--jdh-ink-900) !important; color: #fff !important; box-shadow: none; }
.jdh-el-btn-hell .elementor-button { background: #fff !important; color: var(--jdh-akzent-600) !important; }
.jdh-el-btn-hell .elementor-button:hover { background: var(--jdh-akzent-100) !important; color: var(--jdh-akzent-700) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.jdh-el-btn-link .elementor-button {
	padding: 0 0 2px !important; background: none !important; color: var(--jdh-akzent-600) !important;
	border-radius: 0 !important; box-shadow: none !important; transform: none !important;
	background-image: linear-gradient(currentColor, currentColor) !important;
	background-position: 0 100% !important; background-repeat: no-repeat !important; background-size: 0 1px !important;
	transition: background-size var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve) !important;
}
.jdh-el-btn-link .elementor-button:hover { background-size: 100% 1px !important; color: var(--jdh-akzent-700) !important; }

/* Karten mit Hover: hebt sich, Schatten, Akzentlinie oben */
.e-con.jdh-el-karte { position: relative; overflow: hidden; transition: background-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve); }
.e-con.jdh-el-karte::after {
	content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
	background: var(--jdh-akzent-600);
	transform: scaleX(0); transform-origin: left;
	transition: transform 360ms var(--jdh-kurve);
}
.e-con.jdh-el-karte:hover { background-color: #fff; box-shadow: var(--jdh-schatten); transform: translateY(-3px); }
.e-con.jdh-el-karte:hover::after { transform: scaleX(1); }

/* Bild mit versetztem Akzentrahmen */
.jdh-el-rahmen .elementor-widget-container { position: relative; isolation: isolate; }
.jdh-el-rahmen .elementor-widget-container::after {
	content: ""; position: absolute; left: 24px; top: 24px; right: -24px; bottom: -24px;
	border: 1px solid var(--jdh-akzent-600); z-index: -1;
}
.jdh-el-rahmen img { display: block; width: 100%; }

/* Senkrechte Trennlinie (Vertrauensleiste) */
.e-con.jdh-el-trenner { border-left: 1px solid rgba(255, 255, 255, .12); }

/* Zitate in Text-Widgets */
.elementor-widget-text-editor blockquote {
	margin: 0; padding: 4px 0 4px 24px;
	border-left: 3px solid var(--jdh-akzent-600);
	color: var(--jdh-ink-900); font-size: 20px; font-weight: 600; line-height: 1.4;
}
.elementor-widget-text-editor blockquote cite { display: block; margin-top: 8px; color: var(--jdh-ink-400); font-size: 14px; font-style: normal; font-weight: 400; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
	.e-con.jdh-el-trenner { border-left: 0; }
	.jdh-el-rahmen .elementor-widget-container::after { display: none; }
}

/* 13 Korrekturen gegen Elementor-Kit-Stile -----------------------------------
   Das Kit stylt jedes <button> wie einen Elementor-Button (schwarz, gepolstert).
   Für die Bedienelemente des Themes wird das zurückgenommen. */
.jdh-kopf .jdh-burger,
.jdh-nav .jdh-nav__auf {
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--jdh-ink-900) !important;
	transform: none !important;
}

/* Absätze in Elementor-Textfeldern bekommen Abstand (die Theme-Basis setzt p auf 0) */
.elementor-widget-text-editor p + p,
.elementor-widget-text-editor p + ul,
.elementor-widget-text-editor ul + p { margin-top: 1em; }

/* Telefonnummer im Petrol-Band weiß */
.jdh-fuss .jdh-container a.jdh-fuss__aufruf-tel { color: #fff; }
.jdh-fuss .jdh-container a.jdh-fuss__aufruf-tel:hover { color: var(--jdh-akzent-100); }

/* backdrop-filter macht den Kopf zum Bezugsrahmen für position:fixed –
   das Handymenü wäre sonst im 72 px hohen Kopf eingesperrt. */
@media (max-width: 1080px) {
	.jdh-kopf { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}

/* Niedrige Bildschirme: Karte kompakter, damit sie vollständig mitläuft */
@media (min-width: 1001px) and (max-height: 860px) {
	.jdh-ansprechpartner__bild { aspect-ratio: 2 / 1; }
	.jdh-ansprechpartner__text { display: none; }
}

/* 14 Seitenbausteine ---------------------------------------------------------- */

/* Eckdaten (Objektseiten) */
.jdh-faktenliste { margin: 0; padding: 0; list-style: none; }
.jdh-faktenliste li {
	display: flex; justify-content: space-between; gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--jdh-ink-200);
	font-size: 16px;
}
.jdh-faktenliste li:last-child { border-bottom: 0; }
.jdh-faktenliste span { color: var(--jdh-ink-500); }
.jdh-faktenliste strong { color: var(--jdh-ink-900); font-weight: 600; text-align: right; }

/* Referenzkarten: einheitliches Bildformat, Zoom beim Überfahren */
.jdh-el-referenzbild .elementor-widget-container { overflow: hidden; aspect-ratio: 4 / 3; }
.jdh-el-referenzbild img {
	width: 100% !important; height: 100% !important; object-fit: cover;
	transition: transform 600ms var(--jdh-kurve);
}
.e-con.jdh-el-karte:hover .jdh-el-referenzbild img { transform: scale(1.05); }

/* Elementor-Formulare: Absende-Button wie Theme-Buttons, Checkbox-Text kleiner */
.elementor-form .elementor-field-type-acceptance label,
.elementor-form .elementor-field-type-checkbox label { font-size: 14px; color: var(--jdh-ink-500); }
.elementor-form .elementor-field-group { margin-bottom: 14px; }

/* Akkordeon (FAQ) im Design */
.elementor-accordion .elementor-accordion-item { border-color: var(--jdh-ink-100) !important; }
.elementor-accordion .elementor-tab-title {
	padding: 20px 24px !important;
	color: var(--jdh-ink-900) !important; font-weight: 600 !important; font-size: 17px !important;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve);
}
.elementor-accordion .elementor-tab-title a { color: inherit !important; }
.elementor-accordion .elementor-tab-title:hover { background: var(--jdh-ink-50); }
.elementor-accordion .elementor-tab-title.elementor-active { color: var(--jdh-akzent-600) !important; }
.elementor-accordion .elementor-tab-content { padding: 4px 24px 22px !important; color: var(--jdh-ink-500); line-height: 1.7; border-color: var(--jdh-ink-100) !important; }

/* 15 Seitenkopf mit Bild ----------------------------------------------------
   Gleicher Kopf wie auf den Elementor-Seiten: farbiges Foto, dunkler Verlauf von
   links, helle Schrift. Das Bild setzt functions.php als --jdh-kopfbild. */
.jdh-seite__kopf,
body .sfx .sfx-hero,
.sab .sab-hero {
	position: relative;
	isolation: isolate;
	display: flex; flex-direction: column; justify-content: center;
	min-height: 400px;
	padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
	background: var(--jdh-ink-900) var(--jdh-kopfbild, none) center / cover no-repeat;
	border-bottom: 0;
	color: #fff;
}
.jdh-seite__kopf::before,
body .sfx .sfx-hero::before,
.sab .sab-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(10, 10, 10, .8) 0%, rgba(10, 10, 10, .55) 50%, rgba(10, 10, 10, .2) 100%);
}
.jdh-seite__kopf .jdh-seite__titel,
body .sfx .sfx-hero .sfx-hero__title,
.sab .sab-hero .sab-hero__title,
.sab .sab-hero h1 { color: #fff; }
.jdh-seite__kopf .jdh-overline,
body .sfx .sfx-hero .sfx-eyebrow,
.sab .sab-hero .sab-eyebrow { color: rgba(255, 255, 255, .78); }
.jdh-seite__kopf .jdh-lead,
body .sfx .sfx-hero .sfx-hero__lead,
.sab .sab-hero p { color: rgba(255, 255, 255, .88); }
.jdh-seite__kopf .jdh-brotkrumen,
.jdh-main .jdh-seite__kopf .jdh-brotkrumen a { color: rgba(255, 255, 255, .72); }
.jdh-main .jdh-seite__kopf .jdh-brotkrumen a:hover { color: #fff; }
.jdh-seite__kopf .jdh-brotkrumen .separator { color: rgba(255, 255, 255, .4); }
@media (max-width: 760px) {
	.jdh-seite__kopf, body .sfx .sfx-hero, .sab .sab-hero { min-height: 0; }
	.jdh-seite__kopf::before, body .sfx .sfx-hero::before, .sab .sab-hero::before {
		background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .8) 100%);
	}
}

/* 16 Eigentümer-Strecke (Sunside-Silo) ----------------------------------------
   Logik, Adressen, Formular und Rechner liefert das Plugin; das Aussehen kommt
   vollständig von hier. "body .sfx" schlägt die Plugin-Regeln (später geladen). */
body .sfx {
	--sfx-brand: var(--jdh-akzent-600);
	--sfx-ink: var(--jdh-ink-900);
	--sfx-body: var(--jdh-ink-700);
	--sfx-muted: var(--jdh-ink-500);
	--sfx-line: var(--jdh-ink-100);
	--sfx-radius: 2px;
	position: relative;
	padding-top: 0 !important;
	font-family: var(--jdh-schrift);
	font-size: 17px;
	line-height: 1.7;
	color: var(--jdh-ink-700);
}
body .sfx h1, body .sfx h2, body .sfx h3 { font-family: var(--jdh-schrift); letter-spacing: -.02em; }
body .sfx .sfx-container { max-width: calc(var(--jdh-breite) + 2 * var(--jdh-rand)); padding-inline: var(--jdh-rand); }
body .sfx .sfx-section { padding-block: clamp(56px, 7vw, 88px); }
body .sfx .sfx-section-tight { padding-block: clamp(40px, 5vw, 64px); }
body .sfx .sfx-hero + .sfx-section-tight,
body .sfx .sfx-hero + .sfx-container + .sfx-section { padding-top: clamp(48px, 6vw, 80px); }

/* Brotkrumen liegen im Bildkopf */
body .sfx .sfx-crumbs {
	position: absolute; top: clamp(20px, 3vw, 32px); left: 0; right: 0; z-index: 2;
	padding: 0; font-size: 13px; color: rgba(255, 255, 255, .72);
}
body .sfx .sfx-crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
body .sfx .sfx-crumbs a:hover { color: #fff; text-decoration: none; }
body .sfx .sfx-crumbs__sep { color: rgba(255, 255, 255, .4); }
body .sfx .sfx-crumbs span:last-child { color: rgba(255, 255, 255, .9); }

/* Kopf */
body .sfx .sfx-hero .sfx-container > * { max-width: 760px; }
body .sfx .sfx-hero__title { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; line-height: 1.1; letter-spacing: -.028em; }
body .sfx .sfx-hero__lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.62; }

/* Überzeilen */
body .sfx .sfx-eyebrow {
	margin: 0 0 14px;
	color: var(--jdh-akzent-600);
	font-size: 12px; font-weight: 500; line-height: 1.35;
	letter-spacing: .14em; text-transform: uppercase;
}

/* Leitsatz unter dem Kopf (Hub) */
body .sfx .sfx-tagline {
	margin: clamp(40px, 5vw, 56px) 0 0; padding-left: 20px;
	border-left: 3px solid var(--jdh-akzent-600);
	color: var(--jdh-ink-900); font-size: 20px; font-style: normal; font-weight: 600; line-height: 1.4;
}

/* Karten (Hub, Portale) – wie die Ratgeberkarten */
body .sfx .sfx-portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 32px; }
body .sfx .sfx-card {
	background: #fff; border: 1px solid var(--jdh-ink-100); border-radius: 0;
	color: inherit; text-decoration: none;
	transition: transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-card--link:hover { transform: translateY(-4px); box-shadow: var(--jdh-schatten-gross); border-color: transparent; }
body .sfx .sfx-card__media { aspect-ratio: 19 / 12; background: var(--jdh-ink-100); }
body .sfx .sfx-card__media img { transition: transform 600ms var(--jdh-kurve); }
body .sfx .sfx-card--link:hover .sfx-card__media img { transform: scale(1.045); }
body .sfx .sfx-card__body { gap: 10px; padding: 24px 26px 26px; }
body .sfx .sfx-card__title { color: var(--jdh-ink-900); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; transition: color var(--jdh-zeit) var(--jdh-kurve); }
body .sfx .sfx-card--link:hover .sfx-card__title { color: var(--jdh-akzent-600); }
body .sfx .sfx-card__desc { color: var(--jdh-ink-500); font-size: 15px; line-height: 1.6; }
body .sfx .sfx-card__more {
	align-self: flex-start; margin-top: auto; padding: 12px 0 2px;
	color: var(--jdh-akzent-600); font-size: 15px; font-weight: 600;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-card--link:hover .sfx-card__more { background-size: 100% 1px; }

/* Fließtext der Objekttyp-Seiten */
/* Container und Textspalte sind dasselbe Element – linksbündig wie der Kopf */
body .sfx .sfx-container.sfx-prose { max-width: calc(var(--jdh-breite) + 2 * var(--jdh-rand)); }
body .sfx .sfx-prose > * { max-width: var(--jdh-breite-text); }
body .sfx .sfx-prose > p { margin: 0 0 1.1em; color: var(--jdh-ink-700); font-size: 18px; line-height: 1.75; }
body .sfx .sfx-prose > p:first-child { color: var(--jdh-ink-900); font-size: clamp(19px, 1.8vw, 21px); line-height: 1.6; }
body .sfx .sfx-sect { margin-top: 2.6em; }
body .sfx .sfx-sect__title { margin: 0 0 .6em; color: var(--jdh-ink-900); font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; }
body .sfx .sfx-sect p { margin: 0 0 1em; font-size: 18px; line-height: 1.75; }

/* Bewertungs-Hinweis: Infobox wie in den Ratgeberartikeln */
body .sfx .sfx-valuebox {
	gap: 24px 40px;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
	background: var(--jdh-akzent-100); color: var(--jdh-ink-900);
	border-left: 3px solid var(--jdh-akzent-600); border-radius: 0;
}
body .sfx .sfx-valuebox .sfx-eyebrow--onbrand { color: var(--jdh-akzent-600); }
body .sfx .sfx-valuebox h2.sfx-valuebox__title { margin: 0 0 6px; color: var(--jdh-ink-900); font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; }
body .sfx .sfx-valuebox p.sfx-valuebox__text { color: var(--jdh-ink-700); opacity: 1; }

/* Buttons wie im Theme */
body .sfx .sfx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border: 1px solid transparent; border-radius: var(--jdh-radius);
	font-family: var(--jdh-schrift); font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: .01em;
	filter: none;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-btn--brand,
body .sfx .sfx-btn--onbrand,
body .sfx .sfx-form__submit { background: var(--jdh-ink-900); color: #fff; }
body .sfx .sfx-btn--brand:hover,
body .sfx .sfx-btn--onbrand:hover,
body .sfx .sfx-form__submit:hover { background: var(--jdh-akzent-600); color: #fff; filter: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 76, 92, .28); }

/* Vorteile: Karten mit Akzentlinie beim Überfahren */
body .sfx .sfx-usps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; margin-top: 8px; }
body .sfx .sfx-usp {
	position: relative; overflow: hidden;
	padding: 28px 26px; border: 0; background: var(--jdh-ink-50);
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-usp::after,
body .sfx .sfx-ablauf__step::after {
	content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
	background: var(--jdh-akzent-600);
	transform: scaleX(0); transform-origin: left;
	transition: transform 360ms var(--jdh-kurve);
}
body .sfx .sfx-usp:hover,
body .sfx .sfx-ablauf__step:hover { background: #fff; box-shadow: var(--jdh-schatten); transform: translateY(-3px); }
body .sfx .sfx-usp:hover::after,
body .sfx .sfx-ablauf__step:hover::after { transform: scaleX(1); }
body .sfx .sfx-usp__title { margin: 0 0 8px; color: var(--jdh-ink-900); font-size: 18px; font-weight: 600; line-height: 1.35; }
body .sfx .sfx-usp__text { color: var(--jdh-ink-500); font-size: 15px; line-height: 1.6; }

/* Ablauf: nummerierte Schritte */
body .sfx .sfx-ablauf { gap: 24px; margin-top: 8px; }
body .sfx .sfx-ablauf__step {
	position: relative; overflow: hidden;
	padding: 28px 26px; border: 1px solid var(--jdh-ink-100); border-radius: 0; background: #fff;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-ablauf__title { margin: 0 0 8px; color: var(--jdh-ink-900); font-size: 18px; font-weight: 600; line-height: 1.35; }
body .sfx .sfx-ablauf__text { color: var(--jdh-ink-500); font-size: 15px; line-height: 1.6; }

/* FAQ wie das Akkordeon der übrigen Seiten */
body .sfx .sfx-faq { gap: 0; max-width: var(--jdh-breite-mittel); margin-top: 8px; border-top: 1px solid var(--jdh-ink-100); }
body .sfx .sfx-faq__item { padding: 0; border: 0; border-bottom: 1px solid var(--jdh-ink-100); border-radius: 0; }
body .sfx .sfx-faq__q {
	padding: 20px 48px 20px 4px;
	color: var(--jdh-ink-900); font-size: 17px; font-weight: 600; line-height: 1.45;
	transition: color var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-faq__q:hover, body .sfx .sfx-faq__item[open] .sfx-faq__q { color: var(--jdh-akzent-600); }
body .sfx .sfx-faq__q::after {
	content: ""; right: 10px; width: 9px; height: 9px; margin-top: -3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	transition: transform var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-faq__item[open] .sfx-faq__q::after { content: ""; transform: translateY(-20%) rotate(225deg); }
body .sfx .sfx-faq__a { margin: 0; padding: 0 48px 22px 4px; color: var(--jdh-ink-500); font-size: 16px; line-height: 1.7; }

/* Weiterführende Links */
body .sfx .sfx-related { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
body .sfx .sfx-related li { border-bottom: 1px solid var(--jdh-ink-100); }
body .sfx .sfx-related a {
	display: flex; justify-content: space-between; gap: 16px; padding: 16px 0;
	border: 0; color: var(--jdh-ink-900); font-weight: 500;
	transition: color var(--jdh-zeit) var(--jdh-kurve), padding var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-related a::after { content: "→"; color: var(--jdh-akzent-600); }
body .sfx .sfx-related a:hover { opacity: 1; color: var(--jdh-akzent-600); padding-left: 6px; }

/* Kontaktband des Plugins entfällt – das Theme schließt jede Seite mit seinem Band ab */
body .sfx .sfx-cta, body .sfx-sitefooter { display: none; }

/* Verkaufsanfrage-Formular */
body .sfx .sfx-container.sfx-form-wrap { max-width: calc(var(--jdh-breite) + 2 * var(--jdh-rand)); }
body .sfx .sfx-form { max-width: var(--jdh-breite-mittel); }
body .sfx .sfx-label { color: var(--jdh-ink-900); font-size: 14px; font-weight: 600; }
body .sfx .sfx-input {
	padding: 14px 16px; border: 1px solid var(--jdh-ink-200); border-radius: var(--jdh-radius);
	background: #fff; color: var(--jdh-ink-900); font-size: 16px;
	transition: border-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve);
}
body .sfx .sfx-input:hover { border-color: var(--jdh-ink-400); }
body .sfx .sfx-input:focus { outline: none; border-color: var(--jdh-akzent-600); box-shadow: 0 0 0 3px var(--jdh-akzent-100); }
body .sfx .sfx-consent { color: var(--jdh-ink-500); font-size: 14px; }
body .sfx .sfx-consent input { accent-color: var(--jdh-akzent-600); }
body .sfx .sfx-form__submit { min-height: 0; border-radius: var(--jdh-radius) !important; }

/* Bewertungsrechner */
body .sfx .sfx-funnel { padding: clamp(16px, 3vw, 32px); background: var(--jdh-ink-50); }
body .sfx .sfx-disclaimer { max-width: var(--jdh-breite-mittel); margin: 24px auto 0; color: var(--jdh-ink-400); font-size: 13px; line-height: 1.6; }
body .sfx .sfx-disclaimer + * { margin-top: 0; }
body .sfx > .sfx-disclaimer { padding-bottom: var(--jdh-sektion); }
body .sfx > .sfx-section-tight:last-child,
body .sfx > section:nth-last-child(2) { padding-bottom: var(--jdh-sektion); }

@media (max-width: 640px) {
	body .sfx .sfx-btn { width: 100%; }
	body .sfx .sfx-valuebox { align-items: stretch; }
}

/* 17 Ansprechpartner an Kontaktformularen --------------------------------------- */
body .sfx .sfx-container.jdh-formular-raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
}
body .sfx .jdh-formular-raster .sfx-form { max-width: none; }
.jdh-formular-karte { order: 2; position: sticky; top: calc(var(--jdh-kopf-hoehe) + var(--jdh-admin) + 28px); }
.jdh-ansprechpartner--formular .jdh-ansprechpartner__text { margin-bottom: 4px; }
/* Foto im Kontaktkasten (Kontaktseite) */
.jdh-portrait { margin: 0 0 8px; overflow: hidden; }
.jdh-portrait__bild { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 1000px) {
	body .sfx .sfx-container.jdh-formular-raster { grid-template-columns: minmax(0, 1fr); }
	.jdh-formular-karte { order: 0; position: static; max-width: 480px; }
}
/* Bildausschnitt: Kopf statt Körpermitte; E-Mail-Zeile überall gleich (auch außerhalb .jdh-main) */
.jdh-ansprechpartner__bild, .jdh-portrait__bild { object-position: 50% 8%; }
.jdh-ansprechpartner a.jdh-ansprechpartner__mail { margin-top: 4px; color: var(--jdh-ink-500); font-size: 14px; text-align: center; }
.jdh-ansprechpartner a.jdh-ansprechpartner__mail:hover { color: var(--jdh-akzent-600); }
body .sfx .jdh-ansprechpartner p { margin: 0; }

/* 18 Petrol-Band über dem Footer: Hero-Foto ganz leicht im Hintergrund */
.jdh-fuss__aufruf { position: relative; isolation: isolate; overflow: hidden; }
.jdh-fuss__aufruf::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--jdh-fussbild, none) center 60% / cover no-repeat;
	opacity: .16;
	mix-blend-mode: luminosity;
}
.jdh-fuss__aufruf::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, var(--jdh-akzent-600) 15%, rgba(15, 76, 92, 0) 85%);
	opacity: .55;
}

/* 19 Objektsuche (Filterleiste des Immobilien-Plugins) im Theme-Stil */
body .jdh-filter {
	gap: 16px; padding: 24px 26px;
	background: #fff; border: 1px solid var(--jdh-ink-100); border-radius: 0;
	box-shadow: var(--jdh-schatten);
}
body .jdh-filter label { color: var(--jdh-ink-500); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
body .jdh-filter select,
body .jdh-filter input[type="text"] {
	height: 50px; padding: 0 16px;
	border: 1px solid var(--jdh-ink-200); border-radius: var(--jdh-radius);
	background-color: #fff; color: var(--jdh-ink-900); font-family: var(--jdh-schrift); font-size: 15px;
	transition: border-color var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve);
}
body .jdh-filter select:hover, body .jdh-filter input[type="text"]:hover { border-color: var(--jdh-ink-400); }
body .jdh-filter select:focus, body .jdh-filter input[type="text"]:focus { outline: none; border-color: var(--jdh-akzent-600); box-shadow: 0 0 0 3px var(--jdh-akzent-100); }
body .jdh-filter button,
body .jdh-filter [type="submit"] {
	height: 50px; padding: 0 28px !important;
	border: 0 !important; border-radius: var(--jdh-radius) !important;
	background: var(--jdh-ink-900) !important; color: #fff !important;
	font-family: var(--jdh-schrift); font-size: 15px; font-weight: 600; box-shadow: none !important;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve);
}
body .jdh-filter button:hover,
body .jdh-filter [type="submit"]:hover { background: var(--jdh-akzent-600) !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 76, 92, .28) !important; }
body .jdh-filter a { color: var(--jdh-ink-500); font-size: 14px; }
body .jdh-grid .jdh-card { border-radius: 0; }

/* 20 Akzentfarbe über allen Hero-Bildern ------------------------------------------
   Petrol-Verlauf statt reinem Schwarz: links dunkel hinter dem Text, rechts lässt er
   das Foto farbig durchscheinen. Gilt auch für die Elementor-Seitenköpfe
   (Overlay-Pseudoelement des Containers, CSS-Klasse jdh-el-seitenkopf / jdh-el-hero). */
.jdh-seite__kopf::before,
body .sfx .sfx-hero::before,
.sab .sab-hero::before,
.e-con.jdh-el-seitenkopf::before {
	background-color: transparent !important;
	background-image: linear-gradient(90deg, rgba(5, 30, 38, .9) 0%, rgba(10, 58, 71, .66) 45%, rgba(15, 76, 92, .3) 100%) !important;
	opacity: 1 !important;
}
.e-con.jdh-el-hero::before {
	background-color: transparent !important;
	background-image: linear-gradient(90deg, rgba(10, 58, 71, .74) 0%, rgba(15, 76, 92, .42) 50%, rgba(15, 76, 92, .2) 100%) !important;
	opacity: 1 !important;
}
@media (max-width: 760px) {
	.jdh-seite__kopf::before,
	body .sfx .sfx-hero::before,
	.sab .sab-hero::before,
	.e-con.jdh-el-seitenkopf::before {
		background-image: linear-gradient(180deg, rgba(10, 58, 71, .6) 0%, rgba(5, 30, 38, .9) 100%) !important;
	}
	.e-con.jdh-el-hero::before { background-image: linear-gradient(180deg, rgba(15, 76, 92, .15) 0%, rgba(10, 58, 71, .45) 100%) !important; }
}

/* 21 Bewertungsseite ---------------------------------------------------------------- */
body .sfx .jdh-bw-vorteile { background: var(--jdh-ink-900); color: #fff; }
body .sfx .jdh-bw-vorteile__liste {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0; padding: 0; list-style: none;
}
body .sfx .jdh-bw-vorteile__liste li {
	display: flex; flex-direction: column; gap: 4px;
	padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, .12);
}
body .sfx .jdh-bw-vorteile__liste li:first-child { padding-left: 0; border-left: 0; }
body .sfx .jdh-bw-vorteile strong { color: #fff; font-size: 16px; font-weight: 600; }
body .sfx .jdh-bw-vorteile span { color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.5; }

body .sfx .jdh-bw-rechner { padding-top: clamp(16px, 3vw, 32px); }
body .sfx .jdh-bw-rechner .sfx-funnel { order: 1; }
body .sfx .jdh-bw-titel { margin: 0 0 32px; color: var(--jdh-ink-900); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; max-width: 24ch; }
body .sfx .jdh-bw-nummer { display: block; margin-bottom: 14px; color: var(--jdh-akzent-600); font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
body .sfx .jdh-bw-ablauf .sfx-ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .sfx .jdh-bw-faktoren { background: var(--jdh-ink-50); }
body .sfx .jdh-bw-faktoren .sfx-usps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .sfx .jdh-bw-faktoren .sfx-usp { background: #fff; }

body .sfx .jdh-bw-vergleich__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body .sfx .jdh-bw-weg { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--jdh-ink-100); background: #fff; }
body .sfx .jdh-bw-weg h3 { margin: 0; color: var(--jdh-ink-900); font-size: 22px; font-weight: 700; }
body .sfx .jdh-bw-weg ul { display: grid; gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
body .sfx .jdh-bw-weg li { position: relative; padding-left: 28px; color: var(--jdh-ink-700); font-size: 16px; line-height: 1.5; }
body .sfx .jdh-bw-weg li::before {
	content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
	border-left: 2px solid var(--jdh-akzent-600); border-bottom: 2px solid var(--jdh-akzent-600); transform: rotate(-45deg);
}
body .sfx .jdh-bw-weg .jdh-btn { align-self: flex-start; margin-top: auto; }
body .sfx .jdh-bw-weg--vor-ort {
	border: 0; color: #fff;
	background: linear-gradient(135deg, var(--jdh-akzent-700), var(--jdh-akzent-600));
}
body .sfx .jdh-bw-weg--vor-ort h3, body .sfx .jdh-bw-weg--vor-ort li { color: #fff; }
body .sfx .jdh-bw-weg--vor-ort li::before { border-color: #fff; }
body .sfx .jdh-bw-ratgeber { background: var(--jdh-ink-50); }
body .sfx .jdh-bw-faq + .sfx-disclaimer, body .sfx .sfx-disclaimer { padding-bottom: 0; }

@media (max-width: 1000px) {
	body .sfx .jdh-bw-vorteile__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .sfx .jdh-bw-vorteile__liste li:nth-child(3) { padding-left: 0; border-left: 0; }
	body .sfx .jdh-bw-ablauf .sfx-ablauf, body .sfx .jdh-bw-faktoren .sfx-usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body .sfx .jdh-bw-vorteile__liste, body .sfx .jdh-bw-ablauf .sfx-ablauf,
	body .sfx .jdh-bw-faktoren .sfx-usps, body .sfx .jdh-bw-vergleich__raster { grid-template-columns: minmax(0, 1fr); }
	body .sfx .jdh-bw-vorteile__liste li { padding: 18px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	body .sfx .jdh-bw-vorteile__liste li:first-child { border-top: 0; }
}

/* 22 Objektseite (Exposé) ------------------------------------------------------------ */
.jdh-objekt__raster {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px);
	align-items: start; padding-block: clamp(32px, 4vw, 56px) var(--jdh-sektion);
}
.jdh-objekt__raster .jdh-objektseite__inhalt { padding: 0; }
.jdh-objekt__leiste { display: grid; gap: 20px; }
.jdh-objektkarte { padding: 26px 26px 24px; background: #fff; border: 1px solid var(--jdh-ink-100); box-shadow: var(--jdh-schatten); }
.jdh-objektkarte .jdh-overline { margin: 0 0 18px; }
.jdh-objektkarte__label { margin: 0; color: var(--jdh-ink-500); font-size: 13px; }
.jdh-objektkarte__preis { margin: 2px 0 20px; color: var(--jdh-ink-900); font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.jdh-objekt__leiste .jdh-ansprechpartner__bild { aspect-ratio: 2 / 1; }

/* Plugin-Ausgabe neu ordnen */
body .jdh-objektseite .jdh-single { max-width: none; margin: 0; padding: 0; }
body .jdh-objektseite .jdh-single-head,
body .jdh-objektseite .jdh-cta { display: none; }
body .jdh-objektseite .jdh-gallery {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 12vw, 170px);
	gap: 8px; margin: 0 0 40px;
}
body .jdh-objektseite .jdh-gallery-item { position: relative; margin: 0; overflow: hidden; cursor: zoom-in; background: var(--jdh-ink-100); border-radius: 0; }
body .jdh-objektseite .jdh-gallery-item:nth-child(n+6) { display: none; }
body .jdh-objektseite .jdh-gallery-main { grid-column: span 2; grid-row: span 2; }
body .jdh-objektseite .jdh-gallery-item img {
	display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0;
	transition: transform 600ms var(--jdh-kurve), filter var(--jdh-zeit) var(--jdh-kurve);
}
body .jdh-objektseite .jdh-gallery-item:hover img { transform: scale(1.04); }
body .jdh-objektseite .jdh-gallery-item:focus-visible { outline: 3px solid var(--jdh-akzent-600); outline-offset: 2px; }
.jdh-galerie__mehr {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(10, 58, 71, .62); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .01em;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-gallery-item:hover .jdh-galerie__mehr { background: rgba(10, 58, 71, .78); }

body .jdh-objektseite .jdh-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0;
	margin: 0 0 48px; border: 1px solid var(--jdh-ink-100); border-radius: 0; background: #fff;
}
body .jdh-objektseite .jdh-fact { padding: 20px 22px; border: 0; border-right: 1px solid var(--jdh-ink-100); border-radius: 0; background: none; }
body .jdh-objektseite .jdh-fact:last-child { border-right: 0; }
body .jdh-objektseite .jdh-fact-label { color: var(--jdh-ink-400); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
body .jdh-objektseite .jdh-fact-value { margin-top: 6px; color: var(--jdh-ink-900); font-size: 17px; font-weight: 600; line-height: 1.35; }

body .jdh-objektseite .jdh-section { margin: 0 0 48px; }
body .jdh-objektseite .jdh-section h2 { margin: 0 0 20px; color: var(--jdh-ink-900); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }
body .jdh-objektseite .jdh-description { max-width: 760px; color: var(--jdh-ink-700); font-size: 17px; line-height: 1.8; }
body .jdh-objektseite .jdh-description p { margin: 0 0 1em; }
body .jdh-objektseite .jdh-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .jdh-objektseite .jdh-amenity { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: var(--jdh-ink-50); border: 0; border-radius: 0; }
body .jdh-objektseite .jdh-amenity-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--jdh-akzent-600); }
body .jdh-objektseite .jdh-amenity-label { color: var(--jdh-ink-400); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
body .jdh-objektseite .jdh-amenity-value { color: var(--jdh-ink-900); font-size: 16px; font-weight: 600; }

/* Leuchtkasten */
.jdh-leuchtkasten {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center; gap: 16px;
	padding: 56px 16px 32px; background: rgba(5, 20, 26, .94);
}
.jdh-leuchtkasten[hidden] { display: none; }
.jdh-leuchtkasten-offen body { overflow: hidden; }
.jdh-leuchtkasten__bild { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.jdh-leuchtkasten__bild img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.jdh-leuchtkasten__bild figcaption { margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.jdh-leuchtkasten button {
	min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	background: transparent !important; color: #fff !important; box-shadow: none !important; cursor: pointer;
	font-size: 44px; line-height: 1; transition: opacity var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-leuchtkasten button:hover { opacity: .7; transform: none; }
.jdh-leuchtkasten__zu { position: absolute; top: 14px; right: 22px; }
.jdh-leuchtkasten__pfeil { flex: 0 0 auto; width: 48px; }

@media (max-width: 1000px) {
	.jdh-objekt__raster { grid-template-columns: minmax(0, 1fr); }
	.jdh-objekt__leiste { position: static; max-width: 520px; }
}
@media (max-width: 640px) {
	body .jdh-objektseite .jdh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 110px; }
	body .jdh-objektseite .jdh-gallery-main { grid-column: span 2; grid-row: span 2; }
	body .jdh-objektseite .jdh-amenities { grid-template-columns: minmax(0, 1fr); }
	body .jdh-objektseite .jdh-fact { border-right: 0; border-bottom: 1px solid var(--jdh-ink-100); }
	.jdh-leuchtkasten__pfeil { position: absolute; bottom: 18px; }
	.jdh-leuchtkasten__pfeil--zurueck { left: 24px; }
	.jdh-leuchtkasten__pfeil--weiter { right: 24px; }
}
/* Plugin gibt Galeriebildern ein festes Seitenverhältnis – im Raster füllen sie das Feld */
body .jdh-objektseite .jdh-gallery-item img { aspect-ratio: auto !important; height: 100% !important; max-height: none !important; }
body .jdh-objektseite .jdh-facts { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
/* Zeilenhöhe aus den 4:3-Vorschaubildern; das Hauptbild füllt beide Zeilen */
body .jdh-objektseite .jdh-gallery { grid-auto-rows: auto; }
body .jdh-objektseite .jdh-gallery-main { aspect-ratio: auto !important; height: 100%; }
@media (max-width: 640px) { body .jdh-objektseite .jdh-gallery { grid-auto-rows: auto; } }

/* 23 Regionsseiten im Artikel-Layout */
.jdh-region__raster .jdh-artikel__text > :first-child { margin-top: 0; }

/* 24 Bewertungsrechner: die Strecke bringt ihre eigene weiße Fläche mit –
   außen nur eine feine Linie statt grauem Rahmen mit Innenabstand. */
body .sfx .jdh-bw-rechner .sfx-funnel { padding: 0; background: #fff; border: 1px solid var(--jdh-ink-100); box-shadow: var(--jdh-schatten); }
body .sfx .jdh-bw-rechner #sfx-funnel-frame { max-width: none !important; }

/* 25 Header mit langem CTA ("Kostenlose Immobilienbewertung") */
@media (max-width: 1520px) {
	.jdh-kopf__tel span { display: none; }
	.jdh-kopf__tel { width: 44px; height: 44px; justify-content: center; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
	.jdh-nav__liste > li > a { padding-inline: 8px; font-size: 15px; }
	.jdh-nav__liste > li > a::after { left: 8px; right: 8px; }
	.jdh-kopf__innen { gap: 20px; }
	.jdh-kopf__aktion .jdh-btn--klein { padding: 11px 14px; }
}

/* 26 Tabellen im Fließtext: auf schmalen Bildschirmen eigene Scrollleiste statt
   Seitenüberlauf (Regionsseiten mit Preis-/Bodenrichtwerttabellen). */
@media (max-width: 760px) {
	.jdh-prosa table {
		display: block; max-width: 100%;
		overflow-x: auto; -webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}
	.jdh-prosa table td, .jdh-prosa table th { white-space: normal; min-width: 120px; }
}

/* 27 Google-Bewertungen als Zwei-Klick-Lösung (Elfsight lädt erst nach Klick) */
.jdh-bewertungen-laden {
	display: flex; align-items: center; justify-content: center;
	min-height: 260px; padding: clamp(28px, 4vw, 48px);
	background: #fff; border: 1px solid var(--jdh-ink-100); box-shadow: var(--jdh-schatten);
	text-align: center;
}
.jdh-bewertungen-laden__inhalt { max-width: 560px; }
.jdh-bewertungen-laden__titel { margin: 0 0 8px; color: var(--jdh-ink-900); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.jdh-bewertungen-laden__text { margin: 0 0 22px; color: var(--jdh-ink-500); font-size: 14px; line-height: 1.6; }
.jdh-bewertungen-laden__text a { color: var(--jdh-akzent-600); text-decoration: underline; }
.jdh-bewertungen-laden .jdh-btn.jdh-bewertungen-laden__knopf { min-height: 0; border-radius: var(--jdh-radius); }

/* 28 Objektkarte (Zwei-Klick) */
body .jdh-objektseite .jdh-map {
	position: relative; height: clamp(280px, 40vw, 400px);
	background: var(--jdh-ink-50) url("../img/karte-platzhalter.svg") center / cover no-repeat;
	border: 1px solid var(--jdh-ink-100); border-radius: 0; overflow: hidden; z-index: 0;
}
.jdh-karte-laden {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 24px; text-align: center; background: rgba(248, 248, 248, .9);
}
.jdh-karte-laden__titel { margin: 0 0 6px; color: var(--jdh-ink-900); font-size: 18px; font-weight: 700; }
.jdh-karte-laden__text { max-width: 440px; margin: 0 0 18px; color: var(--jdh-ink-500); font-size: 14px; line-height: 1.55; }
.jdh-karte-laden .jdh-btn.jdh-karte-laden__knopf { min-height: 0; border-radius: var(--jdh-radius); }
body .jdh-objektseite .jdh-map-note { margin-top: 10px; color: var(--jdh-ink-400); font-size: 13px; }

/* 29 Cookie-Banner (Einwilligung für externe Inhalte) */
.jdh-einwilligung {
	position: fixed; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 99990;
	width: min(460px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow-y: auto;
	padding: 24px 24px 20px; background: #fff; border: 1px solid var(--jdh-ink-100);
	box-shadow: 0 2px 4px rgba(10, 10, 10, .06), 0 24px 48px rgba(10, 10, 10, .18);
	font-family: var(--jdh-schrift);
}
.jdh-einwilligung__titel { margin: 0 0 8px; color: var(--jdh-ink-900); font-size: 17px; font-weight: 700; }
.jdh-einwilligung__text { margin: 0 0 16px; color: var(--jdh-ink-500); font-size: 13.5px; line-height: 1.55; }
.jdh-einwilligung__text a { color: var(--jdh-akzent-600); text-decoration: underline; }
.jdh-einwilligung__optionen { display: grid; gap: 10px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--jdh-ink-100); border-bottom: 1px solid var(--jdh-ink-100); }
.jdh-einwilligung__optionen[hidden] { display: none; }
.jdh-einwilligung__option { display: flex; gap: 10px; align-items: flex-start; color: var(--jdh-ink-700); font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.jdh-einwilligung__option input { margin-top: 2px; width: 17px; height: 17px; flex: none; accent-color: var(--jdh-akzent-600); }
.jdh-einwilligung__option strong { color: var(--jdh-ink-900); font-weight: 600; }
.jdh-einwilligung__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.jdh-einwilligung .jdh-btn { min-height: 0; padding: 12px 18px; font-size: 14px; border-radius: var(--jdh-radius); }
.jdh-einwilligung .jdh-einwilligung__link,
.jdh-fuss .jdh-fuss__cookies,
.jdh-extern-immer {
	min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	background: none !important; box-shadow: none !important; transform: none !important;
	font-family: var(--jdh-schrift); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.jdh-einwilligung .jdh-einwilligung__link { color: var(--jdh-ink-700) !important; font-size: 13.5px; }
.jdh-fuss .jdh-fuss__cookies { color: var(--jdh-ink-400) !important; font-size: 13px; text-decoration: none; }
.jdh-fuss .jdh-fuss__cookies:hover { color: #fff !important; }
.jdh-extern-immer { display: block; margin: 12px auto 0; color: var(--jdh-ink-500) !important; font-size: 13px; }
.jdh-extern-immer:hover { color: var(--jdh-akzent-600) !important; }
@media (max-width: 560px) {
	.jdh-einwilligung { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 20px 18px 16px; }
	.jdh-einwilligung__knoepfe .jdh-btn { flex: 1 1 100%; }
}

/* 30 Objektbeschreibung als aufklappbare Abschnitte */
body .jdh-objektseite .jdh-klappliste { border-top: 1px solid var(--jdh-ink-100); }
body .jdh-objektseite .jdh-klapp { border-bottom: 1px solid var(--jdh-ink-100); }
body .jdh-objektseite .jdh-klapp__titel {
	position: relative; display: block; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
	color: var(--jdh-ink-900); font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.015em;
	transition: color var(--jdh-zeit) var(--jdh-kurve);
}
body .jdh-objektseite .jdh-klapp__titel::-webkit-details-marker { display: none; }
body .jdh-objektseite .jdh-klapp__titel::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
	transition: transform var(--jdh-zeit) var(--jdh-kurve);
}
body .jdh-objektseite .jdh-klapp[open] > .jdh-klapp__titel::after { transform: translateY(4px) rotate(225deg); }
body .jdh-objektseite .jdh-klapp__titel:hover,
body .jdh-objektseite .jdh-klapp[open] > .jdh-klapp__titel { color: var(--jdh-akzent-600); }
body .jdh-objektseite .jdh-klapp__inhalt { padding: 0 0 26px; }
body .jdh-objektseite .jdh-klapp__inhalt > p:first-child { margin-top: 0; }

/* 31 Logo-Animation (Haus zeichnet sich) */
.jdh-kopf .jdh-logo { position: relative; }
.jdh-logo-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; }
.jdh-logo-fx path {
	fill: none; stroke: var(--jdh-akzent-600); stroke-linecap: butt; stroke-linejoin: miter;
	stroke-dasharray: 1; stroke-dashoffset: 1;
}
/* Erster Aufruf: Linien zeichnen, dann Logo einblenden */
.jdh-logo.is-intro img { opacity: 0; animation: jdhLogoEin .5s ease 1.55s forwards; }
.jdh-logo.is-intro .jdh-logo-fx { opacity: 1; animation: jdhLogoFxAus .6s ease 1.8s forwards; }
.jdh-logo.is-intro .jdh-logo-fx path { animation: jdhLogoZeichnen var(--d) cubic-bezier(.65, 0, .25, 1) var(--v) forwards; }
/* Überfahren: Haus in hellerem Petrol nachzeichnen (auf Schwarz sichtbar) */
.jdh-logo.is-zeichnen .jdh-logo-fx { opacity: 1; animation: jdhLogoFxAus .45s ease 1.05s forwards; }
.jdh-logo.is-zeichnen .jdh-logo-fx path {
	stroke: #2a8aa1;
	animation: jdhLogoZeichnen calc(var(--d) * .6) cubic-bezier(.65, 0, .25, 1) calc(var(--v) * .55) forwards;
}
@keyframes jdhLogoZeichnen { to { stroke-dashoffset: 0; } }
@keyframes jdhLogoEin { to { opacity: 1; } }
@keyframes jdhLogoFxAus { to { opacity: 0; } }

/* 32 „Powered by Sunside AI“ (wie bei IMBERO) */
.jdh-fuss .jdh-pw { display: flex; justify-content: center; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); }
.jdh-fuss .jdh-pw a {
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	padding: 9px 18px 9px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
	background: rgba(255, 255, 255, .03); color: #8d8d93 !important;
	font-size: 11px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important;
	transition: border-color .3s, box-shadow .3s, color .3s, transform .3s;
}
.jdh-fuss .jdh-pw a::after {
	content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit;
	background: conic-gradient(from var(--jdh-pw-a, 0deg), transparent 0 70%, #b291d6 82%, #5e2c8c 92%, transparent);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	opacity: 0; transition: opacity .3s; animation: jdhPwSpin 4s linear infinite;
}
.jdh-fuss .jdh-pw a:hover { color: #fff !important; border-color: rgba(178, 145, 214, .35); box-shadow: 0 0 28px rgba(94, 44, 140, .45); transform: translateY(-1px); }
.jdh-fuss .jdh-pw a:hover::after { opacity: 1; }
.jdh-pw-logo {
	display: block; width: 108px; height: 18px;
	background: linear-gradient(110deg, #fff 0 42%, #d7c3ee 50%, #fff 58% 100%); background-size: 260% 100%; background-position: 100% 0;
	-webkit-mask: url("../img/sunside-ai-logo.svg") center / contain no-repeat; mask: url("../img/sunside-ai-logo.svg") center / contain no-repeat;
	animation: jdhPwShine 5.5s ease-in-out infinite;
}
.jdh-fuss .jdh-pw a:hover .jdh-pw-logo { background: #fff; animation: none; }
@property --jdh-pw-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes jdhPwSpin { to { --jdh-pw-a: 360deg; } }
@keyframes jdhPwShine { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .jdh-pw-logo, .jdh-fuss .jdh-pw a::after { animation: none; } }

/* 33 Icon-Kacheln (Vertrauensleiste, Leistungskarten, Bewertungs-Vorteile) --------
   Elementor-Container bekommen die Klassen jdh-ico + jdh-ico--dunkel|hell + jdh-ico-<name>. */
.jdh-ico-urkunde { --ico-hell: url("../img/icons/urkunde-hell.svg"); --ico-petrol: url("../img/icons/urkunde-petrol.svg"); --ico-weiss: url("../img/icons/urkunde-weiss.svg"); }
.jdh-ico-person { --ico-hell: url("../img/icons/person-hell.svg"); --ico-petrol: url("../img/icons/person-petrol.svg"); --ico-weiss: url("../img/icons/person-weiss.svg"); }
.jdh-ico-pin { --ico-hell: url("../img/icons/pin-hell.svg"); --ico-petrol: url("../img/icons/pin-petrol.svg"); --ico-weiss: url("../img/icons/pin-weiss.svg"); }
.jdh-ico-bewertung { --ico-hell: url("../img/icons/bewertung-hell.svg"); --ico-petrol: url("../img/icons/bewertung-petrol.svg"); --ico-weiss: url("../img/icons/bewertung-weiss.svg"); }
.jdh-ico-gespraech { --ico-hell: url("../img/icons/gespraech-hell.svg"); --ico-petrol: url("../img/icons/gespraech-petrol.svg"); --ico-weiss: url("../img/icons/gespraech-weiss.svg"); }
.jdh-ico-vermarktung { --ico-hell: url("../img/icons/vermarktung-hell.svg"); --ico-petrol: url("../img/icons/vermarktung-petrol.svg"); --ico-weiss: url("../img/icons/vermarktung-weiss.svg"); }
.jdh-ico-schluessel { --ico-hell: url("../img/icons/schluessel-hell.svg"); --ico-petrol: url("../img/icons/schluessel-petrol.svg"); --ico-weiss: url("../img/icons/schluessel-weiss.svg"); }
.jdh-ico-uhr { --ico-hell: url("../img/icons/uhr-hell.svg"); --ico-petrol: url("../img/icons/uhr-petrol.svg"); --ico-weiss: url("../img/icons/uhr-weiss.svg"); }
.jdh-ico-haken { --ico-hell: url("../img/icons/haken-hell.svg"); --ico-petrol: url("../img/icons/haken-petrol.svg"); --ico-weiss: url("../img/icons/haken-weiss.svg"); }
.e-con.jdh-ico::before,
.jdh-bw-vorteile__liste li::before {
	content: ""; display: block; flex: none; width: 52px; height: 52px; border-radius: 2px;
	background-position: center; background-size: 26px; background-repeat: no-repeat;
	transition: background-color var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve), transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve);
}
/* dunkle Leiste: Icon links, Text rechts */
.e-con.jdh-ico--dunkel {
	display: grid !important; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-content: start;
	position: relative;
}
.e-con.jdh-ico--dunkel > .elementor-element { grid-column: 2; }
.e-con.jdh-ico--dunkel::before {
	grid-column: 1; grid-row: 1 / span 2;
	background-image: var(--ico-hell); background-color: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.e-con.jdh-ico--dunkel:hover::before {
	background-image: var(--ico-weiss); background-color: var(--jdh-akzent-600); border-color: var(--jdh-akzent-600);
	transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 76, 92, .45);
}
.e-con.jdh-ico--dunkel .elementor-heading-title { transition: color var(--jdh-zeit) var(--jdh-kurve); }
.e-con.jdh-ico--dunkel:hover .elementor-heading-title { color: #9fd3df !important; }
/* helle Karten: Icon oben */
.e-con.jdh-ico--hell::before { margin-bottom: 6px; background-image: var(--ico-petrol); background-color: var(--jdh-akzent-100); }
.e-con.jdh-ico--hell:hover::before { background-image: var(--ico-weiss); background-color: var(--jdh-akzent-600); transform: translateY(-2px); }
/* Bewertungsseite: Vorteilsleiste */
body .sfx .jdh-bw-vorteile__liste li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-content: start; }
body .sfx .jdh-bw-vorteile__liste li > * { grid-column: 2; }
body .sfx .jdh-bw-vorteile__liste li::before { grid-column: 1; grid-row: 1 / span 2; background-color: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
body .sfx .jdh-bw-vorteile__liste li:nth-child(1)::before { background-image: url("../img/icons/haken-hell.svg"); }
body .sfx .jdh-bw-vorteile__liste li:nth-child(2)::before { background-image: url("../img/icons/uhr-hell.svg"); }
body .sfx .jdh-bw-vorteile__liste li:nth-child(3)::before { background-image: url("../img/icons/pin-hell.svg"); }
body .sfx .jdh-bw-vorteile__liste li:nth-child(4)::before { background-image: url("../img/icons/urkunde-hell.svg"); }
/* sanftes Einblenden beim Scrollen (jdh.js setzt .ist-sichtbar) */
.jdh-einblenden { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--jdh-kurve), transform .6s var(--jdh-kurve); transition-delay: var(--jdh-verzug, 0s); }
.jdh-einblenden.ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .jdh-einblenden { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.e-con.jdh-ico--dunkel::before, body .sfx .jdh-bw-vorteile__liste li::before { width: 44px; height: 44px; background-size: 22px; }
	.e-con.jdh-ico--dunkel, body .sfx .jdh-bw-vorteile__liste li { grid-template-columns: 44px minmax(0, 1fr); }
}
/* Vertrauensleiste: Icon über dem Titel (neben dem Titel brachen die Überschriften um) */
.e-con.jdh-ico--dunkel { display: flex !important; flex-direction: column; row-gap: 4px; }
.e-con.jdh-ico--dunkel::before { margin-bottom: 14px; }
body .sfx .jdh-bw-vorteile__liste li { display: flex; flex-direction: column; gap: 4px; }
body .sfx .jdh-bw-vorteile__liste li::before { margin-bottom: 10px; }
/* Elementor positioniert ::before seiner Container absolut (Overlay) – für die Icon-Kachel zurücknehmen */
.e-con.jdh-ico::before {
	position: relative !important; inset: auto !important; z-index: 1;
	width: 52px !important; height: 52px !important; opacity: 1 !important; mix-blend-mode: normal !important;
}
.e-con.jdh-ico--dunkel { flex-direction: column !important; align-items: flex-start !important; }
@media (max-width: 760px) { .e-con.jdh-ico--dunkel::before { width: 44px !important; height: 44px !important; } }

/* 34 Parallax: Inhalt im Hero bekommt eine eigene Ebene (jdh.js verschiebt Bild und Inhalt) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
	.e-con.jdh-el-hero > .e-con-inner, .e-con.jdh-el-seitenkopf > .e-con-inner,
	.jdh-seite__kopf > .jdh-container, body .sfx .sfx-hero > .sfx-container { will-change: transform, opacity; }
	/* Elementor animiert background/transform der Container mit 0.3–0.4s – das lässt die Parallaxe nachlaufen */
	body .e-con.jdh-el-hero, body .e-con.jdh-el-seitenkopf, .jdh-seite__kopf, body .sfx .sfx-hero, body .sab .sab-hero,
	body .e-con.jdh-el-hero > .e-con-inner, body .e-con.jdh-el-seitenkopf > .e-con-inner,
	.jdh-seite__kopf > .jdh-container, body .sfx .sfx-hero > .sfx-container, body .sab .sab-hero > .sab-container { transition: none !important; }
}

/* 35 Bewertungs-Einstieg auf der Startseite ([jdh_bewertung_einstieg]) */
.e-con.jdh-el-einstieg { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
.jdh-einstieg { padding-block: var(--jdh-sektion); background: var(--jdh-ink-50); }
.jdh-einstieg__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.jdh-einstieg__dach { margin: 0 0 14px; color: var(--jdh-akzent-600); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.jdh-einstieg .jdh-h2 { margin: 0 0 16px; color: var(--jdh-ink-900); }
.jdh-einstieg__lead { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--jdh-ink-500); }
.jdh-einstieg__punkte { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.jdh-einstieg__punkte li { position: relative; padding-left: 30px; color: var(--jdh-ink-700); font-size: 15px; line-height: 1.5; }
.jdh-einstieg__punkte li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--jdh-akzent-100) url("../img/icons/haken-petrol.svg") center / 12px no-repeat; }
.jdh-einstieg__kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.jdh-einstieg__kachel {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
	padding: 28px 24px 24px; background: var(--jdh-weiss); border: 1px solid var(--jdh-ink-100); border-radius: var(--jdh-radius);
	color: var(--jdh-ink-900); text-decoration: none; box-shadow: var(--jdh-schatten);
	transition: transform var(--jdh-zeit) var(--jdh-kurve), box-shadow var(--jdh-zeit) var(--jdh-kurve), border-color var(--jdh-zeit) var(--jdh-kurve);
}
.jdh-einstieg__kachel:hover, .jdh-einstieg__kachel:focus-visible { transform: translateY(-3px); border-color: var(--jdh-akzent-600); box-shadow: var(--jdh-schatten-gross); color: var(--jdh-ink-900); }
.jdh-einstieg__symbol { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--jdh-akzent-100); color: var(--jdh-akzent-600); transition: background-color var(--jdh-zeit) var(--jdh-kurve), color var(--jdh-zeit) var(--jdh-kurve); }
.jdh-einstieg__kachel:hover .jdh-einstieg__symbol { background: var(--jdh-akzent-600); color: #fff; }
.jdh-einstieg__art { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.jdh-einstieg__pfeil { position: absolute; right: 22px; bottom: 22px; color: var(--jdh-akzent-600); font-size: 18px; transition: transform var(--jdh-zeit) var(--jdh-kurve); }
.jdh-einstieg__kachel:hover .jdh-einstieg__pfeil { transform: translateX(3px); }
#jdh-rechner { scroll-margin-top: calc(var(--jdh-kopf-hoehe) + var(--jdh-admin) + 16px); }
@media (max-width: 900px) {
	.jdh-einstieg__raster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.jdh-einstieg__kacheln { gap: 12px; }
	.jdh-einstieg__kachel { padding: 20px 16px 18px; gap: 14px; }
	.jdh-einstieg__symbol { width: 44px; height: 44px; padding: 10px; }
	.jdh-einstieg__art { font-size: 16px; }
	.jdh-einstieg__pfeil { right: 14px; bottom: 16px; }
}
