/* =====================================================================
   EILWERK — custom section styles
   Everything is scoped under .ew-root / .ew-* so nothing here can affect
   the global header, the navigation, the hero or the footer. No element
   selectors are reset globally.
   ================================================================== */

.ew-root {
	--ew-bg-dark: #0B0D1D;
	--ew-purple-dark: #2E096F;
	--ew-purple: #6C2BFF;
	--ew-purple-soft: #F0EAFF;
	--ew-white: #FFFFFF;
	--ew-text: #11131A;
	--ew-muted: #626675;
	--ew-bg-soft: #F6F7FA;
	--ew-border: #E7E8ED;
	--ew-danger: #C0224A;
	--ew-success: #0E7C52;

	--ew-gradient: linear-gradient(133deg, #0B0D1D 0%, #2E096F 100%);

	--ew-shell: 1280px;
	--ew-padx: clamp(1.125rem, 5vw, 2.5rem);
	--ew-band: clamp(3.5rem, 7vw, 6.5rem);
	--ew-radius: 18px;
	--ew-radius-sm: 10px;

	color: var(--ew-text);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}

.ew-root *,
.ew-root *::before,
.ew-root *::after {
	box-sizing: border-box;
}

.ew-root img {
	max-width: 100%;
}

/* ---------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------ */

.ew-section {
	padding-block: var(--ew-band);
	position: relative;
}

.ew-shell {
	width: 100%;
	max-width: var(--ew-shell);
	margin-inline: auto;
	padding-inline: var(--ew-padx);
}

.ew-shell--narrow {
	max-width: 780px;
}

.ew-shell--form {
	max-width: 860px;
}

.ew-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.ew-root a:focus-visible,
.ew-root button:focus-visible,
.ew-root input:focus-visible,
.ew-root select:focus-visible,
.ew-root textarea:focus-visible,
.ew-root [tabindex]:focus-visible {
	outline: 3px solid var(--ew-purple);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */

.ew-eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ew-purple);
}

.ew-eyebrow--light {
	color: #b79dff;
}

.ew-h2 {
	margin: 0;
	font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.6rem);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.02em;
	color: var(--ew-text);
}

.ew-h2--sm {
	font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem);
}

.ew-h2--light {
	color: var(--ew-white);
}

.ew-accent {
	color: var(--ew-purple);
}

.ew-hero .ew-accent {
	color: #a889ff;
}

.ew-lede {
	margin: 1rem 0 0;
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	line-height: 1.7;
	color: var(--ew-muted);
	max-width: 62ch;
}

.ew-lede--light {
	color: #c6c9d6;
}

.ew-body {
	margin: 1rem 0 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ew-muted);
	max-width: 62ch;
}

.ew-body--muted {
	font-size: 0.9rem;
}

.ew-note {
	margin: 2rem 0 0;
	font-size: 0.9rem;
	color: var(--ew-muted);
	text-align: center;
}

.ew-note--left {
	text-align: left;
	margin-top: 1.5rem;
}

.ew-sechead {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
	text-align: center;
	margin-inline: auto;
}

.ew-sechead--left {
	text-align: left;
	margin-inline: 0;
}

/* ---------------------------------------------------------------------
   Buttons and links
   ------------------------------------------------------------------ */

.ew-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.85rem 1.6rem;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ew-btn--lg {
	min-height: 54px;
	padding: 1rem 2rem;
	font-size: 1rem;
}

.ew-btn--primary {
	background: var(--ew-purple);
	border-color: var(--ew-purple);
	color: #fff;
}

.ew-btn--primary:hover,
.ew-btn--primary:focus-visible {
	background: #5a1de6;
	border-color: #5a1de6;
	color: #fff;
}

.ew-btn--ghost {
	background: transparent;
	border-color: var(--ew-border);
	color: var(--ew-text);
}

.ew-btn--ghost:hover,
.ew-btn--ghost:focus-visible {
	border-color: var(--ew-purple);
	color: var(--ew-purple);
}

.ew-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--ew-bg-dark);
}

.ew-btn--light:hover,
.ew-btn--light:focus-visible {
	background: var(--ew-purple);
	border-color: var(--ew-purple);
	color: #fff;
}

.ew-btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.ew-btn--ghost-light:hover,
.ew-btn--ghost-light:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ew-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ew-arrow {
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
	transition: transform 0.18s ease;
}

.ew-btn:hover .ew-arrow,
.ew-link:hover .ew-arrow {
	transform: translateX(3px);
}

.ew-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin-top: auto;
	padding-top: 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ew-purple);
}

.ew-icon {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

/* ---------------------------------------------------------------------
   Media wrappers — aspect-ratio prevents layout shift even before the
   image dimensions are known.
   ------------------------------------------------------------------ */

.ew-media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--ew-radius);
	background: var(--ew-bg-soft);
	margin: 0;
}

