/* ==========================================================================
   busol – main.css
   The complete stylesheet of the theme "busol" (enqueued by functions.php as
   "busol-main"; also imported by editor.css for the editor preview).

   Order: fonts · tokens (custom properties) · base · layout ·
          header/navigation · buttons · front page sections · sub pages ·
          content blocks · footer · animation · dark mode · reduced motion ·
          later additions.

   Works with:
   - header.php: busolFitNav sets html.nav-mobile / .nav-narrow / .nav-measuring,
     --nav-s on <html> and --nav-l / --nav-r on .site-header.
   - assets/js/main.js: .is-scrolled, .is-open, .nav-open, .is-in, .is-current,
     --d, --mx/--my and the lightbox markup.
   - Plugin busol-darkmode: sets html[data-theme="dark"]; the dark colours are
     defined here (the theme declares the support "busol-darkmode").
   - Content blocks written in the editor (see inc/content.php).
   ========================================================================== */

/* ---------- Fonts (served locally, no external requests) ---------- */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/manrope-latin-wght-normal.woff2")
		format("woff2-variations");
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
		U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2")
		format("woff2-variations");
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
		U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-wght-normal.woff2")
		format("woff2-variations");
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
		U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2")
		format("woff2-variations");
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
		U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
	/* Brand (taken from the logo) */
	--brand: #1b569e;
	--brand-600: #154682;
	--brand-700: #0f3566;
	--brand-300: #6ea6ec;
	--brand-100: #e7f0fb;
	--brand-50: #f3f7fd;
	--slate: #4e5968;

	/* Surfaces & text */
	--bg: #f6f8fb;
	--bg-alt: #eef2f7;
	--surface: #ffffff;
	--surface-2: #f9fbfd;
	--ink: #142033;
	--text: #2c3747;
	--muted: #5d6878;
	--line: #e1e7ef;
	--line-strong: #cbd5e1;

	/* Accents */
	--navy: #0d2342;
	--navy-2: #12305a;
	--ok: #1f9d6b;
	--amber: #e9a23b;
	--danger: #b42318;

	/* Effects */
	--shadow-sm:
		0 1px 2px rgba(15, 35, 66, 0.06), 0 1px 1px rgba(15, 35, 66, 0.04);
	--shadow:
		0 10px 30px -12px rgba(15, 35, 66, 0.18),
		0 2px 6px rgba(15, 35, 66, 0.05);
	--shadow-lg:
		0 30px 60px -24px rgba(15, 35, 66, 0.28),
		0 8px 18px -8px rgba(15, 35, 66, 0.1);
	--glow: 0 18px 50px -18px rgba(27, 86, 158, 0.45);
	--ring: 0 0 0 3px rgba(27, 86, 158, 0.28);

	/* Sizes */
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--nav-s: 1; /* Navigation scale, set by busolFitNav in header.php to fit the width (at most 1.1) */
	--nav-k: calc(
		1 + max(0, var(--nav-s) - 1)
	); /* Logo and contact button: at most +10 % */
	--nav-h: calc(
		1 + max(0, var(--nav-s) - 1) * 0.5
	); /* Header height: at most +5 % */
	--header-h: calc(76px * var(--nav-h));

	/* Typography */
	--font-head:
		"Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
		sans-serif;
	--font-body:
		"Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
		sans-serif;

	/* Motion */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
	--t: 0.35s;

	color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	background: var(--bg);
	transition: background-color 0.4s var(--ease);
	overflow-x: clip;
	overflow-anchor: none;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: transparent; /* The base colour is on <html> so the fixed background (.site-bg) stays visible */
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	transition:
		background-color 0.4s var(--ease),
		color 0.4s var(--ease);
}
img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: var(--brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s;
}
a:hover {
	color: var(--brand-600);
}
:focus-visible {
	outline: none;
	box-shadow: var(--ring);
	border-radius: 6px;
}
h1,
h2,
h3,
h4,
h5 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
	font-weight: 700;
}
h1 {
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	letter-spacing: -0.035em;
	font-weight: 800;
}
h2 {
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	letter-spacing: -0.03em;
}
h3 {
	font-size: 1.25rem;
}
h4 {
	font-size: 1.05rem;
}
p {
	margin: 0 0 1.1em;
}
ul,
ol {
	padding-left: 1.2em;
}
hr {
	border: 0;
	height: 1px;
	background: var(--line);
	margin: 2.5rem 0;
}
small {
	font-size: 0.85em;
}
address {
	font-style: normal;
}
::selection {
	background: rgba(27, 86, 158, 0.18);
}

.ico {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}
.ico--inline {
	display: inline-block;
	vertical-align: -0.2em;
	color: var(--brand);
}
.ico--flip {
	transform: scaleX(-1);
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 1000;
	background: var(--brand);
	color: #fff;
	padding: 10px 16px;
	border-radius: 10px;
	transition: top 0.2s;
}
.skip-link:focus {
	top: 12px;
	color: #fff;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* Fixed background for all pages (does not scroll) */
.site-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
}
.site-bg > span {
	position: absolute;
}
.site-bg__glow {
	border-radius: 50%;
}
.site-bg__glow--a {
	width: min(900px, 120vw);
	aspect-ratio: 1;
	right: -18vw;
	top: -32vh;
	background: radial-gradient(
		circle,
		rgba(110, 166, 236, 0.42),
		transparent 62%
	);
}
.site-bg__glow--b {
	width: min(760px, 110vw);
	aspect-ratio: 1;
	left: -22vw;
	bottom: -38vh;
	background: radial-gradient(
		circle,
		rgba(27, 86, 158, 0.2),
		transparent 62%
	);
}
.site-bg__grid {
	inset: 0;
	opacity: 0.5;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(
		ellipse 65% 70% at 78% 30%,
		#000 15%,
		transparent 72%
	);
	-webkit-mask-image: radial-gradient(
		ellipse 65% 70% at 78% 30%,
		#000 15%,
		transparent 72%
	);
}
.site-bg__dots {
	inset: 0;
	opacity: 0.5;
	background-image: radial-gradient(
		circle at 1px 1px,
		rgba(27, 86, 158, 0.1) 1px,
		transparent 0
	);
	background-size: 28px 28px;
	mask-image: radial-gradient(
		ellipse 60% 60% at 15% 85%,
		#000 10%,
		transparent 70%
	);
	-webkit-mask-image: radial-gradient(
		ellipse 60% 60% at 15% 85%,
		#000 10%,
		transparent 70%
	);
}
.site-bg__mark {
	width: min(760px, 95vw);
	aspect-ratio: 1;
	right: max(-140px, -12vw);
	top: 50%;
	translate: 0 -46%;
	opacity: 0.075;
	background: linear-gradient(150deg, var(--brand-300), var(--brand));
	-webkit-mask: url("../img/b-mark.png") center / contain no-repeat;
	mask: url("../img/b-mark.png") center / contain no-repeat;
}
@media (max-width: 760px) {
	.site-bg__mark {
		top: auto;
		bottom: 4vh;
		translate: none;
		right: -30vw;
		opacity: 0.06;
	}
}

