/* ONOX theme: components on top of theme.json (colors, fonts, spacing come from there). */

:root {
	--onox-header-h: 76px;
	--onox-radius: 14px;
	--onox-radius-lg: 24px;
	--onox-radius-xl: 28px;
	--onox-shadow-sm: 0 1px 2px rgb(5 42 65 / 0.06), 0 1px 3px rgb(5 42 65 / 0.08);
	--onox-shadow-md: 0 4px 12px rgb(5 42 65 / 0.07), 0 12px 32px rgb(5 42 65 / 0.08);
	--onox-shadow-lg: 0 24px 60px rgb(5 42 65 / 0.16);
	--onox-section-y: clamp(64px, 9vw, 112px);
	--onox-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--onox-i-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
	--onox-i-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
	--onox-i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--onox-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E");
	--onox-i-phone-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E");
	--onox-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7'/%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3C/svg%3E");
	--onox-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--onox-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006497' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

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

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

html {
	scroll-padding-top: calc(var(--onox-header-h) + 24px);
}

:focus-visible {
	outline: 3px solid var(--wp--preset--color--blue-500);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Small icon helper used by ::before/::after */
.onox-arrow .wp-block-button__link::after,
.onox-arrow-up .wp-block-button__link::after,
.onox-more a::after,
.onox-back a::before {
	content: '';
	display: inline-block;
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--onox-i-arrow) center / contain no-repeat;
	mask: var(--onox-i-arrow) center / contain no-repeat;
	transition: transform 0.2s;
}

.onox-arrow-up .wp-block-button__link::after {
	-webkit-mask-image: var(--onox-i-arrow-up);
	mask-image: var(--onox-i-arrow-up);
}

.onox-back a::before {
	-webkit-mask-image: var(--onox-i-arrow-left);
	mask-image: var(--onox-i-arrow-left);
}

.onox-arrow .wp-block-button__link:hover::after,
.onox-more a:hover::after {
	transform: translateX(3px);
}

/* ---------- Header ---------- */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}

.onox-header {
	border-bottom: 1px solid transparent;
	background: rgb(255 255 255 / 0.94);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.onox-header.is-scrolled {
	border-bottom-color: var(--wp--preset--color--line);
	box-shadow: 0 6px 24px rgb(5 42 65 / 0.05);
}

.onox-header__inner {
	min-height: var(--onox-header-h);
	gap: 24px;
}

.onox-logo {
	flex: none;
	margin: 0 0 0 -6px !important;
}

.onox-logo img {
	width: auto;
	height: 50px;
	max-width: none;
}

.onox-logo--light img {
	filter: brightness(0) invert(1);
}

.onox-header__nav {
	gap: 28px;
}

.onox-nav .wp-block-navigation-item__content {
	padding: 8px 6px;
	color: var(--wp--preset--color--ink-2);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.onox-nav .wp-block-navigation-item__content:hover,
.onox-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--blue-700);
}

.onox-nav .wp-block-navigation__container {
	gap: 4px 18px;
}

.onox-btn-sm .wp-block-button__link {
	min-height: 42px;
	padding: 9px 18px;
	font-size: 0.9375rem;
}

/* Mobile menu from 1080px down (core switches at 600px) */
@media (min-width: 600px) and (max-width: 1080px) {
	.onox-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.onox-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

.onox-nav .wp-block-navigation__responsive-container-open,
.onox-nav .wp-block-navigation__responsive-container-close {
	width: 46px;
	height: 46px;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	background: #fff;
}

.onox-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px clamp(16px, 4vw, 32px);
}

.onox-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 48px;
}

.onox-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-size: 1.125rem;
}

.onox-nav .is-menu-open .wp-block-navigation-item__content {
	display: block;
	padding: 14px 4px;
}

@media (max-width: 600px) {
	body .onox-header .onox-header__cta {
		display: none;
	}

	.onox-logo img {
		height: 42px;
	}
}

/* ---------- Layout ---------- */
body .onox-main > *,
body .onox-canvas > * {
	margin-block: 0;
}

