/* Jans Immobilien Gruppe · Gestaltung "Klingeltableau" */

@font-face {
	font-family: "Sofia Sans";
	src: url("../fonts/sofia-sans.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Sofia Sans";
	src: url("../fonts/sofia-sans-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Sofia Sans Condensed";
	src: url("../fonts/sofia-sans-condensed.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #ecedea;
	--surface: #f6f6f3;
	--panel: #383e42;
	--panel-deep: #2c3135;
	--ink: #1f2326;
	--ink-soft: #4a5156;
	--on-panel: #f2f2ee;
	--muted-on-panel: #aeb4b8;
	--steel: #a3aaae;
	--line: #d2d5d1;
	--line-panel: #4b5257;
	--accent: #f2b233;
	--accent-ink: #1f2326;

	--font-display: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
	--font-body: "Sofia Sans", "Segoe UI", system-ui, sans-serif;

	--r-sm: 4px;
	--r-md: 6px;
	--r-pill: 999px;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(80px, 10vw, 168px);

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--shadow-wall: 0 1px 2px rgba(31, 35, 38, 0.22), 0 26px 50px -22px rgba(31, 35, 38, 0.5);
	--texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.14 0 0 0 0 0.15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Basis ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 96px;
	scrollbar-color: var(--steel) var(--bg);
}

body {
	margin: 0;
	background: var(--bg) var(--texture);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.55;
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }

:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(ul, ol)[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-panel :focus-visible, .tableau :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.screen-reader-text, .sr-only {
	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;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--accent); color: var(--accent-ink); padding: 12px 18px; border-radius: var(--r-pill);
	font-weight: 700; text-decoration: none; transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }

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

.display, h1, h2, h3 {
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.875rem, 1.5rem + 5.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.04em; }
h2, .h2 { font-size: clamp(2.125rem, 1.35rem + 2.8vw, 3.5rem); }
h3, .h3 { font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem); font-weight: 450; line-height: 1.15; letter-spacing: -0.015em; }
h1 strong, h2 strong { font-weight: 600; }
.lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.5; color: var(--ink-soft); max-width: 54ch; text-wrap: pretty; }
.on-panel .lead { color: var(--muted-on-panel); }
p { text-wrap: pretty; }
.label {
	font-family: var(--font-display); font-weight: 650; font-size: 0.9375rem;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.num { font-variant-numeric: tabular-nums lining-nums; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul:not([class]), .prose ul.wp-block-list, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 700; }
.todo { background: rgba(242, 178, 51, 0.28); padding: 0 0.25em; border-radius: 2px; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 0 26px 0 22px;
	border: 0; border-radius: var(--r-pill);
	font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
	text-decoration: none; cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
	-webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--primary, .btn--bell, .btn--dark { background: var(--panel); color: var(--on-panel); }
.on-panel .btn--primary, .ring-panel .btn--bell, .on-panel .btn--bell { background: var(--on-panel); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover, .btn--bell:hover, .btn--dark:hover { background: var(--panel-deep); }
	.on-panel .btn--primary:hover, .ring-panel .btn--bell:hover, .on-panel .btn--bell:hover { background: var(--surface); }
}
.btn .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .btn:hover .icon { transform: translateX(3px); } }
.btn .icon { width: 20px; height: 20px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.textlink {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent);
	text-decoration-thickness: 2px; text-underline-offset: 0.3em;
	transition: text-decoration-color 200ms var(--ease-out);
}
@media (hover: hover) { .textlink:hover { text-decoration-color: currentColor; } }
.textlink .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .textlink:hover .icon { transform: translateX(3px); } }

.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Klingel (Taster) ---------- */

.bell {
	--size: 44px;
	position: relative; flex: none;
	width: var(--size); height: var(--size); border-radius: 50%;
	background: var(--steel);
	box-shadow: inset 0 -3px 0 rgba(31, 35, 38, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 0 0 4px var(--panel-deep);
	transition: transform 140ms var(--ease-out);
}
.bell::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%;
	border: 3px solid var(--panel-deep);
	transition: border-color 420ms var(--ease-out);
}
.bell--lit::after, .is-free .bell::after { border-color: var(--accent); }
.bell--sm { --size: 22px; box-shadow: inset 0 -2px 0 rgba(31, 35, 38, 0.3), 0 0 0 3px rgba(31, 35, 38, 0.18); }
.bell--sm::after { inset: -3px; border-width: 2px; border-color: transparent; }
.btn--bell .bell--sm { background: var(--steel); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.3); }
.btn--bell .bell--sm::after { border-color: var(--accent); }

