/*! dortmund-schloss24.de — theme.css
 * Shared design language "Ruhr-Nachtkino": kino-landmark re-themed from the favicon
 * (cerulean 8-tooth cog, amber hub, ink keyhole). Owner: design role.
 * Colour literals live ONLY in the :root token block below. Bricks: BRICKS.md. Rationale: DESIGN-LANGUAGE.md.
 * All motion sits inside @media (prefers-reduced-motion: no-preference). No important-flags anywhere. */

/* =========================================================================
   0. Font (self-hosted, OFL — assets/fonts/OFL-Antonio.txt)
   ========================================================================= */
@font-face {
	font-family: "Antonio";
	src: url("../fonts/antonio-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}
/* Antonio's own en dash is a short, low bar that reads as a hyphen. This face covers U+2013 ONLY (same file,
 * so no extra request): the glyph is scaled up to the width of an "n" and sits at cap-height centre. Listed
 * before "Antonio" in --f-display, so only the dash is taken from it; every other character is unchanged. */
@font-face {
	font-family: "Antonio Dash";
	src: url("../fonts/antonio-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+2013;
	size-adjust: 130%;
}

/* =========================================================================
   1. Tokens
   ========================================================================= */
:root {
	/* Brand ramp (seed #0A83BF = favicon cog). #0A83BF carries NO small text: white on it is 4.19:1. */
	--c-brand-sky: #3FB0E6;    /* text/icons on night only (7.2:1 on night-900) */
	--c-brand: #0A83BF;        /* graphics, icons, rules, large display numerals (>= 3:1) */
	--c-brand-600: #0A6EA0;    /* light end of text-bearing gradients (white 5.60:1) */
	--c-brand-700: #06618F;    /* fills with white text (6.74:1), links/eyebrows on light (6.26:1 on paper) */
	--c-brand-800: #064E74;
	--c-brand-900: #05405F;    /* deep end of gradients (white 11.0:1) */
	--c-brand-tint: #E3F1F9;   /* info tint; brand-700/ink text on it */
	--c-brand-tint-2: #CFE6F3;

	/* Amber = the phone spark (favicon hub). Never a band, never text on light. */
	--c-amber: #FFC21A;
	--c-amber-hover: #F0B000;
	--c-on-amber: #04202E;     /* 10.38:1 on amber, 8.72:1 on hover */

	/* Ink + night family (hue ~200-205 deg, blue-ink, not neutral black) */
	--c-ink: #04202E;
	--c-night-950: #04131C;
	--c-night-900: #061A26;
	--c-night-800: #0B2533;
	--c-night-700: #0B3550;
	--c-night-line: #1B4258;
	--c-on-night: #FFFFFF;
	--c-on-night-soft: #C9DDE7;  /* 9.1:1+ on night */
	--c-on-night-muted: #A8C4D3; /* 8.7:1 on night-800 */
	--c-on-brand-soft: #D7ECF7;  /* 4.59:1 on brand-600 (gradient light end), 6.0:1 on brand-800 */

	/* Cool-neutral paper */
	--c-white: #FFFFFF;
	--c-paper: #F3F7F9;
	--c-paper-2: #E7EFF3;
	--c-surface: #FFFFFF;
	--c-line: #CFDDE5;
	--c-line-strong: #6E8796;  /* UI boundaries that must reach 3:1 */
	--c-text-base: #0B2533;    /* 15.8:1 on white, 13.6:1 on paper-2 */
	--c-muted-base: #3E5866;   /* 6.46:1 on paper-2, 7.52:1 on white */

	/* Status */
	--c-info: #05527B;      --c-info-bg: #E3F1F9;
	--c-warn: #6B4A00;      --c-warn-bg: #FFF3D1;   --c-warn-line: #E0A800;
	--c-danger: #A9221A;    --c-danger-bg: #FCEBEA; --c-danger-text: #8F1D14;
	--c-success: #175E46;   --c-success-bg: #E4F4EC;

	/* Channels for translucent overlays (rgb(var(--rgb-x) / a)) */
	--rgb-night: 4 19 28;
	--rgb-ink: 4 32 46;
	--rgb-brand: 10 131 191;
	--rgb-amber: 255 194 26;
	--rgb-white: 255 255 255;

	/* Context tokens (light default; dark contexts override in §3) */
	--c-text: var(--c-text-base);
	--c-text-muted: var(--c-muted-base);
	--c-heading: var(--c-ink);
	--c-link: var(--c-brand-700);
	--c-link-hover: var(--c-brand-900);
	--c-eyebrow: var(--c-brand-700);
	--c-card: var(--c-surface);
	--c-card-line: var(--c-line);
	--c-focus: var(--c-ink);
	--c-accent-ink: var(--c-brand-700); /* call text links + card title icons: cerulean on light, amber on night */

	/* Gradients */
	--g-feature: linear-gradient(120deg, var(--c-brand-900) 0%, var(--c-brand-700) 55%, var(--c-brand-600) 100%);
	--g-hero: linear-gradient(180deg, rgb(var(--rgb-night) / .5) 0%, rgb(var(--rgb-night) / .6) 45%, rgb(var(--rgb-night) / .95) 100%),
		linear-gradient(90deg, rgb(var(--rgb-night) / .88) 0%, rgb(var(--rgb-night) / .55) 45%, rgb(var(--rgb-night) / .1) 85%);
	--g-night: radial-gradient(90% 120% at 85% 0%, rgb(var(--rgb-brand) / .32), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgb(var(--rgb-brand) / .14), transparent 60%);
	--g-placeholder: linear-gradient(135deg, var(--c-night-800) 0%, var(--c-brand-800) 62%, var(--c-brand-600) 100%);

	/* Type */
	--f-display: "Antonio Dash", "Antonio", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
	--fs-sm: 1rem;
	--fs-base: 1.125rem;
	--fs-md: 1.25rem;
	--fs-lg: clamp(1.375rem, 1.25rem + .5vw, 1.625rem);
	--fs-xl: clamp(1.75rem, 1.45rem + 1.2vw, 2.375rem);
	--fs-2xl: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem);
	--fs-3xl: clamp(2.25rem, 1.55rem + 3.4vw, 4.5rem);
	--fs-display: clamp(2.75rem, 1.8rem + 4.6vw, 6rem);
	--lh-body: 1.65;
	--lh-heading: 1.12;
	--lh-tight: 1.04;
	--measure: 68ch;

	/* Space */
	--s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
	--s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
	--section-y: clamp(3.5rem, 2.4rem + 4.2vw, 6.5rem);
	--gutter: clamp(1rem, .55rem + 2.2vw, 2rem);
	--container: 76rem;
	--narrow: 52rem;
	--header-h: 4.5rem;
	--band-overlap: clamp(2.75rem, 1.5rem + 4vw, 4.5rem);
	--tap: 44px;

	/* Radius (one personality: soft-industrial) */
	--r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

	/* Shadow (one restrained system) + the rim light reserved for the phone action */
	--sh-sm: 0 1px 2px rgb(var(--rgb-night) / .08), 0 2px 8px rgb(var(--rgb-night) / .05);
	--sh-md: 0 14px 34px -10px rgb(var(--rgb-night) / .22);
	--sh-lg: 0 28px 60px -18px rgb(var(--rgb-night) / .45);
	--sh-rim: 0 0 0 1px rgb(var(--rgb-amber) / .95), 0 0 0 5px rgb(var(--rgb-amber) / .16), 0 10px 26px -8px rgb(var(--rgb-amber) / .6);

	/* Motion */
	--dur-fast: 140ms; --dur: 260ms; --dur-slow: 650ms;
	--ease: cubic-bezier(.22, .61, .36, 1);

	/* Layers */
	--z-totop: 90; --z-header: 100; --z-callbar: 110; --z-nav: 120;

	/* Shapes (alpha masks — colour comes from background) */
	--mask-cog: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M208.6 65.8L217.2 11.1L294.8 11.1L303.4 65.8A196 196 0 0 1 356.9 88L401.8 55.4L456.6 110.2L424 155.1A196 196 0 0 1 446.2 208.6L500.9 217.2L500.9 294.8L446.2 303.4A196 196 0 0 1 424 356.9L456.6 401.8L401.8 456.6L356.9 424A196 196 0 0 1 303.4 446.2L294.8 500.9L217.2 500.9L208.6 446.2A196 196 0 0 1 155.1 424L110.2 456.6L55.4 401.8L88 356.9A196 196 0 0 1 65.8 303.4L11.1 294.8L11.1 217.2L65.8 208.6A196 196 0 0 1 88 155.1L55.4 110.2L110.2 55.4L155.1 88A196 196 0 0 1 208.6 65.8Z'/%3E%3C/svg%3E");
	--mask-keyhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Ccircle cx='10' cy='8' r='6.5'/%3E%3Cpath d='M6.2 11.5h7.6L15.4 23H4.6z'/%3E%3C/svg%3E");
	--mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--mask-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	--mask-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
}

/* =========================================================================
   2. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-real, var(--header-h)) + 1rem); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	color: var(--c-text);
	background: var(--c-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
html.nav-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-link); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--c-link-hover); }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
::selection { background: var(--c-amber); color: var(--c-on-amber); }

h1, h2, .h1, .h2 {
	font-family: var(--f-display);
	font-weight: 700;
	line-height: var(--lh-heading);
	letter-spacing: .005em;
	color: var(--c-heading);
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}
h1, .h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
h2, .h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.25; color: var(--c-heading); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h4, .h4 { font-size: var(--fs-md); font-weight: 700; line-height: 1.3; color: var(--c-heading); }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden, .screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: var(--s-4); top: -100px; z-index: 999;
	background: var(--c-amber); color: var(--c-on-amber); font-weight: 700;
	padding: .75rem 1.25rem; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

/* =========================================================================
   3. Layout primitives + contexts
   ========================================================================= */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--paper { background: var(--c-paper); }
.section--surface { background: var(--c-surface); }
.section--tint { background: var(--c-paper-2); }
.section--night { background: var(--g-night), var(--c-night-900); }
.section--deep { background: var(--c-night-950); }
.section--brand { background: var(--g-feature); }
.section--clip { overflow: clip; }

/* dark contexts: components read these tokens and adapt */
.on-dark, .section--night, .section--deep, .section--brand, .hero, .topbar, .site-header,
.closing-band, .site-footer, .spielplan, .callstrip, .featureband__card, .band, .band--dark, .card--night, .phone-callout__aside {
	--c-text: var(--c-on-night);
	--c-text-muted: var(--c-on-night-muted);
	--c-heading: var(--c-white);
	--c-link: var(--c-brand-sky);
	--c-link-hover: var(--c-white);
	--c-eyebrow: var(--c-brand-sky);
	--c-card: var(--c-night-800);
	--c-card-line: var(--c-night-line);
	--c-focus: var(--c-amber);
	--c-accent-ink: var(--c-amber);
	color: var(--c-text);
}
.section--brand, .callstrip, .featureband__card, .hero--statement {
	--c-accent-ink: var(--c-white);
	--c-text-muted: var(--c-on-brand-soft);
	--c-link: var(--c-white);
	--c-eyebrow: var(--c-on-brand-soft);
	--c-card: rgb(var(--rgb-white) / .08);
	--c-card-line: rgb(var(--rgb-white) / .22);
}
.on-light {
	--c-text: var(--c-text-base); --c-text-muted: var(--c-muted-base); --c-heading: var(--c-ink);
	--c-link: var(--c-brand-700); --c-link-hover: var(--c-brand-900); --c-eyebrow: var(--c-brand-700);
	--c-card: var(--c-surface); --c-card-line: var(--c-line); --c-focus: var(--c-ink); --c-accent-ink: var(--c-brand-700);
	color: var(--c-text);
}

.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.stack--lg { --stack: var(--s-6); }
.stack--sm { --stack: var(--s-2); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--s-3)); list-style: none; padding: 0; margin: 0; }
.grid { display: grid; gap: var(--grid-gap, var(--s-5)); list-style: none; padding: 0; margin: 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%, 13.5rem), 1fr)); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-section { margin-top: var(--s-7); }