.onox-section {
	padding-block: var(--onox-section-y);
}

body .onox-section > * + * {
	margin-block-start: 0;
}

.onox-section--soft {
	background: var(--wp--preset--color--bg-soft);
}

.onox-section--dark {
	background: var(--wp--preset--color--blue-900);
	color: #fff;
}

.onox-section--tight {
	padding-top: 56px;
}

.onox-section--flush {
	padding-bottom: 0;
}

.onox-section-head {
	display: grid;
	gap: 16px;
	max-width: 720px;
	margin-bottom: clamp(36px, 5vw, 56px) !important;
}

.onox-section-head > *,
.onox-section-head > .wp-block-group > * {
	margin: 0 !important;
}

.onox-section-head > .wp-block-group {
	display: grid;
	gap: 16px;
}

.onox-section-head.alignwide {
	margin-inline: auto !important;
	max-width: var(--wp--style--global--wide-size);
}

.onox-section-head.alignwide:not(.onox-section-head--split) > * {
	max-width: 720px;
}

.onox-section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.onox-section-head--split > .wp-block-group {
	max-width: 720px;
}

.onox-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--blue-600);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.onox-eyebrow::before {
	content: '';
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.onox-eyebrow.has-text-align-center {
	display: flex;
	justify-content: center;
}

.onox-lead {
	color: var(--wp--preset--color--ink-2);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
}

.onox-muted {
	color: var(--wp--preset--color--ink-3);
	font-size: 0.9375rem;
}

.onox-grid {
	display: grid;
	gap: clamp(16px, 2.4vw, 24px);
}

.onox-grid > * {
	margin: 0 !important;
}

.onox-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.onox-grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.onox-grid + .wp-block-columns {
	margin-top: 48px !important;
}

/* Dark sections */
.onox-section--dark h2,
.onox-section--dark h3 {
	color: #fff;
}

.onox-section--dark .onox-eyebrow {
	color: var(--wp--preset--color--sky);
}

.onox-section--dark .onox-lead,
.onox-section--dark p {
	color: rgb(255 255 255 / 0.75);
}

.onox-section--dark .onox-icon-badge {
	background: rgb(92 203 244 / 0.12);
	color: var(--wp--preset--color--sky);
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.wp-block-button:not([class*='is-style-']) .wp-block-button__link {
	box-shadow: 0 6px 20px rgb(0 100 151 / 0.28);
}

.wp-block-button.is-style-secondary .wp-block-button__link {
	border-color: var(--wp--preset--color--line-strong);
	background: #fff;
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--blue-600);
	color: var(--wp--preset--color--blue-700);
}

.wp-block-button.is-style-light .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--blue-900);
}

.wp-block-button.is-style-light .wp-block-button__link:hover {
	background: var(--wp--preset--color--blue-100);
	color: var(--wp--preset--color--blue-900);
}

.wp-block-button.is-style-outline-light .wp-block-button__link {
	border-color: rgb(255 255 255 / 0.45);
	background: transparent;
	color: #fff;
}

.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 0.08);
}

.wp-block-buttons {
	gap: 12px;
}

/* ---------- Lists ---------- */
ul.is-style-checks {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

ul.is-style-checks li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 12px;
	align-items: start;
	margin: 0;
}

ul.is-style-checks li::before {
	content: '';
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--wp--preset--color--blue-100) var(--onox-i-check) center / 14px no-repeat;
}

ol.onox-numbered {
	display: grid;
	gap: 18px;
	padding: 0;
	list-style: none;
	counter-reset: onox-step;
}

ol.onox-numbered li {
	position: relative;
	padding-left: 46px;
	color: var(--wp--preset--color--ink-2);
	font-size: 0.9375rem;
	counter-increment: onox-step;
}

ol.onox-numbered li strong {
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
}

ol.onox-numbered li::before {
	content: counter(onox-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wp--preset--color--blue-600);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 800;
}

/* ---------- Cards ---------- */
.wp-block-group.is-style-card {
	position: relative;
	display: grid;
	align-content: start;
	gap: 14px;
	padding: clamp(24px, 3vw, 32px);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--onox-radius-lg);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.wp-block-group.is-style-card > * {
	margin: 0 !important;
}

