/*!
 * Schloss Bernhardt Berlin — shared design language ("Nachtkino am Hinterhof").
 * kino-landmark, re-themed from the favicon: electric violet octagon + white key + yellow bow spark.
 * Tokens → base → motifs → chrome → hero → bricks. Every page links this file unedited.
 * Page CSS (assets/css/pages/<key>.css) may only use var(--…) tokens from here.
 * Docs: DESIGN-LANGUAGE.md (rationale, contrast table) · BRICKS.md (markup catalogue).
 */

/* ==========================================================================
   0. Fonts (self-hosted, OFL — assets/fonts/OFL-DMSerifDisplay.txt)
   ========================================================================== */
@font-face {
	font-family: "DM Serif Display";
	src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Serif Display";
	src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	/* Brand violet (hue 281–282°) */
	--violet-500: #B300FF;   /* brand fill, primary CTA fill (white text 4.82:1) */
	--violet-600: #9400D6;   /* hover / pressed, icons on light (6.5:1 white on it) */
	--violet-700: #7400A8;   /* links + violet text on light (8.6:1 on paper) */
	--violet-800: #4E0A7E;   /* deep violet surfaces */
	--violet-300: #D58CFF;   /* lifted violet for text/icons on dark (8.4:1 on ink-900) */
	--violet-200: #E9C7FF;   /* soft violet on dark */
	--violet-100: #F3E3FF;   /* subtext on the gradient band (5.3:1 on violet-600) */
	--violet-50:  #F8F0FF;   /* faint violet tint */

	/* Ink — deep aubergine / violet-black */
	--ink-950: #0D0414;
	--ink-900: #14061F;      /* config background — hero overlay, dark bands */
	--ink-850: #190828;
	--ink-800: #1E0B2E;      /* cards on dark */
	--ink-700: #33184A;      /* hairlines on dark */
	--ink-600: #4A2C63;      /* stronger lines on dark */

	/* Gradient band: violet → plum → indigo-plum (all stops hue 275–282°) */
	--plum: #6B0AA8;
	--indigo: #4E0A7E;
	--grad-band: linear-gradient(118deg, var(--violet-600) 0%, var(--plum) 52%, var(--indigo) 100%);
	--grad-spot: radial-gradient(90% 120% at 82% 0%, color-mix(in srgb, var(--violet-500) 34%, transparent), transparent 62%);

	/* Paper + neutrals (warm, faintly violet) */
	--white: #FFFFFF;
	--paper: #FBF8F4;        /* base light band */
	--tint: #F5EFFA;         /* violet-tinted band */
	--tint2: #F1EAE2;        /* warm stone band */
	--line: #E4DAEA;         /* hairlines on light (decorative) */
	--line-strong: #8F7FA0;  /* UI borders on light (3.5:1 on paper) */
	--heading: #170A22;      /* headings on light (17.6:1) */
	--text: #2A1F33;         /* body on light (14.8:1 on paper) */
	--muted: #5E5068;        /* secondary text on light (7.2:1 on paper, 6.6:1 on tint) */
	--on-dark: #EDE4F5;      /* body on ink */
	--on-dark-muted: #C9B8DA;/* secondary on ink (10.5:1) */

	/* Spark — favicon yellow. ONLY dots, hairline highlights, focus ring on dark. Never a fill, never text on light. */
	--spark: #FFE45C;

	/* Status */
	--info: #2F55B5;   --info-bg: #EEF2FD;   --info-text: #173E8C;
	--warn: #A86F00;   --warn-bg: #FFF6DA;   --warn-text: #5C3D00;
	--danger: #B3122E; --danger-bg: #FDECEE; --danger-text: #8E1027;
	--danger-band: #7E0F22; /* solid 112/110 band, white text 10.6:1 */
	--success: #1E7A4E;

	/* Role tokens (light context default; dark contexts redefine them, see §2) */
	--c-bg: var(--paper);
	--c-fg: var(--text);
	--c-heading: var(--heading);
	--c-muted: var(--muted);
	--c-link: var(--violet-700);
	--c-line: var(--line);
	--c-line-strong: var(--line-strong);
	--c-surface: var(--white);
	--c-surface-2: var(--tint);
	--c-accent: var(--violet-600);
	--focus: var(--heading);
	--cta: var(--violet-500);
	--cta-hover: var(--violet-600);
	--on-cta: var(--white);

	/* Type */
	--font-display: "DM Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--fs-xs: 0.875rem;  /* labels/eyebrows only, never body */
	--fs-sm: 1rem;
	--fs-base: 1.125rem; /* 18 px body floor */
	--fs-md: 1.25rem;
	--fs-lg: 1.5rem;
	--fs-xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
	--fs-2xl: clamp(2.1rem, 1.55rem + 2.2vw, 3.15rem);
	--fs-3xl: clamp(2.45rem, 1.6rem + 3.6vw, 4.5rem);
	--fs-display: clamp(2.8rem, 1.7rem + 4.8vw, 5.6rem);
	--lh-body: 1.65;
	--lh-heading: 1.08;
	--measure: 68ch;

	/* Space (4-px base, 1.5 ramp at the top) */
	--sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
	--sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;
	--section-y: clamp(3.75rem, 2.2rem + 5.5vw, 7rem);
	--gutter: clamp(1rem, 0.5rem + 2.4vw, 2rem);   /* 16 px at phone width */
	--container: 1200px;
	--container-narrow: 820px;
	--container-wide: 1360px;

	/* Shape — small radii + octagon chamfers (the favicon's cut corners) */
	--r-sm: 4px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
	--cut-sm: 10px; --cut: 18px; --cut-lg: 30px;
	--oct: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);

	/* Elevation (one restrained system) + the violet rim light (primary actions only) */
	--sh-sm: 0 1px 2px color-mix(in srgb, var(--ink-900) 10%, transparent);
	--sh-md: 0 14px 34px -12px color-mix(in srgb, var(--ink-900) 28%, transparent);
	--sh-lg: 0 30px 70px -24px color-mix(in srgb, var(--ink-950) 55%, transparent);
	--rim: inset 0 1px 0 color-mix(in srgb, var(--white) 34%, transparent), 0 0 0 1px color-mix(in srgb, var(--violet-300) 55%, transparent), 0 12px 30px -10px color-mix(in srgb, var(--violet-500) 70%, transparent);
	--rim-hover: inset 0 1px 0 color-mix(in srgb, var(--white) 40%, transparent), 0 0 0 1px var(--violet-300), 0 16px 38px -10px color-mix(in srgb, var(--violet-500) 85%, transparent);

	/* Motion (all transitions/animations read these — reduced motion sets them ~0) */
	--dur-fast: 140ms;
	--dur-base: 240ms;
	--dur-slow: 650ms;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--reveal-shift: 22px;

	/* Chrome */
	--tap: 44px;
	--header-h: 76px;
	--callbar-h: 72px;
	--fb-overlap: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--dur-fast: 0.01ms;
		--dur-base: 0.01ms;
		--dur-slow: 0.01ms;
		--reveal-shift: 0px;
	}
}

/* ==========================================================================
   2. Contexts — dark bands redefine the role tokens, bricks just use var(--c-*)
   ========================================================================== */
.band--dark, .band--ink, .hero, .closing, .site-header, .site-footer, .on-dark, .featureband__card, .callstrip, .notice--emergency {
	--c-bg: var(--ink-900);
	--c-fg: var(--on-dark);
	--c-heading: var(--white);
	--c-muted: var(--on-dark-muted);
	--c-link: var(--violet-300);
	--c-line: var(--ink-700);
	--c-line-strong: var(--ink-600);
	--c-surface: var(--ink-800);
	--c-surface-2: var(--ink-850);
	--c-accent: var(--violet-300);
	--focus: var(--spark);
}
.on-light, .band--base, .band--tint, .band--tint2, .band--white {
	--c-bg: var(--paper);
	--c-fg: var(--text);
	--c-heading: var(--heading);
	--c-muted: var(--muted);
	--c-link: var(--violet-700);
	--c-line: var(--line);
	--c-line-strong: var(--line-strong);
	--c-surface: var(--white);
	--c-surface-2: var(--tint);
	--c-accent: var(--violet-600);
	--focus: var(--heading);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	hyphens: auto;
	overflow-wrap: break-word;
}
.wp-site-blocks, .site-main, .wp-block-post-content { margin: 0; padding: 0; }
.wp-block-post-content > *, .site-main > * { max-width: none; margin-block: 0; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--c-heading); line-height: var(--lh-heading); text-wrap: balance; hyphens: manual; }
@media (max-width: 24em) { h1 { hyphens: auto; } } /* 320-360 px phones: a one-word compound (Datenschutzerklärung) must never be wider than the screen */
h1, h2 { font-family: var(--font-display); font-weight: 400; font-synthesis: none; letter-spacing: -0.005em; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
h4 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; line-height: 1.3; }
h1 em, h2 em, .display em { font-style: italic; color: var(--c-accent); }
p, ul, ol, dl, figure, blockquote, table { margin: 0; }
p { max-width: var(--measure); }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--dur-fast) var(--ease); }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 700; color: var(--c-heading); }
small { font-size: var(--fs-sm); }
ul[class], ol[class] { list-style: none; padding: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.i--sm { width: 1em; height: 1em; }
.i--lg { width: 1.75rem; height: 1.75rem; }
.i--xl { width: 2.5rem; height: 2.5rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--violet-200); color: var(--ink-900); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: 300; padding: var(--sp-3) var(--sp-5); background: var(--white); color: var(--heading); font-weight: 700; border-radius: var(--r-md); box-shadow: var(--sh-md); }
.skip-link:focus { top: var(--sp-3); }

