/* ==========================================================================
   EL WORKS – Theme-Styles
   Werte 1:1 aus dem bisherigen Elementor-Layout übernommen.
   ========================================================================== */

:root {
	--c-bg: #f4f4f4;
	--c-text: #6a6a6a;
	--c-heading: #242424;
	--c-ink: #171717;
	--c-dark: #283346;
	--c-light: #eaeaea;
	--c-muted: #cdcdcd;
	--c-line: #e0e0e0;
	--c-blue: #9fb6cd;
	--c-mint: #43edc0;
	--c-mint-soft: #a1f6df;
	--c-overlay: rgba(22, 22, 22, .44);
	--c-acc-head: #f7f9fb;
	--c-white: #fff;

	--f-body: Poppins, "Helvetica Neue", Arial, sans-serif;
	--f-head: "Rethink Sans", Poppins, "Helvetica Neue", Arial, sans-serif;

	--r: 20px;
	--gap: 24px;
	--pad: 24px;
	--max: 1392px;
	--header-h: 122px;
	--sec-y: 40px;

	--fs-h1: 48px;
	--fs-h2: 36px;
	--fs-h2-xl: 48px;
	--fs-h4: 32px;
	--fs-h5: 24px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	padding-top: var(--header-h);
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.admin-bar .elw-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .elw-header { top: 46px; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-dark); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: var(--c-ink); }
p { margin: 0; }
strong, b { font-weight: 500; color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--f-head); color: var(--c-heading); font-weight: 500; }
h1 { font-size: var(--fs-h1); line-height: 1.1; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h5); line-height: 1.3; font-weight: 400; }
h4 { font-size: var(--fs-h4); line-height: 1.3; font-weight: 400; }
h5 { font-size: var(--fs-h5); line-height: 1.3; font-weight: 400; }

:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.elw-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--c-dark); color: var(--c-light); padding: 12px 18px; border-radius: 10px; }
.elw-skip:focus { top: 16px; color: var(--c-light); }

/* Block-Editor-Abstände neutralisieren – Abstände steuert das Theme. */
.elw-main > * + *, .elw-page > * + * { margin-block-start: 0; }
.wp-block-group { box-sizing: border-box; }
:where(.elw-page) figure { margin: 0; }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--gap); }
.wp-block-button { margin: 0; }
.wp-block-button__link,
.elw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 20px;
	border: 0;
	border-radius: var(--r);
	background: var(--c-dark);
	color: var(--c-light);
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.wp-block-button__link:hover,
.elw-btn:hover { color: var(--c-light); transform: scale(.94); }
.wp-block-button.is-style-light .wp-block-button__link,
.elw-btn--light { background: var(--c-light); color: var(--c-ink); }
.wp-block-button.is-style-light .wp-block-button__link:hover,
.elw-btn--light:hover { color: var(--c-ink); }
.elw-btn--ghost { background: transparent; color: var(--c-dark); box-shadow: inset 0 0 0 1px var(--c-line); }
.elw-btn--ghost:hover { color: var(--c-dark); }
@media (prefers-reduced-motion: reduce) { .wp-block-button__link:hover, .elw-btn:hover { transform: none; } }

/* ---------- Pill / Label ---------- */
.elw-pill,
p.is-style-pill {
	display: inline-block;
	align-self: flex-start;
	width: fit-content;
	padding: 5px 15px;
	border: 1px solid var(--c-line);
	border-radius: 30px;
	color: var(--c-dark);
	font-size: 15px;
	line-height: 21px;
}
.elw-pill--light { color: var(--c-light); border-color: rgba(234, 234, 234, .45); }
.elw-pill--sm { font-size: 14px; line-height: 1.3; padding: 5px 12px; }
.elw-head .elw-pill, .has-text-align-center .elw-pill { align-self: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.elw-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background: var(--c-bg);
	transition: box-shadow .25s ease;
}
.elw-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 23, 23, .06); }
.elw-header__inner {
	display: flex;
	align-items: center;
	min-height: var(--header-h);
	padding: 0 var(--pad);
	gap: var(--gap);
}
.elw-logo { display: inline-flex; flex: 0 0 auto; }
.elw-logo img { width: auto; height: 34px; }
.elw-logo--footer img { height: 48px; }

.elw-nav { flex: 1 1 auto; display: flex; align-items: center; padding: 0 var(--pad); }
.elw-menu { list-style: none; margin: 0; padding: 0; }
.elw-menu--primary { display: flex; align-items: center; flex-wrap: wrap; }
.elw-menu--primary > li { position: relative; display: flex; align-items: center; }
.elw-menu--primary > li > a {
	position: relative;
	display: block;
	padding: 13px 20px;
	color: var(--c-ink);
	font-size: 14px;
	line-height: 20px;
}
.elw-menu--primary > li > a::after {
	content: "";
	position: absolute;
	left: 20px; right: 20px; bottom: 0;
	height: 3px;
	background: #3f444b;
	transform: scaleX(0);
	transition: transform .25s ease;
}
.elw-menu--primary > li > a:hover::after,
.elw-menu--primary > .current-menu-item > a::after,
.elw-menu--primary > .current-menu-ancestor > a::after,
.elw-menu--primary > .current-menu-parent > a::after { transform: scaleX(1); }

.elw-subtoggle {
	display: inline-flex; align-items: center; justify-content: center;
	margin-left: -14px; margin-right: 4px;
	width: 22px; height: 22px; padding: 0;
	border: 0; background: none; color: var(--c-ink); cursor: pointer;
}
.elw-subtoggle svg { transition: transform .2s; }
.elw-menu--primary .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 230px;
	margin: 0; padding: 0;
	list-style: none;
	background: var(--c-blue);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 5;
}
.elw-menu--primary > li:hover > .sub-menu,
.elw-menu--primary > li:focus-within > .sub-menu,
.elw-menu--primary > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.elw-menu--primary > li.is-open > .elw-subtoggle svg { transform: rotate(180deg); }
.elw-menu--primary .sub-menu a { display: block; padding: 13px 20px; color: var(--c-ink); font-size: 14px; }
.elw-menu--primary .sub-menu a:hover,
.elw-menu--primary .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .25); }

.elw-header__cta { flex: 0 0 auto; margin-left: auto; }
.elw-nav__cta { display: none; }

.elw-burger {
	display: none;
	margin-left: auto;
	width: 46px; height: 46px; padding: 0;
	align-items: center; justify-content: center;
	border: 0; border-radius: 12px;
	background: transparent; color: var(--c-ink); cursor: pointer;
}
.elw-burger__close { display: none; }
.elw-burger[aria-expanded="true"] .elw-burger__open { display: none; }
.elw-burger[aria-expanded="true"] .elw-burger__close { display: inline-flex; }

@media (max-width: 1280px) {
	.elw-menu--primary > li > a { padding: 13px 12px; }
	.elw-menu--primary > li > a::after { left: 12px; right: 12px; }
}