.wp-block-group.is-style-card p {
	color: var(--wp--preset--color--ink-2);
}

.wp-block-group.is-style-card:has(.onox-more a):hover {
	border-color: var(--wp--preset--color--blue-200);
	box-shadow: var(--onox-shadow-md);
	transform: translateY(-2px);
}

.onox-more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 650;
	text-decoration: none;
}

/* Home service cards: predictable headings and aligned CTAs across all four cards.
   min-width allows long German compound headings to wrap without overflowing. */
.onox-grid--4 > .wp-block-group.is-style-card {
	min-width: 0;
	align-content: stretch;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.onox-grid--4 > .wp-block-group.is-style-card h3 {
	min-width: 0;
	font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
	line-height: 1.4;
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: normal;
}

.onox-grid--4 > .wp-block-group.is-style-card .onox-more {
	align-self: end;
}

/* The "more" link makes the whole card clickable */
.is-style-card .onox-more a::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.wp-block-onox-icon {
	margin: 0;
}

.onox-card-title {
	font-size: 1.25rem !important;
}

.onox-card-label {
	color: var(--wp--preset--color--ink-3) !important;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.onox-card-value {
	font-size: 1.1875rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.onox-card-value a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.onox-card-value a:hover {
	color: var(--wp--preset--color--blue-700);
}

/* ---------- Home hero ---------- */
.onox-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(560px, 78vh, 760px);
	overflow: hidden;
	padding-block: clamp(72px, 9vw, 120px) clamp(128px, 12vw, 168px);
	background: var(--wp--preset--color--blue-950);
	color: #fff;
}

body .onox-hero > .onox-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	max-width: none !important;
	margin: 0 !important;
}

.onox-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 40%;
}

.onox-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(3 27 43 / 0.9) 0%, rgb(3 27 43 / 0.78) 40%, rgb(3 27 43 / 0.35) 72%, rgb(3 27 43 / 0.2) 100%),
		linear-gradient(0deg, rgb(3 27 43 / 0.6) 0%, transparent 45%);
}

.onox-hero__content {
	display: grid;
	justify-items: start;
	gap: 22px;
	width: 100%;
}

.onox-hero__content > * {
	margin: 0 !important;
}

.onox-hero .onox-eyebrow {
	color: rgb(255 255 255 / 0.85);
}

.onox-hero h1 {
	max-width: 820px;
	color: #fff;
	font-size: clamp(2.375rem, 5vw, 4.125rem);
	font-weight: 800;
	line-height: 1.08;
}

.onox-hero__lead {
	max-width: 640px;
	color: rgb(255 255 255 / 0.85);
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

ul.onox-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding: 0;
	color: rgb(255 255 255 / 0.8);
	font-size: 0.875rem;
	list-style: none;
}

ul.onox-hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

ul.onox-hero__meta li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--sky);
}

ul.onox-hero__meta a {
	color: inherit;
	text-decoration: none;
}

/* Highlights bar overlapping the hero */
body .onox-highlights {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
	margin-top: -64px !important;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 0.08);
	border-radius: 22px;
	background: #0b2133;
	box-shadow: var(--onox-shadow-lg);
}

.onox-highlights__item {
	display: grid;
	align-content: center;
	gap: 4px;
	margin: 0 !important;
	padding: 24px 26px;
	color: rgb(255 255 255 / 0.7);
	font-size: 0.875rem;
	line-height: 1.5;
}

.onox-highlights__item + .onox-highlights__item {
	border-left: 1px solid rgb(255 255 255 / 0.1);
}

.onox-highlights__item p,
.onox-highlights__item .wp-block-group > * {
	margin: 0 !important;
}

