/* Wiederverwendbare Varianten der LiveCanvas-Sections. */
.zh-services-section--wallpaper-cards {
	background: var(--zh-wallpaper-image) center / auto var(--zh-wallpaper-motif-height) no-repeat;
}

/* =========================================================
   404 page
========================================================= */
.zh-not-found__section {
	position: relative;
	overflow: hidden;
	min-height: min(34rem, calc(100vh - var(--zh-header-offset-mobile)));
	padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
	background: var(--zh-wallpaper-image) center / var(--zh-wallpaper-motif-height) auto repeat;
}

.zh-not-found__section .container {
	position: relative;
	z-index: 1;
}

.zh-not-found__title {
	max-width: 15ch;
	margin: 0;
	color: var(--zh-blue-deep);
	font-size: clamp(2.5rem, 4.6vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 0.96;
}

.zh-not-found__copy {
	max-width: 37rem;
	margin: clamp(1.4rem, 2.5vw, 2rem) 0 0;
	color: var(--zh-copy);
	font-size: clamp(1.12rem, 1.7vw, 1.42rem);
	line-height: 1.55;
}

.zh-not-found__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 992px) {
	.zh-not-found__section {
		min-height: min(38rem, calc(100vh - var(--zh-header-offset-desktop)));
		padding-top: clamp(3.5rem, 5vw, 5rem);
	}
}

@media (max-width: 575.98px) {
	.zh-not-found__actions .zh-button {
		width: 100%;
	}
}

/* =========================================================
   Mobile navigation: mirrors the desktop navigation language
========================================================= */
@media (max-width: 991.98px) {
	/* A little breathing room around the wordmark, without changing the
	 * desktop alignment or the header's overall height. */
	#siteHeader .navbar-brand,
	#siteHeader .site-logo {
		margin-top: 0.18rem !important;
		margin-left: 0.4rem !important;
	}

	#siteHeader .main-offcanvas,
	#siteHeader .main-offcanvas .offcanvas-body {
		background: var(--zh-white);
		color: var(--zh-blue-deep);
	}

	#siteHeader .main-offcanvas {
		box-shadow: -1.25rem 0 3rem rgba(7, 43, 97, 0.12);
	}

	#siteHeader .main-offcanvas .mobile-nav .nav-link {
		position: relative;
		align-self: flex-start;
		width: fit-content;
		padding: 0.8rem 0 !important;
		border: 0;
		background: transparent;
		color: var(--zh-blue) !important;
		font-size: clamp(1.7rem, 5.45vw, 2.15rem);
		transform: none;
		transition: color 0.24s ease;
	}

	#siteHeader .main-offcanvas .mobile-nav .nav-link::before {
		display: none;
	}

	#siteHeader .main-offcanvas .mobile-nav .nav-link::after {
		display: block !important;
		position: absolute;
		bottom: 0.4rem;
		left: 0;
		width: 100%;
		height: 0.25rem;
		content: "" !important;
		background: var(--zh-yellow);
		opacity: 0;
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
	}

	#siteHeader .main-offcanvas .mobile-nav .nav-link:hover,
	#siteHeader .main-offcanvas .mobile-nav .nav-link:focus-visible {
		color: var(--zh-yellow) !important;
	}

	#siteHeader .main-offcanvas .mobile-nav .current-menu-item > .nav-link,
	#siteHeader .main-offcanvas .mobile-nav .current-menu-ancestor > .nav-link,
	#siteHeader .main-offcanvas .mobile-nav .current_page_item > .nav-link,
	#siteHeader .main-offcanvas .mobile-nav .nav-link.active,
	#siteHeader .main-offcanvas .mobile-nav .nav-link[aria-current="page"] {
		padding-left: 0 !important;
		background: transparent;
		color: var(--zh-yellow) !important;
		transform: none;
	}

	#siteHeader .main-offcanvas .mobile-nav .current-menu-item > .nav-link:hover,
	#siteHeader .main-offcanvas .mobile-nav .current-menu-ancestor > .nav-link:hover,
	#siteHeader .main-offcanvas .mobile-nav .current_page_item > .nav-link:hover,
	#siteHeader .main-offcanvas .mobile-nav .nav-link.active:hover,
	#siteHeader .main-offcanvas .mobile-nav .nav-link[aria-current="page"]:hover {
		color: var(--zh-yellow) !important;
	}

	#siteHeader .main-offcanvas .mobile-nav .nav-link:hover::after,
	#siteHeader .main-offcanvas .mobile-nav .nav-link:focus-visible::after,
	#siteHeader .main-offcanvas .mobile-nav .current-menu-item > .nav-link::after,
	#siteHeader .main-offcanvas .mobile-nav .current-menu-ancestor > .nav-link::after,
	#siteHeader .main-offcanvas .mobile-nav .current_page_item > .nav-link::after,
	#siteHeader .main-offcanvas .mobile-nav .nav-link.active::after,
	#siteHeader .main-offcanvas .mobile-nav .nav-link[aria-current="page"]::after {
		height: 0.25rem;
		opacity: 1;
		transform: scaleX(1);
	}

	#siteHeader .main-offcanvas .mobile-nav .nav-link:focus-visible,
	#siteHeader .main-offcanvas .mobile-phone:focus-visible {
		outline: 3px solid var(--zh-blue-deep);
		outline-offset: 4px;
	}

	#siteHeader .mobile-nav-contact {
		padding-top: 2rem;
	}

	#siteHeader .mobile-nav-contact__copy {
		margin: 0 0 1rem;
		color: var(--zh-blue-deep);
		font-size: clamp(1.15rem, 4.2vw, 1.35rem);
		font-weight: 650;
		line-height: 1.35;
	}

	#siteHeader .main-offcanvas .mobile-phone,
	#siteHeader .main-offcanvas .mobile-phone:hover,
	#siteHeader .main-offcanvas .mobile-phone:focus-visible {
		justify-content: flex-start;
		width: auto;
		min-height: 0;
		padding: 0;
		background: transparent;
		border-radius: 0;
		color: var(--zh-blue-deep) !important;
		font-size: 1.2rem;
		text-decoration: underline;
		text-decoration-thickness: 0.08em;
		text-underline-offset: 0.18em;
	}

	#siteHeader .main-offcanvas .mobile-phone__icon {
		flex: 0 0 auto;
		width: 0.8em;
		height: 1em;
	}

	#siteHeader .menu-toggle,
	#siteHeader .menu-toggle:hover,
	#siteHeader .menu-toggle:focus-visible,
	body.main-menu-open #siteHeader .menu-toggle {
		background: transparent !important;
		border-radius: 0 !important;
		color: var(--zh-yellow) !important;
		transform: none;
	}

	#siteHeader .menu-toggle:not(:hover):not(:focus-visible):not(.is-open) {
		color: var(--zh-blue) !important;
	}

	#siteHeader .menu-toggle:focus-visible {
		outline: 3px solid var(--zh-blue-deep);
		outline-offset: 3px;
	}
}