.ew-media__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ew-media--card {
	aspect-ratio: 4 / 3;
	border-radius: var(--ew-radius) var(--ew-radius) 0 0;
}

.ew-media--detail {
	aspect-ratio: 4 / 3;
}

.ew-media--partner {
	aspect-ratio: 4 / 3;
}

.ew-media--vehicle {
	aspect-ratio: 3 / 2;
	border-radius: var(--ew-radius-sm);
}

/* ---------------------------------------------------------------------
   Dark page hero for internal pages
   ------------------------------------------------------------------ */

.ew-section.ew-hero {
	background: var(--ew-gradient);
	color: #fff;
	padding-block: clamp(4rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem);
	overflow: hidden;
}

.ew-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: -14%;
	inset-block-start: -34%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(108, 43, 255, 0.34) 0%, rgba(108, 43, 255, 0) 68%);
	pointer-events: none;
}

.ew-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
}

.ew-hero__title {
	margin: 0;
	font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #fff;
}

.ew-hero__lede {
	margin: 1.25rem 0 0;
	font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
	line-height: 1.65;
	color: #c6c9d6;
	max-width: 54ch;
}

/* ---------------------------------------------------------------------
   Home — intro
   ------------------------------------------------------------------ */

.ew-intro__grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 3.5rem);
}

.ew-intro__title {
	max-width: 20ch;
}

.ew-intro__body .ew-btn {
	margin-top: 1.75rem;
}

/* ---------------------------------------------------------------------
   Home — services
   ------------------------------------------------------------------ */

.ew-services {
	background: var(--ew-bg-soft);
}

.ew-services__grid,
.ew-why__grid,
.ew-vehicles__grid,
.ew-contact__grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ew-service {
	list-style: none;
	display: flex;
}

.ew-service__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ew-service__link:hover,
.ew-service__link:focus-visible {
	border-color: #d6cffb;
	box-shadow: 0 14px 34px -22px rgba(11, 13, 29, 0.5);
	transform: translateY(-2px);
}

.ew-service__num {
	position: absolute;
	inset-block-start: 0.75rem;
	inset-inline-start: 0.75rem;
	padding: 0.3rem 0.6rem;
	border-radius: 6px;
	background: rgba(11, 13, 29, 0.72);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ew-service__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.5rem;
	padding: 1.4rem 1.35rem 1.5rem;
}

.ew-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 0.3rem;
	border-radius: 10px;
	background: var(--ew-purple-soft);
	color: var(--ew-purple-dark);
}

.ew-service__title {
	font-size: 1.075rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ew-text);
}

.ew-service__text {
	font-size: 0.925rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

/* ---------------------------------------------------------------------
   Home + partner — benefit row
   ------------------------------------------------------------------ */

.ew-why--tinted {
	background: var(--ew-bg-soft);
}

.ew-why__item {
	list-style: none;
}

.ew-why__item--card {
	padding: 1.6rem 1.5rem;
	background: #fff;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
}

.ew-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: var(--ew-purple-soft);
	color: var(--ew-purple-dark);
}

.ew-why__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.ew-why__text {
	margin: 0.4rem 0 0;
	font-size: 0.925rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

/* ---------------------------------------------------------------------
   Tick lists
   ------------------------------------------------------------------ */

.ew-ticks {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.7rem;
}

.ew-ticks li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ew-text);
}

.ew-tick {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--ew-purple);
}

.ew-ticks--light li {
	color: #dfe1ea;
}

.ew-ticks--light .ew-tick {
	color: #a889ff;
}

/* ---------------------------------------------------------------------
   Home — dark partner block
   ------------------------------------------------------------------ */

.ew-section.ew-partner {
	background: var(--ew-gradient);
	color: #fff;
	overflow: hidden;
}

.ew-partner__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
	position: relative;
	z-index: 1;
}

.ew-partner .ew-btn {
	margin-top: 2rem;
}

/* ---------------------------------------------------------------------
   CTA blocks
   ------------------------------------------------------------------ */

.ew-cta__inner {
	text-align: center;
	max-width: 46rem;
}

.ew-cta__inner .ew-lede {
	margin-inline: auto;
}

.ew-cta__inner .ew-btn {
	margin-top: 2rem;
}

.ew-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
}

.ew-section.ew-cta--dark {
	background: var(--ew-bg-dark);
	color: #fff;
}

/* ---------------------------------------------------------------------
   Leistungen — alternating detail sections
   ------------------------------------------------------------------ */

.ew-section.ew-detail--tinted {
	background: var(--ew-bg-soft);
}

.ew-detail__grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

.ew-detail__num {
	display: inline-block;
	margin-inline-end: 0.4rem;
	padding: 0.15rem 0.45rem;
	border-radius: 5px;
	background: var(--ew-purple-soft);
	color: var(--ew-purple-dark);
}