.onox-highlights__title {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.onox-highlights__gvp {
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
}

.onox-highlights__gvp figure {
	margin: 0;
}

.onox-highlights__gvp img {
	width: auto;
	height: 52px;
	padding: 6px 10px;
	border-radius: 10px;
	background: #fff;
}

@media (max-width: 920px) {
	body .onox-highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.onox-highlights__item:nth-child(3) {
		border-left: 0;
	}

	.onox-highlights__item:nth-child(n + 3) {
		border-top: 1px solid rgb(255 255 255 / 0.1);
	}
}

@media (max-width: 640px) {
	.onox-hero {
		min-height: 0;
		padding-block: 64px 112px;
	}

	.onox-hero__bg img {
		object-position: 70% 40%;
	}

	.onox-hero__bg::after {
		background: linear-gradient(180deg, rgb(3 27 43 / 0.82), rgb(3 27 43 / 0.9));
	}

	body .onox-highlights {
		grid-template-columns: 1fr;
		margin-top: -56px !important;
	}

	.onox-highlights__item + .onox-highlights__item {
		border-top: 1px solid rgb(255 255 255 / 0.1);
		border-left: 0;
	}

	.onox-highlights__item {
		padding: 18px 22px;
	}
}

/* ---------- Page hero ---------- */
.onox-page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px);
	border-bottom: 1px solid var(--wp--preset--color--line);
	background:
		radial-gradient(900px 420px at 88% -10%, rgb(92 203 244 / 0.16), transparent 70%),
		linear-gradient(180deg, var(--wp--preset--color--blue-50), #fff);
}

.onox-page-hero::after {
	content: '';
	position: absolute;
	top: -180px;
	right: -140px;
	width: 520px;
	height: 520px;
	border: 64px solid rgb(0 100 151 / 0.05);
	border-radius: 50%;
	pointer-events: none;
}

.onox-page-hero > * {
	position: relative;
	z-index: 1;
}

.onox-page-hero--compact {
	padding-block: clamp(48px, 6vw, 80px);
}

.onox-page-hero__text,
.onox-page-hero__split > .wp-block-column:first-child {
	display: grid;
	gap: 20px;
}

.onox-page-hero__text > *,
.onox-page-hero__split > .wp-block-column > * {
	margin: 0 !important;
}

.onox-page-hero__text > * {
	max-width: 780px;
}

.onox-page-hero__split {
	align-items: center !important;
	gap: 48px !important;
}

.onox-benefits {
	gap: 20px !important;
	box-shadow: var(--onox-shadow-md);
}

/* ---------- Steps ---------- */
.onox-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 24px;
}

.onox-step {
	position: relative;
	display: grid;
	align-content: start;
	gap: 12px;
	margin: 0 !important;
	padding-top: 28px;
	border-top: 2px solid var(--wp--preset--color--line);
}

.onox-step > * {
	margin: 0 !important;
}

.onox-step::before {
	content: '';
	position: absolute;
	top: -2px;
	left: 0;
	width: 56px;
	height: 2px;
	background: var(--wp--preset--color--blue-600);
}

.onox-step p {
	color: var(--wp--preset--color--ink-2);
}

.onox-step .onox-step__num {
	color: var(--wp--preset--color--blue-600);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.onox-section--dark .onox-step {
	border-top-color: rgb(255 255 255 / 0.15);
}

.onox-section--dark .onox-step::before {
	background: var(--wp--preset--color--sky);
}

.onox-section--dark .onox-step .onox-step__num {
	color: var(--wp--preset--color--sky);
}

.onox-section--dark .onox-step p:not(.onox-step__num) {
	color: rgb(255 255 255 / 0.72);
}

/* ---------- Values (dark cards) ---------- */
.onox-value {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 32px;
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: var(--onox-radius-lg);
	background: rgb(255 255 255 / 0.03);
}

.onox-value > * {
	margin: 0 !important;
}

/* ---------- Home: candidates ---------- */
.onox-split {
	gap: clamp(40px, 6vw, 72px) !important;
}

.onox-split > .wp-block-column:first-child {
	display: grid;
	align-content: start;
	gap: 22px;
}

.onox-split > .wp-block-column:first-child > * {
	margin: 0 !important;
}

@media (min-width: 782px) {
	.onox-sticky {
		position: sticky;
		top: calc(var(--onox-header-h) + 32px);
		align-self: flex-start;
	}

	.admin-bar .onox-sticky {
		top: calc(var(--onox-header-h) + 64px);
	}
}

/* ---------- CTA ---------- */
.onox-cta-section {
	padding-block: var(--onox-section-y);
}

.onox-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	align-items: center;
	gap: 32px 48px;
	overflow: hidden;
	padding: clamp(32px, 5vw, 64px);
	border-radius: var(--onox-radius-xl);
	background:
		radial-gradient(600px 300px at 100% 0%, rgb(92 203 244 / 0.28), transparent 70%),
		linear-gradient(135deg, var(--wp--preset--color--blue-800), var(--wp--preset--color--blue-900));
	color: #fff;
}

