/* ==========================================================================
   Bias – Gestaltung nach Figma „Website“ (Rahmen 1728 px breit, Rand 150 px).
   --u = 1 Figma-Pixel, skaliert mit der Fensterbreite (max. 1px).
   ========================================================================== */

@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--navy: #16313a;
	--tinte: var(--navy); /* war #001631, vereinheitlicht */
	--grau: var(--tint); /* war #f3f4f5, vereinheitlicht */
	--tint: #f3f5f5; /* Navy mit 5 % Deckkraft auf Weiß */
	--weiss: #fff;
	--u: min(1px, calc(100vw / 1728));
	--rand: max(20px, calc(150 * var(--u)));
	--radius: 0; /* Fotos eckig, wie im Figma-Entwurf gewünscht */

	/* ===== Einheitliche Linie (11.11.2026) =====
	   Schriften: Newsreader (--serif) für Überschriften, Zitate, Preise – immer 300, Dachzeilen kursiv.
	              Public Sans (--sans) für Text und Bedienung – überall 200 (seit 11.11.2026; gewählter Filter 100).
	   Größen: nur diese Stufen verwenden. */
	--fs-display: max(40px, calc(76 * var(--u)));  /* Einstieg, große Abschnittstitel */
	--fs-h1: max(34px, calc(60 * var(--u)));       /* Seitentitel */
	--fs-h2: max(30px, calc(46 * var(--u)));       /* Abschnittstitel */
	--fs-h3: max(24px, calc(32 * var(--u)));       /* Unterüberschriften, Hausnamen, Preise */
	--fs-h4: max(20px, calc(26 * var(--u)));       /* kleine Überschriften, Kartennamen, Dachzeilen bei großen Titeln */
	--fs-lead: max(19px, calc(26 * var(--u)));     /* Einleitungstexte unter Titeln */
	--fs-nav: max(17px, calc(21 * var(--u)));      /* Hauptmenü */
	--fs-text: max(17px, calc(19 * var(--u)));     /* Fließtext, Eckdaten, Felder */
	--fs-klein: 15px;                              /* Hinweise, Beschriftungen, Kleingedrucktes */
	--fs-ui: 16px;                                 /* Knöpfe */
	/* Rundungen: Knöpfe/Schalter ganz rund, Felder/Kästen/Hinweise/Kalender leicht, Fotos eckig (--radius). */
	--radius-rund: 999px;
	--radius-feld: 6px;
	--schatten: 0 1px 2px rgba(22, 49, 58, .05), 0 18px 40px -22px rgba(22, 49, 58, .22); /* Kästen, Kalender */
	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--weiss); color: var(--navy); font-family: var(--sans); font-weight: 200; font-size: var(--fs-text); line-height: 1.5; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-rund); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Bausteine ---------- */

.titel { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.01em; }
.unter { font-family: var(--serif); font-weight: 300; font-size: var(--fs-lead); line-height: 1.185; max-width: 660px; margin-top: max(14px, calc(15 * var(--u))); }
.abschnitt-kopf { padding-inline: var(--rand); }

.knopf {
	display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 9px 19px;
	border-radius: var(--radius-rund); background: var(--navy); color: var(--weiss); border: 1px solid var(--navy);
	font-family: var(--sans); font-weight: 200; font-size: var(--fs-ui); line-height: 1.2; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.knopf:hover { background: transparent; color: var(--navy); } /* gefüllt → Rand, wie .knopf--rand umgekehrt */
.knopf--fett { font-weight: 200; }
.knopf--rand { background: transparent; color: var(--navy); }
.knopf--rand:hover { background: var(--navy); color: var(--weiss); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: max(24px, calc(32 * var(--u))); }

.pfeilknopf { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--navy); }
.pfeilknopf:disabled { opacity: .2; cursor: default; }
.pfeil { width: 27px; height: 12px; }
.pfeilknopf:not(:disabled):hover .pfeil { transform: scale(1.12); }
.pfeil { transition: transform .2s; }