/* Bootstrap's offcanvas state also adds a body class. Keep the open icon
 * intentionally transparent regardless of which state is applied first. */
#siteHeader .menu-toggle.is-open,
body.main-menu-open #siteHeader .menu-toggle {
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--zh-yellow) !important;
}

/* Keep the panel's base state independent of the responsive breakpoint.
 * This prevents obsolete dark styles from flashing during a viewport resize. */
#siteHeader .main-offcanvas,
#siteHeader .main-offcanvas .offcanvas-body {
	background: var(--zh-white) !important;
	color: var(--zh-blue-deep) !important;
}

#siteHeader .main-offcanvas .mobile-nav .nav-link {
	color: var(--zh-blue) !important;
}

body.main-menu-open #siteHeader.site-header,
body.main-menu-open #siteHeader .site-navbar {
	background: var(--zh-white) !important;
}

@media (max-width: 991.98px) {
	/* The header remains above Bootstrap's offcanvas backdrop, so the logo
	 * is never dimmed by the blue page overlay while the menu is open. */
	#lc-header {
		z-index: 1060 !important;
		isolation: isolate;
	}

	#siteHeader.site-header,
	#siteHeader.site-header.is-scrolled,
	body.main-menu-open #siteHeader.site-header,
	body.main-menu-open #siteHeader .site-navbar {
		background: var(--zh-white) !important;
	}

	.offcanvas-backdrop.show {
		z-index: 1040 !important;
		/* The mobile menu is a white navigation surface, not a dimming layer.
		 * Keep Bootstrap's click target, but make it visually neutral. */
		background: transparent !important;
		opacity: 1 !important;
	}
}