/* ---------- Buttons ---------- */
.btn {
	--bg-btn: var(--brand);
	--fg-btn: #fff;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.78em 1.25em;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	font: 600 1rem/1.1 var(--font-head);
	letter-spacing: -0.01em;
	text-decoration: none;
	color: var(--fg-btn);
	background: var(--bg-btn);
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.3s var(--ease),
		background-color 0.3s,
		color 0.3s;
	-webkit-tap-highlight-color: transparent;
}
.btn .ico {
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.3s var(--ease);
}
.btn:hover .ico {
	transform: translateX(3px);
}
.btn:hover {
	color: var(--fg-btn);
	transform: translateY(-1px);
}
.btn:active {
	transform: translateY(0) scale(0.98);
}
/* Circular ripple on hover (without border) */
.btn::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: var(--mx, 50%);
	top: var(--my, 50%);
	width: 0;
	height: 0;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.18);
	transition:
		width 0.5s var(--ease),
		height 0.5s var(--ease);
}
.btn:hover::before {
	width: 260%;
	height: 600%;
}
.btn--primary {
	box-shadow: var(--glow);
}
.btn--primary:hover {
	box-shadow: 0 22px 50px -16px rgba(27, 86, 158, 0.6);
}
.btn--ghost {
	--bg-btn: transparent;
	--fg-btn: var(--brand);
	background: var(--brand-100);
}
.btn--ghost::before {
	background: rgba(27, 86, 158, 0.12);
}
.btn--ghost:hover {
	--fg-btn: var(--brand-600);
}
.btn--light {
	--bg-btn: #fff;
	--fg-btn: var(--navy);
	box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.45);
}
.btn--light::before {
	background: rgba(27, 86, 158, 0.1);
}
.btn--glass {
	--bg-btn: rgba(255, 255, 255, 0.1);
	--fg-btn: #fff;
	backdrop-filter: blur(6px);
}
.btn--sm {
	padding: 0.62em 1em;
	font-size: 0.92rem;
}
.btn--lg {
	padding: 0.95em 1.5em;
	font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: color-mix(in srgb, var(--surface) 72%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--surface) 60%, transparent)
		inset;
	transition:
		height 0.35s var(--ease),
		background-color 0.35s,
		border-color 0.35s,
		box-shadow 0.35s;
}
.site-header.is-scrolled {
	--header-h: 50px;
	background: color-mix(in srgb, var(--surface) 86%, transparent);
	border-bottom-color: var(--line);
	box-shadow: 0 8px 30px -20px rgba(15, 35, 66, 0.35);
}
.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
}
/* The header may be wider than the content so all menu items fit */
/* Desktop: menu exactly above the content width, logo to its left, switch + contact button to its right.
   The column widths (--nav-l / --nav-r) are set by the script in header.php; they stay the same while scrolling. */
.site-header > .header-inner {
	max-width: calc(1400px + var(--gutter) * 2);
}
html:not(.nav-mobile) .site-header > .header-inner {
	max-width: none;
	display: grid;
	gap: 0;
	padding: 0 16px;
	grid-template-columns: var(--nav-l, auto) minmax(0, 1fr) var(--nav-r, auto);
}
html:not(.nav-mobile) .site-header .brand {
	justify-self: end;
	padding-right: 18px;
}
html:not(.nav-mobile) .site-header .main-nav {
	justify-content: stretch;
	min-width: 0;
}
html:not(.nav-mobile) .site-header .menu {
	width: 100%;
	justify-content: space-between;
}
html:not(.nav-mobile) .site-header .header-actions {
	justify-self: start;
	padding-left: 18px;
}
/* while busolFitNav measures (header.php, also called by main.js): no transitions */
html.nav-measuring .site-header,
html.nav-measuring .site-header * {
	transition: none !important;
}

/* Logo: when scrolled, the word mark turns into the "b" mark */
.brand {
	display: grid;
	flex: none;
	line-height: 0;
	align-items: center;
}
.brand > img {
	grid-area: 1 / 1;
}
.brand .logo {
	height: calc(46px * var(--nav-k));
	width: auto;
	transition:
		height 0.4s var(--ease),
		opacity 0.3s var(--ease),
		transform 0.4s var(--ease);
	transform-origin: left center;
}
.brand .logo-mark {
	width: 32px;
	height: 32px;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.5) rotate(-90deg);
	transition:
		opacity 0.3s var(--ease),
		transform 0.5s var(--ease-spring);
	pointer-events: none;
}
.is-scrolled .brand .logo {
	opacity: 0;
	transform: scale(0.7);
} /* the width stays so nothing shifts */
.is-scrolled .brand .logo-mark {
	opacity: 1;
	transform: none;
}
.is-scrolled .brand:hover .logo-mark {
	transform: rotate(-12deg) scale(1.06);
}
/* compact bar */
.is-scrolled .menu > li > a,
.is-scrolled .menu > li > .menu-parent {
	padding-top: 7px;
	padding-bottom: 7px;
	font-size: calc(0.84rem * var(--nav-s));
}
.is-scrolled .menu > li > a::after,
.is-scrolled .menu > li > .menu-parent::after {
	bottom: 1px;
}
.is-scrolled .header-cta {
	padding: 0.45em 0.95em;
	font-size: 0.88rem;
}
.is-scrolled .nav-toggle {
	width: 38px;
	height: 38px;
	border-radius: 10px;
}
.is-scrolled .nav-toggle span {
	left: 10px;
	right: 10px;
}
.is-scrolled .nav-toggle span:nth-child(1) {
	top: 12px;
}
.is-scrolled .nav-toggle span:nth-child(2) {
	top: 18px;
}
.is-scrolled .nav-toggle span:nth-child(3) {
	top: 24px;
}
.is-scrolled .sub-menu {
	top: calc(100% + 6px);
}
.menu > li > a,
.menu > li > .menu-parent,
.header-cta,
.nav-toggle {
	transition:
		padding 0.35s var(--ease),
		font-size 0.35s var(--ease),
		width 0.35s var(--ease),
		height 0.35s var(--ease),
		color 0.2s,
		transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}
