/* Weitblick Immobilien · „Blaue Stunde · Sechzehn Lichter" · Stockäcker 9.
   Three moods: Abend (night gradient, Putz text, Lampe accent) · Tag (paper, ink, petrol) · Innen (paper, ink, amber).
   Home page: html.anim = the story's layout, with the one real-time house (html.gl, story.js) or its pictures
   (html.cpu, the light view); html.anim.motion = pinned chapters that follow the scroll; html.gl without .motion = one
   stable view per chapter. Without html.anim (no WebGL and no pictures, no JavaScript, load failure, the light view
   without motion) the same sections show still images of that same house. */
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-Variable.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --nacht: #0c1b2e; --nacht-2: #1a3350; --nacht-3: #2b4764; --putz: #f6f1e7; --lampe: #ffc477; --glut: #f0a04b;
  --papier: #f4efe6; --raised: #fbf8f2; --himmel: #e9eef0; --tinte: #15202b; --tinte-2: #4a5560; --petrol: #024d6e;
  --bernstein: #8a5a12; --nebel: #a9bccb; --linie: #d9d2c4; --rose: #b98f79;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --cond: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px); --hdr: 64px; --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grain: 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 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 1.1875rem/1.55 var(--serif); font-optical-sizing: auto; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
[hidden] { display: none !important; }
.no-js [data-js-only] { display: none; }       /* controls that only do something with script */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; max-width: 60ch; }
h1, h2, h3 { margin: 0 0 0.4em; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
h3 { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; margin: 1.6em 0 0.6em; }
ul { margin: 0; padding: 0; list-style: none; }

/* two-tone focus ring: Lampe inside, Tinte outside - visible on dark and light */
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; box-shadow: 0 0 0 3px var(--lampe); border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; box-shadow: none; }

/* ---------------------------------------------------------------- moods */
.mood-abend { --fg: var(--putz); --fg-2: var(--nebel); --accent: var(--lampe); --rule: rgba(246, 241, 231, 0.24); --surface: rgba(12, 27, 46, 0.6);
  color: var(--fg); background: linear-gradient(180deg, var(--nacht) 0%, var(--nacht-2) 58%, var(--nacht-3) 100%); position: relative; isolation: isolate; }
.mood-tag { --fg: var(--tinte); --fg-2: var(--tinte-2); --accent: var(--petrol); --rule: var(--linie); --surface: var(--raised);
  color: var(--fg); background: var(--papier); }
.mood-innen { --fg: var(--tinte); --fg-2: var(--tinte-2); --accent: var(--bernstein); --rule: var(--linie); --surface: var(--raised);
  color: var(--fg); background: var(--papier); }
section.mood-abend::before, footer.mood-abend::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.045; pointer-events: none; }
.s-hero .hero-sky::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.045; pointer-events: none; }

/* ---------------------------------------------------------------- type */
.display { font: 300 clamp(2.5rem, 6vw, 6rem)/0.95 var(--serif); letter-spacing: -0.03em; font-variation-settings: "opsz" 60; margin: 0 0 0.35em; max-width: 14ch; text-wrap: balance; }
.chapter { font: 300 clamp(2.1rem, 4.4vw, 4.25rem)/1 var(--serif); letter-spacing: -0.03em; font-variation-settings: "opsz" 60; margin: 0 0 0.45em; text-wrap: balance; }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.45; max-width: 46ch; }
.label, .legend, .note, figcaption, .nav, .btn, .urow, label, .facts dt, .link-btn, summary { font-family: var(--cond); font-variant-numeric: tabular-nums; }
.label { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 0.9em; }
.mood-abend .label { color: var(--fg); opacity: 0.86; }
.note { font: 400 0.9375rem/1.45 var(--cond); color: var(--fg-2); letter-spacing: 0.01em; max-width: 62ch; }
.mood-abend .note { color: var(--fg); opacity: 0.84; }
/* separate facts of one line (rooms, area, price, status): set apart by room, never by a sign; none is broken in itself
   (tools/build.py apart - the comma between them is there for assistive technology) */
.apart { display: inline-flex; flex-wrap: wrap; gap: 0 0.75em; }
.apart > span { white-space: nowrap; }
.lines > span { display: block; }
.chapter, .lines, .s-project .display { overflow-wrap: break-word; }      /* a word wider than the column (a reader's larger type) breaks rather than widen the page */
.numeral { font: 300 clamp(6rem, 22vw, 20rem)/0.8 var(--serif); letter-spacing: -0.05em; font-variation-settings: "opsz" 60; color: var(--lampe); margin: 0 0 0.08em; font-variant-numeric: lining-nums tabular-nums; }

/* ---------------------------------------------------------------- persistent chrome (own opaque surfaces) */
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--putz); color: var(--tinte); padding: 10px 14px; font: 500 1rem var(--cond); }
.skip:focus { top: 8px; }
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); margin-bottom: calc(-1 * var(--hdr)); display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px);
  padding: 0 var(--pad); background: var(--nacht); color: var(--putz); transition: background-color 0.25s; }
.page-home .hdr.at-top { background: transparent; }
main { display: block; }
.page-home, .page-finder, .page-contact, .page-404 { background: var(--nacht); }     /* moods belong to sections, not to the body */
body:not(.page-home) main { padding-top: var(--hdr); }
/* The logo: the business's own picture, untouched. Its mark stands on the night header in its own colours. Its lettering - petrol
   in the file, 1.9:1 on night - is shown in Putz through the picture's own alpha: the picture is cut to the mark (its first 134 of
   384 columns; nine empty columns lie between mark and lettering) and a mask of the same picture, cut to the lettering, is filled
   with Putz. A rendering of this site, not a variant of the logo. Without masks the whole picture stands on a Putz plate. */