/* section head: eyebrow + h2 + lead */
.section__head { max-width: 48rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section__head > * + * { margin-top: var(--s-3); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-7); }
.section__head--split > * + * { margin-top: 0; }
.section__head--split > :first-child > * + * { margin-top: var(--s-3); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
	letter-spacing: .14em; text-transform: uppercase; color: var(--c-eyebrow);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; opacity: .7; flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--marquee {
	padding: .4rem .9rem .4rem .75rem; border-radius: var(--r-pill);
	color: var(--c-white); background: rgb(var(--rgb-amber) / .14); border: 1px solid rgb(var(--rgb-amber) / .55);
}
.eyebrow--marquee::before { display: none; }
.pulse-dot { position: relative; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c-amber); flex: none; }
.lead { font-size: var(--fs-md); line-height: 1.55; color: var(--c-text-muted); max-width: 60ch; }
.muted { color: var(--c-text-muted); }
.small { font-size: var(--fs-sm); }

/* =========================================================================
   4. Buttons + links
   ========================================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 48px; padding: .75em 1.4em;
	font-family: var(--f-body); font-size: var(--fs-base); font-weight: 700; line-height: 1.2;
	border: 2px solid transparent; border-radius: var(--r-pill);
	text-decoration: none; text-align: center; cursor: pointer;
	background: var(--c-brand-700); color: var(--c-white);
}
.btn .i { width: 1.25em; height: 1.25em; }
.btn:hover { color: var(--c-white); background: var(--c-brand-900); }
.btn--call { background: var(--c-amber); color: var(--c-on-amber); box-shadow: var(--sh-rim); }
.btn--call:hover { background: var(--c-amber-hover); color: var(--c-on-amber); }
.btn--call .i { stroke-width: 2.2; }
.btn--primary { background: var(--c-brand-700); color: var(--c-white); }
.btn--ghost { background: rgb(var(--rgb-white) / .06); border-color: rgb(var(--rgb-white) / .5); color: var(--c-white); }
.btn--ghost:hover { background: rgb(var(--rgb-white) / .16); color: var(--c-white); }
.btn--outline { background: transparent; border-color: var(--c-brand-700); color: var(--c-brand-700); }
.btn--outline:hover { background: var(--c-brand-700); color: var(--c-white); }
.btn--emergency { background: var(--c-danger); color: var(--c-white); }
.btn--emergency:hover { background: var(--c-danger-text); color: var(--c-white); }
.btn--lg { font-size: var(--fs-md); min-height: 58px; padding: .85em 1.7em; }
.btn--xl { font-family: var(--f-display); font-weight: 700; letter-spacing: .03em; font-size: clamp(1.6rem, 1.15rem + 2vw, 2.4rem); min-height: 68px; padding: .5em 1.1em; }
.btn--xl .i { width: 1em; height: 1em; }
.btn--block { display: flex; width: 100%; }
.btn--sm { font-size: var(--fs-sm); min-height: 44px; padding: .55em 1.1em; }
.btn__label-short { display: none; }
.nowrap { white-space: nowrap; }
@media (max-width: 28em) {
	.btn--lg { font-size: var(--fs-base); padding-inline: 1.1em; }
	.btn--xl { padding-inline: .9em; }
}
/* the prefix never breaks inside itself; below 24em the number stands alone (fits 320–383 px without wrapping) */
.btn__prefix { white-space: nowrap; }
.btn:has(> .btn__prefix) { flex-wrap: wrap; row-gap: .15em; } /* narrow column fallback: number drops to line 2, never overflows */
@media (max-width: 23.99em) { .btn__prefix { display: none; } }

.link { font-weight: 700; color: inherit; white-space: nowrap; }
.link-arrow {
	display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
	font-weight: 700; color: var(--c-link); text-decoration: none;
}
.link-arrow .i { width: 1.1em; height: 1.1em; }
.link-arrow:hover { color: var(--c-link-hover); text-decoration: underline; }
.link-call { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font-weight: 700; color: var(--c-accent-ink); text-decoration: none; }
.link-call--light { --c-accent-ink: var(--c-brand-700); }
.link-call:hover { text-decoration: underline; color: var(--c-accent-ink); }

/* =========================================================================
   5. Chrome — topbar, header, nav
   ========================================================================= */
.topbar { display: none; background: var(--c-night-950); font-size: var(--fs-sm); color: var(--c-on-night-muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-6); min-height: 2.5rem; flex-wrap: wrap; }
.topbar p { display: flex; align-items: center; gap: .55rem; }
.topbar a { color: var(--c-white); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: var(--c-amber); }

.site-header {
	position: sticky; top: 0; z-index: var(--z-header);
	background: rgb(var(--rgb-night) / .97);
	border-bottom: 1px solid rgb(var(--rgb-white) / .08);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgb(var(--rgb-night) / .7); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-3); min-height: var(--header-h); }
.site-header.is-scrolled .site-header__inner { min-height: 4rem; }