.logo--dark {
	display: none;
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.main-nav__head,
.main-nav__foot {
	display: none;
}
.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0;
}
.menu > li {
	position: relative;
	display: flex;
	align-items: center;
}
.menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0.66em 0.4em;
	border-radius: 10px;
	color: var(--ink);
	text-decoration: none;
	font: 600 calc(0.9rem * var(--nav-s))/1 var(--font-head);
	letter-spacing: -0.01em;
	white-space: nowrap;
	position: relative;
}
.menu > li > a::after {
	content: "";
	position: absolute;
	left: 0.4em;
	right: 0.4em;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.menu > li:hover > a::after,
.menu > li.is-active > a::after {
	transform: scaleX(1);
}
.menu > li.is-active > a {
	color: var(--brand);
}
.menu .ico--ext {
	width: 0.9em;
	height: 0.9em;
	opacity: 0.55;
}
.menu > li > .menu-parent {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.66em 0.4em;
	border-radius: 10px;
	color: var(--ink);
	background: none;
	font: 600 calc(0.9rem * var(--nav-s))/1 var(--font-head);
	letter-spacing: -0.01em;
	white-space: nowrap;
	position: relative;
}
.menu > li > .menu-parent .ico {
	width: 1em;
	height: 1em;
	color: var(--muted);
	transition: transform 0.3s var(--ease);
}
.menu > li > .menu-parent::after {
	content: "";
	position: absolute;
	left: 0.4em;
	right: 0.4em;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.menu > li:hover > .menu-parent::after,
.menu > li.is-active > .menu-parent::after,
.menu > li.is-open > .menu-parent::after {
	transform: scaleX(1);
}
.menu > li.is-active > .menu-parent {
	color: var(--brand);
}

.sub-toggle {
	display: inline-grid;
	place-items: center;
	width: calc(22px * var(--nav-s));
	height: calc(22px * var(--nav-s));
	margin-left: -8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	cursor: pointer;
	border-radius: 6px;
}
.sub-toggle .ico {
	width: calc(15px * var(--nav-s));
	height: calc(15px * var(--nav-s));
	transition: transform 0.3s var(--ease);
}
.has-children:hover > .sub-toggle .ico,
.has-children.is-open > .sub-toggle .ico {
	transform: rotate(180deg);
}

.sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	min-width: 270px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px) scale(0.98);
	transform-origin: top center;
	transition:
		opacity 0.25s var(--ease),
		transform 0.3s var(--ease),
		visibility 0s 0.3s;
}
.sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}
.has-children:hover > .sub-menu,
.has-children:focus-within > .sub-menu,
.has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0) scale(1);
	transition-delay: 0s;
}
.sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--ink);
	font: 600 0.95rem/1.25 var(--font-head);
	transition:
		background-color 0.2s,
		color 0.2s,
		padding 0.25s var(--ease);
}
.sub-menu a small {
	display: block;
	font: 400 0.85rem/1.3 var(--font-body);
	color: var(--muted);
}
.sub-menu a:hover {
	background: var(--brand-50);
	color: var(--brand);
	padding-left: 16px;
}
.sub-menu li.is-active > a {
	color: var(--brand);
}
.menu .has-children > .sub-menu.sub-menu--nested {
	position: static;
	opacity: 1;
	visibility: inherit;
	transform: none;
	min-width: 0;
	max-height: none;
	box-shadow: none;
	border: 0;
	border-left: 2px solid var(--line);
	border-radius: 0;
	background: none;
	padding: 0 0 4px 8px;
	margin: 0 0 4px 14px;
	transition: none;
}
.menu .sub-menu.sub-menu--nested::before {
	display: none;
}
.sub-menu--nested a {
	font-weight: 500;
	font-size: 0.9rem;
	padding: 7px 10px;
	color: var(--muted);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}
.header-cta {
	font-size: calc(0.92rem * var(--nav-k));
}
.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--surface);
	cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition:
		transform 0.35s var(--ease),
		opacity 0.2s;
}
.nav-toggle span:nth-child(1) {
	top: 15px;
}
.nav-toggle span:nth-child(2) {
	top: 21px;
}
.nav-toggle span:nth-child(3) {
	top: 27px;
}
.nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(8, 18, 34, 0.45);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.35s;
}
.nav-backdrop.is-visible {
	opacity: 1;
}

/* Mobile menu: the class nav-mobile is set by busolFitNav (header.php, re-run by main.js) as soon as the bar no longer fits into one line */
/* backdrop-filter would make the header the containing block of the fixed menu */
html.nav-mobile .site-header {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background: color-mix(in srgb, var(--bg) 96%, transparent);
}
html.nav-mobile .site-header.is-scrolled {
	background: var(--surface);
}
html.nav-mobile .nav-toggle {
	display: block;
}
html.nav-mobile .header-cta {
	display: none;
}
html.nav-mobile .main-nav {
	position: fixed;
	z-index: 150;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 100vw);
	flex-direction: column;
	justify-content: flex-start;
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	transform: translateX(104%);
	visibility: hidden;
	transition:
		transform 0.45s var(--ease),
		visibility 0s 0.45s;
	overflow-y: auto;
	overscroll-behavior: contain;
}
html.nav-mobile .main-nav.is-open {
	transform: none;
	visibility: visible;
	transition-delay: 0s;
}
html.nav-mobile .main-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
	font: 700 1rem var(--font-head);
	color: var(--ink);
}
html.nav-mobile .nav-close {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 0;
	background: var(--bg-alt);
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
}
html.nav-mobile .menu {
	flex-direction: column;
	align-items: stretch;
	padding: 12px;
	gap: 2px;
}
html.nav-mobile .menu > li {
	flex-wrap: wrap;
}
html.nav-mobile .menu > li > a {
	flex: 1;
	padding: 14px 12px;
	font-size: 1.05rem;
}
html.nav-mobile .menu > li > a::after {
	display: none;
}
html.nav-mobile .sub-toggle {
	width: 44px;
	height: 44px;
	margin: 0;
}
html.nav-mobile .menu > li > .menu-parent {
	flex: 1;
	width: auto;
	height: auto;
	justify-content: space-between;
	padding: 14px 12px;
	font-size: 1.05rem;
}
html.nav-mobile .menu > li > .menu-parent::after {
	display: none;
}
html.nav-mobile .has-children:hover > .sub-toggle .ico {
	transform: none;
}
html.nav-mobile .has-children.is-open > .sub-toggle .ico {
	transform: rotate(180deg);
}
html.nav-mobile .sub-menu {
	position: static;
	transform: none;
	opacity: 1;
	visibility: visible;
	min-width: 0;
	width: 100%;
	box-shadow: none;
	border: 0;
	background: var(--bg);
	border-radius: 12px;
	padding: 0 6px;
	margin: 0;
	overflow: hidden;
	max-height: 0;
	transition:
		max-height 0.45s var(--ease),
		padding 0.3s var(--ease);
}
html.nav-mobile .has-children:hover > .sub-menu,
html.nav-mobile .has-children:focus-within > .sub-menu {
	transform: none;
}
html.nav-mobile .has-children.is-open > .sub-menu {
	max-height: 900px;
	padding: 6px;
}
html.nav-mobile .sub-menu::before {
	display: none;
}
html.nav-mobile .main-nav__foot {
	display: grid;
	gap: 8px;
	padding: 16px 20px 28px;
	margin-top: auto;
	border-top: 1px solid var(--line);
}
html.nav-mobile .nav-contact {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
}
html.nav-mobile .nav-contact .ico {
	color: var(--brand);
}
html.nav-mobile body.nav-open {
	overflow: hidden;
}
html.nav-mobile body.nav-open .nav-toggle span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
html.nav-mobile body.nav-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}
html.nav-mobile body.nav-open .nav-toggle span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Sections ---------- */
.section {
	padding: clamp(64px, 9vw, 120px) 0;
	position: relative;
}
.section-head {
	max-width: 760px;
	margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head--row {
	max-width: none;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.section-head--row .section-title {
	margin-bottom: 0;
}
.section-title {
	margin-bottom: 0.45em;
}
.section-lead {
	font-size: 1.15rem;
	color: var(--muted);
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font: 700 0.8rem/1 var(--font-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand);
}
.eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.6;
}
.hero .eyebrow::before {
	display: none;
}
.pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ok);
	box-shadow: 0 0 0 4px rgba(31, 157, 107, 0.18);
}