.ew-detail__body .ew-btn {
	margin-top: 1.75rem;
}

/* ---------------------------------------------------------------------
   Leistungen — vehicles
   ------------------------------------------------------------------ */

.ew-vehicles {
	background: var(--ew-bg-soft);
}

.ew-vehicle {
	list-style: none;
	padding: 0.85rem;
	background: #fff;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
}

.ew-vehicle__title {
	margin: 1rem 0 0;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
}

.ew-vehicle__text {
	margin: 0.35rem 0 0.35rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

/* ---------------------------------------------------------------------
   Leistungen — process
   ------------------------------------------------------------------ */

.ew-process__list {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
	position: relative;
}

.ew-process__step {
	position: relative;
	list-style: none;
	padding-inline-start: 4.25rem;
	min-height: 56px;
}

.ew-process__marker {
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--ew-border);
	color: var(--ew-purple);
	z-index: 1;
}

.ew-process__num {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--ew-purple);
}

.ew-process__title {
	margin: 0.3rem 0 0;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

.ew-process__text {
	margin: 0.4rem 0 0;
	font-size: 0.925rem;
	line-height: 1.6;
	color: var(--ew-muted);
	max-width: 34ch;
}

/* ---------------------------------------------------------------------
   Partner — split layout
   ------------------------------------------------------------------ */

.ew-split__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.ew-steps {
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1.5rem;
}

.ew-steps__item {
	display: flex;
	gap: 1rem;
	list-style: none;
}

.ew-steps__num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--ew-purple-soft);
	color: var(--ew-purple-dark);
	font-size: 0.85rem;
	font-weight: 700;
}

.ew-steps__title {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.35;
}

.ew-steps__text {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.925rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

.ew-panel {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--ew-bg-soft);
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
}

/* ---------------------------------------------------------------------
   Kontakt cards
   ------------------------------------------------------------------ */

.ew-contact__card {
	list-style: none;
	padding: 1.75rem 1.5rem;
	background: #fff;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ew-contact__card:hover {
	border-color: #d6cffb;
	box-shadow: 0 14px 34px -24px rgba(11, 13, 29, 0.5);
}

.ew-contact__card--accent {
	background: var(--ew-purple-soft);
	border-color: #ddd2ff;
}

.ew-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: var(--ew-purple-soft);
	color: var(--ew-purple-dark);
}

.ew-contact__card--accent .ew-contact__icon {
	background: #fff;
}

.ew-contact__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.ew-contact__text {
	margin: 0.4rem 0 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

.ew-contact__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-size: 1rem;
	font-weight: 700;
	color: var(--ew-purple-dark);
	text-decoration: none;
	word-break: break-word;
}

.ew-contact__link:hover {
	color: var(--ew-purple);
	text-decoration: underline;
}

/* ---------------------------------------------------------------------
   Forms — shared
   ------------------------------------------------------------------ */

.ew-formsection--tinted {
	background: var(--ew-bg-soft);
}

.ew-section.ew-formsection--flush {
	padding-block: clamp(2.25rem, 5vw, 3.5rem) var(--ew-band);
}

.ew-card {
	background: #fff;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
}

.ew-card--form,
.ew-card--request {
	padding: clamp(1.25rem, 4vw, 2.5rem);
	box-shadow: 0 24px 60px -44px rgba(11, 13, 29, 0.55);
}

.ew-form {
	margin: 0;
}

.ew-field-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem 1.1rem;
}

.ew-field {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ew-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ew-text);
	padding: 0;
}

.ew-req {
	color: var(--ew-purple);
}

.ew-optional {
	font-weight: 400;
	color: var(--ew-muted);
}

.ew-input {
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius-sm);
	background: #fff;
	color: var(--ew-text);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ew-input:hover {
	border-color: #cfd2dc;
}

.ew-input:focus {
	border-color: var(--ew-purple);
	box-shadow: 0 0 0 3px rgba(108, 43, 255, 0.16);
	outline: none;
}

.ew-textarea {
	min-height: 130px;
	resize: vertical;
	line-height: 1.6;
}

.ew-field.is-invalid .ew-input {
	border-color: var(--ew-danger);
	background: #fff8fa;
}

.ew-field.is-disabled {
	opacity: 0.5;
}

.ew-input:disabled {
	background: var(--ew-bg-soft);
	cursor: not-allowed;
}

.ew-error {
	display: none;
	margin-top: 0.35rem;
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--ew-danger);
}

.ew-error:not(:empty) {
	display: block;
}

/* Errors are never signalled by colour alone. */
.ew-error:not(:empty)::before {
	content: "! ";
	font-weight: 700;
}

.ew-formnote {
	margin: 1.5rem 0 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

.ew-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.ew-form__actions--split {
	justify-content: space-between;
	align-items: center;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ew-border);
}

