/* Belambo theme: "Gerät" (calm German product design). Light and dark from one token set. */

@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-var.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--rule: 2px; /* every line and border on the site (Abdul, 9 Nov): 2px, like the progress bar */
	/* Housing (light): warm grey, like a 1960s appliance. */
	--shell: #e6e4df;
	--panel: #f3f2ee;
	--panel-2: #ebe9e4;
	--ink: #1c1e20;
	--ink-2: #53575a;
	--line: #cfccc5;
	--ok: #1f7a4d; /* form sent (17 Nov) */
	--bad: #b3261e; /* form not sent */
	--grille: #bdb9b0;
	--key: #ffd100;
	--key-ink: #141414;
	--key-edge: #c9a400;
	--dark-key: #2a2c2e;
	--dark-key-ink: #f2f1ed;
	--lamp: #4e7f52;
	--foot: #fff; /* footer ground, light (Abdul, 16 Nov): white */
	--foot-band: #efede8;
	--shadow: 0 1px 0 rgba(255, 255, 255, .75) inset, 0 22px 44px -24px rgba(40, 35, 25, .32), 0 2px 6px rgba(40, 35, 25, .08);
	--shadow-sm: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 20px -14px rgba(40, 35, 25, .35);
	--well: inset 0 2px 4px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(0, 0, 0, .04);

	/* Surfaces 20px; controls (keys, nav, switches, chips) are pills; screen windows 10px. */
	--r-xl: 20px;
	--r-lg: 20px;
	--r-pill: 999px;
	/* One marker weight for every yellow "you are here" line: tracker progress, chapter tab, phone menu. */
	--mark: var(--rule); /* "you are here" markers share the 2px line weight (T10) */
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 48px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	--label: 100%;
	color-scheme: light;
}

/* Housing (dark): graphite. Follows the system unless the visitor chose. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--shell: #161719;
		--panel: #212326;
		--panel-2: #1b1d1f;
		--ink: #eceae4;
		--ink-2: #a8aba7;
		--line: #34373b;
		--ok: #5cc98d;
		--bad: #ff8a80;
		--grille: #3c4044;
		--dark-key: #e4e2dc;
		--dark-key-ink: #161719;
		--lamp: #6fae73;
		--foot: #18191b;
		--foot-band: #2a2b2e;
		--shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 26px 50px -26px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .4);
		--shadow-sm: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 10px 22px -14px rgba(0, 0, 0, .8);
		--well: inset 0 2px 5px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .04);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--shell: #161719;
	--panel: #212326;
	--panel-2: #1b1d1f;
	--ink: #eceae4;
	--ink-2: #a8aba7;
	--line: #34373b;
	--ok: #5cc98d;
	--bad: #ff8a80;
	--grille: #3c4044;
	--dark-key: #e4e2dc;
	--dark-key-ink: #161719;
	--lamp: #6fae73;
	--foot: #18191b;
	--foot-band: #2a2b2e;
	--shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 26px 50px -26px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .4);
	--shadow-sm: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 10px 22px -14px rgba(0, 0, 0, .8);
	--well: inset 0 2px 5px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .04);
	color-scheme: dark;
}

/* ---------- Base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--shell);
	color: var(--ink);
	font: 400 18px/1.6 var(--font);
	font-stretch: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
::selection { background: var(--key); color: var(--key-ink); }
html { scrollbar-color: var(--grille) var(--shell); }
input, textarea { caret-color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 680; letter-spacing: -.032em; line-height: 1.04; text-wrap: balance; }
.bl-nw { white-space: nowrap; }
h1 { font-size: clamp(2.3rem, 3.6vw, 3.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.012em; line-height: 1.2; }
p, ul, ol { margin: 0; }
p, dd, li { text-wrap: pretty; }
p + p { margin-top: .85em; }
.bl-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--key); color: var(--key-ink); padding: 10px 16px; border-radius: var(--r-pill); }
.bl-skip:focus { left: 12px; }
.bl-ico { width: 22px; height: 22px; flex: none; }
.bl-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* Core block resets inside our sections. */
.bl-main .wp-block-columns, .bl-main .wp-block-column { margin: 0; } /* groups keep the margins of their own classes (sections are groups since 12 Nov) */
.bl-main .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.bl-main .wp-block-button { margin: 0; }

/* ---------- Keys (buttons): real travel, no fades ---------- */
.bl-key, .bl-main .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 0;
	font: 620 1.02rem/1 var(--font); font-stretch: var(--label); letter-spacing: .015em; text-decoration: none; cursor: pointer; white-space: nowrap;
	background: var(--dark-key); color: var(--dark-key-ink);
	transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.bl-key:hover, .bl-main .wp-block-button__link:hover { text-decoration: none; background: color-mix(in srgb, var(--dark-key) 86%, var(--panel)); }
.bl-key:active, .bl-main .wp-block-button__link:active { box-shadow: inset 0 2px 5px rgba(0, 0, 0, .35); }
.bl-key--yellow, .bl-main .is-style-bl-yellow .wp-block-button__link { background: var(--key); color: var(--key-ink); }
.bl-key--yellow:hover, .bl-main .is-style-bl-yellow .wp-block-button__link:hover { background: #f2c600; }
.bl-key--yellow:active, .bl-main .is-style-bl-yellow .wp-block-button__link:active { box-shadow: inset 0 2px 5px rgba(90, 70, 0, .35); }
/* Secondary keys (every key that is not yellow; Abdul 16 Nov): no fill, a 2px yellow ring, and on hover a yellow glow
   grows around it. Light theme: pure yellow on the pale ground is 1.15:1, so the ring gets a 1px deep-gold edge
   (--ring-edge, 3:1 on --shell) to stay visible; dark theme: the yellow ring alone (12:1). Text is --ink in both. */
:root { --ring-edge: 0 0 0 1px #9c7f00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ring-edge: 0 0 0 0 transparent; } }
:root[data-theme="dark"] { --ring-edge: 0 0 0 0 transparent; }
.bl-key:not(.bl-key--yellow), .bl-main .wp-block-button:not(.is-style-bl-yellow) .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--key), var(--ring-edge); transition: box-shadow .45s var(--ease); }
.bl-key:not(.bl-key--yellow):hover, .bl-key:not(.bl-key--yellow):focus-visible, .bl-main .wp-block-button:not(.is-style-bl-yellow) .wp-block-button__link:hover { background: transparent; box-shadow: inset 0 0 0 2px var(--key), var(--ring-edge), 0 0 22px 2px color-mix(in srgb, var(--key) 55%, transparent); }
.bl-key:not(.bl-key--yellow):active, .bl-main .wp-block-button:not(.is-style-bl-yellow) .wp-block-button__link:active { box-shadow: inset 0 0 0 2px var(--key), var(--ring-edge), inset 0 2px 5px rgba(0, 0, 0, .2); }
@media (prefers-reduced-motion: reduce) { .bl-key:not(.bl-key--yellow) { transition: none; } }
.bl-main .is-style-bl-quiet .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.bl-main .is-style-bl-quiet .wp-block-button__link:active { box-shadow: inset 0 0 0 1.5px var(--line), inset 0 2px 4px rgba(0, 0, 0, .12); }