.logo { position: relative; display: flex; align-items: center; min-height: 44px; flex: none; --logo-w: 96px; background: var(--putz); padding: 5px 9px; border-radius: 2px; }
.logo img { width: var(--logo-w); height: auto; }
@supports ((mask-image: none) or (-webkit-mask-image: none)) {
  .logo { --logo-w: 120px; background: none; padding: 0; }
  .logo img { clip-path: inset(0 65.1% 0 0); }
  .logo::after { content: ""; position: absolute; left: 0; top: 50%; width: var(--logo-w); aspect-ratio: 384 / 144; transform: translateY(-50%); pointer-events: none;
    background: var(--putz); clip-path: inset(0 0 0 34.9%);
    -webkit-mask: url("../img/logo-original.png") 0 0 / 100% 100% no-repeat; mask: url("../img/logo-original.png") 0 0 / 100% 100% no-repeat; }
  /* (forced colours: the lettering in the system's own text colour, on whatever ground the system gives the header) */
  @media (forced-colors: active) { .logo::after { forced-color-adjust: none; background: CanvasText; } }
}
.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; font: 500 0.875rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.nav a, .menu a { text-decoration: none; padding: 12px 2px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--lampe); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font: 500 0.875rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; padding: 15px 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 100%; background: var(--nacht); padding: 8px 20px 14px; display: grid; min-width: 200px; border: 1px solid rgba(246, 241, 231, 0.24); font: 500 0.9375rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.menu nav a { padding: 15px 0; }
.raster-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 0.875rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 12px; border: 1px solid rgba(246, 241, 231, 0.4); border-radius: 2px; background: var(--nacht); color: var(--putz); min-height: 44px; }
.raster-btn:hover { border-color: var(--lampe); }
.raster { width: 34px; height: auto; flex: none; }
.raster .cell { fill: rgba(246, 241, 231, 0.22); transition: fill 0.42s; }
.raster .cell.on { fill: var(--lampe); }
.raster--bullet { width: 30px; }
.mood-tag .raster--bullet .cell, .mood-innen .raster--bullet .cell, .index-dialog .raster .cell { fill: rgba(21, 32, 43, 0.16); }
.mood-tag .raster--bullet .cell.on, .mood-innen .raster--bullet .cell.on { fill: var(--bernstein); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font: 600 1.0625rem/1.15 var(--cond); letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid var(--tinte); background: var(--tinte); color: var(--putz); border-radius: 2px; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { background: var(--petrol); border-color: var(--petrol); }
.btn--lamp, .mood-abend .btn:not(.btn--ghost) { background: var(--lampe); border-color: var(--lampe); color: var(--nacht); }
.btn--lamp:hover, .mood-abend .btn:not(.btn--ghost):hover { background: var(--glut); border-color: var(--glut); color: var(--nacht); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: transparent; border-color: var(--accent, var(--lampe)); color: inherit; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link-btn { background: none; border: 0; min-height: 44px; padding: 10px 0; color: inherit; font: 500 0.9375rem/1.2 var(--cond); letter-spacing: 0.01em; text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lampe); box-shadow: 0 0 0 4px rgba(255, 196, 119, 0.22), 0 0 14px 2px rgba(255, 196, 119, 0.5); margin-right: 12px; vertical-align: 0.08em; }

/* The footnote mark: a small asterisk at a model picture, a group of pictures or a plan - a real link to the ONE note at
   the foot of the page (tools/build.py STAR, footer; .ftr-note). Quiet to the eye, 28 px to press, the site's own focus
   ring; in a line of text it takes no more room than the line has. */
.star { display: inline-block; min-width: 28px; margin-block: -4px; font: 500 1rem/28px var(--cond); text-align: center; text-decoration: none; color: inherit; }
/* Bildlegende: where the line on what a picture is used to stand, now the mark alone - on a small opaque plate where it
   lies over a picture, plain where it stands below one */
figure { margin: 0; position: relative; }
.legend { position: absolute; left: 12px; bottom: 12px; margin: 0; font: 400 0.8125rem/1.35 var(--cond); background: var(--raised); color: var(--tinte); z-index: 3; }
.legend.on-dark { background: var(--nacht); color: var(--putz); }
.legend .star { display: block; width: 28px; margin: 0; padding-top: 8px; line-height: 20px; }      /* on its own: a square to press, the sign in its middle (in a line of text it stays raised) */
.legend--group, .apt-figure .legend, .hero-claim .hero-legend { position: static; display: block; margin: 14px 0 10px -10px; padding: 0; background: none; color: var(--fg-2, inherit); }      /* below its pictures, on the page: no plate, the asterisk itself on the pictures' left edge */
figcaption { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; padding-top: 8px; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; }
figcaption .label { margin: 0; }

/* threshold bands: the mood changes in space, text-free */
.threshold { height: 28vh; }
.th-day-night { background: linear-gradient(180deg, var(--papier) 0%, #ecd6c5 26%, var(--rose) 46%, #6d7f97 62%, var(--nacht-3) 78%, var(--nacht) 100%); }
.th-night-paper { background: linear-gradient(180deg, var(--nacht-3) 0%, #6d7f97 26%, var(--rose) 48%, #ecd6c5 70%, var(--papier) 100%); }
.th-paper-night { background: linear-gradient(180deg, var(--papier) 0%, #ecd6c5 26%, var(--rose) 46%, #6d7f97 62%, var(--nacht-3) 78%, var(--nacht) 100%); }

/* ---------------------------------------------------------------- the continuous house (home page)
   ONE fixed layer with ONE canvas behind the story's text. The sky is this layer's own gradient (evening, and the
   day laid over it by --L); the canvas is transparent where there is no model. */
.house { display: none; }
html.anim .house { display: block; position: fixed; inset: 0; z-index: 2; pointer-events: none; animation: wb-in 0.5s ease-out;
  background: linear-gradient(180deg, var(--nacht) 0%, var(--nacht-2) 58%, var(--nacht-3) 100%); }
.house i { position: absolute; inset: 0; }
.house-sky { background-image: var(--grain); opacity: 0.045; }
.house-day { background: linear-gradient(180deg, var(--himmel) 0%, var(--papier) 72%); opacity: var(--L, 0); }
.house canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@keyframes wb-in { from { opacity: 0; } }
/* the story's sections lie over the house; the paper sections and the footer cover it */
html.anim .page-home main > :not(.house):not(.s-open), html.anim .page-home .ftr { position: relative; z-index: 3; }
html.anim .s-hero, html.anim .c-turn, html.anim .s-open, html.anim .s-abend, html.anim .th-day-night { background: none; }
html.anim .s-open::before, html.anim .s-abend::before { display: none; }
html.anim .s-day, html.anim .s-frieze, html.gl #stage-home .canvas, html.anim #stage-abend .canvas { display: none; }      /* the image fallback of the same chapters */
/* The light view (html.cpu, story.js + frames.js): its pictures end where the image stage's plates stand; the stage
   shows them, and takes the pointer, only once the house is open (data-ready) - its warm glow comes up with it */
html.cpu #stage-home:not([data-ready]) .canvas { visibility: hidden; }
html.cpu #stage-home .storey::before { transition: opacity 0.25s; }
html.cpu #stage-home:not([data-ready]) .storey::before { opacity: 0; }
/* the hero's still and its sky stay over the house until the house has drawn (html.live, set by site.js), then give way */
html.anim.live .hero-sky, html.anim.live .hero-frame > picture { opacity: 0; visibility: hidden; }
html.anim.live.motion .hero-sky, html.anim.live.motion .hero-frame > picture { transition: opacity 0.45s ease-out, visibility 0s 0.45s; }
@media (min-width: 900px) { html.anim .s-open { z-index: 3; } }

/* ---------------------------------------------------------------- hero (evening) */
.s-hero { position: relative; background: var(--dusk-top); color: var(--putz); }
/* --fit-*: the page area the real-time house is fitted into (.hero-fit), as numbers the still can be laid out by */
.hero-pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; --fit-x: 13; --fit-t: calc(var(--hdr) + 23svh); --fit-b: 23svh; }
.hero-sky, .hero-sky i { position: absolute; inset: 0; }
.sky-dusk { background: linear-gradient(180deg, var(--dusk-top) 0%, var(--dusk-top) 50%, var(--dusk-bottom) 50%, var(--dusk-bottom) 100%); }
.hero-frame { position: absolute; left: 50%; bottom: 0; width: max(100vw, calc(100svh * 1.42)); aspect-ratio: 16 / 9; transform: translateX(-50%); }
.hero-frame picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the frame's top edge melts into the CSS sky (the name may stand above the frame, so only the image is masked) */
.hero-frame > picture { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%); mask-image: linear-gradient(180deg, transparent 0, #000 5%); }
.hero-name { position: absolute; left: 0; right: 0; bottom: calc(100% - var(--roof)); margin: 0; text-align: center; font: 300 min(14vw, 26svh, 16rem)/0.9 var(--serif); letter-spacing: -0.03em;
  font-variation-settings: "opsz" 60; white-space: nowrap; color: var(--putz); transform: translateY(calc(0.1em - 10px)); }
/* (the name's box ends on the roof line; with this line height the face's baseline lies 0.1em above the box's lower
   edge - so 0.1em down puts the letters ON the line, and 10 px back up leaves that much sky between them and the roof) */
.hero-name span { display: inline-block; }
.hero-claim { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(18px, 4.5svh, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-claim p { margin: 0; }
.hero-where { font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; white-space: nowrap; }
.hero-where a { display: inline-block; margin-left: 0.9em; padding: 14px 0; }
.hero-claim > .hero-where { margin-top: -10px; }
.hero-cue { display: none; }                  /* a narrow screen's own (below) */
.hero-line { font: 300 clamp(1.5rem, 2.6vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.02em; }
/* district and rooms, then the range of the listed rounded prices: two short lines under the hero's line */
.hero-claim .hero-budget { margin-top: 6px; font: 400 0.9375rem/1.35 var(--cond); letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; }
.hero-budget span { display: block; }
/* the picture's note: one plain line below the claim, on the hero's own night ground (no plate) */
.hero-claim .hero-legend { display: flex; align-items: center; flex: 1 0 100%; max-width: none; margin: 0; color: inherit; opacity: 0.84; }      /* first in the claim, as in its source: „Visualisierung" and its asterisk right under the picture */
/* With the real-time house, and while it is being prepared (html.gl-pending): the frame is the whole pin, .hero-fit
   is the page area the house is fitted into, and the name stands on the roof line - the one the scene reports
   (--roof-y, story.js) or, before that, the still's.
   The still is the picture of this very view. It is laid out as the scene lays out the house: the house's box,
   centred in the area, as large as fits - by its reach to a side or upwards, whichever meets the area first
   (--kx, --ky, --cy, --ry: the still's own measures, tools/build.py). So the still stands where the house will. */
html.anim .hero-pin, html.gl-pending .hero-pin { container-type: size;
  --fit-h: calc(100cqh - var(--fit-t) - var(--fit-b));
  --still-w: min(calc((100 - 2 * var(--fit-x)) * var(--kx) * 1cqw), calc(var(--fit-h) * var(--ky)));
  --still-t: calc(var(--fit-t) + var(--fit-h) / 2 - var(--still-w) * var(--cy)); }
html.anim .hero-frame, html.gl-pending .hero-frame { inset: 0; width: auto; aspect-ratio: auto; transform: none; }
html.anim .hero-frame > picture, html.gl-pending .hero-frame > picture { inset: auto; left: 50%; top: var(--still-t); width: var(--still-w); height: calc(var(--still-w) * 0.5625); transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%), linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 5%), linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
/* Which still: the lit house - or, where the windows are about to come on one by one (html.intro: the first visit of
   a session, with motion; decided before the first paint, tools/build.py), the same view with dark windows, so
   that the first drawn frame of the real-time house continues it. */
.hero-img.unlit { display: none; }
html.intro.gl-pending .hero-img.unlit, html.intro.gl .hero-img.unlit { display: block; }
html.intro.gl-pending .hero-img.lit, html.intro.gl .hero-img.lit { display: none; }
/* the still's own sky and ground, continued above, below and beside it */
html.anim .sky-dusk, html.gl-pending .sky-dusk { background: linear-gradient(180deg, var(--dusk-top) 0, var(--dusk-top) var(--still-t), var(--nacht-2) calc(var(--still-t) + var(--still-w) * 0.345),
  var(--dusk-bottom) calc(var(--still-t) + var(--still-w) * 0.36), var(--dusk-bottom) calc(var(--still-t) + var(--still-w) * 0.5625), var(--nacht-3) 100%); }      /* (below the still, where a far camera sees past the ground: the page's own sky) */
html.anim .hero-name, html.gl-pending .hero-name { bottom: calc(100% - var(--roof-y, calc(var(--still-t) + var(--still-w) * var(--ry)))); font-size: min(12.5vw, 24svh, 15rem); }
.hero-fit { position: absolute; left: calc(var(--fit-x) * 1%); right: calc(var(--fit-x) * 1%); top: var(--fit-t); bottom: var(--fit-b); pointer-events: none; }
html.anim.motion .s-hero { height: auto; min-height: calc(100svh + 70vh); }      /* (one screen stuck, then 70vh of run - at least: with a reader's larger type the pin itself is taller, below) */
html.anim.motion .hero-pin { position: sticky; top: 0; }
/* text handoff: a text keeps one colour on one settled ground; while the light is in between, it is gone at once */
html.anim.motion [data-t] > *, html.anim.motion .hero-name span { transition: opacity 0.5s ease-out, transform 0.6s var(--ease); }
html.anim.motion .s-hero:not([data-phase="a"]) .hero-claim > *, html.anim.motion .s-hero:not([data-phase="a"]) .hero-name span { opacity: 0; transform: translateY(40%); }
html.anim.motion .s-hero:not([data-phase="a"]) .hero-legend { opacity: 0; }
/* a text that is not in its phase is out of reach too: it takes no pointer at once (it may lie over the text that
   is), and its actions leave keyboard and assistive navigation when they have faded */
html.anim.motion .s-hero:not([data-phase="a"]) .hero-claim, html.anim.motion .c-turn:not([data-phase="b1"]) .turn-day,
html.anim.motion .c-turn:not([data-phase="b2"]) .turn-round { pointer-events: none; }
html.anim.motion .s-hero:not([data-phase="a"]) .hero-claim a, html.anim.motion .c-turn:not([data-phase="b2"]) .turn-views,
html.anim.motion .c-turn:not([data-phase="b2"]) .turn-skip { visibility: hidden; transition: visibility 0s 0.5s; }

/* ---------------------------------------------------------------- day comes, once round the house (real-time only) */
.c-turn { display: none; }
html.anim .c-turn { display: block; color: var(--tinte); --fg: var(--tinte); --fg-2: var(--tinte-2); --accent: var(--petrol); }
.turn-pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.turn-text { position: absolute; left: var(--pad); top: calc(var(--hdr) + clamp(16px, 5svh, 56px)); width: min(38vw, 34rem); }
.turn-day .lead { max-width: 30ch; margin: 0; }
.turn-day { margin-bottom: clamp(20px, 4svh, 44px); }
.turn-views { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.turn-skip { margin: 0 0 18px; max-width: none; }      /* the round is long: a way on to the apartments, in the round's own text */
.turn-skip .btn { min-height: 44px; padding: 10px 16px; }
.view-btn { font: 600 1rem/1.1 var(--cond); letter-spacing: 0.01em; min-height: 44px; padding: 10px 14px; background: transparent; color: var(--tinte);
  border: 1px solid var(--tinte); border-radius: 2px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.view-btn:hover { border-color: var(--petrol); color: var(--petrol); }
.view-btn[aria-pressed="true"] { background: var(--tinte); color: var(--putz); }
.turn-fit { position: absolute; left: 44%; right: 3%; top: calc(var(--hdr) + 5svh); bottom: 9svh; pointer-events: none; }
.turn-legend { left: var(--pad); bottom: 16px; max-width: calc(100% - 2 * var(--pad)); }      /* (the page's own margin on both sides) */
html.anim.motion .c-turn { height: calc(100svh + 330vh); }
html.anim.motion .turn-pin { position: sticky; top: 0; }
/* with motion the two texts take turns in one place and the house has the wider area below them */
html.anim.motion .turn-text { display: grid; width: min(60vw, 52rem); }
html.anim.motion .turn-text > * { grid-area: 1 / 1; margin: 0; }
html.anim.motion .turn-fit { left: 24%; top: calc(var(--hdr) + 30svh); }
html.anim.motion .c-turn:not([data-phase="b1"]) .turn-day > *, html.anim.motion .c-turn:not([data-phase="b2"]) .turn-round > * { opacity: 0; transform: translateY(24px); }
html.anim.motion .c-turn [data-t] > *:nth-child(2) { transition-delay: 0.07s; }
html.anim.motion .c-turn [data-t] > *:nth-child(3) { transition-delay: 0.14s; }
html.anim.motion .c-turn[data-phase="l"] [data-t] > *, html.anim.motion .c-turn[data-phase=""] [data-t] > * { transition: none; }
html.anim.motion .c-turn:not([data-phase^="b"]) .turn-legend { opacity: 0; }
/* „Weiter zu den Wohnungen" - the round's own link - is there from the moment the chapter is the current one
   (story.js marks it: data-current), not only when the round's text has come: whoever arrives here can go on at
   once. It stands right below the place the two texts share, so it meets neither of them, and it goes with the
   chapter. (The link, its target and the story are what they were; only when it shows and where it stands.) */
html.anim.motion .turn-skip { position: absolute; left: 0; top: 100%; margin: 12px 0 0; }
html.anim.motion .c-turn[data-current] .turn-skip { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: none; }
/* without motion the house and its sky belong to the chapter in view; a neighbouring chapter that is already or
   still on screen stands on its own ground, so its text never meets the other chapter's sky */
html.anim:not(.motion) .s-hero:not([data-current]) { background: var(--dusk-top); }
html.anim:not(.motion) .c-turn:not([data-current]) { background: linear-gradient(180deg, var(--himmel) 0%, var(--papier) 72%); }
html.anim:not(.motion) .s-abend:not([data-current]) { background: linear-gradient(180deg, var(--nacht) 0%, var(--nacht-2) 58%, var(--nacht-3) 100%); }
@media (min-width: 900px) { html.anim:not(.motion) .s-open:not([data-current]) { background: linear-gradient(180deg, var(--nacht) 0%, var(--nacht-2) 58%, var(--nacht-3) 100%); } }
html.anim .th-day-night { height: 24vh; }
html.anim.motion .th-day-night { height: 70vh; }

/* the day scene and the four elevations as ordinary sections (image fallback) */
.s-day { padding: clamp(40px, 8vh, 96px) var(--pad) 0; background: linear-gradient(180deg, var(--himmel), var(--papier) 70%); }
.s-day figure { margin: 20px calc(-1 * var(--pad)) 0; }
.s-day figure img { width: 100%; }
.s-day .legend { left: var(--pad); }
.s-frieze { padding: clamp(40px, 8vh, 96px) 0 clamp(32px, 6vh, 72px); }
.s-frieze .chapter, .frieze-note { margin-left: var(--pad); margin-right: var(--pad); }
.frieze-note .legend--group { margin-top: 18px; }
.frieze { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.frieze-track { display: flex; width: max-content; }
.frieze-item { flex: none; width: min(88vw, 1100px); scroll-snap-align: center; }
.frieze-item picture { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%); }
.frieze-item figcaption { padding: 10px var(--pad) 0 clamp(16px, 3vw, 40px); }

/* ---------------------------------------------------------------- the stage: opened house, light patches, isolation */
.stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; --stage-h: calc(100svh - var(--hdr) - 56px); }
.canvas { position: relative; width: min(100%, calc(var(--stage-h) * var(--pw) / var(--ch))); aspect-ratio: var(--pw) / var(--ch); --open: 1; }
.storey { position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: var(--pw) / var(--ph);
  transform: translateY(calc(var(--i) * -1% * (var(--s0) + var(--open) * (var(--s1) - var(--s0))))); transition: opacity 0.25s, visibility 0s; }
.storey::before { content: ""; position: absolute; inset: 16% 10% 6%; background: radial-gradient(closest-side, rgba(255, 196, 119, 0.26), rgba(255, 196, 119, 0)); opacity: var(--lit, 1); pointer-events: none; }
.storey > picture { position: absolute; inset: 0; }
.plate { display: block; width: 100%; height: 100%; }
.plate.lit { opacity: var(--lit, 1); transition: opacity 0.25s; }
.patch { position: absolute; opacity: 0; transition: opacity 0.42s; pointer-events: none; }
.patch img { width: 100%; height: auto; }
.patch.on { opacity: 1; }
.hits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hits rect { fill: transparent; pointer-events: none; }
.stage[data-ready] .hits rect { pointer-events: all; cursor: pointer; }
/* The apartments' page, the open house as pictures: the house ends above the stage's notice (the notice lay over the ground
   floor's lower corner). The stage is as large as it was; the house's box is lower by the notice's room (--cap: one line of
   it, two where a narrow screen breaks it) and stands at the stage's top - the same box for plates and touch areas, only
   smaller. The box does NOT depend on whether an apartment is chosen: it must not move under a resting pointer (a plate
   that slid under it would be previewed), and a chosen apartment's picture starts from where its plate stood. Where that
   picture ends up is the stage's own centre and size (finder.js place()), which this does not touch. */
.finder-quick { display: none; }      /* (narrow screens only; wide ones have the list and the comparison beside the house) */
.s-finder .stage { --cap: 46px; place-items: start center; }
.s-finder .stage .canvas { width: min(100%, calc((var(--stage-h) - var(--cap) - var(--cue, 0px)) * var(--pw) / var(--ch))); }
@media (max-width: 379px) { .s-finder .stage { --cap: 60px; } }
/* … one line above the house: its numbers can be chosen. Its room is always kept (the house is smaller by it), so nothing
   moves when it shows - with the numbers, once the stage is ready and its pictures have not failed, and not while one is chosen */
.s-finder .open-stage { display: flex; flex-direction: column; --cue: 28px; }
.s-finder .open-stage > .stage { flex: 1 1 auto; min-height: 0; height: auto; }
.stage-cue { flex: none; height: var(--cue); margin: 0; max-width: none; text-align: center; font: 500 0.8125rem/var(--cue) var(--cond); letter-spacing: 0.04em; color: var(--putz); visibility: hidden; }
.s-finder .open-stage:has(> #stage-finder[data-ready]:not([data-media="failed"]):not([data-state="selected"])) .stage-cue { visibility: visible; }
/* each apartment's number on its place (the index's disc, smaller): for the eye only, the pointer goes through to its hit area.
   Its size follows its floor's picture: 8.5% of its width, under the 9.5% between the two closest numbers, so no two ever touch;
   where that would be too small to read, none is shown (the cue does not promise them) */
#stage-finder .storey { container-type: inline-size; pointer-events: none; }      /* a higher floor's box (and picture), clear around its plate, never covers a lower floor's hit areas: only the ready rects take the pointer */
.stage-no { position: absolute; z-index: 2; display: none; place-items: center; width: min(1.5rem, 8.5cqi); height: min(1.5rem, 8.5cqi); transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--nacht); border: 1.5px solid var(--lampe); color: var(--lampe); font: 600 min(0.75rem, 4.8cqi)/1 var(--cond); letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; pointer-events: none; }
#stage-finder[data-ready]:not([data-media="failed"]) .stage-no { display: grid; }
@container (max-width: 189.98px) { #stage-finder[data-ready]:not([data-media="failed"]) .stage-no { display: none; } }      /* the show rule's own selector: same weight, later, so it wins */
/* … and which plate is which floor: its short name in the room beside it (the list and the picture's description say the full names) */
.s-finder .storey::after { content: attr(data-level); position: absolute; right: 100%; top: 55%; margin-right: 6px; transform: translateY(-50%); font: 600 0.75rem/1 var(--cond); letter-spacing: 0.1em; color: var(--putz); opacity: 0.85; pointer-events: none; }
.stage[data-state="preview"] .plate.lit { opacity: 0.16; }
.stage[data-state="preview"] .storey::before { opacity: 0.2; }
.stage[data-mode="light"][data-light] .plate.lit { opacity: 0; }
.stage[data-mode="light"][data-light] .storey::before { opacity: 0; }
.stage[data-state="selected"] .storey { opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s 0.25s; }
.iso { position: absolute; height: auto; max-width: none; opacity: 0; visibility: hidden; transform-origin: 0 0; transform: translate(0, 0) scale(1); pointer-events: none; z-index: 4;
  transition: opacity 0.25s, transform 0.5s var(--ease), visibility 0s 0.5s; }
.iso.on { opacity: 1; visibility: visible; transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--ts, 1)); transition: opacity 0.25s, transform 0.5s var(--ease) 0.12s, visibility 0s; view-transition-name: wohnung; }
.stage[data-state="selected"]::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, rgba(255, 196, 119, 0.13), rgba(255, 196, 119, 0)); pointer-events: none; }
html:not(.motion) .iso, html:not(.motion) .iso.on { transition: opacity 0.15s, visibility 0s; }
html:not(.motion) .storey { transition: opacity 0.15s, visibility 0s; }
html:not(.motion) .stage[data-state="selected"] .storey { transition: opacity 0.15s, visibility 0s 0.15s; }
.stage.no-anim *, .stage.no-anim { transition: none !important; }
/* house images that did not load: say so on the stage's own opaque plate; the list beside it is the way in */
.stage-note { display: none; position: absolute; left: 12px; right: 12px; top: 40%; margin: 0; max-width: none; padding: 14px 16px; background: var(--nacht); color: var(--putz);
  border: 1px solid var(--lampe); font: 500 1rem/1.4 var(--cond); z-index: 6; }
.stage[data-media="failed"] .stage-note { display: block; }
html.gl .page-home .stage[data-media="failed"] .stage-note { display: none; }      /* the note is about the images; the real-time house is what shows */

/* stage column + text column (home opening/finder and the finder page) */
.s-open, .s-finder { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px); padding: 0 var(--pad); align-items: start;
  /* The summary, the general heading and the house's band come and go with a choice. Which rows stay in place then is
     decided in ONE place (finder.js steady()), not by the browser's scroll anchoring as well: an anchored page would be
     scrolled back by the room the heading gives up - on the home page far enough to start closing the house. */
  overflow-anchor: none; }
.open-stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); padding: 20px 0 36px; }
html:not(.anim) .s-open .open-stage { position: static; }   /* image fallback: the settled lit house, then the list */
.open-text { padding: clamp(40px, 9vh, 110px) 0 clamp(48px, 10vh, 120px); min-width: 0; }
.open-run { display: none; }
.open-count .display { max-width: none; font-size: clamp(2rem, 3.8vw, 3.9rem); }
/* the opening: while the house comes apart beside it, the count stays in view (4 … 10 … 16) */
html.anim .open-run { display: block; margin-bottom: clamp(32px, 7vh, 80px); }
html.anim.motion .open-run { height: 200vh; margin-bottom: 0; }
html.anim.motion .open-count { position: sticky; top: calc(var(--hdr) + 8svh); }
html.anim.motion .s-open .open-text { padding-top: 0; }
html.anim.motion .s-open .open-finder { padding-top: clamp(48px, 12vh, 140px); }
html.anim.motion .open-count[data-on="0"] .display > span { opacity: 0; transform: translateY(18px); }
html.anim.motion .open-count .display > span { transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
html.anim.motion .open-count .display > span:nth-child(2) { transition-delay: 0.1s; }
html.anim.motion .open-count .display > span:nth-child(3) { transition-delay: 0.2s; }
html.anim.motion .open-count .numeral { opacity: var(--num, 0); }
/* While the real-time house is still coming apart nothing can be chosen in it: one word says so and offers the header's
   dialog at once. Only then - with motion, in this chapter, until the chooser is ready (the story's own attributes); never
   on the image page or without motion.
   It stands in a TRACK of its own: laid over the whole text column (the opening's run and the chooser below it), taking no
   room in it and letting every press through; inside it the word sticks where the count used to stick. As a line of the
   count it left the screen with the count, well before the chooser was ready. While it is shown the count itself is not
   seen (two messages in one place otherwise); its box, the run's length and its place in the page are what they were. */
.s-open .open-text { position: relative; }
.opening-help-track { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.opening-help { position: sticky; top: calc(var(--hdr) + 8svh); width: fit-content; max-width: 100%; pointer-events: auto; }
.opening-help p { margin: 0 0 12px; max-width: 30ch; font: 500 1.0625rem/1.4 var(--cond); letter-spacing: 0.02em; }
html.anim.motion .s-open[data-current]:not(:has(.stage[data-ready])) .opening-help-track { display: block; }
html.anim.motion .s-open[data-current]:not(:has(.stage[data-ready])) .open-count { visibility: hidden; }

/* The list narrowed by rooms: three native radio buttons shown as one row of full-size choices (the button itself
   lies unseen over its caption, so pointer, keys and assistive technology use the real control), and a line that counts. */
.ufilter { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0 0 8px; padding: 0; border: 0; }
.ufilter label { position: relative; display: inline-flex; }
.ufilter input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ufilter span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; border: 1px solid currentColor; border-radius: 2px; font: 600 1rem/1.1 var(--cond); letter-spacing: 0.01em; }
.ufilter input:checked + span { background: var(--lampe); border-color: var(--lampe); color: var(--nacht); }
.ufilter input:focus-visible + span { outline: 3px solid var(--tinte); outline-offset: 3px; box-shadow: 0 0 0 3px var(--lampe); }
.ufilter-count { margin: 0 0 18px; max-width: none; }
.ulist-group { margin: 0 0 22px; }
.ulist-group > h2, .ulist-group > h3 { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); color: inherit; opacity: 0.9; }
.urow { display: grid; grid-template-columns: 30px minmax(8.5em, auto) 1fr auto; gap: 14px; align-items: center; min-height: 48px; padding: 8px 6px; text-decoration: none; border-bottom: 1px solid var(--rule); position: relative; }
.urow-name { font: 400 1.25rem/1.1 var(--serif); letter-spacing: -0.01em; }
.urow-rooms { font: 400 1rem/1.35 var(--cond); letter-spacing: 0.02em; color: var(--fg-2); text-align: right; }
/* the listed price: the figure a reader scans the list for - stronger and in the row's full colour; rooms and area the same size, quieter beside it */
.urow-price { font-weight: 600; color: var(--fg); }
/* an apartment's status: always the word itself (never colour alone); reserved and sold set stronger than available */
.ustatus { white-space: nowrap; }
.ustatus[data-status="reserviert"], .ustatus[data-status="verkauft"] { font-weight: 600; color: var(--fg); }
.sales-table .ustatus, .compare-table .ustatus { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.sales-table .ustatus[data-status="reserviert"], .sales-table .ustatus[data-status="verkauft"],
.compare-table .ustatus[data-status="reserviert"], .compare-table .ustatus[data-status="verkauft"] { font-weight: 600; }
/* Every row says what activating it does (visible words only: its link, its name and the summary's own „Details" are
   what they were). „Details →": the apartment's page - every row where a row is a plain link (no script, the house not
   open yet, its pictures not there; a chosen apartment has no row while its summary is there - finder.js). „Im Haus zeigen": the first activation shows the apartment in
   the house - exactly where finder.js would do that, read from the stage's own attributes. Both words lie in ONE cell and
   one is seen: the cell is as wide as the wider word, so no row changes its lines with a choice or a reset. */
.urow-next, .urow-show { grid-column: 4; grid-row: 1; justify-self: end; font: 600 0.9375rem/1.1 var(--cond); letter-spacing: 0.01em; white-space: nowrap; }
.urow-next { color: var(--lampe); }
.urow-show { visibility: hidden; }
:is(html.gl .s-open:has(.stage[data-ready]), :is(html:not(.gl) .s-open, .s-finder):has(.stage[data-ready]:not([data-media="failed"]))) .urow:not(.is-selected) .urow-show { visibility: visible; }
:is(html.gl .s-open:has(.stage[data-ready]), :is(html:not(.gl) .s-open, .s-finder):has(.stage[data-ready]:not([data-media="failed"]))) .urow:not(.is-selected) .urow-next { visibility: hidden; }
/* Name, figures and word on ONE line need about 556 px of column (figures at 16 px, the word at 14 px): the two columns give
   that from 1366 px on, a scrollbar's width included (573 px; 566 px beside a scrollbar). Below it - the
   narrower two columns and the one column alike - the word stands beside the name and the figures on a line of their own. */
@media (max-width: 1365px) {
  .urow { grid-template-columns: 30px 1fr auto; }
  .urow-rooms { grid-column: 2 / -1; text-align: left; margin-top: -6px; }
  .urow-next, .urow-show { grid-column: 3; }
}
.urow:hover, .urow.is-preview { background: rgba(255, 196, 119, 0.09); }
.urow.is-selected { background: rgba(255, 196, 119, 0.16); box-shadow: inset 3px 0 0 var(--lampe); }
.mood-tag .urow:hover { background: rgba(2, 77, 110, 0.07); }
/* The chosen apartment in one place - who it is, its figures, its rooms, what can be done with it. It sticks below
   the header while the list scrolls (below the house on narrow screens), on its own opaque plate, never over the model. */
.pick { position: sticky; top: var(--hdr); z-index: 5; margin: 0 0 22px; padding: 14px 16px; background: var(--nacht); border: 1px solid var(--lampe); }      /* (right below the header: nothing of the list shows between the two) */
.pick { padding: 10px 14px 12px; }           /* (compact: what it covers when it sticks is taken from the list) */
/* While an apartment is chosen its summary stands for the column's general heading and its invitation to choose:
   the two leave the SCREEN, so nothing general shows from under the summary - not the page: they stay what they are
   for assistive technology and heading navigation. Without a choice they are back. */
.open-finder:has(> .pick:not([hidden])) > :is(.chapter, .lead) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the apartments' page: the two ways to an apartment, the second a link to the list of numbers (the page's own anchor) */
.lead-way { display: block; font: 500 0.9375rem/1.4 var(--cond); letter-spacing: 0.02em; }
.lead-way a { display: inline-block; padding: 12px 0; }
/* … the first of the two as a button on a line of its own: it opens something (the dialog with the floors' numbers), the other is a
   jump down the page. Its words may break inside it on a narrow screen; it is never wider than the column. */
.lead-way [data-index-open] { display: flex; width: fit-content; max-width: 100%; min-height: 44px; margin: 4px 0; padding: 10px 12px; line-height: 1.25; text-align: left; }
.lead-floors { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }      /* the three floors, top first, side by side as far as they fit */
.lead-floors [data-index-open] { margin: 0; }
.open-finder:has(> .pick:not([hidden])) .lead-way { display: none; }      /* with an apartment chosen the invitation is off the screen: its link is no unseen stop for the keyboard */
/* its figures and, beside them, the button that shows its model picture larger (the page's enlarge dialog) */
.pick-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; margin: 0 0 2px; }
.pick-zoom { flex: none; gap: 0.35em; min-height: 44px; padding: 8px 12px; cursor: zoom-in; font-size: 0.9375rem; }
.pick-name [data-p="facts"] { display: inline-block; }      /* rooms, area and price stay together where the line allows */
.pick-name { margin: 0; max-width: none; font: 400 1.0625rem/1.3 var(--cond); letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; }
.pick-name strong { font: 400 1.375rem/1.2 var(--serif); letter-spacing: -0.01em; margin-right: 10px; }
.pick-rooms { margin: 0 0 8px; max-width: none; font: 400 0.875rem/1.35 var(--cond); letter-spacing: 0.01em; opacity: 0.86; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; max-width: none; }
.pick-actions .btn { min-height: 44px; padding: 10px 16px; }
.pick-note { margin: 10px 0 0; max-width: none; font: 400 0.875rem/1.4 var(--cond); letter-spacing: 0.01em; }
.pick-failed { padding: 8px 10px; border: 1px solid var(--lampe); }
.s-open .urow, .s-finder .urow { scroll-margin-top: calc(var(--hdr) + 200px); }
.facades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; margin: 0 0 14px; max-width: 520px; align-items: end; }
.facade { display: block; text-decoration: none; }      /* each leads to that side of the house */
.facade span { display: block; padding: 6px 0 4px; font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.01em; text-decoration: underline; text-underline-offset: 0.25em; opacity: 0.9; }
.facade-svg { width: 100%; height: auto; color: var(--fg); }
.facade-svg .blk { fill: none; stroke: currentColor; stroke-width: 0.1; opacity: 0.75; }
.facade-svg .gl { stroke: currentColor; stroke-width: 0.06; opacity: 0.75; }
.facade-svg .op { fill: none; stroke: currentColor; stroke-width: 0.045; opacity: 0.4; }
.facade-svg .op.own { fill: var(--lampe); stroke: var(--tinte); stroke-width: 0.06; opacity: 1; }

/* ---------------------------------------------------------------- Innen, about, Abend */
.s-innen, .s-about, .s-legal, .s-project, .s-gallery, .s-plist, .s-address { padding: clamp(56px, 11vh, 140px) var(--pad); }
.innen-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px); margin-top: clamp(28px, 5vh, 64px); }
.innen-item { grid-column: span 2; }
.innen-item:nth-child(4) { grid-column: 2 / span 2; }
.innen-img { display: block; }
.innen-item figcaption { display: grid; gap: 4px; justify-content: start; text-transform: none; letter-spacing: 0; }
.innen-name { font: 400 1.375rem/1.1 var(--serif); letter-spacing: -0.01em; text-transform: none; }
html.motion .rollladen .innen-img { clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path 0.9s var(--ease), transform 0.9s var(--ease); }
html.motion .rollladen.is-in .innen-img { clip-path: inset(0 0 0 0); transform: none; }
.s-about { padding-top: clamp(40px, 8vh, 100px); border-top: 1px solid var(--linie); }
.s-about .display { max-width: 14ch; font-size: clamp(2.4rem, 5.6vw, 5.5rem); margin-bottom: 0.5em; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: start; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.firm { font-style: normal; font-size: 1.0625rem; line-height: 1.7; }
.firm a { display: inline-block; padding: 9px 0; }      /* telephone and e-mail: a full-height target */
.firm .note { display: block; margin-top: 6px; }
.s-abend { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(32px, 6vh, 80px) var(--pad) clamp(56px, 10vh, 120px); min-height: 100vh; }
.abend-stage { height: min(78svh, 720px); }
.abend-stage .stage { --stage-h: min(78svh, 720px); }

/* ---------------------------------------------------------------- apartment page */
/* (name and figures, the picture, then what remains - in that order in the page. On a wide screen the picture stands beside the two
   text parts, which keep each other's company as one column: no gap between the rows, the first part at its row's end, the second at
   its row's start - so the two together stand in the middle beside the picture, as the one block did) */
.apt-arrival { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); gap: 0 clamp(20px, 4vw, 64px); align-items: center; padding: clamp(28px, 6vh, 72px) var(--pad) clamp(40px, 8vh, 96px); min-height: calc(100svh - var(--hdr)); }
.apt-head .display { font-size: clamp(4rem, 10.5vw, 11rem); line-height: 0.86; white-space: nowrap; max-width: none; margin-bottom: 0.3em; }
.apt-w { display: block; font-size: 0.3em; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.12em; }
.apt-rooms .label { display: block; margin-bottom: 0.3em; }
.apt-head { grid-column: 1; grid-row: 1; align-self: end; }
.apt-more { grid-column: 1; grid-row: 2; align-self: start; }
.apt-figure { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.apt-img { width: 100%; height: auto; view-transition-name: wohnung; }
.apt-figure figcaption { display: block; padding-top: 0; }
.apt-figure .legend { display: flex; align-items: center; margin: 8px 0 0; }      /* „Visualisierung, beispielhaft möbliert" and its asterisk, as the hero's */
.apt-facts .apt-fact-note { display: block; max-width: 24ch; margin-top: 6px; font: 400 0.8125rem/1.35 var(--cond); letter-spacing: 0.01em; color: var(--fg-2); }      /* a roof apartment's terrace limit, under its area */
.apt-plan { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; gap: 12px clamp(20px, 4vw, 64px); padding: clamp(48px, 9vh, 120px) var(--pad); border-top: 1px solid var(--linie); align-items: start; }
/* the plan comes first (beside the heading on wide screens, right below it on narrow ones); what has to be said about
   it stands under the heading in small type - on narrow screens under the plan */
.apt-plan > h2 { grid-column: 1; grid-row: 1; }
.apt-plan > .plan { grid-column: 2; grid-row: 1 / span 2; }
.apt-plan-notes { grid-column: 1; grid-row: 2; }
.apt-plan-notes .note { margin-bottom: 0.7em; }
/* an apartment's room areas as its plan prints them: names and figures in two columns, the balcony apart */
.room-areas { margin: 0 0 18px; }
.room-areas h3 { margin: 0 0 8px; }
/* (two columns at most; ONE where a column would be narrower than 8.5rem - so with a reader's larger type, without a query: the
   narrowest column at the usual size is 137.5 px, at 900 px of screen. The list is also a query container for its own rows, below) */
.room-list { --room-gap: clamp(16px, 3vw, 32px); container: rooms / inline-size; display: flex; flex-wrap: wrap; gap: 0 var(--room-gap); margin: 0 0 10px; font-variant-numeric: lining-nums tabular-nums; }
.room-list > div { flex: 0 1 calc((100% - var(--room-gap)) / 2); min-width: min(100%, 8.5rem); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.room-list dt { font: 400 1rem/1.3 var(--serif); }
.room-list dd { margin: 0; font: 400 1rem/1.3 var(--serif); white-space: nowrap; }
@media (max-width: 379px) { .room-list > div { flex-basis: 100%; } }       /* two columns do not hold a long name beside its figure there */
.room-list .room-out { flex-basis: 100%; border-bottom: 0; }
.room-list .room-out dt::after { content: " (außen)"; font: 400 0.8125rem var(--cond); color: var(--fg-2); }
.plan-key { display: none; }                 /* the drawing abbreviates only on narrow screens */
.apt-ask { margin: -0.6em 0 1.4em; }
.apt-area, .apt-jump { margin: -0.6em 0 1.2em; }
.apt-expose { margin: -0.6em 0 1.2em; }      /* (the exposé's few words on this apartment's outdoor side, right under its figures) */
.apt-area a, .apt-jump a { display: inline-block; padding: 11px 0; }
.apt-parking { margin: -0.6em 0 1.2em; }      /* (what the price leaves out, beside the price: under the figures - after a roof apartment's note on its area -, before the picture) */
.apt-actions { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.apt-where { font: 500 0.9375rem/1.5 var(--cond); letter-spacing: 0.02em; }
.apt-where a { display: block; width: fit-content; padding: 11px 0; }      /* on its own line: no separator left hanging */
.plan { background: var(--raised); border: 1px solid var(--linie); padding: 14px 18px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.plan label { font: 500 0.9375rem/1.2 var(--cond); letter-spacing: 0.04em; padding: 12px 0; cursor: pointer; }
.furn-toggle { width: 22px; height: 22px; accent-color: var(--bernstein); margin: 0; }
.plan .plan-enlarge { margin-left: auto; min-height: 44px; padding: 10px 16px; }
html.js .plan-figure .plan-svg { cursor: zoom-in; }
.apt-figure .note { margin: 8px 0 0; }
.apt-terrace a { display: block; width: fit-content; padding: 12px 0; }      /* full-size, on its own line */
.plan-figure { flex: 1 0 100%; }
.plan-svg { width: 100%; height: auto; max-height: 82svh; }
.plan-svg text { font-family: var(--cond); font-weight: 500; letter-spacing: 0.02em; }
.plan-svg .entry text { font-size: 0.2px; letter-spacing: 0.06em; }
.furn-toggle:not(:checked) ~ .plan-figure .furn { display: none; }
.apt-lage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 8vh, 100px) var(--pad); align-items: center; }
.apt-lage-stage { height: min(84svh, 780px); }
.apt-lage-stage .stage { --stage-h: min(84svh, 780px); }
.keyplan { max-width: 280px; margin: 0 0 22px; }
.keyplan-svg { width: 100%; height: auto; color: var(--fg); margin-bottom: 8px; }
.twins li { border-bottom: 1px solid var(--rule); font-size: 1.125rem; }
.twins li a { display: inline-block; padding: 12px 12px 12px 0; }      /* a full-height target */
.apt-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; font: 500 0.875rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; max-width: none; }
.apt-nav a { padding: 14px 0; }
.apt-cta, .s-404 { padding: clamp(24px, 5vh, 60px) var(--pad) clamp(72px, 14vh, 160px); }
.apt-cta .display { max-width: 16ch; }
.apt-bar { display: none; }

/* ---------------------------------------------------------------- enquiry */
.s-contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: clamp(24px, 5vh, 56px) var(--pad) clamp(56px, 10vh, 120px); align-items: start; }
.contact-stage { order: -1; }
.contact-ways { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.6em; max-width: none; }
.contact-ways .btn { text-transform: none; letter-spacing: 0.02em; font-size: 1.0625rem; }
.contact-how { margin: 0 0 10px; }
.contact-copied { margin: -1.2em 0 0.4em; min-height: 1.3em; }
.contact-to { margin: 0 0 1.2em; }
.copyable { -webkit-user-select: all; user-select: all; font-weight: 500; overflow-wrap: anywhere; }      /* one tap marks the whole address or subject (an address may break inside itself, as the e-mail links may) */
.draft { margin: 0 0 1.6em; max-width: 34rem; padding: 16px 18px; border: 1px solid var(--rule); background: var(--surface); }
.draft h2, .draft h3 { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.6em; }
.draft-text { margin: 0 0 12px; padding: 12px 14px; background: var(--raised); color: var(--tinte); font: 400 1rem/1.5 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 2px; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 10px; max-width: none; }
.draft-actions .btn { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }      /* (a long word in it breaks inside the column) */
.draft-actions .note { margin: 0; }
/* desktop: copying the draft is as plain a way as opening it in the mail program - the same button (phones keep the one main button) */
@media (min-width: 900px) {
  .draft-actions .btn { min-width: 18rem; }      /* the two stand one under the other in the draft's column: one width for both (the longer label needs 285 px) */
  .draft-actions .btn--ghost { background: var(--tinte); border-color: var(--tinte); color: var(--putz); }
  .draft-actions .btn--ghost:hover { background: var(--petrol); border-color: var(--petrol); color: var(--putz); }
  .mood-abend .draft-actions .btn--ghost { background: var(--lampe); border-color: var(--lampe); color: var(--nacht); }
  .mood-abend .draft-actions .btn--ghost:hover { background: var(--glut); border-color: var(--glut); color: var(--nacht); }
  /* (the contact page: its copy button names the chosen apartment - „Adresse und Vorlage zu Wohnung 2.4 kopieren" needs 407 px. Both
     buttons keep ONE width whatever is chosen: 26rem, or the template's column where that is narrower.) */
  .s-contact .draft-actions .btn { min-width: min(26rem, 100%); }
}
.draft > .note:last-child { margin-bottom: 0; }
.s-contact .firm { margin-top: 1.6em; }
.contact-stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); display: grid; grid-template-rows: 1fr auto; padding-bottom: 12px; }
.contact-stage .stage { --stage-h: calc(100svh - var(--hdr) - 110px); }
.field { margin: 0 0 18px; max-width: 34rem; }
.field label { display: block; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0.02em; opacity: 0.85; }
input, select, textarea { width: 100%; font: 400 1.125rem/1.4 var(--serif); padding: 12px 14px; min-height: 48px; color: var(--tinte); background: var(--raised); border: 1px solid var(--nebel); border-radius: 2px; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--lampe); box-shadow: 0 0 0 2px var(--lampe); }
.err { margin: 6px 0 0; font: 500 0.9375rem/1.35 var(--cond); color: var(--lampe); }
.err::before { content: "Bitte prüfen: "; }
.errors, .status { border: 1px solid var(--lampe); background: rgba(12, 27, 46, 0.72); padding: 18px 20px; margin: 0 0 22px; max-width: 34rem; }
.errors h2, .status h2 { font: 400 1.5rem/1.15 var(--serif); margin-bottom: 0.4em; }
.errors li { margin: 4px 0; font: 500 1rem/1.35 var(--cond); }
.status p { margin: 0 0 0.5em; max-width: none; }
.status p:last-child { margin-bottom: 0; }
.status[data-kind="sent"] { border-color: var(--putz); }
.status a { white-space: nowrap; }
.btn[disabled] { cursor: progress; }
/* a field people do not see and leave empty (the endpoint refuses a filled one); out of sight, out of the tab order */
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- the price list and the two-way comparison */
.s-sales, .s-compare { padding: clamp(40px, 8vh, 96px) var(--pad); }
.s-compare { padding-top: 0; }
.page-finder .s-sales, .page-finder .s-compare { background: var(--papier); }
.sales { max-width: 880px; }
.sales-table, .compare-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.sales-table th, .sales-table td, .compare-table th, .compare-table td { padding: 6px 10px 6px 0; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.sales-table thead th, .sales-level th { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.sales-table tbody th[scope="row"], .compare-table thead th { font: 400 1.25rem/1.1 var(--serif); letter-spacing: -0.01em; }
.sales-table td { font-size: 1.125rem; }
.sales-table td:nth-child(2) { width: 5.5em; }
.sales-table td:last-child { text-align: right; padding-right: 0; }
.sales-table td:last-child a { display: inline-block; padding: 13px 0 13px 12px; font: 500 0.9375rem/1.5 var(--cond); letter-spacing: 0.01em; }
.sales-level th { padding-top: 26px; border-bottom-color: var(--tinte); }
.sales-sub { font-weight: 400; text-transform: none; letter-spacing: 0.02em; }
.sales .note { margin-top: 14px; }
.sales-table tbody th[scope="row"] a { display: inline-block; padding: 9px 12px 9px 0; }
.sales-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: none; }
/* The two-way comparison: two columns, each with its own choice; what one has more stands beside the figure; rows whose two values
   are equal are set quieter (never hidden); the two plans share one scale. */
.compare-say { margin: 0 0 clamp(16px, 3vh, 28px); max-width: 52ch; font: 400 1.0625rem/1.45 var(--cond); letter-spacing: 0.01em; color: var(--fg-2); }
.compare-table { max-width: 1040px; table-layout: fixed; }
.compare-table thead td, .compare-table tbody th[scope="row"] { width: 24%; }
.compare-table tbody th { font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; color: var(--fg-2); }
.compare-table td { font-size: 1.125rem; }
.compare-table th, .compare-table td { padding-top: 11px; padding-bottom: 11px; }
/* the two apartments' names stay below the header while the table scrolls: every row below is still whose it is */
.compare-table thead th, .compare-table thead td { position: sticky; top: var(--hdr); z-index: 2; background: var(--papier); box-shadow: 0 1px 0 var(--tinte); border-bottom-color: var(--tinte); }
/* A column's head is its choice: the small house with this apartment's cell, its name, and - with script - a native select laid
   unseen over both, so pointer, keys and assistive technology use the real control (its options say floor, rooms, area and price;
   the head itself only the name). An empty column's head is the invitation to choose. */
.cmp-col { height: 60px; vertical-align: middle; }
.cmp-col .raster { display: inline-block; vertical-align: middle; margin-right: 10px; }
.cmp-name { vertical-align: middle; white-space: nowrap; }
.js .cmp-name::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin: 0 0 0.22em 0.6em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.cmp-choose select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.compare-table thead .cmp-col:has(select:focus-visible) { outline: 3px solid var(--tinte); outline-offset: 3px; box-shadow: 0 0 0 3px var(--lampe); z-index: 3; }
.cmp-col[data-empty] .raster { display: none; }
.cmp-col[data-empty] .cmp-name { display: inline-flex; align-items: center; white-space: normal; min-height: 44px; padding: 8px 14px; border: 1px solid currentColor; border-radius: 2px; font: 600 1.0625rem/1.15 var(--cond); letter-spacing: 0.01em; }
/* the two figures the choice turns on, and what the larger one has more */
.compare-table tr[data-row="price"] td, .compare-table tr[data-row="area"] td { font: 300 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--serif); letter-spacing: -0.02em; }
.cmp-delta { display: inline-block; margin-left: 0.35em; font: 600 1rem/1.2 var(--cond); letter-spacing: 0.01em; color: var(--accent); white-space: nowrap; }
.cmp-delta:empty { display: none; }
.compare-table tr.is-same td { color: var(--fg-2); }
.compare-table .cmp-group th { padding-top: 28px; border-bottom-color: var(--tinte); font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
/* the plans at one scale: each as wide as its own width is of the widest plan's (--m of --mmax, the drawings' own units) */
.compare-plan td, .compare-view td { vertical-align: top; padding-top: 18px; }
.cmp-plan { display: block; text-decoration: none; }
.cmp-plan img { width: calc(var(--m) / var(--mmax) * 100%); height: auto; }
.cmp-plan-open { display: block; padding: 12px 0; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; text-decoration: underline; text-underline-offset: 0.25em; }
.cmp-terrace { display: block; margin: 0; max-width: none; font-size: 0.875rem; }
.cmp-sides { display: block; font: 400 0.9375rem/1.4 var(--cond); letter-spacing: 0.01em; color: var(--fg-2); }
.cmp-views { display: inline-block; }
.cmp-sides a, .cmp-ask { display: inline-block; padding: 13px 0; }
.cmp-ask { width: fit-content; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; }
.compare-table td > .cmp-ask { display: block; }
.compare-view img { width: 100%; max-width: 280px; height: auto; max-height: 200px; object-fit: contain; object-position: left top; }
.cmp-zoom { display: block; text-align: left; }
.compare-table .compare-act th, .compare-table .compare-act td { border-bottom: 0; padding-top: 18px; }
.compare-table .btn { min-height: 44px; padding: 10px 16px; }
.cmp-notes { max-width: 62ch; margin-top: 10px; }
.cmp-notes .note { margin: 0 0 0.55em; overflow-wrap: break-word; }      /* (a long word breaks rather than widen the page; every word stays) */
/* one question about both: two actions; the template itself folded until it is asked for */
.compare-ask { max-width: 1040px; margin: clamp(28px, 5vh, 48px) 0 0; padding-top: 22px; border-top: 1px solid var(--tinte); }
.compare-ask h3 { font: 400 clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem)/1.2 var(--serif); letter-spacing: -0.01em; text-transform: none; margin: 0 0 0.7em; }
.compare-ask .draft-actions .btn { min-width: 0; }
.compare-ask .draft-actions .btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.compare-ask .draft-actions .btn--ghost:hover { background: transparent; color: inherit; border-color: var(--accent); }
.cmp-draft summary { width: fit-content; min-height: 44px; padding: 11px 0; cursor: pointer; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; text-decoration: underline; text-underline-offset: 0.25em; }
.cmp-draft .draft-text { max-width: 34rem; margin-top: 4px; }
/* an apartment's own figures: on its page and in the panel of the chosen one */
.apt-facts { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 44px); margin: 0 0 1.4em; }
.apt-facts dt { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.apt-facts dd { margin: 2px 0 0; font: 300 clamp(1.5rem, 2.6vw, 2.25rem)/1.1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.urow-rooms { font-variant-numeric: lining-nums tabular-nums; }

/* ---------------------------------------------------------------- project, legal, 404 */
/* The project page: an expose with the house beside it. It arrives by day (address, name, the day picture, the lead, two actions,
   the eight figures), reads its chapters with the matching view of the house beside the text, lists the sixteen apartments with
   price and status, and closes by the lit house. Every rule is the page's own (.page-project). No rule reorders: in one column what
   is seen is the source order; widths of the page's own conditions are in em or, on a query container, in rem, so they move with a
   reader's type size. */
.page-project .s-project { display: grid; grid-template-columns: minmax(0, 1fr); padding: clamp(20px, 4vh, 48px) var(--pad) 0; background: linear-gradient(180deg, var(--himmel) 0%, var(--papier) 62%); }
.page-project .s-project .display { font-size: clamp(2.625rem, 1.5rem + 3.6vw, 5.5rem); line-height: 1; max-width: none; margin: 0 0 0.3em; }
.page-project .pj-where { margin: 0 0 0.6em; }
.page-project .s-project .lead { margin: 22px 0 20px; }
.page-project .pj-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; max-width: none; }
.page-project .pj-actions .btn { flex: 0 1 auto; padding-inline: 16px; }      /* (both side by side on a 390 px screen: the figures begin in its first screen) */
/* the two eye-level pictures run to the screen's edge; their captions keep the page's margin. The first fades into the sky above it
   (the home page's frieze, the same mask) */
.page-project :is(.s-project, .s-address) > .eye { margin: 0 calc(-1 * var(--pad)); }
.page-project :is(.s-project, .s-address) > .eye figcaption { padding-inline: var(--pad); }
.page-project .s-project > .eye picture { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%); }
/* only the page's own figures: the chooser's terrace note and construction photographs keep their shared caption rules */
.page-project :is(.eye, .pj-side, .gallery) figcaption { flex-wrap: wrap; gap: 0 16px; }
.page-project :is(.eye, .pj-side, .gallery) figcaption .note { flex: 1 1 14rem; margin: 0; padding: 4px 0; }
/* The eight figures: ONE band, measured as a whole (never a cell) - four columns, two or one, never three; one scale, the three counts
   one step larger. Labels and values wrap at their spaces, a figure with its unit never (the generator joins them); a word longer
   than its cell is hyphenated, last of all broken. */