.zh-faq-section--wallpaper {
	background: var(--zh-wallpaper-image) center top / auto var(--zh-wallpaper-motif-height) no-repeat;
}

/* FAQ-Schalter exakt im Kreis zentrieren (inklusive des gedrehten X). */
.zh-faq-item > summary::after {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	line-height: 1;
	padding: 0;
	text-align: center;
}

/* Checklisten: Symbol an der ersten Textzeile ausrichten, auch bei Umbrüchen. */
.zh-check-list > li,
.zh-check-list__item {
	align-items: flex-start;
}

.zh-check-list > li > span,
.zh-check-list__item > span {
	align-self: start;
}

/* Wiederverwendbare Textblöcke mit gelbem Punkt und bündigen Umbruchzeilen. */
.zh-bullet-block {
	--zh-list-dot-size: 0.52rem;
	--zh-list-line-height: 1.5;

	position: relative;
	padding-left: 1.25rem;
	line-height: var(--zh-list-line-height);
}

.zh-bullet-block::before {
	position: absolute;
	left: 0;
	top: calc(0.75em - 0.26rem);
	width: var(--zh-list-dot-size);
	height: var(--zh-list-dot-size);
	content: "";
	border-radius: 50%;
	background: var(--zh-yellow);
}

/* Kompakte Karten für Kosten- und Finanzierungshinweise. */
.zh-funding-cards {
	display: grid;
	gap: 0.75rem;
}

.zh-funding-card {
	padding: 1rem 1.15rem;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 0.75rem;
	box-shadow: 0 0.6rem 1.5rem rgba(7, 43, 97, 0.08);
}

.zh-funding-card h3 {
	margin: 0 0 0.35rem;
	color: var(--zh-blue-deep);
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 750;
	line-height: 1.2;
}

.zh-funding-card p {
	margin: 0;
	color: var(--zh-copy);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Downloads: asymmetrische Infosection mit kompakter Dokumentenliste. */
.zh-downloads-section {
	background: #fff;
}

.zh-downloads-shell {
	display: grid;
	grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.65fr);
	overflow: hidden;
	background: var(--zh-surface);
	box-shadow: 0 1.4rem 3.8rem rgba(7, 43, 97, 0.12);
}

.zh-downloads-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
	padding: clamp(2rem, 4vw, 3.5rem);
	overflow: hidden;
	background: var(--zh-blue-deep);
}

.zh-downloads-intro > * {
	position: relative;
	z-index: 1;
}

.zh-downloads-title {
	max-width: 10ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2.25rem, 4vw, 4rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.zh-downloads-copy {
	max-width: 28rem;
	margin: 0 0 1.5rem;
	color: rgba(7, 43, 97, 0.72);
	line-height: 1.6;
}

.zh-downloads-intro .zh-downloads-copy {
	color: rgba(255, 255, 255, 0.78);
}

.zh-downloads-content {
	padding: clamp(1.5rem, 3.5vw, 3rem);
}

.zh-downloads-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.5rem;
	row-gap: 0.35rem;
}

.zh-download-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 0;
	padding: 0.55rem 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	color: var(--zh-blue-deep);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.zh-download-item:hover,
.zh-download-item:focus-visible {
	background: transparent;
	box-shadow: none;
	color: var(--zh-yellow);
	text-decoration: none;
	transform: translateX(0.25rem);
}

.zh-download-item:focus-visible {
	outline: 3px solid rgba(7, 43, 97, 0.22);
	outline-offset: 3px;
}

.zh-download-item__pdf-icon {
	display: inline-flex;
	flex: 0 0 1.4rem;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.55rem;
	color: var(--zh-yellow);
	transition: color 0.2s ease, transform 0.2s ease;
}

.zh-download-item__pdf-icon svg {
	width: 100%;
	height: 100%;
}

.zh-download-item:hover .zh-download-item__pdf-icon,
.zh-download-item:focus-visible .zh-download-item__pdf-icon {
	color: var(--zh-yellow);
	transform: none;
}

.zh-download-item__body {
	display: grid;
	gap: 0.08rem;
}

.zh-download-item__title {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
}

.zh-download-item__subline {
	color: rgba(7, 43, 97, 0.58);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.3;
}

@media (max-width: 991.98px) {
	.zh-downloads-shell {
		grid-template-columns: 1fr;
	}

	.zh-downloads-title {
		max-width: 15ch;
	}
}

