/*
Theme Name: ScaleTru
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scaletru
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* === base === */
html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

.wp-block-button__link {
	transition: background-color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
	cursor: pointer;
	text-decoration: none;
}

.wp-block-button__link.wp-element-button {
	box-shadow: 0 10px 30px -14px rgba(47, 107, 255, 0.8);
}

.wp-block-button__link.wp-element-button:hover {
	transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-element-button {
	background: transparent;
	border: 1px solid rgba(234, 240, 248, 0.3);
	color: var(--wp--preset--color--text);
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-element-button:hover {
	background: rgba(234, 240, 248, 0.08);
}

/* === header === */
.site-header-spacer {
	height: 76px;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(10, 18, 32, 0.55);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.7);
	transition: background-color .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
	background: rgba(10, 18, 32, 0.74);
	box-shadow: 0 12px 34px -18px rgba(0, 0, 0, 0.8);
}

.site-header-inner {
	padding-block: 20px;
	gap: 24px;
	transition: padding .3s ease;
}

.site-header.scrolled .site-header-inner {
	padding-block: 12px;
}

.site-brand {
	line-height: 0;
	margin: 0;
}

.site-brand img {
	height: 36px;
	width: auto;
	display: block;
	transition: height .3s ease;
}

.site-header.scrolled .site-brand img {
	height: 30px;
}

.site-nav {
	gap: 2px;
}

.site-nav.wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	font-weight: 500;
	padding: 8px 16px;
	transition: color .25s ease;
}

.site-nav.wp-block-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s ease;
}

.site-nav.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--text);
}

.site-nav.wp-block-navigation .wp-block-navigation-item__content:hover::after,
.site-nav.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after,
.site-nav.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]::after {
	transform: scaleX(1);
}

.site-nav.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.site-nav.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--text);
}

.header-cta .wp-element-button {
	padding: 11px 22px;
	font-weight: 600;
	background: linear-gradient(135deg, #2f6bff 0%, #2dd4bf 100%);
	border-radius: 12px;
	color: #fff;
	box-shadow: 0 10px 26px -12px rgba(47, 107, 255, 0.7);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.header-cta .wp-element-button:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 16px 34px -14px rgba(47, 107, 255, 0.85);
}

/* === mobile navigation === */
.wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(10, 18, 32, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 6px;
	padding: 8px 6px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.05rem;
	font-weight: 500;
	padding: 14px 18px;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background .2s ease;
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
	background: rgba(255, 255, 255, 0.12);
}

.site-nav .wp-block-navigation-item__content:focus-visible,
.header-cta .wp-element-button:focus-visible,
.wp-block-navigation__responsive-container-open:focus-visible,
.wp-block-navigation__responsive-container-close:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* === mobile menu override (overlay only, desktop unchanged) === */
@media (max-width: 781px) {
	/* Solid dark background so text never sits on a bright panel. */
	.wp-block-navigation__responsive-container.is-menu-open,
	.wp-block-navigation__responsive-container.is-menu-open.has-modal-open {
		background: #0A1220 !important;
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
		animation: scaletru-menu-in .28s ease;
	}

	@keyframes scaletru-menu-in {
		from {
			opacity: 0;
			transform: translateY(10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	/* Stack items vertically with even spacing and overflow-safe layout. */
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 6px;
		padding: 88px 20px 40px;
		min-height: 100%;
		overflow-y: auto;
		overflow-x: hidden;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		width: 100%;
	}

	/* Menüpunkte: gut lesbar, angenehme Größe, große Touch-Fläche. */
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		color: #EAF0F8 !important;
		font-size: 1.15rem;
		font-weight: 500;
		line-height: 1.3;
		padding: 15px 18px;
		border-radius: 12px;
		display: flex;
		align-items: center;
		width: 100%;
		box-sizing: border-box;
		transition: background .2s ease, color .2s ease;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
		background: rgba(255, 255, 255, 0.07);
		color: #fff !important;
	}

	/* Aktiver Menüpunkt: dezent türkis-blauer Akzent. */
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] {
		color: #2DD4BF !important;
		background: rgba(47, 107, 255, 0.16);
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"]::after {
		transform: scaleX(1);
	}

	/* Close-Button: jederzeit sichtbar und gut bedienbar. */
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		color: #EAF0F8;
		background: rgba(255, 255, 255, 0.09);
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 12px;
		position: absolute;
		top: 18px;
		right: 18px;
		z-index: 3;
	}

	/* Hamburger im geschlossenen Zustand: weiterhin sichtbar im Sticky Header. */
	.wp-block-navigation__responsive-container-open {
		color: var(--wp--preset--color--text);
		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-navigation__responsive-container.is-menu-open {
		animation: none;
	}
}

/* === hero === */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(70px, 10vw, 130px) clamp(80px, 11vw, 150px);
}