.page-project .pj-facts { container: pj-facts / inline-size; margin-top: clamp(24px, 4vh, 40px); }
.page-project .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 1rem; margin: 0; padding-top: 14px; border-top: 1px solid var(--tinte); }
.page-project .facts dt { font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinte-2); }
.page-project .facts :is(dt, dd) { hyphens: auto; overflow-wrap: break-word; }
.page-project .facts dd { margin: 4px 0 0; font: 300 1.75rem/1.1 var(--serif); letter-spacing: -0.02em; font-variation-settings: "opsz" 60; font-variant-numeric: lining-nums; }
.page-project .facts dd.facts-text { font-size: 1.375rem; line-height: 1.2; }
@container pj-facts (width >= 48rem) {
  .page-project .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 2rem; }
  .page-project .facts dd { font-size: 2.5rem; }
  .page-project .facts dd.facts-text { font-size: 1.75rem; }
}
@container pj-facts (width < 19rem) { .page-project .facts { grid-template-columns: minmax(0, 1fr); } }
.page-project .project-plan { margin: 12px 0 0; }
/* on this page: its chapters' names, plain links, each a full-height target */
.page-project .pj-toc { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.4vw, 32px); margin: clamp(20px, 3vh, 32px) 0 0; padding: 4px 0 clamp(16px, 3vh, 28px);
  border-top: 1px solid var(--rule); font: 500 0.8125rem/1.3 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.page-project .pj-toc a { display: inline-flex; align-items: center; min-height: 44px; }