/* Icon tile */
.tile-ico {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	flex: none;
	color: #fff;
	background: linear-gradient(140deg, var(--brand) 0%, var(--brand-600) 100%);
	box-shadow:
		0 12px 26px -12px rgba(27, 86, 158, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition: transform 0.45s var(--ease-spring);
}
.tile-ico .ico {
	width: 26px;
	height: 26px;
}
.tile-ico .ico--inline {
	color: inherit;
	vertical-align: 0;
}
.card .tile-ico .ico--inline,
.contact-card .tile-ico .ico--inline {
	width: 22px;
	height: 22px;
}
.compare h3 .ico--inline {
	width: 22px;
	height: 22px;
}
.tile-ico--glass {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
}

/* ---------- HERO ---------- */
.hero {
	position: relative;
	padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
	overflow: hidden;
	margin-top: calc(var(--header-h) * -1);
	padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px));
}
.cta-card__mark {
	position: absolute;
	background: linear-gradient(150deg, var(--brand-300), var(--brand));
	-webkit-mask: url("../img/b-mark.png") center / contain no-repeat;
	mask: url("../img/b-mark.png") center / contain no-repeat;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero__title {
	font-size: clamp(2.3rem, 5.4vw, 4.2rem);
	margin-bottom: 0.45em;
}
.hero__title em {
	font-style: normal;
	background: linear-gradient(100deg, var(--brand) 10%, var(--brand-300) 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__text {
	font-size: clamp(1.1rem, 1.6vw, 1.25rem);
	color: var(--muted);
	max-width: 580px;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 28px;
}
.hero__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	color: var(--muted);
	font-weight: 600;
	font-size: 0.98rem;
}
.hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hero__trust .ico {
	color: var(--ok);
	width: 18px;
	height: 18px;
}

.hero-in {
	opacity: 0;
	transform: translateY(18px);
	animation: heroIn 0.9s var(--ease) forwards;
	animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}
@keyframes heroIn {
	to {
		opacity: 1;
		transform: none;
	}
}

.hero__visual {
	position: relative;
	height: 460px;
	perspective: 1200px;
}
.hero__visual > * {
	transition: transform 0.6s var(--ease);
}
.hv-orbit {
	position: absolute;
	inset: 6% 8%;
	border-radius: 50%;
	border: 1px dashed var(--line-strong);
	opacity: 0.7;
	animation: hvIn 1.2s var(--ease) 0.3s both;
}
.hv-orbit::after {
	content: "";
	position: absolute;
	inset: 14%;
	border-radius: 50%;
	border: 1px solid var(--line);
}
.hv-card {
	position: absolute;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(10px);
	padding: 18px;
	animation: hvIn 1s var(--ease) both;
}
.hv-card strong {
	display: block;
	font: 700 1rem/1.2 var(--font-head);
	color: var(--ink);
}
.hv-card small {
	color: var(--muted);
	font-size: 0.85rem;
}
.hv-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.hv-badge {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	color: #fff;
	background: var(--brand);
	flex: none;
}
.hv-badge .ico {
	width: 20px;
	height: 20px;
}
.hv-badge--green {
	background: var(--ok);
}
.hv-badge--amber {
	background: var(--amber);
}
.hv-card--main {
	left: 0;
	top: 7%;
	width: 340px;
	z-index: 2;
	animation-delay: 0.35s;
}
.hv-bars {
	display: flex;
	align-items: end;
	gap: 8px;
	height: 96px;
	margin: 18px 0 14px;
	padding: 0 2px;
	border-bottom: 1px solid var(--line);
}
.hv-bars span {
	flex: 1;
	height: var(--h);
	border-radius: 6px 6px 2px 2px;
	background: linear-gradient(180deg, var(--brand-300), var(--brand));
	transform-origin: bottom;
	animation: barUp 1s var(--ease) both;
}
.hv-bars span:nth-child(1) {
	animation-delay: 0.7s;
}
.hv-bars span:nth-child(2) {
	animation-delay: 0.76s;
}
.hv-bars span:nth-child(3) {
	animation-delay: 0.82s;
}
.hv-bars span:nth-child(4) {
	animation-delay: 0.88s;
}
.hv-bars span:nth-child(5) {
	animation-delay: 0.94s;
}
.hv-bars span:nth-child(6) {
	animation-delay: 1s;
}
.hv-bars span:nth-child(7) {
	animation-delay: 1.06s;
}
@keyframes barUp {
	from {
		transform: scaleY(0);
	}
}
.hv-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: var(--muted);
	padding: 6px 0;
}
.hv-ok {
	color: var(--ok);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.hv-ok::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}
.hv-card--sec {
	right: 0;
	top: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 3;
	animation-delay: 0.55s;
}
.hv-card--mon {
	right: 0;
	bottom: 0;
	width: 270px;
	z-index: 3;
	animation-delay: 0.75s;
}
.hv-spark {
	width: 100%;
	height: 44px;
	margin-top: 12px;
}
.hv-spark path {
	fill: none;
	stroke: var(--amber);
	stroke-width: 2.4;
	stroke-linejoin: round;
	stroke-linecap: round;
	stroke-dasharray: 260;
	stroke-dashoffset: 260;
	animation: draw 1.6s var(--ease) 1.1s forwards;
}
@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes hvIn {
	from {
		opacity: 0;
		transform: translateY(26px) scale(0.96);
	}
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 26px;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border-radius: 14px;
	border: 2px solid var(--line-strong);
	opacity: 0.8;
}
.hero__scroll span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--brand);
	animation: scrollHint 1.8s var(--ease) 1.4s 2 both;
}
@keyframes scrollHint {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	70% {
		transform: translateY(14px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 980px) {
	.hero__inner {
		grid-template-columns: 1fr;
	}
	.hero__visual {
		height: 380px;
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}
	.hv-card--main {
		left: 0;
	}
	.hero__scroll {
		display: none;
	}
}
@media (max-width: 560px) {
	.hero__visual {
		height: 270px;
	}
	.hv-card--main {
		width: 78%;
		top: 40px;
		padding: 14px;
	}
	.hv-bars {
		height: 64px;
		margin: 12px 0 10px;
	}
	.hv-card--mon {
		display: none;
	}
	.hv-card--sec {
		right: 0;
		top: 0;
		padding: 12px 14px;
	}
	.bh__text {
		font-size: 0.88rem;
	}
}

/* ---------- Figures ---------- */
.stats {
	position: relative;
	z-index: 2;
	margin-top: -36px;
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.stat {
	padding: 28px 24px;
	text-align: center;
	position: relative;
}
.stat + .stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 24%;
	bottom: 24%;
	width: 1px;
	background: var(--line);
}
.stat__value {
	display: block;
	font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-head);
	letter-spacing: -0.04em;
	color: var(--brand);
	font-variant-numeric: tabular-nums;
}
.stat__label {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-weight: 600;
}
@media (max-width: 760px) {
	.stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.stat:nth-child(3)::before {
		display: none;
	}
	.stat:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}
}