/* Licht geht nacheinander an (nur mit JS, sonst sofort an) */
.js .bell[data-light]:not(.is-on)::after { border-color: var(--panel-deep); }
.bell-row__link:active .bell, .unit-row__link:active .bell { transform: translateY(1px) scale(0.96); }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(236, 237, 234, 0.97);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 19px; }
@media (min-width: 1100px) { .brand img { height: 21px; } }
.nav { display: none; }
@media (min-width: 1000px) {
	.nav { display: flex; align-items: center; gap: 6px; }
	.nav a {
		display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
		font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: var(--r-pill);
		transition: background-color 180ms var(--ease-out);
	}
	.nav a:hover { background: rgba(31, 35, 38, 0.06); }
	.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
	.nav .btn { margin-left: 12px; min-height: 46px; font-size: 0.9375rem; padding: 0 8px 0 20px; }
}
.nav__count {
	display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
	border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
	font-family: var(--font-display); font-weight: 800; font-size: 0.875rem; letter-spacing: 0;
}
.menu-toggle {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px;
	border: 0; border-radius: var(--r-pill); background: var(--panel); color: var(--on-panel);
	font-family: var(--font-body); font-weight: 600; cursor: pointer;
}
.menu-toggle .icon { width: 20px; height: 20px; }
@media (min-width: 1000px) { .menu-toggle { display: none; } }

.mobile-nav {
	position: fixed; inset: 72px 0 0 0; z-index: 49;
	background: var(--panel); color: var(--on-panel);
	padding: 24px var(--gutter) 40px; overflow-y: auto;
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.admin-bar .mobile-nav { top: 118px; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.mobile-nav ul { display: grid; gap: 4px; }
.mobile-nav a:not(.btn) {
	display: flex; align-items: center; justify-content: space-between; min-height: 60px;
	font-family: var(--font-body); font-weight: 300; font-size: 2.125rem; letter-spacing: -0.03em; text-decoration: none;
	border-bottom: 1px solid var(--line-panel);
}
.mobile-nav .btn { margin-top: 28px; width: 100%; justify-content: center; }
.mobile-nav__contact { margin-top: 28px; color: var(--muted-on-panel); display: grid; gap: 4px; }
.mobile-nav__contact a { color: var(--on-panel); }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 104px) var(--section); }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) {
	.hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero__title { display: grid; gap: 18px; }
.hero__claim { display: block; }
.hero__topic {
	display: block; font-family: var(--font-body); font-weight: 500;
	font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4375rem); line-height: 1.3; letter-spacing: -0.005em; color: var(--ink-soft);
}
.hero .lead { margin-top: 26px; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }

/* ---------- Klingeltableau ---------- */

.tableau {
	position: relative; isolation: isolate;
	background: var(--panel); color: var(--on-panel);
	border-radius: var(--r-md);
	padding: 30px 26px 26px;
	box-shadow: var(--shadow-wall);
	max-width: 480px; width: 100%; margin-inline: auto;
}
.tableau--wide { max-width: none; }
.tableau__screw {
	position: absolute; width: 10px; height: 10px; border-radius: 50%;
	background: linear-gradient(135deg, transparent 44%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.45) 56%, transparent 57%), #50575c;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.tableau__screw--tl { top: 10px; left: 10px; }
.tableau__screw--tr { top: 10px; right: 10px; transform: rotate(60deg); }
.tableau__screw--bl { bottom: 10px; left: 10px; transform: rotate(20deg); }
.tableau__screw--br { bottom: 10px; right: 10px; transform: rotate(110deg); }