/* wide: name, lead and actions in five twelfths, the day picture in seven, to the screen's right edge; the text centred beside it */
@media (min-width: 56.25em) {
  .page-project .s-project { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: clamp(24px, 4vw, 64px); }
  .page-project .s-project > * { grid-column: 1; }
  .page-project .pj-where { grid-row: 2; }
  .page-project .s-project .display { grid-row: 3; }
  .page-project .s-project .lead { grid-row: 4; }
  .page-project .pj-actions { grid-row: 5; }
  .page-project .s-project > .eye { grid-column: 2; grid-row: 1 / span 6; margin: 0 calc(-1 * var(--pad)) 0 0; }
  .page-project .s-project > .eye figcaption { padding-inline: 0 var(--pad); }
  .page-project .s-project > :is(.pj-facts, .pj-toc) { grid-column: 1 / -1; }
}
/* the chapters: one tier of heading, more room above it than below */
.page-project main h2 { font: 300 clamp(1.625rem, 1rem + 1.9vw, 2.875rem)/1.1 var(--serif); letter-spacing: -0.02em; font-variation-settings: "opsz" 60; margin: 0 0 0.55em; text-wrap: balance; overflow-wrap: break-word; }
.page-project .pj-chapters { padding: 0 var(--pad); }
.page-project .pj-chapters > * { margin: 0; padding: clamp(44px, 8vh, 96px) 0; border-top: 1px solid var(--rule); }
.page-project .pj-chapters > :first-child { border-top: 0; padding-top: clamp(28px, 5vh, 56px); }
.page-project .district { max-width: none; }
.page-project .district p { margin: 0 0 0.75em; }
.page-project .district-where { margin: 0; font: 500 0.9375rem/1.5 var(--cond); letter-spacing: 0.02em; }      /* the address and its map link */
.page-project .district-where a { display: block; width: fit-content; padding: 12px 0; }      /* on its own line: no separator left hanging */
.page-project .district-daily-h { margin: 1.2em 0 0.5em; }      /* the location's everyday sentences, under their own heading beside the address */
.page-project .district-daily li { margin: 0 0 0.6em; max-width: 60ch; }
/* a chapter's picture of the house, right below its heading; on wide screens beside the text, in view while the chapter is read */
.page-project .district > figure { max-width: 40rem; margin: 0 0 1.4em; }
.page-project .pj-way { margin: 0; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; }
.page-project .pj-way a { display: inline-block; padding: 12px 0; }
.page-project .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); margin-top: 8px; }
.page-project .gallery figcaption { gap: 0 10px; }
@media (min-width: 78.125em) { .page-project .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 68.75em) {
  .page-project .pj-chapters > .district { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); align-items: start; }
  .page-project .pj-chapters > .district > * { grid-column: 1 / span 6; }
  .page-project .pj-chapters > .district > :is(figure, .district-way) { grid-column: 8 / -1; grid-row: 1 / span 5; margin: 0; }
  .page-project .pj-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
}
@media (min-width: 68.75em) and (min-height: 43.75em) { .page-project .pj-chapters > .district > figure { position: sticky; top: calc(var(--hdr) + 24px); } }
/* The price list: the place to choose, under a strong rule. Two measurements, both in rem. The section (the shared container
   „prices") decides whether the aside - the sixteen cells, the count by rooms, the two actions - stands beside the table; the
   table's own column is the nearer container of that same name, so every rule about the table, the shared sideways-scrolling one
   included, measures the column the table really has. */