.ew-form__actions--split [data-ew-next],
.ew-form__actions--split [data-ew-submit] {
	margin-inline-start: auto;
}

.ew-form__status {
	display: none;
	margin-top: 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ew-muted);
}

.ew-form__status.is-visible {
	display: block;
}

.ew-form__status.is-error {
	color: var(--ew-danger);
	font-weight: 600;
}

/* Honeypot. Off-screen rather than display:none, which some bots detect. */
.ew-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------------
   Choice chips (weight) and checkboxes
   ------------------------------------------------------------------ */

.ew-subfield {
	margin: 1.75rem 0 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

.ew-subfield > .ew-label {
	padding: 0;
	margin-bottom: 0.7rem;
}

.ew-choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.ew-choice {
	position: relative;
	display: block;
	cursor: pointer;
}

.ew-choice input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ew-choice__box {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 52px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius-sm);
	background: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ew-text);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ew-choice:hover .ew-choice__box {
	border-color: #cfc3ff;
}

.ew-choice__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	border: 1px solid var(--ew-border);
	border-radius: 50%;
	background: #fff;
	color: transparent;
}

.ew-choice__check .ew-icon {
	width: 14px;
	height: 14px;
}

.ew-choice input:checked + .ew-choice__box {
	border-color: var(--ew-purple);
	background: var(--ew-purple-soft);
}

.ew-choice input:checked + .ew-choice__box .ew-choice__check {
	background: var(--ew-purple);
	border-color: var(--ew-purple);
	color: #fff;
}

.ew-choice input:focus-visible + .ew-choice__box {
	outline: 3px solid var(--ew-purple);
	outline-offset: 2px;
}

.ew-check {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 1rem;
	cursor: pointer;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ew-text);
}

.ew-check--privacy {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ew-border);
}

.ew-check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ew-check__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	margin-top: 1px;
	border: 1px solid var(--ew-border);
	border-radius: 6px;
	background: #fff;
	color: transparent;
}

.ew-check__box .ew-icon {
	width: 15px;
	height: 15px;
}

.ew-check input:checked + .ew-check__box {
	background: var(--ew-purple);
	border-color: var(--ew-purple);
	color: #fff;
}

.ew-check input:focus-visible + .ew-check__box {
	outline: 3px solid var(--ew-purple);
	outline-offset: 2px;
}

.ew-check.is-invalid .ew-check__box {
	border-color: var(--ew-danger);
}

.ew-check__text a {
	color: var(--ew-purple-dark);
	font-weight: 600;
}

.ew-reveal[hidden] {
	display: none;
}

/* ---------------------------------------------------------------------
   Progress and steps
   ------------------------------------------------------------------ */

.ew-progress {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.ew-progress__list {
	display: flex;
	gap: 0.25rem;
	margin: 0 0 0.9rem;
	padding: 0;
	list-style: none;
}

.ew-progress__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	list-style: none;
	text-align: center;
	color: var(--ew-muted);
	min-width: 0;
}

.ew-progress__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--ew-border);
	background: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ew-progress__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	overflow-wrap: anywhere;
}

.ew-progress__item.is-current {
	color: var(--ew-purple-dark);
}

.ew-progress__item.is-current .ew-progress__num {
	background: var(--ew-purple);
	border-color: var(--ew-purple);
	color: #fff;
}

.ew-progress__item.is-done {
	color: var(--ew-text);
}

.ew-progress__item.is-done .ew-progress__num {
	background: var(--ew-purple-soft);
	border-color: #d6cffb;
	color: var(--ew-purple-dark);
}

.ew-progress__bar {
	height: 4px;
	border-radius: 999px;
	background: var(--ew-border);
	overflow: hidden;
}

.ew-progress__fill {
	display: block;
	height: 100%;
	width: 25%;
	border-radius: 999px;
	background: var(--ew-purple);
	transition: width 0.3s ease;
}

.ew-step {
	margin: 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

/* Without JavaScript every step is visible and separated by a rule. */
.ew-form:not(.is-stepped) .ew-step + .ew-step {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ew-border);
}

.ew-step__legend {
	display: block;
	width: 100%;
	margin-bottom: 1.25rem;
	padding: 0;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ew-text);
}

.ew-step__kicker {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ew-purple);
}

.ew-form.is-stepped .ew-step.is-active {
	animation: ew-step-in 0.24s ease both;
}

@keyframes ew-step-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------------------
   Review summary and success
   ------------------------------------------------------------------ */

.ew-review {
	margin-top: 1.75rem;
	padding: 1.25rem 1.35rem;
	background: var(--ew-bg-soft);
	border-radius: var(--ew-radius-sm);
}

.ew-review__title {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ew-purple-dark);
}

.ew-review__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.15rem 1rem;
	margin: 0;
}