.tableau__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-panel); }
.tableau__mono { width: 44px; height: 44px; opacity: 0.92; }
.tableau__family { flex: 1; min-width: 0; }
.tableau__family .slot__main { font-size: 1.25rem; letter-spacing: 0.14em; }
.tableau__grille {
	width: 52px; height: 52px; border-radius: 50%; flex: none;
	background-image: radial-gradient(circle, var(--panel-deep) 1.7px, transparent 2px);
	background-size: 8px 8px; background-position: center;
	box-shadow: inset 0 0 0 1px var(--line-panel);
}
.tableau__rows { margin-top: 10px; display: grid; }
.tableau__foot { margin-top: 18px; color: var(--muted-on-panel); font-size: 0.9375rem; }
.tableau__foot a { color: var(--on-panel); }

.slot {
	display: grid; gap: 1px; min-width: 0;
	background: var(--surface); color: var(--ink);
	border-radius: var(--r-sm); padding: 9px 14px 8px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.slot__main {
	font-family: var(--font-display); font-weight: 650; font-size: 1.0625rem; line-height: 1.15;
	letter-spacing: 0.05em; text-transform: uppercase;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slot__sub { font-size: 0.8125rem; line-height: 1.3; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bell-row + .bell-row { border-top: 1px solid var(--line-panel); }
.bell-row__link, .bell-row__static {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 18px;
	padding: 14px 4px; text-decoration: none; color: inherit;
}
.bell-row__link { border-radius: var(--r-sm); }
.bell-row__state {
	font-family: var(--font-display); font-weight: 650; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--muted-on-panel); white-space: nowrap;
}
.is-free .bell-row__state { color: var(--accent); }
.bell-row--rented .slot { background: #d9dcd8; }
.bell-row--rented .slot__main { color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
	.bell-row__link .slot { transition: background-color 200ms var(--ease-out); }
	.bell-row__link:hover .slot { background: #fff; }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section--panel { background: var(--panel); color: var(--on-panel); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { max-width: 58ch; }
.section-head--split { gap: 20px 48px; }
@media (min-width: 960px) {
	.section-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- Liste freier Einheiten ---------- */

.unit-list { border-top: 1px solid var(--ink); }
.unit-row { border-bottom: 1px solid var(--line); }
.unit-row__link {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 6px 18px; align-items: center;
	padding: 22px 4px; text-decoration: none; color: inherit;
	transition: background-color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.unit-row__link:hover { background: rgba(255, 255, 255, 0.55); }
	.unit-row__link:hover .unit-row__go { transform: translateX(4px); }
}
.unit-row .bell { grid-row: span 2; align-self: start; margin-top: 2px; }
.unit-row__title { font-family: var(--font-body); font-weight: 450; font-size: clamp(1.3125rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.15; letter-spacing: -0.02em; }
.unit-row__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--ink-soft); font-size: 1rem; }
.unit-row__meta .num { color: var(--ink); font-weight: 600; }
.unit-row__go { grid-column: 3; grid-row: 1 / span 2; transition: transform 200ms var(--ease-out); }
.unit-row__when { color: var(--ink); font-weight: 600; }
.unit-row__flag {
	display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill);
	background: var(--panel); color: var(--on-panel); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em;
}
.unit-row__flag--draft { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--steel); }
@media (min-width: 900px) {
	.unit-row__link { grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1.4fr) 28px; }
	.unit-row .bell { grid-row: auto; margin-top: 0; align-self: center; }
	.unit-row__head { grid-column: 2; }
	.unit-row__meta { grid-column: 3; justify-content: flex-end; }
	.unit-row__go { grid-row: auto; grid-column: 4; }
}
.unit-row__where { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 1rem; }

.empty {
	display: grid; gap: 28px; padding: clamp(28px, 4vw, 48px);
	background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 960px) { .empty { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.empty__title { font-family: var(--font-body); font-weight: 300; font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem); line-height: 1.05; letter-spacing: -0.03em; }
.empty p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- Häuser ---------- */

.houses-wohnen { display: grid; gap: clamp(48px, 6vw, 72px); }
@media (min-width: 960px) {
	.houses-wohnen { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 48px; }
	.houses-wohnen > .house:nth-child(2) { margin-top: 140px; }
}
.house { display: grid; gap: 30px; }
.house__body { display: grid; gap: 10px; }
.house__title { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem); }
.house__title a { text-decoration: none; }
.house__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.house__place { color: var(--ink-soft); font-weight: 600; }
.house__text { max-width: 50ch; }
.house__free { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 4px; }
.house__free .bell { --size: 20px; box-shadow: inset 0 -2px 0 rgba(31, 35, 38, 0.28), 0 0 0 2px var(--panel-deep); }
.house__free .bell::after { inset: -3px; border-width: 2px; }

.gewerbe-band {
	margin-top: clamp(72px, 9vw, 128px);
	background: var(--panel); color: var(--on-panel);
	border-radius: var(--r-md);
	display: grid; overflow: hidden;
}
@media (min-width: 960px) { .gewerbe-band { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.gewerbe-band__body { padding: clamp(32px, 5vw, 64px); display: grid; gap: 16px; align-content: center; }
.gewerbe-band__body .lead { color: var(--muted-on-panel); }
.gewerbe-band { overflow: visible; }
.gewerbe-band .media { border-radius: var(--r-md) var(--r-md) 0 0; height: 100%; margin-bottom: 0; }
@media (min-width: 960px) { .gewerbe-band .media { border-radius: var(--r-md) 0 0 var(--r-md); } }
@media (max-width: 959px) { .gewerbe-band__body { padding-top: clamp(56px, 9vw, 72px); } }
.gewerbe-band .media--plate { min-height: 320px; background-color: #31373b; }

/* Medien: Foto mit Hausnummer-Ecke oder Schild als Platzhalter */
.media { position: relative; border-radius: var(--r-md); }
.media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.media--photo { aspect-ratio: 3 / 2; margin-bottom: clamp(22px, 2.6vw, 34px); }
.media--empty { background: #e2e4e0 var(--texture); box-shadow: inset 0 0 0 1px var(--line); }
.media--photo .plate { position: absolute; left: clamp(-18px, -1.5vw, -10px); bottom: clamp(-26px, -2vw, -16px); --plate: clamp(64px, 7vw, 96px); }
.media--plate {
	aspect-ratio: 3 / 2; display: grid; place-items: center;
	background: #e2e4e0 var(--texture);
	box-shadow: inset 0 0 0 1px var(--line);
}
.media--plate .plate { --plate: clamp(120px, 16vw, 200px); }
.media__note { position: absolute; right: 14px; bottom: 12px; font-size: 0.8125rem; color: var(--ink-soft); }
.gewerbe-band .media__note, .on-panel .media__note { color: var(--muted-on-panel); }

.plate {
	--plate: 120px;
	display: grid; place-items: center; align-content: center;
	min-width: var(--plate); height: var(--plate); padding: 0 calc(var(--plate) * 0.18);
	background: var(--panel); color: var(--on-panel);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-wall), inset 0 0 0 calc(var(--plate) * 0.035) var(--panel), inset 0 0 0 calc(var(--plate) * 0.05) var(--muted-on-panel);
}
.plate__num { font-family: var(--font-display); font-weight: 600; font-size: calc(var(--plate) * 0.62); line-height: 0.9; letter-spacing: -0.02em; }
.plate__street { font-family: var(--font-display); font-weight: 650; font-size: calc(var(--plate) * 0.1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-panel); margin-top: calc(var(--plate) * 0.04); }
.media--photo .plate__street { display: none; }
.gewerbe-band .media--plate .plate { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 26px 50px -22px rgba(0,0,0,.6), inset 0 0 0 calc(var(--plate) * 0.035) var(--bg), inset 0 0 0 calc(var(--plate) * 0.05) var(--ink-soft); }
.gewerbe-band .media--plate .plate__street { color: var(--ink-soft); }

/* ---------- Haltung ---------- */

.statement { display: grid; gap: 28px; }
@media (min-width: 960px) { .statement { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: end; } }
.statement__quote { font-size: clamp(2.375rem, 1.4rem + 4vw, 4.5rem); line-height: 1; }
.statement__quote em { font-style: normal; color: var(--ink-soft); }
.statement__text { display: grid; gap: 16px; max-width: 46ch; }

/* ---------- Ankauf-Band ---------- */

.ankauf { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .ankauf { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.ankauf h2 { font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem); line-height: 1; }
.ankauf__text { display: grid; gap: 20px; }
.ankauf__text .lead { color: var(--muted-on-panel); }
.ankauf .tableau { background: var(--panel-deep); box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 30px 60px -24px rgba(0,0,0,.65); }
.ankauf .tableau__screw { background: linear-gradient(135deg, transparent 44%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.5) 56%, transparent 57%), #454c51; }
.on-panel .textlink { color: var(--on-panel); }

/* ---------- Fragen ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 16px;
	min-height: 72px; padding: 14px 0; cursor: pointer; list-style: none;
	font-family: var(--font-body); font-weight: 450; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.25; letter-spacing: -0.015em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__sign { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--steel); transition: background-color 200ms var(--ease-out); }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); translate: -50% -50%; transition: transform 240ms var(--ease-out); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign { background: var(--accent); box-shadow: none; }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
@media (hover: hover) { .faq__q:hover .faq__sign { background: rgba(31, 35, 38, 0.06); } .faq__item[open] .faq__q:hover .faq__sign { background: var(--accent); } }
.faq__a { padding: 0 60px 26px 0; max-width: 72ch; color: var(--ink-soft); }
.faq__a > * + * { margin-top: 0.8em; }
.faq-wrap { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } }

/* ---------- Kontakt-Abschluss ---------- */

.closing { display: grid; gap: 36px; }
@media (min-width: 960px) { .closing { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; } }
.closing__lines { display: grid; gap: 6px; }
.bigline {
	display: inline-flex; align-items: center; gap: 16px; min-height: 56px;
	font-family: var(--font-body); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.875rem); line-height: 1.05;
	text-decoration: none; letter-spacing: -0.03em;
}
.bigline .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.bigline span { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 0.15em; transition: text-decoration-color 200ms var(--ease-out); }
@media (hover: hover) { .bigline:hover span { text-decoration-color: var(--accent); } }

/* ---------- Seitenkopf innen ---------- */

.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 80px); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 22px; }
.page-head__sub { display: block; margin-top: 16px; font-family: var(--font-body); font-weight: 500; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.3; letter-spacing: 0; color: var(--ink-soft); }
.on-panel .page-head__sub { color: var(--muted-on-panel); }
.crumbs { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.on-panel .crumbs { color: var(--muted-on-panel); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
	text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1px var(--steel);
	transition: background-color 180ms var(--ease-out);
}
.filters a:hover { background: rgba(31, 35, 38, 0.06); }
.filters a[aria-current="true"] { background: var(--panel); color: var(--on-panel); box-shadow: none; }

/* ---------- Objekt-Detail ---------- */

.objekt-hero { display: grid; gap: clamp(40px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .objekt-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.objekt-hero__text { display: grid; gap: 22px; }
.objekt-hero__text .tableau { margin: 10px 0 0; max-width: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.875rem; color: var(--ink-soft); }
.facts dd { font-family: var(--font-body); font-weight: 400; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; }
.facts--big div:first-child dd { font-size: 2.25rem; font-weight: 300; letter-spacing: -0.03em; }
.two-col { display: grid; gap: 48px; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.other-houses { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.other-houses a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.02em; }
.other-houses small { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--ink-soft); }

/* ---------- Einheit-Detail ---------- */

.unit-layout { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1040px) { .unit-layout { grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 64px; } }
.unit-main { display: grid; gap: clamp(40px, 5vw, 64px); }
.unit-side { position: relative; }
@media (min-width: 1040px) { .unit-side { position: sticky; top: 104px; } }
.ring-panel { background: var(--panel); color: var(--on-panel); border-radius: var(--r-md); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-wall); }
.ring-panel__head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line-panel); }
.ring-panel__title { font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.ring-panel__phone { margin-top: 18px; color: var(--muted-on-panel); font-size: 0.9375rem; }
.ring-panel__phone a { color: var(--on-panel); font-weight: 600; }
.status-note { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--panel); color: var(--on-panel); font-weight: 600; font-size: 0.9375rem; }
.status-note--draft { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--steel); }
.energy { padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.energy h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 10px; }
.energy dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 1rem; }
.energy dt { color: var(--ink-soft); }
.ausstattung { columns: 2 240px; column-gap: 32px; }
.ausstattung li { break-inside: avoid; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ausstattung li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--panel); }