/* ==========================================================================
   4. Layout primitives
   ========================================================================== */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.section { position: relative; padding-block: var(--section-y); background: var(--c-bg); color: var(--c-fg); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.band--base { --c-bg: var(--paper); }
.band--white { --c-bg: var(--white); --c-surface: var(--paper); }
.band--tint { --c-bg: var(--tint); }
.band--tint2 { --c-bg: var(--tint2); --c-surface-2: var(--paper); }
.band--dark { --c-bg: var(--ink-900); }
.band--ink { --c-bg: var(--ink-950); }
.band--dark, .band--ink { background-image: var(--grad-spot); }
.stack > * + * { margin-top: var(--stack, var(--sp-4)); }
.stack--lg { --stack: var(--sp-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, var(--sp-3)); align-items: center; }
.grid { display: grid; gap: var(--gap, var(--sp-5)); }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head > * + * { margin-top: var(--sp-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: var(--sp-5); align-items: end; }
@media (min-width: 60em) { .section-head--split { grid-template-columns: 1.2fr 1fr; } }
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--c-muted); max-width: 60ch; }
.muted { color: var(--c-muted); }
.display { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 400; line-height: 1.02; color: var(--c-heading); }
.answer { font-size: var(--fs-md); line-height: 1.6; color: var(--c-fg); border-left: 4px solid var(--violet-500); padding-left: var(--sp-5); max-width: 62ch; }

/* ==========================================================================
   5. Signature motifs (octagon · key-bow ring · key-tooth line · marquee plate · spark)
   ========================================================================== */
.eyebrow {
	display: inline-flex; align-items: center; gap: 0.6em;
	font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--c-link); margin: 0;
}
.eyebrow::before {
	content: ""; width: 0.95em; height: 0.95em; flex: none; border-radius: 50%;
	border: 0.2em solid currentColor;
	background: radial-gradient(circle, var(--spark) 0 26%, transparent 30%);
}
.eyebrow--plain::before { display: none; }
.keybow {
	display: inline-block; width: 1.1em; height: 1.1em; border-radius: 50%; flex: none;
	border: 0.22em solid var(--c-accent);
	background: radial-gradient(circle, var(--spark) 0 26%, transparent 30%);
	vertical-align: -0.15em;
}
.keyline {
	--kl: var(--c-accent);
	display: block; position: relative; width: min(15rem, 70%); height: 18px; margin-block: var(--sp-6); border: 0;
}
.keyline::before {
	content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
	border: 3px solid var(--kl); background: radial-gradient(circle, var(--spark) 0 3px, transparent 3.5px);
}
.keyline::after {
	content: ""; position: absolute; left: 17px; right: 0; top: 0; height: 18px;
	background:
		linear-gradient(var(--kl) 0 0) left 0 top 7px / 100% 4px no-repeat,
		linear-gradient(var(--kl) 0 0) right 14px top 10px / 7px 7px no-repeat,
		linear-gradient(var(--kl) 0 0) right 0 top 10px / 9px 8px no-repeat;
}
.keyline--center { margin-inline: auto; }
.oct { clip-path: var(--oct); }
.chamfer { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.chamfer--tr { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.marquee-plate {
	display: inline-flex; align-items: center; gap: 0.6em; max-width: 100%;
	padding: 0.7em 1.15em; border: 1px solid color-mix(in srgb, var(--violet-300) 55%, transparent);
	border-radius: var(--r-sm);
	font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white);
	background:
		radial-gradient(circle, color-mix(in srgb, var(--spark) 85%, transparent) 0 1.3px, transparent 1.8px) left 6px top 3px / 11px 6px repeat-x,
		radial-gradient(circle, color-mix(in srgb, var(--spark) 85%, transparent) 0 1.3px, transparent 1.8px) left 6px bottom 3px / 11px 6px repeat-x,
		color-mix(in srgb, var(--ink-950) 55%, transparent);
}
.marquee-plate { text-wrap: balance; }
@media (max-width: 30em) { .marquee-plate { letter-spacing: 0.1em; padding-inline: 0.9em; } } /* phones: tighter tracking so short plates stay on one line, long ones break at the · */
.spark-dot { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--spark); vertical-align: 0.1em; }
.signal { position: relative; display: inline-block; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--violet-300); flex: none; }
.signal::after { content: ""; position: absolute; inset: -0.35em; border-radius: 50%; border: 2px solid var(--violet-300); opacity: 0; animation: var(--anim-signal, bsb-signal) 2.4s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { :root { --anim-signal: none; } }
@keyframes bsb-signal { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   6. Buttons + links (the phone leads)
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.65em;
	min-height: var(--tap); padding: 0.8em 1.5em; border: 1px solid transparent; border-radius: var(--r-pill);
	font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; line-height: 1.15; text-decoration: none; text-align: center;
	cursor: pointer; white-space: normal;
	transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn .i { width: 1.2em; height: 1.2em; }
.btn--call { background: var(--cta); color: var(--on-cta); box-shadow: var(--rim); padding-left: 0.55em; }
.btn--call:hover { background: var(--cta-hover); color: var(--on-cta); box-shadow: var(--rim-hover); }
.btn--call > .i:first-child {
	width: 2.1em; height: 2.1em; padding: 0.48em; flex: none;
	background: var(--violet-800); color: var(--white); clip-path: var(--oct);
}
.btn--call:hover > .i:first-child { background: var(--ink-900); }
.btn--lg { font-size: var(--fs-md); padding-block: 0.85em; }
/* big call button: label, icon and number wrap as whole items, never inside "Jetzt anrufen:" — and phones get a slightly smaller size so it stays one line */
.btn--lg.btn--call { flex-wrap: wrap; row-gap: 0.1em; }
@media (max-width: 30em) { .btn--lg.btn--call { font-size: var(--fs-base); column-gap: 0.45em; } }
@media (max-width: 23em) { /* 320 px: a label + number button keeps the icon on the left spanning two lines instead of a tall stack */
	.btn--lg.btn--call:has(> span) { display: inline-grid; grid-template-columns: auto minmax(0, auto); justify-content: center; align-items: center; column-gap: 0.55em; row-gap: 0; text-align: center; padding-right: 1em; }
	.btn--lg.btn--call:has(> span) > .i:first-child { grid-row: 1 / span 2; }
}
.btn--xl { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); padding: 0.7em 1.6em 0.7em 0.6em; letter-spacing: 0.01em; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--c-heading); border-color: color-mix(in srgb, var(--c-heading) 50%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--c-heading) 8%, transparent); border-color: var(--c-heading); color: var(--c-heading); }
.btn--light { background: var(--white); color: var(--violet-800); }
.btn--light:hover { background: var(--violet-50); color: var(--violet-800); }
.btn--emergency { background: var(--white); color: var(--danger-band); border-color: var(--white); }
.btn--emergency:hover { background: var(--danger-bg); color: var(--danger-band); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; color: var(--c-link); text-decoration: none; min-height: var(--tap); }
.link-arrow .i { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .i { transform: translateX(4px); }
.tel-inline { font-weight: 700; white-space: nowrap; color: var(--c-link); }
.nowrap { white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: center; }

/* ==========================================================================
   7. Chrome — header + navigation
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 130; /* above the call bar; no backdrop-filter: it would trap the fixed drawer + backdrop inside the header box */
	background: var(--ink-900);
	border-bottom: 1px solid color-mix(in srgb, var(--violet-300) 18%, transparent);
	color: var(--on-dark);
	transition: box-shadow var(--dur-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px var(--ink-950); }
.site-header__inner {
	display: flex; align-items: center; gap: var(--sp-4);
	max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
	min-height: var(--header-h); transition: min-height var(--dur-base) var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; color: var(--white); text-decoration: none; min-height: var(--tap); }
.brand:hover { text-decoration: none; }
.mark { display: block; flex: none; }
.mark__oct { fill: var(--violet-500); }
.mark__key { fill: var(--white); }
.mark__bow { fill: var(--spark); }
.brand__mark { width: 2.6rem; height: 2.6rem; transition: transform var(--dur-base) var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); letter-spacing: 0.005em; }
.brand__sub { margin-top: 0.3em; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-300); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.header-call { padding-block: 0.45em; font-size: var(--fs-sm); }
.header-call .header-call__label { display: none; }
.burger { display: none; width: var(--tap); height: var(--tap); padding: 0; border-radius: var(--r-md); border: 1px solid var(--ink-600); background: transparent; color: var(--white); cursor: pointer; place-items: center; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast); }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav__head, .nav__call { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; margin: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0.4rem 0.7rem; border-radius: var(--r-md); color: var(--on-dark); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--white); background: color-mix(in srgb, var(--violet-300) 12%, transparent); text-decoration: none; }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -2px 0 var(--violet-300); }
.nav__toggle { display: inline-grid; place-items: center; width: 28px; height: var(--tap); margin-left: -0.45rem; padding: 0; border: 0; background: transparent; color: var(--violet-300); cursor: pointer; border-radius: var(--r-sm); }
.nav__toggle { position: relative; }
.nav__toggle::after { content: ""; position: absolute; inset: 0 -8px; }
.nav__toggle .i { width: 1rem; height: 1rem; transition: transform var(--dur-base) var(--ease); }
.nav__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__sub {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; min-width: 17rem; padding: var(--sp-2);
	background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s linear var(--dur-base);
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__sublink { display: flex; align-items: center; min-height: var(--tap); padding: 0.45rem 0.8rem; border-radius: var(--r-md); color: var(--on-dark); font-size: var(--fs-sm); text-decoration: none; }
.nav__sublink:hover, .nav__sublink[aria-current="page"] { background: color-mix(in srgb, var(--violet-300) 14%, transparent); color: var(--white); text-decoration: none; }
.nav__sublink--hub { font-weight: 700; color: var(--violet-300); border-bottom: 1px solid var(--ink-700); border-radius: var(--r-md) var(--r-md) 0 0; margin-bottom: 0.25rem; }
@media (min-width: 74.01em) {
	.nav__item.has-sub:hover > .nav__sub, .nav__item.has-sub:focus-within > .nav__sub, .nav__item.is-open > .nav__sub {
		opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
	}
	.nav__item:last-child .nav__sub { left: auto; right: 0; }
}
.nav-backdrop { position: fixed; inset: 0; z-index: 140; background: color-mix(in srgb, var(--ink-950) 62%, transparent); }
.nav-backdrop[hidden] { display: none; }

@media (max-width: 74em) {
	.burger { display: inline-grid; }
	.nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; margin: 0;
		width: min(24rem, 88vw); height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
		flex-direction: column; align-items: stretch; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5) var(--sp-6);
		background: var(--ink-900); border-left: 1px solid var(--ink-700); box-shadow: var(--sh-lg);
		clip-path: inset(0 0 0 100%); visibility: hidden;
		transition: clip-path var(--dur-base) var(--ease), visibility 0s linear var(--dur-base);
	}
	.nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; }
	.nav__head-title { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--white); }
	.nav__close { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border: 1px solid var(--ink-600); border-radius: var(--r-md); background: transparent; color: var(--white); cursor: pointer; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--ink-700); }
	.nav__link { flex: 1; font-size: var(--fs-base); padding-inline: 0.25rem; }
	.nav__toggle { width: var(--tap); margin: 0; }
	.nav__sub { position: static; display: none; min-width: 0; width: 100%; margin: 0 0 var(--sp-3); opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--ink-850); }
	.nav__item.is-open > .nav__sub { display: block; }
	.nav__call { display: block; margin-top: auto; }
	.nav__call-note { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--on-dark-muted); }
	.header-call__num { font-variant-numeric: tabular-nums; }
}
@media (max-width: 37.5em) {
	:root { --header-h: 64px; }
	.brand__mark { width: 2.25rem; height: 2.25rem; }
	.brand__name { font-size: 1.05rem; }
	.brand__sub { font-size: 0.68rem; letter-spacing: 0.1em; }
	.header-call { width: var(--tap); height: var(--tap); padding: 0; gap: 0; }
	.header-call > .i:first-child { width: var(--tap); height: var(--tap); padding: 0.7rem; background: transparent; clip-path: none; }
	.header-call .header-call__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 74.01em) { .brand__name { white-space: nowrap; } }