.page-project .s-sales { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; border-top: 2px solid var(--tinte); }
.page-project .s-sales > * { grid-column: 1 / -1; min-width: 0; }
.page-project .pj-table { container: prices / inline-size; }
.page-project .pj-aside { margin: 0 0 clamp(24px, 4vh, 40px); }
.page-project .pj-raster { width: clamp(88px, 8vw, 120px); }
.page-project .pj-count { margin: 14px 0 0; font: 400 1.0625rem/1.45 var(--cond); letter-spacing: 0.01em; }
.page-project .sales-actions { margin-top: 16px; }
@container prices (width >= 60rem) {
  .page-project .s-sales > .pj-table { grid-column: 1 / span 8; grid-row: 2; }
  .page-project .s-sales > .pj-aside { grid-column: 9 / -1; grid-row: 2; margin: 0; padding-left: clamp(24px, 3vw, 48px); }
  .page-project .pj-aside .sales-actions { flex-direction: column; align-items: flex-start; }
}
/* pinned only in a window tall enough for it, as the chapter figures: in a short one its actions scroll by with the table */
@media (min-height: 43.75em) { @container prices (width >= 60rem) { .page-project .s-sales > .pj-aside { position: sticky; top: calc(var(--hdr) + 24px); } } }
/* a column narrower than one line per apartment (34rem): two lines of the table's own cells - number, status and enquiry, then
   rooms, area and price - the head row laid out the same way above them; below 17rem the shared rule moves the table sideways */