/* ---------- Bento (service areas) ---------- */
.bento {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 18px;
}
.bento__item {
	grid-column: span 3;
	position: relative;
	padding: 28px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.45s var(--ease),
		box-shadow 0.45s var(--ease),
		border-color 0.3s;
}
.bento__item--big {
	grid-column: span 6;
	padding: 34px;
}
.bento__item h3 {
	margin: 20px 0 8px;
	font-size: 1.3rem;
}
.bento__item--big h3 {
	font-size: 1.55rem;
}
.bento__item p {
	color: var(--muted);
	margin: 0;
}
.bento__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.bento__arrow {
	position: absolute;
	right: 22px;
	top: 22px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--brand);
	background: var(--brand-50);
	transition:
		transform 0.45s var(--ease),
		background-color 0.3s,
		color 0.3s;
}
.bento__arrow .ico {
	width: 18px;
	height: 18px;
}
/* Light follows the pointer */
.bento__item::before,
.tile::before,
.why__item::before,
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s;
	background: radial-gradient(
		420px circle at var(--mx, 50%) var(--my, 50%),
		rgba(110, 166, 236, 0.16),
		transparent 45%
	);
}
.bento__item:hover,
.tile:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: color-mix(in srgb, var(--brand) 25%, var(--line));
}
.bento__item:hover::before,
.tile:hover::before,
.why__item:hover::before,
.card:hover::before {
	opacity: 1;
}
.bento__item:hover .tile-ico,
.tile:hover .tile-ico,
.why__item:hover .tile-ico,
.card:hover .tile-ico {
	transform: rotate(-6deg) scale(1.06);
}
.bento__item:hover .bento__arrow {
	transform: rotate(45deg);
	background: var(--brand);
	color: #fff;
}
.chips {
	position: relative;
	z-index: 2;
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chips a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--bg-alt);
	color: var(--ink);
	text-decoration: none;
	font: 600 0.86rem/1.2 var(--font-head);
	transition:
		background-color 0.25s,
		color 0.25s;
}
.chips a:hover {
	background: var(--brand);
	color: #fff;
}
@media (max-width: 1100px) {
	.bento {
		grid-template-columns: repeat(2, 1fr);
	}
	.bento__item,
	.bento__item--big {
		grid-column: span 1;
	}
}
@media (max-width: 620px) {
	.bento {
		grid-template-columns: 1fr;
	}
	.bento__item,
	.bento__item--big {
		padding: 24px;
	}
}

/* ---------- Products ---------- */
.products {
	position: relative;
	padding: clamp(72px, 9vw, 120px) 0;
	color: #d6e2f2;
	overflow: hidden;
	isolation: isolate;
	background: var(--navy);
}
.products__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(
			800px 400px at 85% 0%,
			rgba(110, 166, 236, 0.28),
			transparent 60%
		),
		radial-gradient(
			700px 500px at 0% 100%,
			rgba(27, 86, 158, 0.45),
			transparent 60%
		),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.products__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.2;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom, #000, transparent);
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.section-head--light .section-title {
	color: #fff;
}
.section-head--light .eyebrow {
	color: var(--brand-300);
}
.products__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.product {
	position: relative;
	padding: clamp(26px, 3.4vw, 40px);
	border-radius: var(--radius-lg);
	background: linear-gradient(
		160deg,
		rgba(255, 255, 255, 0.08),
		rgba(255, 255, 255, 0.03)
	);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	transition:
		transform 0.45s var(--ease),
		border-color 0.3s,
		background-color 0.3s;
}
.product:hover {
	transform: translateY(-4px);
	border-color: rgba(110, 166, 236, 0.45);
}
.product h3 {
	color: #fff;
	font-size: 1.7rem;
	margin: 22px 0 10px;
}
.product p {
	color: #b9c8dc;
}
.product__badge {
	position: absolute;
	top: 26px;
	right: 26px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--amber);
	color: #2a1900;
	font: 800 0.75rem/1 var(--font-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.product__badge--muted {
	background: rgba(255, 255, 255, 0.12);
	color: #d6e2f2;
}
@media (max-width: 860px) {
	.products__grid {
		grid-template-columns: 1fr;
	}
}

/* Checklist */
.checks {
	list-style: none;
	padding: 0;
	margin: 0 0 1.4em;
	display: grid;
	gap: 10px;
}
.checks li {
	position: relative;
	padding-left: 32px;
}
.checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 20px;
	height: 20px;
	background: var(--brand);
	-webkit-mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
		center / contain no-repeat;
}
.checks--light li {
	color: #e4ecf7;
}
.checks--light li::before {
	background: var(--brand-300);
}
.checks--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 28px;
}
@media (max-width: 640px) {
	.checks--2 {
		grid-template-columns: 1fr;
	}
}

/* ---------- Why busol ---------- */
.why {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.why .section-head {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	margin: 0;
}
.why__list {
	display: grid;
	gap: 16px;
}
.why__item {
	position: relative;
	display: flex;
	gap: 18px;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.45s var(--ease),
		box-shadow 0.45s var(--ease);
}
.why__item:hover {
	transform: translateX(6px);
	box-shadow: var(--shadow);
}
.why__item h3 {
	margin: 4px 0 6px;
}
.why__item p {
	margin: 0;
	color: var(--muted);
}
@media (max-width: 900px) {
	.why {
		grid-template-columns: 1fr;
	}
	.why .section-head {
		position: static;
	}
}

/* ---------- Technology partners ---------- */
.partners {
	padding: 0 0 clamp(56px, 8vw, 96px);
}
.partners__label {
	text-align: center;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 18px;
}
.partners__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.partners__list li {
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface);
	font: 800 1.05rem/1 var(--font-head);
	letter-spacing: -0.02em;
	color: var(--slate);
	transition:
		color 0.3s,
		border-color 0.3s,
		transform 0.35s var(--ease),
		box-shadow 0.35s;
}
.partners__list li:hover {
	color: var(--brand);
	border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

/* ---------- News (Aktuelles) ---------- */
.section--news {
	background: linear-gradient(180deg, transparent, var(--bg-alt));
}
.news--with-feed {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 24px;
	align-items: start;
}
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.news--with-feed .posts-grid {
	grid-template-columns: repeat(2, 1fr);
}
.post-card {
	height: 100%;
}
.posts-grid--home > .post-card:only-child {
	grid-column: 1 / -1;
}
.posts-grid--home > .post-card:only-child .post-card__link {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
}
.posts-grid--home > .post-card:only-child .post-card__img {
	aspect-ratio: auto;
	min-height: 300px;
}
.posts-grid--home > .post-card:only-child .post-card__body {
	padding: clamp(24px, 4vw, 44px);
	justify-content: center;
}
.posts-grid--home > .post-card:only-child h3 {
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}
@media (max-width: 760px) {
	.posts-grid--home > .post-card:only-child .post-card__link {
		grid-template-columns: 1fr;
	}
	.posts-grid--home > .post-card:only-child .post-card__img {
		min-height: 0;
		aspect-ratio: 16/10;
	}
}
.post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition:
		transform 0.45s var(--ease),
		box-shadow 0.45s var(--ease);
}
.post-card__link:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	color: inherit;
}
.post-card__img {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--bg-alt);
}
.post-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.post-card__link:hover .post-card__img img {
	transform: scale(1.05);
}
.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}
.post-card__body time {
	font: 700 0.78rem/1 var(--font-head);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 10px;
}
.post-card__body h3 {
	margin: 0 0 8px;
	font-size: 1.2rem;
}
.post-card__body p {
	color: var(--muted);
	margin: 0 0 16px;
}
.tile-more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 700 0.92rem/1 var(--font-head);
	color: var(--brand);
}
.tile-more .ico {
	width: 16px;
	height: 16px;
	transition: transform 0.35s var(--ease);
}
a:hover .tile-more .ico,
.tile:hover .tile-more .ico {
	transform: translateX(4px);
}
.feed {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px;
}
.feed__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.05rem;
	margin-bottom: 12px;
}
.feed__title .ico {
	color: var(--brand);
}
.feed ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.feed li + li {
	border-top: 1px solid var(--line);
}
.feed a {
	display: block;
	padding: 12px 0;
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
	line-height: 1.35;
}
.feed a:hover {
	color: var(--brand);
}
.feed time {
	display: block;
	font-size: 0.8rem;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 4px;
}
@media (max-width: 1000px) {
	.news--with-feed {
		grid-template-columns: 1fr;
	}
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.posts-grid,
	.news--with-feed .posts-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Meeting room ---------- */
.room {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}
.room__media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4/3;
	box-shadow: var(--shadow-lg);
	background: var(--bg-alt);
}
.room__media img {
	width: 100%;
	height: 115%;
	object-fit: cover;
	will-change: transform;
}
.room__tag {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font: 700 0.88rem/1 var(--font-head);
	box-shadow: var(--shadow);
}
.room__tag .ico {
	color: var(--brand);
	width: 16px;
	height: 16px;
}
.mini-feats {
	list-style: none;
	padding: 0;
	margin: 22px 0 28px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.mini-feats li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--ink);
}
.mini-feats .ico {
	color: var(--brand);
	width: 22px;
	height: 22px;
	padding: 8px;
	box-sizing: content-box;
	border-radius: 10px;
	background: var(--brand-50);
}
.room__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
@media (max-width: 900px) {
	.room {
		grid-template-columns: 1fr;
	}
}