@media (min-width: 74.01em) and (max-width: 84em) {
	.brand__name { font-size: 1.12rem; }
	.nav__link { padding-inline: 0.5rem; }
	.site-header__inner { gap: var(--sp-3); }
}
@media (max-width: 26em) {
	.callbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 22.5em) {
	.brand__sub { display: none; }
	.brand { gap: 0.5rem; }
}

/* ==========================================================================
   8. Chrome — closing band, footer, sticky call bar, scroll-to-top
   ========================================================================== */
.site-footer { position: relative; background: var(--ink-950); color: var(--on-dark-muted); }
.closing { position: relative; overflow: hidden; background: var(--ink-900); color: var(--on-dark); padding-block: var(--section-y); text-align: center; isolation: isolate; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--violet-500) 30%, transparent), transparent 65%), radial-gradient(40% 60% at 90% 100%, color-mix(in srgb, var(--plum) 40%, transparent), transparent 70%); }
.closing::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(70vw, 34rem); aspect-ratio: 1; transform: translate(-50%, -50%); clip-path: var(--oct); border: 0; background: color-mix(in srgb, var(--violet-500) 7%, transparent); }
.closing__inner { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; gap: var(--sp-5); }
.closing__title { font-size: var(--fs-2xl); color: var(--white); max-width: 22ch; }
.closing__note { font-weight: 700; color: var(--white); margin-top: calc(var(--sp-2) * -1); }
.closing__reassure { display: inline-flex; gap: 0.6em; align-items: flex-start; text-align: left; color: var(--on-dark-muted); max-width: 46ch; }
.closing__reassure .i { color: var(--violet-300); margin-top: 0.2em; }
.footer__main { max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(3rem, 2rem + 3vw, 4.5rem) var(--gutter) var(--sp-6); }
.footer__grid { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
@media (min-width: 40em) and (max-width: 79.99em) { /* brand = its own wide row (logo + text left, contact right), the four link groups below */
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 48em) and (max-width: 79.99em) { /* wide enough for logo + text left, contact right */
	.footer__grid .footer__brand { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: var(--sp-6); row-gap: var(--sp-4); align-items: start; }
	.footer__grid .footer__brand .brand { grid-column: 1; justify-self: start; }
	.footer__grid .footer__brand .footer__about { grid-column: 1; max-width: 40ch; }
	.footer__grid .footer__brand .footer__contact { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 64em) and (max-width: 79.99em) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 80em) { .footer__grid { grid-template-columns: minmax(19rem, 1.6fr) repeat(4, minmax(0, 1fr)); } }
@media (min-width: 40em) { .brand--footer .brand__name, .brand--footer .brand__sub, .footer__mail { white-space: nowrap; } }
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.brand--footer .brand__mark { width: 2.4rem; height: 2.4rem; }
.footer__about { font-size: var(--fs-sm); max-width: 34ch; }
.footer__contact { display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.footer__contact li { display: flex; align-items: center; gap: 0.6em; min-height: var(--tap); }
.footer__contact .i { color: var(--violet-300); }
.footer__tel { font-size: var(--fs-md); font-weight: 700; color: var(--white); text-decoration: none; }
.footer__mail { color: var(--on-dark); }
.footer__title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-300); margin-bottom: var(--sp-3); }
.footer__links li a { display: flex; align-items: center; padding-block: 0.72rem; line-height: 1.35; color: var(--on-dark-muted); text-decoration: none; font-size: var(--fs-sm); } /* padding (not min-height) keeps a gap between two-line items and stays a 44 px target */
.footer__links li a:hover, .footer__links a[aria-current="page"] { color: var(--white); text-decoration: underline; }
.footer__links li:first-child a { color: var(--on-dark); font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--ink-700); }
.footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }
.footer__legal a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--on-dark); font-size: var(--fs-sm); }
.footer__small { font-size: var(--fs-sm); color: var(--on-dark-muted); align-self: center; }
.callbar { display: none; }
.to-top {
	position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 90;
	display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid var(--ink-600); cursor: pointer;
	background: var(--ink-900); color: var(--white); clip-path: var(--oct);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s linear var(--dur-base), background-color var(--dur-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--violet-600); }