@container prices (17rem < width < 34rem) {
  .page-project .sales-table, .page-project .sales-table :is(thead, tbody) { display: block; }
  .page-project .sales-table tr { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; column-gap: 10px; border-bottom: 1px solid var(--rule); }
  .page-project .sales-table :is(th, td) { padding: 2px 0; border: 0; }
  .page-project .sales-table tr > :nth-child(1) { grid-area: 1 / 1; }
  .page-project .sales-table tr > :nth-child(2) { grid-area: 2 / 1; width: auto; }
  .page-project .sales-table tr > :nth-child(3) { grid-area: 2 / 2; }
  .page-project .sales-table tr > :nth-child(4) { grid-area: 2 / 3; text-align: right; }
  .page-project .sales-table tr > :nth-child(5) { grid-area: 1 / 2; align-self: center; }
  .page-project .sales-table tr > :nth-child(6) { grid-area: 1 / 3; align-self: center; }
  .page-project .sales-table tbody td:nth-child(2)::after { content: " Zi."; }
  .page-project .sales-table thead th:nth-child(2) { font-size: 0; }
  .page-project .sales-table thead th:nth-child(2)::after { content: "Zi."; font-size: 0.8125rem; }
  .page-project .sales-table tr.sales-level { border-bottom-color: var(--tinte); }
  .page-project .sales-table .sales-level th { grid-column: 1 / -1; padding: 22px 0 6px; }
  .page-project .sales-table tbody td:last-child a { padding-block: 11px; }
}
/* the close: paper turns to night (text-free, shorter than the home page's), the evening picture beside the invitation */
.page-project .threshold { height: 14vh; }
@media not all and (min-width: 56.25em) { .page-project .threshold { height: 11vh; } }
.page-project .s-address { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px clamp(24px, 4vw, 64px); padding: 0 var(--pad) clamp(56px, 10vh, 120px); border-top: 0; }
@media (min-width: 56.25em) {
  .page-project .s-address { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .page-project .s-address > .eye { margin: 0 0 0 calc(-1 * var(--pad)); }
  .page-project .s-address > .eye figcaption { padding-inline: var(--pad) 0; }
}
html.no-js .page-project button[data-enlarge] { display: none; }      /* (enlarging needs the script; without it the button would do nothing) */
@media print { .page-project :is(.district > figure, .pj-aside) { position: static; } }
.s-gallery, .s-plist, .s-address { border-top: 1px solid var(--linie); }
.s-address h2 ~ h2 { margin-top: 1.4em; }
/* The two eye-level views. Each picture is shown a fifth larger than its frame, cut where there is only sky and
   ground: the picture's window is x 144-1477, y 30-780 of 1600 x 900, the house lies within x 274-1336, y 193-651
   (measured in the pictures; its model box 185-1437, 153-656). Enlarged, the whole picture shows. */
.eye picture { aspect-ratio: 16 / 9; overflow: hidden; }
.eye img { width: 120%; max-width: none; margin: -2.21% 0 0 -10.8%; }
/* the client's one current construction-progress record: date, heading, text, photographs (no legend: not visualisations) */
.s-progress { padding: clamp(56px, 11vh, 140px) var(--pad); border-top: 1px solid var(--linie); }
.s-progress h3 { font: 400 clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem)/1.2 var(--serif); letter-spacing: -0.01em; text-transform: none; margin: 0.2em 0 0.6em; max-width: 40ch; }
.progress-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 28px; }
.progress-photos figure { margin: 0; }
.progress-photos figcaption { text-transform: none; letter-spacing: 0.01em; font-weight: 400; font-size: 0.9375rem; }
.progress-photos figcaption .note { margin-left: 0.5em; }
.s-plist .ulist { max-width: 880px; margin-bottom: 24px; }
.s-404 { display: grid; gap: 28px; }      /* the reason and the ways back first, then the picture */
.nf-figure { margin: 0 calc(-1 * var(--pad)); }
.nf-figure img { width: 100%; }
.nf-figure .legend { left: var(--pad); }

/* ---------------------------------------------------------------- footer, dialogs */
.ftr { padding: clamp(40px, 7vh, 80px) var(--pad) 40px; background: var(--nacht); border-top: 1px solid rgba(246, 241, 231, 0.2); }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 28px clamp(24px, 4vw, 64px); }
.ftr-name { font: 300 1.75rem/1.1 var(--serif); letter-spacing: -0.02em; }
.ftr nav { display: grid; align-content: start; font: 500 0.875rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.ftr nav a { padding: 14px 0; }
.ftr-contact { font: 400 1rem/1.7 var(--cond); letter-spacing: 0.02em; }
.ftr-contact a { display: block; width: fit-content; padding: 9px 0; }      /* telephone and e-mail: full-height targets, one below the other */
.ftr-contact br { display: none; }
/* the page's one note on what its pictures are: every asterisk of the page leads here */
.ftr-note { margin: 32px 0 0; max-width: 84ch; font-size: 0.8125rem; }
/* an e-mail address is one long word: it may break inside itself rather than make the page wider than the screen (the text and the address it leads to are what they are) */
a[href^="mailto:"] { max-width: 100%; overflow-wrap: anywhere; }
.s-legal h2 { font: 400 1.5rem/1.2 var(--serif); letter-spacing: -0.01em; margin: 1.8em 0 0.4em; }
.s-legal address { font-style: normal; margin: 0 0 1em; }
.s-legal p, .s-legal address { max-width: 62ch; }
.s-legal { overflow-wrap: break-word; }      /* a long word or address breaks rather than widen the page; every word stays */
.motion-switch { font: 500 1rem/1.1 var(--cond); letter-spacing: 0.01em; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 2px; padding: 14px 16px; min-height: 48px; cursor: pointer; margin-bottom: 16px; max-width: 100%; overflow-wrap: anywhere; }
.motion-switch[aria-pressed="true"] { background: var(--lampe); color: var(--nacht); border-color: var(--lampe); }
.motion-switch[aria-disabled="true"] { cursor: default; }
dialog { border: 0; padding: 0; color: var(--tinte); background: var(--papier); max-width: min(94vw, 1100px); max-height: 92svh; }
dialog::backdrop { background: rgba(12, 27, 46, 0.82); }
.index-dialog { width: min(94vw, 860px); padding: 26px clamp(20px, 4vw, 44px) 30px; }
.idx-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
/* (min-width 0 and breaking anywhere: with a reader's larger type the heading's long words may break inside the room the close
   button leaves - as an unbreakable flex item the heading pushed the button out of the dialog, off a 320 px screen) */
.idx-head h2 { font: 300 clamp(1.75rem, 4vw, 2.75rem)/1 var(--serif); margin: 0; min-width: 0; overflow-wrap: anywhere; }
.idx-all { margin: 0; max-width: none; }      /* the way to prices, sizes and the model: below the sixteen lines */
.idx-all a { display: inline-block; padding: 12px 0; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.04em; }
.idx-rooms { float: right; font: 400 0.875rem/1.6 var(--cond); letter-spacing: 0.04em; color: var(--tinte-2); font-variant-numeric: lining-nums tabular-nums; }
.idx-facts { display: block; margin: 3px 0 0 20px; font: 400 0.9375rem/1.35 var(--cond); letter-spacing: 0.02em; color: var(--tinte-2); font-variant-numeric: lining-nums tabular-nums; }      /* living area and rounded price, on a line of their own under the number */
.idx-note { margin: 8px 0 2px; max-width: none; }      /* the one sentence on the prices: right before them, under the picture */
.idx-order { margin: 14px 0 0; max-width: none; }      /* the list's own line, below it: all sixteen, the floor chosen for the picture first */
.idx-groups { display: grid; gap: 4px 28px; }
.idx-groups ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 18px; }
.idx-groups a { display: block; padding: 13px 0; border-bottom: 1px solid var(--linie); text-decoration: none; font-size: 1.125rem; }
.idx-groups a:hover { background: rgba(138, 90, 18, 0.08); }
/* on an apartment's own page: its priced line and its number in the picture (below) show where the reader is - no choice, no status */
.idx-groups a[aria-current="page"] { background: rgba(138, 90, 18, 0.08); border-bottom-color: var(--bernstein); }
/* The index's floor picture: one floor at a time (a native select), each apartment's number on its place in that floor's
   existing picture - a link like the list's. The picture is never narrower than 35rem, so that sixteen full-size numbers
   keep clear of each other; on a narrow screen it is moved sideways inside its own frame, never the page. Sizes in rem:
   numbers and picture grow together with the reader's type size. The dialog's heading with „Schließen" stays in reach. */
/* (The heading sticks at the dialog's own upper edge and its ground reaches up to it: the 26 px are `.index-dialog`'s upper
   padding, which the browser keeps free above a stuck element - there the moving picture showed through, over the heading.
   26 px more of padding in place of margin: heading, „Schließen" and everything below stand where they stood.) */
/* (z-index 4: above the pictures' notice, which is a flex item with the site's `.legend` z-index 3 and was painted OVER the
   stuck heading whenever it passed under it - seen where the way down to a floor's lines lands on a phone.) */
.idx-head { position: sticky; top: -26px; z-index: 4; margin: -38px 0 8px; padding: 38px 0 10px; background: var(--papier); }
.idx-atlas { margin: 2px 0; }
/* „Schließen" as the drawn cross of the enlarged plan's dialog (its name is the word): the heading has its line to itself */
.idx-head .idx-close { width: 44px; min-height: 44px; padding: 0; }
.idx-close svg { display: block; }
.idx-floor { display: block; margin-bottom: 6px; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; }
.idx-atlas select { border-color: var(--tinte-2); }
.idx-how { margin: 10px 0 8px; max-width: none; }
.idx-map { margin: 0; }
.idx-map[hidden] { display: none; }
.idx-pan { overflow-x: auto; overflow-y: hidden; background: var(--nacht); scrollbar-color: var(--nebel) var(--nacht); }
.idx-pan:focus-visible { outline-offset: -3px; }
.idx-canvas { position: relative; width: max(100%, 35rem); }
.idx-canvas picture, .idx-canvas img { display: block; width: 100%; height: auto; }
.idx-no { position: absolute; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; transform: translate(-50%, -50%);
  font: 600 1rem/1 var(--cond); letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--lampe); text-decoration: none; }
.idx-no::before { content: ""; position: absolute; z-index: -1; inset: 0.25rem; border-radius: 50%; background: var(--nacht); border: 1.5px solid var(--lampe); }      /* the disc is smaller than what is pressed */
.idx-no:hover, .idx-no:focus-visible, .idx-no[aria-current="page"] { color: var(--nacht); }
.idx-no:hover::before, .idx-no:focus-visible::before, .idx-no[aria-current="page"]::before { background: var(--lampe); }
.idx-no:focus-visible { outline-color: var(--putz); }
.idx-map figcaption { flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; }      /* the notice; the top floor's terrace note beside it - not at the far end - in plain writing */
.idx-map .legend { margin: 0 0 0 -10px; }
.idx-map figcaption .note { margin: 0; }
.idx-map figcaption .note { text-transform: none; }      /* (a caption is set in capitals: not this sentence) */
.idx-fail { display: none; margin: 0; padding: 14px 16px; max-width: none; background: var(--raised); border: 1px solid var(--linie); color: var(--tinte); }
.idx-map[data-media="failed"] .idx-fail { display: block; }
.idx-map[data-media="failed"] .idx-pan, .idx-map[data-media="failed"] figcaption { display: none; }
@media (min-width: 41rem) { .idx-swipe { display: none; } }      /* from here the whole picture is in its frame */
/* Below that - a phone - the sixteen lines are a compact KEY to the picture above them: two columns, in each line the number as the
   picture has it (the word „Wohnung" is there for assistive technology), its rooms beside it, area and price below - the same
   links with the same text, at least 44 px high. The chosen floor's lines stand right under its picture. */
@media not all and (min-width: 41rem) {
  .idx-groups ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .idx-groups a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: baseline; gap: 0 8px; min-height: 48px; padding: 4px 0; line-height: 1.15; }
  .idx-groups .dot { display: none; }
  .idx-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .idx-rooms { float: none; justify-self: end; line-height: 1.3; }
  .idx-facts { grid-column: 1 / -1; margin: 0; line-height: 1.3; }
  /* (… and the room above the picture and between picture and key is kept small, so that a 390 x 844 screen holds the top floor's
     four numbers and its four lines in one view: margins, and the select 44 px high instead of 51 - no text smaller, none left out) */
  .idx-floor { margin-bottom: 4px; }
  .idx-atlas select { min-height: 44px; padding-block: 9px; }
  .idx-how { margin: 4px 0; }
  .idx-atlas { margin-bottom: 0; }
  .idx-map figcaption { padding-top: 4px; row-gap: 2px; }
  .idx-note { margin: 4px 0 0; }
  .idx-groups h3 { margin: 4px 0 0; }
}
@media (max-width: 379px) { .idx-atlas select { padding-inline: 8px 4px; font-size: 1rem; } }      /* „Dachgeschoss, 4 Wohnungen" (about 219 px at this size) whole in a 261 px select, beside its arrow */
.lupe { width: min(96vw, 1500px); }
.lupe-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 16px; }
.lupe-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.lupe-tools .btn { min-height: 44px; padding: 8px 14px; }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.lupe-cap { margin: 0; font: 500 0.9375rem/1.3 var(--cond); letter-spacing: 0.01em; }
.lupe-body { overflow: auto; max-height: calc(92svh - 70px); background: var(--raised); }
/* a side of the house opened from an apartment's page: that page's floor key and what it says, between bar and picture */
.lupe-key { display: flex; align-items: center; gap: 14px; margin: 0; padding: 4px 16px 12px; }
.lupe-key svg { flex: none; width: 104px; height: auto; color: var(--tinte); }
.lupe-key figcaption { font: 400 0.9375rem/1.4 var(--cond); letter-spacing: 0.01em; max-width: 46ch; }
.lupe:has(.lupe-key) .lupe-body { max-height: calc(92svh - 170px); }
.lupe:has(.lupe-key) .lupe-body img { width: auto; max-width: 100%; max-height: calc(92svh - 170px); margin: 0 auto; }      /* the whole side in view together with its key */
.lupe-body img, .lupe-body svg { width: 100%; height: auto; max-height: none; }
/* a plan: the dialog takes its full height and the drawing gets what the bar leaves; site.js sizes the drawing -
   whole at first, then in steps (auto margins: centred while it fits, scrolled from its start when it does not) */