.onox-cta::after {
	content: '';
	position: absolute;
	right: -90px;
	bottom: -150px;
	width: 340px;
	height: 340px;
	border: 48px solid rgb(255 255 255 / 0.05);
	border-radius: 50%;
	pointer-events: none;
}

.onox-cta > *,
.onox-cta__text > *,
.onox-cta__actions > * {
	margin: 0 !important;
}

.onox-cta__text {
	display: grid;
	gap: 14px;
}

.onox-cta h2 {
	color: #fff;
}

.onox-cta__text p {
	max-width: 620px;
	color: rgb(255 255 255 / 0.8);
	font-size: 1.125rem;
}

.onox-cta__actions {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 16px;
	justify-items: start;
}

.onox-cta__phone a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 650;
	text-decoration: none;
}

.onox-cta__phone a::before {
	content: '';
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.12) var(--onox-i-phone-white) center / 20px no-repeat;
}

.onox-cta__phone a:hover {
	color: var(--wp--preset--color--sky);
}

@media (max-width: 820px) {
	.onox-cta {
		grid-template-columns: 1fr;
	}
}

/* ---------- Für Unternehmen ---------- */
.onox-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.onox-services > * {
	margin: 0 !important;
}

.onox-services > :first-child {
	grid-column: 1 / -1;
}

.onox-service {
	gap: 18px !important;
	padding: clamp(28px, 4vw, 40px) !important;
	scroll-margin-top: calc(var(--onox-header-h) + 24px);
}

.onox-service:target,
.wp-block-group.is-style-card:target {
	border-color: var(--wp--preset--color--blue-300);
	box-shadow: 0 0 0 4px var(--wp--preset--color--blue-100);
}

.onox-service__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.onox-service__head > * {
	margin: 0 !important;
}

.onox-service__head h3 {
	font-size: 1.5rem;
}

@media (max-width: 860px) {
	.onox-services {
		grid-template-columns: 1fr;
	}
}

/* ---------- FAQ ---------- */
.onox-faq-wrap {
	gap: 48px !important;
}

details.onox-faq {
	margin: 0 0 12px !important;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--onox-radius);
	background: #fff;
	transition: border-color 0.2s;
}

details.onox-faq[open] {
	border-color: var(--wp--preset--color--blue-200);
}

details.onox-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	font-size: 1.0625rem;
	font-weight: 650;
	list-style: none;
	cursor: pointer;
}

details.onox-faq summary::-webkit-details-marker {
	display: none;
}

details.onox-faq summary::after {
	content: '';
	flex: none;
	width: 22px;
	height: 22px;
	background: var(--wp--preset--color--blue-600);
	-webkit-mask: var(--onox-i-chevron) center / contain no-repeat;
	mask: var(--onox-i-chevron) center / contain no-repeat;
	transition: transform 0.2s;
}

details.onox-faq[open] summary::after {
	transform: rotate(180deg);
}

details.onox-faq > p {
	margin: 0 !important;
	padding: 0 24px 22px;
	color: var(--wp--preset--color--ink-2);
}

/* ---------- Über ONOX ---------- */
.onox-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.onox-timeline__item {
	position: relative;
	display: grid;
	align-content: start;
	gap: 12px;
	margin: 0 !important;
	padding-top: 32px;
	border-top: 2px solid var(--wp--preset--color--line);
}