/* Canvas particle network — fills the viewport and, while scrolling, forms
   subtle side rails. It sits behind all page content (z-index:-1), so it
   never covers text, buttons or the nav, and pointer-events:none guarantees
   it can never block a click. */
.hero-particles {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	max-width: none !important;
	z-index: -1;
	pointer-events: none;
}

.hero-grid {
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	position: relative;
	z-index: 1;
}

.hero-copy {
	flex: 1 1 55%;
}

.hero-title {
	font-size: clamp(2.4rem, 5.4vw, 4.1rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.04;
	margin: 1.2rem 0 1.5rem;
	max-width: 16ch;
}

.hero-sub {
	/* Brighter than muted for better readability, still within the palette */
	color: color-mix(in srgb, var(--wp--preset--color--text) 70%, var(--wp--preset--color--muted));
	font-size: 1.16rem;
	line-height: 1.6;
	max-width: 46ch;
	margin-bottom: 2rem;
}

/* Hero CTAs — a touch more present, same style language */
.hero-copy .wp-block-button .wp-element-button {
	padding: 15px 30px;
	font-size: 1.04rem;
}
.hero-copy .wp-block-button.is-style-outline .wp-element-button {
	border-color: rgba(45, 212, 191, 0.5);
	color: var(--wp--preset--color--text);
}
.hero-copy .wp-block-button.is-style-outline .wp-element-button:hover {
	background: rgba(45, 212, 191, 0.12);
	border-color: var(--wp--preset--color--accent);
}

/* Hero trust hints — subtle check-drawn row below the CTAs */
.hero-trust {
	gap: 0.4rem 1.6rem;
	margin-top: 1.6rem;
}
.hero-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}
.hero-trust-item::before {
	content: '';
	flex: none;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--wp--preset--color--accent);
	border-bottom: 2px solid var(--wp--preset--color--accent);
	transform: translateY(-2px) rotate(-45deg);
}

.hero-visual {
	flex: 1 1 45%;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--rounded--lg);
	box-shadow: 0 30px 80px -32px rgba(47, 107, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === eyebrows + sections === */
.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0;
}

.section {
	padding-block: var(--wp--preset--spacing--xxl);
}

.section-head {
	margin-bottom: var(--wp--preset--spacing--lg);
}

.section-title {
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 1rem 0 0.6rem;
}

.section-sub {
	color: var(--wp--preset--color--muted);
	max-width: 640px;
}

/* Full-bleed section bands own their rhythm via padding; drop the default
   block-gap strip between the top-level sections of the page content. */
.wp-block-post-content > * + * {
	margin-block-start: 0;
}

/* === scroll reveal === */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Prices page — staggered, once-only reveal (reduced-motion handled globally;
   card grids reveal per-column so card hover stays immediate) */
.pricing-grid > .wp-block-column:nth-child(2) { transition-delay: 0.12s; }
.pricing-grid > .wp-block-column:nth-child(3) { transition-delay: 0.24s; }

.extras-grid > .wp-block-column:nth-child(2) { transition-delay: 0.1s; }
.extras-grid > .wp-block-column:nth-child(3) { transition-delay: 0.2s; }
.extras-grid > .wp-block-column:nth-child(4) { transition-delay: 0.3s; }

.faq-list > .faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-list > .faq-item:nth-child(3) { transition-delay: 0.2s; }
.faq-list > .faq-item:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.wp-block-button__link,
	.is-style-card {
		transition: none;
	}

	.site-header,
	.site-header-inner,
	.site-brand img,
	.site-nav .wp-block-navigation-item__content,
	.site-nav .wp-block-navigation-item__content::after,
	.header-cta .wp-element-button,
	.wp-block-navigation__responsive-container-open,
	.wp-block-navigation__responsive-container-close {
		transition: none;
	}
}

/* === cards === */
.is-style-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--wp--custom--rounded--lg);
	padding: 30px;
	box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.6);
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.is-style-card:hover {
	transform: translateY(-6px);
	border-color: rgba(47, 107, 255, 0.45);
	box-shadow: 0 30px 70px -30px rgba(47, 107, 255, 0.4);
}

/* Interactive service list (Unsere Leistungen) */
.svc-rows {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Zero the flow-layout block-gap margin WordPress puts on every non-first
   row; the rows own their spacing via padding + dividers. */
.svc-rows > .wp-block-group {
	margin-block-start: 0;
}

.svc-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px 30px;
	padding: 30px 20px;
	transition: background .35s ease;
}

.svc-row + .svc-row {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-row:last-child {
	padding-bottom: 0;
}

/* Thin accent line that sweeps in from the left on hover */
.svc-row::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .55s cubic-bezier(.22, .61, .36, 1);
	pointer-events: none;
}