.lupe--plan[open] { display: flex; flex-direction: column; height: 92svh; }
.lupe--plan .lupe-body { flex: 1 1 auto; min-height: 0; max-height: none; display: grid; }
.lupe--plan .lupe-body svg.plan-svg { margin: auto; max-width: none; max-height: none; }
.lupe-body:focus-visible { outline-offset: -3px; }
/* The enlarged plan's controls: smaller and larger as drawn signs (their names are the words), the whole plan as one short word -
   so that on a phone the four controls stand in ONE row and the drawing gets the height. */
.lupe-tools [data-zoom="out"], .lupe-tools [data-zoom="in"], .lupe-bar .lupe-close { width: 44px; min-height: 44px; padding: 0; }      /* („Schließen" as a drawn cross of the same kind: five controls in the row) */
.lupe-close svg { display: block; }
.lupe-tools svg { display: block; }
/* An apartment's printed room areas with its enlarged plan: a native <details> NEXT to the drawing's area (never in it: that
   area's size and scrolling are the drawing's alone). Below the drawing in one column - closed it is one line, open it takes a
   third of the screen at most and scrolls in itself; beside the drawing on a wide screen. */
.lupe-room-areas { flex: none; border-top: 1px solid var(--linie); background: var(--papier); --fg: var(--tinte); --fg-2: var(--tinte-2); --rule: var(--linie); }      /* (the dialog stands outside the page's coloured sections: the room table's own three colours, as on paper) */
.lupe-room-areas[open] { max-height: 34svh; overflow: auto; }
.lupe-room-areas > summary { min-height: 44px; padding: 12px 16px; font: 500 0.9375rem/20px var(--cond); letter-spacing: 0.04em; cursor: pointer; }
.lupe-room-areas .room-areas { margin: 0; padding: 0 16px 14px; }
.lupe-room-areas .room-list > div { flex-basis: 100%; min-width: 0; }
.lupe-room-areas .note { margin: 0; }
@media (min-width: 900px) {
  .lupe--plan[open]:has(.lupe-room-areas) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); }
  .lupe--plan .lupe-bar { grid-column: 1 / -1; }
  .lupe-room-areas { border-top: 0; border-left: 1px solid var(--linie); overflow: auto; }
  .lupe-room-areas[open] { width: 18rem; max-height: none; }
}

/* cross-document view transition as a progressive enhancement („Durchs Fenster") */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
html:not(.motion) .iso.on, html:not(.motion) .apt-img { view-transition-name: none; }
html:not(.motion)::view-transition-group(*), html:not(.motion)::view-transition-old(*), html:not(.motion)::view-transition-new(*) { animation: none !important; }

/* ---------------------------------------------------------------- narrow screens: designed, not shrunk */
@media (max-width: 899px) {
  /* (58 px at the usual type size - 4.375rem less 12 px is 58 px at 16 px -, and growing with a reader's larger type: 128 px at twice
     the size. The shortcut needs that on a 320 px screen, its words on up to four lines: measured in half-pixel steps of the root
     size, it is never taller than this. Everything that stands below the header is set by this same value and moves with it.) */
  :root { --hdr: max(58px, calc(4.375rem - 12px)); }
  /* a word longer than its line (with a reader's larger type: the footer's „Projektentwicklung", a long word in the note on the room
     areas) breaks rather than widen the page. Only here: elsewhere a long word that reaches past its column at the usual size stays as it is. */
  .ftr, .room-areas .note { overflow-wrap: break-word; }
  .nav { display: none; }
  .menu { display: block; }
  .raster-btn { flex-direction: column; gap: 4px; padding: 6px 8px; min-height: 44px; min-width: 0; }      /* the small house and, below it, what it leads to */
  /* (its words on one line where they fit - they do at the usual type size -, broken where they do not: with a reader's larger type the
     unbreakable words made the page wider than a 320 px screen) */
  .raster-btn span { font-size: 0.6875rem; letter-spacing: 0.06em; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .raster { width: 30px; }
  .logo { --logo-w: 84px; }
  @supports ((mask-image: none) or (-webkit-mask-image: none)) { .logo { --logo-w: 96px; } }      /* (narrower than the plate was: the header keeps its room on a 320 px screen) */
  /* The opening as ONE group right below the header: the name, the whole house, then what is known - line, district
     with rooms, prices - the button, the address, and last the picture's note. The house's page area begins a name's
     height below the header and is half the screen's width high: the house (at most 92 % of the width, about 37 % of
     it high) is fitted by its width, whatever the screen's height, with a little sky above its roof for the name.
     What the screen has left stays below the group - not as two dark bands around the house. (The camera is the
     scene's; only the page area moved.)
     Without the real-time house the still is the frame itself (142 % of the width): its roof line is put where the
     scene's is - the frame's top 17.7vw above the area's - and the sky's horizon follows it. */
  .hero-pin { --name: min(15vw, 9svh); }
  .hero-frame { width: 142vw; top: calc(var(--fit-t) - 17.7vw); bottom: auto; }
  .sky-dusk { background: linear-gradient(180deg, var(--dusk-top) 0, var(--dusk-top) calc(var(--fit-t) + 33.4vw), var(--dusk-bottom) calc(var(--fit-t) + 33.4vw), var(--dusk-bottom) 100%); }
  /* the name on one line right above the roof; the house in the upper part of the screen, as wide as the screen lets the
     whole of it be (the page area only: the camera is the scene's) */
  .hero-name, html.anim .hero-name, html.gl-pending .hero-name { font-size: var(--name); line-height: 0.9; transform: translateY(7%); }
  html.anim .hero-name, html.gl-pending .hero-name { transform: translateY(-6%); }
  .hero-claim { display: grid; justify-content: stretch; gap: 14px; top: calc(var(--fit-t) + 46vw + 14px); bottom: auto; }
  .hero-claim .btn { width: 100%; }
  .hero-claim > .hero-say { order: 1; } .hero-claim > .hero-cta { order: 2; } .hero-claim > .hero-where { order: 3; } .hero-claim > .hero-legend { order: 0; margin: 0; } .hero-claim > .hero-cue { order: 5; }
  /* the address on one line with its map link, the way to the district below it */
  .hero-where { white-space: normal; }
  .hero-where .hero-district { display: block; width: fit-content; margin-left: 0; }
  /* „Haus entdecken": a plain link to the next chapter (the day; with the real-time house the round's beginning), where
     a phone's first screen has the room for it below the note - not on a shorter screen, where it would be cut off */
  .hero-cue a { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; font: 500 0.9375rem/1.1 var(--cond); letter-spacing: 0.01em; text-underline-offset: 0.25em; }
  html.anim .cue-img, html:not(.anim) .cue-gl { display: none; }
  .hero-pin { --fit-x: 2; --fit-t: calc(var(--hdr) + var(--name) * 0.75); --fit-b: calc(100svh - var(--fit-t) - 50vw); }
  .hero-claim > .hero-where { margin-top: -8px; }
  .turn-text, html.anim.motion .turn-text { width: auto; right: var(--pad); top: calc(var(--hdr) + 14px); }
  .turn-legend { left: auto; right: var(--pad); }      /* (the note's mark at the right margin: clear of the buttons, which begin at the left - and of their numbers) */
  .turn-day { margin-bottom: 16px; }
  /* (a phone's round is two thirds as long: less scrolling for the same four sides, which the story places by share of the run) */
  html.anim.motion .c-turn { height: calc(100svh + 220vh); }
  .turn-fit, html.anim.motion .turn-fit { left: 3%; right: 3%; top: calc(var(--hdr) + 46svh); bottom: 9svh; }
  html.anim.motion .turn-fit { top: calc(var(--hdr) + 34svh); }
  /* An upright phone with room for it: the round's text is a block of fixed height (heading, two rows of view buttons,
     the way on), and the house stands right below it, as large as its WHOLE turn allows. The area is the frame's own
     shape (934 : 375) and wider than the screen on purpose: the house turns inside a drum that takes 73 % of the
     area's width - 96 % of the screen here -, so that a long side comes to three quarters of the screen and no corner
     leaves it on the way round (.turn-pin cuts off what is outside).
     Room for it means: the pin is at least 19.5rem wide (in larger type the buttons take more rows and the text is no
     longer that block) and high enough for the header (58px, or 4.375rem - 12px where that is more), the text's 15rem
     and the area's 54vw. The pin is asked, not the screen: its rem are the page's REAL type size, which a media
     query's are not. Its height is the screen's wherever the screen has the pin's least height (560px) - hence the
     media condition. Everywhere else - a short screen, larger type, a screen held sideways, a browser without
     container queries - the rules above stay as they are. */
  @media (orientation: portrait) and (min-height: 560px) {
    html.anim.motion .turn-pin { container: turn-pin / size; }
    @container turn-pin (min-width: 19.5rem) and (min-height: calc(58px + 15rem + 54vw)) and (min-height: calc(19.375rem - 12px + 54vw)) {
      html.anim.motion .turn-fit { left: -16%; right: -16%; top: calc(var(--hdr) + 15rem); bottom: auto; height: 54vw; }
    }
  }
  /* one column: the list scrolls beneath the house. The house layer lies over the list and is cut off at the lower
     edge of the sticky band by story.js; the band itself only carries the legend. */
  html.anim .s-open { position: static; isolation: auto; }
  html.anim .s-open .open-stage { background: none; }
  html.anim .s-open .open-text { position: relative; z-index: 1; }
  .s-open, .s-finder, .s-abend, .apt-arrival, .apt-plan, .apt-lage, .s-contact { grid-template-columns: minmax(0, 1fr); }
  .open-stage { position: sticky; top: var(--hdr); height: 52svh; z-index: 6; padding: 8px 0 10px; margin: 0 calc(-1 * var(--pad)); background: var(--nacht); border-bottom: 1px solid rgba(246, 241, 231, 0.2); }
  .open-stage .stage { --stage-h: calc(52svh - 20px); }
  .open-stage, .contact-stage, .abend-stage, .apt-lage-stage { overflow: clip; }     /* an isolated apartment never widens the page */
  /* room names about 12 px high at the width a phone gives the drawing (3.85 % of the drawing's width, whatever that is
     in metres); a long name in a small room in its short form, spelt out below the drawing */
  .plan-svg .rooms { font-size: calc(var(--pw) * 0.0385px); }
  .plan-svg .lbl-long { display: none; }
  .plan-svg .lbl-short { display: inline; }
  .plan-key { display: block; }
  .plan-svg .entry text, .plan-svg .scale { font-size: 0.36px; }
  .apt-plan > h2, .apt-plan > .plan, .apt-plan-notes { grid-column: auto; grid-row: auto; }
  .apt-plan { grid-template-rows: none; }
  .apt-plan-notes { margin-top: 8px; }
  html.anim.motion .open-run { height: 130vh; }
  html.anim.motion .open-count { top: calc(var(--hdr) + 52svh); padding-top: 34px; }
  /* the opening's word, likewise below the band - its text where the count's began. Here it is as wide as the column and on the
     page's own ground: on a short screen the chooser's heading comes up under it just before the chooser is ready */
  .opening-help { top: calc(var(--hdr) + 52svh); width: auto; padding: 34px 0 14px; background: var(--nacht); }
  .open-text { padding-top: 28px; }
  .numeral { font-size: clamp(5rem, 30vw, 9rem); }
  /* The selection detail stays in the normal flow above the list (no fixed sheet): nothing but the header and the
     sticky house can cover a row. With an apartment isolated the house is lower, and rows that receive focus are
     scrolled clear of both (scroll-margin). */
  .s-open, .s-finder { --band: clamp(180px, 28svh, 240px); }      /* the house's band while an apartment is chosen */
  .open-stage:has(.stage[data-unit]) { height: var(--band); }
  .open-stage:has(.stage[data-unit]) .stage { --stage-h: calc(var(--band) - 20px); }
  .s-open .urow, .s-finder .urow { scroll-margin-top: calc(var(--hdr) + var(--band) + 160px); scroll-margin-bottom: 12px; }
  /* the house's band is right above: the summary joins it, edge to edge - one strip with number and figures, then the actions */
  .pick { top: calc(var(--hdr) + var(--band)); margin: 0 calc(-1 * var(--pad)) 12px; padding: 8px var(--pad); border-width: 0 0 1px; border-color: rgba(246, 241, 231, 0.2); }
  .pick-head { margin: 0 0 6px; }
  .pick-name { font-size: 0.875rem; line-height: 1.35; }
  .pick-zoom { padding: 8px 10px; }
  .pick-zoom-what { display: none; }           /* beside the figures of a narrow screen: „vergrößern" (its name says of what) */
  .pick-name strong { display: inline; margin: 0 0.35em 0 0; font: 600 0.875rem/1.35 var(--cond); letter-spacing: 0.04em; }
  .pick-rooms { display: none; }
  #sechzehn-lichter { scroll-margin-top: 52svh; }
  .s-finder #wohnungen { scroll-margin-top: 52svh; }
  .finder-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 4px; }      /* the two ways to browse - the list, a floor in the picker - then the comparison, before the floor pictures */
  .finder-quick .btn { flex: 1 1 auto; min-height: 44px; padding: 10px 16px; }
  .finder-quick > a:not(.btn) { flex-basis: 100%; padding: 8px 0 12px; font: 500 0.9375rem/1.4 var(--cond); letter-spacing: 0.02em; }      /* the list's own anchor, likewise: below the band (header and 12 px are the page's scroll padding) */
  /* Arriving at the chooser with the real-time house (the tour's „Weiter zu den Wohnungen" jumps here): the jump's own
     offset - the page's scroll padding, header + 12 px, and the band's 52svh above - puts the column's top 12 px below the
     band. The heading follows at once (the wide screens' 12vh of air would push the first numbered row off a phone) … */
  html.anim.motion .s-open .open-finder { padding-top: 8px; }
  /* … and the opening's count is not shown there any more: stuck below the band, it kept its last line in that gap.
     From the moment the chooser is ready it fades; its room stays (the run's length is the opening's, story.js). */
  html.anim.motion .open-count { transition: opacity 0.3s; }
  html.anim.motion .s-open:has(.stage[data-ready]) .open-count { opacity: 0; }
  /* The home page WITHOUT the real-time house (not started yet, or not available): there the house is a picture in
     the flow, not a band stuck below the header - so the summary sticks right below the header, and a focused row
     needs room for header and summary only. */
  html:not(.anim) .s-open .pick { top: var(--hdr); }
  html:not(.anim) .s-open .urow { scroll-margin-top: calc(var(--hdr) + 160px); }
  html:not(.anim) #sechzehn-lichter { scroll-margin-top: 0px; }      /* a jump to the apartments lands below the house's band, not under it */
  .pick-actions { flex-wrap: nowrap; gap: 6px; }
  .pick-actions .btn { flex: 1 1 auto; padding: 8px 6px; font-size: 0.9375rem; white-space: nowrap; }
  .pick-note { margin-top: 6px; font-size: 0.8125rem; }
  .innen-grid { grid-template-columns: minmax(0, 1fr); }
  .innen-item, .innen-item:nth-child(4) { grid-column: auto; }
  .abend-stage { height: 64svh; }
  .abend-stage .stage { --stage-h: 64svh; }
  .apt-arrival { min-height: 0; padding-bottom: 32px; }
  .apt-head .display { font-size: clamp(4rem, 25vw, 8rem); }
  /* one column, in the page's order: number, floor and figures - then the picture with its notes - then the rest */
  .apt-arrival { row-gap: clamp(20px, 4vw, 64px); }
  .apt-head, .apt-more, .apt-figure { grid-column: auto; grid-row: auto; }
  .apt-head > :last-child { margin-bottom: 0; }
  .apt-lage-stage { height: 66svh; }
  .apt-lage-stage .stage { --stage-h: 66svh; }
  .apt-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; max-width: none;
    padding: 8px var(--pad); background: var(--nacht); color: var(--putz); border-top: 1px solid var(--lampe); font: 500 1rem/1.1 var(--cond); letter-spacing: 0.01em; }
  .apt-bar .btn { min-height: 44px; padding: 8px 18px; }
  .page-apt .ftr { padding-bottom: 96px; }
  .contact-stage { position: static; height: auto; order: 0; }
  .contact-ways .btn { flex: 1 1 100%; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .sales-table th, .sales-table td { padding-right: 6px; }
  .sales-table td, .compare-table td { font-size: 1rem; }
  .sales-table td:nth-child(2) { width: 3.2em; }
  .sales-table thead th:nth-child(2) { font-size: 0; }
  .sales-table thead th:nth-child(2)::after { content: "Zi."; font-size: 0.8125rem; }
  /* three columns: the row names get a gutter before the figures, the figures one between them; a long word (Wohnfläche)
     breaks at its own hyphenation point where a column is too narrow for it */
  .compare-table thead td, .compare-table tbody th[scope="row"] { width: 30%; }
  .compare-table tbody th { padding-right: 12px; }
  .compare-table td { padding-right: 10px; }
  .compare-table .sales-sub { display: block; }
  .compare-table .btn { width: 100%; padding: 8px 8px; }
  .plan .plan-enlarge { order: 3; flex: 1 0 100%; margin: 10px 0 0; }
  .lupe-bar { padding: 8px 10px; }
  .lupe-tools { margin-left: 0; }
  .lupe-tools .btn { min-height: 44px; padding: 8px 10px; font-size: 0.9375rem; }
  .lupe-tools [data-zoom="out"], .lupe-tools [data-zoom="in"] { padding: 0; }
  /* an enlarged plan in one column: its caption on a row of its own, in full; below it ONE row - smaller, larger, whole, height, close */
  .lupe--plan .lupe-bar { gap: 8px; }
  .lupe--plan .lupe-cap { flex: 1 1 100%; }
  .lupe--plan .lupe-tools { flex-wrap: nowrap; }
  .lupe--plan .lupe-bar form { margin-left: auto; }
  .contact-stage .stage { --stage-h: calc(56svh - 52px); height: 56svh; place-items: start center; }      /* the house ends above the legend: the lit apartment is never under it */
  .ftr-grid { grid-template-columns: minmax(0, 1fr); }
  .frieze-item { width: 92vw; }
  .threshold { height: 22vh; }
}
/* A phone's comparison: the table's own cells, laid out as rows of two halves. Each row's name stands on a line of
   its own above its two figures - which then have half the screen each, not a third; the two apartments' names stay
   below the header as one stuck row. The elements and their order are the table's (nothing is taken out: the empty
   corner cell keeps its place without a size), so rows and columns are still what assistive technology is told. */