@media (max-width: 1100px) {
	:root { --header-h: 84px; }
	.elw-burger { display: inline-flex; }
	.elw-header__cta { display: none; }
	.elw-nav {
		position: fixed;
		top: var(--header-h); left: 0; right: 0; bottom: 0;
		display: block;
		padding: 8px var(--pad) 32px;
		background: var(--c-bg);
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .25s, visibility .25s;
	}
	body.admin-bar .elw-nav { top: calc(var(--header-h) + 46px); }
	.elw-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.elw-menu--primary { display: block; }
	.elw-menu--primary > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
	.elw-menu--primary > li > a { flex: 1; padding: 16px 0; font-size: 17px; }
	.elw-menu--primary > li > a::after { display: none; }
	.elw-menu--primary > .current-menu-item > a { font-weight: 500; }
	.elw-subtoggle { margin: 0; width: 44px; height: 44px; }
	.elw-menu--primary .sub-menu {
		position: static; width: 100%; min-width: 0;
		display: none; opacity: 1; visibility: visible; transform: none;
		border-radius: 12px; margin-bottom: 12px;
	}
	.elw-menu--primary > li.is-open > .sub-menu { display: block; }
	.elw-menu--primary > li:hover > .sub-menu { display: none; }
	.elw-menu--primary > li.is-open:hover > .sub-menu { display: block; }
	.elw-nav__cta { display: inline-flex; margin-top: 24px; width: 100%; }
	body.elw-nav-open { overflow: hidden; }
}

/* ==========================================================================
   Layout-Grundlagen
   ========================================================================== */
.elw-sec {
	padding: var(--sec-y) var(--pad);
}
.elw-sec > *,
.elw-head {
	max-width: var(--max);
	margin-left: auto;
	margin-right: auto;
}
.elw-sec--tight { padding-top: 10px; }
.elw-sec--flush-top { padding-top: 0; }
.elw-sec--grey { background: var(--c-light); padding-top: 64px; padding-bottom: 64px; margin: var(--sec-y) 0; }
.elw-sec--features { padding-top: 105px; padding-bottom: 105px; }

/* Bild als Hintergrund (core/image mit Klasse elw-bg). */
.elw-bg {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
	z-index: 0;
}
.elw-bg img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

/* Abschnittskopf, zentriert. */
.elw-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	margin-bottom: var(--gap);
}
.elw-head p:not(.elw-pill) { max-width: 1100px; }

/* Raster */
.elw-grid { display: grid; gap: var(--gap); }
.elw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.elw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elw-grid--narrow { max-width: 899px; }

/* ==========================================================================
   Hero (Startseite und Leistungsseiten)
   ========================================================================== */
.elw-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 800px;
	margin: 0 var(--pad) var(--pad);
	border-radius: var(--r);
	overflow: hidden;
	isolation: isolate;
	color: var(--c-light);
}
.elw-hero--home { min-height: 850px; }
.elw-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-overlay);
	z-index: 1;
	pointer-events: none;
}
/* Ausgeschnittene Ecke oben links (inkl. umgekehrter Rundungen). */
.elw-hero::after,
.elw-pagehero.has-notch::after {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 120px; height: 120px;
	z-index: 2;
	pointer-events: none;
	background:
		radial-gradient(circle at 100% 100%, transparent 19.5px, var(--c-bg) 20px) 100px 0 / 20px 20px no-repeat,
		radial-gradient(circle at 100% 100%, transparent 19.5px, var(--c-bg) 20px) 0 100px / 20px 20px no-repeat,
		linear-gradient(var(--c-bg), var(--c-bg)) 0 0 / 100px 80px no-repeat,
		linear-gradient(var(--c-bg), var(--c-bg)) 0 80px / 80px 20px no-repeat,
		radial-gradient(circle at 0 0, var(--c-bg) 19.5px, transparent 20px) 80px 80px / 20px 20px no-repeat;
}
.elw-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	max-width: 848px;
	padding: 24px 48px 48px;
}
.elw-hero__title { color: var(--c-light); max-width: 672px; font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; }
.elw-hero__lead { color: var(--c-muted); max-width: 480px; }
.elw-hero__meta { color: var(--c-light); max-width: 480px; padding-top: 0; }

/* Seiten-Hero (400 px, zentriert) */
.elw-pagehero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	margin: 0 var(--pad) var(--pad);
	border-radius: var(--r);
	overflow: hidden;
	isolation: isolate;
	text-align: center;
}
.elw-pagehero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-overlay);
	z-index: 1;
}
.elw-pagehero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 24px;
	max-width: 1344px;
}
.elw-pagehero__content .elw-pill { align-self: center; }
.elw-pagehero__title { color: var(--c-light); font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; }
.elw-pagehero--xl .elw-pagehero__title { font-size: var(--fs-h2-xl); font-weight: 400; line-height: 1.2; }

/* Intro-Text direkt unter dem Seiten-Hero */
.elw-intro { text-align: center; }
.elw-intro p { max-width: var(--max); margin: 0 auto; }
.elw-intro--ink p { color: var(--c-heading); }

/* ==========================================================================
   Bild-/Text-Zeile
   ========================================================================== */
.elw-split {
	display: grid;
	grid-template-columns: minmax(0, 674fr) minmax(0, 694fr);
	gap: var(--gap);
	align-items: stretch;
}
.elw-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elw-split--text-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.elw-split__media {
	position: relative;
	min-height: 500px;
	border-radius: var(--r);
	overflow: hidden;
}
.elw-split__media--tall { min-height: 602px; }
.elw-split__media--credit { display: flex; align-items: flex-end; padding: 24px; }
.elw-split__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--gap);
	padding: 20px;
}
.elw-split__text--top { justify-content: flex-start; }
.elw-split__text--indent { padding: 0 0 0 60px; }
.elw-credit { position: relative; z-index: 2; color: var(--c-light); font-size: 13px; line-height: 1.4; }

/* Untertitel unter H2 (Icon-Box-Beschreibung im Original) */
.elw-sub { color: var(--c-text); }
.elw-lead-title { margin-bottom: 11px; }

/* ==========================================================================
   Karten
   ========================================================================== */
.elw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	padding: var(--pad);
	border-radius: var(--r);
	background: var(--c-light);
}
.elw-card > h2, .elw-card > h3.elw-card__title { color: var(--c-ink); font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; }
.elw-card--white { background: var(--c-white); }
.elw-card--blue { background: var(--c-blue); }
.elw-card--blue h2 { color: var(--c-heading); }
.elw-card--blue p, .elw-card--blue li { color: var(--c-ink); }
.elw-card--blue.elw-card--slim { padding: 20px 8px 20px 8px; }
.elw-card--blue.elw-card--slim > * { padding-left: 16px; padding-right: 16px; }
.elw-card--outline { background: transparent; border: 1px solid var(--c-line); }
.elw-card--outline-grey { border: 1px solid var(--c-line); }
.elw-card--dark { background: var(--c-dark); color: var(--c-light); }
.elw-card--dark h2, .elw-card--dark h3, .elw-card--dark h4, .elw-card--dark p, .elw-card--dark li { color: var(--c-light); }
.elw-card--center { align-items: center; }
.elw-card--center > * { width: 100%; max-width: 686px; }
.elw-card--ink p { color: var(--c-ink); }
.elw-card--text-heading p { color: var(--c-heading); }
.elw-card__foot { margin-top: auto; }
.elw-card__foot .wp-block-button, .elw-card__foot .wp-block-button__link { width: 100%; }