/* ---------- Status lamp ---------- */
.bl-lamp { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); font-stretch: var(--label); letter-spacing: .02em; }
.bl-lamp i { width: 9px; height: 9px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lamp) 22%, transparent); flex: none; }

/* ---------- Header ---------- */
.bl-head { position: sticky; top: 0; z-index: 40; background: rgba(24, 25, 27, .94); backdrop-filter: saturate(1.2) blur(10px); color: #ecebe6;
	--panel: #2a2c2f; --panel-2: #131416; --ink: #f1f0eb; --ink-2: #a9aca8; --well: inset 0 1px 3px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.bl-head__in { display: flex; align-items: center; gap: 20px; height: 88px; }
.bl-logo { flex: none; display: block; }
.bl-logo img { width: 170px; height: 24px; }
.bl-logo { color: #fff; } /* header logo: inline SVG, 189 × 27 (Abdul, 9 Nov); letters take currentColor */
.bl-logo__svg { display: block; width: 189px; height: 27px; overflow: visible; }
.bl-logo__dark { display: none !important; }
:root[data-theme="dark"] .bl-logo__light { display: none !important; }
:root[data-theme="dark"] .bl-logo__dark { display: block !important; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .bl-logo__light { display: none !important; }
	:root:not([data-theme="light"]) .bl-logo__dark { display: block !important; }
}
.bl-nav { position: relative; margin-left: auto; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--panel-2); box-shadow: var(--well); }
.bl-nav > a, .bl-mm__btn { box-sizing: border-box; height: 38px; display: inline-flex; align-items: center; line-height: 1; }
.bl-nav > a { padding: 0 14px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 560; font-stretch: var(--label); letter-spacing: .015em; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .15s var(--ease), background .15s var(--ease); }
.bl-nav > a:hover { color: var(--ink); }
.bl-nav > a[aria-current="page"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.bl-head__tools { display: flex; align-items: center; gap: 12px; }

/* Mega menu: one dark panel per area, each service with its one-liner (no prices in the menu). */
.bl-mm { display: flex; }
.bl-mm__btn { gap: 4px; padding: 0 10px 0 14px; border: 0; border-radius: var(--r-pill); background: transparent; font: 560 .92rem/1 var(--font); letter-spacing: .015em; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .15s var(--ease), background .15s var(--ease); }
.bl-mm__btn:hover, .bl-mm__btn[aria-expanded="true"] { color: var(--ink); }
.bl-mm__btn.is-current { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.bl-mm__chev { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.bl-mm__btn[aria-expanded="true"] .bl-mm__chev { transform: rotate(180deg); }
.bl-mm__panel { position: absolute; left: 0; top: calc(100% + 12px); width: min(640px, 80vw); padding: 10px; border-radius: var(--r-lg); background: #1f2123; color: #f1f0eb; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 0 var(--rule) rgba(255, 255, 255, .06); z-index: 60; }
.bl-mm__panel[hidden] { display: none; }
.bl-mm__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.bl-mm__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.bl-mm__list a { display: grid; gap: 4px; padding: 13px 16px 14px; border-radius: var(--r-item); line-height: 1.3; text-decoration: none; transition: background .15s var(--ease); }

.bl-mm__list strong { font-weight: 650; font-size: 1rem; color: #f6f5f1; }
.bl-mm__list span { font-size: .88rem; color: #a3a6a2; }
.bl-mm__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 16px 8px; border-top: var(--rule) solid rgba(255, 255, 255, .08); }
.bl-mm__all, .bl-mm__wa { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; color: #f1f0eb; }
.bl-mm__all .bl-ico { width: 18px; height: 18px; transition: transform .15s var(--ease); }
.bl-mm__all:hover .bl-ico { transform: translateX(3px); }
.bl-mm__wa { color: var(--key); }
.bl-mm__wa .bl-ico { width: 18px; height: 18px; }
.bl-head__wa { width: 46px; min-height: 46px; padding: 0; }
.bl-head__wa .bl-ico { width: 24px; height: 24px; }

/* Language pill: two positions, the active one raised. */
/* Language and theme controls (Abdul, 17 Nov: "high definition, premium"): one construction for both. A recessed well with a
   fine edge; a raised thumb with a soft top light and a small crisp shadow; options exactly the same size, text and icons
   centred on the same line. EN | DE: the thumb sits on the current language. sun | moon: the thumb flows (below). */
.bl-lang, .bl-mode {
	--opt: 30px; --h: 28px; --pad: 4px;
	position: relative; display: inline-flex; flex: none; padding: var(--pad); border: 0; border-radius: var(--r-pill);
	background: var(--panel-2); box-shadow: var(--well), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
	color: var(--ink-2); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bl-lang > span:not(.bl-seg__thumb), .bl-mode__opt {
	position: relative; z-index: 1; display: grid; place-items: center; width: var(--opt); height: var(--h); padding: 0;
	font: 650 .74rem/1 var(--font); font-stretch: 88%; letter-spacing: .06em; color: var(--ink-2); transition: color .3s var(--ease);
}
.bl-lang > span.is-on { color: var(--ink); }
.bl-lang:hover > span:not(.is-on):not(.bl-seg__thumb) { color: var(--ink); }
.bl-seg__thumb, .bl-mode__blob {
	position: absolute; top: var(--pad); bottom: var(--pad); left: var(--pad); right: calc(var(--pad) + var(--opt)); border-radius: var(--r-pill);
	background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 88%, #fff), var(--panel));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 .5px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .16), 0 3px 8px -2px rgba(0, 0, 0, .22);
}
.bl-lang[data-on="de"] .bl-seg__thumb { left: calc(var(--pad) + var(--opt)); right: var(--pad); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.bl-seg__thumb, .bl-mode__blob) { background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 80%, #fff 10%), var(--panel)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 .5px rgba(0, 0, 0, .5), 0 1px 1px rgba(0, 0, 0, .4), 0 3px 8px -2px rgba(0, 0, 0, .5); } }
:root[data-theme="dark"] :is(.bl-seg__thumb, .bl-mode__blob) { background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 80%, #fff 10%), var(--panel)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 .5px rgba(0, 0, 0, .5), 0 1px 1px rgba(0, 0, 0, .4), 0 3px 8px -2px rgba(0, 0, 0, .5); }
:is(.bl-lang, .bl-mode):focus-visible { outline: var(--rule) solid var(--key); outline-offset: 2px; }

/* Rocker switch (theme). */
/* Theme control (Abdul, 17 Nov: same style as EN | DE, "a fluid like animation"): sun | moon in the same recessed pill as
   the language control. The raised part (blob) moves like liquid: its leading edge runs ahead and the trailing edge
   follows, so it stretches across both options for a moment and settles. role=switch, aria-checked = dark. */
.bl-mode__opt .bl-ico { width: 15px; height: 15px; }
.bl-mode__blob {
	/* going to light: the left edge leads, the right edge follows */
	transition: left .34s cubic-bezier(.3, .7, .2, 1), right .34s cubic-bezier(.3, .7, .2, 1) .1s;
}
.bl-mode[aria-checked="true"] .bl-mode__blob {
	left: calc(var(--pad) + var(--opt)); right: var(--pad);
	/* going to dark: the right edge leads, the left edge follows */
	transition: right .34s cubic-bezier(.3, .7, .2, 1), left .34s cubic-bezier(.3, .7, .2, 1) .1s;
}
.bl-mode[aria-checked="false"] .bl-mode__sun, .bl-mode[aria-checked="true"] .bl-mode__moon { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .bl-mode__blob, .bl-mode[aria-checked="true"] .bl-mode__blob, .bl-mode__opt { transition: none; } }

/* ---------- Device panel (first viewport of every service page) ---------- */

/* Control strip: the services as switches. The one you point at flips. */
.bl-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 16px; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.bl-ctl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; gap: 4px 16px; padding: 24px 26px 24px; text-decoration: none; border-left: var(--rule) solid var(--line); }
.bl-ctl:first-child { border-left: 0; }
.bl-ctl__sw { grid-row: 1 / 4; position: relative; width: 28px; height: 50px; border-radius: 14px; background: var(--panel-2); box-shadow: var(--well); }
.bl-ctl__sw::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--panel); box-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 255, 255, .6) inset; transition: transform .16s var(--ease); }
.bl-ctl:hover .bl-ctl__sw, .bl-ctl:focus-visible .bl-ctl__sw, .bl-ctl[aria-current="page"] .bl-ctl__sw { background: var(--key); }
.bl-ctl:hover .bl-ctl__sw::after, .bl-ctl:focus-visible .bl-ctl__sw::after, .bl-ctl[aria-current="page"] .bl-ctl__sw::after { transform: translateY(22px); }
.bl-ctl strong { font-size: 1.1rem; font-weight: 640; font-stretch: var(--label); letter-spacing: .01em; line-height: 1.25; white-space: nowrap; }
.bl-ctl__d { font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.bl-ctl__p { font-style: normal; font-stretch: var(--label); font-weight: 640; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 6px; }

/* ---------- Sections ---------- */
.bl-sec { padding-top: clamp(56px, 8vw, 112px); }
.bl-sec > h2 { max-width: 22ch; }
.bl-sec__intro { margin-top: 14px; max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; }
.bl-split { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; align-items: start; }

/* Chapters: a marker opens every chapter; the strip under the header shows all of them,
   the current one, and how far through the page you are. */
.bl-chap { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-weight: 650; letter-spacing: .01em; }
.bl-chap span { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 560; }
.bl-chap::after { content: ""; flex: 1; height: var(--rule); background: var(--line); }
.bl-chapters { position: sticky; top: 88px; z-index: 39; height: 0; overflow: visible; pointer-events: none; --ink: #f1f0eb; --ink-2: #9fa29e; }
.bl-chapters__in { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.bl-chapters.is-on .bl-chapters__in, .bl-chapters:focus-within .bl-chapters__in { opacity: 1; transform: none; pointer-events: auto; }
.bl-head:has(.bl-mm__btn[aria-expanded="true"]) + .bl-chapters { visibility: hidden; }
.bl-chapters a { flex: none; padding: 3px 0; font-size: .76rem; font-weight: 520; letter-spacing: .02em; color: var(--ink-2); text-decoration: none; white-space: nowrap; border-bottom: var(--mark) solid transparent; }
.bl-chapters a span { display: none; }
.bl-chapters a:hover { color: var(--ink); }
.bl-chapters a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--key); }
.bl-chapters__in { width: fit-content; max-width: 100%; margin-left: auto; margin-right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); padding: 8px 16px 7px; border-radius: 0 0 14px 14px; background: rgba(24, 25, 27, .94); backdrop-filter: blur(8px); }
.bl-chapters__bar { position: absolute; left: 0; right: 0; top: 0; height: var(--mark); background: transparent; }
.bl-chapters__bar i { display: block; height: 100%; width: 0; background: var(--key); transition: width .1s linear; }

/* Rooms: each chapter opens with one of Belambo's photos, in one of three formats
   (hero, full-width band, beside the content), and a museum-style label: title, text, credit. */
.bl-room { padding-top: clamp(64px, 9vw, 128px); }
.bl-room--open { padding-top: 8px; }
.bl-plate-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: #0f1011; height: clamp(300px, 44vw, 540px); box-shadow: var(--shadow); }
.bl-plate-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.bl-plate-photo:not(.is-in) img { transform: scale(1.045); }
.bl-plate-photo--hero { height: clamp(360px, calc(100vh - 380px), 600px); }
.bl-plate-photo--band { height: clamp(280px, 34vw, 480px); }
.bl-plate-photo--short { height: clamp(220px, 24vw, 340px); }
.bl-plate-photo--side { height: auto; min-height: 460px; }
.bl-plate-photo figcaption.bl-credit { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .5); color: #fff; }
.bl-label { position: relative; z-index: 2; margin: -96px 0 0 clamp(16px, 4vw, 48px); max-width: 600px; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px 30px 24px; display: grid; gap: 10px; }
.bl-label p { color: var(--ink-2); }
.bl-label--hero { max-width: 780px; margin-top: -300px; padding: clamp(26px, 3.4vw, 42px); gap: 16px; }
.bl-label--flat { margin: 0; padding: 0; background: none; box-shadow: none; max-width: none; }
.bl-label--cta { max-width: none; margin-right: clamp(16px, 4vw, 48px); grid-template-columns: 1.3fr 1fr; align-items: center; gap: 18px 40px; }
.bl-label--cta .bl-keys { justify-content: flex-end; }
.bl-label--cta .bl-credit { grid-column: 1 / -1; }
.bl-label__lead { font-size: 1.15rem; line-height: 1.55; max-width: 56ch; }
.bl-credit { font-size: .8rem; letter-spacing: .02em; color: var(--ink-2); }
.bl-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.bl-room > .bl-steps, .bl-room > .bl-plate, .bl-room > .bl-split, .bl-room > .bl-index, .bl-wrap > .bl-quotes { margin-top: 24px; }
.bl-room--side { display: grid; grid-template-columns: 6fr 5fr; gap: 16px; align-items: stretch; }
.bl-room--side-right .bl-plate-photo { order: 2; }
.bl-room--side > .bl-plate { grid-column: 1 / -1; margin-top: 0; }
.bl-side__text h2 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); text-wrap: balance; }
.bl-side__text { display: grid; gap: 22px; align-content: start; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(24px, 3.4vw, 40px); }
.bl-side__text .bl-steps { margin-top: 0; box-shadow: none; background: none; grid-template-columns: 1fr; border-top: var(--rule) solid var(--line); border-radius: 0; }
.bl-side__text .bl-steps li { border-left: 0; border-top: var(--rule) solid var(--line); grid-template-columns: auto 1fr; column-gap: 16px; padding: 16px 0; }
.bl-side__text .bl-steps li:first-child { border-top: 0; }
.bl-side__text .bl-steps li::before { grid-row: span 2; }

/* Index of the sub-pages under the hero: labelled links, not decoration. */
.bl-index { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.bl-index a { position: relative; display: grid; gap: 4px; padding: 22px 56px 22px 26px; text-decoration: none; border-left: var(--rule) solid var(--line); transition: background-color .18s var(--ease); }
.bl-index a:first-child { border-left: 0; }
.bl-index a:hover { background: var(--panel-2); }
.bl-index strong { font-size: 1.1rem; font-weight: 680; letter-spacing: -.01em; }
.bl-index span { font-size: .95rem; color: var(--ink-2); }
.bl-index em { font-style: normal; font-weight: 650; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bl-index .bl-ico { position: absolute; right: 22px; top: 24px; width: 20px; height: 20px; color: var(--ink-2); transition: transform .18s var(--ease), color .18s var(--ease); }
.bl-index a:hover .bl-ico { transform: translateX(3px); color: var(--ink); }

/* Related services at the end of each service page: the same labelled index. */
.bl-related__title { margin: 40px 0 14px; font-size: 1.25rem; font-weight: 680; }
.bl-related { margin-bottom: 8px; }

/* The offer as a list of parts with prices, hairline rows. */
.bl-offer { margin: 0; border-top: var(--rule) solid var(--line); }
.bl-offer dt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-top: 18px; font-size: 1.2rem; font-weight: 680; letter-spacing: -.01em; }
.bl-offer dt a { text-decoration-thickness: 1px; }
.bl-offer dt em { font-style: normal; font-size: .95rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bl-offer dd { margin: 6px 0 0; padding-bottom: 18px; border-bottom: var(--rule) solid var(--line); color: var(--ink-2); }

/* Housing panels carry the device world through the whole page. */
.bl-panel { position: relative; background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(26px, 4.4vw, 56px); }
.bl-panel--split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
.bl-panel--split > h2 { padding-right: 20px; }

/* Problems: one panel, each problem in the visitor's words with its topic icon and the answer below. */
.bl-quotes { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.bl-quotes li { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 8px 18px; padding: 28px 30px; border-top: var(--rule) solid var(--line); }
.bl-quotes li:nth-child(-n+2) { border-top: 0; }
.bl-quotes li:nth-child(even) { border-left: var(--rule) solid var(--line); }
.bl-quotes .bl-ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--panel-2); box-shadow: var(--well); color: var(--ink); stroke-width: 1.8; }
.bl-quotes strong { font-size: 1.14rem; font-weight: 600; line-height: 1.4; letter-spacing: -.005em; }
.bl-quotes span { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }

/* Offer modules: panels of different weight, not equal cards. */
.bl-mods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bl-mod { grid-column: span 3; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 12px; }
.bl-mod h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bl-mod__price { margin-top: auto; padding-top: 14px; border-top: var(--rule) solid var(--line); font-weight: 650; letter-spacing: .01em; }
.bl-mod--wide { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.bl-mod--small { grid-column: span 2; }
.bl-mod--wide h3 { grid-column: 1 / -1; }
.bl-mod p { color: var(--ink-2); font-size: 1rem; }
.bl-mod .bl-price { margin-top: auto; padding-top: 10px; font-weight: 620; font-stretch: 92%; color: var(--ink); }
.bl-mod a.bl-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; margin-top: 4px; }
.bl-mod a.bl-more .bl-ico { width: 18px; height: 18px; transition: transform .14s var(--ease); }
.bl-mod a.bl-more:hover .bl-ico { transform: translateX(3px); }
.bl-ticks { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .98rem; color: var(--ink-2); }
.bl-ticks li { position: relative; padding-left: 24px; }
.bl-ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; background: var(--lamp); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Steps: the stations in order (the sequence carries meaning, so they are numbered). */
.bl-steps { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); counter-reset: st; overflow: hidden; }
.bl-steps li { counter-increment: st; padding: 26px 24px 28px; border-left: var(--rule) solid var(--line); display: grid; gap: 8px; align-content: start; }
.bl-steps li:first-child { border-left: 0; }
.bl-steps li::before { content: counter(st); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); box-shadow: var(--well); font-weight: 650; font-size: .9rem; font-variant-numeric: tabular-nums; }
.bl-steps strong { font-weight: 620; font-size: 1.04rem; line-height: 1.3; }
.bl-steps span { font-size: .94rem; color: var(--ink-2); line-height: 1.45; }

/* Rating plate (Typenschild): the five promises, engraved like a device's spec plate. */
.bl-plate { margin-top: 16px; border-radius: var(--r-lg); background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #fff), var(--panel-2)); box-shadow: var(--shadow-sm), inset 0 0 0 var(--rule) var(--line); padding: 10px 28px; position: relative; }
.bl-plate dl { margin: 0; display: grid; grid-template-columns: minmax(220px, 2fr) 5fr; column-gap: 12px; }
.bl-plate dt, .bl-plate dd { margin: 0; padding: 16px 0; border-top: var(--rule) solid var(--line); }
.bl-plate dt:first-of-type, .bl-plate dd:first-of-type { border-top: 0; }
.bl-plate dt { font-weight: 640; font-stretch: var(--label); letter-spacing: .02em; padding-left: 14px; }
.bl-plate dd { color: var(--ink-2); }

/* Trust: Abdul in a window beside the rating plate. */

/* Work: entries with a screen window each, not a card grid. */

/* Prices: a labelled readout panel. */
.bl-readout { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 6px 26px 14px; }
.bl-readout table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bl-readout table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bl-readout th, .bl-readout td { text-align: left; padding: 16px 0; border-top: var(--rule) solid var(--line); font-weight: 560; font-stretch: var(--label); letter-spacing: .02em; }
.bl-readout tr:first-child th, .bl-readout tr:first-child td { border-top: 0; }
.bl-readout td { text-align: right; font-weight: 640; white-space: nowrap; }
.bl-readout td small { font-weight: 450; color: var(--ink-2); font-size: .85em; }
:lang(de) .bl-readout td { white-space: normal; } /* German values ("im Festpreisangebot enthalten") may wrap; each price keeps a no-break space before € (17 Nov) */
:lang(de) .bl-readout th { hyphens: auto; overflow-wrap: break-word; }
/* German compound words ("Prozessautomatisierung", "Unternehmenswebsites") are wider than a phone at heading size: hyphenate, and as a last resort break, so the page never lays out wider than the screen (17 Nov, devices.mjs). */
:lang(de) :is(h1, h2, h3, .o-mission__text, .o-field__slide b, .o-panel__title) { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 400px) { :lang(de) .bl-key { white-space: normal; text-align: center; line-height: 1.25; padding-block: var(--s-2); } }
@media (max-width: 860px) { :lang(de) :is(.o-link, .o-more a) { white-space: normal; text-align: center; line-height: 1.25; padding-block: var(--s-2); } } /* German ring keys ("Kostenlosen Sichtbarkeits-Check anfordern", "Individuelle Web-Apps" in a tile) wrap on phones and tablets, as English keys do under 400 px (17 Nov, devices.mjs: 412 and 690) */ /* long German key labels wrap on small phones, like .o-link (open.css) */
.bl-readout p { padding: 12px 0 0; border-top: var(--rule) solid var(--line); font-size: .9rem; color: var(--ink-2); }

/* FAQ: details as drawers. */
.bl-faq { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 6px 26px; }
.bl-faq details { border-top: var(--rule) solid var(--line); }
.bl-faq details:first-child { border-top: 0; }
.bl-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; font-weight: 650; font-size: 1.05rem; }
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--panel-2) center / 14px no-repeat; box-shadow: var(--well); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 12px 2px, 2px 12px; transition: transform .18s var(--ease); }
.bl-faq details[open] summary::after { background-size: 12px 2px, 0 0; }
.bl-faq details > :not(summary) { padding: 0 0 18px; color: var(--ink-2); max-width: 62ch; }

/* Closing panel. */
.bl-cta { margin-top: 0; background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: center; }
.bl-cta p { color: var(--ink-2); margin-top: 10px; }
.bl-cta .bl-keys { justify-content: flex-end; }
.bl-cta .wp-block-buttons { justify-content: flex-end; }

.bl-tech { margin-top: 48px; font-size: .86rem; color: var(--ink-2); line-height: 1.7; max-width: 90ch; }
.bl-tech strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.bl-foot { margin-top: clamp(64px, 9vw, 120px); padding: 48px 0 56px; background: var(--foot); color: var(--ink); } /* follows the theme since 16 Nov */
.bl-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; font-size: .95rem; }
.bl-logo--foot { display: inline-block; }
.bl-foot__brand p { margin-top: 14px; color: var(--ink-2); }
.bl-foot__nav, .bl-foot__contact { display: grid; gap: 8px; align-content: start; }
.bl-foot__nav a, .bl-foot__contact a { text-decoration: none; }

