/*
Theme Name: xoee
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.18
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xoee
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: calc(var(--header-offset) + var(--wp--preset--spacing--lg)) var(--wp--preset--spacing--xl);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

:root {
	--ink: var(--wp--preset--color--background);
	--cyan: var(--wp--preset--color--primary);
	--blue: var(--wp--preset--color--glow);
	--text-soft: rgb(244 245 248 / 0.78);
	--hairline: rgb(255 255 255 / 0.1);
	--radius-sm: var(--wp--custom--rounded--sm);
	--radius-lg: var(--wp--custom--rounded--lg);
	--header-offset: 112px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--imagery: brightness(0.85) saturate(1.1);
}

/* === base === */
html {
	scroll-behavior: smooth;
}
body {
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection {
	background: var(--cyan);
	color: var(--ink);
}
a {
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: color 0.2s var(--ease);
}
h1, h2, h3, h4 {
	text-wrap: balance;
}
p {
	text-wrap: pretty;
}
.wp-element-button {
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.wp-element-button:hover {
	transform: translateY(-1px);
}
.is-style-outline .wp-element-button:hover {
	border-color: var(--cyan);
	background: transparent;
	color: var(--wp--preset--color--text);
}

/* === glass === */
.is-style-glass {
	position: relative;
	isolation: isolate;
	background: rgb(255 255 255 / 0.08);
	-webkit-backdrop-filter: blur(20px) saturate(1.8) brightness(1.1);
	backdrop-filter: blur(20px) saturate(1.8) brightness(1.1);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 20px 60px rgb(0 0 0 / 0.35);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.is-style-glass::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.06) 45%, rgb(255 255 255 / 0.22));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.is-style-glass::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.14) 50%, transparent 65%);
	background-size: 250% 100%;
	background-position: 120% 0;
	border-radius: inherit;
	transition: background-position 0.6s var(--ease);
	pointer-events: none;
}
.is-style-glass:hover::after {
	background-position: -20% 0;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.is-style-glass {
		background: var(--wp--preset--color--surface);
	}
}

/* === light sources === */
.is-style-glow {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
/* will-change gives each light its own compositor layer. Painted into the
   page's tiles instead, Chromium re-rasters single tiles on header hover and
   the glass cards' backdrop blur shows the tile edge as a hard seam. */
.is-style-glow::before,
.is-style-glow::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(90px);
	will-change: transform;
	pointer-events: none;
	translate: calc(var(--gx, 0) * 40px) calc(var(--gy, 0) * 40px);
	animation: xoee-drift 26s ease-in-out infinite alternate;
}
.is-style-glow::before {
	width: min(48vw, 640px);
	aspect-ratio: 1;
	background: var(--cyan);
	opacity: 0.42;
	right: 4%;
	top: 12%;
}
.is-style-glow::after {
	width: min(30vw, 400px);
	aspect-ratio: 1;
	background: var(--blue);
	opacity: 0.5;
	right: -4%;
	top: 46%;
	animation-duration: 21s;
	animation-direction: alternate-reverse;
}
.wp-block-cover.is-style-glow::before,
.wp-block-cover.is-style-glow::after {
	z-index: 1;
}
.wp-block-cover.is-style-glow .wp-block-cover__inner-container {
	z-index: 2;
}
@keyframes xoee-drift {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-6%, 8%) scale(1.08); }
	100% { transform: translate(5%, -6%) scale(0.95); }
}

/* === header === */
.site-header {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
	left: 0;
	right: 0;
	z-index: 100;
	pointer-events: none;
}
.header-capsule {
	pointer-events: auto;
	overflow: visible;
	border-radius: var(--wp--custom--rounded--full);
	padding: 10px 10px 10px 28px;
	gap: 24px;
}
.header-logo,
.footer-logo {
	margin: 0;
	line-height: 0;
}
.header-logo img {
	height: 26px;
	width: auto;
}
.footer-logo img {
	height: 34px;
	width: auto;
}
.header-nav {
	font-size: 0.9375rem;
	gap: 28px;
}
.header-nav .wp-block-navigation-item__content {
	color: var(--text-soft);
	text-decoration: none;
}
.header-nav .wp-block-navigation-item__content:hover,
.header-nav .current-menu-item > .wp-block-navigation-item__content,
.header-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--text);
}
/* Absolutely positioned so the active item keeps the same box as the others
   and stays on the row's centre line. */