/* Preis-Karten */
.elw-card--price > h3.elw-card__title { color: var(--c-light); }
.elw-price { font-family: var(--f-head); font-size: var(--fs-h4); line-height: 1.3; color: var(--c-light); }
.elw-price + .elw-price-note { margin-top: calc(var(--gap) * -1 + 0px); }
.elw-price-note { color: var(--c-light); }
.elw-label { color: var(--c-dark); font-size: 16px; font-weight: 500; line-height: 1.3; }
.elw-card--dark .elw-pill { color: var(--c-light); border-color: rgba(234, 234, 234, .35); }

/* Hinweiszeile unter Preisen */
.elw-note { text-align: center; padding-top: var(--gap); }

/* Große, gerahmte Zweispalter (weiß / grau) */
.elw-box {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	border-radius: var(--r);
	background: var(--c-white);
}
.elw-box--grey { background: var(--c-light); }
.elw-box > .wp-block-group { display: flex; flex-direction: column; justify-content: center; gap: var(--gap); padding: var(--pad); }
.elw-box__media { position: relative; min-height: 420px; border-radius: var(--r); overflow: hidden; justify-content: flex-end !important; }

/* ==========================================================================
   Icons (CSS-Masken, Klasse am Titel: elw-ico elw-ico--{name})
   ========================================================================== */
.elw-ico::before {
	content: "";
	display: block;
	background-color: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.elw-ico--plain { color: var(--c-heading); }
.elw-ico--plain::before {
	width: 49px; height: 49px;
	margin: 0 auto 8px;
	background-color: var(--c-dark);
}
/* Kachel-Icons: dunkles Quadrat mit hellem Symbol */
.elw-ico--tile::before,
.elw-ico--tile-lg::before {
	width: 48px; height: 48px;
	margin-bottom: 24px;
	border-radius: 10px;
	background:
		linear-gradient(var(--c-light), var(--c-light)) center / 24px 24px no-repeat;
	-webkit-mask: none; mask: none;
	background-color: var(--c-dark);
}
/* Symbol über ::after auf die Kachel legen */
.elw-ico--tile, .elw-ico--tile-lg { position: relative; }
.elw-ico--tile::before, .elw-ico--tile-lg::before { background-image: none; }
.elw-ico--tile::after,
.elw-ico--tile-lg::after {
	content: "";
	position: absolute;
	top: 12px; left: 12px;
	width: 24px; height: 24px;
	background-color: var(--c-light);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.elw-ico--tile-lg::before { width: 52px; height: 52px; }
.elw-ico--tile-lg::after { top: 14px; left: 14px; width: 24px; height: 24px; }

.elw-ico--coffee { --ico: url(../icons/coffee.svg); }
.elw-ico--wifi { --ico: url(../icons/wifi.svg); }
.elw-ico--volume-x { --ico: url(../icons/volume-x.svg); }
.elw-ico--parking { --ico: url(../icons/square-parking.svg); }
.elw-ico--printer { --ico: url(../icons/printer.svg); }
.elw-ico--messages { --ico: url(../icons/messages-square.svg); }
.elw-ico--message { --ico: url(../icons/message-square.svg); }
.elw-ico--armchair { --ico: url(../icons/armchair.svg); }
.elw-ico--monitor { --ico: url(../icons/monitor.svg); }
.elw-ico--grid { --ico: url(../icons/grid.svg); }
.elw-ico--check-circle { --ico: url(../icons/circle-check.svg); }
.elw-ico--book { --ico: url(../icons/book-open.svg); }
.elw-ico--coins { --ico: url(../icons/hand-coins.svg); }
.elw-ico--headset { --ico: url(../icons/headset.svg); }
.elw-ico--clipboard-check { --ico: url(../icons/clipboard-check.svg); }
.elw-ico--clipboard-list { --ico: url(../icons/clipboard-list.svg); }
.elw-ico--users { --ico: url(../icons/users.svg); }
.elw-ico--timer { --ico: url(../icons/timer.svg); }
.elw-ico--chart { --ico: url(../icons/chart-column.svg); }
.elw-ico--handshake { --ico: url(../icons/handshake.svg); }
.elw-ico--phone { --ico: url(../icons/phone.svg); }
.elw-ico--phone-call { --ico: url(../icons/phone-call.svg); }
.elw-ico--mail { --ico: url(../icons/mail.svg); }
.elw-ico--map-pin { --ico: url(../icons/map-pin.svg); }

/* Feature-Raster (Ausstattung) */
.elw-feature { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 15px; }
.elw-feature h3 { font-size: var(--fs-h5); font-weight: 400; line-height: 1.3; margin: 0 0 16px; color: var(--c-heading); }
.elw-features { row-gap: 48px; }

/* Icon-Karten (Titel 24 px) */
.elw-card > h3.elw-ico--tile-lg { color: var(--c-heading); font-size: var(--fs-h5); line-height: 1.3; font-weight: 400; margin-bottom: -8px; }

/* ==========================================================================
   Listen
   ========================================================================== */
.elw-list,
.elw-list--check,
.elw-list--arrow {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.elw-list li,
.elw-list--check li { position: relative; padding-left: 26px; color: var(--c-text); }
.elw-list li::before,
.elw-list--check li::before {
	content: "";
	position: absolute;
	left: 0; top: 3px;
	width: 14px; height: 14px;
	background-color: var(--c-mint);
	-webkit-mask: url(../icons/plus.svg) center / contain no-repeat;
	mask: url(../icons/plus.svg) center / contain no-repeat;
}
.elw-list--check li::before {
	background-color: var(--c-mint-soft);
	-webkit-mask-image: url(../icons/check.svg);
	mask-image: url(../icons/check.svg);
}
.elw-card--dark .elw-list li, .elw-card--dark .elw-list--check li { color: var(--c-light); }
.elw-card--blue .elw-list li { color: var(--c-ink); }

/* Kleine Pill-Liste (Für wen …) */
.elw-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* ==========================================================================
   Ablauf (01–04)
   ========================================================================== */
.elw-process {
	display: grid;
	grid-template-columns: minmax(0, 456fr) minmax(0, 912fr);
	gap: var(--gap);
	align-items: start;
}
.elw-process--narrow-head { grid-template-columns: minmax(0, 316fr) minmax(0, 1052fr); }
.elw-process__head { display: flex; flex-direction: column; gap: var(--gap); }
.elw-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.elw-steps--full { grid-column: 1 / -1; }
.elw-step {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--gap);
	padding: var(--pad);
	border: 1px solid var(--c-line);
	border-radius: var(--r);
}
.elw-step__num { font-family: var(--f-head); font-size: var(--fs-h4); line-height: 1.3; color: var(--c-heading); }
.elw-step__body { display: flex; flex-direction: column; }
.elw-step__body > h3 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; color: var(--c-ink); margin-bottom: 11px; }
.elw-step__body > * + p, .elw-step__body > ul { margin-top: 8px; }
.elw-step__body .elw-list--plain { list-style: disc; padding-left: 20px; margin: 8px 0; display: block; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.elw-faqhead {
	display: grid;
	grid-template-columns: minmax(0, 316fr) minmax(0, 1052fr);
	gap: var(--gap);
	align-items: start;
	margin-bottom: var(--gap);
}
.elw-faqhead__main { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gap); }
.elw-faqhead__main h2 { font-size: var(--fs-h2-xl); font-weight: 400; line-height: 1.2; color: var(--c-ink); max-width: 732px; }
.elw-faqhead__main p { max-width: 297px; }
.elw-faqhead .elw-pill { color: var(--c-heading); }
.elw-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.elw-faq__col { display: flex; flex-direction: column; gap: 10px; }
.elw-faq__item {
	border: 1px solid var(--c-line);
	border-radius: var(--r);
	overflow: hidden;
}
.elw-faq__item > summary {
	position: relative;
	display: block;
	list-style: none;
	padding: 24px 64px 24px 24px;
	background: var(--c-acc-head);
	border-radius: 10px 10px 0 0;
	color: var(--c-ink);
	font-size: 20px;
	line-height: 30px;
	cursor: pointer;
}
.elw-faq__item > summary::-webkit-details-marker { display: none; }
.elw-faq__item > summary::after {
	content: "";
	position: absolute;
	right: 24px; top: 50%;
	width: 18px; height: 18px;
	margin-top: -9px;
	background-color: var(--c-ink);
	-webkit-mask: url(../icons/chevron-down.svg) center / contain no-repeat;
	mask: url(../icons/chevron-down.svg) center / contain no-repeat;
	transition: transform .25s ease;
}
.elw-faq__item[open] > summary::after { transform: rotate(180deg); }
.elw-faq__item > :not(summary) { padding: 24px; margin: 0; }

/* ==========================================================================
   CTA-Box (dunkel, optional mit Bild)
   ========================================================================== */
.elw-sec--cta { padding-top: var(--pad); padding-bottom: var(--pad); margin: 26px 0; }
.elw-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	border-radius: var(--r);
	background: var(--c-dark);
	overflow: hidden;
	isolation: isolate;
	text-align: center;
}
.elw-cta.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-overlay);
	z-index: 1;
}
.elw-cta__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 24px;
}
.elw-cta__content h1, .elw-cta__content h2 { color: var(--c-light); }
.elw-cta__content p { color: var(--c-light); max-width: 1344px; }
.elw-cta__content .wp-block-buttons { justify-content: center; padding: 24px; }
.elw-cta--left .elw-cta__content p { text-align: left; }