/* Subtle blue-to-turquoise highlight on hover */
.svc-row:hover {
	background: linear-gradient(90deg, rgba(47, 107, 255, 0.12), rgba(45, 212, 191, 0.10));
}

.svc-row:hover::before {
	transform: scaleX(1);
}

.svc-row:hover .svc-title,
.svc-row:hover .svc-icon {
	color: var(--wp--preset--color--text);
}

.svc-icon {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	color: var(--wp--preset--color--muted);
	transition: color .3s ease;
}

.svc-title {
	flex: 0 0 26%;
	margin: 0;
	font-size: 1.3rem;
	transition: color .3s ease;
}

.svc-desc {
	flex: 1 1 auto;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.svc-arrow {
	flex: 0 0 auto;
	margin: 0;
}

.svc-arrow a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--wp--preset--color--accent);
	font-size: 1.25rem;
	line-height: 1;
	transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.svc-row:hover .svc-arrow a {
	background: rgba(47, 107, 255, 0.12);
	border-color: rgba(45, 212, 191, 0.45);
}

/* Arrow drifts diagonally up-right on hover */
.svc-row:hover .svc-arrow a {
	transform: translate(4px, -4px);
}

/* Shared with the /services/ page (service blocks) */
.service-desc {
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.4rem;
}

/* Webdesign — main service: same row size, slightly stronger accent */
.svc-row--featured .svc-icon {
	color: var(--wp--preset--color--primary);
}

@media (max-width: 760px) {
	.svc-row {
		flex-wrap: wrap;
		gap: 10px 16px;
		padding: 26px 8px;
	}
	.svc-title {
		flex: 1 1 auto;
	}
	.svc-desc {
		flex: 1 1 100%;
	}
	.svc-arrow {
		margin-left: auto;
	}
}



/* === benefits === */
.benefits {
	background: var(--wp--preset--color--surface);
}

.benefit-grid {
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
}

.benefit-image img,
.about-image img,
.method-image img {
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--rounded--lg);
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit-list {
	margin: 1.4rem 0 1.8rem;
	padding: 0;
	list-style: none;
}

.benefit-list li,
.method-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 0.9rem;
}

.benefit-list li::before,
.method-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--wp--preset--color--accent), var(--wp--preset--color--primary));
}

/* === process: interactive timeline === */
.process-timeline-steps {
	position: relative;
	gap: var(--wp--preset--spacing--md);
	align-items: start;
}

/* Scroll room + sticky pin only on desktop; drives the slowed fill.
   --process-room is the distance the line fills over; --tl-p stays coupled
   to real scroll position, so it runs backwards when scrolling up. */
.section.process {
	--process-room: clamp(24rem, 60vh, 38rem);
}

@media (min-width: 761px) {
	.section.process.is-pinned {
		padding-bottom: calc(6rem + var(--process-room));
	}
	.section.process.is-pinned .process-pin {
		position: sticky;
		top: clamp(4rem, 10vh, 6.5rem);
		z-index: 1;
	}
}

/* Track line */
.process-timeline-steps::before {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	top: 20px;
	height: 2px;
	background: rgba(255, 255, 255, 0.1);
	pointer-events: none;
}

/* Gradient fill — width driven by --tl-p (0..1) */
.process-timeline-steps::after {
	content: "";
	position: absolute;
	left: 8%;
	top: 20px;
	height: 2px;
	width: calc(var(--tl-p, 0) * 84%);
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	pointer-events: none;
}

.tl-step {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tl-point {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: var(--wp--preset--color--background);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--wp--preset--color--muted);
	transition: color .45s ease, border-color .45s ease, box-shadow .45s ease, background .45s ease;
}

.tl-step.is-active .tl-point {
	border-color: transparent;
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	color: #fff;
	box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.14), 0 8px 22px -8px rgba(47, 107, 255, 0.55);
}

.tl-title {
	font-size: 1.2rem;
	margin: 0 0 0.45rem;
}

.tl-desc {
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
	margin: 0;
	max-width: 20rem;
}

/* Completion — check + message + accent line, revealed once step 04 is reached */
.tl-done {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	margin: clamp(2rem, 4vw, 3.5rem) auto 0;
	max-width: 32rem;
	text-align: center;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .55s ease, transform .55s ease;
}
.tl-done.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* turquoise check in a thin circle — scale-in once, never pulsing */
.tl-done .tl-done-check {
	display: block;
	width: 46px;
	height: 46px;
	color: var(--wp--preset--color--accent);
	opacity: 0;
	transform: scale(0.4);
	transition: opacity .35s ease .15s, transform .5s cubic-bezier(.22, 1.4, .36, 1) .15s;
}
.tl-done.is-visible .tl-done-check {
	opacity: 1;
	transform: scale(1);
}