/* ---------- Contact band (CTA) ---------- */
.cta-band {
	padding: 0 0 clamp(64px, 8vw, 104px);
}
.section + .cta-band,
.section--children + .cta-band {
	padding-top: 0;
}
.cta-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: grid;
	grid-template-columns: 1.2fr auto;
	gap: 32px;
	align-items: center;
	padding: clamp(30px, 5vw, 56px);
	border-radius: var(--radius-lg);
	color: #dbe6f5;
	background: linear-gradient(
		130deg,
		var(--brand) 0%,
		var(--brand-700) 70%,
		var(--navy) 100%
	);
	box-shadow: 0 30px 70px -30px rgba(27, 86, 158, 0.65);
}
.cta-card__mark {
	width: 420px;
	height: 420px;
	right: -80px;
	top: -90px;
	opacity: 0.14;
	z-index: -1;
	background: #fff;
}
.cta-card h2 {
	color: #fff;
	margin-bottom: 0.35em;
}
.cta-card p {
	margin: 0;
	color: #cfdcf0;
	max-width: 560px;
	font-size: 1.08rem;
}
.cta-card__actions {
	display: grid;
	gap: 14px;
	justify-items: start;
}
.cta-phone {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
	font: 700 1.2rem/1.2 var(--font-head);
}
.cta-phone:hover {
	color: #fff;
}
.cta-phone .ico {
	width: 22px;
	height: 22px;
	padding: 10px;
	box-sizing: content-box;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
}
.cta-phone small {
	display: block;
	font: 500 0.82rem/1.3 var(--font-body);
	color: #b8cbe6;
}
@media (max-width: 860px) {
	.cta-card {
		grid-template-columns: 1fr;
	}
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	overflow: hidden;
	background: #0a1628;
	color: #a8b6c8;
	padding: clamp(56px, 7vw, 88px) 0 0;
	isolation: isolate;
}
.footer-glow {
	position: absolute;
	z-index: -1;
	width: 700px;
	height: 400px;
	left: 50%;
	top: -260px;
	transform: translateX(-50%);
	background: radial-gradient(
		closest-side,
		rgba(27, 86, 158, 0.55),
		transparent
	);
	filter: blur(20px);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
}
.footer-grid.has-products {
	grid-template-columns: 1.3fr 0.85fr 1fr 1fr 1.2fr;
	gap: 32px;
}
@media (max-width: 1140px) {
	.footer-grid.has-products {
		grid-template-columns: repeat(4, 1fr);
	}
	.footer-grid.has-products > .footer-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 900px) {
	.footer-grid.has-products {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.footer-grid.has-products {
		grid-template-columns: 1fr;
	}
}
.footer-brand .logo--footer {
	display: block;
	height: 56px;
	width: auto;
	margin-bottom: 18px;
}
.footer-claim {
	font: 700 1rem var(--font-head);
	color: var(--brand-300);
}
.footer-title {
	font: 800 0.8rem/1 var(--font-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 18px;
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.footer-links a,
.footer-links span {
	color: #a8b6c8;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition:
		color 0.2s,
		transform 0.3s var(--ease);
}
.footer-links a:hover {
	color: #fff;
	transform: translateX(3px);
}
.footer-links .ico {
	width: 17px;
	height: 17px;
	color: var(--brand-300);
}
.site-footer address {
	margin-bottom: 14px;
	line-height: 1.6;
}
.site-footer address strong {
	color: #fff;
}
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 56px;
	padding-top: 22px;
	padding-bottom: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.92rem;
}
.footer-bottom p {
	margin: 0;
}
.legal-links {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}
.legal-links a {
	color: #a8b6c8;
	text-decoration: none;
}
.legal-links a:hover {
	color: #fff;
}
.to-top {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition:
		background-color 0.3s,
		transform 0.35s var(--ease);
}
.to-top .ico {
	transform: rotate(-90deg);
	width: 18px;
	height: 18px;
}
.to-top:hover {
	background: var(--brand);
	color: #fff;
	transform: translateY(-3px);
}
@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Sub pages: hero ---------- */
.page-hero {
	position: relative;
	padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px);
}
.page-hero__row {
	display: flex;
	gap: 26px;
	align-items: flex-start;
}
.page-hero__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	flex: none;
	border-radius: 20px;
	color: #fff;
	margin-top: 6px;
	background: linear-gradient(140deg, var(--brand), var(--brand-700));
	box-shadow: var(--glow);
}
.page-hero__icon .ico {
	width: 34px;
	height: 34px;
}
.page-title {
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	margin-bottom: 0.3em;
	max-width: 900px;
}
.page-lead {
	font-size: clamp(1.1rem, 1.6vw, 1.28rem);
	color: var(--muted);
	max-width: 760px;
	margin: 0;
}
.crumbs ol {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0.9rem;
	color: var(--muted);
}
.crumbs li + li::before {
	content: "›";
	margin-right: 6px;
	opacity: 0.6;
}
.crumbs a {
	color: var(--muted);
	text-decoration: none;
}
.crumbs a:hover {
	color: var(--brand);
}
@media (max-width: 640px) {
	.page-hero__row {
		flex-direction: column;
		gap: 16px;
	}
	.page-hero__icon {
		width: 60px;
		height: 60px;
	}
}

/* ---------- Sub pages: content + table of contents ---------- */
.section--content {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(48px, 7vw, 88px);
}
.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
.content-layout .prose {
	max-width: 860px;
}
.content-layout.has-toc {
	grid-template-columns: 240px minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
}
.toc {
	position: sticky;
	top: calc(var(--header-h) + 28px);
	align-self: start;
	font-size: 0.95rem;
}
.toc__title {
	font: 800 0.76rem/1 var(--font-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}
.toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--line);
}
.toc a {
	display: block;
	padding: 7px 0 7px 16px;
	margin-left: -2px;
	border-left: 2px solid transparent;
	color: var(--muted);
	text-decoration: none;
	line-height: 1.35;
	transition:
		color 0.25s,
		border-color 0.25s,
		padding 0.3s var(--ease);
}
.toc a:hover {
	color: var(--ink);
}
.toc a.is-current {
	color: var(--brand);
	border-color: var(--brand);
	padding-left: 20px;
	font-weight: 600;
}
@media (max-width: 980px) {
	.content-layout.has-toc {
		grid-template-columns: minmax(0, 1fr);
	}
	.toc {
		display: none;
	}
}