@media (max-width: 575.98px) {
	.zh-downloads-list {
		grid-template-columns: 1fr;
	}
}

/* Reguläres Website-Gelb ohne Verlauf für alle gelben Flächen. */
.zh-section--gradient-primary,
.zh-contact-section--edge-right .zh-contact-shell {
	background: var(--zh-yellow) !important;
	background-image: none !important;
}

/* Wiederverwendbarer Startseiten-Hero – unabhängig von der WordPress-Bodyklasse .home. */
.zlo-hero {
	margin-bottom: clamp(2rem, 4vw, 6rem);
}

@media (min-width: 992px) {
	.zlo-hero,
	.zh-section {
		margin-bottom: 12rem;
	}
}

.zlo-hero--homepage {
	background: #fff;
}

.zlo-hero--homepage .zlo-hero__visual {
	right: 0;
	width: auto;
}

.zlo-hero--homepage .zlo-hero__visual img {
	display: block;
}

.zlo-hero--homepage .zlo-hero__shade {
	right: auto;
	width: min(100%, clamp(25rem, 43vw, 40rem));
	display: block;
	opacity: 1;
	background: var(--zh-wallpaper-image) center / auto var(--zh-wallpaper-motif-height) no-repeat;
}

.zlo-hero--homepage > .zlo-signet {
	display: none;
}

.zlo-hero--homepage .zh-eyebrow--light,
.zlo-hero--homepage .zlo-hero__title {
	color: var(--zh-blue-deep);
}

.zlo-hero--homepage .zh-eyebrow--light {
	color: var(--zh-yellow);
}

.zlo-hero--homepage .zlo-hero__copy {
	color: rgba(4, 25, 57, 0.86);
}

/* The page heroes stay deliberately concise: eyebrow and heading carry the
 * orientation; the longer introduction begins in the first content section. */
.zlo-hero__copy {
	display: none;
}

@media (min-width: 768px) {
	.zlo-hero--homepage .zlo-hero__visual img {
		object-position: 0 42%;
		transform: translateX(14%);
		transform-origin: center;
	}

	.zlo-hero--homepage .zlo-hero__content {
		padding-top: clamp(14rem, 21vw, 20rem);
		padding-bottom: clamp(6rem, 12vw, 10rem);
	}
}

@media (max-width: 767.98px) {
	.zlo-hero {
		min-height: 50rem;
	}

	.zlo-hero__visual {
		inset: 0 0 auto;
		height: 42%;
	}

	.zlo-hero__visual img {
		object-position: 72% center;
		transform: none !important;
	}

	.home .zlo-hero__shade,
	.zlo-hero--homepage .zlo-hero__shade {
		inset: 36% 0 0;
		width: 100%;
		height: auto;
		background: var(--zh-wallpaper-image) center / auto var(--zh-wallpaper-motif-height) no-repeat;
	}

	.zlo-hero__content {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		min-height: 50rem;
		padding-top: 21rem;
		padding-bottom: 6.5rem;
	}

	.zlo-hero__curve {
		left: auto;
		right: -6rem;
		width: 68rem;
		max-width: none;
		height: 4.25rem;
	}

	.zlo-hero__title {
		font-size: clamp(2.8rem, 13vw, 4rem);
	}
}

.zh-services-section--wallpaper-cards .zh-care-card,
.zh-services-section--wallpaper-cards .zh-care-card--accent {
	background: #fff;
	border: 0;
	border-radius: 0.9rem;
}