.site-brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; color: var(--c-white); text-decoration: none; margin-right: auto; }
.site-brand:hover { color: var(--c-white); }
.site-brand__mark { width: 2.75rem; height: 2.75rem; flex: none; }
.site-header.is-scrolled .site-brand__mark { width: 2.4rem; height: 2.4rem; }
.site-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.site-brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .02em; text-transform: uppercase; }
.site-brand__sub { font-size: .875rem; font-weight: 600; letter-spacing: .08em; color: var(--c-amber); margin-top: .2rem; }
.mk-cog { fill: var(--mark-cog, var(--c-brand)); }
.mk-hub { fill: var(--mark-hub, var(--c-amber)); }
.mk-hole { fill: var(--mark-hole, var(--c-ink)); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.btn--header { min-height: 46px; padding: .55em 1.1em; font-size: var(--fs-base); white-space: nowrap; }

.nav-toggle {
	display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
	background: transparent; border: 1px solid rgb(var(--rgb-white) / .3); border-radius: var(--r-md); cursor: pointer; color: var(--c-white);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; content: "";
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* mobile / tablet panel (default) */
.site-nav {
	position: fixed; inset: 0 0 0 auto; z-index: -1;
	width: min(26rem, 100%); padding: calc(var(--header-real, var(--header-h)) + var(--s-4)) var(--gutter) var(--s-7);
	background: var(--c-night-900); overflow-y: auto; overscroll-behavior: contain;
	visibility: hidden; transform: translateX(100%);
	box-shadow: -20px 0 60px -20px rgb(var(--rgb-night) / .8);
}
.site-header.is-open .site-nav { visibility: visible; transform: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgb(var(--rgb-white) / .08); }
.site-nav__link {
	flex: 1; display: flex; align-items: center; min-height: 52px; padding: .5rem .25rem;
	font-size: var(--fs-md); font-weight: 600; color: var(--c-on-night-soft); text-decoration: none;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"], .is-current > .site-nav__link { color: var(--c-white); }
.site-nav__link[aria-current="page"], .is-current > .site-nav__link { text-decoration: underline; text-decoration-color: var(--c-amber); text-decoration-thickness: 3px; text-underline-offset: .35em; }
.site-nav__toggle {
	display: grid; place-items: center; width: 48px; height: 48px; padding: 0; flex: none;
	background: transparent; border: 0; border-radius: var(--r-sm); color: var(--c-on-night-soft); cursor: pointer;
}
.site-nav__toggle .i { width: 1.2rem; height: 1.2rem; }
.site-nav__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.site-nav__sub { display: none; width: 100%; list-style: none; margin: 0 0 var(--s-3); padding: 0 0 0 var(--s-4); border-left: 2px solid var(--c-brand); }
.site-nav__item.is-open > .site-nav__sub { display: block; }
.site-nav__sublink { display: flex; align-items: center; min-height: 44px; padding: .35rem .5rem; color: var(--c-on-night-muted); text-decoration: none; font-size: var(--fs-base); }
.site-nav__sublink:hover, .site-nav__sublink[aria-current="page"] { color: var(--c-white); }
.site-nav__sublink[aria-current="page"] { font-weight: 700; }
.site-nav__call { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.site-nav__call .btn { font-size: var(--fs-base); padding-inline: 1em; }
.site-nav__call p { font-size: var(--fs-sm); color: var(--c-on-night-muted); text-align: center; }

@media (min-width: 48em) {
	.topbar { display: block; }
}
@media (max-width: 29.99em) {
	.site-brand__sub { display: none; }
	.site-brand__name { font-size: 1.12rem; line-height: 1.05; white-space: normal; }
	.site-brand__mark { width: 2.4rem; height: 2.4rem; }
	.btn--header { width: 48px; min-height: 48px; padding: 0; }
	.btn--header .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 75em) {
	.nav-toggle, .site-nav__call { display: none; }
	.site-nav {
		position: static; z-index: auto; width: auto; padding: 0; background: none; overflow: visible;
		visibility: visible; transform: none; box-shadow: none; margin-right: var(--s-2);
	}
	.site-nav__list { display: flex; align-items: center; gap: .1rem; }
	.site-nav__item { border: 0; flex-wrap: nowrap; }
	.site-nav__link { min-height: 44px; padding: .45rem .55rem; font-size: 1.0625rem; border-radius: var(--r-sm); white-space: nowrap; }
	.has-sub > .site-nav__link { padding-right: .1rem; }
	.site-nav__link:hover { background: rgb(var(--rgb-white) / .07); }
	.site-nav__toggle { width: 28px; height: 44px; }
	.site-nav__sub {
		display: block; position: absolute; top: 100%; left: 0; z-index: 5; width: max-content; min-width: 17rem; max-width: 22rem;
		margin: 0; padding: .5rem; border: 1px solid var(--c-night-line); border-radius: var(--r-md);
		background: var(--c-night-800); box-shadow: var(--sh-lg);
		opacity: 0; visibility: hidden; transform: translateY(8px);
	}
	.site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.site-nav__item:hover > .site-nav__sub, .site-nav__item.is-open > .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
	.site-nav__sublink { border-radius: var(--r-sm); padding: .45rem .75rem; }
	.site-nav__sublink:hover { background: rgb(var(--rgb-white) / .07); }
}
@media (min-width: 75em) and (max-width: 95em) {
	.site-nav__link { font-size: 1rem; padding-inline: .4rem; }
	.site-nav__toggle { width: 24px; }
}
@media (min-width: 75em) and (pointer: coarse) { .site-nav__toggle { width: 44px; } }
/* seven nav items: the full number fits from 1280 px; between 1200 and 1279 px the button says "Anrufen" */
@media (min-width: 75em) and (max-width: 79.99em) {
	.btn--header .btn__label-long { display: none; }
	.btn--header .btn__label-short { display: inline; }
}

/* =========================================================================
   6. Hero (8 variants) — the H1 lives here
   ========================================================================= */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center;
	background: var(--g-night), var(--c-night-900);
	min-height: clamp(30rem, 72vh, 44rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--g-placeholder); }
.hero__media > img, .hero__media > svg { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.hero__media .img-placeholder { background: radial-gradient(70% 90% at 75% 30%, rgb(var(--rgb-brand) / .45), transparent 70%), var(--c-night-900); color: var(--c-brand); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--g-hero); pointer-events: none; }
.hero--statement::before, .hero--split::before { display: none; }
.hero__inner { width: 100%; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.hero__content { max-width: 44rem; }
.hero__content > * + * { margin-top: var(--s-4); }
.hero__content > .hero__title + * { margin-top: var(--s-5); }
.hero__title { color: var(--c-white); text-shadow: 0 2px 24px rgb(var(--rgb-night) / .5); }
.hero__lead { font-size: var(--fs-md); line-height: 1.55; color: var(--c-on-night-soft); max-width: 40ch; }
.hero__checks { list-style: none; padding: 0; display: grid; gap: .65rem; max-width: 36rem; }
.hero__checks li { position: relative; padding-left: 2.4rem; font-weight: 600; font-size: var(--fs-base); line-height: 1.5; color: var(--c-white); }
.hero__checks li::before { content: ""; position: absolute; left: 0; top: .05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--c-brand-sky); }
.hero__checks li::after {
	content: ""; position: absolute; left: .38rem; top: .43rem; width: .84rem; height: .84rem; background: var(--c-on-amber);
	-webkit-mask: var(--mask-check) center / contain no-repeat; mask: var(--mask-check) center / contain no-repeat;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); padding-top: var(--s-2); }
.hero__note { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); color: var(--c-on-night-soft); }
.hero__note .i { color: var(--c-amber); }
.hero .breadcrumbs { margin-bottom: var(--s-5); }
.hero__cog {
	position: absolute; z-index: -1; right: -7rem; bottom: -9rem; width: 28rem; height: 28rem;
	color: rgb(var(--rgb-brand) / .16); pointer-events: none;
}
.hero--has-band .hero__inner { padding-bottom: calc(var(--band-overlap) + clamp(3rem, 2rem + 3vw, 5rem)); }

/* 6.1 cinema (home) */
.hero--cinema { min-height: clamp(34rem, 86vh, 52rem); align-items: flex-end; }
.hero--cinema .hero__title { font-size: var(--fs-display); max-width: 15ch; }
.hero--cinema .hero__content { max-width: 50rem; }
/* letterbox hairlines */
.hero--cinema::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--c-brand), var(--c-amber) 50%, var(--c-brand)); opacity: .9; }

/* 6.2 notdienst (emergency: copy + phone ticket) */
.hero--notdienst { align-items: stretch; }
.hero--notdienst .hero__inner { display: grid; gap: var(--s-6); align-items: center; }
.hero__alert {
	display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: var(--r-pill);
	background: rgb(var(--rgb-night) / .7); border: 1px solid rgb(var(--rgb-amber) / .55); color: var(--c-white); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .02em;
}
.hero__alert .i { color: var(--c-amber); }
.hero__callcard {
	position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-xl);
	background: rgb(var(--rgb-night) / .82); border: 1px solid rgb(var(--rgb-amber) / .4); box-shadow: var(--sh-lg);
	display: grid; gap: var(--s-4); text-align: center; container-type: inline-size;
}
/* the number scales with the card, not the viewport: between 60em and 80em the card column is narrower than the viewport-based size needs */
.hero__callcard .btn--xl { font-size: clamp(1.15rem, 9cqi, 2.4rem); padding-inline: .8em; max-width: 100%; }
.hero__callcard-label { font-family: var(--f-display); font-size: 1.125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-amber); }
.hero__callcard .btn--call { width: 100%; }
.hero__callcard ul { list-style: none; padding: 0; display: grid; gap: .4rem; text-align: left; font-size: var(--fs-sm); color: var(--c-on-night-soft); }
.hero__callcard li { display: flex; gap: .5rem; align-items: flex-start; }
.hero__callcard li .i { color: var(--c-brand-sky); margin-top: .15rem; }
.hero__sos { font-size: var(--fs-sm); color: var(--c-on-night-soft); }
.hero__sos a { color: var(--c-white); font-weight: 700; }
@media (min-width: 60em) {
	.hero--notdienst .hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .8fr); }
}

/* 6.3 split (service pages: night band, text + arched photo) */
.hero--split { min-height: 0; background: var(--g-night), var(--c-night-900); }
.hero--split .hero__inner { display: grid; gap: var(--s-6); align-items: center; }
.hero--split .hero__media { position: relative; inset: auto; z-index: auto; background: none; }
.hero--split .frame { box-shadow: var(--sh-lg); }
@media (min-width: 56em) {
	.hero--split .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); }
}
@media (max-width: 55.99em) { .hero--split .hero__media { width: 100%; max-width: 26rem; } }

/* 6.4 problem (situation pages: photo + "what helps now" mini-steps) */
.hero--problem { min-height: clamp(30rem, 70vh, 42rem); }
.hero__quick { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; counter-reset: q; max-width: 40rem; }
.hero__quick li {
	counter-increment: q; display: flex; gap: .75rem; align-items: center;
	padding: .65rem .9rem; border-radius: var(--r-md); background: rgb(var(--rgb-night) / .6); border: 1px solid rgb(var(--rgb-white) / .14);
	font-weight: 600; color: var(--c-white);
}
.hero__quick li::before {
	content: counter(q); flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	font-family: var(--f-display); font-size: 1.125rem; background: var(--c-brand-700); color: var(--c-white);
}
@media (min-width: 48em) {
	.hero__quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hero__quick li { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .9rem 1rem 1rem; line-height: 1.35; }
	/* The primary call button must be in the first screen: with a 3-line H1, a lede and three step cards in front of it
	 * it sat below the 900 px fold. From tablet width up the button is shown directly under the lead and the three steps
	 * follow it (visual order only: the steps are plain text, so the tab order is unchanged). Phones keep the DOM order -
	 * the sticky call bar covers them. */
	.hero--problem .hero__inner { padding-top: clamp(2.5rem, 1.5rem + 2.5vw, 3.75rem); } /* was up to 6rem */
	.hero--problem .hero__content { display: flex; flex-direction: column; }
	.hero--problem .hero__content > .eyebrow { align-self: flex-start; }
	.hero--problem .hero__content > .breadcrumbs { margin-bottom: calc(var(--s-5) - var(--s-4)); } /* flex margins do not collapse: keep the old 24 px */
	.hero--problem .hero__actions { order: 1; }
	.hero--problem .hero__quick { order: 2; margin-top: var(--s-5); }
}

/* 6.5 article (ratgeber) */
.hero--article { min-height: 0; background: var(--g-night), var(--c-night-900); }
.hero--article .hero__content { max-width: 52rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: var(--fs-sm); color: var(--c-on-night-muted); list-style: none; padding: 0; }
.hero__meta li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta .i { color: var(--c-brand-sky); }