.bl-foot__legal { grid-column: 1 / -1; color: var(--ink-2); font-size: .86rem; }

/* ---------- Bottom bar and menu sheet (phones) ---------- */
.bl-bar { display: none; }
.bl-sheet { display: none; }
/* Phone header, bottom bar and menu sheet: up to 1120px, where the full header no longer fits. */
@media (max-width: 1120px) {
	.bl-nav, .bl-head__tools { display: none; }
	.bl-head { position: static; backdrop-filter: none; }
	.bl-chapters { top: 0; }
	.bl-chapters a { display: none; }
	.bl-chapters a[aria-current="true"] { display: block; border-bottom-color: transparent; }
	.bl-chapters a[aria-current="true"] span { display: inline; margin-right: 6px; color: var(--ink-2); }
	.bl-head__in { height: 64px; justify-content: center; }
	body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
	.bl-bar {
		display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 6px;
		position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
		padding: 6px; border-radius: var(--r-lg); background: rgba(35, 37, 39, .7); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 1px 0 rgba(255, 255, 255, .08) inset; /* frosted glass like the sheet (Abdul, 17 Nov); stays dark so its light icons read on any page (88 % tried and reverted 17 Nov: the blur Abdul saw was browser zoom) */
	}
	.bl-bar__btn {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
		min-height: 58px; border: 0; border-radius: var(--r-item); background: transparent; color: #fff;
		font: 600 .8rem/1 var(--font); font-stretch: var(--label); letter-spacing: .03em; text-decoration: none; cursor: pointer;
		transition: transform .12s var(--ease), background .12s var(--ease);
	}
	.bl-bar__btn:active { background: rgba(255, 255, 255, .08); }
	.bl-bar__btn--key { background: var(--key); color: var(--key-ink); }
	.bl-bar__btn--key:active { background: #f2c600; }
	/* Language and theme switches sit stacked in the bar's left cell (17 Nov); the bar is always dark, so they use the dark tokens. */
	.bl-bar { --panel: #2c2f33; --panel-2: #17181a; --ink: #eceae4; --ink-2: #a8aba7; --well: inset 0 2px 5px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .04); }
	/* Language and theme switches as two upright pills side by side, same size (Abdul, 17 Nov): EN over DE; the theme knob
	   travels up and down (sun at the bottom, moon at the top). */
	.bl-bar__tools { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 4px; }
	/* upright in the bar: EN over DE, sun over moon; same construction, the thumb sits or flows up and down */
	.bl-bar :is(.bl-lang, .bl-mode) { --opt: 26px; --h: 25px; --pad: 3px; flex-direction: column; }
	.bl-bar :is(.bl-lang > span:not(.bl-seg__thumb), .bl-mode__opt) { font-size: .66rem; }
	/* the bar is always dark: its thumbs get one crisp dark style in both themes (Abdul, 17 Nov: a strange light rim and a
	   blurry look in the light theme came from the light-theme highlight and the wide soft shadow) */
	.bl-bar :is(.bl-seg__thumb, .bl-mode__blob), :root .bl-bar :is(.bl-seg__thumb, .bl-mode__blob) {
		background: linear-gradient(180deg, #3b3e43, #303337);
		box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .55);
	}
	.bl-bar :is(.bl-lang > span.is-on, .bl-mode[aria-checked="false"] .bl-mode__sun, .bl-mode[aria-checked="true"] .bl-mode__moon) { color: #fff; }
	.bl-bar :is(.bl-seg__thumb, .bl-mode__blob) { left: var(--pad); right: var(--pad); top: var(--pad); bottom: calc(var(--pad) + var(--h)); }
	.bl-bar .bl-lang[data-on="de"] .bl-seg__thumb, .bl-bar .bl-mode[aria-checked="true"] .bl-mode__blob { left: var(--pad); right: var(--pad); top: calc(var(--pad) + var(--h)); bottom: var(--pad); }
	.bl-bar .bl-mode__blob { transition: top .34s cubic-bezier(.3, .7, .2, 1), bottom .34s cubic-bezier(.3, .7, .2, 1) .1s; }
	.bl-bar .bl-mode[aria-checked="true"] .bl-mode__blob { transition: bottom .34s cubic-bezier(.3, .7, .2, 1), top .34s cubic-bezier(.3, .7, .2, 1) .1s; }
	.bl-sheet[open] {
		display: block; position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(86px + env(safe-area-inset-bottom)); top: auto;
		margin: 0; width: auto; max-width: none; max-height: calc(100dvh - 110px - env(safe-area-inset-bottom)); overflow: auto;
		border: 0; border-radius: var(--r-lg); padding: 6px 10px 10px; overscroll-behavior: contain;
		/* Frosted glass (Abdul, 17 Nov: "opaque and somewhat transparent"): the page shows through, blurred; text stays on a solid-enough ground. */
		background: color-mix(in srgb, var(--panel) 72%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
		color: var(--ink); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
		animation: bl-sheet-up .22s var(--ease);
	}
	.bl-scrim { position: fixed; inset: 0; z-index: 44; background: rgba(10, 10, 12, .3); }
	.bl-scrim[hidden] { display: none; }
	.bl-bar__is-open { display: none; }
	.bl-menu-open .bl-bar__is-open, .bl-bar__is-closed { display: contents; }
	.bl-menu-open .bl-bar__is-closed { display: none; }
	.bl-sheet__nav:focus { outline: none; }
	.bl-sheet__grip { width: 44px; height: 5px; border-radius: var(--r-pill); background: var(--line); margin: 0 auto 6px; }
	/* Menu sheet (brief briefs/mobile-menu.md, approved 17 Nov): page keys on top, then the two service areas, Websites & Google
	   nearest the thumb. Quiet tiles on --panel-2, icon per link, no shadows; current page = ink icon + 2px yellow underline. */
	.bl-sheet__nav { display: grid; gap: 12px; }
	.bl-sheet__keys, .bl-sheet__tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
	.bl-sheet__keys { grid-template-columns: repeat(4, 1fr); }
	.bl-sheet__tiles { grid-template-columns: 1fr 1fr; }
	.bl-sheet__tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* 3 services: the last tile takes the full row, no orphan */
	.bl-sheet__key, .bl-sheet__tile {
		display: flex; align-items: center; border-radius: 12px; background: color-mix(in srgb, var(--panel-2) 78%, transparent); color: var(--ink); text-decoration: none;
		-webkit-tap-highlight-color: transparent; transition: background .12s var(--ease), transform .12s var(--ease);
	}
	.bl-sheet__key { flex-direction: column; justify-content: center; gap: 6px; min-height: 66px; padding: 8px 2px; text-align: center; font: 600 .74rem/1.15 var(--font); font-stretch: var(--label); letter-spacing: .01em; hyphens: auto; overflow-wrap: anywhere; }
	.bl-sheet__tile { gap: 10px; min-height: 56px; padding: 8px 12px; font: 600 .9rem/1.2 var(--font); }
	.bl-sheet__tile span { min-width: 0; hyphens: manual; } /* break long German names only at their soft hyphen (Prozess-automatisierung) */
	.bl-sheet__tile { padding-inline: 10px; gap: 8px; }
	@media (max-width: 380px) { :lang(de) .bl-sheet__tile { font-size: .84rem; } }
	.bl-sheet__key .bl-ico, .bl-sheet__tile .bl-ico, .bl-sheet__head .bl-ico { color: var(--ink-2); }
	.bl-sheet__head { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; color: var(--ink); text-decoration: none; font-size: 1.02rem; font-weight: 640; }
	.bl-sheet__head .bl-sheet__go { width: 18px; height: 18px; margin-left: auto; }
	.bl-sheet__key:active, .bl-sheet__tile:active { background: color-mix(in srgb, var(--ink) 12%, transparent); transform: scale(.98); }
	@media (hover: hover) { .bl-sheet__key:hover, .bl-sheet__tile:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); } }
	.bl-sheet :is(.bl-sheet__key, .bl-sheet__tile, .bl-sheet__head):focus-visible { outline: var(--rule) solid var(--key); outline-offset: 2px; }
	.bl-sheet [aria-current="page"] .bl-ico { color: var(--ink); }
	.bl-sheet [aria-current="page"] span { text-decoration: underline; text-decoration-color: var(--key); text-decoration-thickness: var(--mark); text-underline-offset: .25em; }
	.bl-key--wa { display: none; }
	.bl-head { position: static; }
}
/* Tablets: bar and sheet keep a phone-like width, centred. */
@media (max-width: 1120px) and (min-width: 861px) {
	.bl-bar, .bl-sheet[open] { left: 50%; right: auto; width: 560px; transform: translateX(-50%); }
	.bl-sheet[open] { animation: none; }
}

@media (max-width: 860px) {

	.bl-controls { grid-template-columns: 1fr; }
	.bl-ctl { border-left: 0; border-top: var(--rule) solid var(--line); padding: 20px 22px; }
	.bl-ctl:first-child { border-top: 0; }
	.bl-split { grid-template-columns: 1fr; }
	.bl-split > h2 { position: static; }
	.bl-panel--split { grid-template-columns: 1fr; }
	.bl-quotes { grid-template-columns: 1fr; }
	.bl-quotes li { padding: 20px 20px; gap: 6px 14px; }
	.bl-quotes li:nth-child(2) { border-top: var(--rule) solid var(--line); }
	.bl-quotes li:nth-child(even) { border-left: 0; }
	.bl-quotes .bl-ico { width: 36px; height: 36px; padding: 8px; }
	.bl-quotes strong { font-size: 1.04rem; }
	.bl-plate-photo { height: 240px; }
	.bl-plate-photo--hero { height: 300px; }
	.bl-plate-photo--band { height: 220px; }
	.bl-plate-photo--side { min-height: 260px; }
	.bl-label, .bl-label--hero { margin: -56px 10px 0; padding: 22px 20px 22px; }
	.bl-label--flat { margin: 0; padding: 0; }
	.bl-label--cta { grid-template-columns: 1fr; margin-right: 10px; }
	.bl-label--cta .bl-keys { justify-content: flex-start; }
	.bl-room--side { grid-template-columns: 1fr; }
	.bl-room--side .bl-plate-photo { order: -1; }
	.bl-index { grid-template-columns: 1fr; }
	.bl-index a { border-left: 0; border-top: var(--rule) solid var(--line); }
	.bl-index a:first-child { border-top: 0; }
	.bl-readout, .bl-faq { padding-left: 18px; padding-right: 18px; }
	.bl-mods { grid-template-columns: 1fr; }
	.bl-mod { grid-column: auto; }
	.bl-split { grid-template-columns: 1fr; }
	.bl-cta .bl-keys { justify-content: flex-start; }
	.bl-quotes { margin-top: 16px; }
	.bl-mod:first-child, .bl-mod:nth-child(2) { grid-column: auto; }
	.bl-mod:nth-child(2) .bl-ticks { grid-template-columns: 1fr; }
	.bl-ctl strong { white-space: normal; }
	.bl-mods { grid-template-columns: 1fr; }
	.bl-mod, .bl-mod--small { grid-column: auto; padding: 24px 22px; }
	.bl-mod--wide { grid-column: auto; grid-template-columns: 1fr; }
	.bl-steps { grid-template-columns: 1fr; }
	.bl-steps li { border-left: 0; border-top: var(--rule) solid var(--line); grid-template-columns: auto 1fr; column-gap: 16px; }
	.bl-steps li::before { grid-row: span 2; }
	.bl-steps li:first-child { border-top: 0; }
	.bl-plate { padding: 8px 18px; }
	.bl-plate dl { grid-template-columns: 1fr; }
	.bl-plate dd { border-top: 0; padding-top: 0; padding-left: 14px; }
	.bl-readout th, .bl-readout td { padding: 16px 20px; }
	.bl-cta { grid-template-columns: 1fr; padding: 26px 22px; }
	.bl-foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
	.bl-readout th, .bl-readout td { padding: 14px 16px; }
	.bl-readout tr { display: grid; grid-template-columns: 1fr; border-top: var(--rule) solid var(--line); }
	.bl-readout tr:first-child { border-top: 0; }
	.bl-readout th, .bl-readout td { border-top: 0; }
	.bl-readout th { padding-bottom: 2px; }
	.bl-readout td { text-align: left; padding-top: 0; padding-left: 36px; }
}
/* German menu words are longer (KI & Automatisierung, Drohnenfilme, Referenzen): slightly tighter items so the header fits its
   container and stays centred at every desktop width (Abdul, 17 Nov: "German header leaned right"; it needed 1258px in 1240px). */
:lang(de) .bl-nav > a { padding: 0 9px; }
:lang(de) .bl-mm__btn { padding: 0 6px 0 10px; }
:lang(de) .bl-nav { gap: 0; }
@media (max-width: 1240px) and (min-width: 1121px) {
	.bl-mm__btn { padding: 0 6px 0 10px; font-size: .84rem; }
	.bl-nav > a { padding: 0 10px; font-size: .84rem; }
	.bl-head__wa span { display: none; }
	.bl-head__wa { padding: 0 14px; }
	:lang(de) .bl-nav > a { padding: 0 8px; }
	:lang(de) .bl-mm__btn { padding: 0 5px 0 8px; }
	:lang(de) .bl-head__in { gap: 16px; }
}
@media (max-width: 1240px) and (min-width: 861px) {
	.bl-steps { grid-template-columns: repeat(3, 1fr); }
	.bl-steps li:nth-child(4) { border-left: 0; }
	.bl-steps li:nth-child(n+4) { border-top: var(--rule) solid var(--line); }
}
@keyframes bl-sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes bl-sheet-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bl-sheet[open] { animation-name: bl-sheet-fade; } }
/* Short screens (desktop windows, zoomed browsers, small laptops; Abdul, 17 Nov: the menu overflowed with a scrollbar): a
   more compact sheet so it fits, and no visible scrollbar inside the glass (it still scrolls by touch or wheel if needed). */
.bl-sheet { scrollbar-width: none; }
.bl-sheet::-webkit-scrollbar { display: none; }
@media (max-width: 1120px) and (max-height: 640px) {
	.bl-sheet[open] { padding: 4px 8px 8px; }
	.bl-sheet__grip { margin-bottom: 4px; }
	.bl-sheet__nav { gap: 8px; }
	.bl-sheet__key { min-height: 52px; gap: 4px; padding: 6px 2px; }
	.bl-sheet__key .bl-ico { width: 20px; height: 20px; }
	.bl-sheet__tile { min-height: 46px; padding-block: 6px; }
	.bl-sheet__head { min-height: 36px; }
}
/* Landscape phones (short screens): services four to a row so the sheet still fits; the odd tile no longer spans. */
@media (max-width: 1120px) and (orientation: landscape) and (max-height: 500px) {
	.bl-sheet__tiles { grid-template-columns: repeat(4, 1fr); }
	.bl-sheet__tiles li:last-child:nth-child(odd) { grid-column: auto; }
	.bl-sheet__tile { min-height: 42px; }
	.bl-sheet__key { min-height: 44px; flex-direction: row; gap: 8px; }
	.bl-sheet__nav { gap: 6px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .bl-sheet[open] { background: var(--panel); } .bl-bar { background: #232527; } } /* no blur support: solid sheet, text stays readable */
/* While the menu is open the page behind does not scroll (iOS rubber band, Android overscroll). */
html:has(body.bl-menu-open) { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bl-plate-photo:not(.is-in) img { transform: none; }
	*, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Window (DESIGN.md K21, Abdul 8 Nov 2026): a parallax photo frame reads as a window set into the wall.
   An inner shadow under the top edge, a faint light rim at the foot, a 1px outline. */
:root { --window: inset 0 16px 26px -8px rgba(20, 18, 14, .55), inset 0 -8px 16px -8px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(20, 18, 14, .16); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --window: inset 0 16px 28px -8px rgba(0, 0, 0, .8), inset 0 -8px 16px -8px rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .07); }
}
:root[data-theme="dark"] { --window: inset 0 16px 28px -8px rgba(0, 0, 0, .8), inset 0 -8px 16px -8px rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .07); }
[data-parallax] { position: relative; }
[data-parallax] img { object-position: var(--focus, 50% 50%); }
[data-parallax]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--window); pointer-events: none; }
/* Window, screen variant (K21): a phone screen that scrolls a tall page screenshot. The site's own sticky header
   and fixed bar sit on top as still layers. A device screen is glass, not a window: no --window shadow. */