.ew-review__list dt {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ew-muted);
}

.ew-review__list dd {
	margin: 0 0 0.7rem;
	font-size: 0.94rem;
	line-height: 1.5;
	color: var(--ew-text);
}

.ew-success {
	text-align: center;
	padding: clamp(1rem, 3vw, 2rem) 0;
}

.ew-success__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background: var(--ew-purple-soft);
	color: var(--ew-success);
}

.ew-success__mark .ew-icon {
	width: 30px;
	height: 30px;
}

.ew-success .ew-lede {
	margin-inline: auto;
}

.ew-success__ref {
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 1.5rem 0 0;
	padding: 0.85rem 1.5rem;
	border-radius: var(--ew-radius-sm);
	background: var(--ew-bg-soft);
}

.ew-success__ref span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ew-muted);
}

.ew-success__ref strong {
	font-size: 1.3rem;
	letter-spacing: 0.02em;
	color: var(--ew-purple-dark);
}

.ew-success .ew-body {
	margin-inline: auto;
	max-width: 46ch;
}

.ew-alert {
	display: flex;
	gap: 0.85rem;
	margin-bottom: 1.75rem;
	padding: 1rem 1.15rem;
	border-radius: var(--ew-radius-sm);
	font-size: 0.94rem;
	line-height: 1.55;
}

.ew-alert p {
	margin: 0.25rem 0 0;
}

.ew-alert--success {
	background: #eefaf4;
	border: 1px solid #bfe6d5;
	color: #0d5c3f;
}

.ew-alert--success .ew-icon {
	color: var(--ew-success);
}

.ew-alert--error {
	background: #fff3f6;
	border: 1px solid #f2c4d1;
	color: #7d1231;
}

.ew-assist {
	margin-top: 1.5rem;
	text-align: center;
	font-size: 0.9rem;
	color: var(--ew-muted);
}

.ew-assist a {
	color: var(--ew-purple-dark);
	font-weight: 600;
}
/* =====================================================================
   HOMEPAGE — redesigned sections below the Elementor hero
   Append this block to assets/css/eilwerk-sections.css, immediately
   BEFORE the existing "TABLET — 768px and up" media query section.

   Everything here is new and homepage-scoped (.ew-home-* / .ew-route-*).
   No existing selector is modified, so Leistungen, Kurierpartner,
   Kontakt, Transport Anfragen and the shared form styles are untouched.
   Shared primitives (.ew-section, .ew-shell, .ew-h2, .ew-lede,
   .ew-eyebrow, .ew-btn, .ew-media__img, .ew-ticks, .ew-partner) are
   reused as-is.
   ================================================================== */

/* ---------------------------------------------------------------------
   Shared bits for the homepage only
   ------------------------------------------------------------------ */

.ew-home-rule {
	display: block;
	width: 44px;
	height: 3px;
	margin-bottom: 1.35rem;
	background: var(--ew-purple);
	border-radius: 2px;
}

.ew-home-rule--light {
	background: #8e64ff;
}

.ew-home-sechead {
	max-width: 46rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.ew-home-sechead--left {
	margin-inline: 0;
	text-align: left;
}

.ew-home-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 1.5rem;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(108, 43, 255, 0.35);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--ew-purple-dark);
	transition: border-color 0.18s ease, color 0.18s ease;
}

.ew-home-textlink:hover,
.ew-home-textlink:focus-visible {
	border-bottom-color: var(--ew-purple);
	color: var(--ew-purple);
}

.ew-home-textlink .ew-arrow {
	transition: transform 0.18s ease;
}

.ew-home-textlink:hover .ew-arrow {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------------
   01 — Compact introduction
   ------------------------------------------------------------------ */

.ew-section.ew-home-intro {
	padding-block: clamp(3rem, 6vw, 5.5rem);
	background: #fff;
}

.ew-home-intro__grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 3.5rem);
}

.ew-home-intro__lead .ew-h2 {
	max-width: 18ch;
}

.ew-home-intro__body .ew-lede {
	margin-top: 0;
}

/* ---------------------------------------------------------------------
   02 — Unsere Leistungen
   ------------------------------------------------------------------ */

.ew-home-services {
	background: var(--ew-bg-soft);
}

.ew-home-services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ew-home-service {
	display: flex;
	list-style: none;
}

.ew-home-service__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ew-home-service__link:hover,
.ew-home-service__link:focus-visible {
	border-color: #d6cffb;
	box-shadow: 0 16px 36px -26px rgba(11, 13, 29, 0.5);
}

.ew-home-service__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ew-bg-soft);
}

.ew-home-service__media .ew-media__img {
	position: absolute;
	inset: 0;
	transition: transform 0.5s ease;
}

.ew-home-service__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.25rem 1.35rem;
}

.ew-home-service__num {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--ew-purple);
	font-variant-numeric: tabular-nums;
}