/* 6.6 statement (kosten: big typographic promise on deep cerulean) */
.hero--statement { min-height: 0; background: var(--g-feature); text-align: left; }
.hero--statement .hero__title { max-width: 22ch; text-shadow: none; }
.hero--statement .hero__lead { color: var(--c-on-brand-soft); }
.hero--statement .hero__note { color: var(--c-on-brand-soft); }
.hero--statement .hero__cog { color: rgb(var(--rgb-night) / .16); width: 34rem; height: 34rem; right: -9rem; bottom: -12rem; }
.hl { text-decoration: underline; text-decoration-color: var(--c-amber); text-decoration-thickness: .1em; text-underline-offset: .14em; text-decoration-skip-ink: none; }

/* 6.7 compact (faq, kontakt, legal) */
.hero--compact { min-height: 0; background: var(--g-night), var(--c-night-900); }
.hero--compact .hero__inner { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.hero--compact .hero__title { font-size: var(--fs-2xl); }
.hero--compact .hero__content { max-width: 46rem; }

/* 6.8 index (glossar / overview: A-Z bar in the hero) */
.hero--index { min-height: 0; background: var(--g-night), var(--c-night-950); }
.hero--index .az-bar { margin-top: var(--s-5); }

@media (max-width: 47.99em) {
	.hero { min-height: 0; }
	.hero--cinema, .hero--problem { min-height: clamp(30rem, 88vh, 40rem); }
	.hero__actions .btn { width: 100%; }
	.hero__cog { width: 18rem; height: 18rem; right: -6rem; bottom: -6rem; }
}

/* =========================================================================
   7. Feature band (floats over the hero)
   ========================================================================= */
.featureband { position: relative; z-index: 2; margin-top: calc(-1 * var(--band-overlap)); }
.featureband__card {
	position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5);
	padding: clamp(1.5rem, 1rem + 2vw, 2.4rem) clamp(1rem, .5rem + 2vw, 2rem);
	background: var(--g-feature); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
	list-style: none; margin: 0;
}
.featureband__card::after {
	content: ""; position: absolute; right: -4rem; top: -4rem; width: 13rem; height: 13rem; pointer-events: none;
	background: rgb(var(--rgb-night) / .14); -webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.feat { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
.feat__badge {
	position: relative; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%;
	background: rgb(var(--rgb-white) / .1); border: 1px solid rgb(var(--rgb-white) / .3); color: var(--c-amber);
}
.feat__badge::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px dotted rgb(var(--rgb-amber) / .55); }
.feat__badge .i { width: 1.9rem; height: 1.9rem; }
.feat__title { font-weight: 700; font-size: var(--fs-base); line-height: 1.3; color: var(--c-white); }
.feat__text { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-on-brand-soft); }
@media (max-width: 59.99em) { .featureband__card { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); } }
@media (max-width: 29.99em) {
	.featureband__card { grid-template-columns: 1fr; gap: var(--s-4); }
	.feat { display: grid; grid-template-columns: auto 1fr; text-align: left; align-items: center; gap: .1rem 1rem; }
	.feat__badge { grid-row: span 2; width: 3.5rem; height: 3.5rem; }
	.feat__badge .i { width: 1.5rem; height: 1.5rem; }
}

/* =========================================================================
   8. Frames, image placeholders, cog badges
   ========================================================================= */
.img-placeholder { display: block; width: 100%; height: auto; background: var(--g-placeholder); color: var(--c-white); }
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: var(--ratio, 4 / 3); background: var(--g-placeholder); }
.frame > img, .frame > svg { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.frame--portrait { --ratio: 4 / 5; }
.frame--wide { --ratio: 16 / 10; }
.frame--arch { border-radius: 48% 48% var(--r-lg) var(--r-lg) / 30% 30% var(--r-lg) var(--r-lg); }
.frame--notch {
	border-radius: var(--r-sm);
	-webkit-mask: radial-gradient(circle at 0 0, transparent 22px, black 23px) top left / 51% 51% no-repeat,
		radial-gradient(circle at 100% 0, transparent 22px, black 23px) top right / 51% 51% no-repeat,
		radial-gradient(circle at 0 100%, transparent 22px, black 23px) bottom left / 51% 51% no-repeat,
		radial-gradient(circle at 100% 100%, transparent 22px, black 23px) bottom right / 51% 51% no-repeat;
	mask: radial-gradient(circle at 0 0, transparent 22px, black 23px) top left / 51% 51% no-repeat,
		radial-gradient(circle at 100% 0, transparent 22px, black 23px) top right / 51% 51% no-repeat,
		radial-gradient(circle at 0 100%, transparent 22px, black 23px) bottom left / 51% 51% no-repeat,
		radial-gradient(circle at 100% 100%, transparent 22px, black 23px) bottom right / 51% 51% no-repeat;
}
.frame__tag {
	position: absolute; left: var(--s-4); bottom: var(--s-4); right: auto; max-width: calc(100% - 2rem);
	display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: var(--r-pill);
	background: rgb(var(--rgb-night) / .86); color: var(--c-white); font-weight: 700; font-size: var(--fs-sm); line-height: 1.3; box-shadow: var(--sh-md);
}
.frame__tag .i { color: var(--c-amber); }
.frame--arch .frame__tag { left: 50%; transform: translateX(-50%); width: max-content; }

.cog-badge { position: relative; display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: none; color: var(--c-white); }
.cog-badge::before {
	content: ""; position: absolute; inset: 0; background: var(--c-brand-700);
	-webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.cog-badge .i { position: relative; width: 1.45rem; height: 1.45rem; }
.cog-badge--amber { color: var(--c-on-amber); }
.cog-badge--amber::before { background: var(--c-amber); }
.cog-badge--sky::before { background: var(--c-brand); }
.cog-badge--sm { width: 2.75rem; height: 2.75rem; }
.cog-badge--sm .i { width: 1.15rem; height: 1.15rem; }

.cog-rule { display: flex; align-items: center; gap: var(--s-4); color: var(--c-brand); margin-block: var(--s-7); }
.cog-rule::before, .cog-rule::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 18px); opacity: .45; }
.cog-rule .i { width: 2.25rem; height: 2.25rem; }

/* =========================================================================
   9. Editorial intro + qualitative fact cards (no numbers)
   ========================================================================= */
.intro { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.intro__text > * + * { margin-top: var(--s-4); }
.intro__text p { max-width: 62ch; }
.intro__media { position: relative; max-width: 30rem; width: 100%; justify-self: center; }
.facts { list-style: none; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); margin-top: var(--s-6); }
.fact { position: relative; padding: 1.1rem 1.2rem 1.15rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-md); border-top: 3px solid var(--c-brand); }
.fact__title { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; letter-spacing: .01em; color: var(--c-heading); }
.fact__text { display: block; margin-top: .35rem; font-size: var(--fs-sm); line-height: 1.45; color: var(--c-text-muted); }
@media (min-width: 60em) { .intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* =========================================================================
   10. Dark services gallery (photo cards)
   ========================================================================= */
.svc-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.svc-card {
	display: flex; flex-direction: column; overflow: hidden; height: 100%;
	background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-lg);
}
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--g-placeholder); }
.svc-card__media > img, .svc-card__media > svg { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.svc-card__body { display: flex; flex-direction: column; gap: .55rem; flex: 1; padding: 1.35rem 1.4rem 1.4rem; }
.svc-card__title { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-md); line-height: 1.3; color: var(--c-heading); }
.svc-card__title .i { color: var(--c-accent-ink); width: 1.35rem; height: 1.35rem; }
.svc-card__text { color: var(--c-text-muted); }
.svc-card__links { margin-top: auto; padding-top: .35rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
.svc-card--feature { grid-column: 1 / -1; }
@media (min-width: 60em) {
	.svc-card--feature { flex-direction: row; }
	.svc-card--feature .svc-card__media { aspect-ratio: auto; flex: 1.15; min-height: 20rem; }
	.svc-card--feature .svc-card__body { flex: 1; justify-content: center; padding: 2.25rem; }
	.svc-card--feature .svc-card__title { font-size: var(--fs-lg); }
}

/* =========================================================================
   11. Spielplan — signature: cinema programme board of the five Notfall-Situationen
   Marquee with bulb rows, then five numbered tickets with a perforated stub (notches at the
   perforation). Ticket 01 is the featured one: cerulean, full width on tablets, tall on desktop.
   The ticket shape is drawn by ::before (masked), so text and the focus ring are never clipped.
   ========================================================================= */
.spielplan {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(1rem, .5rem + 2.4vw, 2.5rem); border-radius: var(--r-xl);
	background: var(--g-night), var(--c-night-950); box-shadow: var(--sh-lg);
}
.spielplan::before {
	content: ""; position: absolute; inset: 8px; z-index: -1; border-radius: calc(var(--r-xl) - 6px);
	border: 1px solid rgb(var(--rgb-amber) / .3); pointer-events: none;
}
.spielplan__marquee {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5);
	padding: 1.4rem clamp(1rem, .6rem + 1.5vw, 1.75rem); margin-bottom: var(--s-5);
	border-radius: var(--r-lg); background: var(--c-night-800); border: 1px solid var(--c-night-line);
}
.spielplan__marquee::before, .spielplan__marquee::after {
	content: ""; position: absolute; left: 1rem; right: 1rem; height: 8px;
	background: radial-gradient(circle, var(--c-amber) 0 2.2px, transparent 3px) 0 50% / 16px 8px repeat-x;
	opacity: .8; pointer-events: none;
}
.spielplan__marquee::before { top: 4px; }
.spielplan__marquee::after { bottom: 4px; }
.spielplan__title { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; color: var(--c-white); }
.spielplan__sub { font-family: var(--f-display); font-size: 1.0625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-amber); }
.spielplan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
.spielplan__list > li { display: flex; min-width: 0; }