/* message — larger, bolder, fades + rises in after the check */
.tl-done .tl-done-text {
	margin: 0;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--text);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .55s ease .45s, transform .55s ease .45s;
}
.tl-done.is-visible .tl-done-text {
	opacity: 1;
	transform: translateY(0);
}

/* turquoise accent line below the message */
.tl-done::after {
	content: "";
	width: 56px;
	height: 2px;
	margin-top: 0.6rem;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--wp--preset--color--accent), transparent);
	opacity: 0;
	transform: scaleX(0.3);
	transform-origin: center;
	transition: opacity .4s ease .55s, transform .6s ease .55s;
}
.tl-done.is-visible::after {
	opacity: 1;
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.tl-done.is-visible .tl-done-check,
	.tl-done.is-visible .tl-done-text,
	.tl-done.is-visible::after {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 760px) {
	.process-timeline-steps::before {
		left: 19px;
		right: auto;
		top: 8px;
		bottom: 8px;
		width: 2px;
		height: auto;
	}
	.process-timeline-steps::after {
		left: 19px;
		top: 8px;
		width: 2px;
		height: calc(var(--tl-p, 0) * (100% - 16px));
		background: linear-gradient(180deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	}
	.process-timeline-steps > .wp-block-column {
		position: relative;
		padding-left: 56px;
		padding-bottom: 30px;
	}
	.process-timeline-steps > .wp-block-column:last-child {
		padding-bottom: 0;
	}
	.tl-step {
		align-items: flex-start;
		text-align: left;
	}
	.tl-point {
		position: absolute;
		left: 0;
		top: 0;
		margin: 0;
		background: var(--wp--preset--color--surface);
	}
	.tl-desc {
		max-width: none;
	}
}

/* === why (Warum ScaleTru) — benefit spotlight === */
.why-grid {
	align-items: stretch;
	gap: clamp(32px, 5vw, 64px);
}

.why-headline {
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1.1;
	margin: 0 0 1.1rem;
	max-width: 40rem;
}

.why-lead {
	color: var(--wp--preset--color--muted);
	font-size: 1.15rem;
	margin: 0;
	max-width: 46rem;
}

/* --- Left: selectable benefit rows --- */
.spot-col-list {
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.spot-list {
	display: flex;
	flex-direction: column;
}

.spot-list .wp-block-button {
	width: 100%;
	margin: 0;
}

.spot-list .wp-block-button + .wp-block-button {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spot-list .is-style-spotlight-option .wp-block-button__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: clamp(16px, 2vw, 22px) 8px;
	background: transparent !important;
	color: var(--wp--preset--color--text, #EAF0F8);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: clamp(1.2rem, 1.7vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	text-align: left;
	transition: color .25s ease, padding-left .25s ease;
}

.spot-list .is-style-spotlight-option .wp-block-button__link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 20%;
	bottom: 20%;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--wp--preset--color--accent), var(--wp--preset--color--primary));
	opacity: 0;
	transition: opacity .25s ease;
}

.spot-list .is-style-spotlight-option .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: 14px;
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
}

.spot-list .wp-block-button:hover .wp-block-button__link,
.spot-list .wp-block-button:focus-within .wp-block-button__link {
	color: rgba(234, 240, 248, 0.82);
	padding-left: 14px;
}

.spot-list .wp-block-button.is-active .wp-block-button__link {
	color: var(--wp--preset--color--accent);
	padding-left: 18px;
}

.spot-list .wp-block-button.is-active .wp-block-button__link::before {
	opacity: 1;
}

.spot-list .wp-block-button.is-active .wp-block-button__link::after {
	opacity: 1;
	transform: rotate(45deg) translate(2px, -2px);
}

/* --- Right: dynamic panel --- */
.spot-col-panel {
	margin: 0;
}

.spot-panels {
	min-height: 16rem;
}

.spot-panel {
	display: none;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(120% 130% at 100% 0%, rgba(47, 107, 255, 0.10), transparent 55%),
		linear-gradient(180deg, rgba(16, 27, 46, 0.7), rgba(16, 27, 46, 0.4));
	padding: clamp(24px, 3vw, 40px);
}

.spot-panel.is-selected {
	display: block;
	animation: spot-in .45s cubic-bezier(.22, .61, .36, 1);
}