.to-top:focus-visible { outline-offset: -4px; clip-path: none; border-radius: var(--r-md); }
@media (max-width: 56em) {
	.site-footer { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px)); }
	.callbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
		padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
		background: color-mix(in srgb, var(--ink-950) 96%, transparent); border-top: 1px solid color-mix(in srgb, var(--violet-300) 30%, transparent);
		backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	}
	.callbar__btn { width: 100%; justify-content: center; font-size: var(--fs-md); padding-block: 0.4em; }
	.callbar__btn span { white-space: nowrap; }
	.callbar__label { font-weight: 600; }
	.to-top { bottom: calc(var(--callbar-h) + 0.75rem + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   9. Media frames + image placeholder fallback (duotone gradient until photos exist)
   ========================================================================== */
.img-placeholder, .frame, .hero__media, .svc-card__media, .ba__pane, .door-frame__media {
	background-color: var(--ink-800);
	background-image: radial-gradient(70% 80% at 25% 20%, color-mix(in srgb, var(--violet-500) 45%, transparent), transparent 70%), linear-gradient(160deg, var(--ink-800) 0%, var(--indigo) 70%, var(--plum) 100%);
}
.img-placeholder { display: block; width: 100%; height: auto; color: var(--violet-300); }
.hero__media > img, .frame > img, .svc-card__media > img, .ba__pane > img, .door-frame__media > img { color: transparent; } /* a broken file never shows its alt text over the layout */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: var(--ratio, 4 / 3); }
.frame > img, .frame > .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.frame--tall { --ratio: 3 / 4; }
.frame--portrait { --ratio: 4 / 5; }
.frame--wide { --ratio: 16 / 9; }
.frame--cinema { --ratio: 21 / 9; }
.frame--square { --ratio: 1; }
.frame--oct { border-radius: 0; --cut: 16%; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * 0.75), 100% calc(100% - var(--cut) * 0.75), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut) * 0.75), 0 calc(var(--cut) * 0.75)); }
.frame--chamfer { border-radius: 0; clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg)); }
.frame--duotone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--ink-950) 55%, transparent)); mix-blend-mode: multiply; pointer-events: none; }
.frame__tag {
	position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 2; display: inline-flex; align-items: center; gap: 0.55em; max-width: calc(100% - 2rem);
	padding: 0.55em 1em; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink-950) 82%, transparent); color: var(--white);
	font-size: var(--fs-sm); font-weight: 700; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.frame__tag .i { color: var(--violet-300); }
.figure-credit { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--c-muted); }

/* ==========================================================================
   10. HERO — cinematic full-bleed dark photo + 8 variants
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: var(--hero-h, clamp(34rem, 78vh, 48rem));
	padding-block: clamp(4rem, 3rem + 5vw, 7rem); background-color: var(--ink-900); color: var(--on-dark);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media > img, .hero__media > .img-placeholder, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--ink-950) 62%, transparent) 0%, color-mix(in srgb, var(--ink-900) 58%, transparent) 42%, color-mix(in srgb, var(--ink-950) 94%, transparent) 100%),
		linear-gradient(90deg, color-mix(in srgb, var(--ink-950) 70%, transparent) 0%, transparent 72%),
		radial-gradient(90% 70% at 12% 35%, color-mix(in srgb, var(--plum) 40%, transparent), transparent 62%);
}
.hero__inner { position: relative; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.hero__content { max-width: 44rem; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
.hero__content > * { margin: 0; }
.hero .breadcrumbs { margin-bottom: calc(var(--sp-2) * -1); }
.hero__title { font-size: var(--fs-3xl); color: var(--white); line-height: 1.04; text-shadow: 0 2px 30px color-mix(in srgb, var(--ink-950) 60%, transparent); }
.hero__title em { color: var(--violet-300); }
.hero__lead { font-size: var(--fs-md); color: var(--on-dark); max-width: 40rem; }
.hero__checks { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.hero__checks li { display: flex; gap: 0.75em; align-items: flex-start; font-weight: 600; color: var(--white); }
.hero__checks .i { width: 1.6em; height: 1.6em; padding: 0.3em; flex: none; margin-top: -0.12em; border-radius: 50%; background: color-mix(in srgb, var(--violet-500) 30%, transparent); color: var(--violet-200); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--violet-300) 55%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: center; }
.hero__note { display: flex; gap: 0.55em; align-items: flex-start; text-align: left; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.hero__note .i { flex: none; margin-top: 0.22em; color: var(--violet-300); }
.hero__chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.95em; border-radius: var(--r-pill); background: color-mix(in srgb, var(--violet-500) 22%, transparent); border: 1px solid color-mix(in srgb, var(--violet-300) 45%, transparent); color: var(--white); font-size: var(--fs-sm); font-weight: 700; }
.hero__chip .i { color: var(--violet-300); }
.hero__answer { position: relative; max-width: 40rem; padding: var(--sp-5) var(--sp-5) var(--sp-5) calc(var(--sp-5) + 4px); background: color-mix(in srgb, var(--ink-950) 72%, transparent); border: 1px solid var(--ink-700); border-left: 4px solid var(--violet-500); border-radius: 0 var(--r-lg) var(--r-lg) 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__answer-label { display: block; margin-bottom: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-300); }
.hero__answer p { color: var(--on-dark); }
.hero__panel { padding: var(--sp-6) var(--sp-5); background: color-mix(in srgb, var(--ink-900) 78%, transparent); border: 1px solid color-mix(in srgb, var(--violet-300) 30%, transparent); border-radius: var(--r-lg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--sh-lg); }
.hero__panel-title { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; color: var(--white); margin-bottom: var(--sp-4); }
.hero__panel ol { display: grid; gap: var(--sp-4); counter-reset: hp; margin-bottom: var(--sp-5); }
.hero__panel li { counter-increment: hp; display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--sp-3); align-items: start; color: var(--on-dark); }
.hero__panel li::before { content: counter(hp); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; clip-path: var(--oct); background: var(--violet-500); color: var(--white); font-family: var(--font-display); font-size: var(--fs-md); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.hero__meta .i { color: var(--violet-300); }

/* 1 · cinema (home): tallest, bottom room for the overlapping feature band */
.hero--cinema { --hero-h: clamp(36rem, 88vh, 54rem); padding-bottom: calc(var(--fb-overlap) + clamp(3rem, 2rem + 4vw, 6rem)); }
.hero--cinema .hero__title { font-size: var(--fs-display); max-width: 15ch; }
@media (max-width: 40em) {
	/* tall + narrow: a full-height cover crop shows only the dark centre strip of the photo and the three desktop overlays stack to near-black.
	   Aim at the lamp-lit wall and let the overlay breathe; the text keeps its contrast through a soft shadow. */
	.hero--cinema .hero__media > img { object-position: 30% 62%; }
	.hero--cinema::after {
		background:
			linear-gradient(180deg, color-mix(in srgb, var(--ink-950) 44%, transparent) 0%, color-mix(in srgb, var(--ink-900) 34%, transparent) 40%, color-mix(in srgb, var(--ink-900) 46%, transparent) 70%, color-mix(in srgb, var(--ink-950) 92%, transparent) 100%),
			radial-gradient(90% 55% at 10% 35%, color-mix(in srgb, var(--plum) 26%, transparent), transparent 62%);
	}
	.hero--cinema .hero__lead, .hero--cinema .hero__checks, .hero--cinema .marquee-plate { text-shadow: 0 1px 14px color-mix(in srgb, var(--ink-950) 90%, transparent), 0 0 3px color-mix(in srgb, var(--ink-950) 70%, transparent); }
}
/* 2 · alarm (notdienst): text + "what to do now" panel, phone strip at the bottom */
.hero--alarm { --hero-h: auto; padding-bottom: 0; align-items: stretch; }
.hero--alarm .hero__inner { display: grid; gap: var(--sp-6); align-items: center; padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 60em) { .hero--alarm .hero__inner { grid-template-columns: 1.25fr 0.9fr; } }
.hero__strip { position: relative; border-top: 1px solid color-mix(in srgb, var(--violet-300) 30%, transparent); background: color-mix(in srgb, var(--ink-950) 82%, transparent); }
.hero__strip-inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding: var(--sp-4) var(--gutter); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); align-items: center; justify-content: space-between; }
.hero__strip-text { display: inline-flex; align-items: center; gap: 0.7em; font-weight: 700; color: var(--white); }
.hero__strip-tel { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--white); text-decoration: none; white-space: nowrap; }
.hero__strip-tel:hover { color: var(--violet-200); }
/* 3 · split (service): no full-bleed photo — ink band + chamfered media */
.hero--split { --hero-h: auto; background-image: var(--grad-spot); }
.hero--split::after { display: none; }
.hero--split .hero__inner { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 60em) { .hero--split .hero__inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero__figure { position: relative; }
.hero__figure .frame { box-shadow: var(--sh-lg); }
/* 4 · situation (problem pages): full-bleed photo, content at the bottom, direct-answer box */
.hero--situation { --hero-h: clamp(34rem, 80vh, 46rem); align-items: end; }
/* 5 · article (ratgeber): compact, quiet, optional wide figure */
.hero--article { --hero-h: auto; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); background-image: var(--grad-spot); }
.hero--article::after { display: none; }
.hero--article .hero__title { font-size: var(--fs-2xl); max-width: 22ch; }
.hero--article .hero__content { max-width: 52rem; }
/* 6 · statement (kosten, über uns): centred serif statement, spotlight, no photo */
.hero--statement { --hero-h: auto; text-align: center; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.hero--statement::after { background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--violet-500) 32%, transparent), transparent 70%), radial-gradient(50% 50% at 50% 110%, color-mix(in srgb, var(--indigo) 60%, transparent), transparent 70%); }
.hero--statement .hero__content { margin-inline: auto; align-items: center; max-width: 54rem; }
.hero--statement .hero__title { font-size: var(--fs-display); }
.hero--statement .hero__lead { margin-inline: auto; }
.hero--statement .hero__checks { justify-items: center; }
@media (max-width: 47.99em) { .hero.hero--statement .hero__note { justify-content: flex-start; text-align: start; } } /* a wrapping note keeps its icon next to the first line instead of floating left of a centred paragraph */
/* 7 · compact (faq, kontakt, legal, 404) */
.hero--compact { --hero-h: auto; padding-block: clamp(3rem, 2.2rem + 3vw, 4.75rem); background-image: var(--grad-spot); }
.hero--compact::after { display: none; }
.hero--compact .hero__title { font-size: var(--fs-2xl); }
/* 8 · city (berlin): full-bleed photo + octagon emblem with a 12-segment ring */
.hero--city .hero__inner { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 60em) { .hero--city .hero__inner { grid-template-columns: 1.3fr 0.7fr; } }
.hero__emblem { position: relative; justify-self: center; width: min(19rem, 72vw); aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.hero__emblem::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from -15deg, var(--violet-300) 0deg 22deg, transparent 22deg 30deg); -webkit-mask: radial-gradient(circle, transparent 64%, var(--white) 65%, var(--white) 70%, transparent 71%); mask: radial-gradient(circle, transparent 64%, var(--white) 65%, var(--white) 70%, transparent 71%); opacity: 0.85; }
.hero__emblem-badge { width: 70%; aspect-ratio: 1; clip-path: var(--oct); background: var(--grad-band); display: grid; place-content: center; gap: 0.2rem; padding: 1rem; box-shadow: var(--sh-lg); }
.hero__emblem-name { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); color: var(--white); line-height: 1; }
.hero__emblem-sub { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-100); }
.hero__emblem-dot { position: absolute; top: 9%; right: 21%; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--spark) 25%, transparent); }