.onox-timeline__item > * {
	margin: 0 !important;
}

.onox-timeline__item::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 0;
	width: 14px;
	height: 14px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--wp--preset--color--blue-600);
	box-shadow: 0 0 0 2px var(--wp--preset--color--blue-600);
}

.onox-timeline__year {
	color: var(--wp--preset--color--blue-800);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.onox-timeline__item p:not(.onox-timeline__year) {
	color: var(--wp--preset--color--ink-2);
}

@media (max-width: 900px) {
	.onox-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
	}
}

@media (max-width: 560px) {
	.onox-timeline {
		grid-template-columns: 1fr;
	}
}

.onox-leader {
	align-items: center !important;
	gap: clamp(32px, 6vw, 80px) !important;
}

.onox-leader > .wp-block-column:last-child {
	display: grid;
	gap: 18px;
}

.onox-leader > .wp-block-column:last-child > * {
	margin: 0 !important;
}

.onox-leader-card {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 40px 24px;
	border-radius: var(--onox-radius-xl);
	background: linear-gradient(160deg, var(--wp--preset--color--blue-800), var(--wp--preset--color--blue-900));
	color: rgb(255 255 255 / 0.75);
	text-align: center;
}

.onox-leader-card > * {
	margin: 0 !important;
}

.onox-leader-card__initials {
	display: grid;
	place-items: center;
	width: 120px;
	height: 120px;
	margin-bottom: 14px !important;
	border: 2px solid rgb(255 255 255 / 0.25);
	border-radius: 50%;
	color: #fff;
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.onox-leader-card__name strong {
	color: #fff;
	font-size: 1.25rem;
}

.onox-mission {
	display: grid;
	justify-items: center;
	gap: 20px;
	max-width: 880px !important;
	margin-inline: auto !important;
	text-align: center;
}

.onox-mission > * {
	margin: 0 !important;
}

.onox-location {
	align-items: center !important;
	gap: clamp(40px, 6vw, 80px) !important;
}

.onox-location > .wp-block-column:first-child {
	display: grid;
	gap: 18px;
}

.onox-location > .wp-block-column:first-child > * {
	margin: 0 !important;
}

.onox-location__visual {
	position: relative;
	padding-bottom: 48px;
}

.onox-photo {
	margin: 0 !important;
}

.onox-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--onox-radius-xl);
	box-shadow: var(--onox-shadow-lg);
}

.onox-location__card {
	position: absolute;
	bottom: 0;
	left: -40px;
	display: grid;
	gap: 14px;
	width: min(320px, 80%);
	margin: 0 !important;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--onox-radius-lg);
	background: #fff;
	box-shadow: var(--onox-shadow-lg);
	color: var(--wp--preset--color--ink-2);
}

.onox-location__card > * {
	margin: 0 !important;
}

.onox-location__card .onox-icon-badge {
	width: auto;
	height: auto;
	background: none;
}

@media (max-width: 900px) {
	.onox-location__card {
		left: 16px;
	}
}

@media (max-width: 560px) {
	.onox-location__visual {
		padding-bottom: 0;
	}

	.onox-location__card {
		position: relative;
		left: auto;
		width: auto;
		margin: -40px 12px 0 !important;
	}
}

/* ---------- Initiative ---------- */
.onox-initiative {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	margin-top: 48px !important;
	padding: clamp(32px, 5vw, 56px);
	border: 1px solid var(--wp--preset--color--blue-200);
	border-radius: var(--onox-radius-xl);
	background: linear-gradient(135deg, var(--wp--preset--color--blue-50), #fff);
	scroll-margin-top: calc(var(--onox-header-h) + 24px);
}

.onox-initiative__text {
	display: grid;
	gap: 16px;
}

.onox-initiative > *,
.onox-initiative__text > *,
.onox-initiative__actions > * {
	margin: 0 !important;
}

.onox-initiative__actions {
	display: grid;
	gap: 12px;
}

@media (max-width: 820px) {
	.onox-initiative {
		grid-template-columns: 1fr;
	}
}

/* ---------- Contact and staff request ---------- */
.onox-contact-split,
.onox-request-split {
	gap: clamp(24px, 4vw, 48px) !important;
	margin-top: 48px !important;
}

.onox-request-split {
	margin-top: 0 !important;
}

.onox-form-card {
	display: grid;
	gap: 24px;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--onox-radius-xl);
	background: #fff;
	box-shadow: var(--onox-shadow-md);
	scroll-margin-top: calc(var(--onox-header-h) + 24px);
}