@keyframes spot-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.spot-statement {
	font-size: clamp(1.45rem, 2.3vw, 1.85rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--text, #EAF0F8);
	margin: 0 0 0.9rem;
}

.spot-desc {
	color: var(--wp--preset--color--muted);
	font-size: 1.02rem;
	margin: 0;
	max-width: 30rem;
}

/* decorative art (inline SVGs) */
.spot-art {
	width: 100%;
	height: 120px;
	display: block;
	margin-bottom: 1.3rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
}

.spot-art * {
	transform-box: fill-box;
}

/* geometry — slow, subtle float / rotate / grow */
.spot-art--geometry .sg-a { animation: sg-float 5.5s ease-in-out infinite; }
.spot-art--geometry .sg-b { animation: sg-float 7s ease-in-out infinite reverse; }
.spot-art--geometry .sg-c { animation: sg-rot 10s ease-in-out infinite; }
.spot-art--geometry .sg-d { animation: sg-grow 6s ease-in-out infinite; }

@keyframes sg-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}
@keyframes sg-rot {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(7deg); }
}
@keyframes sg-grow {
	0%, 100% { transform: scaleX(1); }
	50% { transform: scaleX(1.3); }
}

/* progress — bars fill once when the panel appears */
.spot-art--progress .sp-fill {
	transform-origin: left center;
	transform: scaleX(0);
	animation: sp-fill 1.1s .15s ease forwards;
}
.spot-art--progress .sp-bar:nth-child(2) .sp-fill { animation-delay: .45s; }
.spot-art--progress .sp-bar:nth-child(3) .sp-fill { animation-delay: .75s; }

@keyframes sp-fill {
	to { transform: scaleX(1); }
}

/* connection — a traveling pulse, subtle and looped */
.spot-art--connect .sc-flow { animation: sc-flow 3.2s linear infinite; }
.spot-art--connect .sc-dot { animation: sc-dot 3.2s linear infinite; }

@keyframes sc-flow {
	to { stroke-dashoffset: -44; }
}
@keyframes sc-dot {
	0% { transform: translateX(0); opacity: 0; }
	15% { opacity: 1; }
	100% { transform: translateX(212px); opacity: 0; }
}

/* tech icons */
.spot-tech {
	gap: 12px;
	margin: 0 0 1.4rem;
}

.spot-tech .wp-block-group {
	margin: 0;
}

.spot-tech-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(47, 107, 255, 0.06);
}

.tech-ico {
	width: 20px;
	height: 20px;
	flex: none;
	color: var(--wp--preset--color--accent);
}

.tech-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--wp--preset--color--text, #EAF0F8);
	margin: 0;
}

/* --- Mobile --- */
@media (max-width: 760px) {
	.spot-list .is-style-spotlight-option .wp-block-button__link {
		font-size: 1.15rem;
		padding: 15px 4px;
	}
	.spot-panels {
		min-height: 14rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spot-panel.is-selected {
		animation: none;
	}
	.spot-art * {
		animation: none !important;
	}
	.spot-art--progress .sp-fill {
		transform: scaleX(1);
	}
}

/* === portfolio (Referenzen) === */
.portfolio-grid {
	display: grid;
	grid-template-columns: 3fr 2fr;
	grid-auto-rows: 340px;
	grid-auto-flow: dense;
	gap: var(--wp--preset--spacing--md);
}

.portfolio-grid > .wp-block-group {
	margin: 0;
}

/* Cards are flex columns: the screenshot owns the top, the text block sits
   below it in normal flow (no overlay) so the copy is always readable. */
.portfolio-card.is-style-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* Zero the flow-layout block-gap margin WordPress puts on the second child
   (the meta group); the card owns its spacing via the flex column. */
.portfolio-card > .wp-block-group {
	margin-block-start: 0;
}

.portfolio-card.is-style-card:hover {
	transform: none;
	border-color: rgba(47, 107, 255, 0.5);
	box-shadow: 0 30px 70px -30px rgba(47, 107, 255, 0.45);
}

.portfolio-card--featured {
	grid-column: 1;
	grid-row: span 2;
}

.portfolio-card--wide {
	grid-column: 1 / -1;
}

/* The image fills whatever vertical space the grid cell leaves above the
   text block, so it scales with card size while staying edge-to-edge. */
.portfolio-image {
	margin: 0;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.portfolio-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
	transition: transform 1.1s cubic-bezier(.2, .6, .2, 1);
	will-change: transform;
}

/* Very subtle zoom on hover. */
.portfolio-card:hover .portfolio-image img {
	transform: scale(1.04);
}

/* Text block under each screenshot: own surface, fine top divider, generous
   padding — fully readable on every card at every width. */
.portfolio-meta {
	position: static;
	margin: 0;
	padding: 20px 22px 22px;
	background: var(--wp--preset--color--surface);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-title {
	font-size: 1.3rem;
	margin: 0 0 0.35rem;
}

.portfolio-desc {
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.9rem;
}

.portfolio-card--small .portfolio-desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.portfolio-link {
	margin: 0;
}

.portfolio-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	text-decoration: none;
}

.portfolio-link a span {
	display: inline-block;
	transition: transform .3s ease;
}

.portfolio-link a:hover {
	color: var(--wp--preset--color--text);
}

.portfolio-link a:hover span {
	transform: translateX(5px);
}

@media (max-width: 960px) {
	.portfolio-grid {
		grid-auto-rows: 300px;
	}
}

/* Mobile: a single column leaves the screenshot room to breathe at a fixed
   ratio, with the text block flowing beneath it. */
@media (max-width: 640px) {
	.portfolio-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}
	.portfolio-card--featured,
	.portfolio-card--wide,
	.portfolio-card--small {
		grid-column: auto;
		grid-row: auto;
	}
	.portfolio-card.is-style-card {
		height: auto;
	}
	.portfolio-image {
		flex: none;
		height: auto;
		aspect-ratio: 16 / 10;
	}
	.portfolio-link {
		padding-top: 2px;
	}
	.portfolio-card--small .portfolio-desc {
		display: block;
	}
}