/* ticket (horizontal: main | stub; the notches sit at the top and bottom of the perforation) */
.ticket {
	--notch: 10px;
	--stub: 4rem;
	--ticket-bg: linear-gradient(110deg, var(--c-night-800) 0%, var(--c-night-800) 45%, var(--c-night-700) 100%);
	--ticket-ring: rgb(var(--rgb-white) / .1);
	--ticket-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), black calc(var(--notch) + 1px)) top / 100% 51% no-repeat,
		radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), black calc(var(--notch) + 1px)) bottom / 100% 51% no-repeat;
	position: relative; isolation: isolate; flex: 1; min-width: 0; min-height: 5.75rem;
	display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
	border-radius: var(--r-md); color: var(--c-white); text-decoration: none;
}
.ticket::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background: var(--ticket-bg); box-shadow: inset 0 0 0 1px var(--ticket-ring);
	-webkit-mask: var(--ticket-mask); mask: var(--ticket-mask);
}
.ticket:hover, .ticket:focus-visible {
	--ticket-bg: linear-gradient(110deg, var(--c-night-700) 0%, var(--c-brand-800) 100%);
	--ticket-ring: rgb(var(--rgb-amber) / .6);
	color: var(--c-white);
}
.ticket__main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: center; gap: .4rem .6rem; min-width: 0; padding: 1rem 1rem 1.05rem 1.2rem; }
.ticket__icon { position: relative; display: grid; place-items: center; align-self: start; color: var(--c-brand-sky); }
.ticket__icon .i { position: relative; width: 1.45rem; height: 1.45rem; }
.ticket__name {
	min-width: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; line-height: 1.1; letter-spacing: .03em;
	text-transform: uppercase; overflow-wrap: break-word; hyphens: auto;
}
.ticket__line { grid-column: 1 / -1; font-size: var(--fs-sm); line-height: 1.45; color: var(--c-on-night-muted); }
.ticket__stub {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .75rem .2rem;
	border-left: 2px dashed rgb(var(--rgb-white) / .24);
}
.ticket__no { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: .02em; color: var(--c-amber); font-variant-numeric: tabular-nums; }
.ticket__stub .i { width: 1.25rem; height: 1.25rem; color: var(--c-brand-sky); }

/* featured ticket (01): cerulean gradient, cog badge, bigger type */
.ticket--feature {
	--stub: 4.75rem;
	--ticket-bg: var(--g-feature);
	--ticket-ring: rgb(var(--rgb-white) / .18);
}
.ticket--feature:hover, .ticket--feature:focus-visible {
	--ticket-bg: linear-gradient(120deg, var(--c-brand-800) 0%, var(--c-brand-700) 55%, var(--c-brand-600) 100%);
	--ticket-ring: rgb(var(--rgb-amber) / .75);
}
.ticket--feature .ticket__main { gap: .35rem 1rem; padding: 1.2rem 1.2rem 1.3rem 1.35rem; }
.ticket--feature .ticket__icon { grid-row: span 2; align-self: center; width: 3.5rem; height: 3.5rem; color: var(--c-white); }
.ticket--feature .ticket__icon::before {
	content: ""; position: absolute; inset: 0; background: rgb(var(--rgb-night) / .45);
	-webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.ticket--feature .ticket__icon .i { width: 1.6rem; height: 1.6rem; }
.ticket--feature .ticket__name { font-size: var(--fs-xl); line-height: 1.04; }
.ticket--feature .ticket__line { grid-column: 2; font-size: var(--fs-base); line-height: 1.5; color: var(--c-on-brand-soft); }
.ticket--feature .ticket__stub { border-left-color: rgb(var(--rgb-white) / .42); }
.ticket--feature .ticket__no { font-size: 2.25rem; }
.ticket--feature .ticket__stub .i { color: var(--c-white); }

.spielplan__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px dashed rgb(var(--rgb-white) / .18); }
.spielplan__foot p { color: var(--c-on-night-soft); max-width: 46ch; }

/* phones: slimmer stub; the featured badge sits above the name */
@media (max-width: 29.99em) {
	.ticket { --stub: 3.25rem; --notch: 8px; }
	.ticket__main { padding: .9rem .8rem .95rem 1rem; }
	.ticket__name { font-size: 1.25rem; }
	.ticket__no { font-size: 1.5rem; }
	.ticket--feature { --stub: 3.5rem; }
	.ticket--feature .ticket__main { grid-template-columns: minmax(0, 1fr); padding: 1.1rem .9rem 1.15rem 1.05rem; }
	.ticket--feature .ticket__icon { grid-row: auto; width: 3rem; height: 3rem; justify-self: start; margin-bottom: .2rem; }
	.ticket--feature .ticket__name { font-size: 1.75rem; }
	.ticket--feature .ticket__line { grid-column: 1; }
	.ticket--feature .ticket__no { font-size: 1.85rem; }
}
/* tablets: featured ticket across the full width, the other four in 2 × 2 */
@media (min-width: 44em) {
	.spielplan__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
	.spielplan__list > li:first-child { grid-column: 1 / -1; }
}
/* desktop: featured ticket tall on the left (stub at the bottom), the other four in 2 × 2 beside it */
@media (min-width: 72em) {
	.spielplan__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.spielplan__list > li:first-child { grid-column: auto; grid-row: span 2; }
	.ticket--feature {
		--stub-h: 4.5rem;
		--ticket-mask: radial-gradient(circle at 0 calc(100% - var(--stub-h)), transparent var(--notch), black calc(var(--notch) + 1px)) left / 51% 100% no-repeat,
			radial-gradient(circle at 100% calc(100% - var(--stub-h)), transparent var(--notch), black calc(var(--notch) + 1px)) right / 51% 100% no-repeat;
		grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) var(--stub-h);
	}
	/* faint dark cog in the corner (dark watermark on cerulean, see DESIGN-LANGUAGE §2) */
	.ticket--feature::after {
		content: ""; position: absolute; z-index: -1; right: 1.1rem; top: 1.1rem; width: 7.5rem; height: 7.5rem; pointer-events: none;
		background: rgb(var(--rgb-night) / .16); -webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
	}
	.ticket--feature .ticket__main { grid-template-columns: minmax(0, 1fr); align-content: start; gap: .65rem; padding: 1.75rem 1.75rem 1.5rem; }
	.ticket--feature .ticket__icon { grid-row: auto; justify-self: start; width: 4.25rem; height: 4.25rem; margin-bottom: .5rem; }
	.ticket--feature .ticket__icon .i { width: 1.9rem; height: 1.9rem; }
	.ticket--feature .ticket__line { grid-column: 1; }
	.ticket--feature .ticket__stub { flex-direction: row; justify-content: space-between; padding: 0 1.75rem; border-left: 0; border-top: 2px dashed rgb(var(--rgb-white) / .42); }
	.ticket--feature .ticket__no { font-size: 2.75rem; }
	.ticket--feature .ticket__stub .i { width: 1.5rem; height: 1.5rem; }
}

/* =========================================================================
   12. Tag chips (keywords, door/lock types — never place names, never links)
   ========================================================================= */
.tag-strip { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: var(--r-pill); background: var(--c-paper-2); border: 1px solid var(--c-line); font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }
.tag .i { width: 1rem; height: 1rem; color: var(--c-brand-700); }
.on-dark .tag, .section--night .tag { background: rgb(var(--rgb-white) / .08); border-color: rgb(var(--rgb-white) / .2); color: var(--c-white); }
.on-dark .tag .i, .section--night .tag .i { color: var(--c-brand-sky); }

/* =========================================================================
   13. Before / after (two labelled figures; JS upgrades to a role="slider")
   ========================================================================= */
.ba { position: relative; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); max-width: 52rem; margin-inline: auto; }
.ba__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--g-placeholder); }
.ba__item > img, .ba__item > svg { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.ba__label {
	position: absolute; left: var(--s-4); top: var(--s-4); padding: .35rem .95rem; border-radius: var(--r-pill);
	font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: .14em; text-transform: uppercase;
	background: rgb(var(--rgb-night) / .88); color: var(--c-white);
}
.ba__item--after .ba__label { background: var(--c-amber); color: var(--c-on-amber); }
.ba__note { max-width: 52rem; margin: var(--s-4) auto 0; display: flex; gap: .5rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text-muted); }
.ba__note .i { color: var(--c-brand-700); margin-top: .2rem; }
.ba.is-slider { grid-template-columns: 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); touch-action: pan-y; }
.ba.is-slider .ba__item { grid-area: 1 / 1; border-radius: 0; }
.ba.is-slider .ba__item--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba.is-slider .ba__item--after .ba__label { left: auto; right: var(--s-4); }
.ba__handle {
	position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 3; width: 48px; transform: translateX(-50%);
	display: grid; place-items: center; cursor: ew-resize; touch-action: none; --c-focus: var(--c-amber);
}
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: var(--c-white); box-shadow: 0 0 12px rgb(var(--rgb-night) / .6); }
.ba__knob { position: relative; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--c-amber); color: var(--c-on-amber); box-shadow: var(--sh-rim); }
.ba__knob .i { width: 1.5rem; height: 1.5rem; }

/* =========================================================================
   14. Promise cards (instead of reviews — never quotes from customers)
   ========================================================================= */