.onox-form-card > * {
	margin: 0 !important;
}

.onox-aside {
	display: grid;
	gap: 16px;
}

.onox-aside > * {
	margin: 0 !important;
}

.onox-panel {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--onox-radius-lg);
	background: var(--wp--preset--color--bg-soft);
	scroll-margin-top: calc(var(--onox-header-h) + 24px);
}

.onox-panel > * {
	margin: 0 !important;
}

.onox-panel p {
	color: var(--wp--preset--color--ink-2);
	font-size: 0.9688rem;
}

.onox-panel--dark {
	border: 0;
	background:
		radial-gradient(400px 220px at 100% 0%, rgb(92 203 244 / 0.25), transparent 70%),
		linear-gradient(140deg, var(--wp--preset--color--blue-800), var(--wp--preset--color--blue-900));
	color: #fff;
}

.onox-panel--dark h2 {
	color: #fff;
}

.onox-panel--dark p,
.onox-panel--dark .onox-muted {
	color: rgb(255 255 255 / 0.8);
}

ul.onox-direct {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

ul.onox-direct a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

ul.onox-direct a::before {
	content: '';
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--onox-i-phone) center / contain no-repeat;
	mask: var(--onox-i-phone) center / contain no-repeat;
}

ul.onox-direct a[href^='mailto']::before {
	-webkit-mask-image: var(--onox-i-mail);
	mask-image: var(--onox-i-mail);
}

ul.onox-direct a:hover {
	color: var(--wp--preset--color--sky);
}