.header-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	position: relative;
}
.header-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: var(--cyan);
}
.header-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	color: var(--cyan);
}
/* Core nudges the chevron down to the baseline; centre it on the cap height
   of the label instead. */
.header-nav .wp-block-navigation__submenu-icon {
	display: flex;
	align-items: center;
	transform: translateY(-1px);
}
.header-nav .wp-block-navigation__submenu-icon svg {
	margin-top: 0;
}
.header-nav .wp-block-navigation__submenu-container {
	background: rgb(17 21 28 / 0.96) !important;
	border: 1px solid var(--hairline) !important;
	border-radius: 16px;
	padding: 8px !important;
	min-width: 220px !important;
	box-shadow: 0 24px 60px rgb(0 0 0 / 0.45);
	margin-top: 10px;
}
/* Invisible bridge over the 10px gap so hover does not drop the submenu. */
.header-nav .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -16px;
	height: 16px;
}
.header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 14px !important;
	border-radius: 10px;
}
.header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: rgb(255 255 255 / 0.06);
	color: var(--cyan);
}
.header-actions {
	gap: 16px;
}
.header-cta .wp-element-button {
	padding: 10px 20px;
	font-size: 0.875rem;
	white-space: nowrap;
}
.header-actions,
.header-actions > *,
.header-logo {
	flex-shrink: 0;
}
.header-actions {
	width: auto !important;
}
.header-actions .lang-switch {
	width: auto !important;
	flex: 0 0 auto;
}
.lang-switch ul,
ul.lang-switch {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lang-switch li a {
	display: block;
	padding: 4px 8px;
	border-radius: 999px;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.lang-switch li.current-lang a {
	color: var(--wp--preset--color--text);
	background: rgb(255 255 255 / 0.1);
}
.lang-switch li a:hover {
	color: var(--cyan);
}

/* === mobile menu === */
/* backdrop-filter makes the capsule the containing block for fixed
   descendants, which traps the full-screen overlay inside the capsule.
   Drop it while the overlay is open; the overlay brings its own blur. */
.header-capsule:has(.is-menu-open) {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
/* No `display` on the open button: core hides it above the breakpoint. */
.header-nav .wp-block-navigation__responsive-container-open,
.header-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
	color: var(--wp--preset--color--text);
	transition: background-color 0.25s var(--ease);
}
.header-nav .wp-block-navigation__responsive-container-open:hover,
.header-nav .wp-block-navigation__responsive-container-close:hover {
	background: rgb(255 255 255 / 0.14);
}
.header-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	background-color: rgb(7 9 13 / 0.88) !important;
	-webkit-backdrop-filter: blur(24px) saturate(1.6);
	backdrop-filter: blur(24px) saturate(1.6);
	padding: 24px var(--wp--style--root--padding-right) 40px var(--wp--style--root--padding-left);
}
/* One cyan light source behind the glass, as in the hero. */
.header-nav .wp-block-navigation__responsive-container.is-menu-open::before {
	content: "";
	position: fixed;
	z-index: -1;
	width: 80vw;
	aspect-ratio: 1;
	right: -30vw;
	top: -20vw;
	border-radius: 50%;
	background: var(--cyan);
	opacity: 0.3;
	filter: blur(90px);
	pointer-events: none;
}
.header-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	display: flex;
	top: 0;
	right: 8px; /* the capsule's inner padding: ✕ lands where ☰ was */
}
.header-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 0;
	padding-top: 64px;
}
.header-nav .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0;
}
.header-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	align-items: flex-start;
	width: 100%;
	border-bottom: 1px solid var(--hairline);
}
.header-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding-block: 18px;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--text);
}
.header-nav .is-menu-open .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content {
	color: var(--cyan);
}
.header-nav .is-menu-open .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after {
	content: none;
}
.header-nav .is-menu-open .wp-block-navigation__submenu-container {
	gap: 0;
	min-width: 0 !important;
	margin: -6px 0 0;
	padding: 0 0 14px !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
}
.header-nav .is-menu-open .wp-block-navigation__submenu-container::before {
	content: none;
}
.header-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	margin: 0;
	padding: 7px 0 !important;
	font-size: 1rem;
	color: var(--text-soft);
}
.header-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.header-nav .is-menu-open .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	background: none;
	color: var(--cyan);
}
/* "Demo buchen" menu item: lives in the menu only for the mobile overlay,
   where it replaces the header CTA. Elsewhere the header button covers it. */