.logo-platzhalter { display: block; width: max(70px, calc(122 * var(--u))); aspect-ratio: 122 / 98; background: #d9d9d9; }
.logo-platzhalter--hell { background: rgba(255, 255, 255, .25); }
.logo { display: block; height: max(64px, calc(110 * var(--u))); width: auto; } /* Logo-Entwurf, hochkant */

/* ---------- Kopf ---------- */

.kopf { position: relative; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; padding: max(16px, calc(41 * var(--u))) var(--rand) 0; }
.kopf__logo { display: block; }
.kopf__nav ul { display: flex; gap: max(28px, calc(53 * var(--u))); }
.kopf__nav a { font-family: var(--sans); font-weight: 200; font-size: var(--fs-nav); line-height: 1; text-decoration: none; padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.kopf__nav a:hover, .kopf__nav a[aria-current] { background-size: 100% 1px; }
.kopf__nav { padding-top: calc(17 * var(--u)); }
.kopf__menueknopf { display: none; }

/* ---------- 1 · Einstieg ---------- */

.held { position: relative; min-height: calc(913 * var(--u)); }
.held__text { width: calc(879 * var(--u)); padding: calc(300 * var(--u)) calc(60 * var(--u)) calc(120 * var(--u)) var(--rand); }
.held__titel { font-family: var(--serif); font-weight: 300; font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.012em; margin-bottom: max(10px, calc(12 * var(--u))); }
.held__unter { font-family: var(--serif); font-weight: 300; font-size: var(--fs-lead); line-height: 1.185; max-width: 660px; }
.held__unter + .held__unter { margin-top: max(12px, calc(18 * var(--u))); }
.held .knopf { margin-top: max(20px, calc(22 * var(--u))); }
.held__bild { position: absolute; top: 0; right: 0; bottom: 0; width: calc(100% - 879 * var(--u)); }
.held__bild img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 2 · Leiste ---------- */

.leiste { background: var(--grau); padding: max(32px, calc(70 * var(--u))) var(--rand); }
.leiste__liste { display: flex; justify-content: space-between; gap: 24px; } /* volle Inhaltsbreite: letzter Punkt endet am rechten Rand */
.leiste li { display: flex; align-items: flex-start; gap: max(12px, calc(22 * var(--u))); color: var(--tinte); }
.leiste .icon { flex: none; width: max(34px, calc(48 * var(--u))); height: max(30px, calc(42 * var(--u))); }
.leiste strong { display: block; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.1; margin-bottom: max(4px, calc(10 * var(--u))); }
.leiste span { font-family: var(--sans); font-weight: 200; font-size: var(--fs-text); line-height: 1.2; }

/* ---------- 3 · Gruß ---------- */

.gruss { position: relative; overflow-x: clip; min-height: calc(877 * var(--u)); padding: calc(236 * var(--u)) var(--rand) calc(120 * var(--u)); }
.gruss__zitat { width: calc(802 * var(--u)); }
.gruss blockquote p { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.394; }
.gruss figcaption { margin-top: max(12px, calc(26 * var(--u))); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h4); }
.gruss__bilder img { position: absolute; object-fit: cover; border-radius: var(--radius); }
.gruss__gross { left: calc(1166 * var(--u)); top: calc(138 * var(--u)); width: calc(613 * var(--u)); height: calc(601 * var(--u)); }
.gruss__klein { left: calc(980 * var(--u)); top: calc(550 * var(--u)); width: calc(311 * var(--u)); height: calc(249 * var(--u)); }

/* ---------- 4 · Häuser ---------- */

.haeuser { background: var(--tint); padding-top: max(64px, calc(131 * var(--u))); }
.haeuser__buehne { position: relative; margin-top: max(32px, calc(61 * var(--u))); height: calc(843 * var(--u)); }
.haus { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.haus.ist-aktiv { z-index: 2; opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.haus.war-aktiv { z-index: 1; opacity: 1; visibility: visible; transition: none; } /* bleibt darunter stehen, bis das neue Haus eingeblendet ist */
/* Der weiße Kasten bleibt ruhig stehen, nur der Text wechselt: alter Text blendet aus, neuer danach ein. */
.haus__karte > * { transition: opacity .3s ease .3s; }
.haus:not(.ist-aktiv) .haus__karte > * { opacity: 0; transition: opacity .2s ease; }
.haus__bild { position: absolute; left: 0; top: 0; width: calc(1154 * var(--u)); height: 100%; overflow: hidden; border-radius: 0 var(--radius) 0 0; }
.haus__bild img { width: 100%; height: 100%; object-fit: cover; }
.haus__karte { position: absolute; left: calc(1001 * var(--u)); top: calc(315 * var(--u)); width: max(340px, calc(456 * var(--u))); min-height: calc(445 * var(--u)); padding: max(28px, calc(51 * var(--u))) max(26px, calc(39 * var(--u))); background: var(--weiss); border-radius: var(--radius); display: flex; flex-direction: column; }
.haus__name { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.17; }
.haus__art { display: block; font-style: italic; font-weight: 300; }
.haus__text { margin-top: max(8px, calc(10 * var(--u))); font-weight: 200; font-size: var(--fs-text); line-height: 1.25; }
.haus__fakten { margin-top: auto; padding-top: max(20px, calc(40 * var(--u))); display: grid; gap: max(10px, calc(16 * var(--u))); }
.haus__fakten li { display: flex; align-items: center; gap: max(12px, calc(16 * var(--u))); font-family: var(--serif); font-size: var(--fs-text); }
.haus__fakten .icon { width: 20px; height: 22px; flex: none; }
.haus__karte .knopf { align-self: flex-start; margin-top: max(20px, calc(32 * var(--u))); }
.haeuser__pfeile { position: absolute; z-index: 3; left: calc(1384 * var(--u)); top: calc(250 * var(--u)); display: flex; }

/* ---------- 5 · Wohnungen ---------- */

.wohnungen { padding-top: max(64px, calc(159 * var(--u))); }
.abschnitt-kopf--mit-pfeilen { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.wohnungen__pfeile { display: flex; margin-right: calc(-10 * var(--u)); }
.spur { display: grid; grid-auto-flow: column; grid-auto-columns: max(260px, calc(574 * var(--u))); gap: max(16px, calc(33 * var(--u))); margin-top: max(24px, calc(15 * var(--u))); padding: 0 var(--rand) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none; overscroll-behavior-x: contain; }
.spur::-webkit-scrollbar { display: none; }
.karte { scroll-snap-align: start; }
.karte a { position: relative; display: block; text-decoration: none; }
.karte__bild { width: 100%; aspect-ratio: 574 / 547; object-fit: cover; border-radius: var(--radius); transition: transform .35s ease; }
.karte a:hover .karte__bild { transform: scale(1.015); }
.karte__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: max(12px, calc(25 * var(--u))); }
.karte__name { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.2; }
.karte__preis { flex: none; font-family: var(--serif); font-weight: 300; font-size: var(--fs-text); }
.karte__fakten { display: block; margin-top: 2px; font-weight: 200; font-size: var(--fs-text); }
.wohnungen__fuss { padding: max(20px, calc(28 * var(--u))) var(--rand) 0; font-weight: 200; font-size: var(--fs-klein); }
.wohnungen__fuss a { margin-left: .5em; font-weight: 200; text-underline-offset: 3px; }

/* ---------- 6 · Insel ---------- */

.insel { position: relative; margin-top: max(64px, calc(150 * var(--u))); margin-bottom: max(40px, calc(78 * var(--u))); }
.insel__bild { width: 100%; height: max(420px, calc(1065 * var(--u))); object-fit: cover; }
.insel__titel { position: absolute; left: calc(var(--rand) - 4 * var(--u)); top: calc(189 * var(--u)); font-family: var(--serif); font-weight: 300; font-size: var(--fs-display); line-height: 1.1; letter-spacing: -0.01em; }
.insel__karte { position: absolute; left: calc(var(--rand) - 4 * var(--u)); bottom: calc(-78 * var(--u)); width: max(320px, calc(456 * var(--u))); min-height: calc(389 * var(--u)); padding: max(28px, calc(69 * var(--u))); background: var(--grau); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; }
.insel__karte p { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.21; }
.insel__karte .knopf { align-self: flex-start; margin-top: max(12px, calc(16 * var(--u))); }

/* ---------- 7 · Autofrei ---------- */

.autofrei { padding-top: max(56px, calc(141 * var(--u))); }
.autofrei .titel { line-height: 1.19; }
.autofrei .unter { margin-top: max(16px, calc(39 * var(--u))); }
.autofrei__bilder { display: grid; grid-template-columns: calc(821 * var(--u)) calc(577 * var(--u)); justify-content: space-between; padding: max(28px, calc(46 * var(--u))) var(--rand) 0; align-items: start; }
.autofrei figure img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.autofrei__bahn img { aspect-ratio: 821 / 574; }
.autofrei__turm { margin-top: calc(195 * var(--u)); }
.autofrei__turm img { aspect-ratio: 577 / 720; }
.autofrei figcaption { margin-top: max(10px, calc(20 * var(--u))); font-weight: 200; font-size: var(--fs-text); }

/* ---------- 8 · Anfrage ---------- */

.anfrage { margin-top: max(72px, calc(160 * var(--u))); background: var(--tint); padding: max(56px, calc(131 * var(--u))) var(--rand); display: grid; grid-template-columns: 1fr calc(577 * var(--u)); gap: 48px; align-items: end; }
.anfrage__infos { border-top: 1px solid rgba(22, 49, 58, .2); }
.anfrage__infos div { display: flex; justify-content: space-between; gap: 16px; padding: max(14px, calc(18 * var(--u))) 0; border-bottom: 1px solid rgba(22, 49, 58, .2); }
.anfrage__infos dt { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); }
.anfrage__infos dd { font-weight: 200; font-size: var(--fs-text); text-align: right; }
.anfrage__infos a { font-weight: 200; text-underline-offset: 3px; }

/* ---------- Fuß ---------- */

.fuss { background: var(--navy); color: var(--weiss); padding: max(56px, calc(100 * var(--u))) var(--rand) 28px; }
.fuss__innen { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
.fuss__claim { margin-top: 16px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); }
.fuss__kontakt { font-style: normal; font-weight: 200; font-size: var(--fs-text); line-height: 1.7; }
.fuss__kontakt strong { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss__nav { display: flex; gap: 48px; }
.fuss__nav li { font-weight: 200; font-size: var(--fs-text); line-height: 2; }
.fuss__copy { margin-top: max(48px, calc(80 * var(--u))); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-weight: 200; font-size: var(--fs-klein); }

/* ---------- Alte Seiten (Übergang) ---------- */

.schlicht { padding: max(48px, calc(120 * var(--u))) var(--rand) 96px; max-width: calc(1100px + 2 * var(--rand)); }
.schlicht__hinweis { display: inline-block; margin-bottom: 24px; padding: 6px 14px; border-radius: var(--radius-feld); background: var(--grau); font-size: var(--fs-klein); }
.schlicht__inhalt { margin-top: 32px; font-weight: 200; font-size: var(--fs-text); }
.schlicht__inhalt h2 { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); margin: 40px 0 12px; }
.schlicht__inhalt p { margin-bottom: 1em; }
.schlicht__inhalt iframe { width: 100%; border: 0; margin-bottom: 24px; }
.schlicht__inhalt img { margin-block: 12px; }

/* ==========================================================================
   Desktop: Kopf hell über dem Bild (Startseite)
   ========================================================================== */

@media (min-width: 1024px) {
	.kopf--hell { position: absolute; inset: 0 0 auto 0; }
	.kopf--hell .kopf__nav { color: var(--weiss); text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }
}

/* ==========================================================================
   Tablet & Handy
   ========================================================================== */

@media (max-width: 1023.98px) {
	:root { --rand: 20px; }
	@media (min-width: 640px) { :root { --rand: 40px; } }

	.kopf { align-items: center; padding-top: 16px; padding-bottom: 16px; }
	.kopf__menueknopf { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; cursor: pointer; }
	.kopf__striche, .kopf__striche::before, .kopf__striche::after { display: block; width: 24px; height: 1.5px; background: var(--navy); transition: transform .25s, opacity .25s; }
	.kopf__striche { position: relative; }
	.kopf__striche::before, .kopf__striche::after { content: ""; position: absolute; left: 0; }
	.kopf__striche::before { top: -7px; }
	.kopf__striche::after { top: 7px; }
	.kopf__menueknopf[aria-expanded="true"] .kopf__striche { background: transparent; }
	.kopf__menueknopf[aria-expanded="true"] .kopf__striche::before { transform: translateY(7px) rotate(45deg); }
	.kopf__menueknopf[aria-expanded="true"] .kopf__striche::after { transform: translateY(-7px) rotate(-45deg); }
	.kopf__nav { position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--rand) 24px; background: var(--weiss); box-shadow: 0 16px 24px -16px rgba(22, 49, 58, .25); display: none; }
	.kopf__nav.ist-offen { display: block; }
	.kopf__nav ul { flex-direction: column; gap: 0; }
	.kopf__nav a { display: block; padding: 14px 0; font-size: 22px; border-bottom: 1px solid var(--grau); background: none; }
	.js-aus .kopf__nav { display: block; position: static; box-shadow: none; padding: 0; }

	.held { min-height: 0; }
	.held__text { width: auto; padding: 24px var(--rand) 40px; }
	.held__bild { position: relative; width: 100%; aspect-ratio: 4 / 3; }

	.leiste__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }

	.gruss { min-height: 0; padding: 64px var(--rand) 56px; }
	.gruss__zitat { width: auto; }
	.gruss__bilder { position: relative; margin-top: 40px; padding-bottom: 12%; }
	.gruss__bilder img { position: static; }
	.gruss__gross { width: 78%; height: auto; aspect-ratio: 613 / 601; margin-left: auto; margin-right: calc(-1 * var(--rand)); border-radius: var(--radius) 0 0 var(--radius) !important; }
	.gruss__klein { position: absolute !important; left: 0; bottom: 0; width: 46%; height: auto; aspect-ratio: 311 / 249; }

	.haeuser__buehne { height: auto; display: grid; }
	.haus { position: relative; inset: auto; grid-area: 1 / 1; }

	.haus__bild { position: relative; width: calc(100% - var(--rand)); height: auto; aspect-ratio: 4 / 3; }
	.haus__karte { position: relative; left: auto; top: auto; width: auto; min-height: 0; margin: -56px var(--rand) 0; box-shadow: 0 2px 0 rgba(22, 49, 58, .04); }
	.haus__fakten { margin-top: 0; padding-top: 24px; }
	.haeuser__pfeile { position: static; justify-content: flex-end; padding: 0 var(--rand) 8px; }
	.haeuser { padding-bottom: 56px; }

	.spur { grid-auto-columns: min(78vw, 420px); }
	.wohnungen__pfeile { display: none; }

	.insel__bild { height: auto; aspect-ratio: 4 / 5; }
	.insel__titel { top: 32px; left: var(--rand); }
	.insel__karte { position: relative; left: auto; bottom: auto; width: auto; min-height: 0; margin: -72px var(--rand) 0; }
	.insel { margin-bottom: 0; }

	.autofrei__bilder { grid-template-columns: 1fr; gap: 32px; }
	.autofrei__turm { margin-top: 0; width: 78%; margin-left: auto; }

	.anfrage { grid-template-columns: 1fr; }

	.fuss__innen { grid-template-columns: 1fr; }
}

@media (max-width: 639.98px) {
	.leiste__liste { grid-template-columns: 1fr; }
	.abschnitt-kopf--mit-pfeilen { display: block; }
	.fuss__nav { gap: 32px; }
}

/* Wohnungs-Spur mit der Maus ziehen */
@media (pointer: fine) {
	.spur { cursor: grab; }
	.spur.zieht { cursor: grabbing; scroll-snap-type: none; user-select: none; }
	.spur.gleitet { scroll-snap-type: none; }
	.spur.zieht a { cursor: grabbing; }
	.spur.zieht .karte__bild { transform: none; }
}
.karte__bild { -webkit-user-drag: none; }

/* Belegungskalender (MU-Plugin haus-bias-kalender): Theme-Schriften statt Cormorant Garamond / DM Sans.
   "body .hbk", weil das Plugin seine eigenen Variablen inline nach diesem Stylesheet setzt. */
body .hbk { --hbk-serif: var(--serif); --hbk-sans: var(--sans); }

/* ---------- Belegungsplan (page-belegungsplan.php) ---------- */