/* === CTA band === */
.cta-band {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, #1e4ed8 0%, #2f6bff 48%, #0fae9f 100%);
	padding-block: var(--wp--preset--spacing--xxl);
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(50% 60% at 50% 0%, rgba(255, 255, 255, 0.14), transparent 70%);
	pointer-events: none;
}

.cta-inner {
	text-align: center;
	color: #fff;
	position: relative;
}

.cta-title {
	color: #fff;
	margin: 0 0 1rem;
}

.cta-sub {
	color: rgba(255, 255, 255, 0.85);
	max-width: 560px;
	margin: 0 auto 2rem;
}

.cta-band .wp-block-button__link.wp-element-button {
	background: #fff;
	color: #0a1220;
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
}

.cta-band .wp-block-button__link.wp-element-button:hover {
	background: #eaf0f8;
}

/* === page hero === */
.page-hero {
	padding-block: clamp(70px, 10vw, 120px) clamp(50px, 8vw, 90px);
	text-align: center;
}

.page-hero > .wp-block-group {
	justify-content: center;
}

.page-title {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
	max-width: 20ch;
	margin: 1.2rem auto;
}

.page-sub {
	color: var(--wp--preset--color--muted);
	max-width: 640px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* === service blocks === */
.service-block.is-alt {
	background: var(--wp--preset--color--surface);
}

.service-row {
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
}

.service-row-copy {
	flex: 1 1 46%;
}

.service-title-lg {
	font-size: clamp(1.8rem, 3.4vw, 2.5rem);
	margin: 0.8rem 0 1rem;
}

.service-row-examples {
	flex: 1 1 54%;
}

.example-card {
	padding: 34px;
}

.example-card h3 {
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.12em;
	margin: 0;
}

.example-list {
	margin: 1.2rem 0 0;
	padding: 0;
	list-style: none;
}

.example-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 0.8rem;
}

.example-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}

/* === about === */
.comp-grid {
	gap: var(--wp--preset--spacing--md);
}

.comp-grid > .wp-block-column {
	display: flex;
}

.comp-card {
	width: 100%;
}

.comp-title {
	margin: 0 0 0.6rem;
	font-size: 1.2rem;
}

.comp-card p {
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.about-grid,
.method-grid {
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
}

.method-list {
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
}

.values {
	text-align: center;
}

.values-line {
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	margin-top: 1rem;
}

/* === contact === */
.contact-grid {
	gap: clamp(28px, 4vw, 64px);
}

.contact-methods.is-style-card {
	padding: 0;
	overflow: hidden;
	position: relative;
}

.contact-methods::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
}

.contact-methods > .wp-block-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 26px 28px 4px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.contact-methods > .wp-block-heading::before {
	content: "";
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background-color: rgba(45, 212, 191, 0.12);
	border: 1px solid rgba(45, 212, 191, 0.30);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
}

.contact-methods > :nth-child(1)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232DD4BF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-10 6L2 7"/></svg>'); }
.contact-methods > :nth-child(3)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232DD4BF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'); }
.contact-methods > :nth-child(5)::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232DD4BF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></svg>'); }

.contact-methods > .wp-block-paragraph {
	margin: 0;
	padding: 2px 28px 22px 76px;
	font-size: 1.05rem;
	line-height: 1.6;
}