/* ==========================================================================
   11. Floating gradient feature band (overlaps the hero)
   ========================================================================== */
.featureband { position: relative; z-index: 3; margin-top: calc(var(--fb-overlap) * -1); padding-inline: var(--gutter); }
.featureband + .section { padding-top: calc(var(--section-y) * 0.8); }
.featureband__card {
	--cut: var(--cut-lg);
	max-width: var(--container); margin-inline: auto; padding: clamp(1.5rem, 1rem + 2vw, 2.4rem) clamp(1rem, 0.5rem + 2vw, 2rem);
	background: var(--grad-band); color: var(--white); box-shadow: var(--sh-lg);
	display: grid; gap: var(--sp-5) var(--sp-4); grid-template-columns: repeat(4, minmax(0, 1fr));
	clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3); min-width: 0; }
.feature__badge { position: relative; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--white) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 38%, transparent); transition: transform var(--dur-base) var(--ease), background-color var(--dur-base); }
.feature__badge .i { width: 1.85rem; height: 1.85rem; color: var(--white); }
.feature__badge::after { content: ""; position: absolute; top: 0.3rem; right: 0.3rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 3px var(--plum); }
.feature:hover .feature__badge { transform: translateY(-3px); background: color-mix(in srgb, var(--white) 20%, transparent); }
.feature__title { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; color: var(--white); line-height: 1.25; }
.feature__text { font-size: var(--fs-sm); color: var(--violet-100); line-height: 1.45; }
@media (max-width: 60em) { .featureband__card { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30em) {
	.featureband__card { grid-template-columns: 1fr; gap: var(--sp-4); }
	.feature { flex-direction: row; text-align: left; align-items: center; gap: var(--sp-4); }
	.feature__badge { width: 3.4rem; height: 3.4rem; }
	.feature__badge .i { width: 1.5rem; height: 1.5rem; }
	.feature__body { min-width: 0; }
}
.featureband--static { margin-top: 0; padding-block: var(--sp-6); }

/* ==========================================================================
   12. Editorial intro (big heading, body, qualitative fact cards, octagon portrait)
   ========================================================================== */
.intro { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 60em) { .intro { grid-template-columns: 1.15fr 0.85fr; } .intro--media-left { grid-template-columns: 0.85fr 1.15fr; } .intro--media-left .intro__media { order: -1; } }
.intro__text > * + * { margin-top: var(--sp-4); }
.intro__text h2 { margin-top: var(--sp-3); }
.facts { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-top: var(--sp-6); }
.fact { position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) 3.4rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.fact::before { content: ""; position: absolute; left: var(--sp-4); top: 1.15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 0.26rem solid var(--c-accent); background: radial-gradient(circle, var(--spark) 0 22%, transparent 26%); }
.fact__title { display: block; font-weight: 700; color: var(--c-heading); line-height: 1.3; }
.fact__text { display: block; margin-top: 0.2rem; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.45; }
.intro__media { position: relative; max-width: 30rem; width: 100%; justify-self: center; }
.intro__media .frame { filter: none; }
.intro__media > .frame-shadow, .intro__media { filter: drop-shadow(14px 14px 0 color-mix(in srgb, var(--violet-500) 80%, transparent)); }

/* ==========================================================================
   13. Dark services gallery (photo cards)
   ========================================================================== */
.svc-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.svc-grid > * { min-width: 0; }
@media (min-width: 64em) { .svc-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-grid--feature > :first-child { grid-column: span 2; grid-row: span 2; } .svc-grid--feature > :first-child .svc-card__media { aspect-ratio: auto; flex: 1; min-height: 18rem; } .svc-grid--feature > :first-child .svc-card__title { font-size: var(--fs-lg); } }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base); }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -20px var(--ink-950); border-color: color-mix(in srgb, var(--violet-300) 60%, transparent); }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card__media > img, .svc-card__media > .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); transition: transform var(--dur-slow) var(--ease); }
.svc-card:hover .svc-card__media > img { transform: scale(1.04); }
.svc-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, color-mix(in srgb, var(--ink-800) 85%, transparent)); }
.svc-card__badge { position: absolute; left: var(--sp-4); bottom: calc(var(--sp-4) * -1); z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; clip-path: var(--oct); background: var(--violet-500); color: var(--white); }
.svc-card__body { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; padding: var(--sp-6) var(--sp-5) var(--sp-5); }
.svc-card__title { display: flex; align-items: center; gap: 0.5em; color: var(--c-heading); font-size: var(--fs-md); }
.svc-card__title .i { color: var(--c-accent); }
.svc-card__title a { color: inherit; text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card__title a:focus-visible { outline: none; }
.svc-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.svc-card__text { color: var(--c-muted); font-size: var(--fs-base); }
.svc-card__links { margin-top: auto; padding-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center; position: relative; z-index: 2; }
.svc-card__links .link-arrow { color: var(--c-link); }

/* ==========================================================================
   14. Before / after (side-by-side by default, slider when JS enhances it)
   ========================================================================== */
.ba { max-width: 60rem; margin-inline: auto; }
.ba__stage { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.ba__pane { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); }
.ba__pane > img, .ba__pane > .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ba__label { position: absolute; top: var(--sp-4); left: var(--sp-4); z-index: 3; padding: 0.35em 0.9em; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: color-mix(in srgb, var(--ink-950) 85%, transparent); color: var(--white); }
.ba__pane--after .ba__label { left: auto; right: var(--sp-4); background: var(--violet-700); }
.ba__handle { display: none; }
.ba__caption { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-muted); text-align: center; max-width: none; }
.ba.is-slider .ba__stage { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba.is-slider .ba__pane { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ba.is-slider .ba__pane--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba.is-slider .ba__handle {
	display: block; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 4; width: var(--tap); margin-left: calc(var(--tap) / -2);
	cursor: ew-resize; background: transparent; border: 0; padding: 0;
}
.ba.is-slider .ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 12px var(--ink-950); }
.ba.is-slider .ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; transform: translate(-50%, -50%); clip-path: var(--oct); background: var(--violet-500) radial-gradient(circle, var(--spark) 0 12%, transparent 14%); }
.ba.is-slider .ba__handle:focus-visible { outline: 3px solid var(--spark); outline-offset: -3px; }