/* ---------- Prose & content blocks ---------- */
.prose > *:first-child {
	margin-top: 0;
}
.prose h2 {
	margin-top: 2.2em;
	position: relative;
}
.prose h3 {
	margin-top: 1.8em;
}
.prose p,
.prose li {
	color: var(--text);
}
.prose .lead {
	font-size: 1.22rem;
	line-height: 1.6;
	color: var(--ink);
}
.prose img {
	border-radius: var(--radius);
}
.prose ul:not([class]) li,
.prose ol:not([class]) li {
	margin-bottom: 0.35em;
}
.prose ul:not([class]) li::marker {
	color: var(--brand);
}
.prose .btn {
	margin: 0.3em 0.4em 0.3em 0;
}
.prose-figure {
	margin: 0 0 2em;
}
.prose-figure img {
	width: 100%;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 1.6em 0 2em;
}
.cards--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
	position: relative;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.45s var(--ease),
		box-shadow 0.45s var(--ease);
}
.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.card .tile-ico {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	margin-bottom: 14px;
}
.card .tile-ico .ico {
	width: 22px;
	height: 22px;
}
.card > .ico {
	width: 30px;
	height: 30px;
	color: var(--brand);
	margin-bottom: 12px;
}
.card h3,
.card h4 {
	margin: 0 0 6px;
	font-size: 1.1rem;
}
.card p {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
}
@media (max-width: 900px) {
	.cards,
	.cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.cards,
	.cards--2,
	.cards--4 {
		grid-template-columns: 1fr;
	}
}

.steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 1.6em 0 2em;
	display: grid;
	gap: 12px;
}
.steps > li {
	counter-increment: step;
	position: relative;
	padding: 18px 20px 18px 74px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
}
.steps > li::before {
	content: counter(step);
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--brand-100);
	color: var(--brand);
	font: 800 1.05rem var(--font-head);
}
.steps > li strong {
	color: var(--ink);
}

.note {
	position: relative;
	margin: 1.8em 0;
	padding: 20px 22px 20px 62px;
	border-radius: var(--radius);
	background: var(--brand-50);
	border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.note::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 21px;
	width: 24px;
	height: 24px;
	background: var(--brand);
	-webkit-mask: 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%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E")
		center/contain no-repeat;
	mask: 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%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E")
		center/contain no-repeat;
}
.note > *:last-child {
	margin-bottom: 0;
}
.note--warn {
	background: color-mix(in srgb, var(--amber) 12%, var(--surface));
	border-color: color-mix(in srgb, var(--amber) 40%, transparent);
}
.note--warn::before {
	background: #b7791f;
}
.note--ok {
	background: color-mix(in srgb, var(--ok) 10%, var(--surface));
	border-color: color-mix(in srgb, var(--ok) 35%, transparent);
}
.note--ok::before {
	background: var(--ok);
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: center;
	margin: 2em 0;
}
.split img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.split--logo img {
	box-shadow: none;
	max-width: 280px;
	margin: 0 auto;
}
@media (max-width: 760px) {
	.split {
		grid-template-columns: 1fr;
	}
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 1.6em 0;
}
.facts > div {
	padding: 18px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	text-align: center;
}
.facts strong {
	display: block;
	font: 800 1.7rem/1.1 var(--font-head);
	color: var(--brand);
	letter-spacing: -0.03em;
}
.facts span {
	color: var(--muted);
	font-size: 0.95rem;
}
@media (max-width: 640px) {
	.facts {
		grid-template-columns: 1fr;
	}
}

.compare {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 1.6em 0 2em;
}
.compare > div {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
}
.compare h3 {
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.compare h3 .ico {
	color: var(--brand);
}
.compare ul {
	margin: 0;
	padding-left: 1.1em;
}
.compare li {
	margin-bottom: 0.5em;
}
.compare li::marker {
	color: var(--brand);
}
@media (max-width: 900px) {
	.compare {
		grid-template-columns: 1fr;
	}
}

.downloads {
	list-style: none;
	padding: 0;
	margin: 1.4em 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.downloads a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
	transition:
		border-color 0.3s,
		transform 0.35s var(--ease),
		box-shadow 0.35s;
}
.downloads a:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}
.downloads .ico {
	color: var(--brand);
	width: 22px;
	height: 22px;
}
.downloads small {
	display: block;
	color: var(--muted);
	font-weight: 400;
}
@media (max-width: 560px) {
	.downloads {
		grid-template-columns: 1fr;
	}
}

/* Gallery + lightbox */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 2em 0;
}
.gallery a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4/3;
	background: var(--bg-alt);
}
.gallery a:first-child {
	grid-column: span 2;
	grid-row: span 2;
	aspect-ratio: auto;
}
.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition:
		transform 0.8s var(--ease),
		filter 0.4s;
}
.gallery a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(13, 35, 66, 0.45),
		transparent 50%
	);
	opacity: 0;
	transition: opacity 0.35s;
}
.gallery a:hover img {
	transform: scale(1.06);
}
.gallery a:hover::after {
	opacity: 1;
}
@media (max-width: 640px) {
	.gallery {
		grid-template-columns: 1fr 1fr;
	}
	.gallery a:first-child {
		grid-column: span 2;
		grid-row: auto;
		aspect-ratio: 16/10;
	}
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(6, 14, 26, 0.88);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.3s;
}
.lightbox.is-open {
	opacity: 1;
}
.lightbox[hidden] {
	display: none;
}
.lightbox:not(.is-open) {
	pointer-events: none;
} /* closed: no longer blocks clicks */
.lightbox img {
	max-width: min(1200px, 92vw);
	max-height: 84vh;
	width: auto;
	border-radius: 14px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	transform: scale(0.94);
	transition:
		transform 0.4s var(--ease),
		opacity 0.25s;
}
.lightbox.is-open img {
	transform: none;
}
.lightbox button {
	position: absolute;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background-color 0.25s;
}
.lightbox button:hover {
	background: rgba(255, 255, 255, 0.25);
}
.lightbox .lb-close {
	top: 20px;
	right: 20px;
}
.lightbox .lb-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%) scaleX(-1);
}
.lightbox .lb-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox .lb-count {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	color: #cfdcf0;
	font: 600 0.9rem var(--font-head);
}

/* Contact card */
.contact-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 1.4em 0 2em;
}
.contact-card__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	transition:
		transform 0.35s var(--ease),
		box-shadow 0.35s;
}
a.contact-card__item:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	color: var(--ink);
}
.contact-card__item .tile-ico {
	width: 44px;
	height: 44px;
	border-radius: 12px;
}
.contact-card__item .tile-ico .ico {
	width: 20px;
	height: 20px;
}
.contact-card__item small {
	display: block;
	color: var(--muted);
	font-size: 0.82rem;
}
.contact-card__item strong {
	font: 700 1rem/1.3 var(--font-head);
}
@media (max-width: 560px) {
	.contact-card {
		grid-template-columns: 1fr;
	}
}

.table-wrap {
	overflow-x: auto;
	margin: 1.5em 0;
}
.table-wrap table {
	width: 100%;
	border-collapse: collapse;
}
.table-wrap th,
.table-wrap td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