@media (max-width: 700px) {
  .compare-table, .compare-table thead, .compare-table tbody { display: block; }
  .compare-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .compare-table thead { position: sticky; top: var(--hdr); z-index: 2; background: var(--papier); box-shadow: 0 1px 0 var(--tinte); }
  .compare-table thead th, .compare-table thead td { position: relative; top: auto; box-shadow: none; width: auto; }      /* (relative: the head's select lies over its own cell) */
  .compare-table thead td { grid-column: 1 / -1; height: 0; padding: 0; border: 0; }
  .cmp-col { height: auto; min-height: 52px; display: flex; align-items: center; flex-wrap: wrap; }
  .compare-table tbody th[scope="row"], .compare-table .cmp-group th { grid-column: 1 / -1; width: auto; }
  .compare-table tbody th[scope="row"] { padding: 12px 0 0; border-bottom: 0; }
  .compare-table tbody td { padding: 2px 0 11px; }
  .compare-table .compare-act th { padding: 0; }
  .compare-table tbody th .sales-sub { display: inline; margin-left: 0.5em; }
}
/* (narrowest AND shortest, 320 x 568: there the line is left to assistive technology - district, rooms and prices say more in the space) */
@media (max-width: 380px) and (max-height: 600px) { .hero-line { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .hero-claim .hero-budget { margin-top: 0; } }
/* the narrowest screens: the hero's line on one line and its parts closer, so that note, line, figures, address and button stay below the house */
@media (max-width: 380px) and (min-height: 640px), (min-width: 381px) and (max-width: 480px) and (min-height: 690px) { .hero-claim > .hero-cue { display: block; margin: 0 auto; } }
@media (max-width: 380px) { .hero-line { font-size: 1.125rem; } .hero-claim { gap: 8px; }
  .raster-btn { padding: 6px 5px; } .raster-btn span { letter-spacing: 0.03em; } .hdr { gap: 8px; } .urow-name { font-size: 1.125rem; } .btn { padding: 12px 14px; }
  .pick-actions { gap: 4px; } .pick-actions .btn { padding: 8px 3px; font-size: 0.875rem; }
  .cmp-col:not([data-empty]) .cmp-name { font-size: 1.0625rem; } }      /* (a column's name with its mark on one line of a 133 px column) */      /* four actions in one line on the narrowest screens */
/* ---------------------------------------------------------------- a reader's larger type: text reflows, the page stays as wide as the screen
   Larger type is met where it shows: a column that has become NARROW MEASURED IN THE ROOT'S TYPE (container queries in rem, the unit
   the rows' and tables' own sizes are set in - the same column is 17.5rem wide at the usual size on a 320 px screen and 8.75rem at
   twice that). No script measures anything, nothing is
   stored. At the usual type size none of these queries holds on a phone, and the first only repeats the narrow screens' rows. */
.open-finder { container: chooser / inline-size; margin-bottom: 1em; }
.open-finder > :last-child { margin-bottom: 0; }      /* (a query container keeps its children's margins inside itself: the last paragraph's, which stood below the column, is the column's own now - every box where it was) */
.s-about { container: about / inline-size; }
.s-sales { container: prices / inline-size; }
.s-compare { container: compare / inline-size; }
/* (name, figures and word on one line need about 556 px at 16 px, 34.75rem: a column narrower than that in the root's type gets the two-line
   row of the narrower screens, whatever the screen's width) */
@container chooser (max-width: 35rem) {
  .urow { grid-template-columns: 30px 1fr auto; }
  .urow-rooms { grid-column: 2 / -1; text-align: left; margin-top: -6px; }
  .urow-next, .urow-show { grid-column: 3; }
}
/* (narrower than 16rem: the name beside the small house, the row's word - both words in the same cell, so that a row is as high chosen
   as not - on a line of its own, the figures below; each may break between its parts, a long name inside itself. The summary of the
   chosen apartment stands in the page's flow there, not stuck below the band: stuck, it would fill the screen and its four actions
   could not be reached; they stand two to a line, their words may break. In the flow it passes OVER the house's stuck band when
   the page is moved, not under it - under it, an action the keyboard has reached could not be seen.) */
@container chooser (max-width: 16rem) {
  .urow { grid-template-columns: 30px minmax(0, 1fr); }
  .urow-name { min-width: 0; overflow-wrap: anywhere; }
  .urow-next, .urow-show { grid-column: 2; grid-row: 2; justify-self: start; white-space: normal; }
  .urow-rooms { grid-column: 2; grid-row: 3; margin-top: 0; }
  .pick { position: relative; top: auto; z-index: 7; }
  .pick-head { flex-wrap: wrap; }
  .pick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-actions .btn { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
}
/* („Projektentwicklung" is longer than this heading's own measure and stands past it by design; it breaks only where the column
   itself is too narrow for it) */
@container about (max-width: 17rem) { .s-about .display { overflow-wrap: anywhere; } }
/* (a room's name breaks beside its figure - which stays whole - only where the whole list is narrower than 14rem: at the usual size no
   list is, and a name that reaches past a narrow column there stays as it is) */
@container rooms (max-width: 14rem) { .room-list dt { min-width: 0; overflow-wrap: anywhere; } }
/* The two tables of figures keep every cell and every figure whole: where the column is narrower than 17rem (the price list, which needs about 16.7rem) or 16rem (the comparison), the table
   is moved sideways inside its own region - by finger, or with the arrow keys once the region has the keyboard -, not the page. (Only
   there: a region that scrolls would take the comparison's stuck head row with it at the usual size. Positioned, so that the words
   kept for assistive technology in the table's cells - absolutely placed - move with it and do not widen the page from outside it.) */
@container prices (max-width: 17rem) { .sales { position: relative; overflow-x: auto; } }
@container compare (max-width: 16rem) { .table-pan { position: relative; overflow-x: auto; } }
/* The home page's first screen where its text below the name does NOT FIT it (a reader's larger type, a low window): site.js measures
   the claim against the pin in the first screen's own layout and sets .hero-reflow on the section only where the claim would be cut
   off (heroCapacity; narrow screens). Then the text stands in the page's own flow: the pin is as high as its content (at least one
   screen) and is not stuck; the house's page area keeps its place and its 50vw; the claim begins where it began, on its own night
   ground, and is read by moving the page.
   With the real-time house: story.js keeps the house where the first screen has it while the page moves through this section (it
   places it as if the pin were stuck), and sets the phase as before. The story's sections lie OVER the house's layer (level 3 over 2,
   above), so the claim on its opaque ground passes over the house like a sheet - text and house never show through one another, and
   the day that comes behind it later does not touch its contrast. The claim, and only the claim, is NOT taken away after the first
   few pixels there: these rules keep its parts shown and its links in reach; the name fades as before.
   WITHOUT SCRIPT nothing measures: there (html.no-js, as the page is written) the narrow screens' first screen ALWAYS has its text in
   the flow - as high as one screen where the text fits, taller where it does not; never cut off. (No real-time house without script,
   so the rules for it are not repeated.) */
@media (max-width: 899px) {
  .s-hero.hero-reflow .hero-pin, html.no-js .hero-pin, html.anim.motion .s-hero.hero-reflow .hero-pin { position: relative; height: auto; min-height: 100svh; }
  html.anim .s-hero.hero-reflow .hero-pin, html.gl-pending .s-hero.hero-reflow .hero-pin { container-type: inline-size; --fit-h: 50vw; }
  .s-hero.hero-reflow .hero-fit, html.no-js .hero-fit { height: 50vw; bottom: auto; }
  .s-hero.hero-reflow .hero-claim, html.no-js .hero-claim { position: relative; inset: auto; margin: calc(var(--fit-t) + 46vw) 0 0; padding: 14px var(--pad) clamp(18px, 4.5svh, 48px); background: var(--nacht); color: var(--putz); }
  html.anim.motion .s-hero.hero-reflow:not([data-phase="a"]) .hero-claim > * { opacity: 1; transform: none; }
  html.anim.motion .s-hero.hero-reflow:not([data-phase="a"]) .hero-legend { opacity: 1; }
  html.anim.motion .s-hero.hero-reflow:not([data-phase="a"]) .hero-claim { pointer-events: auto; }
  html.anim.motion .s-hero.hero-reflow:not([data-phase="a"]) .hero-claim a { visibility: visible; transition: none; }
}
@media print { .hdr, .apt-bar, .ftr nav { display: none; } }