.contact-methods > .wp-block-heading + .wp-block-paragraph + .wp-block-heading {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-mail a,
.contact-phone a {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	text-decoration: none;
	font-size: 1.1rem;
}

.contact-mail a:hover,
.contact-phone a:hover {
	text-decoration: underline;
}

.contact-addr {
	color: var(--wp--preset--color--text);
}

.contact-note {
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
	margin-top: 1.4rem;
	max-width: 44ch;
}

.contact-steps {
	margin: 0.5rem 0 1.6rem;
	padding-left: 1.4rem;
	color: var(--wp--preset--color--muted);
}

.contact-steps li {
	margin-bottom: 0.5rem;
}

.contact-steps li::marker {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}

.contact-form-card {
	padding: 34px;
}

.wp-block-jetpack-contact-form {
	gap: 22px;
}

.wp-block-jetpack-contact-form label {
	color: var(--wp--preset--color--muted);
	font-size: 0.92rem;
	margin-bottom: 0.35rem;
	display: block;
}

.wp-block-jetpack-contact-form input[type="text"],
.wp-block-jetpack-contact-form input[type="email"],
.wp-block-jetpack-contact-form input[type="tel"],
.wp-block-jetpack-contact-form input[type="url"],
.wp-block-jetpack-contact-form select,
.wp-block-jetpack-contact-form textarea {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	color: var(--wp--preset--color--text);
	padding: 13px 15px;
	font-size: 1rem;
	font-family: var(--wp--preset--font-family--inter);
	width: 100%;
	box-sizing: border-box;
	transition: border-color .2s ease, background .2s ease;
}

.wp-block-jetpack-contact-form input:focus,
.wp-block-jetpack-contact-form textarea:focus,
.wp-block-jetpack-contact-form select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: rgba(47, 107, 255, 0.06);
}

.wp-block-jetpack-contact-form input[type="checkbox"] {
	accent-color: var(--wp--preset--color--primary);
}

/* === footer === */
.site-footer {
	/* Semi-transparent dark so the particle logo formation shines through
	   the final (otherwise opaque) section. Text stays readable above it. */
	background: rgba(16, 27, 46, 0.6);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-block: var(--wp--preset--spacing--xl);
}

.footer-top {
	gap: clamp(24px, 4vw, 48px);
	align-items: flex-start;
}

.footer-brand {
	max-width: 320px;
}

.footer-brand .site-brand a {
	font-size: 22px;
}

.footer-tagline {
	color: var(--wp--preset--color--muted);
	margin-top: 0.8rem;
}

.footer-col h3 {
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.12em;
	margin: 0 0 1rem;
}

.footer-nav {
	gap: 0.6rem;
}

.footer-nav a.wp-block-navigation-item__content,
.footer-linklist a,
.footer-legal a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.footer-nav a.wp-block-navigation-item__content:hover,
.footer-legal a:hover {
	color: var(--wp--preset--color--text);
}

.footer-linklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-linklist li {
	margin-bottom: 0.6rem;
}

.footer-linklist a:hover {
	color: var(--wp--preset--color--accent);
}

.footer-contact {
	color: var(--wp--preset--color--muted);
	max-width: 26ch;
	margin-bottom: 1.2rem;
}

.footer-addr {
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.7rem;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.footer-addr::before,
.footer-phones::before,
.footer-mail::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 4px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.footer-addr::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238EA2BC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></svg>'); }
.footer-phones::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238EA2BC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'); }
.footer-mail::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238EA2BC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-10 6L2 7"/></svg>'); }

.footer-phones { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 0.7rem; }
.footer-mail { display: flex; align-items: center; gap: 10px; margin: 0 0 0.7rem; }

.footer-phones a,
.footer-mail a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.footer-phones a:hover,
.footer-mail a:hover {
	color: var(--wp--preset--color--accent);
}

.footer-rule {
	margin-block: var(--wp--preset--spacing--lg);
	border-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
	gap: 16px;
}

.footer-copy,
.footer-legal {
	color: var(--wp--preset--color--muted);
	font-size: 0.9rem;
	margin: 0;
}

/* === responsive === */
@media (max-width: 781px) {
	.hero {
		padding-block: 56px 64px;
	}

	.hero-copy {
		flex-basis: 100%;
	}

	.section {
		padding-block: var(--wp--preset--spacing--xl);
	}

	.is-style-card {
		padding: 24px;
	}

	.footer-top {
		flex-direction: column;
	}

	.contact-grid,
	.benefit-grid,
	.about-grid,
	.method-grid,
	.service-row {
		gap: 28px;
	}
}

/* === pricing: comparison table === */
.section.compare {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section.compare .section-sub {
	max-width: 44rem;
}
.price-table {
	margin-top: 2rem;
	border-radius: 14px;
	border: 1px solid rgba(142, 162, 188, 0.18);
	overflow: hidden;
}
.price-table table {
	width: 100%;
	border-collapse: collapse;
	background: var(--wp--preset--color--surface);
	border: 0;
}
.price-table thead th {
	background: rgba(47, 107, 255, 0.08);
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--space-grotesk);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.82rem;
	padding: 0.95rem 1rem;
	text-align: center;
	white-space: nowrap;
}
.price-table thead th:first-child {
	background: transparent;
	text-align: left;
	color: var(--wp--preset--color--muted);
}
.price-table td,
.price-table th {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid rgba(142, 162, 188, 0.12);
	vertical-align: middle;
	text-align: center;
}
.price-table tbody tr:last-child td,
.price-table tbody tr:last-child th {
	border-bottom: 0;
}
.price-table tbody th {
	text-align: left;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}
.price-table tbody td {
	font-weight: 600;
}
/* Häkchen in der Premium-Spalte, Kreuze in der Starter-Spalte dezent farbig */
.price-table tbody td:nth-child(2) {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}
.price-table tbody td:nth-child(4) {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
}
/* dezent hervorgehobene Business-Spalte */
.price-table thead th:nth-child(3),
.price-table tbody td:nth-child(3) {
	background: rgba(45, 212, 191, 0.05);
}
.price-table thead th:nth-child(3) {
	background: rgba(45, 212, 191, 0.14);
}
@media (max-width: 781px) {
	.price-table {
		overflow-x: auto;
		border-radius: 10px;
	}
	.price-table table {
		min-width: 520px;
	}
	.price-table td,
	.price-table th {
		padding: 0.7rem 0.6rem;
		font-size: 0.85rem;
		white-space: nowrap;
	}
	.price-table tbody th {
		white-space: normal;
		min-width: 130px;
	}
}

/* === pricing: includes === */
.section.includes {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.includes-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.9rem 2.5rem;
}
.includes-list li {
	position: relative;
	padding-left: 1.9rem;
	color: var(--wp--preset--color--text);
}
.includes-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}
/* === pricing: optionalle Zusatzleistungen === */
.section.extras {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.extras-grid .wp-block-column {
	display: flex;
}
.extra-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.75rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(142, 162, 188, 0.16);
	border-radius: 16px;
}
.extra-card .extra-name {
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.12rem;
	letter-spacing: 0.02em;
	margin: 0 0 0.5rem;
}
.extra-card .extra-price {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	margin: 0 0 0.75rem;
}
.extra-card .extra-desc {
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.5rem;
}
.extra-card .wp-block-buttons {
	margin-top: auto;
}