.belegung { padding: max(48px, calc(120 * var(--u))) var(--rand) 96px; }
.belegung__filter { display: flex; flex-wrap: wrap; gap: 28px 56px; margin-top: max(32px, calc(48 * var(--u))); }
.belegung__filter[hidden] { display: none; }
.belegung__haus { display: block; margin-bottom: 14px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h3); line-height: 1.1; }
.belegung__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.belegung__knopf {
	min-height: 39px; padding: 8px 17px; border: 1px solid var(--navy); border-radius: var(--radius-rund); background: transparent;
	color: var(--navy); font-family: var(--sans); font-weight: 200; font-size: var(--fs-ui); line-height: 1.2; cursor: pointer;
	transition: background-color .2s, color .2s;
}
.belegung__knopf:hover, .belegung__knopf[aria-pressed="true"] { background: var(--navy); color: var(--weiss); }
.belegung__plaene { margin-top: max(32px, calc(48 * var(--u))); }
.belegung__plan + .belegung__plan { margin-top: 48px; }
.belegung__plan[hidden] { display: none; }
/* Belegungsplan: links Foto + Eckdaten der gewählten Wohnung, rechts der Kalender mit 3 Monaten
   (das Foto nimmt sozusagen den Platz des vierten Monats ein). Unter 1024 px: Foto + Text oben, Kalender darunter. */
.belegung__plan { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: max(24px, calc(40 * var(--u))); align-items: stretch; }
/* Kasten wie die Kalenderkarte des Plugins (weiß, gleicher Schatten); Foto randlos oben, Text darunter. */
.belegung__kopf { display: flex; flex-direction: column; overflow: hidden; background: var(--weiss); border-radius: var(--radius-feld); box-shadow: var(--schatten); }
.belegung__text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(18px, 1.8vw, 28px); }
.belegung__text .knopf { margin-top: auto; }
.belegung .hbk { margin: 0; }
/* Desktop: Kalender links, Wohnungskasten rechts (im HTML steht der Kasten zuerst, damit er mobil oben ist). */
@media (min-width: 1024px) { .belegung__kopf { order: 2; } }
.belegung__bild { display: block; overflow: hidden; }
.belegung__bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.belegung__bild:hover img { transform: scale(1.015); }
.belegung__dach { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-text); }
.belegung__name { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.05; margin: 2px 0 14px; }
.belegung__fakten { margin-bottom: 20px; font-size: var(--fs-text); line-height: 1.6; }
.belegung .hbk .hbk-monate { gap: 32px 36px; }
@container hbk (min-width: 600px) { .belegung .hbk .hbk-monate { --hbk-pro: 3; } }
@media (max-width: 1023.98px) {
	.belegung__plan { grid-template-columns: minmax(0, 1fr); }
	.belegung__kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.belegung__bild img { height: 100%; }
	.belegung__fakten { display: flex; flex-wrap: wrap; }
	.belegung__fakten li + li::before { content: ""; display: inline-block; width: 1px; height: .9em; margin: 0 12px; vertical-align: -1px; background: currentColor; opacity: .35; }
}
@media (max-width: 639.98px) { .belegung__kopf { grid-template-columns: minmax(0, 1fr); } .belegung__bild img { height: auto; } }