.header-nav .nav-cta {
	display: none !important;
}
.header-nav .is-menu-open .wp-block-navigation__container > .nav-cta {
	display: flex !important;
	margin-top: 32px;
	border-bottom: 0;
}
.header-nav .is-menu-open .wp-block-navigation__container > .nav-cta > .wp-block-navigation-item__content {
	box-sizing: border-box;
	padding: 16px 28px;
	border-radius: var(--wp--custom--rounded--full);
	background: var(--cyan);
	color: var(--ink);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
}
.header-nav .is-menu-open .wp-block-navigation__container > .nav-cta > .wp-block-navigation-item__content:hover {
	color: var(--ink);
	filter: brightness(1.08);
}

/* === typography helpers === */
.is-style-eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--cyan);
}
.is-style-stat {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.045em;
	font-variant-numeric: tabular-nums;
	color: var(--wp--preset--color--text);
}
.has-lead-font-size {
	line-height: 1.5;
}
mark.has-inline-color {
	background: none;
}

/* === bands === */
/* The same block-gap margin as above, one level down: full-width sections
   inside the post content butt edge-to-edge too. */
.wp-block-post-content > .alignfull {
	margin-block: 0;
}
.band {
	padding-block: clamp(3.5rem, 6vw, 6rem);
}
.band-head {
	align-items: flex-end;
	gap: 24px 48px;
	margin-bottom: clamp(2rem, 3vw, 2.75rem);
}
.band-head h2 {
	max-width: 18ch;
}
.band-head > p {
	max-width: 36ch;
}
.band-head .wp-block-heading {
	margin-top: 12px;
}
/* Note under the heading instead of beside it (Preise). */
.band-head .wp-block-heading + .band-note {
	max-width: 62ch;
	margin-top: 16px;
}
.band-note {
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* === hero === */
.hero {
	min-height: 100svh !important;
	padding-top: calc(var(--header-offset) + 32px) !important;
	padding-bottom: clamp(3rem, 6vw, 5rem) !important;
	padding-inline: var(--wp--style--root--padding-left) !important;
	align-items: center;
}
.hero-page {
	min-height: 68svh !important;
	align-items: flex-end;
}
.hero .wp-block-cover__image-background {
	filter: var(--imagery);
}
.hero .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, var(--ink) 18%, rgb(7 9 13 / 0.72) 48%, rgb(7 9 13 / 0.25) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 30%) !important;
}
.hero .wp-block-cover__inner-container {
	width: 100%;
}
.hero h1 {
	font-size: clamp(2.75rem, 5.6vw, 5.25rem);
	margin-block: 18px 22px;
}
.hero .has-lead-font-size {
	max-width: 40ch;
	margin-bottom: 32px;
}
.hero-columns {
	align-items: center !important;
	gap: clamp(2rem, 5vw, 5rem);
}
.kpi-card {
	padding: 28px 30px;
	max-width: 380px;
	margin-left: auto;
}
.kpi-live::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 12px var(--cyan);
	vertical-align: 1px;
	animation: xoee-pulse 2s ease-in-out infinite;
}
.kpi-live {
	color: var(--wp--preset--color--muted);
	margin-bottom: 8px;
}
.kpi-row {
	align-items: baseline;
	padding-block: 12px;
	border-bottom: 1px solid var(--hairline);
}
.kpi-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.kpi-row > p:first-child {
	font-size: var(--wp--preset--font-size--small);
}
.kpi-value {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--wp--preset--color--text);
	font-variant-numeric: tabular-nums;
}
/* Machine card: four OEE rings (value arc in cyan, loss in white) plus the
   running order. --v is the ring value in percent; registering it lets the
   arc ease between the live updates. */