.ew-home-service__title {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ew-text);
}

.ew-home-service__text {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ew-muted);
}

.ew-home-service__more {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin-top: auto;
	padding-top: 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ew-purple);
}

/* ---------------------------------------------------------------------
   03 — Direkt statt Umweg
   ------------------------------------------------------------------ */

.ew-home-route {
	background: var(--ew-bg-dark);
	color: #fff;
	overflow: hidden;
}

.ew-home-route__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.ew-home-route__grid > * {
	min-width: 0;
}

.ew-home-route__text {
	position: relative;
	z-index: 2;
}

.ew-home-route__copy {
	margin: 1.25rem 0 0;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #aeb3c8;
	max-width: 52ch;
}

.ew-home-route__legend {
	display: grid;
	gap: 0.65rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.ew-home-route__legend li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.875rem;
	color: #e3e5ee;
}

.ew-home-route__key {
	display: block;
	flex: 0 0 auto;
	width: 30px;
	height: 0;
	border-top: 2px solid;
}

.ew-home-route__key--direct { border-top-color: var(--ew-purple); }
.ew-home-route__key--detour {
	border-top-style: dashed;
	border-top-color: #747b99;
}

.ew-home-route__note {
	margin: 1.25rem 0 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #777d98;
}

.ew-root--home .ew-home-route__figure {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	width: 100%;
	max-width: 790px;
	min-width: 0;
	margin: 0 auto;
	padding: 0;
	aspect-ratio: 900 / 620;
}

.ew-root--home .ew-home-route__figure > .ew-route-svg {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 100% !important;
	min-height: 100% !important;
	margin: 0;
	overflow: visible;
}