/* Alle Karten-Symbole starten identisch: gelber Kreis mit blauem Symbol. */
.zh-services-section--wallpaper-cards .zh-care-card__icon,
.zh-services-section--wallpaper-cards .zh-care-card--accent .zh-care-card__icon {
	background: var(--zh-yellow);
	color: var(--zh-blue-deep);
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

/* Karten-Nummern deutlich hervorheben. */
.zh-services-section--wallpaper-cards .zh-care-card__number {
	font-size: 2.5rem;
}

.zh-services-section--wallpaper-cards .zh-care-card:hover,
.zh-services-section--wallpaper-cards .zh-care-card--accent:hover {
	background: var(--zh-yellow);
	border: 0;
	box-shadow: 0 1.4rem 3.4rem rgba(7, 43, 97, 0.17);
}

.zh-services-section--wallpaper-cards .zh-care-card:hover::after,
.zh-services-section--wallpaper-cards .zh-care-card--accent:hover::after {
	background: var(--zh-blue-deep);
}

.zh-services-section--wallpaper-cards .zh-care-card:hover .zh-care-card__icon,
.zh-services-section--wallpaper-cards .zh-care-card--accent:hover .zh-care-card__icon {
	background: var(--zh-blue-deep);
	color: #fff;
	transform: translateY(-0.15rem) scale(1.04);
}

.zh-services-section--wallpaper-cards .zh-care-card:hover .zh-care-card__content p,
.zh-services-section--wallpaper-cards .zh-care-card--accent:hover .zh-care-card__content p {
	color: rgba(7, 43, 97, 0.8);
}

.zh-story-section--bleed-right,
.zh-story-section--bleed-left,
.zh-story-section--pattern,
.zh-story-section--wallpaper-frame {
	--zh-story-edge: 0.75rem;
}

.zh-story-section--bleed-right .zh-story-visual,
.zh-story-section--wallpaper-frame .zh-story-visual {
	width: calc(100% + var(--zh-story-edge));
	margin-right: calc(-1 * var(--zh-story-edge));
}

.zh-story-section--bleed-left .zh-story-visual,
.zh-story-section--pattern .zh-story-visual {
	width: calc(100% + var(--zh-story-edge));
	margin-left: calc(-1 * var(--zh-story-edge));
}

.zh-story-section--wallpaper-frame .zh-story-visual::before {
	right: 0;
	bottom: 0;
	width: 52%;
	height: 70%;
	background: var(--zh-wallpaper-image) right center / auto var(--zh-wallpaper-motif-height) no-repeat;
}

.zh-story-section--wallpaper-media .zh-story-visual::before {
	background: var(--zh-yellow);
}

.zh-story-section--wallpaper-frame .zh-story-visual > .lc-block:first-child {
	position: relative;
	z-index: 2;
	will-change: transform;
}

/* Startseite: fester Tapetenbalken außerhalb des Text-Rasters. */
.zh-story-section--pattern-text {
	position: relative;
	overflow: hidden;
	padding-top: 0;
	padding-bottom: 0;
}

.zh-story-section--pattern-text > .container {
	position: static;
}

.zh-pattern-text-bar {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 0;
	width: 7rem;
	max-width: none;
	padding: 0 !important;
}

.zh-pattern-text-bar .zh-story-visual {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.zh-pattern-text-bar .zh-story-visual::before {
	display: none;
}

.zh-pattern-text-bar .zh-story-media {
	height: 100%;
	min-height: 100%;
	box-shadow: none;
}

.zh-story-section--wallpaper-media .zh-story-image,
.zh-pattern-text-bar .zh-story-image {
	width: auto;
	max-width: none;
	height: var(--zh-wallpaper-scale-height);
	min-height: 0;
	object-fit: contain;
	transform: scale(var(--zh-wallpaper-motif-scale));
	transform-origin: center;
}

.zh-story-section--pattern-text .zh-story-copy-column {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(2.5rem, 5vw, 5.5rem);
}

/* Pattern-Text: feste Spalten, die ausschließlich am Bootstrap-Breakpoint umbrechen. */
.zh-story-section--pattern-text > .container > .row > [class*="col-"] {
	flex: 0 0 100%;
	max-width: 100%;
}

@media (min-width: 992px) {
	.zh-story-section--pattern-text > .container > .row > .col-lg-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 1200px) {
	.zh-story-section--pattern-text > .container > .row > .col-xl-5 {
		flex: 0 0 41.66666667%;
		max-width: 41.66666667%;
	}
}

@media (max-width: 991.98px) {
	.zh-story-section--pattern-text > .container {
		padding-left: calc(7rem + 1.5rem);
	}
}

.zh-contact-section--edge-right {
	--zh-contact-edge: 0.75rem;
}

.zh-contact-section--edge-right .zh-contact-shell {
	width: calc(100% + var(--zh-contact-edge));
	margin-right: calc(-1 * var(--zh-contact-edge));
	border-radius: 0;
	background: var(--zh-yellow);
	background-image: none;
}

.zh-contact-section--edge-right .zh-contact-orbit {
	display: none;
}

.zh-contact-section--edge-right .zh-contact-portrait {
	border-radius: 50%;
	transform: none;
}

@media (min-width: 576px) {
	.zh-story-section--bleed-right,
	.zh-story-section--bleed-left,
	.zh-story-section--pattern,
	.zh-story-section--wallpaper-frame {
		--zh-story-edge: calc((100vw - 540px) / 2 + 0.75rem);
	}

	.zh-contact-section--edge-right {
		--zh-contact-edge: calc((100vw - 540px) / 2 + 0.75rem);
	}
}

@media (min-width: 768px) {
	.zh-story-section--bleed-right,
	.zh-story-section--bleed-left,
	.zh-story-section--pattern,
	.zh-story-section--wallpaper-frame {
		--zh-story-edge: calc((100vw - 720px) / 2 + 0.75rem);
	}

	.zh-contact-section--edge-right {
		--zh-contact-edge: calc((100vw - 720px) / 2 + 0.75rem);
	}
}

@media (min-width: 992px) {
	.zh-story-section--bleed-right,
	.zh-story-section--bleed-left,
	.zh-story-section--pattern,
	.zh-story-section--wallpaper-frame {
		--zh-story-edge: calc((100vw - 960px) / 2 + 0.75rem);
	}

	.zh-contact-section--edge-right {
		--zh-contact-edge: calc((100vw - 960px) / 2 + 0.75rem);
	}
}

@media (min-width: 1200px) {
	.zh-story-section--bleed-right,
	.zh-story-section--bleed-left,
	.zh-story-section--pattern,
	.zh-story-section--wallpaper-frame {
		--zh-story-edge: calc((100vw - 1140px) / 2 + 0.75rem);
	}

	.zh-contact-section--edge-right {
		--zh-contact-edge: calc((100vw - 1140px) / 2 + 0.75rem);
	}
}

@media (min-width: 1400px) {
	.zh-story-section--bleed-right,
	.zh-story-section--bleed-left,
	.zh-story-section--pattern,
	.zh-story-section--wallpaper-frame,
	.zh-story-section--pattern-text {
		--zh-story-edge: calc((100vw - 1320px) / 2 + 0.75rem);
	}

	.zh-contact-section--edge-right {
		--zh-contact-edge: calc((100vw - 1320px) / 2 + 0.75rem);
	}
}

@media (max-width: 991.98px) {
	.zh-story-section--pattern-text .zh-story-media {
		min-height: 18rem;
	}
}

/* Schlichte Aufzählung mit gelben Punkten, ohne Check-Icon. */
.zh-dot-list {
	display: grid;
	gap: 1.05rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zh-dot-list > li,
.zh-dot-list__item {
	position: relative;
	padding-left: 1.25rem;
	color: var(--zh-blue-deep);
	font-size: clamp(1.05rem, 1.35vw, 1.2rem);
	font-weight: 700;
	line-height: var(--zh-list-line-height, 1.45);
}

.zh-dot-list > li::before,
.zh-dot-list__item::before {
	position: absolute;
	left: 0;
	top: calc(0.725em - 0.25rem);
	width: var(--zh-list-dot-size, 0.5rem);
	height: var(--zh-list-dot-size, 0.5rem);
	content: "";
	border-radius: 50%;
	background: var(--zh-yellow);
}

/* Startseite: LiveCanvas-editierbare Bildleiste mit bewusst versetzten Bildkanten. */
.zh-photo-ribbon-section {
	overflow: hidden;
	background: #fff;
}

.zh-photo-ribbon-heading {
	max-width: 45rem;
	margin-bottom: clamp(2.25rem, 4vw, 4rem);
}

.zh-photo-ribbon {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.42rem;
	width: 100%;
	padding: 0 1.25rem;
}

.zh-photo-ribbon__item {
	margin: 0;
	overflow: hidden;
	background: var(--zh-surface);
	box-shadow: var(--zh-shadow-soft);
}

.zh-photo-ribbon__item img {
	display: block;
	width: 100%;
	height: clamp(17rem, 82vw, 30rem);
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.zh-photo-ribbon__item:hover img {
	transform: scale(1.035);
}

/* Startseite: Versorgungsgebiet mit großer, LiveCanvas-editierbarer Karte. */
.zh-service-area-section {
	background: #fff;
}

.zh-service-area-copy {
	position: relative;
	z-index: 2;
}

.zh-service-area-map {
	position: relative;
	padding: 0 0 clamp(0.9rem, 2vw, 1.5rem) clamp(0.9rem, 2vw, 1.5rem);
}

.zh-service-area-map::before {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 58%;
	height: 43%;
	content: "";
	background: var(--zh-wallpaper-image) center / auto var(--zh-wallpaper-motif-height) no-repeat;
}

.zh-service-area-map .lc-block {
	position: relative;
	z-index: 1;
	background: transparent;
}

.zh-service-area-map img {
	display: block;
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

@media (max-width: 991.98px) {
	.zh-service-area-map {
		margin-top: 1rem;
	}
}

@media (min-width: 992px) {
	.zh-photo-ribbon {
		grid-template-columns: 1.04fr 0.86fr 1.12fr 0.83fr 0.98fr;
		align-items: start;
		gap: clamp(0.3rem, 0.57vw, 0.67rem);
		padding: 0;
	}

	.zh-photo-ribbon__item img {
		height: clamp(20rem, 27vw, 31rem);
	}

	.zh-photo-ribbon__item--one img {
		height: clamp(20rem, 27vw, 31rem);
	}

	.zh-photo-ribbon__item--two img {
		height: clamp(23rem, 32vw, 35rem);
	}

	.zh-photo-ribbon__item--three img {
		height: clamp(18.5rem, 24vw, 28rem);
	}

	.zh-photo-ribbon__item--four img {
		height: clamp(25rem, 35vw, 38rem);
	}

	.zh-photo-ribbon__item--five img {
		height: clamp(21.5rem, 29vw, 33rem);
	}

	.zh-photo-ribbon__item--one {
		margin-top: clamp(2.5rem, 6vw, 6.5rem);
	}

	.zh-photo-ribbon__item--two {
		margin-bottom: clamp(1.25rem, 3vw, 3.5rem);
	}

	.zh-photo-ribbon__item--three {
		margin-top: clamp(4.5rem, 9vw, 9rem);
	}

	.zh-photo-ribbon__item--four {
		margin-bottom: clamp(3rem, 6vw, 6.5rem);
	}

	.zh-photo-ribbon__item--five {
		margin-top: clamp(1.5rem, 3.5vw, 4.25rem);
	}

	/* Tagespflege: Mehrspaltige Grid-Kacheln dürfen nicht die intrinsische
	   Bildbreite als Mindestgröße in die Track-Berechnung einbringen. */
	.zh-photo-ribbon--seven .zh-photo-ribbon__item,
	.zh-photo-ribbon--seven .zh-photo-ribbon__item .lc-block {
		min-width: 0;
	}

	.zh-photo-ribbon--seven .zh-photo-ribbon__item {
		contain: inline-size;
		max-width: none;
	}

	.zh-photo-ribbon--seven {
		grid-template-columns: repeat(13, minmax(0, 1fr));
		grid-template-rows: auto auto;
	}
}

/* Mobile: räumlicher Rhythmus und Reihenfolge der Story-Sections. */
@media (max-width: 767.98px) {
	.zh-section {
		--zh-section-space-mobile: 5.75rem;
	}

	.zh-day-section.zh-services-section--wallpaper-cards {
		background-position: center top;
		background-repeat: repeat-y;
	}

	#theme-main .zh-section > .container,
	#theme-main .zlo-hero > .container {
		padding-right: 1.75rem;
		padding-left: 1.75rem;
	}

	#lc-footer .container {
		padding-right: 1.75rem;
		padding-left: 1.75rem;
	}

	.zh-story-section > .container > .row > [class*="col-"]:has(> .zh-story-visual),
	.zh-service-area-section1 > .container > .row > [class*="col-"]:has(> .zh-service-area-map) {
		order: 2;
	}

	.zh-story-section > .container > .row > [class*="col-"]:not(:has(> .zh-story-visual)),
	.zh-service-area-section1 > .container > .row > [class*="col-"]:not(:has(> .zh-service-area-map)) {
		order: 1;
	}

	.zlo-hero,
	.zlo-hero__content {
		min-height: 42rem;
	}

	.zlo-hero__visual {
		height: 40%;
	}

	.zlo-hero__content {
		padding-top: 17rem;
		padding-bottom: 4.75rem;
	}

	.zlo-hero__curve {
		height: 3.6rem;
	}

	.zh-services-slider {
		padding-bottom: 2.6rem;
	}

	.zh-services-slider__track {
		padding-bottom: 1rem;
	}

	.zh-day-activities .zh-care-card,
	.zh-day-activities .zh-care-card--accent {
		min-height: 0;
		padding: 1.35rem;
		background: var(--zh-yellow);
		box-shadow: 0 1.4rem 3.4rem rgba(7, 43, 97, 0.17);
	}

	.zh-day-activities .zh-care-card__top {
		margin-bottom: 1.25rem;
	}

	.zh-day-activities .zh-care-card__icon {
		background: var(--zh-blue-deep);
		color: var(--zh-white);
	}

	.zh-day-activities .zh-care-card:hover,
	.zh-day-activities .zh-care-card:active,
	.zh-day-activities .zh-care-card:focus-within,
	.zh-day-activities .zh-care-card--accent:hover,
	.zh-day-activities .zh-care-card--accent:active,
	.zh-day-activities .zh-care-card--accent:focus-within {
		background: var(--zh-white);
		box-shadow: var(--zh-shadow-soft);
	}

	.zh-day-activities .zh-care-card:hover .zh-care-card__icon,
	.zh-day-activities .zh-care-card:active .zh-care-card__icon,
	.zh-day-activities .zh-care-card:focus-within .zh-care-card__icon,
	.zh-day-activities .zh-care-card--accent:hover .zh-care-card__icon,
	.zh-day-activities .zh-care-card--accent:active .zh-care-card__icon,
	.zh-day-activities .zh-care-card--accent:focus-within .zh-care-card__icon {
		background: var(--zh-yellow);
		color: var(--zh-blue-deep);
	}

	body.page-id-359 .zh-story-section--pflegeleitbild .zh-pattern-text-bar {
		display: none;
	}

	.zh-story-section--pflegeleitbild .row {
		--bs-gutter-y: 0;
	}

	.zh-story-section--pflegeleitbild .zh-story-copy-column + .zh-story-copy-column > .lc-block:first-child > p {
		margin-top: 0 !important;
	}

	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card {
		min-height: 16rem;
		background: var(--zh-yellow);
		border-color: var(--zh-yellow);
		box-shadow: 0 1.4rem 3.4rem rgba(7, 43, 97, 0.17);
	}

	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card__top {
		margin-bottom: 1.75rem;
	}

	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card__icon {
		background: var(--zh-blue-deep);
		color: var(--zh-white);
	}

	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card:active,
	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card:focus-within {
		background: var(--zh-white);
		box-shadow: 0 0.8rem 2.2rem rgba(7, 43, 97, 0.12);
	}

	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card:active .zh-care-card__icon,
	body.page-id-347 .zh-services-section--wallpaper-cards .zh-care-card:focus-within .zh-care-card__icon {
		background: var(--zh-yellow);
		color: var(--zh-blue-deep);
	}

	.zh-downloads-list {
		grid-template-columns: 1fr;
	}

	.zh-downloads-content {
		padding-left: clamp(1.75rem, 7vw, 2.25rem);
	}
}

.zh-faq-item[open] > summary::after {
	color: var(--zh-yellow);
}

/* Farbwechsel der Eyebrow-Markierung folgt dem jeweiligen Flächenkontrast. */
.zh-contact-shell .zh-eyebrow::before,
.zh-section--gradient-primary .zh-eyebrow::before {
	background: var(--zh-blue-deep);
}

:where(.zh-blue-surface, .zh-downloads-intro) .zh-eyebrow,
#theme-main :where(.zh-blue-surface, .zh-downloads-intro) .zh-eyebrow.text-primary {
	color: var(--zh-yellow) !important;
}

:where(.zh-blue-surface, .zh-downloads-intro) .zh-eyebrow::before {
	background: var(--zh-yellow);
}

/* Auf Mobil- und Tabletbreiten werden die Dokumente als klarer, einspaltiger Stapel gezeigt. */
@media (max-width: 1199.98px) {
	.zh-downloads-list {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		gap: 0.6rem;
	}

	.zh-download-item {
		width: 100%;
		gap: 0.9rem;
		padding-block: 0.75rem;
	}

	.zh-download-item__title {
		font-size: 1.18rem;
	}

	.zh-download-item__subline {
		font-size: 0.92rem;
	}
}