/* ==========================================================================
   15. Promise cards (replace reviews — never testimonials)
   ========================================================================== */
.promise-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.promise { position: relative; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6) var(--sp-5) var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-top: 4px solid var(--violet-500); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-sm); min-width: 0; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base); }
.promise:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.promise__mark { font-family: var(--font-display); font-style: italic; font-size: 3.25rem; line-height: 0.6; color: var(--c-accent); height: 1.6rem; }
.promise__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lg); line-height: 1.2; color: var(--c-heading); }
.promise__text { color: var(--c-muted); }
.promise__sig { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; gap: 0.6em; font-size: var(--fs-sm); font-weight: 700; color: var(--c-fg); border-top: 1px solid var(--c-line); }

/* ==========================================================================
   16. Process steps (horizontal + vertical)
   ========================================================================== */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); position: relative; }
.step { position: relative; counter-increment: step; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); min-width: 0; }
.step__num, .steps--auto .step::before { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: none; clip-path: var(--oct); background: var(--violet-500); color: var(--white); font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1; }
.steps--auto .step::before { content: counter(step); }
@media (min-width: 40em) and (max-width: 63.99em) { .steps:where(:has(> :nth-child(4):last-child)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* no 3 + 1 orphan (before .steps--vertical so that one stays a single column) */
@media (min-width: 64em) and (max-width: 74.99em) { :where(.steps:has(> :nth-child(4):last-child)) .step { padding: var(--sp-4); } :where(.steps:has(> :nth-child(4):last-child)) .step__title { font-size: var(--fs-base); } }
.step__title { font-size: var(--fs-md); }
.step__text { color: var(--c-muted); }
@media (min-width: 64em) {
	.steps--line .step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--sp-5) + 1.5rem); left: calc(var(--sp-5) + 3.5rem); right: calc(var(--sp-5) * -1 - 2px); height: 4px; background: linear-gradient(90deg, var(--c-accent) 0 70%, transparent 70% 74%, var(--c-accent) 74% 82%, transparent 82%); opacity: 0.6; }
}
.steps--vertical { grid-template-columns: 1fr; gap: 0; max-width: 46rem; }
.steps--vertical .step { flex-direction: row; gap: var(--sp-5); background: transparent; border: 0; border-radius: 0; padding: 0 0 var(--sp-6) 0; }
.steps--vertical .step::after { content: ""; position: absolute; left: calc(1.625rem - 2px); top: 3.6rem; bottom: 0.4rem; width: 4px; background: repeating-linear-gradient(180deg, var(--c-accent) 0 14px, transparent 14px 20px); opacity: 0.55; }
.steps--vertical .step:last-child::after { display: none; }
.steps--vertical .step__body { display: flex; flex-direction: column; gap: var(--sp-2); padding-top: 0.55rem; min-width: 0; }

/* ==========================================================================
   17. Icon lists / checklists / key-bow bullets
   ========================================================================== */
.icon-list { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.icon-list--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--sp-4) var(--sp-6); }
.icon-list--cards .icon-list__item { padding: var(--sp-4) var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.icon-list__item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; min-width: 0; }
.icon-list__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-surface-2); color: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-line); }
.icon-list__icon .i { width: 1.35rem; height: 1.35rem; }
.icon-list__body { min-width: 0; }
.icon-list__title { display: block; font-weight: 700; color: var(--c-heading); }
.icon-list__text { display: block; color: var(--c-muted); margin-top: 0.15rem; }
.icon-list--check .icon-list__icon { background: var(--violet-500); color: var(--white); box-shadow: none; }
.icon-list--cross .icon-list__icon { background: var(--c-surface-2); color: var(--danger); }
.on-dark .icon-list--cross .icon-list__icon, .band--dark .icon-list--cross .icon-list__icon { color: var(--violet-200); }
.bullets { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 2rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 0.22rem solid var(--c-accent); background: radial-gradient(circle, var(--spark) 0 22%, transparent 26%); }

/* ==========================================================================
   18. Notice bands (info / warn / danger / emergency 112·110)
   ========================================================================== */
.notice { --n-c: var(--info); --n-bg: var(--info-bg); --n-text: var(--info-text); display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; padding: var(--sp-5); background: var(--n-bg); color: var(--n-text); border: 1px solid color-mix(in srgb, var(--n-c) 35%, transparent); border-left: 6px solid var(--n-c); border-radius: var(--r-md); max-width: var(--container-narrow); }
.notice__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; color: var(--n-c); }
.notice__icon .i { width: 2rem; height: 2rem; }
.notice__body { min-width: 0; display: grid; gap: var(--sp-2); }
.notice__title { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; color: var(--n-text); }
.notice p { color: var(--n-text); }
.notice a:not(.btn) { color: var(--n-text); font-weight: 700; }
.notice--warn { --n-c: var(--warn); --n-bg: var(--warn-bg); --n-text: var(--warn-text); }
.notice--danger { --n-c: var(--danger); --n-bg: var(--danger-bg); --n-text: var(--danger-text); }
.notice--wide { max-width: none; }
.notice--emergency { --n-c: var(--white); --n-bg: var(--danger-band); --n-text: var(--white); border-color: var(--danger-band); border-left-color: var(--white); background-image: linear-gradient(135deg, transparent 0 70%, color-mix(in srgb, var(--white) 6%, transparent) 70%); }
.notice--emergency .notice__icon { background: var(--white); color: var(--danger-band); clip-path: var(--oct); }
.notice--emergency .notice__icon .i { width: 1.5rem; height: 1.5rem; }
.notice__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
@media (max-width: 30em) { .notice { grid-template-columns: 1fr; gap: var(--sp-3); padding: var(--sp-4); } .notice__actions .btn { flex: 1 1 100%; } }

/* ==========================================================================
   19. FAQ accordion (native <details>; markup contract BUILD-CONTRACT §9)
   ========================================================================== */
.faq { display: grid; gap: var(--sp-3); max-width: var(--container-narrow); }
.faq--center { margin-inline: auto; }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.faq-item[open] { border-color: color-mix(in srgb, var(--violet-500) 55%, transparent); box-shadow: var(--sh-md); }
.faq-item__q { position: relative; display: block; min-height: var(--tap); padding: var(--sp-4) 4rem var(--sp-4) var(--sp-5); cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-base); line-height: 1.4; color: var(--c-heading); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }
.faq-item__q::after { content: ""; position: absolute; right: var(--sp-4); top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; clip-path: var(--oct); background: linear-gradient(var(--white) 0 0) center / 12px 2.5px no-repeat, linear-gradient(var(--white) 0 0) center / 2.5px 12px no-repeat, var(--violet-500); transition: transform var(--dur-base) var(--ease); }
.faq-item[open] > .faq-item__q::after { transform: rotate(45deg); }
.faq-item__q:hover { color: var(--c-link); }
.faq-item__q:focus-visible { outline-offset: -4px; }
.faq-item__a { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-fg); }
.faq-item__a > * + * { margin-top: var(--sp-3); }
.faq-item.is-animating { overflow: hidden; }

/* ==========================================================================
   20. Split text / image + comparison table
   ========================================================================== */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 60em) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > .split__media { order: 2; } .split--wide-text { grid-template-columns: 1.3fr 0.7fr; } }