.o-phone__screen { position: relative; overflow: hidden; aspect-ratio: 600 / 1298; border-radius: 36px; }
.o-phone__screen img { border-radius: 0; }
.o-phone__screen > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.o-phone__screen::after { display: none; }
.o-phone__fix { position: absolute; left: 0; width: 100%; height: auto; z-index: 1; pointer-events: none; }
.o-phone__fix--top { top: 0; }
.o-phone__fix--bottom { bottom: 0; }
@media (max-width: 860px) { .o-phone__screen { border-radius: 32px; } }

/* Child-page marker (Abdul, 9 Nov): a hovered or current child page (dropdown services, footer links) gets a 2px
   yellow underline drawn from left to right, with no background. Parent items in the top bar keep their pills. */
.bl-mm__list strong, .bl-foot__nav a span, .bl-foot__pages a, .bl-foot__contact a span { justify-self: start; padding-bottom: 3px; background: linear-gradient(var(--key), var(--key)) left bottom / 0 var(--mark) no-repeat; text-decoration: none; transition: background-size .18s var(--ease); }
.bl-mm__list a:hover strong, .bl-mm__list a:focus-visible strong, .bl-mm__list a[aria-current="page"] strong,
.bl-foot__nav a:hover span, .bl-foot__nav a:focus-visible span, .bl-foot__nav a[aria-current="page"] span,
.bl-foot__pages a:hover, .bl-foot__pages a:focus-visible, .bl-foot__pages a[aria-current="page"],
.bl-foot__contact a:hover span, .bl-foot__contact a:focus-visible span { background-size: 100% var(--mark); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .bl-mm__list strong, .bl-foot__nav a span, .bl-foot__pages a, .bl-foot__contact a span { transition: none; } }