.ew-map-country {
	fill: #10172c;
	stroke: #34405e;
	stroke-width: 1.05;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.ew-map-country--germany {
	fill: #18233f;
	stroke: #66739a;
	stroke-width: 1.55;
}

.ew-map-country-label {
	fill: #626d88;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
}

.ew-map-country-label--germany {
	fill: #8f99b5;
	font-size: 17px;
	font-weight: 700;
}

.ew-route-base {
	fill: none;
	stroke: #6C2BFF;
	stroke-width: 1.15;
	stroke-linecap: round;
	opacity: .20;
}

.ew-route-active {
	fill: none;
	stroke: #a27cff;
	stroke-width: 3;
	stroke-linecap: round;
	filter: url(#ewEuropeGlow);
}

.ew-route-draw {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: ew-route-draw 5.8s cubic-bezier(.4,0,.2,1) infinite;
}
.ew-route-draw--1 { animation-delay: 0s; }
.ew-route-draw--2 { animation-delay: .55s; }
.ew-route-draw--3 { animation-delay: 1.10s; }
.ew-route-draw--4 { animation-delay: 1.65s; }
.ew-route-draw--5 { animation-delay: 2.20s; }
.ew-route-draw--6 { animation-delay: 2.75s; }

@keyframes ew-route-draw {
	0%   { stroke-dashoffset: 1; opacity: 0; }
	8%   { opacity: 1; }
	46%  { stroke-dashoffset: 0; opacity: 1; }
	74%  { stroke-dashoffset: 0; opacity: .92; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

.ew-route-node {
	fill: #0B0D1D;
	stroke: #9B78FF;
	stroke-width: 2.1;
	vector-effect: non-scaling-stroke;
}
.ew-route-node--key { fill:#fff; stroke:var(--ew-purple); stroke-width:3.2; }
.ew-route-node--eu { stroke-dasharray:2 2; }
.ew-route-origin-halo {
	fill: rgba(108,43,255,.14);
	stroke: var(--ew-purple);
	stroke-width: 1.4;
	transform-box: fill-box;
	transform-origin: center;
	animation: ew-route-origin 2.5s ease-in-out infinite;
}
@keyframes ew-route-origin {
	0%,100% { transform:scale(.78); opacity:.35; }
	50% { transform:scale(1.18); opacity:.82; }
}
.ew-route-label {
	fill:#b9bfd2;
	font-family:inherit;
	font-size:14px;
	font-weight:600;
	paint-order:stroke;
	stroke:#0B0D1D;
	stroke-width:3px;
	stroke-linejoin:round;
}
.ew-route-label--key { fill:#fff; font-weight:700; }

/* ---------------------------------------------------------------------
   04 — Warum EILWERK
   ------------------------------------------------------------------ */

.ew-home-facts {
	background: #fff;
}

.ew-home-facts__rail {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ew-border);
}

.ew-home-fact {
	list-style: none;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--ew-border);
}

.ew-home-fact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 0.9rem;
	border-radius: 12px;
	background: var(--ew-purple-soft);
	color: var(--ew-purple);
	line-height: 0;
}

.ew-root--home .ew-home-fact__icon > .ew-home-fact__glyph {
	display: block;
	width: 24px !important;
	height: 24px !important;
	max-width: none;
	max-height: none;
}

.ew-home-fact__title {
	margin: 0;
	font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--ew-text);
}

.ew-home-fact__text {
	margin: 0.45rem 0 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ew-muted);
	max-width: 34ch;
}

/* ---------------------------------------------------------------------
   06 — Final CTA
   ------------------------------------------------------------------ */

.ew-home-cta {
	background: var(--ew-bg-soft);
}

.ew-home-cta__inner {
	max-width: 46rem;
	text-align: center;
}

.ew-home-cta__inner .ew-lede {
	margin-inline: auto;
}

.ew-home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* =====================================================================
   HOMEPAGE — 560px and up (small tablets / large phones)
   ================================================================== */

@media (min-width: 560px) {

	.ew-home-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =====================================================================
   HOMEPAGE — 768px and up (tablet)
   ================================================================== */

@media (min-width: 768px) {

	.ew-home-facts__rail {
		grid-template-columns: repeat(2, 1fr);
		column-gap: clamp(1.5rem, 3vw, 2.5rem);
	}

	.ew-home-fact {
		padding: 1.75rem 0;
	}
}

/* =====================================================================
   HOMEPAGE — 1024px and up
   ================================================================== */

@media (min-width: 1024px) {

	.ew-home-intro__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
		gap: clamp(2.5rem, 5vw, 5rem);
	}

	.ew-home-route__grid {
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	}

	.ew-root--home .ew-home-route__figure {
		max-width: none;
	}
}

/* =====================================================================
   HOMEPAGE — 1200px and up (desktop)
   ================================================================== */

@media (min-width: 1200px) {

	.ew-home-services__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.ew-home-facts__rail {
		grid-template-columns: repeat(4, 1fr);
		border-bottom: 1px solid var(--ew-border);
	}

	.ew-home-fact {
		padding: 2rem clamp(1rem, 2vw, 1.75rem) 2rem 0;
		border-bottom: 0;
		border-right: 1px solid var(--ew-border);
	}

	.ew-home-fact:last-child {
		border-right: 0;
		padding-right: 0;
	}
}

/* =====================================================================
   HOMEPAGE — hover-capable pointers only
   ================================================================== */

@media (hover: hover) {

	.ew-home-service__link:hover .ew-media__img {
		transform: scale(1.03);
	}

	.ew-home-service__link:hover .ew-arrow {
		transform: translateX(3px);
	}
}

/* =====================================================================
   HOMEPAGE — route section on mobile
   ================================================================== */
@media (max-width: 767px) {
	.ew-root--home .ew-home-route {
		display:block !important; visibility:visible !important; opacity:1 !important;
		height:auto !important; min-height:0 !important; overflow:hidden;
		padding-top:3.25rem; padding-bottom:3.25rem;
	}
	.ew-root--home .ew-home-route__grid {
		display:grid !important; grid-template-columns:minmax(0,1fr) !important;
		gap:2.25rem !important; width:100%;
	}
	.ew-root--home .ew-home-route__text { display:block !important; visibility:visible !important; opacity:1 !important; }
	.ew-root--home .ew-home-route__figure {
		display:block !important; visibility:visible !important; opacity:1 !important;
		position:relative !important; width:100% !important; max-width:620px !important;
		height:auto !important; min-height:0 !important; aspect-ratio:900 / 620 !important;
		margin:.25rem auto 0 !important;
	}
	.ew-root--home .ew-home-route__figure > .ew-route-svg {
		display:block !important; visibility:visible !important; opacity:1 !important;
		position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
		min-width:100% !important; min-height:100% !important;
	}
	.ew-map-country-label { font-size:17px; }
	.ew-map-country-label--germany { font-size:21px; }
	.ew-route-label { font-size:18px; stroke-width:4px; }
	.ew-route-active { stroke-width:4px; }
	.ew-route-base { stroke-width:1.6px; opacity:.28; }
}
@media (max-width: 559px) {
	.ew-root--home .ew-home-route__figure {
		width:calc(100% + 20px) !important; max-width:none !important;
		margin-left:-10px !important; margin-right:-10px !important;
	}
	.ew-map-country-label { font-size:19px; }
	.ew-map-country-label--germany { font-size:23px; }
	.ew-route-label { font-size:20px; }
	.ew-home-route__copy { font-size:.925rem; }
}

/* =====================================================================
   HOMEPAGE — reduced motion
   Routes, nodes and labels all remain fully visible; only movement stops.
   ================================================================== */

@media (prefers-reduced-motion: reduce) {

	.ew-route-draw {
		animation:none !important;
		stroke-dashoffset:0 !important;
		opacity:.75 !important;
	}


	.ew-route-halo {
		animation: none;
		opacity: 0.3;
	}

	.ew-home-service__link:hover .ew-media__img,
	.ew-home-textlink:hover .ew-arrow {
		transform: none;
	}
}

/* =====================================================================
   TABLET — 768px and up
   ================================================================== */

@media (min-width: 768px) {

	.ew-services__grid,
	.ew-vehicles__grid,
	.ew-why__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ew-contact__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ew-field-grid {
		grid-template-columns: repeat(6, 1fr);
	}

	.ew-field--full {
		grid-column: span 6;
	}

	.ew-field--half {
		grid-column: span 3;
	}

	.ew-field--third {
		grid-column: span 2;
	}

	.ew-field-grid > .ew-field:not([class*="ew-field--"]) {
		grid-column: span 6;
	}

	.ew-review__list {
		grid-template-columns: 190px 1fr;
		gap: 0 1.25rem;
	}

	.ew-review__list dt {
		padding-top: 0.1rem;
	}

	.ew-progress__label {
		font-size: 0.8rem;
	}

	.ew-process__list {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.ew-process__step {
		padding-inline-start: 0;
		padding-block-start: 4.75rem;
	}

	.ew-process__marker {
		inset-block-start: 0;
	}

	/* Connecting line, drawn behind the markers. */
	.ew-process__step:not(:last-child)::after {
		content: "";
		position: absolute;
		inset-block-start: 28px;
		inset-inline-start: 56px;
		inline-size: calc(100% + 2rem - 56px);
		block-size: 1px;
		background: var(--ew-border);
	}

	.ew-process__text {
		max-width: none;
	}

	.ew-split__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ew-detail__grid,
	.ew-partner__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ew-detail__grid--reverse .ew-media--detail {
		order: 2;
	}

	.ew-media--partner {
		aspect-ratio: 5 / 4;
	}
}

/* =====================================================================
   DESKTOP — 1200px and up
   ================================================================== */

@media (min-width: 1200px) {

	.ew-services__grid,
	.ew-vehicles__grid,
	.ew-why__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.ew-intro__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
		gap: 4rem;
	}

	.ew-detail__grid,
	.ew-partner__grid {
		gap: 4.5rem;
	}

	.ew-media--detail {
		aspect-ratio: 5 / 4;
	}
}

/* =====================================================================
   MOBILE refinements — below 768px
   ================================================================== */

@media (max-width: 767px) {

	.ew-progress__label {
		display: none;
	}

	.ew-progress__list {
		justify-content: space-between;
		gap: 0.5rem;
	}

	.ew-progress__item {
		flex: 0 0 auto;
	}

	/* On a phone the step name belongs in the legend, not the rail. */
	.ew-step__legend {
		font-size: 1.15rem;
	}

	.ew-form__actions--split {
		gap: 0.6rem;
	}

	.ew-form__actions--split .ew-btn {
		flex: 1 1 100%;
	}

	.ew-form__actions--split [data-ew-next],
	.ew-form__actions--split [data-ew-submit] {
		margin-inline-start: 0;
		order: -1;
	}

	.ew-choices {
		grid-template-columns: 1fr 1fr;
	}

	.ew-cta__actions .ew-btn {
		flex: 1 1 100%;
	}

	.ew-hero::after {
		display: none;
	}
}

/* =====================================================================
   Reduced motion
   ================================================================== */

@media (prefers-reduced-motion: reduce) {

	.ew-root *,
	.ew-root *::before,
	.ew-root *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}

	.ew-service__link:hover {
		transform: none;
	}

	.ew-btn:hover .ew-arrow,
	.ew-link:hover .ew-arrow {
		transform: none;
	}
}

/* =====================================================================
   Print — the request summary should be printable from the browser
   ================================================================== */

@media print {

	.ew-root .ew-hero,
	.ew-root .ew-progress,
	.ew-root .ew-form__actions,
	.ew-root .ew-assist {
		display: none !important;
	}

	.ew-card--request {
		border: 0;
		box-shadow: none;
		padding: 0;
	}
}


/* EILWERK homepage polish — route expansion & semantic icon refinement */
.ew-root--home .ew-home-route .ew-h2--light,
.ew-root--home .ew-home-route #ew-home-route-title {
	color: #fff !important;
}

.ew-route-draw--7  { animation-delay: 3.0s; }
.ew-route-draw--8  { animation-delay: 3.5s; }
.ew-route-draw--9  { animation-delay: 4.0s; }
.ew-route-draw--10 { animation-delay: 4.5s; }

.ew-route-label--secondary {
	fill: #9da5bd;
	font-size: 13px;
	font-weight: 600;
}

.ew-root--home .ew-home-fact__icon > .ew-home-fact__glyph {
	stroke-width: 1.8;
}

@media (max-width: 767px) {
	.ew-route-label--secondary {
		font-size: 16px;
	}
}