.split__body > * + * { margin-top: var(--sp-4); }
.compare { position: relative; overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); -webkit-overflow-scrolling: touch; }
.compare:focus-visible { outline-offset: 2px; }
.compare__table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: var(--fs-base); }
.compare__table caption { padding: var(--sp-4) var(--sp-5); text-align: left; font-weight: 700; color: var(--c-heading); caption-side: top; max-width: calc(100vw - 2 * var(--gutter) - 2px); }
.compare__table th, .compare__table td { padding: var(--sp-4) var(--sp-5); text-align: left; vertical-align: top; border-top: 1px solid var(--c-line); }
.compare__table thead th { background: var(--ink-900); color: var(--white); font-size: var(--fs-sm); letter-spacing: 0.04em; border-top: 0; }
.compare__table thead th.is-ours { background: var(--violet-700); }
.compare__table tbody th { font-weight: 700; color: var(--c-heading); background: var(--c-surface-2); position: sticky; left: 0; z-index: 1; }
.compare__table td .i { color: var(--c-accent); margin-right: 0.35em; }
.compare__table .is-no .i { color: var(--danger); }
.compare-hint { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 48em) { .compare-hint { display: none; } }

/* ==========================================================================
   21. TOC bar + prose layout (ratgeber, legal)
   ========================================================================== */
.toc-bar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toc-bar__inner { display: flex; gap: var(--sp-2); align-items: center; overflow-x: auto; scrollbar-width: thin; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding: var(--sp-2) var(--gutter); }
.toc-bar__label { flex: none; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: var(--sp-2); }
.toc-bar a { flex: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--sp-4); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); color: var(--heading); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.toc-bar a:hover, .toc-bar a.is-current { border-color: var(--violet-500); color: var(--violet-700); }
/* ≥ 64em: every chip is visible at once (the row wraps instead of hiding the last chips behind a scrollbar).
   < 64em: the row scrolls sideways; theme.js sets has-more-start / has-more-end so an edge fade shows where more chips are. */
@media (min-width: 64em) { .toc-bar__inner { flex-wrap: wrap; overflow-x: visible; row-gap: var(--sp-2); } }
@media (max-width: 63.99em) {
	.toc-bar__inner { --fade-l: 0px; --fade-r: 0px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
	.toc-bar.has-more-start .toc-bar__inner { --fade-l: 2.5rem; }
	.toc-bar.has-more-end .toc-bar__inner { --fade-r: 2.5rem; }
}
.article-layout { display: grid; gap: var(--sp-7); }
.toc-bar + .container { padding-top: var(--sp-7); }
@media (min-width: 64em) { .article-layout { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } .article-layout__aside { position: sticky; top: calc(var(--header-h) + 5rem); } }
.toc { padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.toc__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: var(--sp-3); }
.toc ol { list-style: none; padding: 0; display: grid; gap: 0.1rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.4rem; padding: 0.45rem 0; color: var(--c-fg); text-decoration: none; font-size: var(--fs-sm); line-height: 1.4; min-height: var(--tap); align-items: center; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); color: var(--c-accent); }
.toc a:hover { color: var(--c-link); text-decoration: underline; }
.prose { max-width: 70ch; color: var(--c-fg); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--sp-3); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.4em; display: grid; gap: var(--sp-2); }
.prose ul:not([class]) li::marker { color: var(--c-accent); }
.prose blockquote { padding: var(--sp-4) var(--sp-5); border-left: 4px solid var(--violet-500); background: var(--c-surface-2); font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.35; color: var(--c-heading); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: var(--sp-3); border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose a { font-weight: 600; }
.prose--legal h2 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-lg); }

/* ==========================================================================
   22. Link-router cards · call strip · phone block · handover
   ========================================================================== */
.router { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.router-card { min-width: 0; }
.router-card__link { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 0.2rem var(--sp-4); align-items: center; height: 100%; padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); color: var(--c-fg); text-decoration: none; transition: border-color var(--dur-base), transform var(--dur-base) var(--ease), box-shadow var(--dur-base); }
.router-card__link:hover { border-color: var(--violet-500); transform: translateY(-3px); box-shadow: var(--sh-md); text-decoration: none; }
.router-card__icon { grid-row: span 2; width: 2.9rem; height: 2.9rem; padding: 0.7rem; clip-path: var(--oct); background: var(--c-surface-2); color: var(--c-accent); }
.router-card__title { font-weight: 700; color: var(--c-heading); font-size: var(--fs-md); line-height: 1.25; }
.router-card__text { grid-column: 2; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.45; }
.router-card__arrow { grid-column: 3; grid-row: 1 / span 2; color: var(--c-accent); transition: transform var(--dur-fast) var(--ease); }
.router-card__link:hover .router-card__arrow { transform: translateX(4px); }
.callstrip { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.25rem, 1rem + 2vw, 2.75rem); background: var(--grad-band); color: var(--white); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); box-shadow: var(--sh-md); }
.callstrip__text { display: grid; gap: var(--sp-2); min-width: 0; max-width: 40rem; }
.callstrip__title { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; color: var(--white); }
.callstrip__sub { color: var(--violet-100); }
.callstrip .btn--call { background: var(--white); color: var(--violet-800); box-shadow: 0 12px 30px -10px var(--ink-950); }
.callstrip .btn--call:hover { background: var(--violet-50); color: var(--violet-800); }
.callstrip .btn--call > .i:first-child { background: var(--violet-500); }
.callstrip--dark { background: var(--ink-800); border: 1px solid var(--ink-700); clip-path: none; border-radius: var(--r-lg); }
.callstrip--dark .btn--call { background: var(--cta); color: var(--on-cta); box-shadow: var(--rim); }
.callstrip--dark .callstrip__sub { color: var(--on-dark-muted); }
.phone-block { display: grid; gap: var(--sp-5); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); background: var(--ink-900); color: var(--on-dark); border-radius: var(--r-lg); background-image: var(--grad-spot); position: relative; overflow: hidden; }
.phone-block::after { content: ""; position: absolute; right: -8rem; bottom: -8rem; width: 12rem; height: 12rem; clip-path: var(--oct); background: color-mix(in srgb, var(--violet-500) 14%, transparent); }
.phone-block > * { position: relative; z-index: 1; }
.phone-block__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-300); }
.phone-block__number { font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 3.5vw, 3.75rem); line-height: 1; color: var(--white); text-decoration: none; white-space: nowrap; }
.phone-block__number:hover { color: var(--violet-200); }
.phone-block__rows { display: grid; gap: var(--sp-3); }
.phone-block__rows li { display: flex; gap: 0.7em; align-items: flex-start; color: var(--on-dark); }
.phone-block__rows .i { color: var(--violet-300); margin-top: 0.2em; }
.phone-block__mail { font-size: var(--fs-sm); color: var(--on-dark-muted); }
/* an e-mail address in the rows never splits at its hyphen on phones: label on one line, address whole on the next */
@media (max-width: 40em) { .phone-block__rows a[href^="mailto:"] { display: inline-block; max-width: 100%; font-size: var(--fs-sm); } .phone-block__rows li:has(a[href^="mailto:"]) > span > strong { display: block; } }
.handover { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.handover__col { padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg); border: 1px solid var(--c-line); background: var(--c-surface); min-width: 0; }
.handover__col--no { background: var(--c-surface-2); border-style: dashed; border-color: var(--c-line-strong); }
.handover__title { display: flex; align-items: center; gap: 0.6em; font-size: var(--fs-md); margin-bottom: var(--sp-4); }
.handover__col--yes .handover__title .i { color: var(--c-accent); }
.handover__col--no .handover__title .i { color: var(--danger); }
.handover__who { display: block; margin-top: 0.2rem; font-size: var(--fs-sm); color: var(--c-muted); }

/* ==========================================================================
   23. Area key — the 12 Bezirke (for /berlin/ only)
   ========================================================================== */