/* ==========================================================================
   Bild-Slider (Endlos-Laufband)
   ========================================================================== */
.elw-sec--slider { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.elw-sec--slider > * { max-width: none; }
.elw-slider { position: relative; overflow: hidden; height: 350px; }
.elw-slider__track {
	display: flex;
	gap: 12px;
	width: max-content;
	height: 100%;
	animation: elw-marquee var(--elw-dur, 60s) linear infinite;
}
.elw-slider:hover .elw-slider__track { animation-play-state: paused; }
.elw-slider .elw-slide {
	flex: 0 0 auto;
	width: calc((100vw - 48px) / 5);
	height: 100%;
	margin: 0 !important;
}
.elw-slider .elw-slide img { width: 100%; height: 100% !important; object-fit: cover; }
.elw-slider:not(.is-ready) { display: flex; gap: 12px; }
@keyframes elw-marquee { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .elw-slider__track { animation: none; } .elw-slider { overflow-x: auto; } }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.elw-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.elw-contact-grid > .wp-block-group { display: flex; flex-direction: column; gap: var(--gap); padding: 24px; }
.elw-card--form { border: 1px solid var(--c-line); }
.elw-card--form .elw-rounded img { border-radius: 16px; width: 100%; height: 220px; object-fit: cover; }
.elw-contact {
	position: relative;
	min-height: 64px;
	padding-left: 88px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.elw-contact::before {
	content: "";
	position: absolute;
	left: 0; top: 0;
	width: 64px; height: 64px;
	border-radius: 10px;
	background-color: var(--c-dark);
}
.elw-contact::after {
	content: "";
	position: absolute;
	left: 16px; top: 16px;
	width: 32px; height: 32px;
	background-color: var(--c-white);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.elw-contact strong { display: block; color: var(--c-ink); font-family: var(--f-head); font-size: var(--fs-h5); font-weight: 400; line-height: 1.3; }
.elw-contact a { color: var(--c-text); }
.elw-contact a:hover { color: var(--c-dark); }

/* Formular */
.elw-form-wrap { width: 100%; }
.elw-form { display: flex; flex-direction: column; gap: 16px; }
.elw-field { display: flex; flex-direction: column; }
.elw-field label { padding-bottom: 8px; color: #161616; font-size: 18px; line-height: 1.6; }
.elw-field input[type="text"],
.elw-field input[type="email"],
.elw-field input[type="tel"],
.elw-field select,
.elw-field textarea {
	width: 100%;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid #303030;
	border-radius: 5px;
	background: var(--c-light);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 1.4;
}
.elw-field select {
	appearance: none;
	padding-right: 40px;
	background-image: url(../icons/chevron-down.svg);
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px;
}
.elw-field textarea { min-height: 96px; resize: vertical; }
.elw-field input:focus, .elw-field select:focus, .elw-field textarea:focus { outline: 2px solid var(--c-dark); outline-offset: 1px; border-color: var(--c-dark); }
.elw-hint { padding: 6px 7px 0; color: var(--c-ink); font-size: 14px; line-height: 1.5; }
.elw-field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.elw-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.elw-field--check input { margin-top: 6px; width: 16px; height: 16px; accent-color: var(--c-dark); flex: 0 0 auto; }
.elw-field--check label { font-size: 16px; padding: 0; color: var(--c-ink); }
.elw-field--check a { text-decoration: underline; }
.elw-btn--submit { align-self: stretch; background: var(--c-heading); color: var(--c-white); }
.elw-btn--submit:hover { color: var(--c-white); }
.elw-form-msg { margin-bottom: 16px; padding: 14px 18px; border-radius: 12px; font-size: 15px; }
.elw-form-msg--ok { background: #e6f7ef; color: #155c3b; }
.elw-form-msg--error { background: #fdecec; color: #8a1c1c; }

/* Karte (2-Klick) */
.elw-map { position: relative; width: 100%; min-height: 406px; border-radius: 12px; overflow: hidden; background: #dfe5ec; }
.elw-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.elw-map__placeholder {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 14px; padding: 24px; text-align: center; color: var(--c-dark);
	background: linear-gradient(135deg, #e8edf2 0%, #d5dee8 100%);
}
.elw-map__addr { color: var(--c-ink); }
.elw-map__note { font-size: 13px; color: var(--c-text); max-width: 420px; }
.elw-map__note a { text-decoration: underline; }

/* ==========================================================================
   Stornierung / Fließtext-Seiten
   ========================================================================== */
.elw-terms { display: flex; flex-direction: column; gap: var(--gap); }
.elw-terms h2 { font-size: var(--fs-h4); font-weight: 400; line-height: 1.3; color: var(--c-ink); margin-bottom: -12px; }
.elw-terms ul { margin: 0; padding-left: 20px; }
.elw-terms p + p { margin-top: 12px; }
.elw-more { text-align: center; }
.elw-more a, .elw-prose a, .elw-sec p a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 2px; }

.elw-prose {
	max-width: var(--max);
	margin: 0 auto;
	padding: 24px var(--pad) 80px;
}
.elw-prose__title { margin-bottom: 32px; }
.elw-prose h2 { font-size: 28px; margin: 40px 0 14px; }
.elw-prose h3 { font-size: 22px; margin: 28px 0 10px; font-weight: 500; }
.elw-prose p, .elw-prose ul, .elw-prose ol { margin: 0 0 14px; }
.elw-prose ul, .elw-prose ol { padding-left: 22px; }
.elw-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.elw-prose th, .elw-prose td { border: 1px solid var(--c-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.elw-legal h2 { font-size: var(--fs-h2); margin: 40px 0 12px; }
.elw-legal .elw-legal__credit { margin-top: 40px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.elw-footer { padding: 75px 0 0; }
.elw-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 0 10px;
}
.elw-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 10px; }
.elw-footer__title { font-family: var(--f-head); font-size: var(--fs-h5); line-height: 1.3; color: var(--c-heading); }
.elw-footer__brand .elw-pill { color: var(--c-dark); }
.elw-menu--footer { display: flex; flex-direction: column; gap: 8px; }
.elw-menu--footer a,
.elw-linkbtn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--c-text);
	font-size: 15px;
}
.elw-menu--footer a::before {
	content: "";
	width: 18px; height: 18px; flex: 0 0 18px;
	background-color: var(--c-dark);
	-webkit-mask: url(../icons/circle-arrow-right.svg) center / contain no-repeat;
	mask: url(../icons/circle-arrow-right.svg) center / contain no-repeat;
}
.elw-menu--footer a:hover, .elw-linkbtn:hover { color: var(--c-dark); }
.elw-linkbtn { padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; }
.elw-linkbtn svg { color: var(--c-dark); }

.elw-contactlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.elw-contactlist li { display: flex; align-items: flex-start; gap: 15px; }
.elw-contactlist__icon {
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 50px; width: 50px; height: 50px;
	border-radius: 10px;
	background: var(--c-dark);
	color: var(--c-white);
}
.elw-contactlist strong { display: block; color: var(--c-heading); font-family: var(--f-head); font-size: 18px; font-weight: 400; line-height: 1.3; }
.elw-contactlist a { color: var(--c-text); word-break: break-word; }
.elw-contactlist a:hover { color: var(--c-dark); }

.elw-social { display: flex; justify-content: center; gap: 10px; padding: 20px 10px 0; }
.elw-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 50px; height: 50px;
	border-radius: 10%;
	background: var(--c-blue);
	color: var(--c-ink);
}
.elw-social a:hover { background: var(--c-dark); color: var(--c-light); }

.elw-footer__bottom { display: flex; align-items: center; min-height: 69px; padding: 0 var(--pad); }
.elw-footer__bottom a { color: var(--c-ink); font-size: 14px; }

/* ==========================================================================
   Consent-Banner & WhatsApp
   ========================================================================== */
.elw-consent { position: fixed; right: 20px; bottom: 20px; z-index: 300; max-width: 520px; width: calc(100% - 40px); }
.elw-consent[hidden] { display: none; }
.elw-consent__box { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--c-white); box-shadow: 0 16px 48px rgba(23, 23, 23, .18); }
.elw-consent__title { font-family: var(--f-head); font-size: 20px; font-weight: 500; color: var(--c-ink); }
.elw-consent__text { font-size: 14px; line-height: 1.5; }
.elw-consent__prefs { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--c-bg); }
.elw-consent__prefs[hidden] { display: none; }
.elw-consent__opt { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.elw-consent__opt input { accent-color: var(--c-dark); width: 16px; height: 16px; }
.elw-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.elw-consent__actions .elw-btn { flex: 1 1 auto; padding: 12px 16px; font-size: 15px; }
.elw-consent__actions .elw-btn[hidden] { display: none; }
.elw-consent__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.elw-consent__links a { color: var(--c-dark); text-decoration: underline; }

.elw-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 250;
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.elw-wa:hover { color: #fff; transform: scale(1.06); }
body:has(.elw-consent:not([hidden])) .elw-wa { display: none; }

/* 404 */
.elw-404 .elw-cta { min-height: 520px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	:root { --fs-h1: 40px; --fs-h2: 30px; --fs-h2-xl: 38px; --fs-h4: 28px; --fs-h5: 22px; --sec-y: 32px; }
	.elw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elw-process, .elw-process--narrow-head, .elw-faqhead { grid-template-columns: 1fr; }
	.elw-faqhead__main { flex-direction: column; align-items: flex-start; }
	.elw-faqhead__main p { max-width: none; }
	.elw-split__text--indent { padding-left: 24px; }
	.elw-hero { min-height: 640px; }
	.elw-hero--home { min-height: 680px; }
	.elw-sec--features { padding-top: 72px; padding-bottom: 72px; }
	.elw-slider .elw-slide { width: calc((100vw - 24px) / 3); }
	.elw-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.elw-split, .elw-split--even, .elw-split--text-first, .elw-box, .elw-faq, .elw-contact-grid, .elw-grid--2 { grid-template-columns: 1fr; }
	.elw-split__media, .elw-split__media--tall { min-height: 380px; }
	.elw-split__text, .elw-split__text--indent { padding: 8px 0 0; }
	.elw-split--text-first .elw-split__media { order: 2; }
	.elw-box__media { min-height: 320px; }
	.elw-contact-grid > .wp-block-group { padding: 0; }
}

@media (max-width: 767px) {
	:root { --fs-h1: 34px; --fs-h2: 28px; --fs-h2-xl: 30px; --fs-h4: 26px; --fs-h5: 21px; --pad: 16px; --sec-y: 28px; }
	.elw-grid--3, .elw-grid--4, .elw-steps { grid-template-columns: 1fr; }
	.elw-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; column-gap: 12px; }
	.elw-feature { padding: 0; }
	.elw-feature h3 { font-size: 18px; margin-bottom: 8px; }
	.elw-hero { min-height: 600px; margin: 0 var(--pad) var(--pad); }
	.elw-hero--home { min-height: 640px; }
	.elw-hero__content { padding: 24px 24px 32px; }
	.elw-hero::after { transform: scale(.7); transform-origin: 0 0; }
	.elw-pagehero { min-height: 320px; margin: 0 var(--pad) var(--pad); }
	.wp-block-buttons { gap: 12px; }
	.elw-hero .wp-block-buttons .wp-block-button,
	.elw-hero .wp-block-button__link { width: 100%; }
	.elw-step { grid-template-columns: 1fr; gap: 12px; }
	.elw-cta { min-height: 340px; }
	.elw-cta__content .wp-block-buttons { padding: 12px 0 0; flex-direction: column; width: 100%; }
	.elw-cta__content .wp-block-button__link { width: 100%; }
	.elw-faq__item > summary { font-size: 17px; line-height: 1.45; padding: 18px 52px 18px 18px; }
	.elw-faq__item > summary::after { right: 18px; }
	.elw-faq__item > :not(summary) { padding: 18px; }
	.elw-slider { height: 240px; }
	.elw-slider .elw-slide { width: 70vw; }
	.elw-sec--features { padding-top: 56px; padding-bottom: 56px; }
	.elw-sec--grey { padding-top: 40px; padding-bottom: 40px; }
	.elw-footer { padding-top: 48px; }
	.elw-footer__grid { grid-template-columns: 1fr; padding: 0 var(--pad); gap: 8px; }
	.elw-footer__col { padding: 10px 0; }
	.elw-contact { padding-left: 76px; }
	.elw-contact::before { width: 56px; height: 56px; }
	.elw-contact::after { left: 14px; top: 14px; width: 28px; height: 28px; }
	.elw-consent { right: 10px; bottom: 10px; width: calc(100% - 20px); }
}

/* ==========================================================================
   Ergänzende Hilfsklassen (Patterns)
   ========================================================================== */
.elw-titlegroup { display: flex; flex-direction: column; gap: 11px; }
.elw-titlegroup h2 { color: var(--c-ink); }
.elw-sub { color: var(--c-text); }
.elw-ink { color: var(--c-heading); }
.elw-sec--intro { padding-top: 50px; }
.elw-sec--intro .elw-head { margin-bottom: 0; }
.elw-rowhead { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gap); margin-bottom: var(--gap); }
.elw-rowhead h2 { max-width: 555px; }
.elw-rowhead p { max-width: 813px; }
.elw-grid--inset { padding: 24px; column-gap: 72px; }
.elw-card--inset { margin: 24px 24px 0 !important; max-width: calc(var(--max) - 48px); }
.elw-sec > .elw-card--inset { margin-left: auto !important; margin-right: auto !important; }
.elw-grid--start { align-items: start; }
.elw-grid--wide-gap > .elw-stack { padding: 24px; }
.elw-grid--after-intro { margin-top: 48px; }
.elw-stack { display: flex; flex-direction: column; gap: var(--gap); align-items: flex-start; }
.elw-card--narrow { max-width: 941px !important; }
.elw-card--center.elw-card--narrow { max-width: 899px !important; }
.elw-card--headcenter > h2 { text-align: center; color: var(--c-heading); }
.elw-card--textcenter { text-align: center; }
.elw-card--textcenter > h2 { color: var(--c-ink); }
.elw-head--cta { gap: var(--gap); margin-bottom: 0; }
.elw-head--cta .wp-block-buttons { justify-content: center; }
.elw-split__media--short { min-height: 405px; }
.elw-card.elw-split__media { padding: 0; }
.elw-split--about { grid-template-columns: minmax(0, 595fr) minmax(0, 772fr); }
.elw-hero--lead-light .elw-hero__lead { color: var(--c-light); }
.elw-steps-title { margin-bottom: var(--gap); padding: 0 24px; }
.elw-card--model { padding-bottom: 32px; }
.elw-card--model > .elw-price { margin: 0; }
.elw-card--dark .elw-card__title { color: var(--c-light); }
.elw-rounded img { border-radius: 16px; }
.elw-sec--faq .elw-faq { margin-top: 0; }
.elw-box > .wp-block-group > h2 { color: var(--c-heading); }
.elw-box--grey .elw-box__media { min-height: 602px; }
.elw-box .wp-block-buttons { margin-bottom: 0; }
.elw-more { padding-top: var(--gap); }

@media (max-width: 1024px) {
	.elw-rowhead { flex-direction: column; align-items: flex-start; }
	.elw-grid--inset { padding: 0; column-gap: var(--gap); }
	.elw-card--inset { margin: 0 !important; }
	.elw-split--about { grid-template-columns: 1fr 1fr; }
	.elw-box--grey .elw-box__media { min-height: 380px; }
}
@media (max-width: 900px) {
	.elw-split--about { grid-template-columns: 1fr; }
	.elw-grid--wide-gap > .elw-stack { padding: 0; }
}

/* Feinkorrekturen */
.elw-hero { border-top-left-radius: 0; }
.elw-sec p.elw-contact a { text-decoration: none; }

/* Kontaktseite: Bild höher und Ausschnitt oben, damit die Person vollständig sichtbar ist */
.elw-card--form .elw-rounded img { height: 380px; object-fit: cover; object-position: 50% 18%; }
@media (max-width: 767px) { .elw-card--form .elw-rounded img { height: 300px; object-position: 50% 15%; } }

/* ==========================================================================
   Einheitliche Heros auf allen Seiten (Desktop / Tablet / Handy)
   ========================================================================== */
:root { --hero-h: 600px; }
.elw-hero,
.elw-hero--home,
.elw-pagehero { min-height: var(--hero-h); }
.elw-hero .elw-bg img,
.elw-pagehero .elw-bg img { object-position: 50% 30%; }
.elw-pagehero__title,
.elw-pagehero--xl .elw-pagehero__title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; max-width: 900px; }
.elw-pagehero__content { padding: 48px; }

@media (max-width: 1024px) {
	:root { --hero-h: 520px; }
	.elw-hero__content { padding: 24px 40px 40px; }
	.elw-pagehero__content { padding: 40px; }
}
@media (max-width: 767px) {
	:root { --hero-h: 500px; }
	.elw-hero, .elw-hero--home, .elw-pagehero { min-height: var(--hero-h); }
	.elw-hero__content { padding: 24px 20px 28px; gap: 18px; }
	.elw-pagehero__content { padding: 28px 20px; }
	.elw-hero .elw-bg img, .elw-pagehero .elw-bg img { object-position: 50% 25%; }
}

/* Hero fast bildschirmfüllend auf allen Geräten (stabile Höhe dank svh) */
.elw-hero, .elw-hero--home, .elw-pagehero {
	min-height: max(560px, calc(100vh - var(--header-h) - 40px));
	min-height: max(560px, calc(100svh - var(--header-h) - 40px));
}
@media (max-width: 767px) {
	.elw-hero, .elw-hero--home, .elw-pagehero {
		min-height: max(500px, calc(100vh - var(--header-h) - 32px));
		min-height: max(500px, calc(100svh - var(--header-h) - 32px));
	}
}

/* ==========================================================================
   Animationen (nur Frontend, nur wenn „Bewegung reduzieren“ aus ist)
   ========================================================================== */
@keyframes elw-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes elw-zoom-out { from { transform: scale(1.08); } to { transform: scale(1); } }

.elw-anim .elw-hero .elw-bg img,
.elw-anim .elw-pagehero .elw-bg img { animation: elw-zoom-out 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.elw-anim .elw-hero__content > *,
.elw-anim .elw-pagehero__content > * { animation: elw-fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.elw-anim .elw-hero__content > :nth-child(2), .elw-anim .elw-pagehero__content > :nth-child(2) { animation-delay: .12s; }
.elw-anim .elw-hero__content > :nth-child(3), .elw-anim .elw-pagehero__content > :nth-child(3) { animation-delay: .24s; }
.elw-anim .elw-hero__content > :nth-child(4) { animation-delay: .36s; }

.elw-anim :is(.elw-head, .elw-rowhead, .elw-intro, .elw-split__media, .elw-split__text, .elw-card, .elw-feature, .elw-step, .elw-process__head, .elw-faqhead, .elw-faq__item, .elw-box, .elw-cta, .elw-slider, .elw-note, .elw-more, .elw-legal > *, .elw-footer__col) {
	transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), box-shadow .3s ease;
}
.elw-anim :is(.elw-head, .elw-rowhead, .elw-intro, .elw-split__media, .elw-split__text, .elw-card, .elw-feature, .elw-step, .elw-process__head, .elw-faqhead, .elw-faq__item, .elw-box, .elw-cta, .elw-slider, .elw-note, .elw-more, .elw-legal > *, .elw-footer__col):not(.is-in) {
	opacity: 0;
	transform: translateY(28px);
}
.elw-anim-done :is(.elw-head, .elw-rowhead, .elw-intro, .elw-split__media, .elw-split__text, .elw-card, .elw-feature, .elw-step, .elw-process__head, .elw-faqhead, .elw-faq__item, .elw-box, .elw-cta, .elw-slider, .elw-note, .elw-more, .elw-legal > *, .elw-footer__col) {
	opacity: 1 !important;
	transform: none !important;
}

/* Hover-Details */
.elw-card:not(.elw-card--form):not(.elw-split__media):hover,
.elw-step:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23, 23, 23, .08); }
.elw-step { transition: transform .3s ease, box-shadow .3s ease; }
.elw-feature h3::before { transition: transform .3s ease; }
.elw-feature:hover h3::before { transform: translateY(-4px); }
.elw-split__media img, .elw-box__media img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.elw-split__media:hover img, .elw-box__media:hover img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
	.elw-anim *, .elw-anim *::before, .elw-anim *::after { animation: none !important; transition: none !important; }
	.elw-anim :is(.elw-head, .elw-rowhead, .elw-intro, .elw-split__media, .elw-split__text, .elw-card, .elw-feature, .elw-step, .elw-process__head, .elw-faqhead, .elw-faq__item, .elw-box, .elw-cta, .elw-slider, .elw-note, .elw-more, .elw-legal > *, .elw-footer__col) { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Design-Update: Ausstattung als Karten, Abrechnungsmodelle, Kontrast-Fix
   ========================================================================== */

/* Kontrast: Titel in dunklen Karten immer hell */
.elw-card.elw-card--dark > h2,
.elw-card.elw-card--dark > h3,
.elw-card.elw-card--dark > h3.elw-card__title { color: var(--c-light); }

/* Ausstattung: Karten mit Icon-Kachel */
.elw-features { gap: var(--gap); row-gap: var(--gap); margin-top: 16px; }
.elw-feature {
	align-items: flex-start;
	text-align: left;
	padding: 32px 28px;
	border-radius: var(--r);
	background: var(--c-white);
	border: 1px solid rgba(23, 23, 23, .04);
	transition: transform .35s ease, box-shadow .35s ease;
}
.elw-feature:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(40, 51, 70, .10); }
.elw-feature h3 {
	position: relative;
	padding-top: 80px;
	margin: 0 0 10px;
	color: var(--c-ink);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
}
.elw-feature h3::before {
	position: absolute;
	top: 0; left: 0;
	width: 56px; height: 56px;
	margin: 0;
	border-radius: 16px;
	background-color: var(--c-dark);
	-webkit-mask: none; mask: none;
	transition: background-color .35s ease, transform .35s ease;
}
.elw-feature h3::after {
	content: "";
	position: absolute;
	top: 14px; left: 14px;
	width: 28px; height: 28px;
	background-color: var(--c-light);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
	transition: background-color .35s ease;
}
.elw-feature:hover h3::before { transform: none; background-color: var(--c-blue); }
.elw-feature:hover h3::after { background-color: var(--c-dark); }
.elw-feature p { font-size: 15px; line-height: 1.55; }

/* Abrechnungsmodelle (Preise) */
.elw-grid:has(> .elw-card--model) { align-items: stretch; }
.elw-card--model { padding: 32px; gap: 20px; overflow: hidden; }
.elw-card--model > h3.elw-card__title { font-size: 30px; line-height: 1.15; }
.elw-card--model .elw-pill { border-color: rgba(234, 234, 234, .3); font-size: 14px; }
.elw-card--model > .elw-price {
	padding: 16px 0;
	border-top: 1px solid rgba(234, 234, 234, .14);
	border-bottom: 1px solid rgba(234, 234, 234, .14);
	color: var(--c-mint-soft);
	font-size: 26px;
	line-height: 1.2;
}
.elw-card--model .elw-list { gap: 12px; }
.elw-card--model > p:last-child {
	margin-top: auto;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .06);
	color: rgba(234, 234, 234, .85);
	font-size: 14px;
	line-height: 1.5;
}
.elw-grid > .elw-card--model:nth-child(2)::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--c-mint), var(--c-blue));
}
.elw-grid > .elw-card--model:nth-child(2) { box-shadow: 0 20px 44px rgba(40, 51, 70, .22); }