@property --v {
	syntax: "<number>";
	inherits: true;
	initial-value: 0;
}
/* Inside the cards all labels stay white; muted grey reads poorly on glass. */
.kpi-card .kpi-live,
.kpi-ring-label,
.kpi-order-item,
.kpi-counts dt,
.kpi-tiles dt {
	color: var(--wp--preset--color--text);
}
.kpi-rings {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-block: 14px 20px;
}
.kpi-ring {
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
	transition: --v 1.2s var(--ease);
}
.kpi-ring-value {
	position: relative;
	display: grid;
	place-items: center;
	/* Fixed size so the rings match at every resolution; 60px still fits the
	   narrowest hero column. */
	width: 60px;
	height: 60px;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: var(--wp--preset--color--text);
}
.kpi-ring-value::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(var(--cyan) calc(var(--v) * 1%), var(--wp--preset--color--text) 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}
.kpi-ring-label {
	font-size: 0.6875rem;
	line-height: 1.2;
	white-space: nowrap;
}
.kpi-order {
	padding-top: 16px;
	border-top: 1px solid var(--hairline);
}
.kpi-order-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.kpi-order-id {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}
.kpi-order-pct {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
	color: var(--cyan);
	font-variant-numeric: tabular-nums;
}
.kpi-order-item {
	margin: 2px 0 12px;
	font-size: var(--wp--preset--font-size--small);
}
.kpi-bar {
	height: 6px;
	border-radius: 999px;
	background: var(--hairline);
	overflow: hidden;
}
.kpi-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--cyan);
	box-shadow: 0 0 12px var(--cyan);
	transition: width 1.2s var(--ease);
}
.kpi-counts,
.kpi-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 14px 0 0;
}
.kpi-counts dt,
.kpi-tiles dt {
	font-size: 0.75rem;
}
.kpi-counts dd,
.kpi-tiles dd {
	margin: 4px 0 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--wp--preset--color--text);
	font-variant-numeric: tabular-nums;
}
/* Transport card: 2×2 status tiles. */
.kpi-tiles {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}
.kpi-tiles > div {
	padding: 12px 14px;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-sm);
	background: rgb(255 255 255 / 0.04);
}
.kpi-tiles dd {
	font-size: 1.75rem;
}
.is-tick {
	animation: xoee-tick 1s var(--ease);
}
@keyframes xoee-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}
@keyframes xoee-tick {
	0% { text-shadow: 0 0 14px var(--cyan); transform: translateY(-2px); }
	100% { text-shadow: none; transform: none; }
}

/* === content blocks === */
.is-style-rounded-lg img {
	border-radius: var(--radius-lg);
	filter: var(--imagery);
}
.is-style-checks {
	list-style: none;
	padding-left: 0;
}
.is-style-checks li {
	position: relative;
	padding: 0.7rem 0 0.7rem 2rem;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.is-style-checks li:last-child {
	border-bottom: 0;
}
.is-style-checks li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1.05rem;
	width: 12px;
	height: 6px;
	border-left: 1.5px solid var(--cyan);
	border-bottom: 1.5px solid var(--cyan);
	transform: rotate(-45deg);
}
/* Item icons instead of the check: the pricing hardware lists (icons taken
   over from the old site) and every PDF download. The images serve as masks,
   so they take the brand cyan like the checks. */