/* ---------- Loading screen (Abdul, 15 Nov): logo in the middle, one 2px line running left to right ---------- */
.bl-loader { display: none; }
.bl-js .bl-loader { position: fixed; inset: 0; z-index: 100001; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--shell); color: var(--ink); transition: opacity .4s var(--ease), visibility 0s .4s; }
.bl-ready .bl-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.bl-warm .bl-loader { display: none; }
/* Theme switch (Abdul, 16 Nov: "subtle and smooth, not flickering"): the old colours fade to black and white, the theme
   swaps in the grey middle, the new colours fade in. One 0.9 s crossfade of the page's picture (View Transitions), so
   nothing can flicker; without them, a plain switch. Reduced motion: none. */
@media (prefers-reduced-motion: no-preference) {
	/* the new theme spreads out as a growing circle from the pressed control (Abdul, 17 Nov: fluid); main.js sets --vt-x/--vt-y/--vt-r */
	::view-transition-old(root) { animation: none; }
	::view-transition-new(root) { animation: bl-theme-flow .75s cubic-bezier(.65, 0, .35, 1) both; mix-blend-mode: normal; }
	@keyframes bl-theme-flow { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); } to { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 0)); } }
}
} /* later pages of the same visit: no loading screen (speed, 16 Nov) */
.bl-loader__logo .bl-logo__svg { width: 210px; height: 30px; }
.bl-loader__line { position: relative; width: 120px; height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.bl-loader__line::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--ink); transform: translateX(-100%); animation: bl-load 1.3s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes bl-load { to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .bl-loader__line::after { animation: none; transform: none; width: 100%; opacity: .5; } .bl-js .bl-loader { transition: none; } }