/* ---------- Formulare ---------- */

.jform { display: grid; gap: 20px; }
.jform__grid { display: grid; gap: 16px 18px; }
@media (min-width: 640px) { .jform__grid { grid-template-columns: 1fr 1fr; } .jform__field--wide { grid-column: 1 / -1; } }
.ring-panel .jform__grid { grid-template-columns: 1fr; }
.jform__field { display: grid; gap: 6px; }
.jform label { font-weight: 600; font-size: 0.9375rem; }
.jform__opt { font-weight: 400; color: var(--ink-soft); }
.on-panel .jform__opt, .ring-panel .jform__opt { color: var(--muted-on-panel); }
.jform input[type="text"], .jform input[type="email"], .jform input[type="tel"], .jform select, .jform textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: var(--surface); color: var(--ink);
	border: 1px solid #c3c7c2; border-radius: var(--r-sm);
	font-size: 1rem; caret-color: var(--ink);
	transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.jform textarea { resize: vertical; min-height: 110px; }
.jform input:focus, .jform select:focus, .jform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 178, 51, 0.55); }
.ring-panel .jform input, .ring-panel .jform select, .ring-panel .jform textarea, .on-panel .jform input, .on-panel .jform select, .on-panel .jform textarea { border-color: transparent; }
.ring-panel .jform input:focus, .ring-panel .jform textarea:focus, .ring-panel .jform select:focus, .on-panel .jform input:focus, .on-panel .jform textarea:focus { box-shadow: 0 0 0 3px var(--accent); }
.jform__consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; }
.jform__consent label { font-weight: 400; }
.jform__consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.jform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jform__error { padding: 12px 16px; border-radius: var(--r-sm); background: #f7e3b3; color: var(--ink); font-weight: 600; }
.jform .btn { justify-self: start; }
.ring-panel .jform .btn { width: 100%; justify-content: center; }
.form-done { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px; border-radius: var(--r-md); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.form-done__title { font-family: var(--font-body); font-weight: 400; font-size: 1.625rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-done .bell { box-shadow: inset 0 -3px 0 rgba(31,35,38,.28), 0 0 0 4px var(--panel); }

/* ---------- Footer ---------- */

.site-footer { background: var(--panel-deep); color: var(--on-panel); padding-block: clamp(56px, 7vw, 96px) 28px; }
.site-footer a { color: var(--on-panel); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); } }
.footer-brand img { height: 18px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--muted-on-panel); max-width: 34ch; }
.footer-col h2 { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-panel); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-panel); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-on-panel); font-size: 0.9375rem; }