/* Buchungsanfrage unter dem Belegungsplan (Caldera Forms, an das Theme angepasst) */
.anfrage-form { margin-top: max(64px, calc(110 * var(--u))); }
.anfrage-form__titel { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.05; }
.anfrage-form__intro { margin-top: 14px; font-size: var(--fs-text); }
.anfrage-form__kasten { margin-top: max(24px, calc(36 * var(--u))); padding: clamp(20px, 3.4vw, 48px); background: var(--weiss); border-radius: var(--radius-feld); box-shadow: var(--schatten); }
.anfrage-form__hinweis { margin-top: 20px; padding: 18px 24px; background: var(--tint); border-radius: var(--radius-feld); font-size: var(--fs-klein); } /* Hintergrundton der Startseite (Häuser, Anfrage) */
/* Felder im 12er-Raster: groß 3 Spalten, Tablet 2, Handy 1 */
.anfrage-form .caldera-grid .row { margin: 0; }
.anfrage-form .caldera-grid [class*="col-"] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; float: none; width: auto; padding: 0; }
.anfrage-form .caldera-grid [class*="col-"] > * { grid-column: span 12; min-width: 0; }
/* Raster mit gemeinsamer Mittellinie: Persönliche Daten zweispaltig (Adresse in einer Zeile), Aufenthalt halbe/viertel Breiten */
@media (min-width: 640px) {
	.anfrage-form [class*="col-"] > .form-group:is(#fld_5335967_1-wrap, #fld_345597_1-wrap, #fld_5057360_1-wrap, #fld_3389345_1-wrap, #fld_7515434_1-wrap, #fld_2553426_1-wrap, #fld_6827979_1-wrap, #fld_9344573_1-wrap) { grid-column: span 6; }
	.anfrage-form [class*="col-"] > .form-group:is(#fld_4282978_1-wrap, #fld_5786787_1-wrap) { grid-column: span 8; }
	.anfrage-form [class*="col-"] > .form-group:is(#fld_7942884_1-wrap, #fld_2160930_1-wrap) { grid-column: span 4; }
}
@media (min-width: 1024px) {
	.anfrage-form [class*="col-"] > .form-group:is(#fld_4282978_1-wrap, #fld_5786787_1-wrap) { grid-column: span 4; }
	.anfrage-form [class*="col-"] > .form-group:is(#fld_7942884_1-wrap, #fld_2160930_1-wrap) { grid-column: span 2; }
	.anfrage-form [class*="col-"] > .form-group:is(#fld_934746_1-wrap, #fld_1889716_1-wrap) { grid-column: span 6; }
	.anfrage-form [class*="col-"] > .form-group:is(#fld_7515434_1-wrap, #fld_2553426_1-wrap, #fld_6827979_1-wrap, #fld_9344573_1-wrap) { grid-column: span 3; }
}
.anfrage-form h3.anfrage-ueberschrift { margin: 8px 0 18px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.1; }
.anfrage-form .caldera-grid .row + .row h3.anfrage-ueberschrift { margin-top: 36px; }
.anfrage-form .caldera-grid .radio-inline { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-right: 28px; font-size: var(--fs-text); font-weight: 200; cursor: pointer; }
.anfrage-form .caldera-grid .radio-inline input { margin: 0; width: 18px; height: 18px; accent-color: var(--navy); }
.anfrage-form .caldera-grid .form-group { margin-bottom: 20px; }
.anfrage-form .caldera-grid .control-label { display: block; margin-bottom: 6px; font-size: var(--fs-klein); font-weight: 200; }
.anfrage-form .caldera-grid .form-control {
	width: 100%; height: auto; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(22, 49, 58, .28); border-radius: var(--radius-feld); background: var(--weiss);
	color: var(--navy); font: inherit; font-size: var(--fs-text); font-weight: 200; box-shadow: none;
}
.anfrage-form .caldera-grid textarea.form-control { min-height: 120px; }
.anfrage-form .caldera-grid .form-control:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 0; }
.anfrage-form .caldera-grid .form-control.anfrage-form--gesetzt { animation: anfrage-blitz 1.2s ease; }
@keyframes anfrage-blitz { 0% { background: #dae8d7; } 100% { background: var(--weiss); } }
.anfrage-form .caldera-grid :is(.checkbox label, .checkbox-inline) { display: block; padding-left: 0; font-size: var(--fs-klein); font-weight: 200; }
.anfrage-form .caldera-grid :is(.checkbox, .checkbox-inline) input[type="checkbox"] { position: static; margin: 0 8px 0 0 !important; vertical-align: -2px; accent-color: var(--navy); }
.anfrage-form .caldera-grid .btn {
	min-height: 39px; padding: 9px 22px; border: 1px solid var(--navy); border-radius: var(--radius-rund); background: var(--navy); color: var(--weiss);
	font-family: var(--sans); font-weight: 200; font-size: var(--fs-ui); cursor: pointer;
}
.anfrage-form .caldera-grid .btn:hover { background: transparent; color: var(--navy); }
.anfrage-form .caldera-grid .has-error .form-control { border-color: #a5483a; }
.anfrage-form .caldera-grid .help-block, .anfrage-form .caldera-grid .parsley-errors-list { color: #a5483a; font-size: var(--fs-klein); }
.anfrage-form .caldera-grid .alert-success { padding: 16px 20px; background: #dae8d7; color: #1f3f2c; border: 0; }
.anfrage-form .caldera-grid :is(.checkbox, .checkbox-inline) a { text-decoration: underline; text-underline-offset: 2px; }
/* Auswahlfelder: eigener Pfeil mit mehr Abstand zum Rand */
.anfrage-form .caldera-grid select.form-control {
	-webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2316313a' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 8px;
}
/* Ab „Unverbindliche Buchungsanfrage“ randlos im Hintergrundton der Startseite, Spam-Hinweis weiß */
.belegung { padding-bottom: 0; }
.anfrage-form { margin-inline: calc(-1 * var(--rand)); padding: max(56px, calc(96 * var(--u))) var(--rand) max(64px, calc(110 * var(--u))); background: var(--tint); }
.anfrage-form__hinweis { background: var(--weiss); }
/* Zeitraum-Auswahl im Kalender (Belegungsplan) */
:is(.belegung, .wohnung) .hbk-tag.hbk-frei, :is(.belegung, .wohnung) .hbk-tag.hbk-anreise { cursor: pointer; }
:is(.belegung, .wohnung) .hbk.bp-waehlt-abreise .hbk-tag[data-datum]:not(.bp-ziel):not(.bp-an) { opacity: .4; }
:is(.belegung, .wohnung) .hbk.bp-waehlt-abreise .hbk-tag.bp-ziel { cursor: pointer; }
:is(.belegung, .wohnung) .hbk .hbk-tag.bp-drin { background: #4f6a74 !important; box-shadow: none; color: var(--weiss) !important; } /* deutlich Richtung Navy, aber heller als Anreise/Abreise */
:is(.belegung, .wohnung) .hbk .hbk-tag.bp-vorschau { box-shadow: inset 0 0 0 999px rgba(22, 49, 58, .32); }
:is(.belegung, .wohnung) .hbk .hbk-tag.bp-an, :is(.belegung, .wohnung) .hbk .hbk-tag.bp-ab { background: var(--navy) !important; color: var(--weiss) !important; opacity: 1; }
:is(.belegung, .wohnung) .hbk .hbk-tag.bp-an::before, :is(.belegung, .wohnung) .hbk .hbk-tag.bp-an::after, :is(.belegung, .wohnung) .hbk .hbk-tag.bp-ab::before, :is(.belegung, .wohnung) .hbk .hbk-tag.bp-ab::after { display: none; }
:is(.belegung, .wohnung) .bp-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 4px 0 22px; padding: 12px 16px; background: var(--tint); font-size: var(--fs-klein); line-height: 1.4; }
:is(.belegung, .wohnung) .bp-info[hidden] { display: none; }
:is(.belegung, .wohnung) .bp-info__text { flex: 1 1 260px; }
:is(.belegung, .wohnung) .bp-info__link { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 200; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ---------- Unterkünfte (page-unterkuenfte.php), nach Figma-Rahmen „Unterkünfte“ ---------- */

.unterkuenfte { padding: max(48px, calc(220 * var(--u))) var(--rand) max(72px, calc(140 * var(--u))); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px max(12px, calc(18 * var(--u))); margin-top: max(24px, calc(15 * var(--u))); }
.filter[hidden] { display: none; }
.filter__feld { position: relative; display: block; width: max(200px, calc(215 * var(--u))); } /* alle drei Felder gleich breit */
.filter__feld select {
	width: 100%; min-height: 46px; padding: 8px 44px 8px 16px; border: 1px solid var(--navy); border-radius: var(--radius-feld); background: var(--weiss);
	color: var(--navy); font-family: var(--sans); font-weight: 200; font-size: var(--fs-text); line-height: 1.2; cursor: pointer;
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316313a' stroke-width='1.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; background-size: 11px 7px;
}
.filter__feld:has(.filter__icon) select { padding-left: 44px; }
.filter__icon { position: absolute; left: 16px; top: 50%; width: 18px; height: 19px; transform: translateY(-50%); pointer-events: none; }
.filter__feld select.ist-gesetzt { background-color: var(--navy); color: var(--weiss); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E"); }
.filter__feld:has(select.ist-gesetzt) .filter__icon { color: var(--weiss); }
/* Weiß auf Navy wirkt fetter: dünner schneiden und ohne Subpixel-Glättung, damit es gleich aussieht wie unausgewählt. */
.filter__feld select.ist-gesetzt { font-weight: 100; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.filter__feld option { background: var(--weiss); color: var(--navy); font-family: var(--sans); font-weight: 200; } /* gleiche Stärke wie im geschlossenen Feld */
.filter__feld option:disabled { color: rgba(22, 49, 58, .35); }
.filter__stand { margin-left: auto; font-weight: 200; font-size: var(--fs-klein); }
.filter__zurueck { margin-left: 12px; padding: 0; border: 0; background: none; font-weight: 200; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filter__zurueck[hidden] { display: none; }

.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: max(36px, calc(56 * var(--u))) max(20px, calc(43 * var(--u))); margin-top: max(28px, calc(29 * var(--u))); }
.raster__karte[hidden] { display: none; }
.raster .karte__bild { aspect-ratio: 450 / 289; }
.raster .karte__kopf { margin-top: max(10px, calc(16 * var(--u))); }
.raster__leer { margin-top: 32px; padding: 18px 24px; background: var(--tint); font-size: var(--fs-text); }
.raster__leer[hidden] { display: none; }
.raster__leer .filter__zurueck { font-size: inherit; }
.unterkuenfte__hinweis { margin-top: max(14px, calc(18 * var(--u))); font-weight: 200; font-size: var(--fs-text); }

@media (max-width: 1023.98px) {
	.raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.filter__stand { flex-basis: 100%; margin-left: 0; }
}
@media (max-width: 639.98px) {
	.raster { grid-template-columns: minmax(0, 1fr); }
	.filter__feld { width: calc(50% - 6px); }
	.filter__feld:first-child { width: 100%; }
	.filter__feld select { min-width: 0; padding-right: 28px; padding-left: 12px; font-size: var(--fs-klein); background-position: right 10px center; }
	.filter__feld:has(.filter__icon) select { padding-left: 40px; }
	.filter__icon { left: 13px; }
}

/* Kalender: Zeile „Stand: … Uhr“ ausblenden (kommt aus dem MU-Plugin) */
body .hbk .hbk-stand { display: none; }

/* ---------- Wohnungsseiten (wohnung.php) ---------- */

.wohnung-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin-top: max(24px, calc(48 * var(--u))); background: var(--tint); } /* „Hellblau“ = Hintergrundton der Startseite #f3f5f5 */
.wohnung-kopf .titel { font-size: var(--fs-h1); }
.wohnung-kopf__fakten { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin-top: max(20px, calc(32 * var(--u))); font-family: var(--serif); font-size: var(--fs-text); }
.wohnung-kopf__fakten li { display: flex; align-items: center; }
.wohnung-kopf__fakten li + li::before { content: ""; display: inline-block; width: 1px; height: 1em; margin: 0 14px; background: currentColor; opacity: .35; }
.wohnung-kopf__fakten .icon { width: 20px; height: 22px; margin-right: 12px; flex: none; }
.wohnung-kopf__bild img { width: 100%; height: clamp(420px, 80vh, calc(860 * var(--u) + 200px)); object-fit: cover; }
.wohnung-kopf__text { padding: 48px var(--rand) 48px max(40px, calc(110 * var(--u))); }
.wohnung-kopf__dach { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h4); line-height: 1.1; margin-bottom: max(8px, calc(12 * var(--u))); }
.wohnung-kopf__beschreibung { max-width: 620px; margin-top: max(20px, calc(32 * var(--u))); font-weight: 200; font-size: var(--fs-text); line-height: 1.55; }
.wohnung-kopf__beschreibung p + p { margin-top: .8em; }
.wohnung__rest { padding-top: max(48px, calc(96 * var(--u))); }
@media (max-width: 1023.98px) {
	.wohnung-kopf { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
	.wohnung-kopf__bild img { height: auto; aspect-ratio: 4 / 3; }
	.wohnung-kopf__text { padding: 32px var(--rand) 40px; }
}
.wohnung-kopf__beschreibung sup, .schlicht__inhalt sup { line-height: 0; font-size: .7em; } /* m² ohne Zeilensprung */
.wohnungen__fuss .knopf { margin-left: 0; font-weight: 200; } /* Knopf statt Textzeile */

/* Wohnungsseiten: Preise (links) + Grundriss (rechts) */
.wohnung-preise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px max(40px, calc(110 * var(--u))); padding: max(56px, calc(110 * var(--u))) var(--rand) 0; align-items: start; }
.wohnung-preise__titel { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.05; margin-bottom: max(20px, calc(32 * var(--u))); }
.wohnung-preise__saisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.saison__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h4); line-height: 1.1; }
.saison__preis { margin-top: 4px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.1; }
.saison__preis span { margin-left: 8px; font-family: var(--sans); font-weight: 200; font-size: var(--fs-klein); }
.saison__zeiten { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(22, 49, 58, .2); font-weight: 200; font-size: var(--fs-klein); line-height: 1.75; word-spacing: .12em; }
.wohnung-preise__bedingung { margin-top: max(28px, calc(40 * var(--u))); font-weight: 200; font-size: var(--fs-klein); line-height: 1.6; }
.wohnung-preise__bedingung p + p { margin-top: .6em; }
.wohnung-preise__grundriss img { width: 100%; height: auto; }
@media (max-width: 1023.98px) {
	.wohnung-preise { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 439.98px) {
	.wohnung-preise__saisons { grid-template-columns: minmax(0, 1fr); }
}

.grundriss-svg svg { display: block; width: 100%; height: auto; color: var(--navy); }
.grundriss-svg text { font-family: var(--sans); }

/* ---------- Kopf beim Scrollen (sticky, seit 11.11.2026) ----------
   main.js macht den Kopf fest (.kopf--fix, Platzhalter .kopf__platz hält die Höhe)
   und setzt .ist-fest beim Scrollen: Kopf schrumpft fließend, wird weiß, Schrift Navy. */
html { scroll-padding-top: 84px; } /* Sprungziele nicht unter dem festen Kopf */
.kopf__platz { display: none; }
.kopf--fix {
	position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 50;
	/* oben wie bisher (Abstände aus .kopf), nur fest */
	background: rgba(255, 255, 255, 0); box-shadow: 0 6px 20px -12px rgba(22, 49, 58, 0);
	transition: padding .35s ease, background-color .35s ease, box-shadow .35s ease;
}
.kopf--fix .kopf__nav { transition: color .35s ease, text-shadow .35s ease, padding .35s ease; }
.kopf--fix .logo { transition: height .35s ease; }
.kopf--fix.ist-fest { padding-top: 8px; padding-bottom: 8px; background: var(--weiss); box-shadow: 0 6px 20px -12px rgba(22, 49, 58, .35); }
.kopf--fix.ist-fest .kopf__nav { color: var(--navy); text-shadow: none; padding-top: calc((max(40px, 56 * var(--u)) - max(17px, 23.1 * var(--u)) - 12px) / 2); } /* mittig zum kleinen Logo */
.kopf--fix.ist-fest .logo { height: max(40px, calc(56 * var(--u))); }
.kopf--fix.ohne-uebergang, .kopf--fix.ohne-uebergang * { transition: none !important; }
@media (max-width: 1023.98px) {
	html { scroll-padding-top: 64px; }
	.kopf--fix.ist-fest .kopf__nav { padding-top: 8px; }
	.kopf--fix.ist-fest { padding-top: 6px; padding-bottom: 6px; }
	.kopf--fix.ist-fest .logo { height: 40px; }
}

/* ---------- 11.11.2026: Karten mit Haus-Dachzeile, Unterkünfte mobil zum Wischen, Wohnungsseiten neu ---------- */

/* Karten (Startseite, Unterkünfte): Haus klein kursiv über dem Namen, Preis auf Höhe des Namens */
.karte__kopf { align-items: last baseline; }
.karte__titel { display: flex; flex-direction: column; min-width: 0; }
.karte__dach { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-text); line-height: 1.25; }

/* Unterkünfte, Handy: Wohnungen in einer Reihe zum Wischen statt untereinander */
@media (max-width: 639.98px) {
	.raster {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 16px;
		margin-inline: calc(-1 * var(--rand)); padding: 0 var(--rand) 8px; overflow-x: auto;
		scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none; overscroll-behavior-x: contain;
	}
	.raster::-webkit-scrollbar { display: none; }
	.raster__karte { scroll-snap-align: start; }
}

/* Wohnungsseiten: Ausstattung (nur bei langen Texten, z. B. Vormannskammer) */
.wohnung-ausstattung { padding: max(56px, calc(110 * var(--u))) var(--rand) 0; }
.wohnung-ausstattung__spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px max(40px, calc(110 * var(--u))); font-weight: 200; font-size: var(--fs-text); line-height: 1.6; }
.wohnung-ausstattung__spalte > p:first-child { margin-bottom: .5em; font-family: var(--serif); font-style: italic; font-size: var(--fs-h4); line-height: 1.2; }
.wohnung-ausstattung__spalte p + p { margin-top: .6em; }

/* Wohnungsseiten: Bildergalerie links (halbe Breite, randlos), Kalender rechts – Hintergrund Hellblau (var(--tint)) */
.wohnung-buchen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin-top: max(56px, calc(110 * var(--u))); background: var(--tint); }
.wohnung-buchen__kalender { grid-column: 2; align-self: center; padding: max(40px, calc(80 * var(--u))) var(--rand) max(40px, calc(80 * var(--u))) max(40px, calc(110 * var(--u))); }
.wohnung-buchen .hbk { margin: 0; }
.wohnung .hbk .hbk-monate { --hbk-pro: 1 !important; } /* immer ein Monat, weiterblättern mit den Pfeilen */
.galerie { position: relative; display: flex; min-height: clamp(420px, 72vh, 820px); overflow: hidden; }
.galerie__spur { display: flex; flex: 1; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.galerie__spur::-webkit-scrollbar { display: none; }
.galerie__spur:focus-visible { outline-offset: -4px; }
.galerie__bild { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.galerie__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.galerie__pfeil { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .85); border-radius: 50%; }
.galerie__pfeil--zurueck { left: 16px; }
.galerie__pfeil--weiter { right: 16px; }
.galerie__punkte { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 2px; }
.galerie__punkte[hidden] { display: none; }
.galerie__punkte button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.galerie__punkte button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: var(--weiss); opacity: .55; box-shadow: 0 0 4px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s; }
.galerie__punkte button[aria-current="true"]::before { opacity: 1; transform: scale(1.25); }

/* Wohnungsseiten: Anfrageformular wie auf /belegungsplan/, hier auf Weiß (darüber ist schon Hellblau) */
.wohnung .anfrage-form { margin: 0; padding: max(56px, calc(110 * var(--u))) var(--rand) max(64px, calc(110 * var(--u))); background: var(--weiss); }
.wohnung .anfrage-form__hinweis { background: var(--tint); }

@media (max-width: 1023.98px) {
	.wohnung-ausstattung__spalten { grid-template-columns: minmax(0, 1fr); }
	.wohnung-buchen { grid-template-columns: minmax(0, 1fr); }
	.wohnung-buchen__kalender { grid-column: auto; padding: 40px var(--rand); }
	.galerie { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Vormannskammer: BNK-Zertifikat + Grüne Hausnummer, bewusst unauffällig zugeklappt unter „Ausstattung“ */
.nachweise { margin-top: max(32px, calc(48 * var(--u))); font-size: var(--fs-klein); font-weight: 200; }
.nachweise summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; opacity: .75; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nachweise summary::-webkit-details-marker { display: none; }
.nachweise summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nachweise[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nachweise summary:hover { opacity: 1; }
.nachweise__bilder { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.nachweise__bilder img { display: block; width: 110px; height: auto; box-shadow: 0 1px 2px rgba(22, 49, 58, .08), 0 8px 18px -10px rgba(22, 49, 58, .3); transition: transform .2s; }
.nachweise__bilder a:hover img { transform: translateY(-2px); }

/* Anfrageformular: Hinweis, wenn der von Hand eingetragene Zeitraum laut Kalender nicht frei ist (main.js, bp-formhinweis) */
.anfrage-form .bp-formhinweis { grid-column: 1 / -1; margin: -4px 0 20px; padding: 12px 16px; border-left: 2px solid #a5483a; background: #f8ece9; color: #7d3428; font-size: var(--fs-klein); line-height: 1.45; }
.anfrage-form .bp-formhinweis[hidden] { display: none; }

/* ---------- Einheitliche Linie: Kalender (MU-Plugin) ----------
   "body .hbk …", weil das Plugin seine Stile nach dem Theme einbindet. */
body .hbk { border-radius: var(--radius-feld); --hbk-akzent: var(--navy); }
body .hbk .hbk-dach, body .hbk h3.hbk-titel, body .hbk h4.hbk-monat__titel { font-weight: 300; }
body .hbk h4.hbk-monat__titel { font-size: var(--fs-h4); }
body .hbk .hbk-zeitraum, body .hbk .hbk-hinweis { font-weight: 200; }
body .hbk .hbk-tag, body .hbk .hbk-muster { border-radius: 4px; }
body .hbk-tip { border-radius: var(--radius-feld); }
/* Hinweis- und Leer-Kästen ebenfalls leicht gerundet */
:is(.belegung, .wohnung) .bp-info, .raster__leer, .anfrage-form .bp-formhinweis { border-radius: var(--radius-feld); }

/* ---------- 11.11.2026: Unterkünfte + Belegungsplan auf Hintergrundton der Startseite ----------
   Seite in var(--tint), Kopf bleibt weiß und hebt sich dadurch ab. Was vorher schon tint war, wird weiß. */
.unterkuenfte, .belegung { background: var(--tint); }
.raster__leer { background: var(--weiss); }
.belegung .anfrage-form { background: var(--weiss); }
.belegung .anfrage-form__hinweis { background: var(--tint); }
.kopf__platz { background: var(--weiss); }

/* ---------- Kontakt (page-kontakt.php, 11.11.2026) ----------
   Oben in var(--tint) wie Unterkünfte/Belegungsplan: links Adresse + Hinweise, rechts gezeichnete Karte (öffnet Google Maps). Formular darunter auf Weiß. */
.kontakt__oben { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px max(40px, calc(110 * var(--u))); align-items: start; padding: max(48px, calc(120 * var(--u))) var(--rand) max(56px, calc(110 * var(--u))); background: var(--tint); }
.kontakt__adresse { margin-top: max(32px, calc(56 * var(--u))); font-style: normal; font-size: var(--fs-text); line-height: 1.55; }
.kontakt__name { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.1; }
.kontakt__wege { margin: max(20px, calc(28 * var(--u))) 0 0; border-top: 1px solid rgba(22, 49, 58, .2); }
.kontakt__wege div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(22, 49, 58, .2); }
.kontakt__wege dt { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-text); }
.kontakt__wege dd { margin: 0; font-size: var(--fs-text); text-align: right; }
.kontakt__wege a, .kontakt__info a, .kontakt__karte-unter a { font-weight: 200; text-underline-offset: 3px; }
.kontakt__wege a { text-decoration: none; }
.kontakt__wege a:hover { text-decoration: underline; }
.kontakt__infos { display: grid; gap: max(24px, calc(32 * var(--u))); margin-top: max(36px, calc(56 * var(--u))); }
.kontakt__info-titel { margin: 0 0 6px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.15; }
.kontakt__info p { font-size: var(--fs-text); line-height: 1.5; }
.kontakt__info p + p { margin-top: .5em; }
.kontakt__karte { margin: 0; }
.lagekarte { position: relative; display: block; overflow: hidden; background: var(--weiss); border-radius: var(--radius-feld); box-shadow: var(--schatten); text-decoration: none; color: var(--navy); }
.lagekarte svg { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.lagekarte:hover > svg { transform: scale(1.015); }
.lagekarte text { font-family: var(--sans); font-weight: 200; }
.lagekarte .lagekarte__name { font-family: var(--serif); font-weight: 400; }
.lagekarte .lagekarte__strassen { font-weight: 200; }
.lagekarte__knopf { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 9px 19px; border: 1px solid var(--navy); border-radius: var(--radius-rund); background: var(--navy); color: var(--weiss); font-weight: 200; font-size: var(--fs-ui); line-height: 1.2; transition: background-color .2s, color .2s; }
.lagekarte__knopf svg { width: 10px; height: 10px; }
.lagekarte:hover .lagekarte__knopf, .lagekarte:focus-visible .lagekarte__knopf { background: var(--weiss); color: var(--navy); }
.kontakt__karte-unter { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; font-size: var(--fs-klein); }
.kontakt__karte-unter span { opacity: .7; }
.kontakt__karte-unter span a { font-weight: 200; }
.kontakt .anfrage-form { margin: 0; padding: max(56px, calc(110 * var(--u))) var(--rand) max(64px, calc(110 * var(--u))); background: var(--weiss); }
.kontakt .anfrage-form__hinweis { background: var(--tint); }
@media (max-width: 1023.98px) {
	.kontakt__oben { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639.98px) {
	.lagekarte__knopf { right: 10px; bottom: 10px; padding: 7px 14px; font-size: var(--fs-klein); min-height: 0; }
}
/* Kontaktformular: Vorname/Nachname und E-Mail/Telefon nebeneinander (ab 640 px) */
@media (min-width: 640px) {
	.kontakt__formular .caldera-grid .row:has(> .col-sm-6) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.kontakt__formular .caldera-grid .row:has(> .col-sm-6)::before, .kontakt__formular .caldera-grid .row:has(> .col-sm-6)::after { display: none; }
}

/* ---------- Impressum + Datenschutz (rechtliches.php, 11.11.2026) ---------- */
.rechtliches { padding: max(48px, calc(120 * var(--u))) var(--rand) max(72px, calc(140 * var(--u))); background: var(--tint); }
.rechtliches__innen { max-width: 1100px; }
.rechtliches__inhalt { margin-top: max(28px, calc(48 * var(--u))); line-height: 1.6; }
.rechtliches__inhalt strong { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.2; }
.rechtliches__inhalt p { margin-bottom: 1.1em; }
.rechtliches__inhalt a { text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Public Sans überall im Schnitt 200 (11.11.2026) – auch im Kalender-Plugin (setzt dort 400–700) */
body .hbk, body .hbk .hbk-zeitraum, body .hbk .hbk-wt span, body .hbk .hbk-tag, body .hbk .hbk-heute, body .hbk .hbk-hinweis, body .hbk-tip, body .hbk-tip .hbk-tip__status { font-weight: 200; }
input, select, textarea, button { font-weight: 200; }

/* ---------- Startseite, Feinschliff 11.11.2026 ---------- */
/* Einstieg: Text etwas tiefer, wirkt unter dem Logo mittiger (vorher 300/120 Figma-px) */
@media (min-width: 1024px) { .held__text { padding-top: calc(350 * var(--u)); padding-bottom: calc(70 * var(--u)); } }
/* „Auf Langeoog fahren keine Autos.“: kleinerer Abstand zum Text darunter (vorher 39 Figma-px) */
.autofrei .unter { margin-top: max(10px, calc(14 * var(--u))); }
/* Zitat: „Familie Bias“ näher am Text (vorher 26 Figma-px) */
.gruss figcaption { margin-top: max(8px, calc(12 * var(--u))); }
/* „Lieber persönlich?“: Telefonnummer ohne Unterstreichung, wirkt sonst kräftiger als die übrigen Zeilen */
.anfrage__infos a { text-decoration: none; }
.anfrage__infos a:hover { text-decoration: underline; }
/* Bilder (11.11.2026): Möwe im kleinen Querformat etwas höher ansetzen, damit sie nicht angeschnitten wird */
.gruss__klein { object-position: 50% 28%; }
/* Neues Intro-Bild hat hellen Himmel: Menü über dem Bild in Navy statt Weiß (11.11.2026) */
@media (min-width: 1024px) { .kopf--hell .kopf__nav, .kopf--fix.kopf--hell:not(.ist-fest) .kopf__nav { color: var(--navy); text-shadow: none; } }

/* ---------- Die Insel (page-langeoog.php, 11.11.2026) ---------- */
.insel-titel { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.05; }
.insel-seite figure { margin: 0; }
.insel-seite figure img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Einstieg: Text links in var(--tint), Foto rechts randlos */
.insel-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; background: var(--tint); }
.insel-kopf__text { padding: 48px max(40px, calc(110 * var(--u))) 48px var(--rand); }
.insel-kopf__dach { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h4); line-height: 1.1; margin-bottom: max(8px, calc(12 * var(--u))); }
.insel-kopf .titel { font-size: var(--fs-display); }
.insel-seite .insel-kopf__bild img { width: 100%; height: clamp(320px, 52vh, calc(560 * var(--u) + 80px)); object-fit: cover; }

/* Zahlen */
.insel-zahlen { padding: max(40px, calc(80 * var(--u))) var(--rand); border-bottom: 1px solid rgba(22, 49, 58, .12); }
.insel-zahlen dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px max(24px, calc(48 * var(--u))); margin: 0; }
.insel-zahlen div { display: flex; flex-direction: column-reverse; }
.insel-zahlen dd { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--fs-display); line-height: 1; }
.insel-zahlen dt { margin-top: 8px; font-size: var(--fs-text); line-height: 1.3; }

/* Was Langeoog besonders macht: Text links, zwei Fotos rechts versetzt */
.insel-besonders { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px max(40px, calc(110 * var(--u))); padding: max(64px, calc(140 * var(--u))) var(--rand); align-items: start; }
.insel-besonders__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(28px, calc(48 * var(--u))) max(24px, calc(56 * var(--u))); margin-top: max(28px, calc(48 * var(--u))); }
.insel-punkt__titel { margin: 0 0 8px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.15; }
.insel-punkt p { font-size: var(--fs-text); line-height: 1.55; }
.insel-besonders__bilder { position: relative; padding-bottom: 22%; }
.insel-besonders__gross img { aspect-ratio: 4 / 5; }
.insel-besonders__klein { position: absolute; left: -12%; bottom: 0; width: 48%; }
.insel-besonders__klein img { aspect-ratio: 3 / 4; }

/* Breites Bild */
.insel-seite .insel-breit img { width: 100%; height: clamp(300px, 56vh, 680px); object-fit: cover; object-position: 50% 62%; }

/* Geschichte: Kopf + Bild links, Zeitleiste rechts */
.insel-geschichte, .insel-hinweise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px max(40px, calc(110 * var(--u))); padding: max(64px, calc(140 * var(--u))) var(--rand); align-items: start; }
.insel-geschichte__bild, .insel-hinweise__bild { margin-top: max(28px, calc(48 * var(--u))) !important; }
.insel-geschichte__bild img, .insel-hinweise__bild img { aspect-ratio: 4 / 5; }
.zeitleiste { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(22, 49, 58, .2); }
.zeitleiste li { display: grid; grid-template-columns: max(72px, calc(120 * var(--u))) minmax(0, 1fr); gap: 16px; padding: max(14px, calc(20 * var(--u))) 0; border-bottom: 1px solid rgba(22, 49, 58, .2); }
.zeitleiste__jahr { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.15; }
.zeitleiste p { font-size: var(--fs-text); line-height: 1.5; }

/* Gut zu wissen: in var(--tint) */
.insel-hinweise { background: var(--tint); }
.insel-hinweise__liste { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(24px, calc(40 * var(--u))) max(24px, calc(56 * var(--u))); }
.insel-hinweise__liste div { padding-top: 16px; border-top: 1px solid rgba(22, 49, 58, .2); }
.insel-hinweise__liste dt { margin-bottom: 8px; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h4); line-height: 1.15; }
.insel-hinweise__liste dd { margin: 0; font-size: var(--fs-text); line-height: 1.55; }

/* Abschluss (Bausteine .anfrage von der Startseite), hier auf Weiß */
.insel-anfrage { margin-top: 0; background: var(--weiss); align-items: end; }
.insel-quellen { font-size: var(--fs-klein); line-height: 1.5; opacity: .75; }
.insel-quellen a { text-underline-offset: 3px; }

@media (max-width: 1023.98px) {
	.insel-kopf { grid-template-columns: minmax(0, 1fr); }
	.insel-kopf__text { padding: 32px var(--rand) 40px; }
	.insel-kopf__bild { order: -1; }
	.insel-seite .insel-kopf__bild img { height: auto; aspect-ratio: 4 / 3; }
	.insel-zahlen dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.insel-besonders, .insel-geschichte, .insel-hinweise { grid-template-columns: minmax(0, 1fr); }
	.insel-besonders__bilder { width: 78%; margin-left: auto; }
	.insel-geschichte__bild img, .insel-hinweise__bild img { aspect-ratio: 4 / 3; }
}
@media (max-width: 639.98px) {
	.insel-besonders__liste, .insel-hinweise__liste { grid-template-columns: minmax(0, 1fr); }
}

/* Logo Entwurf 3 (Element 10, quer, 11.11.2026): Höhe so, dass das Schlüsselloch etwa so groß bleibt wie vorher */
.logo { height: max(52px, calc(84 * var(--u))); }
.kopf--fix.ist-fest .logo { height: max(36px, calc(48 * var(--u))); }
.logo--fuss { height: max(56px, calc(84 * var(--u))); }
@media (max-width: 1023.98px) { .kopf--fix.ist-fest .logo { height: 36px; } }

/* ---------- Startseite: Häuser-Slider + Gruß (11.11.2026) ---------- */
/* Eckdaten im Haus-Kasten in Public Sans, Icon kleiner, enger und näher am Text */
.haus__fakten { margin-top: 0; padding-top: max(14px, calc(20 * var(--u))); gap: max(6px, calc(8 * var(--u))); }
.haus__fakten li { gap: 10px; font-family: var(--sans); font-weight: 200; }
.haus__fakten .icon { width: 15px; height: 17px; }
/* Große Bildschirme: Positionen vom rechten Rand aus rechnen (bis 1728 px identisch mit Figma),
   damit Bild, Kasten und Pfeile mitwandern und rechts nichts leer bleibt */
@media (min-width: 1024px) {
	.haus__bild { width: calc(100% - 574 * var(--u)); }
	.haus__karte { left: calc(100% - 727 * var(--u)); }
	.haeuser__pfeile { left: calc(100% - 344 * var(--u)); }
	.gruss__gross { left: calc(100% - 562 * var(--u)); }
	.gruss__klein { left: calc(100% - 748 * var(--u)); }
}

/* Startseite 11.11.2026: Eckdaten unter den Wohnungskarten etwas kleiner; „Auf Langeoog fahren keine Autos“: Knopf + Bilder wachsen auf großen Bildschirmen mit */
.spur .karte__fakten { font-size: max(15px, calc(17 * var(--u))); }
.autofrei .knopfreihe { margin-top: max(18px, calc(24 * var(--u))); }
@media (min-width: 1024px) {
	/* bis 1728 px wie Figma (821 + 577 px, Rest Abstand), darüber wachsen beide Bilder im selben Verhältnis */
	.autofrei__bilder { grid-template-columns: minmax(0, 821fr) minmax(0, 577fr); column-gap: calc(30 * var(--u)); justify-content: stretch; }
	.autofrei__turm { margin-top: calc((100vw - 2 * var(--rand)) * 195 / 1428); }
}
/* „Auf Langeoog fahren keine Autos“: Titel, Text und Knopf unter dem Inselbahn-Bild (11.11.2026) */
.autofrei__text { margin-top: max(32px, calc(64 * var(--u))); }
/* „Wann möchten Sie kommen?“ (auch „Lust auf Insel?“): Knöpfe näher am Text (vorher 32 Figma-px, mind. 24 px) */
.anfrage .knopfreihe { margin-top: max(14px, calc(18 * var(--u))); }
/* Reihenfolge Startseite seit 11.11.2026: … Autofrei → Unsere Häuser → Anfrage */
.autofrei { padding-bottom: max(64px, calc(140 * var(--u))); }
.haeuser + .anfrage { margin-top: 0; background: var(--weiss); } /* kein weißer Streifen zwischen zwei hellen Flächen */

/* Logo im Kopf: oben nur Schlüsselloch, beim Scrollen (.ist-fest) gleitet „Bias“ herein (11.11.2026) */
.logo-kopf { display: flex; align-items: center; }
.logo-kopf .logo { max-width: none; }
.logo-kopf__name { display: block; overflow: hidden; max-width: 0; opacity: 0; transition: max-width .45s ease, opacity .3s ease; }
.kopf--fix.ist-fest .logo-kopf__name { max-width: 240px; opacity: 1; transition: max-width .45s ease, opacity .35s ease .1s; }
/* Startseite „Alle Wohnungen“ auf Hintergrundton var(--tint) (11.11.2026); Langeoog-Bild schließt direkt an */
.wohnungen { background: var(--tint); padding-bottom: max(64px, calc(140 * var(--u))); }
.wohnungen + .insel { margin-top: 0; }
/* „Unsere Häuser“: Hausbild beginnt an der Textkante (var(--rand)) statt am linken Bildschirmrand (11.11.2026) */
@media (min-width: 1024px) { .haus__bild { left: var(--rand); width: calc(100% - 574 * var(--u) - var(--rand)); } }
@media (max-width: 1023.98px) { .haus__bild { margin-left: var(--rand); width: calc(100% - 2 * var(--rand)); } }
@media (min-width: 1024px) { .haeuser { padding-bottom: max(64px, calc(131 * var(--u))); } } /* unten so viel Luft wie oben */
/* „Auf Langeoog fahren keine Autos“: Titel + Text rechts über dem Wasserturm (11.11.2026) */
.autofrei .autofrei__rechts .autofrei__text { margin-top: 0; }
.autofrei .autofrei__rechts .autofrei__turm { margin-top: max(28px, calc(48 * var(--u))); }
@media (max-width: 1023.98px) { .autofrei .autofrei__rechts .autofrei__text { margin-top: 8px; } }
@media (min-width: 1024px) { .autofrei__bilder { column-gap: max(40px, calc(80 * var(--u))); } } /* Text rechts braucht Abstand zur Inselbahn */
/* Leiste „Auf einen Blick“: Überschrift näher an der Zeile darunter (vorher 10 Figma-px, mind. 4 px) */
.leiste strong { margin-bottom: 2px; }

/* ---------- Sehr breite Bildschirme (11.11.2026) ----------
   Inhalt höchstens 1700 px breit (greift ab ca. 2000 px Fensterbreite, vorher unverändert): --rand wächst mit.
   Hintergründe, Einstiegsbild, Langeoog-Bild, Kopf und Fuß bleiben vollbreit.
   Absolut gesetzte Teile werden an der Inhaltskante statt am Bildschirmrand ausgerichtet (bei 1728 px identisch mit Figma). */
:root { --rand: max(20px, calc(150 * var(--u)), calc((100vw - 1700px) / 2)); }
@media (min-width: 1024px) {
	.held__text { width: calc(var(--rand) + 729 * var(--u)); }
	.held__bild { width: calc(100% - var(--rand) - 729 * var(--u)); }
	.haus__bild { width: calc(100% - 2 * var(--rand) - 424 * var(--u)); }
	.haus__karte { left: calc(100% - var(--rand) - 577 * var(--u)); }
	.haeuser__pfeile { left: calc(100% - var(--rand) - 194 * var(--u)); }
	.gruss__gross { left: calc(100% - var(--rand) - 412 * var(--u)); }
	.gruss__klein { left: calc(100% - var(--rand) - 598 * var(--u)); }
}

/* 11.11.2026: Inhalt auf sehr breiten Bildschirmen etwas schmaler (max. 1600 statt 1700 px) und links/rechts immer frei,
   außer bei Abschnitten mit Hintergrund (Farbfläche, Einstiegsbild, Langeoog-Bild) */
:root { --rand: max(20px, calc(150 * var(--u)), calc((100vw - 1800px) / 2)); }
@media (max-width: 1023.98px) { :root { --rand: 20px; } }
@media (min-width: 1024px) {
	.gruss__gross { left: calc(100% - var(--rand) - 613 * var(--u)); } /* rechts bündig mit dem Inhalt statt 51 Figma-px darüber hinaus */
	.gruss__klein { left: calc(100% - var(--rand) - 799 * var(--u)); }
}
@media (max-width: 1023.98px) { .gruss__gross { margin-right: 0; } }

/* Die Insel, Feinschliff 11.11.2026 */
.insel-zahlen dd { font-size: var(--fs-h2); }                         /* Zahlen kleiner (vorher Display-Größe) */
.insel-seite .insel-kopf__bild img { object-position: 50% 0%; }        /* Einstiegsbild oben andocken */
.insel-seite .insel-besonders__bilder { padding-bottom: 10%; }         /* Bilder flacher, passend zur Texthöhe links */
.insel-seite .insel-besonders__gross img { aspect-ratio: 4 / 3; }
.insel-seite .insel-besonders__klein img { aspect-ratio: 4 / 5; }
.insel-seite .insel-hinweise__bild img { aspect-ratio: 3 / 2; }        /* „Gut zu wissen“: Bild flacher */
@media (max-width: 1023.98px) { .insel-seite .insel-hinweise__bild img { aspect-ratio: 4 / 3; } }
/* „Auf Langeoog fahren keine Autos“: Wasserturm quer (16:9 statt 577:720), damit rechte Spalte (Text + Bild) etwa so hoch ist wie die Inselbahn links */
@media (min-width: 1024px) { .autofrei .autofrei__turm img { aspect-ratio: 4 / 3; } }
/* Unterkünfte: Filter Terrasse/Balkon entfernt, Größe mit Icon (Diagonale mit Pfeilen, assets/icons/groesse.svg) – 11.11.2026 */
.filter__feld:has(.filter__icon) select { padding-left: 44px; }
@media (max-width: 639.98px) { .filter__feld, .filter__feld:first-child { width: calc(50% - 6px); } }
/* Unterseiten: Luft unter dem Logo, bevor die Farbfläche beginnt (Startseite: Kopf liegt über dem Bild, unverändert) – 11.11.2026 */
.kopf:not(.kopf--hell):not(.ist-fest) { padding-bottom: max(18px, calc(32 * var(--u))); }
/* Unterkünfte: Überschrift auf gleicher Höhe wie „Belegungsplan“ (oben 120 statt 220 Figma-px) */
.unterkuenfte { padding-top: max(48px, calc(120 * var(--u))); }
.autofrei { padding-top: max(48px, calc(115 * var(--u))); } /* oben minimal weniger Abstand (vorher 141 Figma-px) */
.haus__karte .knopf { margin-top: max(14px, calc(18 * var(--u))); } /* Häuser-Slider: Knopf näher an den Eckdaten (vorher 32 Figma-px) */
/* Impressum/Datenschutz: Aufzählungen mit Punkten, Zwischenüberschriften etwas kleiner (11.11.2026) */
.rechtliches__inhalt ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1.1em; }
.rechtliches__inhalt li { margin-bottom: .3em; }
.rechtliches__inhalt h2 { font-size: var(--fs-h4); margin: 36px 0 10px; }
/* Wohnungsseiten: Eckdaten (Personen | m² | Außenbereich) in Public Sans 200 und kleineres Icon – wie im Häuser-Slider der Startseite (11.11.2026) */
.wohnung-kopf__fakten { font-family: var(--sans); font-weight: 200; }
.wohnung-kopf__fakten .icon { width: 15px; height: 17px; margin-right: 10px; }

/* ---------- Hausseiten (haus.php, 11.11.2026) ---------- */
.haus-seite .wohnung-kopf__fakten a { text-decoration: none; }
.haus-seite .wohnung-kopf__fakten a:hover { text-decoration: underline; text-underline-offset: 3px; }
.haus-wohnungen { padding: max(56px, calc(110 * var(--u))) var(--rand) 0; }
.haus-wohnungen .unterkuenfte__hinweis { margin-top: max(10px, calc(14 * var(--u))); }
.haus-wohnungen .raster { margin-top: max(28px, calc(40 * var(--u))); }
/* Wohnungs-/Hausseiten (11.11.2026): Kopf-Foto und Galerie etwas niedriger; Belegung 2 Monate, wenn der Platz reicht (sonst 1) */
.wohnung-kopf__bild img { height: clamp(360px, 64vh, calc(700 * var(--u) + 140px)); }
.galerie { min-height: clamp(360px, 60vh, 700px); }
@container hbk (min-width: 500px) { .wohnung .hbk .hbk-monate { --hbk-pro: 2 !important; } }
@media (max-width: 1023.98px) { .wohnung-kopf__bild img { height: auto; } .galerie { min-height: 0; } }

/* Scrollbar der Seite (11.11.2026): Schiene Navy, Balken im hellen Hintergrundton */
html { scrollbar-color: var(--tint) var(--navy); }
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: var(--navy); }
html::-webkit-scrollbar-thumb { background: var(--tint); border: 3px solid var(--navy); border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: #fff; }
/* Unterkünfte: Filterfelder ohne weiße Fläche, Hintergrund der Seite scheint durch – wie die Knöpfe im Belegungsplan (11.11.2026) */
.filter__feld select:not(.ist-gesetzt) { background-color: transparent; }
/* Scrollbar umgedreht (11.11.2026): Schiene hell (var(--tint)), Balken Navy. Vorige Variante: sicherungen/main.css.scrollbar-navy-schiene-* */
html { scrollbar-color: var(--navy) var(--tint); }
html::-webkit-scrollbar-track { background: var(--tint); }
html::-webkit-scrollbar-thumb { background: var(--navy); border-color: var(--tint); }
html::-webkit-scrollbar-thumb:hover { background: #2c4a55; }

/* Wohnungs- und Hausseiten: Kopfbereich (Foto + Text) schließt direkt an den Seitenkopf an – wie /langeoog/ und /kontakt/ (vorher weißer Streifen) */
.wohnung-kopf { margin-top: 0; }
/* Wohnungs-/Hausseiten ab 1024 px: Foto füllt immer die ganze Höhe des Kopfbereichs (auch wenn der Text höher ist) – kein heller Rand über/unter dem Foto */
@media (min-width: 1024px) {
	.wohnung-kopf { align-items: stretch; }
	.wohnung-kopf__bild { position: relative; min-height: clamp(360px, 64vh, calc(700 * var(--u) + 140px)); }
	.wohnung-kopf__bild img { position: absolute; inset: 0; height: 100%; }
	.wohnung-kopf__text { align-self: center; }
}

/* Rück-Link „← Alle Wohnungen“ (Wohnungs- und Hausseiten), über der Dachzeile */
.zurueck { display: inline-flex; align-items: center; gap: 10px; margin-bottom: max(18px, calc(28 * var(--u))); font-size: var(--fs-klein); text-decoration: none; }
.zurueck svg { width: 16px; height: 10px; flex: none; transition: transform .2s; }
.zurueck:hover { text-decoration: underline; text-underline-offset: 3px; }
.zurueck:hover svg { transform: translateX(-3px); }
/* Startseite: Fließtext minimal kleiner (nur im Inhalt, Kopf/Fuß unverändert).
   Einleitungstexte (Newsreader) 26 → 23 Figma-px, Text (Public Sans) 19 → 18 Figma-px. */
.home main { --fs-lead: max(18px, calc(23 * var(--u))); --fs-text: max(16px, calc(18 * var(--u))); }
/* Logo (16.11.2026): Unterseiten zeigen „Bias“ immer (auch oben); Startseite oben nur Schlüsselloch */
body:not(.home) .logo-kopf__name { max-width: 240px; opacity: 1; }
/* Startseite mobil: Abstand „Langeoog“-Karte → Inselbahn-Bild leicht kleiner (76 → 56 px) – 16.11.2026 */
@media (max-width: 1023.98px) { .autofrei { padding-top: 28px; } }
/* Startseite mobil: Wasserturm-Bild + Bildunterschrift linksbündig statt rechts (16.11.2026) */
@media (max-width: 1023.98px) { .autofrei .autofrei__turm { margin-left: 0; margin-right: auto; } }
/* Eckdaten-Zeilen (Personen | m² | …): rutscht ein Punkt in die nächste Zeile, beginnt sie bündig ohne Trennstrich davor (16.11.2026).
   Der Strich steht in der Lücke links vor jedem Punkt (negativer Abstand); am Zeilenanfang ragt er links aus der Liste und wird abgeschnitten. */
.wohnung-kopf__fakten { gap: 8px 29px; overflow-x: clip; }
.wohnung-kopf__fakten li::before, .wohnung-kopf__fakten li + li::before { content: ""; display: inline-block; flex: none; width: 1px; height: 1em; margin: 0 14px 0 -15px; background: currentColor; opacity: .35; }
@media (max-width: 1023.98px) {
	.belegung__fakten { column-gap: 25px; overflow-x: clip; }
	.belegung__fakten li::before, .belegung__fakten li + li::before { content: ""; display: inline-block; width: 1px; height: .9em; margin: 0 12px 0 -13px; vertical-align: -1px; background: currentColor; opacity: .35; }
}
/* /unterkuenfte/ Handy: Wohnungen wieder untereinander statt Wischreihe (16.11.2026); Hausseiten behalten die Wischreihe */
@media (max-width: 639.98px) {
	.unterkuenfte .raster { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; gap: 36px; margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
}
/* Bildergalerie Wohnungsseiten: Pfeil am Anfang/Ende blass (16.11.2026) – etwas sichtbarer als 0.2, weil er auf dem Foto liegt */
.galerie__pfeil:disabled { opacity: .4; }
/* Belegungsplan Handy/Tablet: nach der Wohnungswahl landet die Wohnung knapp unter dem festen Kopf (scroll-padding der Seite + 20 px) – 16.11.2026 */
@media (max-width: 1023.98px) { .belegung__plan { scroll-margin-top: 20px; } }
/* Startseite mobil, Einstieg: etwas mehr Luft zwischen Titel, Texten und Knopf (16.11.2026; vorher 10 / 12 / 20 px) */
@media (max-width: 639.98px) {
	.held .held__titel + .held__unter { margin-top: 20px; }
	.held .held__unter + .held__unter { margin-top: 16px; }
	.held .held__text > .knopf { margin-top: 28px; }
}

/* Galerie-Punkte kleiner, auf dem Handy ausgeblendet (17.11.2026) */
.galerie__punkte { bottom: 10px; gap: 0; }
.galerie__punkte button { width: 14px; height: 14px; }
.galerie__punkte button::before { width: 5px; height: 5px; box-shadow: 0 0 3px rgba(0, 0, 0, .3); }
.galerie__punkte button[aria-current="true"]::before { transform: scale(1.2); }
@media (max-width: 639.98px) { .galerie__punkte, .galerie__punkte[hidden] { display: none; } }

/* „Alle Wohnungen“: kleiner weißer Knopf unter den Eckdaten in der Textfläche (17.11.2026). */
.zurueck-knopf {
	display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 6px 14px; margin-top: max(22px, calc(36 * var(--u)));
	border-radius: var(--radius-rund); background: var(--weiss); color: var(--navy);
	font-family: var(--sans); font-weight: 200; font-size: var(--fs-klein); line-height: 1.2; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.zurueck-knopf:hover { background: var(--navy); color: var(--weiss); }
.zurueck-knopf svg { width: 11px; height: 7px; flex: none; transition: transform .2s; }
.zurueck-knopf:hover svg { transform: translateX(-3px); }

/* Wohnungs-/Hausseiten: Titel leicht kleiner (60 → 52 Figma-px, mind. 30 px). */
.wohnung-kopf .titel { font-size: max(30px, calc(52 * var(--u))); }

/* Galerie-Punkte auch auf dem Tablet weg (unter 1024 px), dort reichen Pfeile/Wischen. */
@media (max-width: 1023.98px) { .galerie__punkte, .galerie__punkte[hidden] { display: none; } }

/* Wohnungs-/Hausseiten Handy: weniger Abstand zwischen Titel und Beschreibung (20 → 12 px, 17.11.2026). */
@media (max-width: 639.98px) { .wohnung-kopf__beschreibung { margin-top: 12px; } }

/* Bild groß ansehen (Zertifikate Vormannskammer, main.js data-bild-gross), 17.11.2026 */
.bild-gross { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: max(56px, 6vh) var(--rand); border: 0; background: transparent; display: none; place-items: center; }
.bild-gross[open] { display: grid; }
.bild-gross::backdrop { background: rgba(22, 49, 58, .88); }
.bild-gross img { max-width: 100%; max-height: calc(100vh - 2 * max(56px, 6vh)); width: auto; height: auto; background: var(--weiss); box-shadow: var(--schatten); }
.bild-gross__zu { position: fixed; top: 16px; right: 16px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-rund); background: var(--weiss); color: var(--navy); cursor: pointer; }
.bild-gross__zu svg { width: 14px; height: 14px; }
.nachweise__bilder a { cursor: zoom-in; }

/* Wohnungsseiten: Hausname über dem Titel („Haus Anja“) verlinkt auf die Hausseite (17.11.2026). */
.wohnung-kopf__dach a { color: inherit; text-decoration: none; }
.wohnung-kopf__dach a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Belegungsplan ab 1024 px: Ist der Kasten neben dem Kalender schmal und lang (z. B. iPad Pro hochkant),
   füllt das Foto den freien Platz, statt Weißraum über „Zur Wohnung“ (17.11.2026). Auf breiten Bildschirmen unverändert. */
@media (min-width: 1024px) {
	.belegung__bild { position: relative; flex: 1 0 auto; aspect-ratio: 4 / 3; }
	.belegung__bild img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
	.belegung__text { flex: 0 0 auto; }
}

/* Startseite, „Auf einen Blick“: bis 1279 px (z. B. iPad Pro hochkant) 2 × 2 statt 4 nebeneinander (17.11.2026). */
@media (min-width: 640px) and (max-width: 1279.98px) {
	.leiste__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
}

/* 404-Seite (404.php, 17.11.2026): Strandweg-Foto vollflächig, Text weiß im Himmel links oben, Navy-Verlauf für die Lesbarkeit. */
.fehler404 { position: relative; display: flex; align-items: flex-start; min-height: clamp(560px, 82vh, 980px); overflow: hidden; color: var(--weiss); background: var(--navy); }
.fehler404__bild, .fehler404__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fehler404__bild img { object-fit: cover; object-position: 50% 30%; }
.fehler404__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(22, 49, 58, .7) 0%, rgba(22, 49, 58, .36) 45%, rgba(22, 49, 58, 0) 72%); }
.fehler404__text { position: relative; max-width: calc(620px + var(--rand)); padding: max(48px, calc(90 * var(--u))) var(--rand) 64px; }
.fehler404__dach { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h4); line-height: 1.1; margin-bottom: max(8px, calc(12 * var(--u))); }
.fehler404 .titel { font-size: var(--fs-display); color: inherit; text-wrap: balance; }
.fehler404__unter { max-width: 520px; margin-top: max(16px, calc(24 * var(--u))); font-family: var(--serif); font-weight: 300; font-size: var(--fs-lead); line-height: 1.35; }
.fehler404 .knopf { background: var(--weiss); color: var(--navy); border-color: var(--weiss); }
.fehler404 .knopf:hover { background: transparent; color: var(--weiss); }
.fehler404 .knopf--rand { background: transparent; color: var(--weiss); }
.fehler404 .knopf--rand:hover { background: var(--weiss); color: var(--navy); }
@media (max-width: 639.98px) {
	.fehler404 { min-height: clamp(520px, 86svh, 760px); }
	.fehler404__bild::after { background: linear-gradient(180deg, rgba(22, 49, 58, .6) 0%, rgba(22, 49, 58, .25) 55%, rgba(22, 49, 58, 0) 80%); }
}
.fehler404 .knopfreihe { margin-top: max(14px, calc(18 * var(--u))); } /* Knöpfe näher am Text, wie bei „Wann möchten Sie kommen?“ */

/* Barrierefreiheit (17.11.2026): Galerie-Punkte sind nur noch Anzeige (span statt button), Kalender-Wochentage etwas dunkler (Kontrast ≥ 4,5:1). */
.galerie__punkte span { display: block; width: 14px; height: 14px; }
.galerie__punkte span::before { content: ""; display: block; width: 5px; height: 5px; margin: auto; margin-top: 4.5px; border-radius: 50%; background: var(--weiss); opacity: .55; box-shadow: 0 0 3px rgba(0, 0, 0, .3); transition: opacity .3s, transform .3s; }
.galerie__punkte span[aria-current="true"]::before { opacity: 1; transform: scale(1.2); }
body .hbk .hbk-wt span { color: #5f6b74; }