/* ---------- Cookie notice (plugin Cookie Notice; Abdul 16 Nov): a small raised panel in the site's look instead of
   the plugin's grey bar. The plugin paints colours inline, hence !important. Desktop: bottom left; phones and
   tablets: above the bottom bar. "Ok" is a ring key (K2, R55); the duplicate close cross is hidden. ---------- */
#cookie-notice { left: 24px !important; right: auto !important; bottom: 24px !important; width: min(520px, calc(100vw - 48px)) !important; min-width: 0 !important; border-radius: var(--r-panel); background: var(--panel) !important; color: var(--ink) !important; box-shadow: 0 0 0 var(--rule) var(--line), 0 24px 48px -20px rgba(0, 0, 0, .45); font: 400 var(--t-ui, .95rem)/1.5 var(--font) !important; z-index: 60; }
#cookie-notice:not(.cookie-notice-visible) { background: transparent !important; box-shadow: none !important; pointer-events: none; } /* hidden or accepted: the plugin only collapses the inside, so the panel goes too (16 Nov fix: it showed as a line) */
#cookie-notice .cookie-notice-container { display: flex; align-items: center; gap: 18px; padding: 18px 20px 18px 22px; color: var(--ink-2) !important; text-align: left; }
#cookie-notice .cn-text-container { margin: 0; font: inherit; color: var(--ink-2); }
#cookie-notice .cn-buttons-container { flex: none; margin: 0; }
#cookie-notice .cn-button { min-height: 44px; margin: 0 !important; padding: 0 22px !important; border: 0 !important; border-radius: var(--r-pill) !important; background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--key), var(--ring-edge) !important; font: 620 .95rem/1 var(--font) !important; letter-spacing: .015em; cursor: pointer; transition: box-shadow .45s var(--ease); }
#cookie-notice .cn-button:hover, #cookie-notice .cn-button:focus-visible { box-shadow: inset 0 0 0 2px var(--key), var(--ring-edge), 0 0 22px 2px color-mix(in srgb, var(--key) 55%, transparent) !important; }
#cookie-notice .cn-close-icon { display: none; }
@media (max-width: 1120px) { #cookie-notice { left: 10px !important; bottom: calc(90px + env(safe-area-inset-bottom)) !important; width: calc(100vw - 20px) !important; } }
@media (max-width: 560px) { #cookie-notice .cookie-notice-container { gap: 14px; padding: 14px 14px 14px 16px; font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { #cookie-notice .cn-button { transition: none; } }
#cookie-notice .cn-text-container a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
#cookie-notice .cn-text-container a:hover, #cookie-notice .cn-text-container a:focus-visible { text-decoration-color: var(--key); text-decoration-thickness: 2px; }