.promise-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.promise {
	position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; gap: .7rem;
	padding: 1.75rem 1.5rem 1.6rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
/* corner cog (favicon motif) — deliberately NOT a quotation mark: promises are never customer voices */
.promise::after {
	content: ""; position: absolute; right: -2.4rem; top: -2.4rem; width: 6.5rem; height: 6.5rem; pointer-events: none;
	background: rgb(var(--rgb-brand) / .1); -webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.promise__title { font-size: var(--fs-md); line-height: 1.3; }
.promise__text { color: var(--c-text-muted); }
.promise__foot { margin-top: auto; padding-top: .6rem; border-top: 1px dashed var(--c-card-line); font-size: var(--fs-sm); font-weight: 600; color: var(--c-eyebrow); }

/* =========================================================================
   15. Process steps (horizontal + vertical)
   ========================================================================= */
.steps { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 1.6rem 1.4rem 1.5rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-lg); }
.step::before {
	display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1rem;
	font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; color: var(--c-white);
	content: counter(step, decimal-leading-zero);
	background: var(--c-brand-700);
	-webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.step__title { font-size: var(--fs-md); line-height: 1.3; margin-bottom: .4rem; }
.step__text { color: var(--c-text-muted); }
.step--call::before { background: var(--c-amber); color: var(--c-on-amber); }
.steps--h { position: relative; }
@media (min-width: 64em) {
	.steps--h { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
	.steps--h .step:not(:last-child)::after {
		content: ""; position: absolute; top: 3.3rem; left: calc(100% + 2px); width: calc(var(--s-5) - 4px); height: 2px;
		background: repeating-linear-gradient(90deg, var(--c-brand) 0 6px, transparent 6px 10px);
	}
}
.steps--v { grid-template-columns: 1fr; gap: 0; max-width: 46rem; }
.steps--v .step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1.25rem; padding: 0 0 2rem; background: none; border: 0; border-radius: 0; }
.steps--v .step::before { grid-row: span 2; margin: 0; }
.steps--v .step::after {
	content: ""; position: absolute; left: calc(1.7rem - 1px); top: 3.9rem; bottom: .4rem; width: 2px;
	background: repeating-linear-gradient(180deg, var(--c-brand) 0 6px, transparent 6px 11px);
}
.steps--v .step:last-child { padding-bottom: 0; }
.steps--v .step:last-child::after { display: none; }
.steps--v .step__title { margin: .55rem 0 .35rem; }

/* =========================================================================
   16. Icon lists, checklists, keyhole bullets, "what we do not do"
   ========================================================================= */
.icon-list { display: grid; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }
.icon-list--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1.25rem 2.25rem; }
.icon-list__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem 1rem; align-items: start; }
.icon-list__icon { grid-row: span 2; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: var(--r-md); background: var(--c-brand-tint); color: var(--c-brand-700); }
.icon-list__icon .i { width: 1.4rem; height: 1.4rem; }
.on-dark .icon-list__icon, .section--night .icon-list__icon { background: rgb(var(--rgb-brand) / .2); color: var(--c-brand-sky); }
.icon-list__title { font-weight: 700; color: var(--c-heading); line-height: 1.35; padding-top: .1rem; }
.icon-list__text { color: var(--c-text-muted); }
.icon-list--cards .icon-list__item { padding: 1.15rem 1.2rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-md); }
.icon-list--check .icon-list__icon { width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-brand-700); color: var(--c-white); margin-top: .1rem; }
.icon-list--check .icon-list__icon .i { width: 1.05rem; height: 1.05rem; stroke-width: 3; }

.list-keyhole, .prose ul { list-style: none; padding: 0; }
.list-keyhole > li, .prose ul > li { position: relative; padding-left: 1.75rem; }
.list-keyhole > li + li, .prose ul > li + li { margin-top: .5rem; }
.list-keyhole > li::before, .prose ul > li::before {
	content: ""; position: absolute; left: .1rem; top: .38em; width: .85rem; height: 1.02rem; background: var(--c-brand);
	-webkit-mask: var(--mask-keyhole) center / contain no-repeat; mask: var(--mask-keyhole) center / contain no-repeat;
}
.on-dark .list-keyhole > li::before, .section--night .list-keyhole > li::before { background: var(--c-amber); }

.not-list { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.not-list__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .85rem; padding: 1.05rem 1.15rem; background: var(--c-card); border: 1px dashed var(--c-line-strong); border-radius: var(--r-md); }
.not-list__item > .i { grid-row: span 2; width: 1.6rem; height: 1.6rem; color: var(--c-danger); margin-top: .1rem; }
.not-list__title { font-weight: 700; color: var(--c-heading); }
.not-list__text { font-size: var(--fs-sm); line-height: 1.5; color: var(--c-text-muted); }

/* =========================================================================
   17. Notices (info / warning / danger incl. 112 / 110)
   ========================================================================= */
.notice {
	--c-focus: var(--c-ink);
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1.1rem; align-items: start;
	padding: clamp(1.1rem, .8rem + 1vw, 1.6rem) clamp(1.1rem, .8rem + 1vw, 1.75rem);
	border: 1px solid var(--notice-line, var(--c-brand)); border-left-width: 6px; border-radius: var(--r-md);
	background: var(--notice-bg, var(--c-info-bg)); color: var(--c-text-base);
}
.notice__icon { grid-row: span 3; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--notice-line, var(--c-brand-700)); color: var(--c-white); }
.notice__icon .i { width: 1.4rem; height: 1.4rem; }
.notice__title { font-size: var(--fs-md); font-weight: 800; line-height: 1.3; color: var(--notice-title, var(--c-info)); }
.notice__text { color: var(--c-text-base); }
.notice__text a { color: var(--notice-title, var(--c-info)); font-weight: 700; }
.notice__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .4rem; }
.notice--info { --notice-bg: var(--c-info-bg); --notice-line: var(--c-brand-700); --notice-title: var(--c-info); }
.notice--warning { --notice-bg: var(--c-warn-bg); --notice-line: var(--c-warn-line); --notice-title: var(--c-warn); }
.notice--warning .notice__icon { background: var(--c-amber); color: var(--c-on-amber); }
.notice--danger { --notice-bg: var(--c-danger-bg); --notice-line: var(--c-danger); --notice-title: var(--c-danger-text); }
.notice-stack { display: grid; gap: var(--s-4); }
/* Phones: the icon sits beside the TITLE only; text and actions use the full width underneath (an icon column
 * would squeeze long paragraphs to ~250 px). Flex instead of grid on purpose: the per-page grid placement rules
 * (icon "grid-row: span N", text "grid-column: 2") then have no effect and cannot fight this layout. */
@media (max-width: 39.99em) {
	.notice { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; }
	.notice > .notice__icon { flex: none; width: 2.5rem; height: 2.5rem; }
	.notice > .notice__icon .i { width: 1.25rem; height: 1.25rem; }
	/* basis = longest word: the title stays beside the icon and wraps freely, unless its longest word (e.g.
	 * "Verbraucherstreitbeilegung") would not fit next to the icon - then the title drops under the icon. */
	.notice > .notice__title { flex: 1 1 min-content; min-width: 0; }
	/* "overflow-wrap: anywhere" (impressum.css) would shrink min-content to one letter and the long word would break
	 * mid-word beside the icon; break-word keeps min-content = longest word. Doubled class = beats the page rule. */
	.notice.notice > .notice__title { overflow-wrap: break-word; }
	.notice > :not(.notice__icon):not(.notice__title) { flex: 0 0 100%; min-width: 0; }
	.notice > .notice__actions { padding-top: .25rem; }
}

/* generic card (light) + night card — for asides, checklists, summaries */
.card { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-lg); }
.card > * + * { margin-top: var(--s-3); }
.card--night { background: var(--c-night-900); border-color: var(--c-night-line); }
.card--shadow { box-shadow: var(--sh-md); }
.card__title { font-size: var(--fs-md); }

/* =========================================================================
   18. FAQ accordion (markup contract BUILD-CONTRACT §9)
   ========================================================================= */
.faq { display: grid; gap: .75rem; max-width: 54rem; }
.faq-item { background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-md); }
.faq-item[open] { border-color: var(--c-brand); box-shadow: var(--sh-sm); }
.faq-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px;
	padding: 1rem 1.25rem 1rem 1.4rem; cursor: pointer; list-style: none;
	font-weight: 700; font-size: var(--fs-base); line-height: 1.4; color: var(--c-heading); border-radius: var(--r-md);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }
.faq-item__q::after {
	content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
	background:
		linear-gradient(var(--c-brand-700), var(--c-brand-700)) center / .9rem 2.5px no-repeat,
		linear-gradient(var(--c-brand-700), var(--c-brand-700)) center / 2.5px .9rem no-repeat,
		var(--c-brand-tint);
	box-shadow: inset 0 0 0 1px var(--c-brand-tint-2);
}
.faq-item[open] > .faq-item__q::after { transform: rotate(45deg); background-color: var(--c-amber); }
.faq-item__q:hover { color: var(--c-link); }
.faq-item__a { overflow: hidden; padding-inline: 1.4rem; color: var(--c-text); }
.faq-item__a > :first-child { margin-top: 0; }
.faq-item__a > * + * { margin-top: .8rem; }
.faq-item__a > :last-child { margin-bottom: 1.25rem; }
.faq-item__a a { color: var(--c-link); font-weight: 600; }
.faq-layout { display: grid; gap: var(--s-6); }
.faq-layout__aside > * + * { margin-top: var(--s-4); }
@media (min-width: 64em) {
	.faq-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: var(--s-8); align-items: start; }
	.faq-layout__aside { position: sticky; top: calc(var(--header-real, var(--header-h)) + 1.5rem); }
}

/* =========================================================================
   19. Split text / image, statement band, answer box
   ========================================================================= */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split__text > * + * { margin-top: var(--s-4); }
.split__text p { max-width: 62ch; }
@media (min-width: 56em) {
	.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
	.split--reverse > .split__media { order: -1; }
}

.statement { max-width: 58rem; margin-inline: auto; text-align: center; }
.statement > * + * { margin-top: var(--s-5); }
.statement__text { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-2xl); line-height: 1.12; color: var(--c-heading); text-wrap: balance; }
.statement .cog-rule { margin-block: 0; }
.statement > .lead { margin-inline: auto; }

.answer {
	position: relative; padding: 1.15rem 1.35rem 1.2rem 1.5rem; border-radius: 0 var(--r-md) var(--r-md) 0;
	background: var(--c-brand-tint); border-left: 5px solid var(--c-brand-700); color: var(--c-text-base);
	font-size: var(--fs-md); line-height: 1.55;
}
.answer__label { display: block; margin-bottom: .3rem; font-family: var(--f-display); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-700); }