/* === pricing: hosting note === */
.section.hosting {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hosting-note {
	margin-top: 1.5rem;
	padding: 1.5rem 1.75rem;
	border-radius: 14px;
	border: 1px solid rgba(142, 162, 188, 0.18);
	border-left: 3px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--surface);
}
.hosting-note p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	max-width: 60rem;
}
/* === pricing: FAQ === */
.section.faq {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.faq-list {
	margin-top: 1rem;
}
.faq-item {
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(142, 162, 188, 0.16);
}
.faq-item:first-child {
	padding-top: 0.5rem;
}
.faq-item:last-child {
	border-bottom: 0;
}
.faq-q {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.15rem;
	color: var(--wp--preset--color--text);
	margin: 0 0 0.5rem;
}
.faq-a {
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* === pricing: cards === */
.price-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(142, 162, 188, 0.2);
	border-radius: 24px;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover {
	transform: translateY(-4px);
	border-color: rgba(45, 212, 191, 0.45);
}
.price-card .price-name {
	font-family: var(--wp--preset--font-family--space-grotesk);
	letter-spacing: 0.14em;
	font-size: 0.95rem;
	color: var(--wp--preset--color--accent);
	margin: 0 0 0.75rem;
}
.price-card .price-amount {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--wp--preset--color--text);
	margin: 0 0 0.25rem;
}
.price-card .price-target {
	font-weight: 600;
	color: var(--wp--preset--color--text);
	margin: 0 0 1rem;
}
.price-card .price-desc {
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.25rem;
}
.price-features {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}
.price-features li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.55rem;
	color: var(--wp--preset--color--text);
	font-size: 0.95rem;
}
.price-features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}
.price-card .wp-block-buttons {
	margin-top: auto;
}
.price-card .wp-block-buttons .wp-element-button {
	width: 100%;
}
.price-card.is-featured {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent), 0 26px 60px -32px rgba(45, 212, 191, 0.4);
}
.price-card.is-featured:hover {
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent), 0 34px 70px -28px rgba(45, 212, 191, 0.55);
}
.price-badge {
	align-self: flex-start;
	background: var(--wp--preset--color--accent);
	color: #0a1220;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 0.42rem 0.9rem;
	border-radius: 999px;
	margin: 0 0 1rem;
}
.price-footnote {
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
	margin: 0 0 1.5rem;
}
@media (max-width: 781px) {
	.price-card .price-amount {
		font-size: 1.9rem;
	}
}

/* ScaleTru: Fix fuer Warum ScaleTru Spotlight-Spalten */
@media (min-width: 782px) {
    .why-grid.spot > .spot-col-list {
        flex: 1 1 42% !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .why-grid.spot > .spot-col-panel {
        flex: 1 1 58% !important;
        min-width: 0 !important;
        width: auto !important;
    }
}
