/* ==========================================================================
   Leistungen – Seiten-Design
   ========================================================================== */

.page-leistungen {
	padding-top: var(--header-height);
}

.page-leistungen > .alignfull, .front-page-content > .alignfull{
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ── Hero ── */
.page-leistungen .wts-services-hero, .front-page-content .wts-services-hero{
	position: relative;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: calc(-1 * var(--header-height));
	padding: calc(var(--header-height) + 48px) 24px 64px;
	background: var(--color-black);
	text-align: center;
	overflow: hidden;
}

.page-leistungen .wts-services-hero::before, .front-page-content .wts-services-hero::before{
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(26, 26, 26, 0.95) 0%,
		rgba(70, 10, 25, 0.9) 50%,
		rgba(107, 18, 40, 0.85) 100%
	);
	z-index: 1;
}

.page-leistungen .wts-services-hero__inner, .front-page-content .wts-services-hero__inner{
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
}

.page-leistungen .wts-services-hero .wts-section-eyebrow, .front-page-content .wts-services-hero .wts-section-eyebrow{
	color: var(--color-gold) !important;
	font-size: 0.8125rem !important;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	text-align: center !important;
	margin-bottom: 16px;
}

.page-leistungen .wts-services-hero__title, .front-page-content .wts-services-hero__title{
	font-family: var(--font-serif);
	font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
	color: var(--color-white) !important;
	margin-bottom: 20px;
	text-align: center !important;
}

.page-leistungen .wts-services-hero__lead, .front-page-content .wts-services-hero__lead{
	font-size: 1.15rem !important;
	color: rgba(255, 255, 255, 0.85) !important;
	max-width: 640px;
	margin: 0 auto !important;
	line-height: 1.8;
	text-align: center !important;
}

/* ── Service Blocks ── */
.page-leistungen .wts-service-block, .front-page-content .wts-service-block{
	padding: 100px 24px;
	background: var(--color-white);
}

.page-leistungen .wts-service-block--alt, .front-page-content .wts-service-block--alt{
	background: var(--color-gray-100);
}

.page-leistungen .wts-service-block__grid, .front-page-content .wts-service-block__grid{
	max-width: 1200px;
	margin: 0 auto;
	gap: 64px;
	align-items: center !important;
}

.page-leistungen .wts-service-block--reverse .wts-service-block__grid, .front-page-content .wts-service-block--reverse .wts-service-block__grid{
	flex-direction: row-reverse;
}

.page-leistungen .wts-service-block__num, .front-page-content .wts-service-block__num{
	display: inline-block;
	font-family: var(--font-serif);
	font-size: 0.875rem !important;
	font-weight: 700;
	color: var(--color-primary) !important;
	background: rgba(155, 27, 48, 0.08);
	padding: 6px 14px;
	border-radius: var(--radius-sm);
	letter-spacing: 0.1em;
	margin: 0 0 16px !important;
}

.page-leistungen .wts-service-block__title, .front-page-content .wts-service-block__title{
	font-size: clamp(1.75rem, 3vw, 2.4rem) !important;
	margin-bottom: 16px;
}

.page-leistungen .wts-service-block p, .front-page-content .wts-service-block p{
	font-size: 1.0625rem;
	line-height: 1.85;
	color: var(--color-gray-700);
	margin-bottom: 20px;
}

.page-leistungen .wts-service-block__image img, .front-page-content .wts-service-block__image img{
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4/3;
	object-fit: cover;
}

.page-leistungen .wts-service-features, .front-page-content .wts-service-features{
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.page-leistungen .wts-service-features li, .front-page-content .wts-service-features li{
	position: relative;
	padding: 10px 0 10px 32px;
	font-size: 0.975rem;
	color: var(--color-gray-700);
	border-bottom: 1px solid var(--color-gray-100);
}

.page-leistungen .wts-service-features li:last-child, .front-page-content .wts-service-features li:last-child{
	border-bottom: none;
}

.page-leistungen .wts-service-features li::before, .front-page-content .wts-service-features li::before{
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

/* ── CTA ── */
.page-leistungen .wts-services-cta, .front-page-content .wts-services-cta{
	padding: 80px 24px 100px;
	background: var(--color-white);
}

.page-leistungen .wts-services-cta__box, .front-page-content .wts-services-cta__box{
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
	border-radius: var(--radius-lg);
	padding: 56px 40px;
	color: var(--color-white);
}

.page-leistungen .wts-services-cta__box h2, .front-page-content .wts-services-cta__box h2{
	color: var(--color-white) !important;
	font-size: clamp(1.5rem, 3vw, 2rem) !important;
	margin-bottom: 12px;
}

.page-leistungen .wts-services-cta__box p, .front-page-content .wts-services-cta__box p{
	color: rgba(255, 255, 255, 0.85) !important;
	margin-bottom: 28px;
	font-size: 1.0625rem;
}

.page-leistungen .wts-services-cta .wp-block-buttons, .front-page-content .wts-services-cta .wp-block-buttons{
	justify-content: center;
	gap: 12px;
}

.page-leistungen .wts-services-cta .wp-block-button__link, .front-page-content .wts-services-cta .wp-block-button__link{
	padding: 16px 36px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.page-leistungen .wts-services-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link, .front-page-content .wts-services-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link{
	background: var(--color-white);
	color: var(--color-primary) !important;
}

.page-leistungen .wts-services-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, .front-page-content .wts-services-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	color: var(--color-primary-dark) !important;
}

.page-leistungen .wts-services-cta .is-style-outline .wp-block-button__link, .front-page-content .wts-services-cta .is-style-outline .wp-block-button__link{
	background: transparent;
	color: var(--color-white) !important;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.page-leistungen .wts-services-cta .is-style-outline .wp-block-button__link:hover, .front-page-content .wts-services-cta .is-style-outline .wp-block-button__link:hover{
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-white) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.page-leistungen .wts-service-block__grid, .front-page-content .wts-service-block__grid,
	.page-leistungen .wts-service-block--reverse .wts-service-block__grid, .front-page-content .wts-service-block--reverse .wts-service-block__grid{
		flex-direction: column !important;
		gap: 40px;
	}

	.page-leistungen .wts-service-block__grid > .wp-block-column, .front-page-content .wts-service-block__grid > .wp-block-column{
		flex-basis: 100% !important;
	}
}

@media (max-width: 768px) {
	.page-leistungen .wts-services-hero, .front-page-content .wts-services-hero{
		min-height: auto;
		padding-bottom: 48px;
	}

	.page-leistungen .wts-service-block, .front-page-content .wts-service-block{
		padding: 60px 16px;
	}

	.page-leistungen .wts-services-cta, .front-page-content .wts-services-cta{
		padding: 60px 16px 80px;
	}

	.page-leistungen .wts-services-cta__box, .front-page-content .wts-services-cta__box{
		padding: 36px 24px;
	}
}