.is-style-checks li[class*="icon-"]::before,
.is-style-checks li:has(> a[href$=".pdf"])::before {
	left: 0;
	top: 50%;
	width: 18px;
	height: 18px;
	border: 0;
	transform: translateY(-50%);
	background: var(--cyan);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.is-style-checks .icon-fabrik::before { --icon: url(/assets/images/icons/fabrik.png); }
.is-style-checks .icon-anlage::before { --icon: url(/assets/images/icons/anlage.png); }
.is-style-checks .icon-sensor::before { --icon: url(/assets/images/icons/sensor.png); }
.is-style-checks .icon-taster::before { --icon: url(/assets/images/icons/taster.png); }
.is-style-checks .icon-gateway::before { --icon: url(/assets/images/icons/gateway.png); }
.is-style-checks .icon-sim::before { --icon: url(/assets/images/icons/sim.png); }
.is-style-checks .icon-stapler::before { --icon: url(/assets/images/icons/stapler.png); }
.is-style-checks .icon-koffer::before { --icon: url(/assets/images/icons/koffer.png); }
.is-style-checks .icon-tape::before { --icon: url(/assets/images/icons/tape.png); }
/* Monoline document (1.5px), in line with the DESIGN.md icon rule. */
.is-style-checks li:has(> a[href$=".pdf"])::before {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
	width: 20px;
	height: 20px;
}
.solution-grid {
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
/* Card rhythm. The column is a flex container, so margins add up instead of
   collapsing: reset them and space tightly inside a group (name + tagline,
   price + note, heading + list) and wider between groups. */
.solution-grid > .wp-block-column > * {
	margin-block: 0;
}
.solution-grid > .wp-block-column > * + * {
	margin-top: 24px;
}
.solution-grid > .wp-block-column > * + h3 {
	margin-top: 8px;
}
.solution-grid > .wp-block-column > h3 + p {
	margin-top: 6px;
}
.solution-grid > .wp-block-column > .is-style-stat + .band-note {
	margin-top: 10px;
}
.solution-grid > .wp-block-column > p + .is-style-checks {
	margin-top: 8px;
}
/* Equal-height cards: the closing link or button row sits on the baseline. */
.solution-grid > .wp-block-column {
	display: flex;
	flex-direction: column;
}
.solution-grid > .wp-block-column > .wp-block-buttons:last-child,
.solution-grid > .wp-block-column > .text-link:last-child {
	margin-top: auto;
	padding-top: 12px;
}
.solution-grid .is-style-checks {
	font-size: var(--wp--preset--font-size--small);
}
.text-link a {
	color: var(--wp--preset--color--text);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--cyan);
	padding-bottom: 2px;
}
.text-link a:hover {
	color: var(--cyan);
}
.benefit-grid {
	gap: 0 !important;
	border-top: 1px solid var(--hairline);
}
.benefit-grid > .wp-block-column {
	padding: 32px 28px 8px 0;
}
.benefit-grid > .wp-block-column + .wp-block-column {
	padding-left: 28px;
	border-left: 1px solid var(--hairline);
}
.benefit-grid h3 {
	margin-block: 14px 12px;
	/* Long compounds ("Schnittstellenentwicklung") in narrow columns. */
	hyphens: auto;
}
.benefit-grid p:not(.is-style-eyebrow) {
	font-size: var(--wp--preset--font-size--small);
}
.stat-grid {
	gap: clamp(1.5rem, 3vw, 3rem);
}
.stat-grid > .wp-block-column {
	border-top: 1px solid rgb(255 255 255 / 0.18);
	padding-top: 24px;
}
.stat-grid .is-style-stat + p {
	margin-top: 12px;
}
.split {
	align-items: center !important;
	gap: clamp(2rem, 6vw, 6rem);
}
/* Side-by-side text columns (e.g. certifications): headings share one baseline. */
.split.are-vertically-aligned-top {
	align-items: flex-start !important;
}
.mission-quote {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.5rem, 3.2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--wp--preset--color--text);
}
.logo-row {
	gap: clamp(1.5rem, 5vw, 4rem);
	row-gap: 1.5rem;
}
.logo-row p {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: rgb(244 245 248 / 0.5);
	margin: 0;
	transition: color 0.3s var(--ease);
}
.logo-row p:hover {
	color: var(--wp--preset--color--text);
}
/* Customer logos: rendered monochrome white at 55 % (DESIGN.md › Imagery). */
.logo-row .wp-block-image {
	margin: 0;
}
.logo-row .wp-block-image img {
	height: clamp(36px, 4vw, 48px);
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.55;
	transition: opacity 0.3s var(--ease);
}
.logo-row .wp-block-image img:hover {
	opacity: 1;
}
/* Logo carousel (xoee.js): an endless track that fades out at both edges and
   pauses on hover. Spacing sits on the logos so the loop stays even. */
.logo-row.is-marquee {
	display: block;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: logo-marquee var(--marquee-duration, 40s) linear infinite;
}
.logo-row.is-marquee:hover .logo-track {
	animation-play-state: paused;
}
.logo-track > * {
	flex: none;
	margin: 0 clamp(1rem, 2.5vw, 2rem) !important;
}
@keyframes logo-marquee {
	to {
		transform: translateX(-50%);
	}
}
.cta-card {
	padding: clamp(28px, 4vw, 48px);
}
.cta-card .wp-block-buttons {
	margin-top: 28px;
}
.contact-lines a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}
.contact-lines a:hover {
	color: var(--cyan);
}

/* === forms === */
.wp-block-jetpack-contact-form input:not([type="checkbox"]):not([type="radio"]),
.wp-block-jetpack-contact-form textarea,
.wp-block-jetpack-contact-form select {
	background: var(--wp--preset--color--surface) !important;
	border: 1px solid rgb(255 255 255 / 0.12) !important;
	border-radius: var(--radius-sm) !important;
	color: var(--wp--preset--color--text) !important;
	padding: 14px 16px !important;
	font: inherit;
}
.wp-block-jetpack-contact-form input:focus,
.wp-block-jetpack-contact-form textarea:focus {
	outline: none;
	border-color: var(--cyan) !important;
	box-shadow: 0 0 0 3px rgb(0 184 217 / 0.2);
}
.wp-block-jetpack-contact-form label {
	color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}