/* Child page tiles */
.section--children {
	padding-top: 0;
}
.section--children .section-title {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.tiles {
	display: grid;
	gap: 18px;
}
.tiles--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tiles--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.45s var(--ease),
		box-shadow 0.45s var(--ease),
		border-color 0.3s;
}
.tile:hover {
	color: inherit;
}
.tile h3 {
	margin: 18px 0 8px;
}
.tile p {
	color: var(--muted);
	margin: 0 0 16px;
}
.tile-sub {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tile-sub li {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bg-alt);
	font: 600 0.82rem var(--font-head);
	color: var(--slate);
}
@media (max-width: 900px) {
	.tiles--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.tiles--3,
	.tiles--2 {
		grid-template-columns: 1fr;
	}
}

.empty-state {
	text-align: center;
	padding: 48px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px dashed var(--line-strong);
	color: var(--muted);
}
.empty-state .tile-ico {
	margin-bottom: 14px;
}
.pagination {
	margin-top: 36px;
}
.pagination .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
}
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	font-weight: 700;
}
.pagination .page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}
.post-back {
	margin-top: 2.5em;
}

/* 404 */
.error-404 {
	position: relative;
	text-align: center;
	padding: clamp(80px, 12vw, 160px) 0;
}
.error-404__code {
	font: 800 clamp(7rem, 22vw, 15rem)/0.8 var(--font-head);
	letter-spacing: -0.06em;
	margin: 0 0 0.1em;
	background: linear-gradient(180deg, var(--brand-300), transparent 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.5;
}
.error-404 p {
	color: var(--muted);
	max-width: 560px;
	margin: 0 auto 1.6em;
}
.error-404__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* WordPress classes */
.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}
.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}
.aligncenter {
	margin: 1.5em auto;
}
.wp-caption-text,
figcaption {
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 0.5em;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Scroll animations ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.8s var(--ease),
		transform 0.9s var(--ease);
	transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}
.js .prose > [data-reveal-auto] {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.7s var(--ease),
		transform 0.8s var(--ease);
}
.js .prose > [data-reveal-auto].is-in {
	opacity: 1;
	transform: none;
}

/* ---------- Dark mode (via the plugin "busol Dark Mode") ---------- */
:root[data-theme="dark"] {
	--brand: #5b9be6;
	--brand-600: #7db0ee;
	--brand-700: #1b4f8f;
	--brand-300: #8fbdf3;
	--brand-100: rgba(91, 155, 230, 0.14);
	--brand-50: rgba(91, 155, 230, 0.08);
	--slate: #aab6c6;
	--bg: #0b1320;
	--bg-alt: #0f1a2b;
	--surface: #121e31;
	--surface-2: #16243a;
	--ink: #eef3f9;
	--text: #cfd8e4;
	--muted: #93a1b4;
	--line: #22324a;
	--line-strong: #2f4260;
	--navy: #081120;
	--navy-2: #0e2039;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
	--shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.55);
	--shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
	--glow: 0 18px 50px -20px rgba(91, 155, 230, 0.45);
	color-scheme: dark;
}
:root[data-theme="dark"] .logo--light {
	display: none;
}
:root[data-theme="dark"] .logo--dark {
	display: block;
}
:root[data-theme="dark"] .btn--primary {
	--bg-btn: #2f6fbf;
}
:root[data-theme="dark"] .tile-ico,
:root[data-theme="dark"] .page-hero__icon {
	background: linear-gradient(140deg, #2f6fbf, #1b4f8f);
}
:root[data-theme="dark"] .hv-badge {
	background: #2f6fbf;
}
:root[data-theme="dark"] .hv-badge--green {
	background: var(--ok);
}
:root[data-theme="dark"] .hv-badge--amber {
	background: var(--amber);
}
:root[data-theme="dark"] .site-bg__mark {
	opacity: 0.085;
}
:root[data-theme="dark"] .site-bg__glow--a {
	background: radial-gradient(
		circle,
		rgba(91, 155, 230, 0.24),
		transparent 62%
	);
}
:root[data-theme="dark"] .site-bg__glow--b {
	background: radial-gradient(
		circle,
		rgba(47, 111, 191, 0.16),
		transparent 62%
	);
}
:root[data-theme="dark"] .site-bg__grid {
	opacity: 0.45;
}
:root[data-theme="dark"] .site-bg__dots {
	opacity: 0.35;
}
:root[data-theme="dark"] .room__tag {
	background: rgba(18, 30, 49, 0.92);
}
:root[data-theme="dark"] .cta-card {
	background: linear-gradient(130deg, #1d5aa6 0%, #12345f 70%, #0a1a31 100%);
}
:root[data-theme="dark"] .site-footer {
	background: #060d18;
}
:root[data-theme="dark"] .note--warn::before {
	background: var(--amber);
}
:root[data-theme="dark"] ::selection {
	background: rgba(91, 155, 230, 0.3);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
	.js [data-reveal],
	.js .prose > [data-reveal-auto],
	.hero-in {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ---------- Wide content (contact page) ---------- */
.prose:has(> .layout-wide) {
	max-width: none;
}
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}
.contact-layout > div:first-child {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.contact-layout .contact-card {
	grid-template-columns: 1fr;
	margin-top: 0;
}
.contact-layout .bf-wrap {
	margin-top: 0;
}
.contact-layout h2 {
	margin-top: 0;
	font-size: 1.5rem;
}
@media (max-width: 900px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}
	.contact-layout > div:first-child {
		position: static;
	}
}
.prose > div:first-child > *:first-child {
	margin-top: 0;
}

/* ---------- Feature section with banner graphic ---------- */
.feature {
	position: relative;
	margin: 1.6em 0 2.2em;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	overflow: hidden;
	transition:
		box-shadow 0.45s var(--ease),
		transform 0.45s var(--ease);
}
.feature:hover {
	box-shadow: var(--shadow);
}
.feature > img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.feature__body {
	padding: clamp(20px, 3vw, 30px);
}
.feature__body > *:last-child {
	margin-bottom: 0;
}
.feature__body h3 {
	margin-top: 0;
}
.feature__body h4 {
	margin: 1.2em 0 0.6em;
	font-size: 1rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.feature__body .cards {
	margin: 0.6em 0 0;
}
.feature__body .card h4 {
	margin-top: 0;
	color: var(--ink);
}
.feature__badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--amber) 18%, var(--surface));
	color: #8a5a00;
	font: 800 0.75rem/1 var(--font-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
:root[data-theme="dark"] .feature__badge {
	color: var(--amber);
}
:root[data-theme="dark"] .feature > img {
	opacity: 0.96;
}

/* Cut-out logos: no rounded corners, no shadow, never cropped */
.prose img.img-logo,
.split img.img-logo {
	border-radius: 0;
	box-shadow: none;
	background: none;
	object-fit: contain;
	height: auto;
	max-height: 240px;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
}
.split--logo img {
	border-radius: 0;
}

/* Footer address as route link */
.footer-contact address a {
	color: inherit;
	text-decoration: none;
}
.footer-contact address a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
/* Narrow right margin (html.nav-narrow, set by busolFitNav in header.php): tighter header actions;
   the plugin busol-darkmode then shows its switch as a single button */
html.nav-narrow:not(.nav-mobile) .site-header .header-actions {
	padding-left: 12px;
	gap: 8px;
}

/* ---------- Smooth page transitions (Chrome/Edge; other browsers switch pages as usual) ---------- */
@view-transition {
	navigation: auto;
}
.site-header {
	view-transition-name: kopf;
}
.site-bg {
	view-transition-name: hintergrund;
}
::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.28s;
	animation-timing-function: ease;
}
::view-transition-group(kopf),
::view-transition-group(hintergrund) {
	animation-duration: 0.28s;
}
@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
}