@media (max-width: 1024px) {
	.elw-card--model > h3.elw-card__title { font-size: 26px; }
}
@media (max-width: 767px) {
	.elw-feature { padding: 22px 18px; }
	.elw-feature h3 { padding-top: 64px; font-size: 17px; }
	.elw-feature h3::before { width: 48px; height: 48px; border-radius: 14px; }
	.elw-feature h3::after { top: 12px; left: 12px; width: 24px; height: 24px; }
	.elw-feature p { font-size: 14px; }
	.elw-card--model { padding: 24px; }
}
@media (max-width: 480px) {
	.elw-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Einheitliche Typografie-Skala
   H1 48/34 · Abschnitt-H2 36/28 · Kartentitel 26/22 · kleine Titel 20/18 · Text 15
   ========================================================================== */
:root { --fs-card: 26px; --fs-small: 20px; }

/* Kartentitel überall gleich */
.elw-card > h2,
.elw-card > h3.elw-card__title,
.elw-card--model > h3.elw-card__title,
.elw-card--price > h3.elw-card__title,
.elw-card.elw-card--dark > h2,
.elw-card.elw-card--dark > h3.elw-card__title {
	font-size: var(--fs-card);
	font-weight: 500;
	line-height: 1.2;
}
.elw-step__body > h3 { font-size: 24px; line-height: 1.2; }
.elw-card > h3.elw-ico--tile-lg,
.elw-feature h3 { font-size: var(--fs-small); font-weight: 500; line-height: 1.25; }
.elw-terms h2 { font-size: 24px; font-weight: 500; line-height: 1.25; margin-bottom: -8px; }
.elw-faqhead__main h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; }
.elw-price { font-size: 30px; }
.elw-card--model > .elw-price { font-size: 26px; }