/* ---------- Single job ---------- */
.onox-job-hero {
	padding-block: 40px 48px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: linear-gradient(180deg, var(--wp--preset--color--blue-50), #fff);
}

.onox-job-hero .alignwide {
	display: grid;
	gap: 18px;
}

.onox-job-hero .alignwide > * {
	margin: 0 !important;
}

.onox-job-hero h1 {
	max-width: 900px;
	font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.onox-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.onox-job {
	padding-top: 56px;
}

.onox-job__layout {
	gap: clamp(32px, 5vw, 72px) !important;
}

/* Application section on job pages ("Jetzt bewerben" jumps here) */
#bewerben {
	scroll-margin-top: var(--onox-header-h);
}

.onox-apply-split > .wp-block-column:first-child > * {
	margin-block: 0 16px;
}

.onox-apply-split .onox-numbered {
	margin-top: 28px !important;
}

/* ---------- Long text (legal pages, job ads) ---------- */
.onox-prose {
	color: var(--wp--preset--color--ink-2);
}

.onox-prose h2 {
	margin-top: 2em;
	font-size: 1.5rem;
}

.onox-prose h3 {
	margin-top: 1.6em;
	font-size: 1.15rem;
}

.onox-prose h2 + *,
.onox-prose h3 + * {
	margin-top: 0.6em;
}

.onox-prose .wp-block-post-content > :first-child {
	margin-top: 0;
}

.onox-prose strong {
	color: var(--wp--preset--color--ink);
}

.onox-prose li + li {
	margin-top: 0.4em;
}

.onox-prose li::marker {
	color: var(--wp--preset--color--blue-600);
}

mark.onox-todo {
	padding: 2px 6px;
	border-radius: 4px;
	background: #fff3c4;
	color: #6b4e00;
	font-weight: 600;
}

.onox-notice {
	padding: 16px 20px;
	border: 1px solid #f1d48a;
	border-radius: var(--onox-radius);
	background: #fff9e6;
	color: #5e4500 !important;
	font-size: 0.95rem;
}

/* ---------- 404 and thank-you ---------- */
.onox-not-found__code {
	margin: 0 !important;
	color: var(--wp--preset--color--blue-100);
	font-size: clamp(6rem, 18vw, 10rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.onox-thanks {
	display: grid;
	justify-items: center;
	gap: 20px;
	text-align: center;
}

.onox-thanks > * {
	margin: 0 !important;
}

.onox-thanks .onox-icon-badge {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #e3f6ea;
	color: #1a7f45;
}

/* ---------- Footer ---------- */
.onox-footer {
	background: var(--wp--preset--color--blue-950);
	color: rgb(255 255 255 / 0.72);
	font-size: 0.9688rem;
}

.onox-footer a {
	color: rgb(255 255 255 / 0.72);
	text-decoration: none;
	transition: color 0.2s;
}

.onox-footer a:hover {
	color: #fff;
}

.onox-footer__top {
	display: grid;
	grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(160px, 1fr));
	gap: 48px 40px;
	padding-block: 80px 56px;
}

.onox-footer__top > *,
.onox-footer__brand > *,
.onox-footer__col > * {
	margin: 0 !important;
}

.onox-footer__brand {
	display: grid;
	align-content: start;
	gap: 22px;
	max-width: 360px;
}

.onox-footer__brand .onox-logo img {
	height: 52px;
}

.onox-footer__col {
	display: grid;
	align-content: start;
	gap: 18px;
}

.onox-footer__title {
	color: #fff;
	font-size: 0.875rem !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
}

.onox-footer ul {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.onox-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.onox-footer__contact a::before {
	content: '';
	flex: none;
	width: 18px;
	height: 18px;
	background: var(--wp--preset--color--sky);
	-webkit-mask: var(--onox-i-phone) center / contain no-repeat;
	mask: var(--onox-i-phone) center / contain no-repeat;
}

.onox-footer__contact a[href^='mailto']::before {
	-webkit-mask-image: var(--onox-i-mail);
	mask-image: var(--onox-i-mail);
}

.onox-footer__contact a[href*='openstreetmap']::before {
	-webkit-mask-image: var(--onox-i-pin);
	mask-image: var(--onox-i-pin);
}

body .onox-footer__member {
	gap: 20px;
	margin-top: 0 !important;
	padding-block: 28px;
	border-top: 1px solid rgb(255 255 255 / 0.1);
	font-size: 0.875rem;
}

.onox-footer__member > * {
	margin: 0 !important;
}

.onox-footer__gvp img {
	width: auto;
	height: 56px;
	padding: 8px 12px;
	border-radius: 10px;
	background: #fff;
}

body .onox-footer__bottom {
	gap: 16px;
	margin-top: 0 !important;
	padding-block: 24px 32px;
	border-top: 1px solid rgb(255 255 255 / 0.1);
	font-size: 0.875rem;
}

.onox-footer__bottom > * {
	margin: 0 !important;
}

ul.onox-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

@media (max-width: 960px) {
	.onox-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.onox-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.onox-footer__top {
		grid-template-columns: 1fr;
		padding-top: 56px;
	}
}

/* ---------- Columns stacking ---------- */
@media (max-width: 781px) {
	.wp-block-columns.onox-page-hero__split,
	.wp-block-columns.onox-split,
	.wp-block-columns.onox-leader,
	.wp-block-columns.onox-location,
	.wp-block-columns.onox-faq-wrap,
	.wp-block-columns.onox-job__layout {
		gap: 32px !important;
	}

	.onox-leader-card {
		max-width: 360px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

/* ---------- ONOX Chat entry, independent of the assistant plugin ---------- */
.onox-header__cta { display: flex; align-items: center; gap: 9px; }
.onox-header__cta .onox-chat-header .wp-block-button__link {
    min-height: 42px; padding: 9px 15px; font-size: 0.9375rem;
    background: #eaf4fa; color: #075b87; border: 1px solid #c3dcec;
}
.onox-header__cta .onox-chat-header .wp-block-button__link:hover,
.onox-header__cta .onox-chat-header .wp-block-button__link:focus-visible {
    background: #d8ebf5; color: #03476c;
}
