/* =================================================================================================
   VermietButler – haus.css
   Das Haus: zwei Wände (senkrechte Linien), Geschosse (waagerechte Linien), dazwischen die Inhalte.
   Tokens stehen in theme.json. Hier werden sie unter den Namen aus dem Design-System (--vb-*) bereitgestellt,
   damit auch Elementor-Seiten und eigenes CSS dieselben Werte nutzen.
   ================================================================================================= */

:root {
	--vb-schwarz: var(--wp--preset--color--schwarz, #0B0B0B);
	--vb-weiss: var(--wp--preset--color--weiss, #FFFFFF);
	--vb-offwhite: var(--wp--preset--color--offwhite, #F5F4F0);
	--vb-flaeche: var(--wp--preset--color--flaeche, #EDEBE5);
	--vb-linie-hell: var(--wp--preset--color--linie-hell, #D8D5CD);
	--vb-text-2: var(--wp--preset--color--text-2, #2A2926);
	--vb-text-3: var(--wp--preset--color--text-3, #55534E);
	--vb-text-3-dunkel: var(--wp--preset--color--text-3-dunkel, #A9A69E);
	--vb-gelb: var(--wp--preset--color--gelb, #F4B82F);
	--vb-gruen: var(--wp--preset--color--gruen, #2F8F5B);
	--vb-linie-weiss: rgba(255, 255, 255, 0.22);

	--vb-schrift: var(--wp--preset--font-family--manrope, Manrope, system-ui, sans-serif);

	--vb-linie: 1px solid var(--vb-schwarz);
	--vb-radius: 2px;
	--vb-radius-knopf: 3px;
	--vb-dauer: 240ms;

	/* Abstand der Hauswände vom Fensterrand und Innenabstand der Geschosse */
	--vb-wand: 80px;
	--vb-innen-x: 64px;
	--vb-innen-oben: 88px;
	--vb-innen-unten: 88px;
}

@media (max-width: 1024px) {
	:root {
		--vb-wand: 24px;
		--vb-innen-x: 40px;
		--vb-innen-oben: 72px;
		--vb-innen-unten: 72px;
	}
}

@media (max-width: 640px) {
	:root {
		--vb-wand: 16px;
		--vb-innen-x: 20px;
		--vb-innen-oben: 56px;
		--vb-innen-unten: 56px;
		/* Mobil: Hero 52 px, H2 36 px (Design-System) */
		--wp--preset--font-size--hero: 52px;
		--wp--preset--font-size--titel: 36px;
		--wp--preset--font-size--band: 30px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Grundlage
   ------------------------------------------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--vb-offwhite);
	color: var(--vb-text-2);
	font-family: var(--vb-schrift);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

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

img,
svg {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--vb-schwarz);
	margin: 0;
}

p {
	margin: 0;
}

[id] {
	scroll-margin-top: 24px;
}

/* Links: unterstrichen, dezent. Überfahren macht die Linie kräftiger, nicht bunter. */
a {
	color: var(--vb-schwarz);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: text-decoration-thickness var(--vb-dauer) ease;
}

a:hover {
	color: var(--vb-schwarz);
	text-decoration-thickness: 2px;
}

/* Fokus: immer sichtbar bei Tastaturbedienung, nie bei Mausklick. */
:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--vb-schwarz);
	outline-offset: 3px;
}

.vb-dunkel :focus-visible,
.is-style-dunkel :focus-visible,
.vb-fuss :focus-visible {
	outline-color: var(--vb-weiss);
}

/* Sprunglink: erst sichtbar, wenn er den Fokus hat. */
.vb-sprung {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--vb-schwarz);
	color: var(--vb-weiss);
	border-radius: var(--vb-radius-knopf);
	font-weight: 600;
	text-decoration: none;
}

.vb-sprung:focus {
	top: 16px;
	color: var(--vb-weiss);
}

/* -------------------------------------------------------------------------------------------------
   Das Haus: Wände
   Die Wände sind die Ränder dieses Kastens. Er läuft vom Kopf bis an den Fuß.
   Breite über calc(100% …), nicht vw: vw zählt die Scrollleiste mit.
   ------------------------------------------------------------------------------------------------- */

.vb-haus {
	position: relative;
	width: calc(100% - 2 * var(--vb-wand));
	max-width: 1280px;
	margin-inline: auto;
	border-inline: var(--vb-linie);
	min-height: 60vh;
}

.vb-main {
	display: block;
}

/* -------------------------------------------------------------------------------------------------
   Geschosse
   Jede Section ist ein Geschoss, getrennt durch eine Linie über die volle Innenbreite.
   ------------------------------------------------------------------------------------------------- */

.vb-geschoss,
.wp-block-group.is-style-geschoss {
	border-top: var(--vb-linie);
	padding: var(--vb-innen-oben) var(--vb-innen-x) var(--vb-innen-unten);
	margin: 0;
}

/* Kopf und Fuß bekommen von WordPress „is-layout-flow“ und damit Abstände zwischen den Kindern.
   Die Abstände regeln hier flex/gap, nicht die Blocklücke. */
.vb-kopf > *,
.vb-kopf__rechts > *,
.vb-fuss > *,
.vb-fuss__innen > * {
	margin-block: 0;
}

/* Geschosse stehen direkt übereinander; keine Blocklücke dazwischen. */
.vb-main > * + * {
	margin-block-start: 0;
}

/* -------------------------------------------------------------------------------------------------
   Kopf (Grundstand T1; Menü-Knopf und Hochhaus-Menü folgen in T2)
   ------------------------------------------------------------------------------------------------- */

.vb-kopf {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 120px;
	padding: 0 48px 0 0;
	margin: 0;
}

/* Logo mit Abstand zur Wand (Wunsch des Auftraggebers 01.10.2026): Die erste Logo-Linie steht über der
   Textkante der Geschosse (--vb-innen-x: Desktop 64 px, Tablet 40 px). Das SVG beginnt 24 von 248 Einheiten
   vor der ersten Linie, bei 60 px Höhe sind das knapp 6 px. */
.vb-kopf__logo {
	display: block;
	margin-left: calc(var(--vb-innen-x) - 6px);
	line-height: 0;
}

.vb-kopf__logo img,
.vb-kopf__logo svg {
	display: block;
	width: auto;
	height: 60px;
}

.vb-kopf__rechts {
	display: flex;
	align-items: center;
	gap: 28px;
}

.vb-kopf__login a {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
}

.vb-kopf__login a:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.vb-kopf {
		height: 88px;
		padding-right: 12px;
	}

	/* Am Handy (Wunsch des Auftraggebers 30.09.2026): Logo größer (56 statt 44 px) und mit Abstand zur
	   Wand – seine erste Linie steht über der Textkante der Geschosse (Innenabstand 20 px).
	   Versatz der ersten Logo-Linie im SVG: 24/248 × 56 px ≈ 5,4 px. */
	.vb-kopf__logo {
		margin-left: calc(var(--vb-innen-x) - 5px);
	}

	.vb-kopf__logo img,
	.vb-kopf__logo svg {
		height: 56px;
	}

	.vb-kopf__rechts {
		gap: 16px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Logo „Rohbau“ (nur beim ersten Besuch; Klasse setzt includes/logo.php früh im Kopf)
   Wände wachsen von unten, Fenster gehen an, die Tür wächst von der Schwelle. Startzeiten stehen
   als animation-delay an den Teilen.
   ------------------------------------------------------------------------------------------------- */

.vb-logo-bauen .vb-logo__wand {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: vb-logo-wand 650ms cubic-bezier(0.3, 0, 0.2, 1) both;
}

.vb-logo-bauen .vb-logo__licht {
	animation: vb-logo-licht 420ms ease both;
}

.vb-logo-bauen .vb-logo__tuer {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: vb-logo-tuer 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes vb-logo-wand {
	from {
		transform: scaleY(0);
	}
}

@keyframes vb-logo-licht {
	from {
		opacity: 0;
	}
}

@keyframes vb-logo-tuer {
	from {
		transform: scaleY(0);
	}
}

/* Aufzugtür bei jedem Seitenaufruf (Wunsch des Auftraggebers 30.09.2026): Die Seite
   startet hinter zwei schwarzen Türflügeln, die nach 0,25 s in 0,8 s auseinandergleiten. Rein CSS
   (Pseudo-Elemente am body), gesetzt über die Klasse „vb-intro“ aus dem Kopf-Skript; ohne JavaScript
   gibt es keine Tür. Fängt keine Klicks ab und endet von selbst in der offenen Lage. */
.vb-intro body::before,
.vb-intro body::after {
	content: "";
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 100000;
	width: 50.5%;
	background: var(--vb-schwarz);
	pointer-events: none;
	animation: 800ms cubic-bezier(0.6, 0, 0.3, 1) 250ms both;
}

.vb-intro body::before {
	left: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
	animation-name: vb-intro-links;
}

.vb-intro body::after {
	right: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
	animation-name: vb-intro-rechts;
}

@keyframes vb-intro-links {
	to {
		transform: translateX(-101%);
	}
}

@keyframes vb-intro-rechts {
	to {
		transform: translateX(101%);
	}
}

/* Während der Tür ist das Logo noch „unbebaut“ und die Punkte sind aus – sonst stünde es kurz fertig da. */
.vb-intro:not(.vb-logo-bauen) .vb-logo__wand,
.vb-intro:not(.vb-logo-bauen) .vb-logo__tuer {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	transform: scaleY(0);
}

.vb-intro:not(.vb-logo-bauen) .vb-logo__licht {
	opacity: 0;
}

.vb-intro:not(.vb-punkte-an) .vb-hero-titel mark {
	-webkit-text-fill-color: #D8D5CD;
}

/* Die gelben Punkte der Hero-Überschrift gehen nach dem Logo nacheinander an: hellgrau → kurz hell →
   gelb. Animiert wird die Schrift-Füllfarbe: Die Textfarbe setzt WordPress per !important
   (.has-gelb-color), dagegen käme eine Farbanimation nicht an. Danach gilt wieder das Gelb. */
.vb-punkte-an .vb-hero-titel mark {
	animation: vb-punkt-an 520ms ease-out both;
}

.vb-punkte-an .vb-hero-titel mark:nth-of-type(1) {
	animation-delay: 2750ms;
}

.vb-punkte-an .vb-hero-titel mark:nth-of-type(2) {
	animation-delay: 3100ms;
}

@keyframes vb-punkt-an {
	0% {
		-webkit-text-fill-color: #D8D5CD;
	}

	35% {
		-webkit-text-fill-color: #FFE7A3;
	}

	100% {
		-webkit-text-fill-color: #F4B82F;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vb-logo-bauen .vb-logo__wand,
	.vb-logo-bauen .vb-logo__licht,
	.vb-logo-bauen .vb-logo__tuer,
	.vb-punkte-an .vb-hero-titel mark {
		animation: none;
	}
}

/* -------------------------------------------------------------------------------------------------
   Nur für Vorlesewerkzeuge sichtbar
   ------------------------------------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	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;
}

/* -------------------------------------------------------------------------------------------------
   Hochhaus-Menü (T2)
   Knopf im Kopf → von rechts fährt ein schwarzes Panel herein, dahinter eine Abdunklung (35 %).
   Fünf Geschosse mit Fenster; beim Überfahren/Fokus „geht das Licht an“ (helle Zeichnung, 240 ms).
   ------------------------------------------------------------------------------------------------- */

.vb-menue-knopf {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 7px;
	padding: 0;
	border: var(--vb-linie);
	border-radius: var(--vb-radius);
	background: var(--vb-offwhite);
	cursor: pointer;
	transition: background-color var(--vb-dauer) ease;
}

.vb-menue-knopf:hover {
	background: var(--vb-weiss);
}

.vb-menue-knopf__strich {
	position: relative;
	display: block;
	width: 24px;
	height: 1.5px;
	transition: transform 280ms cubic-bezier(0.6, 0, 0.3, 1);
}

/* Jeder Strich besteht aus zwei Hälften – Türflügel (Wunsch 01.10.2026): beim Überfahren gehen sie einen
   Spalt auf, beim Öffnen des Menüs schließen sie sich und die Striche drehen sich zum X. */
.vb-menue-knopf__strich::before,
.vb-menue-knopf__strich::after {
	content: "";
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	background: var(--vb-schwarz);
	transition: transform 260ms cubic-bezier(0.6, 0, 0.3, 1);
}

.vb-menue-knopf__strich::before {
	left: 0;
}

.vb-menue-knopf__strich::after {
	right: 0;
}

/* Nur mit Maus: Touch-Geräte halten :hover nach dem Tippen fest, der Knopf bliebe sonst „offen“. */
@media (hover: hover) {
	.vb-menue-knopf:hover .vb-menue-knopf__strich::before {
		transform: translateX(-4px);
	}

	.vb-menue-knopf:hover .vb-menue-knopf__strich::after {
		transform: translateX(4px);
	}
}

.vb-menue-knopf[aria-expanded="true"] .vb-menue-knopf__strich::before,
.vb-menue-knopf[aria-expanded="true"] .vb-menue-knopf__strich::after {
	transform: none;
}

.vb-menue-knopf[aria-expanded="true"] .vb-menue-knopf__strich:nth-child(2) {
	transform: translateY(4.25px) rotate(45deg);
	transition-delay: 120ms;
}

.vb-menue-knopf[aria-expanded="true"] .vb-menue-knopf__strich:last-child {
	transform: translateY(-4.25px) rotate(-45deg);
	transition-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
	.vb-menue-knopf__strich,
	.vb-menue-knopf__strich::before,
	.vb-menue-knopf__strich::after {
		transition: none;
	}
}

/* Schwebender Menü-Knopf: fest oben rechts, sobald der Kopf weggescrollt ist. Rechte Kante wie im
   Kopf: Hauswand + 1 px Linie + 48 px Innenabstand (Handy: 12 px). */
.vb-knopf-schwebt .vb-menue-knopf {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
	right: calc(max(var(--vb-wand), (100% - 1280px) / 2) + 49px);
	z-index: 9000;
	animation: vb-knopf-rein 240ms ease;
}

@keyframes vb-knopf-rein {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

/* Handy (Wunsch des Auftraggebers 30.09.2026): Ist der Kopf weggescrollt, fährt der Knopf wie ein
   Aufzug nach unten – dort erreicht ihn der Daumen. Unten 56 px groß, über dem iPhone-Balken. */
@media (max-width: 640px) {
	.vb-knopf-schwebt .vb-menue-knopf {
		top: auto;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
		right: calc(var(--vb-wand) + 13px);
		width: 56px;
		height: 56px;
		box-shadow: 0 0 0 4px var(--vb-offwhite);
		/* Wunsch 30.09.2026: deutlich langsamer, sanft anfahren, lange auslaufen wie ein Aufzug */
		animation: vb-knopf-abwaerts 2400ms cubic-bezier(0.45, 0, 0.15, 1);
	}

	/* Platz unter dem Fuß, damit der Knopf die letzte Zeile nicht verdeckt */
	.wp-block-group.vb-fuss {
		padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
	}
}

/* Beim Hochfahren sitzt der Knopf schon wieder im Kopf und wird per Animation vom unteren Ort
   dorthin bewegt – er muss dabei über dem Seiteninhalt liegen. */
.vb-knopf-hochfahrt .vb-menue-knopf {
	position: relative;
	z-index: 9000;
}

/* Stockwerksanzeige während der Fahrt des Knopfs (Handy, Gag). Seil und Schacht sind ausgeblendet.
   Lage und Seillänge setzt view.js je Bild; hier nur das Aussehen. */
.vb-knopf-schacht {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0;
	z-index: 8999;
	display: none;
	pointer-events: none;
	opacity: 1;
	transition: opacity 500ms ease;
}

.vb-knopf-faehrt .vb-knopf-schacht,
.vb-knopf-angekommen .vb-knopf-schacht {
	display: block;
}

.vb-knopf-ausblenden .vb-knopf-schacht {
	opacity: 0;
}

/* Seil und Schachtlinien: auf Wunsch wieder weg („zu viel“) – nur die Anzeige fährt mit. */
.vb-knopf-schacht__seil {
	display: none;
	position: absolute;
	top: 0;
	left: 50%;
	width: 5px;
	height: 0;
	transform: translateX(-50%);
	border-left: 1.5px solid var(--vb-schwarz);
	border-right: 1.5px solid var(--vb-schwarz);
}

.vb-knopf-schacht__anzeige {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 48px;
	height: 26px;
	padding: 0 8px;
	background: var(--vb-schwarz);
	border: 1.5px solid var(--vb-offwhite);
	border-radius: 2px;
	color: var(--vb-offwhite);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 0 0 2px var(--vb-schwarz);
}

.vb-knopf-schacht__richtung {
	font-size: 10px;
	color: var(--vb-gelb);
}

.vb-knopf-angekommen .vb-knopf-schacht__richtung {
	display: none;
}

@keyframes vb-knopf-abwaerts {
	from {
		transform: translateY(calc(-100vh + 88px));
	}

	to {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vb-knopf-schwebt .vb-menue-knopf {
		animation: none;
	}
}

/* Auf schwarzem Grund (Band, Fuß) bleibt der Knopf hell mit schwarzer Linie – gut sichtbar. */

/* Seite dahinter scrollt nicht; die Breite der Scrollleiste wird ausgeglichen. */
html.vb-menue-offen {
	overflow: hidden;
}

html.vb-menue-offen body {
	padding-right: var(--vb-scrollleiste, 0px);
}

.vb-menue-abdunklung {
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: var(--vb-schwarz);
	opacity: 0;
	pointer-events: none;
	transition: opacity 260ms ease;
}

.vb-menue-offen .vb-menue-abdunklung {
	opacity: 0.35;
	pointer-events: auto;
}

/* Menü im Vollbild (Wunsch des Auftraggebers 01.10.2026). Der Inhalt steht im Haus: gleiche Breite und
   Wände wie die Seite, damit Logo und Schließen-Knopf dort sitzen, wo Logo und Menü-Knopf im Kopf stehen. */
.vb-menue {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99991;
	display: flex;
	flex-direction: column;
	padding-inline: max(var(--vb-wand), (100% - 1280px) / 2);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--vb-schwarz);
	color: var(--vb-weiss);
	visibility: hidden;
}

.vb-menue > * {
	border-inline: 1px solid var(--vb-linie-weiss);
}

/* Sichtbar, sobald die Türen geschlossen sind; beim Schließen weg, bevor sie wieder aufgehen (view.js). */
.vb-menue-offen .vb-menue {
	visibility: visible;
}

/* Aufzugtür über den ganzen Bildschirm: Flügel gleiten zu (vb-menue-tueren-zu), dann wieder auf. */
.vb-menue-tueren {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99992;
	overflow: hidden;
	pointer-events: none;
	visibility: hidden;
}

.vb-menue-tueren-aktiv .vb-menue-tueren {
	visibility: visible;
	pointer-events: auto;
}

.vb-menue-tueren__links,
.vb-menue-tueren__rechts {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50.2%;
	background: var(--vb-flaeche);
	transition: transform 560ms cubic-bezier(0.6, 0, 0.3, 1);
}

.vb-menue-tueren__links {
	left: 0;
	border-right: 1px solid var(--vb-schwarz);
	transform: translateX(-101%);
}

.vb-menue-tueren__rechts {
	right: 0;
	border-left: 1px solid var(--vb-schwarz);
	transform: translateX(101%);
}

.vb-menue-tueren-zu .vb-menue-tueren__links,
.vb-menue-tueren-zu .vb-menue-tueren__rechts {
	transform: translateX(0);
}

/* Stockwerksanzeige auf der Fuge, nur solange die Türen zu sind */
.vb-menue-tueren__anzeige {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 30px;
	padding: 0 10px;
	background: var(--vb-schwarz);
	border-radius: 2px;
	color: var(--vb-gelb);
	font-size: 14px;
	line-height: 1;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity 160ms ease;
}

.vb-menue-tueren-zu .vb-menue-tueren__anzeige {
	opacity: 1;
	transition-delay: 420ms;
}

/* Der Menü-Knopf bleibt während der Türfahrt sichtbar (er wird zum X bzw. zurück zu den Strichen). */
.vb-menue-tueren-aktiv .vb-menue-knopf {
	position: relative;
	z-index: 99993;
}

.vb-menue-tueren-aktiv.vb-knopf-schwebt .vb-menue-knopf {
	position: fixed;
}

@media (prefers-reduced-motion: reduce) {
	.vb-menue-tueren {
		display: none;
	}
}

.vb-menue :focus-visible {
	outline-color: var(--vb-weiss);
}

.vb-menue__kopf {
	height: 120px;
	flex-shrink: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 48px 0 0;
	border-bottom: 1px solid var(--vb-linie-weiss);
}

/* Negativ-Logo im Vollbild-Menü: erste Logo-Linie auf der linken Schachtlinie (.vb-menue__haus::before,
   32 px; Handy 14 px). Das SVG beginnt 6 px vor der ersten Linie. Wunsch des Auftraggebers 01.10.2026. */
.vb-menue__logo {
	display: block;
	margin-left: calc(32px - 6px);
	line-height: 0;
}

.vb-menue__logo img {
	display: block;
	width: auto;
	height: 60px;
}

.vb-menue__zu {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--vb-radius);
	background: var(--vb-schwarz);
	color: var(--vb-weiss);
	cursor: pointer;
	transition: border-color var(--vb-dauer) ease;
}

.vb-menue__zu:hover {
	border-color: var(--vb-weiss);
}

.vb-menue__geschosse {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vb-geschoss-link {
	height: 128px;
	display: grid;
	grid-template-columns: 84px 1fr 40px;
	align-items: center;
	gap: 28px;
	padding: 0 40px;
	border-bottom: 1px solid var(--vb-linie-weiss);
	color: var(--vb-weiss);
	text-decoration: none;
}

.vb-geschoss-link:hover {
	color: var(--vb-weiss);
	text-decoration: none;
}

/* Fokusring innen, damit ihn die Panelkante nicht abschneidet */
.vb-geschoss-link:focus-visible {
	outline: 2px solid var(--vb-weiss);
	outline-offset: -6px;
}

.vb-fenster {
	position: relative;
	width: 84px;
	height: 104px;
	overflow: hidden;
	outline: 1px solid rgba(255, 255, 255, 0.45);
	transition: outline-color var(--vb-dauer) ease;
}

.vb-fenster svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.vb-fenster__hell {
	opacity: 0;
	transition: opacity var(--vb-dauer) ease;
}

.vb-geschoss-link:hover .vb-fenster,
.vb-geschoss-link:focus-visible .vb-fenster {
	outline-color: var(--vb-offwhite);
}

.vb-geschoss-link:hover .vb-fenster__hell,
.vb-geschoss-link:focus-visible .vb-fenster__hell {
	opacity: 1;
}

.vb-geschoss-link__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.vb-geschoss-link__nr {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	color: var(--vb-text-3-dunkel);
}

.vb-geschoss-link__titel {
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vb-geschoss-link__unter {
	font-size: 14px;
	color: var(--vb-text-3-dunkel);
}

.vb-pfeil {
	display: block;
	flex-shrink: 0;
	width: 22px;
	height: 14px;
	transition: transform var(--vb-dauer) ease;
}

.vb-geschoss-link:hover .vb-pfeil,
.vb-geschoss-link:focus-visible .vb-pfeil {
	transform: translateX(4px);
}

/* Aufzug (Wünsche des Auftraggebers 30.09.2026): Die Fensterspalte ist der Schacht. Jedes Fenster hat
   zwei Türflügel; die Kabine (heller Rahmen) fährt zum Geschoss unter der Maus bzw. im Fokus, dort
   gehen die Türen auf und geben den hellen Flur frei. Am Handy fährt sie beim Öffnen einmal ganz hoch.
   Fahrt und Türen steuert view.js; hier steht nur das Aussehen. */
.vb-menue__haus {
	position: relative;
}

/* Die zwei Führungslinien des Schachts, über alle Geschosse */
.vb-menue__haus::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(40px - 8px);
	width: calc(84px + 16px);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

.vb-fenster .vb-fenster__hell {
	opacity: 0;
	transition: opacity 260ms ease;
}

.vb-tuerfluegel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	background: var(--vb-schwarz);
	transition: transform 600ms cubic-bezier(0.6, 0, 0.3, 1);
}

.vb-tuerfluegel--links {
	left: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.vb-tuerfluegel--rechts {
	right: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}

/* Angekommen: Türen auf, Licht an */
.vb-menue__geschosse li.ist-offen .vb-tuerfluegel--links {
	transform: translateX(-101%);
}

.vb-menue__geschosse li.ist-offen .vb-tuerfluegel--rechts {
	transform: translateX(101%);
}

.vb-menue__geschosse li.ist-offen .vb-fenster__hell {
	opacity: 1;
}

.vb-menue__geschosse li.ist-offen .vb-fenster {
	outline-color: var(--vb-offwhite);
}

/* Das Licht hängt jetzt an der offenen Tür, nicht mehr am Überfahren */
.vb-geschoss-link:hover .vb-fenster__hell,
.vb-geschoss-link:focus-visible .vb-fenster__hell {
	opacity: 0;
}

.vb-menue__geschosse li.ist-offen .vb-geschoss-link .vb-fenster__hell {
	opacity: 1;
}

.vb-kabine {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border: 2px solid var(--vb-offwhite);
	pointer-events: none;
	opacity: 0;
	transform: translateY(0);
	transition: transform var(--vb-fahrt, 0ms) cubic-bezier(0.45, 0, 0.2, 1), opacity 200ms ease;
}

/* Stockwerksanzeige oben auf der Kabine: Geschoss („EG“, „1“, „2“ …) und Fahrtrichtung, zählt mit */
.vb-kabine__anzeige {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 48px;
	height: 26px;
	padding: 0 8px;
	background: var(--vb-schwarz);
	border: 1.5px solid var(--vb-offwhite);
	border-radius: 2px;
	color: var(--vb-offwhite);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.vb-kabine__richtung {
	font-size: 10px;
	color: var(--vb-gelb);
}

@media (max-width: 640px) {
	.vb-kabine__anzeige {
		top: -13px;
		min-width: 42px;
		height: 22px;
		font-size: 13px;
	}
}

.vb-kabine__richtung:empty {
	display: none;
}

.vb-menue.hat-kabine .vb-kabine {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.vb-tuerfluegel,
	.vb-kabine {
		transition: none;
	}
}

@media (max-width: 640px) {
	.vb-menue__haus::before {
		left: calc(20px - 6px);
		width: calc(58px + 12px);
	}
}

/* Erdgeschoss: LOGIN und die gelbe Tür, unten im Panel */
.vb-menue__erdgeschoss {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px 40px 28px;
	position: relative;
}

/* Laterne über LOGIN und KOSTENLOS STARTEN (Wunsch 01.10.2026, „nicht im Dunkeln stehen“): dieselbe Laterne wie
   überall, an der rechten Panelwand; der Kegel liegt hinter den Knöpfen. tools/menue_knopf_laterne.py */
.vb-menue__erdgeschoss::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 28px;
	width: 300px;
	height: 240px;
	background: url("../bilder/menue-laterne-knoepfe.svg") no-repeat right bottom / contain;
	pointer-events: none;
}

.vb-menue__erdgeschoss > * {
	position: relative;
	z-index: 1;
}

.vb-menue__login,
.vb-menue__tuer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-decoration: none;
}

.vb-menue__login {
	height: 64px;
	/* Pfeil senkrecht über dem Pfeil der gelben Tür (gleicher Innenabstand rechts, Wunsch 01.10.2026) */
	padding-right: 24px;
	color: var(--vb-weiss);
	font-weight: 600;
}

.vb-menue__login:hover {
	color: var(--vb-weiss);
	text-decoration: underline;
}

.vb-menue__tuer {
	height: 64px;
	padding: 0 24px;
	background: var(--vb-gelb);
	color: var(--vb-schwarz);
	border-radius: var(--vb-radius);
	font-weight: 700;
}

.vb-menue__tuer:hover {
	color: var(--vb-schwarz);
	box-shadow: inset 0 0 0 1px var(--vb-weiss);
}

.vb-menue .vb-menue__tuer:focus-visible {
	outline-color: var(--vb-gelb);
}

@media (max-width: 640px) {
	.vb-menue-knopf {
		width: 48px;
		height: 48px;
	}

	.vb-menue {
		padding-inline: 0;
		border-left: 1px solid var(--vb-linie-weiss);
		border-right: 1px solid var(--vb-linie-weiss);
	}

	.vb-menue > * {
		border-inline: 0;
	}

	.vb-menue__kopf {
		height: 88px;
		padding: 0 20px;
	}

	.vb-menue__logo {
		margin-left: calc(14px - 20px - 6px); /* Kopf hat hier 20 px Innenabstand */
	}

	.vb-menue__logo {
		display: block;
	}

	.vb-menue__zu {
		width: 48px;
		height: 48px;
	}

	.vb-menue__zu svg {
		width: 18px;
		height: 18px;
	}

	.vb-geschoss-link {
		height: 104px;
		grid-template-columns: 58px 1fr 24px;
		gap: 18px;
		padding: 0 20px;
	}

	.vb-fenster {
		width: 58px;
		height: 72px;
	}

	.vb-geschoss-link__text {
		gap: 4px;
	}

	.vb-geschoss-link__nr {
		font-size: 11px;
	}

	.vb-geschoss-link__titel {
		font-size: 20px;
	}

	.vb-geschoss-link__unter {
		font-size: 13px;
	}

	.vb-pfeil {
		width: 20px;
	}

	.vb-menue__erdgeschoss {
		padding: 20px 20px 28px;
	}

	.vb-menue__erdgeschoss::before {
		width: 225px;
		height: 180px;
	}

	.vb-menue__login {
		height: 56px;
		padding-right: 20px;
		font-size: 13px;
	}

	.vb-menue__tuer {
		height: 60px;
		padding: 0 20px;
		font-size: 13px;
	}
}

/* Sehr schmale Handys (320 px): Logo etwas kleiner, damit es LOGIN nicht berührt */
@media (max-width: 359px) {
	.vb-kopf__logo {
		margin-left: calc(var(--vb-innen-x) - 4px);
	}

	.vb-kopf__logo img,
	.vb-kopf__logo svg {
		height: 44px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Typografie
   ------------------------------------------------------------------------------------------------- */

.vb-hero-titel,
.has-hero-font-size {
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

h2,
.vb-h2 {
	font-size: var(--wp--preset--font-size--titel);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

h3,
.vb-h3 {
	font-size: var(--wp--preset--font-size--kartentitel);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}

.vb-eyebrow,
p.is-style-eyebrow {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--vb-text-3);
}

.vb-lead,
p.is-style-lead {
	font-size: 19px;
	line-height: 1.55;
	color: var(--vb-text-2);
	max-width: 540px;
}

.vb-nebentext {
	font-size: 15px;
	line-height: 1.5;
	color: var(--vb-text-3);
}

@media (max-width: 640px) {
	.vb-lead,
	p.is-style-lead {
		font-size: 18px;
	}
}

/* Standardseite: Titel und Inhalt */
.vb-seite__titel {
	font-size: var(--wp--preset--font-size--titel);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 40px;
}

.vb-inhalt {
	max-width: 760px;
	font-size: 16px;
	line-height: 1.55;
}

.vb-inhalt > * + * {
	margin-block-start: 1em;
}

.vb-inhalt h2 {
	font-size: 32px;
	margin-block-start: 1.6em;
}

.vb-inhalt h3 {
	margin-block-start: 1.4em;
}

/* -------------------------------------------------------------------------------------------------
   Knöpfe
   Primär: schwarz. Sekundär: Linie. Tür: gelb – nur „Kostenlos starten“ im Menü-Erdgeschoss und in
   der letzten Section. Der Pfeil „→“ steht als Text im Knopf (im Editor änderbar).
   ------------------------------------------------------------------------------------------------- */

.wp-block-button__link,
.wp-element-button,
.vb-knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 18px 28px;
	border: 0;
	border-radius: var(--vb-radius-knopf);
	background: var(--vb-schwarz);
	color: var(--vb-weiss);
	font-family: var(--vb-schrift);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--vb-dauer) ease, color var(--vb-dauer) ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
.vb-knopf:hover {
	background: var(--vb-text-2);
	color: var(--vb-weiss);
	text-decoration: none;
}

/* Sekundär: 1 px Linie; Polster um die Linie kleiner, damit beide Knöpfe gleich groß sind. */
.wp-block-button.is-style-sekundaer .wp-block-button__link,
.vb-knopf--sekundaer {
	padding: 17px 27px;
	border: var(--vb-linie);
	background: transparent;
	color: var(--vb-schwarz);
}

.wp-block-button.is-style-sekundaer .wp-block-button__link:hover,
.vb-knopf--sekundaer:hover {
	background: var(--vb-weiss);
	color: var(--vb-schwarz);
}

/* Tür: der einzige gelbe Knopf. */
.wp-block-button.is-style-tuer .wp-block-button__link,
.vb-knopf--tuer {
	background: var(--vb-gelb);
	color: var(--vb-schwarz);
	font-weight: 700;
}

.wp-block-button.is-style-tuer .wp-block-button__link:hover,
.vb-knopf--tuer:hover {
	background: var(--vb-gelb);
	color: var(--vb-schwarz);
	box-shadow: inset 0 0 0 1px var(--vb-schwarz);
}

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

/* Knöpfe auf dunklem Grund */
.vb-dunkel .wp-block-button:not(.is-style-tuer) .wp-block-button__link,
.is-style-dunkel .wp-block-button:not(.is-style-tuer) .wp-block-button__link {
	background: var(--vb-weiss);
	color: var(--vb-schwarz);
}

/* -------------------------------------------------------------------------------------------------
   Flächen und Karten
   ------------------------------------------------------------------------------------------------- */

.vb-flaeche,
.wp-block-group.is-style-flaeche {
	background: var(--vb-flaeche);
}

.vb-karte,
.wp-block-group.is-style-karte {
	background: var(--vb-weiss);
	border: var(--vb-linie);
	padding: 28px;
}

.vb-dunkel,
.wp-block-group.is-style-dunkel {
	background: var(--vb-schwarz);
	color: var(--vb-weiss);
}

.vb-dunkel :where(h1, h2, h3, h4, p, a),
.wp-block-group.is-style-dunkel :where(h1, h2, h3, h4, p, a) {
	color: var(--vb-weiss);
}

.vb-dunkel .vb-eyebrow,
.is-style-dunkel p.is-style-eyebrow {
	color: var(--vb-text-3-dunkel);
}

/* „Licht an“: ein Feld wird beim Überfahren weiß. */
.vb-licht {
	transition: background-color var(--vb-dauer) ease;
}

.vb-licht:hover,
.vb-licht:focus-within {
	background: var(--vb-weiss);
}

/* Butler-Tipp mit gelbem Randstrich */
.vb-tipp,
p.is-style-tipp {
	padding: 14px 16px;
	background: var(--vb-offwhite);
	border-left: 2px solid var(--vb-gelb);
	font-size: 14px;
	line-height: 1.5;
	color: var(--vb-text-3);
}

/* Liste mit feinen Linien (z. B. drei Punkte beim Mietvertrag) */
.vb-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: var(--vb-linie);
	max-width: 480px;
}

.vb-liste li {
	padding: 14px 0;
	border-bottom: 1px solid var(--vb-linie-hell);
	font-size: 16px;
}

/* Status „erledigt/eingegangen“ – der einzige Ort für Grün */
.vb-status--erledigt {
	color: var(--vb-gruen);
	font-weight: 600;
}

/* Marker: kleines gelbes Quadrat (aktiver Schritt) */
.vb-marker {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--vb-gelb);
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------------------------------
   Formularfelder
   ------------------------------------------------------------------------------------------------- */

.vb-feld {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--vb-text-3);
}

.vb-feld input,
input.vb-eingabe {
	height: 52px;
	padding: 0 16px;
	border: var(--vb-linie);
	border-radius: var(--vb-radius);
	background: var(--vb-weiss);
	color: var(--vb-schwarz);
	font-family: var(--vb-schrift);
	font-size: 18px;
}

/* -------------------------------------------------------------------------------------------------
   Fuß = Untergeschoss im Schnitt (Wunsch des Auftraggebers 01.10.2026): Höhenmarke ±0,00 an der Oberkante (dort
   steht die gelbe Tür), Spruch, vier Kellerabteile mit Schild „▼ UG·0x“ und Links, unten das Fundament mit
   Betonschraffur (assets/bilder/fuss-beton.svg) und Marke −2,80, darin das Typenschild. Liegt außerhalb der Wände
   und geht über die volle Breite; innen fluchtet er mit den Wänden. Platzhalter-Links sind blasser.
   ------------------------------------------------------------------------------------------------- */

.vb-fuss {
	--vb-keller: #191919; /* Kellerraum; die Erde drumherum und das Fundament bleiben schwarz (Wunsch 01.10.2026) */
	margin: 0;
	/* Erde links und rechts vom Keller: ganz dezente Körner und Steinchen in Gruppen (fuss-erde.svg) */
	background: var(--vb-schwarz) url("../bilder/fuss-erde.svg") repeat;
	color: var(--vb-weiss);
	padding: 0;
}

.vb-fuss__innen {
	position: relative;
	width: calc(100% - 2 * var(--vb-wand));
	max-width: 1280px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	border-inline: 1px solid var(--vb-linie-weiss);
}

/* Höhenkoten wie im Schnitt: Dreieck auf der Linie, Zahl daneben */
.vb-fuss__kote {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	font-variant-numeric: tabular-nums;
	color: var(--vb-text-3-dunkel);
}

.vb-fuss__kote::before {
	content: "";
	width: 12px;
	height: 8px;
	background: var(--vb-text-3-dunkel);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.vb-fuss__kote--oben {
	position: absolute;
	top: 14px;
	right: 20px;
}

.vb-fuss__kopf {
	background: var(--vb-keller);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
	padding: 120px var(--vb-innen-x) 88px; /* mehr Luft (Wunsch 01.10.2026) */
}

.vb-fuss__ug {
	margin: 0;
}

/* Untergeschoss: Pfeil nach unten (die allgemeine Regel .vb-feld__nr::before setzt ▲) */
.vb-fuss .vb-fuss__ug::before {
	content: "▼" / "";
}

.vb-fuss__spruch {
	flex: 1 1 auto;
	margin: 0;
	font-size: clamp(28px, 3.6vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--vb-weiss);
	text-wrap: balance;
}

.vb-fuss__hoch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border: 1px solid var(--vb-linie-weiss);
	border-radius: var(--vb-radius-knopf);
	color: var(--vb-weiss);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color var(--vb-dauer), color var(--vb-dauer);
}

.vb-fuss__hoch span {
	color: var(--vb-gelb);
}

/* Farbe ausdrücklich, sonst färbt die allgemeine Regel a:hover die Schrift schwarz auf Schwarz */
.vb-fuss__hoch:hover {
	border-color: var(--vb-gelb);
	color: var(--vb-weiss);
}

/* Kellerabteile: 1 px Spalt auf weißer Linie wie die Raster der Startseite */
.vb-fuss__abteile {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--vb-linie-weiss);
	border-block: 1px solid var(--vb-linie-weiss);
}

.vb-fuss__abteil {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 360px;
	padding: 56px var(--vb-innen-x) 64px;
	background: var(--vb-keller);
}

.vb-fuss__schild {
	display: flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	margin: 0;
	padding: 4px 9px;
	border: 1px solid var(--vb-linie-weiss);
	border-radius: 2px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--vb-weiss);
	font-variant-numeric: tabular-nums;
}

.vb-fuss__schild span {
	font-size: 9px;
	color: var(--vb-gelb);
}

.vb-fuss__titel {
	margin: 4px 0 4px;
	font-size: 20px;
	font-weight: 700;
	color: var(--vb-weiss);
}

.vb-fuss__links {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vb-fuss__links a {
	color: var(--vb-text-3-dunkel);
	font-size: 15px;
	text-decoration: none;
	transition: color var(--vb-dauer);
}

.vb-fuss__links a:hover {
	color: var(--vb-weiss);
}

.vb-fuss__links .vb-fuss__platzhalter {
	opacity: 0.55;
}

/* Fundament: Betonschraffur, Marke −2,80, Typenschild */
.vb-fuss__fundament {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 72px var(--vb-innen-x) calc(64px + env(safe-area-inset-bottom, 0px));
	background: var(--vb-schwarz) url("../bilder/fuss-beton.svg") repeat;
}

.vb-fuss__typenschild {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 32px;
	width: max-content;
	max-width: 100%;
	padding: 16px 24px;
	background: var(--vb-schwarz);
	border: 1px solid var(--vb-linie-weiss);
}

.vb-fuss__logo {
	display: block;
	margin-left: -6px;
	line-height: 0;
}

.vb-fuss__logo img {
	display: block;
	width: auto;
	height: 48px;
}

.vb-fuss__copy {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--vb-text-3-dunkel);
}

@media (max-width: 1024px) {
	.vb-fuss__abteile {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.vb-fuss__abteil {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.vb-fuss__kopf {
		padding-top: 80px;
		padding-bottom: 56px;
	}
	.vb-fuss__abteil {
		padding: 36px 16px 40px;
	}
	.vb-fuss__fundament {
		padding-top: 48px;
		padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
	}
	.vb-fuss__typenschild {
		width: auto;
		padding: 16px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Startseite (T3)
   Maße aus design-referenz/Startseite.html (1440 px). Linien in Rastern entstehen aus 1 px Spalt auf
   schwarzem Grund: Sie stimmen damit bei jeder Spaltenzahl und jeder Reihenfolge.
   ------------------------------------------------------------------------------------------------- */

/* Geschosse ohne eigenen Innenabstand – die Teile darin bringen ihn mit */
.vb-geschoss.vb-roh,
.wp-block-group.vb-roh {
	padding: 0;
}

/* WordPress setzt in Gruppen (is-layout-flow) eine Blocklücke. Hier regeln flex/grid die Abstände. */
.vb-roh .is-layout-flow > *,
.vb-roh.is-layout-flow > *,
.vb-roh .wp-block-buttons {
	margin-block: 0;
}

/* Knopf über die ganze Breite, Pfeil rechts (stumm für Vorlesewerkzeuge) */
.vb-knopf-breit {
	width: 100%;
}

.vb-knopf-breit .wp-block-button__link,
.vb-tuer__knopf .wp-block-button__link {
	width: 100%;
	justify-content: space-between;
}

.vb-knopf-breit .wp-block-button__link {
	min-height: 0;
	padding: 16px 20px;
	font-size: 15px;
}

.wp-block-button.vb-knopf-breit.is-style-sekundaer .wp-block-button__link {
	padding: 15px 19px;
}

.vb-knopf-breit .wp-block-button__link::after,
.vb-tuer__knopf .wp-block-button__link::after {
	content: "→" / "";
	font-weight: 400;
}

/* Video-Knopf: Dreieck vor dem Text */
.vb-knopf-video .wp-block-button__link::before {
	content: "";
	width: 12px;
	height: 14px;
	background: currentColor;
	clip-path: polygon(8% 7%, 92% 50%, 8% 93%);
	flex-shrink: 0;
}

/* Kopfzeile eines Geschosses: Überschrift links, Lead rechts */
.vb-kopfzeile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	padding: 88px 64px 0;
	min-height: 240px;
}

.vb-weg .vb-kopfzeile {
	min-height: 300px;
}

.vb-kopfzeile .is-style-lead {
	padding-top: 8px;
	font-size: 18px;
	max-width: none;
}

/* Raster mit Linien */
.vb-raster {
	display: grid;
	gap: 1px;
	background: var(--vb-schwarz);
	border-top: var(--vb-linie);
}

.vb-raster > * {
	background: var(--vb-offwhite);
}

.vb-raster > .vb-dunkel {
	background: var(--vb-schwarz);
}

.vb-raster--weg {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: auto;
}

/* Geschosse hochkant (Wunsch 01.10.2026): 3:4, mehr Luft; bei zwei Spalten 4:5, bei einer Spalte vom Inhalt bestimmt */
.vb-raster--weg > .vb-feld {
	aspect-ratio: 3 / 4;
	gap: 16px;
	padding: 56px 40px;
}

/* 01–08 auf allen Breiten von oben nach unten, 01 mit der Eingangstür oben links (Wunsch 01.10.2026, wie am Handy). */

.vb-raster--drei {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(238.5px, auto);
}

.vb-feld {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 36px 32px;
}

.vb-funktionen .vb-feld {
	padding: 40px;
}

/* Schritt-Nummer als Stockwerksanzeige wie auf der Aufzugkabine (Wunsch des Auftraggebers 01.10.2026) */
.vb-feld__nr {
	display: flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	height: 26px;
	padding: 0 9px;
	background: var(--vb-schwarz);
	border-radius: 2px;
	color: var(--vb-offwhite);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.vb-feld__nr::before {
	content: "▲" / "";
	font-size: 9px;
	color: var(--vb-gelb);
}

.vb-feld__titel {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

.vb-feld__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--vb-text-3);
	max-width: 320px;
}

/* Die kleine Eingangstür bei Schritt 01: steht auf der Linie, Schild EINGANG, klickbar wie die große Tür unten.
   Im Fluss statt absolut: unten rechts unter dem Text, das Feld wächst bei Bedarf – so verdeckt sie nie Text.
   Der negative Abstand unten hebt den Innenabstand des Felds auf, damit sie auf der Linie steht.
   Selektor bewusst spezifisch: „.vb-roh .is-layout-flow > *“ setzt sonst margin-block auf 0. */
.vb-feld.vb-feld--tuer > .vb-feld__tuer {
	align-self: flex-end;
	flex-shrink: 0;
	width: 100px;
	height: 132px;
	margin: auto 0 -36px;
}

.vb-feld__tuer a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 12px 12px 10px;
	background: var(--vb-gelb);
	color: var(--vb-schwarz);
	text-decoration: none;
	transition: box-shadow var(--vb-dauer) ease;
}

.vb-feld__schild {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
}

.vb-feld__pfeil {
	align-self: flex-end;
	font-size: 17px;
	line-height: 1;
}

.vb-feld__tuer a:hover {
	box-shadow: inset 0 0 0 1px var(--vb-schwarz);
}

.vb-feld__tuer a:focus-visible {
	outline: 2px solid var(--vb-schwarz);
	outline-offset: 3px;
}

/* Hero */
.vb-hero {
	display: grid;
	grid-template-columns: 700px minmax(0, 1fr);
	gap: 1px;
	background: var(--vb-schwarz);
	min-height: 780px;
}

.vb-hero__text {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 88px 0 64px 64px;
	background: var(--vb-offwhite);
}

.vb-hero__buehne,
.vb-zweiteilig__buehne {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 40px;
}

/* Baum hinter der Butler-Karte: Ansicht wie auf einem Architektenplan (runde Krone, Achsen, Maßketten, B1),
   gemalt im Stil der Mietvertrag-Skizze (Aquarell-Flächen, Tuschelinien). Grüntöne stehen fest im SVG,
   bewusst nicht --vb-gruen (das ist Status). */
.vb-hero__buehne {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.vb-hero__buehne::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	bottom: 0;
	height: 100%;
	min-width: 600px;
	aspect-ratio: 7 / 8;
	transform: translateX(-50%);
	background: url("../bilder/baum-hero.svg") no-repeat center bottom / contain;
	pointer-events: none;
}

/* Baum hinter der Mietvertrag-Karte (Wunsch des Auftraggebers 01.10.2026): nur rechts im Bild, rechts
   abgeschnitten – die Stammachse liegt auf dem rechten Rand, die Krone ragt bis zur Mitte des Rechtecks.
   Zeichnung wie im Hero mit Maßketten (baum-mietvertrag-3.svg, erzeugt von tools/baum_mietvertrag.py).
   Breite = Bühnenbreite, unten angelegt; ist die Bühne höher, bleibt oben Luft. */
.vb-mietvertrag .vb-zweiteilig__buehne {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.vb-mietvertrag .vb-zweiteilig__buehne::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: url("../bilder/baum-mietvertrag-3.svg") no-repeat right bottom / 100% auto;
	pointer-events: none;
}

/* Tablet: Bühne über die volle Breite und niedrig – flachere Fassung, sonst fehlten oben Krone und Maßkette */
@media (min-width: 641px) and (max-width: 1180px) {
	.vb-mietvertrag .vb-zweiteilig__buehne::before {
		background-image: url("../bilder/baum-mietvertrag-3-breit.svg");
	}
}

/* Butler-Karte */
.vb-butler {
	width: 440px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: var(--vb-weiss);
	border: var(--vb-linie);
}

.vb-karte-kopf {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 48px;
	padding: 0 20px;
	border-bottom: 1px solid var(--vb-linie-hell);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--vb-text-3);
}

.vb-karte-kopf p {
	color: inherit;
}

.vb-karte-kopf--frei {
	min-height: 0;
	padding: 0;
	border: 0;
}

.vb-butler__gruss {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px 28px 20px;
}

.vb-butler__titel {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--vb-schwarz);
}

.vb-butler__gruss p:not(.vb-butler__titel) {
	font-size: 16px;
	line-height: 1.5;
}

/* Die acht Schritte: Quadrat, Nummer, Titel. Nummern zählt die Liste selbst. */
.vb-butler__schritte {
	list-style: none;
	margin: 0;
	padding: 0 28px;
	counter-reset: schritt;
}

.vb-butler__schritte li {
	counter-increment: schritt;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 38px;
	margin: 0;
	border-top: 1px solid #ECEAE4;
	font-size: 14px;
	/* Entwurf: #8A877F. Das erreicht auf Weiß nur 3,6:1 – für 14-px-Text sind 4,5:1 nötig. */
	color: #6B6862;
}

.vb-butler__schritte li::before {
	content: "";
	order: -2;
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border: 1px solid #B8B5AD;
}

.vb-butler__schritte li::after {
	content: counter(schritt, decimal-leading-zero);
	order: -1;
	flex-shrink: 0;
	width: 22px;
	font-size: 12px;
	font-weight: 400;
	color: #6B6862;
}

.vb-butler__schritte li.ist-aktiv {
	font-weight: 700;
	color: var(--vb-schwarz);
}

.vb-butler__schritte li.ist-aktiv::before {
	border: 0;
	background: var(--vb-gelb);
}

.vb-butler__los {
	padding: 20px 28px 28px;
}

/* Zweiteilig: Text links, Karte rechts (Mietvertrag) */
.vb-zweiteilig {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1px;
	background: var(--vb-schwarz);
	min-height: 680px;
}

.vb-zweiteilig__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 88px 64px 64px;
	background: var(--vb-offwhite);
}

.vb-zweiteilig__text .is-style-lead {
	font-size: 18px;
}

.vb-schmal,
p.vb-schmal {
	max-width: 480px;
}

/* Beispielkarte aus dem Mietvertrag-Generator (Abbildung, nicht bedienbar) */
.vb-generator {
	width: 440px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px;
	background: var(--vb-weiss);
	border: var(--vb-linie);
}

.vb-fortschritt {
	height: 3px;
	background: #ECEAE4;
}

.vb-fortschritt span {
	display: block;
	height: 3px;
	background: var(--vb-schwarz);
}

.vb-generator__frage {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--vb-schwarz);
}

.vb-attrappe {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vb-attrappe__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--vb-text-3);
}

.vb-attrappe__feld {
	display: flex;
	align-items: center;
	height: 52px;
	padding: 0 16px;
	border: var(--vb-linie);
	border-radius: var(--vb-radius);
	background: var(--vb-weiss);
	font-size: 18px;
	color: var(--vb-schwarz);
}

.vb-generator .is-style-tipp {
	background: var(--vb-offwhite);
}

.vb-attrappe-knoepfe {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.vb-attrappe-knopf {
	display: flex;
	align-items: center;
	padding: 14px 20px;
	border: var(--vb-linie);
	border-radius: var(--vb-radius-knopf);
	font-size: 15px;
	font-weight: 600;
	color: var(--vb-schwarz);
}

.vb-attrappe-knopf {
	gap: 10px;
}

.vb-attrappe-knopf--primaer {
	background: var(--vb-schwarz);
	color: var(--vb-weiss);
}

/* Schwarzes Band */
/* Preise */
.vb-raster--preise {
	grid-auto-rows: minmax(478px, auto);
}

.vb-preis {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 48px;
}

.vb-preis__einheit {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--vb-text-3);
}

.vb-preis__name {
	font-size: 26px;
	font-weight: 700;
}

.vb-preis__betrag {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--vb-schwarz);
}

.vb-preis__hinweis {
	font-size: 14px;
	color: var(--vb-text-3);
}

.vb-preis__text {
	flex-grow: 1;
	font-size: 15px;
	line-height: 1.6;
	color: var(--vb-text-2);
}

.vb-preis--empfohlen .vb-preis__einheit {
	color: var(--vb-gelb);
}

.vb-preis--empfohlen .vb-preis__hinweis {
	color: var(--vb-text-3-dunkel);
}

.vb-preis--empfohlen .vb-preis__text {
	color: #D9D7D0;
}

.vb-preis--empfohlen .vb-preis__betrag,
.vb-preis--empfohlen .vb-preis__name {
	color: var(--vb-weiss);
}

/* Häufige Fragen */
.vb-fragen {
	display: grid;
	grid-template-columns: 460px minmax(0, 1fr);
	gap: 1px;
	background: var(--vb-schwarz);
	min-height: 620px;
}

.vb-fragen > * {
	background: var(--vb-offwhite);
}

.vb-fragen__kopf {
	padding: 88px 64px 64px;
}

/* Bank vor einer Hecke unter „Häufige Fragen“ (Wunsch des Auftraggebers 01.10.2026): ein Ort, an dem man
   sich hinsetzt und Fragen klärt. Steht unten in der Spalte auf der Linie (negativer Abstand = Innenabstand
   unten). Zeichnung: assets/bilder/bank-hecke-plan.svg (Planstil wie die Bäume) aus tools/bank_hecke.py. */
.vb-fragen__kopf {
	display: flex;
	flex-direction: column;
}

.vb-fragen__kopf::after {
	content: "";
	display: block;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 920 / 1141;
	margin: -120px 0 -64px;
	background: url("../bilder/bank-hecke-plan-3.svg") no-repeat left bottom / 100% auto;
	pointer-events: none;
}

/* Tablet: Spalte ist breit – Bild an die rechte Wand, damit die angeschnittene Hecke an der Wand endet
   und nicht mitten in der Fläche; die Überschrift steht links daneben. */
@media (min-width: 641px) and (max-width: 1180px) {
	.vb-fragen__kopf::after {
		align-self: flex-end;
		margin-top: -150px;
		margin-right: calc(-1 * var(--vb-innen-x));
	}
}

/* Desktop: unten in der Spalte über die volle Breite, die Laterne ragt hoch neben die Überschrift
   (Wunsch 01.10.2026: Laterne deutlich höher, Bank größer, darf angeschnitten sein). */
@media (min-width: 1181px) {
	.vb-fragen__kopf {
		position: relative;
	}

	.vb-fragen__kopf::after {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		max-width: none;
		margin: 0;
	}
}

.vb-fragen__liste {
	padding: 80px 64px 52px;
}

.vb-frage {
	padding: 24px 0;
	border-bottom: 1px solid var(--vb-linie-hell);
}

.vb-frage summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	list-style: none;
	cursor: pointer;
	font-size: 19px;
	font-weight: 700;
	color: var(--vb-schwarz);
}

.vb-frage summary::-webkit-details-marker {
	display: none;
}

.vb-frage summary::after {
	content: "+" / "";
	flex-shrink: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.vb-frage[open] summary::after {
	content: "–" / "";
}

.vb-frage p {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--vb-text-3);
}

/* Erdgeschoss mit Tür (steht auf der Linie des Fußes) */
.vb-geschoss.vb-erdgeschoss {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	min-height: 300px;
	padding: 0 64px;
}

.vb-erdgeschoss__satz {
	padding: 72px 0;
	font-size: var(--wp--preset--font-size--titel);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--vb-schwarz);
}

.vb-tuer {
	position: relative;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 220px;
	height: 240px;
	padding: 24px;
	background: var(--vb-gelb);
	transition: box-shadow var(--vb-dauer) ease;
}

.vb-tuer__schild {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--vb-schwarz);
}

.vb-tuer__knopf .wp-block-button__link {
	text-align: left;
	min-height: 0;
	padding: 0;
	background: none;
	color: var(--vb-schwarz);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.vb-tuer__knopf .wp-block-button__link:hover {
	background: none;
	color: var(--vb-schwarz);
}

/* Die ganze Tür ist die Klickfläche */
.vb-tuer__knopf .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
}

.vb-tuer:hover {
	box-shadow: inset 0 0 0 1px var(--vb-schwarz);
}

.vb-tuer__knopf .wp-block-button__link:focus-visible {
	outline: none;
}

.vb-tuer:has(:focus-visible) {
	outline: 2px solid var(--vb-schwarz);
	outline-offset: 3px;
}

/* --- Startseite: Laptop / Tablet --- */
@media (max-width: 1180px) {
	.vb-hero,
	.vb-zweiteilig {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.vb-fragen {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.vb-fragen__kopf {
		padding-bottom: 32px;
	}

	.vb-fragen__kopf::after {
		margin-bottom: -32px;
	}

	.vb-fragen__liste {
		padding-top: 32px;
	}

	.vb-hero__text {
		padding-right: 64px;
	}
}

@media (max-width: 1024px) {
	.vb-kopfzeile {
		gap: 40px;
		min-height: 0;
		padding: var(--vb-innen-oben) var(--vb-innen-x) 48px;
	}

	.vb-weg .vb-kopfzeile {
		min-height: 0;
	}

	.vb-hero__text,
	.vb-zweiteilig__text,
	.vb-fragen__kopf,
	.vb-fragen__liste {
		padding-left: var(--vb-innen-x);
		padding-right: var(--vb-innen-x);
	}

	.vb-hero__text,
	.vb-zweiteilig__text {
		padding-top: var(--vb-innen-oben);
	}

	.vb-raster--weg {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: auto;
	}

	.vb-raster--weg > .vb-feld {
		aspect-ratio: 4 / 5;
		padding: 40px 28px;
	}

	.vb-raster--drei,
	.vb-raster--preise {
		grid-auto-rows: auto;
	}


	.vb-geschoss.vb-erdgeschoss {
		padding: 0 var(--vb-innen-x);
	}
}

@media (max-width: 900px) {
	.vb-raster--drei {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vb-raster--preise {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --- Startseite: Handy --- */
@media (max-width: 640px) {
	.vb-kopfzeile {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding-bottom: 40px;
	}

	.vb-kopfzeile .is-style-lead {
		padding-top: 0;
	}

	.vb-hero__text {
		gap: 24px;
		padding-bottom: 48px;
	}

	.vb-hero__buehne,
	.vb-zweiteilig__buehne {
		padding: 32px 16px;
	}

	.vb-butler__gruss,
	.vb-butler__los {
		padding-left: 20px;
		padding-right: 20px;
	}

	.vb-butler__schritte {
		padding: 0 20px;
	}

	.vb-generator {
		padding: 24px 20px;
	}

	.vb-raster--weg,
	.vb-raster--drei,
	.vb-raster--preise {
		grid-template-columns: minmax(0, 1fr);
	}

	.vb-feld,
	.vb-funktionen .vb-feld {
		padding: 28px var(--vb-innen-x) 32px;
	}

	.vb-raster--weg > .vb-feld {
		aspect-ratio: auto;
		padding: 32px var(--vb-innen-x) 40px;
	}

	.vb-feld.vb-feld--tuer > .vb-feld__tuer {
		width: 84px;
		height: 112px;
		margin-bottom: -32px;
	}

	.vb-preis {
		padding: 40px var(--vb-innen-x);
	}

	.vb-frage summary {
		font-size: 17px;
	}

	.vb-geschoss.vb-erdgeschoss {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		min-height: 0;
	}

	.vb-erdgeschoss__satz {
		padding: 56px 0 32px;
	}

	.vb-tuer {
		align-self: flex-end;
		width: 200px;
		height: 220px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Schalter „anwaltlich geprüft“: Rückfall für Elementor (Blöcke filtert schon der Server)
   ------------------------------------------------------------------------------------------------- */

.vb-geprueft-aus .vb-nur-geprueft {
	display: none !important;
}

/* -------------------------------------------------------------------------------------------------
   Bewegung nur, wenn gewünscht
   ------------------------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* -------------------------------------------------------------------------------------------------
   Styleguide (nur für angemeldete Nutzer)
   ------------------------------------------------------------------------------------------------- */

.vb-sg-raster {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	border-top: var(--vb-linie);
	border-left: var(--vb-linie);
	margin-top: 32px;
}

.vb-sg-raster > * {
	border-right: var(--vb-linie);
	border-bottom: var(--vb-linie);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
}

.vb-sg-farbe {
	height: 72px;
	border: 1px solid var(--vb-linie-hell);
}

.vb-sg-name {
	font-weight: 700;
	color: var(--vb-schwarz);
}

.vb-sg-wert {
	color: var(--vb-text-3);
	font-variant-numeric: tabular-nums;
}

.vb-sg-zeile {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 20px 0;
	border-bottom: 1px solid var(--vb-linie-hell);
}

.vb-sg-zeile > :first-child {
	font-size: 13px;
	color: var(--vb-text-3);
}

.vb-sg-reihe {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin-top: 24px;
}

.vb-sg-abstand {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 6px 0;
	font-size: 13px;
	color: var(--vb-text-3);
}

.vb-sg-abstand span:first-child {
	display: block;
	height: 16px;
	background: var(--vb-gelb);
}

@media (max-width: 640px) {
	.vb-sg-zeile {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Aufzugschacht am linken Rand (Desktop, Wunsch des Auftraggebers 01.10.2026) – assets/js/schacht.js
   Jedes Geschoss der Seite ist ein Stockwerk (oben 7. OG, unten EG). Die Kabine fährt beim Scrollen
   mit, ihre Anzeige zählt die Stockwerke, und sie zeigt den aktuellen Abschnitt in klein.
   ist-breit: ab 240 px freier Wand, 24 px vom Fensterrand, mind. 64 px Luft zum Haus, Miniatur dauerhaft.
   ist-schmal: 64–239 px Wand, Miniatur klappt beim Fahren (oder Überfahren) neben der Kabine auf.
   Unter 64 px (Tablet, Handy) gibt es keinen Schacht.
   ------------------------------------------------------------------------------------------------- */

.vb-schacht {
	position: fixed;
	top: 24px;
	bottom: 24px;
	z-index: 40;
	display: none;
	/* immer weiß, auch vor dem dunklen Band und dem Fuß (Wunsch 01.10.2026) */
	background: var(--vb-offwhite);
	font-family: var(--vb-schrift);
}

.vb-schacht.ist-breit,
.vb-schacht.ist-schmal {
	display: block;
}

/* Schachtwände */
.vb-schacht::before {
	content: "";
	position: absolute;
	inset: 0;
	border-inline: 1px solid var(--vb-linie-hell);
	pointer-events: none;
}

.vb-schacht__etagen {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	inset: 0;
}

/* Jedes Stockwerk ist ein Raum zwischen zwei Decken (Höhe/Lage aus schacht.js); der ganze Raum ist
   klickbar. Beim Überfahren steht der Titel als Überschrift in der Raummitte (breit). */
.vb-schacht__etagen li {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0;
	border-top: 1px solid var(--vb-linie-hell);
}

.vb-schacht__etagen li:last-child {
	border-bottom: 1px solid var(--vb-linie-hell);
}

.vb-schacht__etage {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--vb-text-3, #55534E);
	text-decoration: none;
	transition: background-color var(--vb-dauer) ease;
}

.vb-schacht__etage:hover,
.vb-schacht__etage:focus-visible {
	background: var(--vb-flaeche);
	color: var(--vb-schwarz);
	text-decoration: none;
}

.vb-schacht__etage:focus-visible {
	outline-offset: -2px;
}

.vb-schacht__etage[aria-current] {
	color: var(--vb-schwarz);
}

.vb-schacht__nr {
	position: absolute;
	top: 7px;
	left: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.vb-schacht__titel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 12px 8px;
	text-align: center;
	color: var(--vb-schwarz);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
	opacity: 0;
	transition: opacity var(--vb-dauer) ease;
}

.vb-schacht.ist-breit .vb-schacht__etage:hover .vb-schacht__titel,
.vb-schacht.ist-breit .vb-schacht__etage:focus-visible .vb-schacht__titel {
	opacity: 1;
}

/* Geschlossene Aufzugtür in jedem Stockwerk, in dem die Kabine gerade nicht steht (Wunsch 01.10.2026, wie die
   Fenster im Vollbild-Menü, nur hell): Rahmen, zwei Flügel mit Fuge. Beim Überfahren tritt sie zurück, damit der
   Titel lesbar ist; im aktuellen Stockwerk verdeckt die Kabine sie. */
.vb-schacht__tuer {
	position: absolute;
	top: 26px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	outline: 1px solid rgba(11, 11, 11, 0.45);
	background: var(--vb-weiss);
	transition: opacity var(--vb-dauer) ease;
}

.vb-schacht__tuer::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	border-left: 1px solid rgba(11, 11, 11, 0.5);
}

.vb-schacht__etage:hover .vb-schacht__tuer,
.vb-schacht__etage:focus-visible .vb-schacht__tuer {
	opacity: 0.15;
}

.vb-schacht__etage[aria-current] .vb-schacht__tuer {
	visibility: hidden;
}

/* breit: kleine Tür links im Format der Menüfenster (84 : 104), daneben der Titel – immer sichtbar wie im
   Menü (Wunsch 01.10.2026: „Tür kleiner, so dass der Titel noch reinpasst“) */
.vb-schacht.ist-breit .vb-schacht__tuer {
	--vb-tuer-b: calc((var(--vb-raum, 106px) - 36px) * 84 / 104);
	top: 26px;
	bottom: 10px;
	left: 10px;
	right: auto;
	width: var(--vb-tuer-b);
}

.vb-schacht.ist-breit .vb-schacht__etage:hover .vb-schacht__tuer,
.vb-schacht.ist-breit .vb-schacht__etage:focus-visible .vb-schacht__tuer {
	opacity: 1;
	outline-color: var(--vb-schwarz);
}

.vb-schacht.ist-breit .vb-schacht__titel {
	left: calc(20px + (var(--vb-raum, 106px) - 36px) * 84 / 104);
	top: 26px;
	bottom: 10px;
	align-items: center;
	justify-content: flex-start;
	padding: 0 10px 0 0;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--vb-text-2);
	opacity: 1;
}

.vb-schacht.ist-breit .vb-schacht__etage:hover .vb-schacht__titel {
	color: var(--vb-schwarz);
}

/* schmal: Tür im ganzen Raum, die Nummer steht oben darüber */
.vb-schacht.ist-schmal .vb-schacht__tuer {
	top: 22px;
	right: 6px;
	bottom: 6px;
	left: 6px;
}

/* Kabine */
.vb-schacht__kabine {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	pointer-events: none;
	transition: transform 420ms cubic-bezier(0.45, 0, 0.2, 1); /* Fahrt von Stockwerk zu Stockwerk */
	will-change: transform;
}

.vb-schacht__anzeige {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	height: 26px;
	margin: 0 auto;
	padding: 0 8px;
	width: max-content;
	min-width: 40px;
	background: var(--vb-schwarz);
	color: var(--vb-offwhite);
	border-radius: 2px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.vb-schacht__richtung {
	font-size: 9px;
	color: var(--vb-gelb);
}

.vb-schacht__richtung:empty {
	display: none;
}

.vb-schacht__mini {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--vb-offwhite);
	border: 1.5px solid var(--vb-schwarz);
}

.vb-schacht__bild {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.vb-schacht__minititel {
	display: none;
}

.vb-schacht.ist-schmal .vb-schacht__bild {
	top: 27px;
}

.vb-schacht.ist-schmal .vb-schacht__minititel {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 27px;
	padding: 6px 8px;
	background: var(--vb-schwarz);
	color: var(--vb-offwhite);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vb-schacht__kopie {
	position: absolute;
	top: 0;
	left: 0;
	transform-origin: 0 0;
	pointer-events: none;
	background: var(--vb-offwhite);
}

.vb-schacht__kopie *,
.vb-schacht__kopie *::before,
.vb-schacht__kopie *::after {
	animation: none !important;
	transition: none !important;
}

/* --- breit: Kabine über die Schachtbreite, Miniatur darin, Stockwerk und Titel in der Anzeige --- */
.vb-schacht.ist-breit .vb-schacht__kabine {
	padding: 0 6px;
}

.vb-schacht.ist-breit .vb-schacht__anzeige {
	margin-bottom: -13px;
}

.vb-schacht.ist-breit .vb-schacht__etage[aria-current] .vb-schacht__nr,
.vb-schacht.ist-breit .vb-schacht__etage[aria-current] .vb-schacht__titel {
	visibility: hidden; /* steht in der Kabinenanzeige bzw. in der Miniatur */
}

.vb-schacht.ist-breit .vb-schacht__mini {
	aspect-ratio: 16 / 9;
}


/* --- schmal: kleine Kabine mit Nummer, Miniatur klappt rechts daneben auf --- */

/* schmal: Nummer mittig im Raum, Titel nur im Ausklappfenster */
.vb-schacht.ist-schmal .vb-schacht__nr {
	font-size: 0;
	inset: 0;
	top: 0;
	left: 0;
	display: flex;
	align-items: flex-start; /* oben über der Tür (statt mittig) */
	justify-content: center;
	padding-top: 6px;
}

.vb-schacht.ist-schmal .vb-schacht__nr::after {
	content: attr(data-kurz);
	font-size: 10px;
}

.vb-schacht.ist-schmal .vb-schacht__titel,
.vb-schacht.ist-schmal .vb-schacht__etage[aria-current] .vb-schacht__nr {
	display: none; /* Nummer steht in der Kabine, Titel im Ausklappfenster */
}

.vb-schacht.ist-schmal .vb-schacht__kabine {
	height: 40px;
	border: 1.5px solid var(--vb-schwarz);
	background: var(--vb-offwhite);
	display: flex;
	align-items: center;
}

.vb-schacht.ist-schmal .vb-schacht__anzeige {
	min-width: 30px;
	padding: 0 4px;
	height: 22px;
	font-size: 12px;
}

.vb-schacht.ist-schmal .vb-schacht__mini {
	position: absolute;
	left: calc(100% + 14px);
	top: 50%;
	width: 240px;
	aspect-ratio: 16 / 10;
	transform: translate(-6px, calc(-50% + var(--vb-mini-dy, 0px)));
	opacity: 0;
	visibility: hidden;
	box-shadow: none;
	transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}

.vb-schacht.ist-schmal.faehrt .vb-schacht__mini,
.vb-schacht.ist-schmal.schaut .vb-schacht__mini {
	opacity: 1;
	visibility: visible;
	transform: translate(0, calc(-50% + var(--vb-mini-dy, 0px)));
	transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.vb-schacht__kabine,
	.vb-schacht.ist-schmal .vb-schacht__mini {
		transition: none;
	}
}

@media print {
	.vb-schacht {
		display: none !important;
	}
}

/* Symbole der Funktionen („Alles unter einem Dach“): gelbe Tafel hochkant im Seitenverhältnis des .DE-Felds im Logo
   (74 × 100), darin das Strich-Symbol schwarz im unteren Teil wie ein Eingang (Wunsch des Auftraggebers 01.10.2026; vorher gelb
   gefüllte Symbole). Symbole unter assets/icons/<name>.svg (Strich 1,8 auf 40 Einheiten ≈ 1,8 px). Linke Tafelkante auf der Textkante. */
.vb-funktionen .vb-feld.vb-symbol {
	gap: 16px;
	padding: 136px var(--vb-innen-x) 48px;
}

/* Titel und Text größer (Wunsch 01.10.2026) */
.vb-funktionen .vb-feld__titel {
	font-size: 30px;
	line-height: 1.2;
}

.vb-funktionen .vb-feld__text {
	font-size: 18px;
	max-width: 380px;
}

/* Kacheln hochkant wie die Weg-Felder (Wunsch 01.10.2026): 3:4, bei zwei Spalten 4:5, bei einer vom Inhalt */
.vb-funktionen .vb-raster--drei > .vb-feld {
	aspect-ratio: 3 / 4;
}

@media (max-width: 1180px) {
	.vb-funktionen .vb-raster--drei > .vb-feld {
		aspect-ratio: 4 / 5;
	}
}

@media (max-width: 640px) {
	.vb-funktionen .vb-raster--drei > .vb-feld {
		aspect-ratio: auto;
	}
}

.vb-symbol::after {
	content: "";
	position: absolute;
	top: 0; /* hängt direkt an der Kachellinie („am Dach“), Wunsch 01.10.2026 */
	left: var(--vb-innen-x);
	width: 64px;
	height: 88px;
	background: var(--vb-symbol) center bottom 6px / 42px 42px no-repeat, var(--vb-gelb); /* unten wie ein Eingang */
	pointer-events: none;
}

.vb-symbol--vertrag { --vb-symbol: url("../icons/vertrag.svg?v=2"); }
.vb-symbol--zahlung { --vb-symbol: url("../icons/zahlung.svg?v=2"); }
.vb-symbol--rechnen { --vb-symbol: url("../icons/rechnen.svg?v=2"); }
.vb-symbol--ordner { --vb-symbol: url("../icons/ordner.svg?v=2"); }
.vb-symbol--kalender { --vb-symbol: url("../icons/kalender.svg?v=2"); }
.vb-symbol--brief { --vb-symbol: url("../icons/brief.svg?v=2"); }

@media (max-width: 640px) {
	.vb-funktionen .vb-feld.vb-symbol {
		padding: 108px var(--vb-innen-x) 36px;
	}

	.vb-funktionen .vb-feld__titel {
		font-size: 24px;
	}

	.vb-funktionen .vb-feld__text {
		font-size: 16px;
	}

	.vb-symbol::after {
		top: 0;
		width: 56px;
		height: 76px;
		background-size: 38px 38px, auto;
		background-position: center bottom 5px, 0 0;
	}
}

/* Abschluss „Alles unter einem Dach“: Wiese mit Hängematte, der Butler bringt ein Glas (Wunsch des Auftraggebers
   01.10.2026). Stil wie die Bäume (Aquarell-Flächen, Konstruktionslinien). Abstand zu den Karten darüber und zum schwarzen Band darunter.
   Das Bild ist breiter als jede Seite und wird mittig beschnitten; die Szene steht in der Mitte. */
.vb-funktionen::after {
	content: "";
	display: block;
	height: 356px; /* 56 px Luft über der Szene */
	border-top: var(--vb-linie); /* Abschlusslinie unter den Karten */
	background: url("../bilder/wiese-haengematte.svg?v=5") center bottom / auto 300px no-repeat;
}

@media (max-width: 1024px) {
	.vb-funktionen::after {
		height: 270px;
		background-size: auto 230px;
	}
}

@media (max-width: 640px) {
	.vb-funktionen::after {
		height: 180px;
		background-size: auto 150px;
	}
}

/* -------------------------------------------------------------------------------------------------
   Schwarzes Band als Treppe in der Seitenansicht (Wunsch des Auftraggebers 01.10.2026): Stufen von links oben
   nach rechts unten – jede Zeile steht auf ihrem Tritt (waagrechte Linie), davor die Setzstufe (senkrechte
   Linie). Fünf Stufen „Du / brauchst / keine Ahnung / von Vermietung. / Du brauchst“, das Logo (negativ) ist das
   Podest unten rechts. Zeile 1 ist im Markup in drei .vb-band__stufe geteilt.
   Stufenbreite = (Breite − Podest) / 5 in cqw (das Band ist Container); der Text darf über den Tritt hinausragen.
   Das Logo-SVG hat 24/248 Rand: Höhe × 0,097 je Seite.
   ------------------------------------------------------------------------------------------------- */
.vb-geschoss.vb-band {
	--vb-podest-h: clamp(84px, 11vw, 156px);
	--vb-podest-b: calc(var(--vb-podest-h) * 3.84);
	--vb-tritt: calc((100cqw - var(--vb-podest-b)) / 5);
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(420px, 52vw, 680px);
	padding: clamp(64px, 8vw, 112px) var(--vb-innen-x);
}

/* Stufenbreite auf ganze Pixel: sonst rundet der Browser Tritt-Ende und nächste Setzstufe verschieden und die Ecke
   steht 1 px über (Wunsch 01.10.2026: Linien treffen genau aufeinander). Ohne round() bleibt die krumme Breite. */
@supports (width: round(down, 10.5px, 1px)) {
	.vb-geschoss.vb-band {
		--vb-tritt: round(down, calc((100cqw - var(--vb-podest-b)) / 5), 1px);
	}
}

.vb-band__zeile--1,
.vb-band__text {
	display: contents;
}

.vb-band__stufe,
.vb-band__zeile--2,
.vb-band__zeile--3,
.vb-band__zeile--4 {
	position: relative;
	display: block;
	width: max-content;
	max-width: none;
	margin: 0 0 0 calc(var(--vb-stufe) * var(--vb-tritt));
	padding: clamp(6px, 0.8vw, 12px) 0 clamp(6px, 0.7vw, 10px) clamp(10px, 1.2vw, 18px);
	color: var(--vb-weiss);
	font-size: clamp(30px, 4.2vw, 60px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.vb-band__stufe:nth-child(1) { --vb-stufe: 0; }
.vb-band__stufe:nth-child(2) { --vb-stufe: 1; }
.vb-band__stufe:nth-child(3) { --vb-stufe: 2; }
.vb-band__zeile--2 { --vb-stufe: 3; }
.vb-band__zeile--3 { --vb-stufe: 4; }
.vb-band__zeile--4 { --vb-stufe: 5; }

/* Tritt (waagrecht, unter der Zeile) und Setzstufe (senkrecht, links der Zeile) */
.vb-band__stufe::after,
.vb-band__zeile--2::after,
.vb-band__zeile--3::after,
.vb-band__zeile--4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: calc(var(--vb-tritt) + 2px); /* nur die Stufe, keine Unterstreichung der Wörter (Wunsch 01.10.2026); + Strichbreite bis über die nächste Setzstufe */
	height: 2px;
	background: var(--vb-weiss);
	transform-origin: left center;
}

.vb-band__stufe::before,
.vb-band__zeile--2::before,
.vb-band__zeile--3::before,
.vb-band__zeile--4::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2px; /* reicht in den Tritt darüber: Ecken schließen ohne Lücke oder Überstand (Wunsch 01.10.2026) */
	bottom: 0;
	width: 2px;
	background: var(--vb-weiss);
	transform-origin: center top;
}

.vb-band__stufe:nth-child(1)::before {
	display: none;
}

/* Podest: das Logo, Setzstufe links, Boden bis zum rechten Rand */
.wp-block-image.vb-band__zeile--4 {
	width: auto;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0 0 0 clamp(10px, 1.2vw, 18px);
}

.vb-band__zeile--4::after {
	right: 0;
	width: auto;
	background: var(--vb-gelb);
	height: 3px;
}

.vb-band__zeile--4 img {
	display: block;
	width: auto;
	max-width: none;
	height: var(--vb-podest-h);
	margin-inline: calc(var(--vb-podest-h) * -0.097);
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.vb-band__stufe::after,
		.vb-band__zeile--2::after,
		.vb-band__zeile--3::after,
		.vb-band__zeile--4::after {
			animation: vb-band-linie linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 100%;
		}
	}
}

@keyframes vb-band-linie {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* Nacht im Band (Wunsch 01.10.2026, wie die Nachtszene im Menü): Sterne im freien Raum oben rechts, eine Laterne
   rechts neben dem Podest, deren flacher Lichtkegel auf das Logo fällt. Die Laterne skaliert mit der Logohöhe und
   steht auf der Unterkante des Logos (= Innenabstand unten). Bilder: tools/band_nacht.py. Sterne hinter dem Text. */
.vb-geschoss.vb-band {
	position: relative;
	isolation: isolate;
}

.vb-geschoss.vb-band::before,
.vb-geschoss.vb-band::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.vb-geschoss.vb-band::before {
	top: 0;
	right: 0;
	width: 60%;
	height: 55%;
	background: url("../bilder/band-nacht-sterne.svg") no-repeat right top / cover;
}

.vb-geschoss.vb-band::after {
	right: var(--vb-innen-x);
	bottom: clamp(64px, 8vw, 112px);
	height: calc(var(--vb-podest-h) * 3.6);
	aspect-ratio: 460 / 560;
	background: url("../bilder/band-nacht-laterne-2.svg") no-repeat right bottom / contain;
	/* über dem Logo (das SVG hat eine schwarze Fläche), „screen“ hellt nur auf: der Kegel liegt auf dem Logo */
	z-index: 1;
	mix-blend-mode: screen;
}

/* Bodenlinie endet am Mastfuß der Laterne (Sockel rechts bei x 275 von 300, Bildhöhe 3,6 × Logohöhe auf 560) */
@media (min-width: 641px) {
	.vb-band__zeile--4::after {
		right: calc(var(--vb-podest-h) * 3.6 * 25 / 560);
	}
}

/* Handy: kleinere Stufen, das Logo als Podest über die ganze Breite */
@media (max-width: 640px) {
	/* Handy: das Logo füllt die Breite, für die Laterne ist kein Platz – nur Sterne */
	.vb-geschoss.vb-band::after {
		display: none;
	}
	.vb-geschoss.vb-band::before {
		width: 100%;
		height: 40%;
	}
	.vb-geschoss.vb-band {
		--vb-tritt: 7vw;
		padding: 56px var(--vb-innen-x);
		min-height: 0;
	}
	.vb-band__stufe,
	.vb-band__zeile--2,
	.vb-band__zeile--3 {
		font-size: 7vw;
		padding-left: 8px;
	}
	.vb-band__zeile--4 {
		--vb-stufe: 0;
	}
	/* Luft zwischen Treppe und Logo (Wunsch 02.10.2026) */
	.wp-block-image.vb-band__zeile--4 {
		margin-top: 36px;
		padding: 0;
	}
	/* keine Linie über dem Podest: die Treppe endet mit dem letzten Tritt (Wunsch 01.10.2026: nur die Treppe) */
	.vb-band__zeile--4::before {
		display: none;
	}
	.vb-band__zeile--4 img {
		width: calc(100% / 0.95);
		height: auto;
		margin-inline: calc(100% * -0.025);
	}
}

/* Lichtfahrt durch die Geschosse (assets/js/weg.js, Wunsch 01.10.2026): das Licht geht 01 → 08 nacheinander an und
   wieder aus, wie ein Aufzug, der durch die Etagen fährt. Keine Füllung nach dem Ende – danach gilt wieder „Licht an“ beim Überfahren. */
/* Ohne 0 %/100 %: Anfang und Ende nehmen die eigene Farbe des Felds. „transparent“ ließ den dunklen Untergrund grau durchscheinen. */
@keyframes vb-etage-licht {
	25%, 55% { background-color: var(--vb-weiss); }
}

.vb-weg--fahrt > .vb-feld {
	animation: vb-etage-licht 1100ms ease-in-out calc(var(--vb-etage, 0) * 280ms);
}

.vb-feld--licht-an {
	animation: vb-etage-licht 1300ms ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
	.vb-weg--fahrt > .vb-feld,
	.vb-feld--licht-an {
		animation: none;
	}
}

/* Vollbild-Menü bei Nacht: links eine Straßenlaterne mit Licht, rechts ein Baum unter dem Mond (Wunsch des
   Auftraggebers 01.10.2026: freundlicher, weniger Schwarz). Die Bilder füllen den schwarzen Rand neben dem Haus
   und stehen auf dem Boden; erst ab 1600 px, darunter ist der Rand zu schmal. Fixiert, damit sie beim Scrollen
   des Menüs stehen bleiben; im Stapel des Menüs, also unter den Aufzugtüren. Bilder: tools/menue_nacht.py. */
@media (min-width: 1600px) {
	.vb-menue::before,
	.vb-menue::after {
		content: "";
		position: fixed;
		top: var(--wp-admin--admin-bar--height, 0px);
		bottom: 0;
		width: calc((100vw - 1280px) / 2);
		background: center bottom / contain no-repeat;
		pointer-events: none;
	}

	.vb-menue::before {
		left: 0;
		background-image: url("../bilder/nacht-laterne.svg?v=1");
	}

	.vb-menue::after {
		right: 0;
		background-image: url("../bilder/nacht-baum.svg?v=1");
	}
}

/* Spruch im Vollbild-Menü, mittig in der freien Fläche zwischen Geschossen und LOGIN (Wunsch 01.10.2026).
   Die automatischen Außenabstände teilen den freien Platz oben und unten; ist keiner frei, rückt er an LOGIN. */
.vb-menue__spruch {
	margin: auto 0;
	padding: 32px 0;
	color: var(--vb-weiss);
	font-size: clamp(24px, 2.4vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: center;
	text-wrap: balance;
}

.vb-menue__spruch span {
	color: var(--vb-gelb);
	white-space: nowrap; /* „nicht im Dunkeln“ bleibt am Handy zusammen */
}

@media (max-width: 640px) {
	.vb-menue__spruch {
		padding: 24px 0;
		font-size: 22px;
	}
}

/* Handskizzierter Pfeil vom Spruch hinunter zu LOGIN (Wunsch 01.10.2026). Hängt unter „nicht im Dunkeln“;
   feste Proportion, Breite wächst mit dem Fenster, damit die Spitze ungefähr über LOGIN landet. */
.vb-menue__spruch {
	padding-bottom: clamp(72px, 7vw, 120px);
}

.vb-menue__spruch span {
	position: relative;
}

.vb-menue__spruch span::after {
	content: "";
	position: absolute;
	top: calc(100% + 6px);
	right: 18%;
	width: clamp(150px, 30vw, 560px);
	aspect-ratio: 520 / 130;
	background: url("../bilder/pfeil-login.svg?v=1") center / contain no-repeat;
	pointer-events: none;
}

@media (max-width: 640px) {
	.vb-menue__spruch span::after {
		right: 40%;
	}
}

/* Preise-Kopf (Wunsch 01.10.2026): Satz rechts auf der Mittellinie der zweizeiligen Überschrift, mehr Abstand zu den Preiskarten.
   align-content:start hält die Zeile auf Höhe der Überschrift, sonst zentriert min-height beide nach unten. */
.vb-preise .vb-kopfzeile {
	align-items: center;
	align-content: start;
	padding-bottom: 96px;
}

.vb-preise .vb-kopfzeile .is-style-lead {
	padding-top: 0;
}

@media (max-width: 1024px) {
	.vb-preise .vb-kopfzeile {
		padding-bottom: 72px;
	}
}

@media (max-width: 640px) {
	.vb-preise .vb-kopfzeile {
		padding-bottom: 56px;
	}
}

/* Häufige Fragen (Wunsch 01.10.2026): mehr Luft nach oben zur Preis-Section; am Desktop steht die Laterne unten
   verankert, ihr Abstand zur Oberkante wächst mit dem Innenabstand oben. */
.vb-fragen__kopf {
	padding-top: 184px;
}

.vb-fragen__liste {
	padding-top: 176px;
}

@media (max-width: 1180px) {
	.vb-fragen__kopf {
		padding-top: 168px;
	}

	.vb-fragen__liste {
		padding-top: 32px;   /* gestapelt: Liste folgt direkt unter der Zeichnung */
	}
}

@media (max-width: 640px) {
	.vb-fragen__kopf {
		padding-top: 104px;
	}

	.vb-fragen__liste {
		padding-top: 32px;
	}
}

/* Maus als Zeichentisch (Wunsch des Auftraggebers 01.10.2026, assets/js/maus.js): Fadenkreuz um den Zeiger (je Arm 40 px),
   Koordinate wie auf dem Plan, über Klickbarem ein gelber Punkt. Die Klasse vb-maus-an setzt erst das Skript bei
   echter Mausbewegung – ohne Skript oder am Handy bleibt alles beim normalen Pfeil. Zwei Ebenen: die Linien-Ebene
   wird als Ganzes mit „difference“ verrechnet (dunkel auf Hell, hell auf dem schwarzen Band), die Schild-Ebene
   (Koordinate, gelber Punkt) nicht. Liegt über dem Menü, unter der Eingangstür (100000). */
.vb-maus {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 160ms;
}

.vb-maus.ist-da {
	opacity: 1;
}

.vb-maus--linien {
	mix-blend-mode: difference;
}

.vb-maus--linien.ist-da {
	opacity: 0.55;
}

.vb-maus--linien.ist-klickbar,
.vb-maus.ist-eingabe {
	opacity: 0;
}

.vb-maus__x,
.vb-maus__y,
.vb-maus__mitte,
.vb-maus__punkt,
.vb-maus__koord {
	position: absolute;
	top: 0;
	left: 0;
	will-change: transform;
}

.vb-maus__x,
.vb-maus__y {
	background: #FFFFFF;
}

.vb-maus__x {
	width: 80px; /* 2 × ARM in maus.js */
	height: 1px;
}

.vb-maus__y {
	width: 1px;
	height: 80px;
}

/* kleiner Kreis in der Kreuzmitte, damit der Zeigepunkt klar ist */
.vb-maus__mitte::before {
	content: "";
	position: absolute;
	left: -5px;
	top: -5px;
	width: 10px;
	height: 10px;
	border: 1px solid #FFFFFF;
	border-radius: 50%;
	box-sizing: border-box;
}

.vb-maus__koord {
	padding: 2px 6px;
	background: var(--vb-offwhite);
	border: 1px solid var(--vb-linie-hell);
	color: var(--vb-text-3);
	font-family: var(--vb-schrift);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	white-space: pre;
	transition: opacity 160ms;
}

/* über Klickbarem: gelber Punkt statt Kreuz und Koordinate */
.vb-maus__punkt::before {
	content: "";
	position: absolute;
	left: -7px;
	top: -7px;
	width: 14px;
	height: 14px;
	border: 1px solid var(--vb-schwarz);
	border-radius: 50%;
	box-sizing: border-box;
	background: var(--vb-gelb);
	transform: scale(0);
	transition: transform 160ms;
}

.vb-maus--schild.ist-klickbar .vb-maus__punkt::before {
	transform: scale(1);
}

.vb-maus--schild.ist-klickbar .vb-maus__koord {
	opacity: 0;
}

/* den Systempfeil nur ausblenden, solange das Kreuz da ist; Eingabefelder behalten den Textcursor */
html.vb-maus-an,
html.vb-maus-an * {
	cursor: none !important;
}

html.vb-maus-an input,
html.vb-maus-an textarea,
html.vb-maus-an [contenteditable=""],
html.vb-maus-an [contenteditable="true"] {
	cursor: text !important;
}

@media (hover: none), (pointer: coarse) {
	.vb-maus {
		display: none;
	}
}

/* Obentürschließer auf der gelben Tür (Wunsch des Auftraggebers 01.10.2026): schwarzes Gehäuse oben an der
   Bandseite (rechts), der Gleitarm führt schräg nach oben auf den Rahmen über der Tür. Rein dekorativ; die ganze Tür bleibt Klickfläche (Link-::before darüber). */
.vb-tuer::before,
.vb-tuer::after {
	content: "";
	position: absolute;
	background: var(--vb-schwarz);
	pointer-events: none;
}

/* Gehäuse */
.vb-tuer::before {
	top: 7px;
	right: 14px;
	width: 74px;
	height: 15px;
	border-radius: 3px;
}

/* Arm: vom linken Ende des Gehäuses nach links oben bis über die Türkante, mit Schuh am Rahmen */
.vb-tuer::after {
	top: 0;
	right: 84px;
	width: 42px;
	height: 3px;
	border-radius: 2px;
	transform-origin: right center;
	transform: translateY(12px) rotate(24deg);
}