/* Labels */
.elw-label {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 14px;
	border: 1px solid var(--c-line);
	border-radius: 30px;
	background: var(--c-white);
	color: var(--c-dark);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}
.elw-field label { font-size: 15px; font-weight: 500; line-height: 1.5; }
.elw-field--check label { font-size: 15px; font-weight: 400; }
.elw-hint { font-size: 13px; }

/* Gleich hohe Karten in allen Rastern */
.elw-grid--start { align-items: stretch; }
.elw-grid > .elw-card > .wp-block-buttons:last-child { margin-top: auto; }

@media (max-width: 1024px) {
	:root { --fs-card: 24px; }
}
@media (max-width: 767px) {
	:root { --fs-card: 22px; --fs-small: 18px; }
	.elw-step__body > h3 { font-size: 21px; }
	.elw-terms h2 { font-size: 21px; }
	.elw-price { font-size: 26px; }
}

/* ==========================================================================
   Einheitliches Abstandsraster
   Abschnitte 56/44/36 · Karten-Innenabstand 28/22 · Raster 24/20/16 · Kopf → Inhalt 32
   ========================================================================== */
:root { --sec-y: 56px; --gap: 24px; --card-pad: 28px; --head-gap: 32px; }

.elw-sec,
.elw-sec--intro,
.elw-sec--features,
.elw-sec--slider,
.elw-sec--faq { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.elw-sec--tight,
.elw-sec--flush-top { padding-top: calc(var(--sec-y) / 2); }
.elw-sec--cta { padding-top: var(--sec-y); padding-bottom: var(--sec-y); margin: 0; }
.elw-sec--grey { padding-top: calc(var(--sec-y) * 1.25); padding-bottom: calc(var(--sec-y) * 1.25); margin: 0; }

.elw-head, .elw-rowhead, .elw-faqhead { margin-bottom: var(--head-gap); }
.elw-sec--intro .elw-head { margin-bottom: 0; }
.elw-steps-title { margin-bottom: var(--head-gap); padding: 0; }
.elw-grid--after-intro { margin-top: var(--head-gap); }
.elw-features { margin-top: 0; }

.elw-card, .elw-card--model, .elw-feature, .elw-step,
.elw-box > .wp-block-group,
.elw-grid--wide-gap > .elw-stack { padding: var(--card-pad); }
.elw-card.elw-split__media { padding: 0; }
.elw-split__text { padding: 0 var(--card-pad); }
.elw-split__text--indent { padding: 0 0 0 calc(var(--card-pad) * 2); }
.elw-hero__content { padding: 24px calc(var(--card-pad) + 20px) calc(var(--card-pad) + 20px); }

.elw-grid--inset { padding: 0; column-gap: var(--gap); }
.elw-card--inset, .elw-sec > .elw-card--inset { margin: var(--gap) auto 0 !important; max-width: var(--max); }
.elw-contact-grid > .wp-block-group { padding: 0; }
.elw-note, .elw-more { padding-top: var(--head-gap); }

@media (max-width: 1024px) {
	:root { --sec-y: 44px; --gap: 20px; }
}
@media (max-width: 900px) {
	.elw-split__text, .elw-split__text--indent { padding: 0; }
}
@media (max-width: 767px) {
	:root { --sec-y: 36px; --gap: 16px; --card-pad: 22px; --head-gap: 24px; }
	.elw-hero__content { padding: 24px 20px 28px; }
}

/* ==========================================================================
   Feinschliff: einheitliche Kartenoptik, lesbare Listen-Icons
   ========================================================================== */
:root { --c-mint-strong: #12a985; }

/* Freistehende Textspalten als Karten */
.elw-grid--wide-gap > .elw-stack {
	background: var(--c-white);
	border-radius: var(--r);
	border: 1px solid rgba(23, 23, 23, .04);
}

/* Hellgraue Karten etwas klarer vom Hintergrund absetzen */
.elw-card:not(.elw-card--dark):not(.elw-card--blue):not(.elw-card--white) { border: 1px solid rgba(23, 23, 23, .04); }

/* Listen-Icons: kräftig auf hellem Grund, hell auf dunklem Grund */
.elw-list li::before { background-color: var(--c-mint-strong); }
.elw-list--check li::before { background-color: var(--c-mint-strong); }
.elw-card--dark .elw-list li::before,
.elw-card--dark .elw-list--check li::before,
.elw-cta .elw-list li::before { background-color: var(--c-mint); }
.elw-card--blue .elw-list li::before { background-color: var(--c-dark); }

/* Karten-Abstände zwischen Titel, Text und Liste ruhiger */
.elw-card > h2 + p, .elw-card > h3 + p { margin-top: -8px; }

/* Handy/Tablet: Bild-Text-Zeilen immer Bild zuerst (keine zwei Bilder hintereinander) */
@media (max-width: 900px) {
	.elw-split--text-first .elw-split__media { order: -1; }
}

/* Slideshow: abgerundete Bilder passend zum Rest der Website */
.elw-slider .elw-slide { border-radius: var(--r); overflow: hidden; }
.elw-slider .elw-slide img { border-radius: var(--r); }

/* Links ohne Unterstreichung – im Fließtext über Farbe und Gewicht erkennbar */
a,
.elw-more a, .elw-prose a, .elw-sec p a:not(.wp-block-button__link),
.elw-field--check a, .elw-map__note a, .elw-consent__links a, .elw-legaltext a { text-decoration: none; }
.elw-more a, .elw-prose a, .elw-sec p a:not(.wp-block-button__link), .elw-field--check a, .elw-map__note a, .elw-consent__links a {
	color: var(--c-dark);
	font-weight: 500;
	transition: color .2s ease;
}
.elw-more a:hover, .elw-prose a:hover, .elw-sec p a:not(.wp-block-button__link):hover, .elw-field--check a:hover, .elw-map__note a:hover, .elw-consent__links a:hover { color: var(--c-mint-strong); }
.elw-card--dark p a:not(.wp-block-button__link), .elw-cta p a:not(.wp-block-button__link) { color: var(--c-mint); }
.elw-sec p.elw-contact a { font-weight: 400; color: var(--c-text); }

/* Formular: Sendezustand */
.elw-btn--submit[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
