/* ============================================================
 * Produktionsseite — Layout nach Figma (node 553:7554)
 * ============================================================ */

.ec-prod {
	display: flex;
	flex-direction: column;
	background: var(--ec-chalk, #f8f6f2);
	color: var(--ec-anthracite, #1c1c1a);
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ec-prod > section {
	width: 100%;
}

/* --- Hero --------------------------------------------------- */
.ec-p-hero {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: 720px;
	padding: 0 clamp(24px, 6vw, 80px) 64px;
	display: flex;
	align-items: flex-end;
	background-color: var(--ec-sand, #c4ab8a);
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--ec-chalk, #f8f6f2);
	overflow: hidden;
}

.ec-p-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(28,28,26,.45) 0%, rgba(28,28,26,0) 55%);
	pointer-events: none;
}

.ec-p-hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 1151px;
	width: 100%;
}

.ec-p-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ec-chalk, #f8f6f2);
}

.ec-p-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.ec-p-breadcrumb a:hover {
	text-decoration: underline;
}

.ec-p-breadcrumb__sep {
	font-size: 12px;
	opacity: .85;
}

.ec-p-breadcrumb__current {
	text-decoration: underline;
}

.ec-p-hero__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 500;
	font-size: clamp(40px, 5.5vw, 60px);
	line-height: 1.2;
	letter-spacing: 1.2px;
	color: var(--ec-chalk, #f8f6f2);
}

.ec-p-hero__subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ec-chalk, #f8f6f2);
}

/* --- Feature splits ---------------------------------------- */
.ec-p-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--ec-chalk, #f8f6f2);
}

.ec-p-feature__media {
	background-color: var(--ec-sand, #c4ab8a);
	background-size: cover;
	background-repeat: no-repeat;
	aspect-ratio: 1 / 1;
}

.ec-p-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	padding: 88px clamp(32px, 7vw, 96px);
	background: var(--ec-chalk, #f8f6f2);
}

.ec-p-feature--flip .ec-p-feature__media {
	order: 2;
}

.ec-p-feature--flip .ec-p-feature__body {
	order: 1;
}

.ec-p-feature__eyebrow {
	margin: 0;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.88px;
	color: var(--ec-sand, #c4ab8a);
	text-transform: uppercase;
}

.ec-p-feature__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.2;
	letter-spacing: 0.44px;
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-p-feature__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ec-text-secondary, #7a7570);
	max-width: 56ch;
}

.ec-p-feature__body .ec-btn {
	align-self: flex-start;
}

/* --- Products ---------------------------------------------- */
.ec-p-products {
	background: var(--ec-surface, #fdfcf9);
	padding: 64px clamp(24px, 6vw, 80px);
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.ec-p-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ec-p-products__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.25;
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-p-products__link {
	font-size: 14px;
	color: var(--ec-anthracite, #1c1c1a);
	text-decoration: none;
}

.ec-p-products__link:hover {
	text-decoration: underline;
}

.ec-p-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ec-p-card {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	background: transparent;
}

.ec-p-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1707 / 2560;
	background: var(--ec-sand, #c4ab8a) center / cover no-repeat;
	overflow: hidden;
}

.ec-p-card__media--has-hover::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--ec-card-hover);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
	z-index: 0;
}

.ec-p-card:hover .ec-p-card__media--has-hover::before,
.ec-p-card:focus-visible .ec-p-card__media--has-hover::before {
	opacity: 1;
}

.ec-p-card__badge { z-index: 2; }

.ec-p-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 8px 16px;
	border-radius: 2px;
	background: var(--ec-anthracite, #1c1c1a);
	color: var(--ec-chalk, #f8f6f2);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 1.12px;
}

.ec-p-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px 24px;
}

.ec-p-card__title {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-p-card__meta {
	font-size: 12px;
	line-height: 1.5;
	color: var(--ec-text-secondary, #7a7570);
}

.ec-p-card__price {
	font-weight: 500;
	font-size: 14px;
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-p-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 1.12px;
	text-transform: uppercase;
	color: var(--ec-anthracite, #1c1c1a);
}

/* --- Topic grid (2x2) -------------------------------------- */
.ec-p-topics {
	background: var(--ec-surface, #fdfcf9);
	padding: 40px clamp(24px, 6vw, 80px) 60px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}

.ec-p-topic {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 3 / 2;
	padding: 40px;
	color: var(--ec-chalk, #f8f6f2);
	text-decoration: none;
	background-color: var(--ec-sand, #c4ab8a);
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

.ec-p-topic__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.36) 100%);
	pointer-events: none;
}

.ec-p-topic__text {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 9px;
	width: 100%;
}

.ec-p-topic__title {
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.25;
	color: var(--ec-chalk, #f8f6f2);
}

.ec-p-topic__link {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ec-chalk, #f8f6f2);
}

/* --- CTA banner -------------------------------------------- */
.ec-p-cta {
	background: var(--ec-chalk, #f8f6f2);
	padding: 80px clamp(24px, 8vw, 120px);
}

.ec-p-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.ec-p-cta__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.25;
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-p-cta__text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ec-text-secondary, #7a7570);
}

/* --- Mobile ------------------------------------------------ */
@media (max-width: 880px) {
	.ec-p-hero {
		padding-bottom: 40px;
	}
	.ec-p-feature {
		grid-template-columns: 1fr;
	}
	.ec-p-feature--flip .ec-p-feature__media {
		order: 1;
	}
	.ec-p-feature--flip .ec-p-feature__body {
		order: 2;
	}
	.ec-p-feature__body {
		padding: 48px 24px;
	}
	.ec-p-products__grid {
		grid-template-columns: 1fr;
	}
	.ec-p-products__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.ec-p-topics {
		grid-template-columns: 1fr;
	}
	.ec-p-topic {
		padding: 32px 24px;
	}
}

/* --- CTA color override: #4d4f52 statt Anthrazit ----------- */
.ec-prod {
	--ec-cta: #4d4f52;
}
.ec-prod .ec-btn--solid-dark {
	background: var(--ec-cta);
	border-color: var(--ec-cta);
}
.ec-prod .ec-btn--solid-dark:hover {
	background: #3d3f42;
	border-color: #3d3f42;
}
.ec-prod .ec-btn--outline-dark {
	color: var(--ec-cta);
	border-color: var(--ec-cta);
}
.ec-prod .ec-btn--outline-dark:hover {
	background: var(--ec-cta);
	color: var(--ec-chalk, #f8f6f2);
}
.ec-prod .ec-p-feature__eyebrow {
	color: var(--ec-cta);
}