/* ---------- 404 ---------- */

.notfound { padding-block: clamp(56px, 10vw, 140px); display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .notfound { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.js .bell[data-light]:not(.is-on)::after { border-color: var(--accent); }
}

@media print {
	.site-header, .site-footer, .mobile-nav, .unit-side, .hero__actions { display: none !important; }
	body { background: #fff; }
}

/* ---------- Ergänzungen ---------- */
.lead a, .empty p a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.jform [aria-invalid="true"] { border-color: #b4562a !important; box-shadow: 0 0 0 3px rgba(180, 86, 42, 0.25) !important; }
.ring-panel .jform__consent a, .on-panel .jform__consent a { color: var(--on-panel); text-decoration-color: var(--accent); }
.hero .crumbs, .ankauf .crumbs { margin-bottom: 28px; }

/* ---------- Edel: hervorgehobene freie Einheit ---------- */
.feature { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.feature__media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: #dfe1dd; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .feature__media:hover img { transform: scale(1.02); } }
.feature__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.feature__thumbs img { border-radius: var(--r-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature__body { display: grid; gap: 18px; align-content: center; }
.feature__status { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.feature__status .bell { --size: 18px; box-shadow: inset 0 -2px 0 rgba(31,35,38,.28), 0 0 0 2px var(--panel-deep); }
.feature__status .bell::after { inset: -3px; border-width: 2px; }
.feature__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.feature__title a { text-decoration: none; }
.feature__where { color: var(--ink-soft); font-weight: 500; }
.feature .facts { margin-top: 6px; }
.feature .facts div:first-child dd { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; }

/* ---------- Miete im Detail ---------- */
.rent { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.rent caption { text-align: left; margin-bottom: 14px; }
.rent th, .rent td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.rent td { text-align: right; white-space: nowrap; padding-left: 24px; }
.rent tr.rent__sub th { padding-left: 18px; color: var(--ink-soft); font-size: 0.9375rem; }
.rent tr.rent__sub td { color: var(--ink-soft); font-size: 0.9375rem; }
.rent tfoot th, .rent tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 600; font-size: 1.125rem; padding-top: 16px; }

.plan { background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(12px, 2vw, 24px); }
.plan img { width: 100%; height: auto; }
.plan figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-soft); }

.ankauf-strip { display: grid; gap: 18px; align-items: center; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .ankauf-strip { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.ankauf-strip h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
.ankauf-strip p { color: var(--ink-soft); margin-top: 8px; max-width: 60ch; }

.vermieter { font-size: 0.9375rem; color: var(--ink-soft); }

/* ---------- Korrekturen nach Sichtprüfung ---------- */
.crumbs ol, .footer-col ul, .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.faq-wrap .section-head { align-content: start; }

.unit-title { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem); max-width: 18ch; }
@media (max-width: 600px) {
	.slot__main, .slot__sub { white-space: normal; }
	.bell-row__link, .bell-row__static { gap: 12px; }
	.tableau { padding: 26px 16px 20px; }
}
.prose ul.wp-block-list { list-style: disc; }
.prose ol.wp-block-list { list-style: decimal; }
.prose li::marker { color: var(--ink-soft); }

/* ---------- Fotos ohne Beschnitt ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.mosaic__item { display: block; overflow: hidden; border-radius: var(--r-md); background: #dfe1dd; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform 700ms var(--ease-out); }
.mosaic--3 .mosaic__item:first-child { grid-row: span 2; }
.mosaic--3 .mosaic__item:first-child img { aspect-ratio: auto; }
.mosaic--1 { grid-template-columns: 1fr; }
.mosaic--1 .mosaic__item img, .mosaic--2 .mosaic__item img { aspect-ratio: auto; max-height: 80vh; }
@media (hover: hover) and (pointer: fine) { .mosaic__item:hover img { transform: scale(1.015); } }

.gallery { display: block; columns: 3 200px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: auto; border-radius: 0; object-fit: initial; }
.plan a { display: block; cursor: zoom-in; }
a.lb { cursor: zoom-in; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(31, 35, 38, 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: var(--r-md); }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--on-panel); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out); }
.lightbox__btn:active { transform: scale(0.95); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--on-panel); font-size: 0.9375rem; }
.icon--flip { transform: scaleX(-1); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; translate: none; } .lightbox__count { bottom: 28px; } }
.mosaic--3 .mosaic__item:first-child { position: relative; min-height: 100%; }
.mosaic--3 .mosaic__item:first-child img { position: absolute; inset: 0; }

/* ---------- Interaktiver Grundriss ---------- */
.plan--interactive { padding: clamp(16px, 2.5vw, 28px); }
.plan__hint { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 0.9375rem; color: var(--ink-soft); }
.plan__hint .bell--sm::after { border-color: var(--accent); }
.iplan { width: 100%; height: auto; display: block; }
.iplan .ip-static { pointer-events: none; }
.iplan .ip-room { cursor: pointer; outline: none; }
.iplan .ip-fill { transition: fill 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .iplan .ip-room:hover .ip-fill { fill: #f8e7bf; } }
.iplan .ip-room:focus-visible .ip-fill { fill: #f8e7bf; stroke: var(--ink); stroke-width: 5; }
.iplan .ip-room.is-active .ip-fill { fill: #f4d58c; }
.iplan text { pointer-events: none; }
.ip-lbl { font-family: var(--font-display); font-weight: 650; font-size: 25px; letter-spacing: 2.4px; fill: var(--ink); }
.ip-lbl-s { font-family: var(--font-display); font-weight: 650; font-size: 20px; letter-spacing: 2px; fill: var(--ink); }
.ip-area { font-family: var(--font-body); font-size: 24px; fill: var(--ink); }
.ip-area-s { font-family: var(--font-body); font-size: 19px; fill: var(--ink); }
.ip-dim { font-family: var(--font-body); font-size: 17px; fill: var(--ink-soft); }
.ip-small { font-family: var(--font-display); font-weight: 650; font-size: 18px; letter-spacing: 2.2px; fill: var(--ink-soft); }
.ip-pill { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 2.4px; fill: var(--on-panel); }
.plan__rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: background-color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.plan__chip .num { font-weight: 400; color: var(--ink-soft); }
.plan__chip:active { transform: scale(0.97); }
@media (hover: hover) { .plan__chip:hover { background: #f8e7bf; } }

.room-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-md); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(31, 35, 38, 0.6); overflow: hidden; }
.room-dialog::backdrop { background: rgba(31, 35, 38, 0.62); }
.room-dialog[open] { display: flex; flex-direction: column; animation: room-in 260ms var(--ease-out); }
@keyframes room-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
.room-dialog__inner { display: grid; overflow-y: auto; }
@media (min-width: 860px) { .room-dialog__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.room-dialog__media { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px; background: #e4e6e2; overscroll-behavior-x: contain; }
.room-dialog__media.is-empty { align-items: center; justify-content: center; min-height: 180px; }
.room-dialog__photo { flex: 0 0 auto; width: min(78vw, 420px); scroll-snap-align: center; margin: 0; }
.room-dialog__media:has(.room-dialog__photo:only-child) { justify-content: center; }
.room-dialog__photo img { width: 100%; height: auto; max-height: 68dvh; object-fit: contain; border-radius: var(--r-sm); }
.room-dialog__nophoto { color: var(--ink-soft); }
.room-dialog__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.room-dialog__title { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); padding-right: 56px; }
.room-dialog__facts { display: flex; gap: 32px; border-top: 1px solid var(--ink); padding-top: 14px; }
.room-dialog__facts dt { font-size: 0.875rem; color: var(--ink-soft); }
.room-dialog__facts dd { font-size: 1.375rem; font-weight: 400; }
.room-dialog__text { color: var(--ink-soft); max-width: 46ch; }
.room-dialog__count { font-size: 0.875rem; color: var(--ink-soft); }
.room-dialog__nav { display: flex; justify-content: space-between; gap: 12px; padding: 12px clamp(14px, 2vw, 20px); border-top: 1px solid var(--line); background: var(--surface); }
.room-dialog__step { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 600; cursor: pointer; transition: background-color 180ms var(--ease-out); }
@media (hover: hover) { .room-dialog__step:hover { background: var(--bg); } }
.room-dialog__close { position: absolute; top: 14px; right: 14px; background: var(--panel); color: var(--on-panel); z-index: 2; }
.room-dialog__media-wrap { position: relative; min-width: 0; }
.room-dialog__media-wrap .room-dialog__media { height: 100%; }
.room-dialog__pbtn { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px -4px rgba(31,35,38,.45); transition: transform 140ms var(--ease-out); }
.room-dialog__pbtn:active { transform: scale(0.95); }
.room-dialog__pbtn--prev { left: 22px; }
.room-dialog__pbtn--next { right: 22px; }
.room-dialog__pbtn .icon { width: 20px; height: 20px; }

/* ---------- Selbstauskunft ---------- */
.sa-wrap { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (min-width: 1040px) { .sa-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sa-intro { display: grid; gap: 18px; }
.sa-facts { display: grid; gap: 10px; margin-top: 6px; }
.sa-facts li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.sa-facts li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--panel); }
.sa__toggle > summary { list-style: none; cursor: pointer; display: inline-flex; }
.sa__toggle > summary::-webkit-details-marker { display: none; }
.sa__toggle[open] > summary { display: none; }
.sa__form { margin-top: 0; padding: clamp(20px, 3vw, 36px); background: var(--bg); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); gap: 26px; }
.sa__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.sa__set legend { padding: 0; margin-bottom: 14px; font-family: var(--font-display); font-weight: 650; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.jform__help { font-size: 0.8125rem; color: var(--ink-soft); }