/* =========================================================================
   20. Comparison table + versus cards (no prices, ever)
   ========================================================================= */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); --c-focus: var(--c-ink); }
.compare-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); color: var(--c-text-base); }
.compare-table caption { caption-side: bottom; padding: .8rem 1rem; text-align: left; font-size: var(--fs-sm); color: var(--c-muted-base); }
.compare-table th, .compare-table td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.compare-table thead th { background: var(--c-night-900); color: var(--c-white); font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.compare-table tbody th { font-weight: 700; color: var(--c-ink); }
.compare-table tbody tr:nth-child(even) { background: var(--c-paper); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.yes, .no { display: inline-flex; align-items: flex-start; gap: .45rem; }
.yes .i { color: var(--c-success); stroke-width: 2.6; margin-top: .15rem; }
.no .i { color: var(--c-danger); stroke-width: 2.6; margin-top: .15rem; }
@media (max-width: 39.99em) {
	.compare-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.compare-table--stack tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--c-line); }
	.compare-table--stack tbody tr:last-child { border-bottom: 0; }
	.compare-table--stack th, .compare-table--stack td { display: block; border: 0; padding: .4rem 1rem; }
	.compare-table--stack td::before { content: attr(data-label); display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-brand-700); }
}
.versus { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.versus__col { padding: 1.6rem 1.5rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-lg); border-top: 5px solid var(--c-success); }
.versus__col--bad { border-top-color: var(--c-danger); }
.versus__title { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-md); margin-bottom: 1rem; }
.versus__title .i { color: var(--c-success); }
.versus__col--bad .versus__title .i { color: var(--c-danger); }
.versus__col .icon-list { gap: .7rem; }
.versus__col--bad .icon-list__icon { background: var(--c-danger-bg); color: var(--c-danger); }

/* =========================================================================
   21. Article: TOC bar/sidebar + prose
   ========================================================================= */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.toc {
	position: sticky; top: var(--header-real, var(--header-h)); z-index: 15;
	margin-inline: calc(-1 * var(--gutter)); padding: .5rem var(--gutter);
	background: rgb(var(--rgb-white) / .97); border-bottom: 1px solid var(--c-line); box-shadow: var(--sh-sm);
}
.toc__title { display: none; }
.toc__list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: thin; counter-reset: toc; }
.toc__list a {
	counter-increment: toc; flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem .8rem;
	border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-base); text-decoration: none; white-space: nowrap;
}
.toc__list a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-display); color: var(--c-brand-700); }
.toc__list a:hover { background: var(--c-paper-2); }
.toc__list a.is-active { background: var(--c-brand-700); color: var(--c-white); }
.toc__list a.is-active::before { color: var(--c-on-brand-soft); }
@media (min-width: 64em) {
	.article { grid-template-columns: 17rem minmax(0, 1fr); gap: var(--s-8); align-items: start; }
	.toc { top: calc(var(--header-real, var(--header-h)) + 1.5rem); margin: 0; padding: 1.25rem 1rem 1rem; border: 1px solid var(--c-line); border-radius: var(--r-md); }
	.toc__title { display: block; padding: 0 .6rem .5rem; font-family: var(--f-display); font-size: 1.0625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-700); }
	.toc__list { flex-direction: column; overflow: visible; gap: .1rem; }
	.toc__list a { white-space: normal; border-radius: var(--r-sm); align-items: flex-start; line-height: 1.35; padding: .55rem .6rem; }
}
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2.2em; scroll-margin-top: calc(var(--header-real, var(--header-h)) + 5rem); }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose ol { padding-left: 1.4rem; }
.prose ol > li + li { margin-top: .5rem; }
.prose ol > li::marker { font-family: var(--f-display); font-weight: 700; color: var(--c-brand-700); }
.prose a { font-weight: 600; }
.prose blockquote { padding: .4rem 0 .4rem 1.25rem; border-left: 4px solid var(--c-brand); font-size: var(--fs-md); color: var(--c-heading); }
.prose .notice, .prose .answer, .prose .table-wrap, .prose .icon-list, .prose .frame { margin-top: 1.5em; }
.prose-source { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* =========================================================================
   22. Glossary A-Z
   ========================================================================= */
.az-bar { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.az-bar a, .az-bar__off {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .4rem; border-radius: var(--r-sm);
	font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; text-decoration: none;
}
.az-bar a { background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); }
.az-bar a:hover { background: var(--c-brand-700); border-color: var(--c-brand-700); color: var(--c-white); }
.az-bar__off { color: var(--c-muted-base); opacity: .55; }
.hero .az-bar a, .on-dark .az-bar a { background: rgb(var(--rgb-white) / .07); border-color: rgb(var(--rgb-white) / .22); color: var(--c-white); }
.hero .az-bar a:hover, .on-dark .az-bar a:hover { background: var(--c-amber); border-color: var(--c-amber); color: var(--c-on-amber); }
.hero .az-bar__off { color: var(--c-on-night-muted); }
.glossary { display: grid; gap: var(--s-7); }
.glossary__group { display: grid; gap: var(--s-4); scroll-margin-top: calc(var(--header-real, var(--header-h)) + 1rem); }
.glossary__letter { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; color: var(--c-brand); }
.glossary__list { margin: 0; display: grid; gap: .85rem; }
.glossary__entry { padding: 1.1rem 1.3rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-md); scroll-margin-top: calc(var(--header-real, var(--header-h)) + 1rem); }
.glossary__entry:target { border-color: var(--c-brand); box-shadow: 0 0 0 3px rgb(var(--rgb-brand) / .25); }
.glossary__term { font-weight: 800; font-size: var(--fs-md); color: var(--c-heading); }
.glossary__entry dd { margin: .35rem 0 0; }
.glossary__entry dd + dd { margin-top: .5rem; font-size: var(--fs-sm); }
@media (min-width: 48em) {
	.glossary__group { grid-template-columns: 6rem minmax(0, 1fr); gap: var(--s-6); }
	.glossary__letter { position: sticky; top: calc(var(--header-real, var(--header-h)) + 1rem); align-self: start; }
}

/* =========================================================================
   23. Link router cards, call strip, phone callout
   ========================================================================= */
.router-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.router-card {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .1rem 1rem; align-items: center; height: 100%;
	padding: 1.1rem 1.15rem; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: var(--r-md);
	color: var(--c-text); text-decoration: none;
}
.router-card .cog-badge { grid-row: span 2; }
.router-card__title { font-weight: 700; line-height: 1.3; color: var(--c-heading); }
.router-card__text { grid-column: 2; font-size: var(--fs-sm); line-height: 1.45; color: var(--c-text-muted); }
.router-card__arrow { grid-row: 1 / span 2; grid-column: 3; color: var(--c-link); }
.router-card:hover { border-color: var(--c-brand); color: var(--c-text); }
.router-card:hover .router-card__title { color: var(--c-link); }

.callstrip {
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6);
	padding: clamp(1.4rem, 1rem + 1.6vw, 2.25rem) clamp(1.25rem, .8rem + 2.4vw, 2.75rem);
	background: var(--g-feature); border-radius: var(--r-xl); box-shadow: var(--sh-md);
}
.callstrip::after {
	content: ""; position: absolute; right: -3rem; bottom: -5rem; width: 14rem; height: 14rem; pointer-events: none;
	background: rgb(var(--rgb-night) / .16); -webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.callstrip__copy { position: relative; z-index: 1; max-width: 40rem; }
.callstrip__title { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1.1; color: var(--c-white); }
.callstrip__text { margin-top: .35rem; color: var(--c-on-brand-soft); }
.callstrip .btn { position: relative; z-index: 1; }

.phone-callout {
	display: grid; gap: var(--s-6); align-items: center;
	padding: clamp(1.5rem, 1rem + 3vw, 3rem); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--sh-md);
}
.phone-callout__main > * + * { margin-top: var(--s-4); }
.phone-callout__number {
	display: inline-flex; align-items: center; gap: .9rem; min-height: 44px; max-width: 100%;
	font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1; letter-spacing: .02em;
	color: var(--c-ink); text-decoration: none; white-space: nowrap;
}
.phone-callout__number .i { flex: none; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--c-amber); color: var(--c-on-amber); box-shadow: var(--sh-rim); stroke-width: 2.2; }
.phone-callout__number:hover { color: var(--c-brand-700); text-decoration: underline; text-decoration-color: var(--c-amber); text-decoration-thickness: 4px; }
.phone-callout__aside { padding: 1.5rem; border-radius: var(--r-lg); background: var(--c-night-900); }
.phone-callout__aside > * + * { margin-top: var(--s-3); }
.phone-callout__aside h3 { font-size: var(--fs-md); }
@media (min-width: 60em) { .phone-callout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
@media (max-width: 23em) { .phone-callout__number { font-size: 1.75rem; gap: .6rem; } .phone-callout__number .i { width: 2.2rem; height: 2.2rem; } }

/* =========================================================================
   24. Breadcrumbs, image credits, misc
   ========================================================================= */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; }
/* The separator belongs to the item BEFORE it (trailing chevron), so a wrapped trail starts line two with a
 * crumb, never with a dangling "›". */
.breadcrumbs li:not(:last-child)::after { content: ""; flex: none; width: .5rem; height: .5rem; background: currentColor; opacity: .7; -webkit-mask: var(--mask-chevron) center / contain no-repeat; mask: var(--mask-chevron) center / contain no-repeat; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-color: rgb(var(--rgb-brand) / .6); }
.breadcrumbs a:hover { color: var(--c-heading); }
.breadcrumbs [aria-current] { font-weight: 700; color: var(--c-heading); }
.image-credits { font-size: var(--fs-sm); color: var(--c-text-muted); }
.image-credits__title { font-size: var(--fs-lg); margin-bottom: .6rem; }
.image-credits__list { padding-left: 1.2rem; display: grid; gap: .35rem; }
.image-credits a { overflow-wrap: anywhere; }