.wp-block-jetpack-contact-form .grunion-field-checkbox-wrap label {
	font-weight: 400;
	line-height: 1.45;
}
/* Pipedrive web form (iframe): on phones it needs the card's full width,
   otherwise its fields are cut off on the right. */
@media (max-width: 600px) {
	.cta-card .pipedriveWebForms {
		width: auto;
		margin-inline: -14px;
	}
}
/* Next to the tall form, pin the contact details to the top. */
.split:has(.wp-block-jetpack-contact-form),
.split:has(.pipedriveWebForms) {
	align-items: flex-start !important;
}

/* === footer === */
.site-footer {
	padding-block: clamp(4rem, 7vw, 6rem) 2rem;
	border-top: 1px solid var(--hairline);
}
.footer-columns {
	gap: clamp(2rem, 4vw, 4rem);
}
.footer-claim,
.footer-address {
	font-size: var(--wp--preset--font-size--small);
	max-width: 34ch;
}
.site-footer .is-style-eyebrow {
	color: var(--wp--preset--color--muted);
}
.footer-links {
	list-style: none;
	padding: 0;
	font-size: 0.9375rem;
}
.footer-links li + li {
	margin-top: 10px;
}
.footer-links a,
.footer-bottom a {
	color: var(--text-soft);
	text-decoration: none;
}
.footer-links a:hover,
.footer-bottom a:hover {
	color: var(--cyan);
}
.footer-bottom {
	margin-top: clamp(3rem, 5vw, 4.5rem);
	padding-top: 24px;
	border-top: 1px solid var(--hairline);
	color: var(--wp--preset--color--muted);
	align-items: center;
}
.footer-bottom p {
	color: var(--wp--preset--color--muted);
}
/* Legal line and language switcher on the left, the client's tagline artwork
   (claim_white.png) pushed to the right. */
.footer-bottom .lang-switch {
	width: auto;
}
.footer-bottom .footer-signature {
	margin: 0 0 0 auto;
}
.footer-signature img {
	display: block;
	width: auto;
	height: 40px;
}

/* === scroll reveal (classes added by assets/js/xoee.js only) === */
.js-reveal .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-reveal .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* === responsive === */
@media (max-width: 1100px) {
	.header-nav {
		gap: 18px;
	}
	.header-capsule {
		gap: 16px;
	}
}
@media (max-width: 960px) {
	.benefit-grid {
		flex-wrap: wrap !important;
	}
	.benefit-grid > .wp-block-column {
		flex-basis: 50% !important;
		border-left: 0 !important;
		padding-left: 0 !important;
		border-bottom: 1px solid var(--hairline);
	}
}
@media (max-width: 960px) {
	.header-capsule {
		gap: 12px;
	}
	/* Core collapses the menu only below 600px, but the full menu no longer
	   fits the capsule below 961px: collapse it here already. */
	.header-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
	.header-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}
	.header-nav {
		order: 3;
	}
	/* Collapsed menu: the language switch takes the CTA's place, the CTA
	   moves into the overlay (.nav-cta). */
	.header-actions .header-cta {
		display: none;
	}
	/* Beats the flex layout's `margin: 0` on children: the language switch
	   sits next to the menu button instead of floating in the middle. */
	.header-capsule > .header-actions {
		margin-left: auto;
	}
}
@media (max-width: 781px) {
	:root {
		--header-offset: 88px;
	}
	.header-capsule {
		padding: 8px 8px 8px 20px;
	}
	.kpi-card {
		margin-left: 0;
		max-width: none;
	}
	.hero {
		min-height: 88svh !important;
	}
	.hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgb(7 9 13 / 0.55) 0%, rgb(7 9 13 / 0.85) 55%, var(--ink) 100%) !important;
	}
	.benefit-grid > .wp-block-column {
		flex-basis: 100% !important;
		padding-right: 0;
	}
	.band-head {
		align-items: flex-start;
	}
}

/* === reduced motion === */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
	.is-style-glow::before,
	.is-style-glow::after {
		translate: none;
	}
	.js-reveal .reveal {
		opacity: 1;
		transform: none;
	}
}