.area-key { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.area-key__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-5); margin-bottom: var(--sp-4); }
.area-key__title { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; color: var(--c-heading); }
.area-key__hint { font-size: var(--fs-sm); color: var(--c-muted); }
.area-key__list { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: ak; }
.area-key__list li { counter-increment: ak; min-width: 0; }
.area-key__list a { display: grid; grid-template-columns: 2.3rem 1fr; gap: var(--sp-3); align-items: center; min-height: 3.25rem; padding: 0.35rem 0.75rem 0.35rem 0.4rem; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-heading); font-weight: 600; font-size: var(--fs-sm); line-height: 1.25; text-decoration: none; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.area-key__list a::before { content: counter(ak, decimal-leading-zero); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; clip-path: var(--oct); background: var(--c-surface-2); color: var(--c-link); font-family: var(--font-display); font-size: var(--fs-sm); }
.area-key__list a:hover, .area-key__list a.is-current { border-color: var(--violet-500); background: var(--c-surface-2); }
.area-key__list a:hover::before { background: var(--violet-500); color: var(--white); }
.bezirk { display: grid; gap: var(--sp-5); padding-block: var(--sp-7); border-top: 1px solid var(--c-line); scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (min-width: 60em) { .bezirk { grid-template-columns: 17rem minmax(0, 1fr); gap: var(--sp-7); } }
.bezirk__head { display: flex; flex-direction: column; gap: var(--sp-2); }
.bezirk__no { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1; color: var(--c-accent); }
.bezirk__name { font-size: var(--fs-xl); }
.bezirk__places { font-size: var(--fs-sm); color: var(--c-muted); }
.bezirk__body { display: grid; gap: var(--sp-4); }
.bezirk__rows { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.bezirk__row { padding: var(--sp-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.bezirk__row-label { display: flex; align-items: center; gap: 0.5em; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-link); margin-bottom: var(--sp-2); }

/* ==========================================================================
   24. Signature — vorderhaus-oder-hinterhaus (courtyard contrast pair)
   ========================================================================== */
.courtyard { display: grid; gap: var(--sp-6); }
@media (min-width: 64em) { .courtyard { grid-template-columns: 19rem minmax(0, 1fr); align-items: start; } .courtyard__plan { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.courtyard__plan { padding: var(--sp-5); background: var(--ink-900); border-radius: var(--r-lg); color: var(--on-dark-muted); }
.courtyard__plan-caption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.cy-plan { display: block; width: 100%; max-width: 19rem; height: auto; margin-inline: auto; font-family: var(--font-body); }
.cy-plan__plot { fill: var(--ink-850); stroke: var(--ink-600); stroke-width: 2; stroke-dasharray: 6 5; }
.cy-plan__part rect { fill: var(--ink-700); stroke: var(--ink-600); stroke-width: 2; transition: fill var(--dur-base) var(--ease); }
.cy-plan__part text { fill: var(--on-dark-muted); font-size: 13px; font-weight: 700; text-anchor: middle; letter-spacing: 0.04em; }
.cy-plan__part.is-active rect, .cy-plan--vorderhaus .cy-plan__part--vorderhaus rect, .cy-plan--seitenfluegel .cy-plan__part--seitenfluegel rect, .cy-plan--quergebaeude .cy-plan__part--quergebaeude rect, .cy-plan--hinterhaus .cy-plan__part--hinterhaus rect { fill: var(--violet-500); stroke: var(--violet-300); }
.cy-plan__part.is-active text { fill: var(--white); }
.cy-plan__yard { fill: var(--ink-600); font-size: 12px; font-weight: 700; text-anchor: middle; letter-spacing: 0.12em; }
.cy-plan__passage { fill: var(--ink-850); stroke: var(--ink-600); stroke-width: 2; }
.cy-plan__route { fill: none; stroke: var(--spark); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.cy-plan__door { fill: var(--ink-900); stroke: var(--spark); stroke-width: 2.5; }
.cy-plan__street { fill: var(--ink-950); }
.cy-plan__street-label { fill: var(--on-dark-muted); font-size: 12px; font-weight: 700; text-anchor: middle; letter-spacing: 0.3em; text-transform: uppercase; }
.courtyard__rail { min-width: 0; }
.courtyard__controls { display: flex; gap: var(--sp-2); justify-content: flex-end; margin-bottom: var(--sp-3); }
.scroller-btn { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-surface); color: var(--c-heading); cursor: pointer; transition: background-color var(--dur-fast), opacity var(--dur-fast); }
.scroller-btn:hover { background: var(--violet-500); color: var(--white); border-color: var(--violet-500); }
.scroller-btn[disabled] { opacity: 0.4; cursor: default; background: var(--c-surface); color: var(--c-heading); }
.courtyard__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15.5rem, 82%); gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: var(--sp-4); margin: 0; list-style: none; padding-left: 0; scrollbar-width: thin; scrollbar-color: var(--violet-500) transparent; }
@media (min-width: 48em) { .courtyard__track { grid-auto-columns: minmax(16rem, 46%); } }
@media (min-width: 64em) { .courtyard__track { grid-auto-columns: minmax(16rem, 44%); } }
@media (min-width: 80em) { .courtyard__track { grid-auto-columns: calc((100% - 2 * var(--sp-4)) / 2.6); } }
.courtyard__track:focus-visible { outline-offset: 4px; }
.door-frame { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); color: var(--text); --c-fg: var(--text); --c-heading: var(--heading); --c-muted: var(--muted); --c-link: var(--violet-700); --c-accent: var(--violet-600); --focus: var(--heading); }
.door-frame:nth-child(even) { background: var(--ink-800); border-color: var(--ink-700); color: var(--on-dark); --c-fg: var(--on-dark); --c-heading: var(--white); --c-muted: var(--on-dark-muted); --c-link: var(--violet-300); --c-accent: var(--violet-300); --focus: var(--spark); }
.door-frame__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.door-frame__media > img, .door-frame__media > .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.door-frame__tag { position: absolute; left: var(--sp-3); top: var(--sp-3); z-index: 2; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3em 0.8em; border-radius: var(--r-pill); background: var(--violet-500); color: var(--white); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.door-frame__plan { position: absolute; right: var(--sp-3); bottom: var(--sp-3); z-index: 2; width: 4.75rem; padding: 0.35rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--ink-950) 85%, transparent); }
.door-frame__plan .cy-plan text, .door-frame__plan .cy-plan__street-label, .door-frame__plan .cy-plan__yard { display: none; }
.door-frame__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
.door-frame__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lg); color: var(--c-heading); hyphens: manual; overflow-wrap: normal; }
.door-frame__chain { display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; align-items: center; font-size: var(--fs-sm); color: var(--c-muted); }
.door-frame__chain span { display: inline-flex; align-items: center; gap: 0.3rem; }
.door-frame__chain .i { width: 0.9rem; height: 0.9rem; color: var(--c-accent); }
.door-frame__text { color: var(--c-fg); }
.door-frame__link { margin-top: auto; }

/* ==========================================================================
   25. Breadcrumbs · image credits · misc
   ========================================================================== */
nav.breadcrumbs ol:not([class]), .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid var(--c-accent); border-top: 2px solid var(--c-accent); transform: rotate(45deg); }
.breadcrumbs a { color: var(--c-fg); text-decoration: none; display: inline-flex; align-items: center; min-height: 2rem; }
.breadcrumbs a:hover { color: var(--c-link); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--c-heading); font-weight: 600; }
.image-credits { margin-top: var(--sp-7); }
.image-credits__title { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.image-credits__list { display: grid; gap: var(--sp-2); padding-left: 1.2em; font-size: var(--fs-sm); color: var(--c-muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag-label { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.8em; border-radius: var(--r-pill); border: 1px solid var(--c-line-strong); font-size: var(--fs-sm); font-weight: 600; color: var(--c-fg); }
.seam { height: clamp(2.5rem, 2rem + 3vw, 4rem); background: linear-gradient(var(--from, var(--ink-900)) 0 50%, var(--to, var(--paper)) 50%); position: relative; }
.seam::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); clip-path: var(--oct); background: var(--violet-500) radial-gradient(circle, var(--spark) 0 14%, transparent 16%); }

/* ==========================================================================
   26. Scroll reveal (only below-the-fold elements; never the hero/LCP)
   ========================================================================== */
.reveal.is-pending { opacity: 0; transform: translateY(var(--reveal-shift)); }
.reveal { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .reveal.is-pending { opacity: 1; transform: none; } }

/* ==========================================================================
   27. Brick catalogue page (/bausteine/, private)
   ========================================================================== */
.catalog-label { position: absolute; top: 0; left: 0; z-index: 6; max-width: none; margin: 0; padding: 0.3rem 0.8rem; background: var(--violet-50); border-bottom-right-radius: var(--r-md); font-family: ui-monospace, Consolas, monospace; font-size: var(--fs-xs); color: var(--violet-800); }
.catalog-label + * { margin-top: 0; }
.catalog-stack > * + * { margin-top: var(--sp-7); }
.catalog-label b { color: var(--violet-800); }