/* =========================================================================
   25. Footer chrome: closing call band, footer, sticky call bar, to-top, 404
   ========================================================================= */
.closing-band { position: relative; overflow: hidden; isolation: isolate; background: var(--g-night), var(--c-night-950); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(5.5rem, 4rem + 5vw, 8rem); }
.closing-band__inner { display: grid; gap: var(--s-6); align-items: center; }
.closing-band__copy > * + * { margin-top: var(--s-4); }
.closing-band__title { font-size: var(--fs-2xl); max-width: 22ch; }
.closing-band__text { font-size: var(--fs-md); color: var(--c-on-night-soft); max-width: 50ch; }
.closing-band__action { display: grid; gap: var(--s-3); justify-items: start; }
.closing-band__note { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); font-weight: 700; color: var(--c-white); }
.closing-band__note .i { color: var(--c-amber); }
.closing-band__reassure { font-size: var(--fs-sm); color: var(--c-on-night-muted); max-width: 40ch; }
.closing-band__skyline { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: clamp(3.5rem, 2rem + 6vw, 7.5rem); color: var(--c-night-800); pointer-events: none; }
.closing-band__cog { position: absolute; right: 8%; bottom: clamp(1.4rem, 1rem + 2vw, 3.2rem); z-index: -1; width: clamp(2.5rem, 2rem + 2vw, 4rem); height: clamp(2.5rem, 2rem + 2vw, 4rem); color: var(--c-brand-700); pointer-events: none; }
@media (min-width: 60em) {
	.closing-band__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-8); }
	.closing-band__action { justify-items: center; text-align: center; }
	.closing-band__action .closing-band__note { justify-content: center; }
}

.site-footer { background: var(--c-night-800); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--s-6); font-size: var(--fs-sm); color: var(--c-on-night-muted); }
.site-footer__grid { display: grid; gap: var(--s-6) var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.site-footer__brand { grid-column: 1 / -1; max-width: 30rem; }
.site-footer__brand > * + * { margin-top: var(--s-3); }
.site-footer__brand .site-brand { margin: 0; }
.site-footer__contact { display: grid; gap: .25rem; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--c-white); font-weight: 700; text-decoration: none; font-size: var(--fs-base); }
.site-footer__contact a .i { color: var(--c-amber); }
.site-footer__contact a:hover { color: var(--c-amber); }
.site-footer__title { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-white); margin-bottom: .5rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
/* Constant block padding instead of a centred min-height: a one-line link is exactly 44 px tall, a wrapped link
 * gets the same air above and below, so the gap between neighbouring links is identical in every column. */
.site-footer__links a { display: flex; width: fit-content; max-width: 100%; align-items: center; min-height: 44px; padding-block: .7rem; line-height: 1.35; color: var(--c-on-night-soft); text-decoration: none; }
.site-footer__links a:hover, .site-footer__links a[aria-current="page"] { color: var(--c-white); text-decoration: underline; text-decoration-color: var(--c-amber); }
/* ticket row: the five Notfall-Situationen as small numbered tickets (echo of the Spielplan) */
.site-footer__row { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--c-night-line); }
.site-footer__row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s-5); margin-bottom: var(--s-3); }
.site-footer__row-head .site-footer__title { margin-bottom: 0; }
.site-footer__row-hub { font-size: var(--fs-sm); }
.foot-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); }
.foot-tickets > li { display: flex; min-width: 0; }
.foot-ticket {
	flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .45rem .8rem .45rem 0;
	background: var(--c-night-900); border: 1px solid var(--c-night-line); border-radius: var(--r-sm);
	color: var(--c-on-night-soft); font-weight: 600; line-height: 1.3; text-decoration: none;
}
.foot-ticket__no {
	flex: none; align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 3.25rem; padding: 0 .55rem; border-right: 2px dashed rgb(var(--rgb-white) / .2);
	font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--c-amber); font-variant-numeric: tabular-nums;
}
.foot-ticket__label { flex: 1; min-width: 0; overflow-wrap: break-word; }
.foot-ticket__go { width: 1.05rem; height: 1.05rem; color: var(--c-brand-sky); }
.foot-ticket:hover, .foot-ticket[aria-current="page"] { color: var(--c-white); border-color: rgb(var(--rgb-amber) / .6); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--c-night-line); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-on-night-soft); }
.site-footer__legal a:hover { color: var(--c-white); }
@media (min-width: 30em) and (max-width: 39.99em) {
	.foot-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-tickets > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 40em) and (max-width: 63.99em) {
	.foot-tickets { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.foot-tickets > li { grid-column: span 2; }
	.foot-tickets > li:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 64em) {
	.site-footer__grid { grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); }
	.site-footer__grid--3 { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); }
	.site-footer__grid--2 { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); }
	.site-footer__brand { grid-column: auto; }
	.foot-tickets { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.callbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
	padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
	background: rgb(var(--rgb-night) / .97); border-top: 1px solid rgb(var(--rgb-amber) / .35);
	box-shadow: 0 -10px 30px -10px rgb(var(--rgb-night) / .6); --c-focus: var(--c-amber);
}
.callbar .btn { width: 100%; min-height: 52px; font-size: var(--fs-md); }
@media (max-width: 29.99em) { .callbar .btn { font-size: var(--fs-base); padding-inline: 1em; gap: .5em; } }
/* The open menu panel carries its own call button + caption: the sticky bar (and the to-top button) step aside
 * while html.nav-open is set (theme.js setOpen). visibility also takes them out of the tab order. */
html.nav-open .callbar, html.nav-open .to-top { visibility: hidden; opacity: 0; pointer-events: none; }
body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 48em) {
	.callbar { display: none; }
	body { padding-bottom: 0; }
}

.to-top {
	position: fixed; right: var(--s-4); bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px)); z-index: var(--z-totop);
	display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
	background: var(--c-brand-700); color: var(--c-white); border: 2px solid rgb(var(--rgb-white) / .25); box-shadow: var(--sh-md);
	opacity: 0; visibility: hidden; transform: translateY(10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-brand-900); }
@media (min-width: 48em) { .to-top { bottom: var(--s-5); right: var(--s-5); } }

/* engine 404 fallback classes (inc/chrome.php renders the designed 404 normally) */
.band { padding-block: var(--section-y); }
.band--dark { background: var(--g-night), var(--c-night-900); }
.notfound .notfound__call { margin-top: var(--s-5); }
.notfound__links ul { margin-top: var(--s-5); }
.notfound__links a { color: var(--c-white); }

/* =========================================================================
   26. Motion (only when the visitor allows it)
   ========================================================================= */
@keyframes dsc-spin { to { transform: rotate(360deg); } }
@keyframes dsc-pulse { 0% { box-shadow: 0 0 0 0 rgb(var(--rgb-amber) / .6); } 70% { box-shadow: 0 0 0 .55rem rgb(var(--rgb-amber) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--rgb-amber) / 0); } }
@keyframes dsc-bulbs { to { background-position: 16px 50%; } }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	.btn, .link-arrow .i, .site-nav__link, .site-nav__sublink, .site-nav__toggle .i, .site-nav__sub, .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after,
	.svc-card, .svc-card__media > img, .router-card, .ticket, .ticket::before, .ticket__stub .i, .ticket__icon::before, .foot-ticket, .foot-ticket__go,
	.faq-item, .faq-item__q::after, .promise, .step, .to-top, .cog-badge::before, .site-header__inner, .site-brand__mark, .az-bar a {
		transition-duration: var(--dur); transition-timing-function: var(--ease);
		transition-property: transform, background-color, color, border-color, box-shadow, opacity, visibility, min-height, width, height, top;
	}
	.site-nav { transition: transform var(--dur) var(--ease), visibility var(--dur); }
	.btn:hover { transform: translateY(-2px); }
	.btn--call:hover { box-shadow: 0 0 0 1px rgb(var(--rgb-amber)), 0 0 0 7px rgb(var(--rgb-amber) / .2), 0 14px 30px -8px rgb(var(--rgb-amber) / .7); }
	.link-arrow:hover .i, .router-card:hover .router-card__arrow, .ticket:hover .ticket__stub .i, .foot-ticket:hover .foot-ticket__go { transform: translateX(4px); }
	.router-card__arrow { transition: transform var(--dur) var(--ease); }
	.svc-card:hover { transform: translateY(-6px); border-color: rgb(var(--rgb-amber) / .55); box-shadow: 0 24px 50px -20px rgb(var(--rgb-night) / .7); }
	.svc-card:hover .svc-card__media > img { transform: scale(1.04); }
	.router-card:hover, .promise:hover, .step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
	.ticket:hover { transform: translateY(-3px); }
	.ticket--feature:hover .ticket__icon::before { transform: rotate(45deg); }
	.steps--v .step:hover { transform: none; box-shadow: none; }
	.promise:hover .cog-badge::before, .router-card:hover .cog-badge::before { transform: rotate(45deg); }
	.cog-spin { animation: dsc-spin 60s linear infinite; }
	.site-brand:hover .site-brand__mark { animation: dsc-spin 6s linear infinite; }
	.hero__cog, .closing-band__cog { animation: dsc-spin 90s linear infinite; }
	.pulse-dot { animation: dsc-pulse 2.4s ease-out infinite; }
	.spielplan__marquee::before { animation: dsc-bulbs 1.6s steps(4) infinite; }
	.spielplan__marquee::after { animation: dsc-bulbs 1.6s steps(4) infinite reverse; }
	.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
	.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
}

/* =========================================================================
   27. Print
   ========================================================================= */
@media print {
	.topbar, .site-header, .callbar, .to-top, .closing-band__skyline, .site-nav, .toc { display: none; }
	body { background: var(--c-white); padding: 0; }
	.hero, .section--night, .closing-band, .site-footer { background: var(--c-white); --c-text: var(--c-text-base); --c-heading: var(--c-ink); --c-text-muted: var(--c-muted-base); }
}
