/*
 * The public part — the brochure.
 *
 * This is the company's own website rebuilt on this project's tokens:
 * `docs/references/steinmann-website.md` is the survey it follows, and every
 * component below appears there under the same name. Where a value here has
 * no obvious reason, the reason is that the site does it that way.
 *
 * The working area shares the colours, the families and the shapes and
 * differs in density — `app.css` runs the sans one weight heavier and one
 * step smaller, because a table of forty rows is read at a different distance
 * from a paragraph of prose.
 *
 * Every value is a token from `tokens.css`. There is no literal colour here,
 * gradients included; `tests/test_design_system.py` reads this file and
 * reports one.
 */

/* The public part's own steps, beside those of `tokens.css`. Each gathers
 * literals that lay within half a pixel of one another (code audit of
 * 2026-11-06): the site's captions of 0.6 to 0.64 rem, its meta lines of
 * 0.85 and 0.86 rem, its tracking of 0.06 and 0.08 em, and the two
 * proportions of line it sets again and again. On `.site`, as the body
 * figures below, so that the working area never sees them. */
.site {
  --text-3xs: 0.625rem;
  --text-meta: 0.86rem;
  --tracking-tight: 0.06em;
  --leading-tight: 1.2;
  --leading-site: 1.75;
}

/* The public part is read in sentences and the working area in glances, and
 * that is the whole of the "two densities" this design was accepted on. Here
 * the body is the site's own 1.0375 rem at weight 300, leading 1.75; behind
 * the login it is 15 px at weight 400, leading 1.5.
 *
 * On `.site` rather than on `body`, because `body` is shared: both shells
 * hang off it, and a value set there would drag the working area along.
 *
 * Measured before this: every paragraph of every public page was 15 px at
 * 400 — the application's own figure — because `body` in `custom.css` is the
 * only rule that had ever set one. The difference is a third more air per
 * line, and it is what the reference reads like. */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: var(--text-md);
  font-weight: var(--font-weight-light);
  /* A proportion and not the token's 29 px: a fixed height is inherited as it
   * stands, so every eyebrow, label and table cell of the public part stood in
   * 29 px of line where the company's site has 1.75 of its own size (E-165). */
  line-height: var(--leading-site);
  background-color: var(--color-ground);
}

/* ------------------------------------------------------------------ *
 * The display sizes of the public part.
 *
 * These are the site's own clamps, and they are what the page reads like
 * from across a desk. `custom.css` sets every heading at a fixed step from
 * the text scale, which is right in the working area and half the size here:
 * measured at 1440 px, an `h1` was 36 px against the reference's 74 and an
 * `h2` 24 against 50. The tokens for it existed from the start and nothing
 * used them.
 *
 * On `.site` so that the working area keeps its own, and after the shell
 * rules so that a page hero can still override the top of the scale.
 * ------------------------------------------------------------------ */

/* Every display heading may hyphenate. The clamps are in `rem`, so they
 * follow the reader's font setting — and at 150 per cent the *minimum* of
 * `--display-hero` is 64.8 px, at which "Aussergewöhnliche" is 482 px wide
 * in a 320 px view. The page has `lang="de-ch"`, so the browser breaks it
 * correctly at "Ausser-gewöhnliche" rather than anywhere.
 *
 * `overflow-wrap` is the fallback for the engine that hyphenates nothing: a
 * broken word is ugly, a page that scrolls sideways is unusable. */
.site h1,
.site h2,
.site h3 {
  hyphens: auto;
  /* Only a long word, and never a stub on either side: without the limit a
   * heading broke as "ver-schieben" and "Zuständigkei-ten" on the desktop,
   * where the word had room on the next line. */
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: break-word;
}

/* `:where()` rather than `.site`, and the zero specificity it carries is the
 * whole point. `.site h2` is one class and one element, which outweighs a
 * bare `.panel__title` -- so every panel heading on a public page was set at
 * `--display-md`, 50 px where the component asks for 20. It showed as soon as
 * a panel stood in a column 320 px wide: "IHRE LIEGENSCHAFT" broke over four
 * lines in the rail of an article, and "Breitenmoser Partner AG" was the
 * largest thing on the contact page.
 *
 * At zero specificity these three are the page's default size for a heading
 * that says nothing else about itself, and any component that names its own
 * size wins without having to fight for it. */
:where(.site) h1 {
  font-size: var(--display-lg);
}

:where(.site) h2 {
  font-size: var(--display-md);
}

:where(.site) h3 {
  font-size: var(--display-sm);
}

/* A label is not prose and is never hyphenated: upper case at this tracking
 * broke as "VER-FASST VON" the moment the rail was narrow. */
.toc__title,
.aside-card__title,
.section-label,
.eyebrow {
  hyphens: none;
}

.page-hero h1 {
  font-size: var(--display-lg);
}

/* What is interface rather than prose keeps the interface weight: 400 rather
 * than the 300 of the running text around it. A field or a table cell set at
 * 300 reads as a sentence somebody wrote rather than as a value.
 *
 * `.btn` is deliberately **not** in this list, and it was, and that was a
 * defect: a button in this design is 500, which is the heaviest weight the
 * family owns and the whole of how a button says it is one. `public.css`
 * loads after `custom.css`, so this rule quietly won over `--bs-btn-font-
 * weight` and every button on the public part ran at 400 — measured against
 * the reference, which has 500. Nothing else finds that; it looks like a
 * button either way until the two are put side by side. */
.site .form-control,
.site .form-select,
.site .form-label,
.site table {
  font-weight: var(--font-weight-regular);
}

/* A visitor types into a field at the size of the page around it, not at the
 * working area's caption step: at 13 px beside 16.6 px running text "Bitte
 * wählen" and "name@beispiel.ch" read as fine print (design pass of
 * 2026-10-27). The consent beside its box is read as a sentence, so it takes
 * the size of one. */
.site .form-check-label {
  font-size: var(--text-base);
  line-height: var(--text-base-line);
  padding-top: calc((var(--target-min) - var(--text-base-line)) / 2);
}

.site-main {
  flex: 1;
}

/* ------------------------------------------------------------------ *
 * The eyebrow — a small capital line in gold with a 44 px rule before it.
 *
 * It appears above nearly every heading on the site and is the single most
 * recognisable thing about the design. `.section-label` is what the templates
 * already call it; `.eyebrow` is the name the survey uses, and both work.
 *
 * The rule is a flex child rather than a border so that it keeps its 44 px
 * whatever the text does, and `flex: none` is what stops it collapsing when
 * the label wraps on a narrow screen.
 * ------------------------------------------------------------------ */

.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  /* The rule and the words go on separate lines rather than off the side
   * when there is no room for both. At 150 per cent type on a 320 px screen
   * "Ausgewählte Objekte" tracked at 0.42em is 259 px wide in a 164 px
   * column, and a flex row that may not wrap takes the page with it. */
  flex-wrap: wrap;
  font-family: var(--font-family-base);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-brand-ink);
}

/* The tracking is the signature of this design and it is also what makes the
 * line unaffordable on a narrow screen at a large type size. Below 30 rem it
 * comes down to the label step — still unmistakably spaced, and 21 per cent
 * narrower. */
@media (width < 22.5rem) {
  .section-label,
  .eyebrow {
    letter-spacing: var(--tracking-label);
    overflow-wrap: break-word;
  }
}

.section-label::before,
.eyebrow::before {
  content: "";
  flex: none;
  width: 44px;
  height: var(--border-hairline);
  background-color: var(--color-brand);
}

.section-label--center {
  justify-content: center;
}

.section-label--center::after {
  content: "";
  flex: none;
  width: 44px;
  height: var(--border-hairline);
  background-color: var(--color-brand);
}

/* On a dark ground the eyebrow is the brand gold itself: it reaches 7.93:1
 * there and needs no correction. On a photograph it takes the lighter gold
 * (the regression reading at the end of the file). */
.section--accent .section-label,
.section--dark .section-label,
.section--ink .section-label,
.cta-band .section-label,
.page-hero--band .section-label {
  color: var(--color-brand);
}

/* ------------------------------------------------------------------ *
 * Header.
 *
 * Fixed, and transparent while the page sits at the top of a hero: the
 * photograph runs underneath it and the wordmark stands on the veil. After
 * 40 px of scroll `app.js` adds `is-scrolled` and it turns solid with the
 * gold hairline under it.
 *
 * Below 960 px it is solid from the start, and that is not a shortcut. A
 * transparent bar over a photograph nobody chose is a bar whose legibility
 * depends on the picture, and on a phone the picture fills the frame. The
 * site makes the same exception at the same width.
 * ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  top: var(--band-offset, 0px);
  background-image: var(--veil-header);
  transition: background-color var(--motion-slow) var(--motion-ease),
    box-shadow var(--motion-slow) var(--motion-ease);
}

/* A page without a hero has nothing dark under the bar: white navigation
 * on the paper ground, the active item in gold on cream. */
.site:not(:has(.hero, .page-hero)) .site-header,
.site-header.is-scrolled {
  background-color: var(--black);
  background-image: none;
  box-shadow: 0 var(--border-hairline) 0 var(--color-brand-line);
}

.site-header__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-header__spacer {
  flex: 1;
}

/* A bar that sticks has to be affordable. At the reflow condition of WCAG 2.2
 * 1.4.10 — 320 by 256 CSS pixels, which is 400 % zoom on a small laptop — a
 * fixed 92 px bar takes more than a third of the viewport and, because it is
 * fixed, scrolling does not give the space back.
 *
 * So on a viewport short enough for that to bite, the bar scrolls away with
 * the page instead. Nothing is removed and nothing moves: it is the same bar
 * in the same place, and it comes back the moment there is room for it. The
 * condition asks only about height, which is the closest thing to "share of
 * the viewport" that CSS can express. */
@media (height <= 30rem) {
  .site-header {
    position: static;
    background-color: var(--black);
    background-image: none;
  }
}

/* The word mark. Text rather than an image: it is translatable, selectable,
 * readable aloud and it scales with the reader's font setting. The logo file
 * is `static/img/brand/`, and the mark below is what stands where a page has
 * no room for it. */
.wordmark {
  font-family: var(--font-family-base);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--color-on-accent);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--color-brand-soft);
}

/* The word mark is 678 by 128, so its width is 5.3 times its height. Set in
 * `rem` alone it follows the reader's font setting — and at 150 per cent on a
 * 320 px screen that is 318 px of logo in a 320 px bar, which pushed every
 * public page sideways. Measured on all eight of them.
 *
 * It still scales, because a reader who raised the type wants the mark
 * legible too; what it may not do is take the whole bar. Below the cap the
 * height gives way instead, which keeps the mark proportional. */
.wordmark__logo {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.wordmark__logo--light { display: var(--show-in-light, block); }
.wordmark__logo--dark { display: var(--show-in-dark, none); }

/* Navigation. The underline grows from the left rather than fading in, which
 * costs one pseudo-element and is most of what makes the bar feel made. */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding-block: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-on-accent);
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: var(--border-hairline);
  background-color: var(--color-brand);
  transition: right var(--motion-nav) var(--motion-ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current]::after {
  right: 0;
}

.site-nav a[aria-current] {
  color: var(--color-brand-soft);
}

/* The handle. A link to the panel's own fragment, so that it opens without
 * JavaScript through `:target` and with it from the Alpine component. */
.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--target-primary);
  height: var(--target-primary);
  margin-inline-start: calc(var(--space-2) * -1);
  color: var(--color-on-accent);
  background: none;
  border: none;
}

.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  color: var(--color-brand-soft);
}

/* The company's three bars, which turn into a cross while the panel is open. */
.site-nav__bars {
  display: block;
  width: 1.625rem;
}

.site-nav__bars > span {
  display: block;
  height: 1.5px;
  margin: 6px 0;
  background-color: var(--ivory);
  transition: transform var(--motion-base) var(--motion-ease),
    opacity var(--motion-base) var(--motion-ease);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__bars > :nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__bars > :nth-child(2) { opacity: 0; }

.site-nav__toggle[aria-expanded="true"] .site-nav__bars > :nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ------------------------------------------------------------------ *
 * Hero.
 *
 * A photograph under the three-stop veil, the whole viewport tall. The
 * heading is the serif at weight 300 with one italic gold line in it, which
 * is the site's own construction: `Aussergewöhnliche Immobilien.` in ivory,
 * `Schweizer Vertrauen.` in italic gold underneath.
 *
 * `min-height: 100svh` and not `100vh`: on a phone the browser's own bar
 * counts against `vh` and the scroll hint ends up under it.
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: calc(var(--z-under) - 1);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Motion is opt-in on the public site (design pass of 2026-11-06): every
 * animation and every hover movement stands inside `no-preference`, so that
 * under `reduce` nothing moves and nothing has to be switched off again. */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img {
    transform: scale(1.06);
    animation: hero-settle var(--motion-hero) var(--motion-ease) forwards;
  }
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-under);
  background-image: var(--veil-hero);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  width: 100%;
  margin-inline: auto;
}

.hero__signet {
  height: 4.625rem;
  width: auto;
  margin: auto auto var(--space-8);
}

.hero__mark {
  display: block;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-eyebrow-wide);
  text-transform: uppercase;
}

/* A hero heading is the one step above the rest, and it is set lighter: 300
 * rather than 400, which is what stops five rem of serif reading as a shout. */
.hero h1 {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: var(--display-hero);
  font-weight: var(--font-weight-light);
  line-height: 1.08;
}

/* The one italic line. It is gold and it is the second half of the sentence,
 * which is why the heading reads as a claim rather than as a label. */
.hero h1 em {
  font-style: italic;
  color: var(--color-brand-soft);
}

.hero__lead {
  max-width: 35rem;
  margin: 0 auto var(--space-12);
  /* The full ivory over a photograph: in the muted ivory the line dissolved
   * against the snow of the mountains behind it (design pass of 2026-10-27). */
  color: var(--color-on-accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: center;
}

/* Text on a photograph. The veil does most of the work; this is what covers
 * the case where the picture is bright exactly where the heading sits. */
.hero__mark,
.hero h1,
.hero__lead,
.hero__scroll,
.page-hero h1,
.page-hero .section-label,
.page-hero__meta {
  text-shadow: 0 2px 26px var(--scrim-deep), 0 1px 5px var(--scrim);
}

.hero__scroll {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  color: var(--color-on-accent-muted);
}

.hero__scroll::after {
  content: "";
  width: var(--border-hairline);
  height: 3.25rem;
  background-image: var(--wash-rule);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll::after {
    animation: scroll-pulse var(--motion-ambient) var(--motion-ease) infinite;
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

/* A hint to scroll is worth nothing on a screen with no room for it. */
@media (height <= 43.75rem), (width < 43.75rem) {
  .hero__scroll {
    display: none;
  }
}

/* The hero of a subpage: shorter, bottom-aligned, and the photograph does not
 * move. A zoom that runs on every page of a visit stops being an entrance and
 * becomes a tic. */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--black);
}

.page-hero .hero__bg img {
  animation: none;
  transform: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-under);
  background-image: var(--veil-page);
}

.page-hero__inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
}

.page-hero h1 {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-weight: var(--font-weight-light);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: var(--space-5);
  letter-spacing: 0.1em;
}

.page-hero__price {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  color: var(--color-brand-soft);
}

/* A page with no photograph of its own still needs its heading to sit
 * somewhere. This is the same block on the paper ground. */
.page-head {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: calc(var(--header-height) + var(--space-12)) var(--space-gutter)
    var(--space-4);
}

.page-head h1 {
  margin-top: var(--space-5);
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
}

.page-head__lead {
  max-width: var(--prose-max);
  margin-top: var(--space-4);
  font-size: var(--text-md);
  color: var(--color-muted);
}

.page-head__count {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-tight);
  color: var(--color-muted);
}

/* ------------------------------------------------------------------ *
 * Sections. Four grounds, and the ground carries meaning at section level:
 * paper is the page, white is a block that holds objects, and the two dark
 * ones are the blocks that speak for the company rather than about a
 * property.
 * ------------------------------------------------------------------ */

.section {
  padding-block: var(--space-section);
}

/* A section that follows something which has already paid the distance --
 * the path above an article, a heading block above a list. */
.section--flush {
  padding-top: var(--space-6);
}

.section__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.section--tinted {
  background-color: var(--color-surface);
}

.section--solution {
  background-color: var(--color-surface-tinted);
}

/* The panel beside the text of a section: a white card with the site's gold
 * edge along its top, ending where its content ends. As an ivory block on
 * the paper ground it was barely there, and stretched to the height of the
 * text beside it it left a third of itself empty (design pass of
 * 2026-10-27). */
.split > .section--solution {
  align-self: start;
}

.split > .section--solution h2 { font-size: var(--display-sm); }

.section--accent,
.section--dark {
  background-color: var(--color-band);
  color: var(--text-cool-soft);
}

.section--accent h1,
.section--accent h2,
.section--accent h3,
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-on-accent);
}

.section--accent .lead,
.section--dark .lead,
.section--accent p,
.section--dark p {
  color: var(--text-cool-soft);
}

/* The company's 780 px for the heading, so that it breaks where it breaks
 * there (E-165). The lead under it takes the width of the section: the
 * owner's rule is no reading measure on running text, and at 780 px the
 * intro left the right third of the page empty beside a full-width
 * paragraph further down (E-167). */
.section__head {
  margin-bottom: var(--space-section-sm);
}

.section__head h2 {
  max-width: 48.75rem;
}

.section__head--center h2 { margin-inline: auto; }

.section__head p {
  margin-top: var(--space-5);
  color: var(--color-muted);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

/* The lead paragraph is the serif, which is what marks it as language rather
 * than as interface. */
.lead {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: var(--display-sm);
  line-height: var(--display-line-lead);
  color: var(--color-text);
}

.rule,
.brand-rule {
  height: 0;
  margin: 0;
  border: none;
  border-top: var(--border-hairline) solid var(--color-brand-line);
}

/* ------------------------------------------------------------------ *
 * The property card.
 *
 * White on the paper ground, lifted by the one shadow this design has, with
 * the image scaling inside its own frame on hover. The whole card is a target
 * — the title carries the link and `::after` stretches it over the card, so
 * there is one tab stop and one accessible name rather than three.
 * ------------------------------------------------------------------ */

.property-grid,
.article-grid {
  display: grid;
  /* `auto-fit` rather than `auto-fill`, and the difference is visible
   * whenever the collection is smaller than the row. `auto-fill` keeps the
   * empty tracks it could not fill: one related article sat in a 371 px card
   * with 813 px of paper beside it, measured on the guide. `auto-fit`
   * collapses them, so one card is one card the width of the row. */
  grid-template-columns: repeat(auto-fit, minmax(min(22.5rem, 100%), 1fr));
  gap: var(--space-grid);
  margin: 0;
  padding: 0;
  list-style: none;
}

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-slow) var(--motion-ease),
    box-shadow var(--motion-slow) var(--motion-ease);
}

.property-card:hover {
  box-shadow: var(--shadow-raised);
}

/* The lift is decoration. Somebody who asked their system for less motion
 * gets the shadow and not the movement. */
@media (prefers-reduced-motion: no-preference) {
  .property-card:hover { transform: translateY(calc(-1 * var(--lift-card))); }

  .property-card:hover .property-card__figure img { transform: scale(var(--zoom-image)); }
}

.property-card__figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 0;
  background-color: var(--coal);
}

.property-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-image) var(--motion-ease);
}

/* A property with no released photograph shows the mark rather than a broken
 * frame. Discretion is the default in this trade, and an empty grey box
 * states nothing while a line states a policy. */
.property-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-brand-soft);
  background-color: var(--coal);
}

.property-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.property-card__place {
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--color-brand-ink);
}

.property-card__title {
  margin: 0;
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-weight: var(--font-weight-regular);
  color: var(--color-heading);
}

.property-card__title a {
  color: inherit;
  text-decoration: none;
}

/* One target over the whole card. The link keeps its own focus ring because
 * the outline is drawn on the anchor and the anchor is the size of the card. */
.property-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-raised);
}

.property-card__title a:focus-visible {
  outline: none;
}

.property-card:has(.property-card__title a:focus-visible) {
  outline: var(--border-focus) solid var(--color-focus);
  outline-offset: var(--border-focus-offset);
}

.property-card__facts {
  display: flex;
  flex-wrap: wrap;
  margin: var(--space-5) 0 0;
  padding: var(--space-5) 0 0;
  border-top: var(--border-hairline) solid var(--color-hairline);
  list-style: none;
  color: var(--color-muted);
}

.property-card__price {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  color: var(--color-heading);
}

/* The flats of a building on its public page: the flat's name in the serif
 * over the row's middle, its price or state at the right and the way into
 * it marked by an arrow. Until the design pass of 2026-10-27 the row was the
 * working area's: a 13 px label hung from the top beside a price set lower,
 * and "Reserviert" in the face of a price. */
.site .unit-list { gap: var(--space-3); }

.site .unit-list a {
  flex-wrap: nowrap;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

.unit-list__name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: var(--text-xl);
  line-height: var(--text-xl-line);
}

/* The price no taller than the name's line, so that a row with a price and a
 * row with "Reserviert" stand at one height: the price's own line made its
 * rows 4 px taller (E-167). */
.site .unit-list .property-card__price {
  flex: none;
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
}

.unit-list__state {
  flex: none;
  font-family: var(--font-family-base);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-danger);
}

.unit-list__arrow {
  flex: none;
  font-family: var(--font-family-display);
  color: var(--color-link);
  transition: transform var(--motion-base) var(--motion-ease);
}

@media (prefers-reduced-motion: no-preference) {
  .site .unit-list a:hover .unit-list__arrow { transform: translateX(var(--nudge)); }
}

/* The area and the floor of each flat between its name and its price, so
 * that eight rows can be compared without opening one, and the state as a
 * word in a thin ring of its tone, as every state of the house (design pass
 * of 2026-11-06). */
.site .unit-list__facts {
  display: flex;
  flex: none;
  gap: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-muted);
  white-space: nowrap;
}

.site .unit-list__state {
  padding: var(--space-1) var(--space-3);
  border: var(--border-hairline) solid currentColor;
}

@media (width < 35rem) {
  .site .unit-list a { flex-wrap: wrap; gap: var(--space-1) var(--space-4); padding-inline: var(--space-4); }
  .unit-list__name { flex-basis: 100%; }
  .site .unit-list__facts { flex-basis: 100%; }
  .unit-list__arrow { margin-inline-start: auto; }
}

/* The way back from a flat to its building, at the head of its text. */
.detail-back {
  margin: 0 0 var(--space-6);
  font-size: var(--text-sm);
}

.detail-back a { text-transform: none; letter-spacing: 0.04em; }

/* A way back of two lines is underlined under its words, not ruled across
 * the column like a divider. */
.detail-back a.textlink {
  display: inline;
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: var(--color-brand);
  text-underline-offset: 0.3em;
}

/* ------------------------------------------------------------------ *
 * The badge on a photograph — sold, reserved, new.
 * ------------------------------------------------------------------ */

.badge-photo {
  position: absolute;
  z-index: var(--z-overlay-ui);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-pill);
  text-transform: uppercase;
  color: var(--color-brand-soft);
  background-color: var(--black);
  border: var(--border-hairline) solid var(--color-brand-line);
}

.badge-photo--red {
  color: var(--white);
  background-color: var(--red);
  border-color: var(--red);
}

.badge-photo--ivory {
  color: var(--black);
  background-color: var(--ivory);
  border-color: var(--ivory);
}

/* ------------------------------------------------------------------ *
 * The fact bar under a property hero — value over label, the value in the
 * serif and the label in gold capitals.
 * ------------------------------------------------------------------ */

.factbar {
  background-color: var(--ink);
}

.factbar__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-6) var(--space-gutter);
  flex-wrap: wrap;
}

.factbar__inner > * {
  flex: 1 0 7.5rem;
}

.factbar__value {
  display: block;
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  color: var(--color-on-accent);
  /* A list of kinds (E-129) wraps between its words, never inside one. */
  overflow-wrap: normal;
  hyphens: manual;
}

.factbar__label {
  display: block;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--color-brand);
  overflow-wrap: normal;
  hyphens: manual;
}

@media (width < 43.75rem) {
  /* Two figures a line, a long word taking a line of its own. */
  .factbar__inner > * {
    flex-basis: calc(50% - var(--space-4));
  }
}

/* ------------------------------------------------------------------ *
 * The bordered panel — a service, a location, an event.
 *
 * A gold border on a near-transparent ground with a diagonal gold wash. On
 * hover the border goes full gold and the panel lifts. It is the dark
 * counterpart of the white card, and the site uses it wherever a block says
 * something about the company rather than about a property.
 * ------------------------------------------------------------------ */

.brand-panel {
  border: var(--border-hairline) solid var(--color-brand-line-soft);
  /* A flat ground a step darker than the band rather than the diagonal gold
   * wash, which read as a generated card (E-167). */
  background-color: var(--black);
  transition: border-color var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease);
}

.brand-panel:hover {
  border-color: var(--color-brand);
}

@media (prefers-reduced-motion: no-preference) {
  .brand-panel:hover { transform: translateY(calc(-1 * var(--lift))); }
}

.brand-panel__num {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-style: italic;
  color: var(--color-brand);
}

.brand-panel p {
  margin: 0;
}

.brand-panel-grid {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr));
  gap: var(--space-grid);
}

/* ------------------------------------------------------------------ *
 * The row list — a table that is not a table, for locations and the like.
 *
 * On hover it tints and gains left padding, which reads as the row stepping
 * forward. Below 860 px the description is dropped rather than wrapped: four
 * columns of prose on a phone is four columns of nothing.
 * ------------------------------------------------------------------ */

.row-list {
  border-top: var(--border-hairline) solid var(--color-brand-line-soft);
  margin: 0;
  padding: 0;
  list-style: none;
}

.row-list__row {
  display: grid;
  grid-template-columns: 9.375rem 1.1fr 1.6fr auto;
  align-items: baseline;
  border-bottom: var(--border-hairline) solid var(--color-brand-line-soft);
  transition: background-color var(--motion-base) var(--motion-ease);
}

.row-list__row:hover {
  background-color: var(--color-brand-wash);
}

.row-list__kind {
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--color-brand);
}

.row-list__name {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
  color: var(--color-on-accent);
}

.row-list__desc {
  color: var(--color-on-accent-muted);
}

.row-list__state {
  justify-self: end;
  white-space: nowrap;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--color-brand-soft);
  border: var(--border-hairline) solid var(--color-brand-line);
}

.row-list__state--active {
  color: var(--color-on-brand);
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

/* Where the four columns stand side by side, they are the list's columns and
 * not each row's own: sized per row by its `auto` state, the descriptions
 * began at three different places down the page. */
@media (width >= 53.75rem) {
  /* The country column wide enough for "Vereinigte Arabische Emirate" on
   * two lines rather than three (design pass of 2026-10-27). */
  .row-list {
    display: grid;
    /* Each outer column plus the row's own 0.4rem: a subgrid takes that padding
     * out of its first and last track. */
    grid-template-columns: 9.775rem 1.1fr 1.6fr 12.9rem;
    column-gap: 2.4rem;
  }

  .row-list__row {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
  }
}

@media (width < 53.75rem) {
  .row-list__row {
    grid-template-columns: 1fr auto;
  }

  .row-list__kind {
    grid-column: 1 / -1;
  }

  /* Under the name on a telephone rather than gone: the one sentence that
   * says what the place is for (design pass of 2026-10-27). */
  .row-list__desc {
    grid-column: 1 / -1;
    font-size: var(--text-sm);
    line-height: var(--text-sm-line);
  }
}

/* ------------------------------------------------------------------ *
 * The side card on a property page — sticky, white, the price in the serif.
 * ------------------------------------------------------------------ */

.detail-cols {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--space-section-sm);
  align-items: start;
}

.sidecard {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  background-color: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.sidecard__ref {
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-pill);
  text-transform: uppercase;
  color: var(--color-muted);
}

.sidecard__price {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  color: var(--color-heading);
}

/* The same rows for the record of a rail card ("Dieses Objekt"), so that
 * key and value read one way on a property's page (sixth design pass). */
.sidecard dl > div,
.rail-facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: var(--border-hairline) solid var(--color-hairline);
}

.sidecard dt,
.rail-facts dt {
  color: var(--color-muted);
}

.sidecard dd,
.rail-facts dd {
  margin: 0;
  text-align: right;
  color: var(--color-heading);
}

.sidecard .btn {
  width: 100%;
  justify-content: center;
}

@media (width < 60rem) {
  /* `minmax(0, ...)`: with `1fr` a long button label widened the whole page. */
  .detail-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidecard {
    position: static;
  }

  /* Price and enquiry first on a telephone, then the description: in the
   * order of the markup they came 1900 px below the photograph (design pass
   * of 2026-10-27). */
  .detail-cols > .sidecard { order: -1; }
}

/* The highlight list, on hairlines. A short gold rule in front of each line,
 * the eyebrow's own figure at a quarter of its length, and every property of
 * the working area's tick taken back for it. It was a gold middot, three
 * pixels across and read as a stray dot, behind an indent of 33 px (design
 * pass of 2026-10-27). */
.checklist {
  margin: var(--space-8) 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: 0;
  padding-block: var(--space-3);
  padding-left: 0;
  border-bottom: var(--border-hairline) solid var(--color-hairline);
  font-size: var(--text-md);
}

.checklist li::before {
  content: "";
  position: static;
  display: block;
  flex: none;
  width: var(--space-4);
  height: var(--border-hairline);
  /* On the middle of the first line, not of the whole entry: an entry of
   * two lines had its rule between them. */
  align-self: flex-start;
  margin-top: 0.875em;
  background-color: var(--color-brand-edge);
  border-radius: 0;
}

/* ------------------------------------------------------------------ *
 * The filter row — square chips that fill black when they are on.
 * ------------------------------------------------------------------ */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.filter-row > ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-row__chip {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  color: var(--color-text);
  background: none;
  border: var(--border-hairline) solid var(--color-border-control);
  transition: color var(--motion-base) var(--motion-ease),
    background-color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease);
}

.filter-row__chip:hover {
  color: var(--color-heading);
  border-color: var(--color-brand-edge);
}

.filter-row__chip[aria-pressed="true"],
.filter-row__chip.is-active {
  color: var(--color-on-primary);
  background-color: var(--color-primary-fill);
  border-color: var(--color-primary-fill);
}

/* The same chip as a link, on the guide's category row. */
a.filter-row__chip {
  display: inline-flex;
  text-decoration: none;
}

.filter-row__spacer {
  flex: 1;
}

.filter-row__count {
  letter-spacing: var(--tracking-tight);
  color: var(--color-muted);
}

/* ------------------------------------------------------------------ *
 * The gallery, and the lightbox it opens.
 *
 * Three fixed layouts rather than one that counts its own columns: one
 * column on a telephone, two on a tablet, three from 62 rem. The rules that
 * close the last row only work when they know how many columns there are,
 * and with `auto-fill` they did not: on a tablet the grid had two columns,
 * the lead and the last picture kept the three-column rules and shrank to
 * 16 and 0 pixels (design pass of 2026-10-28).
 * ------------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--coal);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-image) var(--motion-ease);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery a:hover img { transform: scale(var(--zoom-image)); }
}

/* Two columns: the lead across the row, the others in pairs, and a last
 * picture with nobody beside it across the row as well. */
@media (width >= 43.75rem) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery > li:first-child,
  .gallery > li:nth-child(even):last-child {
    grid-column: 1 / -1;
  }

  .gallery > li:first-child a {
    aspect-ratio: 16 / 9;
  }

  /* Not the second of two: this selector outweighed the pair rule further
   * down, and on a tablet a gallery of two showed the second picture as a
   * flat 3:1 strip beside a 4:3 one (E-160). */
  .gallery > li:nth-child(even):last-child:not(:first-child):not(:nth-child(2)) a {
    aspect-ratio: 3 / 1;
  }
}

/* Three columns: every sixth tile spans two by two, which is what stops a
 * grid of photographs reading as a contact sheet. */
@media (width >= 62rem) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery > li:first-child,
  .gallery > li:nth-child(even):last-child {
    grid-column: auto;
  }

  .gallery > li:first-child a,
  .gallery > li:nth-child(even):last-child:not(:first-child):not(:nth-child(2)) a {
    aspect-ratio: 4 / 3;
  }

  .gallery > li:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* A last row of one, or a lead with nothing beside it: the whole row. */
  .gallery > li:nth-child(6n + 4):last-child,
  .gallery > li:nth-child(6n + 1):last-child:not(:first-child) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery > li:nth-child(6n + 4):last-child a,
  .gallery > li:nth-child(6n + 1):last-child:not(:first-child) a {
    aspect-ratio: 3 / 1;
  }

  /* A lead with one picture beside it has one row to fill, not two. */
  .gallery > li:nth-child(6n + 1):has(+ li:last-child):not(:first-child) {
    grid-row: auto;
  }

  /* The lead takes the height of the two rows beside it. At its own 4:3 it
   * ended four pixels above them, which is the row gap it does not span. */
  .gallery:has(> li:nth-child(3)) > li:nth-child(6n + 1):not(:last-child) a {
    aspect-ratio: auto;
    height: 100%;
    contain: size;
  }

  /* A last row of two: the second takes the empty cell, at the height of
   * the one beside it. `contain: size`, so that the picture's own
   * proportions do not raise the row. */
  .gallery > li:nth-child(6n + 5):last-child {
    grid-column: span 2;
  }

  .gallery > li:nth-child(6n + 5):last-child a {
    aspect-ratio: auto;
    height: 100%;
    contain: size;
  }
}

/* Two pictures side by side at the same size, and one across the width it
 * has, at every width from the tablet up. Stated last so that they win
 * over both layouts above. */
@media (width >= 43.75rem) {
  .gallery:has(> li:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery:has(> li:nth-child(2):last-child) > li {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery:has(> li:nth-child(2):last-child) > li a {
    aspect-ratio: 4 / 3;
  }

  .gallery:has(> li:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery > li:only-child {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery > li:only-child a {
    aspect-ratio: 16 / 9;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--color-scrim-deep);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--target-primary);
  height: var(--target-primary);
  color: var(--color-on-accent);
  background: none;
  border: var(--border-hairline) solid var(--color-brand-line-soft);
  transition: color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease);
}

.lightbox__btn:hover {
  color: var(--color-brand-soft);
  border-color: var(--color-brand);
}

.lightbox__close {
  top: var(--space-5);
  right: var(--space-5);
}

.lightbox__prev {
  top: 50%;
  left: var(--space-5);
  transform: translateY(-50%);
}

.lightbox__next {
  top: 50%;
  right: var(--space-5);
  transform: translateY(-50%);
}

.lightbox__count {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-pill);
  color: var(--color-on-accent-muted);
}

/* ------------------------------------------------------------------ *
 * The long-form shell.
 *
 * Every page that is mostly running text -- the four legal documents, the
 * guide -- is laid out as a text column with a rail beside it rather than as
 * a column of 672 px in a field of 1184. The rail carries the contents of the
 * page and the two or three things a reader of that page needs next, so the
 * width is filled with something rather than held open.
 *
 * The contents themselves are built by `app.js` out of the headings that are
 * actually there. Writing them into each template by hand is a second list to
 * keep in step with the first, and the first is 646 lines long.
 * ------------------------------------------------------------------ */

.longform {
  display: grid;
  /* The same zero as on `.article` above, and for the same reason: a legal
   * document carries tables too. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-grid);
}

.longform .prose,
.longform__body {
  max-width: none;
}

.longform__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (width >= 62rem) {
  .longform {
    grid-template-columns: minmax(0, 1fr) var(--aside-width);
    align-items: stretch;
  }

  /* The rail comes second in the markup, because the document is what the
   * page is about and what a screen reader should reach first. */
  .longform__aside > :first-child {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }
}

/* The headings of a long document step down from the page's own: a
 * section heading at the section size, a sub-heading a step under it.
 * The lists take the short gold rule the highlight list has, rather than
 * the browser's black discs (design pass of 2026-10-27). */
:is(.longform__body, .article .prose) ul:not([class]) {
  list-style: none;
  padding-left: 0;
}

:is(.longform__body, .article .prose) ul:not([class]) > li {
  position: relative;
  padding-left: var(--space-8);
}

:is(.longform__body, .article .prose) ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: var(--space-4);
  height: var(--border-hairline);
  background-color: var(--color-brand-edge);
}

/* A text column of 826 px is wider than the 672 it was, so the type grows
 * with it: the measure stays around eighty characters and the page reads
 * larger rather than merely wider. */
@media (width >= 62rem) {
  .longform__head,
  .longform__body {
    font-size: var(--text-lg);
    line-height: 1.7;
  }
}

/* The heading and introduction of a legal document stand in a block of
 * their own above the body (design pass of 2026-10-28), and on a desk the
 * rail beside both, as it stood beside the one block before. */
.longform__head > :last-child { margin-bottom: 0; }

@media (width >= 62rem) {
  .longform:has(> .longform__head) {
    grid-template-rows: auto 1fr;
    row-gap: var(--space-10);
  }

  .longform__head { grid-column: 1; grid-row: 1; }

  .longform__head ~ .longform__body { grid-column: 1; grid-row: 2; }

  .longform:has(> .longform__head) > .longform__aside {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* ------------------------------------------------------------------ *
 * Forms on the public pages.
 *
 * The panel fills the column it is given; what holds the measure is the field
 * grid inside it (`.form-grid` in custom.css), which puts two short fields on
 * a line and leaves the long ones the full width. A single 544 px form panel
 * with 640 px of paper beside it was the second largest empty area in this
 * design, and capping the panel was what caused it.
 * ------------------------------------------------------------------ */

.form-panel {
  padding: var(--space-8);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* The progress rail of a stepped form — two pixels, and the bar is gold. */
.progress-rail {
  position: relative;
  height: 2px;
  margin-bottom: var(--space-10);
  background-color: var(--color-hairline);
}

.progress-rail__bar {
  position: absolute;
  inset: 0 auto 0 0;
  background-color: var(--color-brand);
  transition: width var(--motion-slow) var(--motion-ease);
}

/* ------------------------------------------------------------------ *
 * The guide.
 *
 * Built out of the blocks the public part already has — the card shape of a
 * property, the measure of a form — so that an article does not read as a
 * second product.
 * ------------------------------------------------------------------ */

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-slow) var(--motion-ease),
    box-shadow var(--motion-slow) var(--motion-ease);
}

.article-card:hover {
  box-shadow: var(--shadow-raised);
}

@media (prefers-reduced-motion: no-preference) {
  .article-card:hover { transform: translateY(calc(-1 * var(--lift))); }
}

.article-card__meta {
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-brand-ink);
}

.article-card__title {
  margin: var(--space-3) 0 0;
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-tight);
}

.article-card__title a {
  color: var(--color-heading);
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--color-brand-ink);
}

.article-card__excerpt {
  flex: 1;
  color: var(--color-muted);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.article-card__foot {
  margin-top: var(--space-5);
  border-top: var(--border-hairline) solid var(--color-hairline);
  color: var(--color-muted);
}

/* The article is a shell rather than a column: the text takes the width that
 * is left over, and the rail beside it carries the contents, the author and
 * the two things a reader does next. The measure is held by the type size
 * instead — see `.article .prose` below, which is set two steps larger than
 * the page around it. A column of 672 px in a field of 1184 was the single
 * largest piece of empty paper in this design. */
.article {
  display: grid;
  /* `minmax(0, 1fr)` and not the implicit `auto` track. An implicit grid
   * track is `auto`, and an `auto` track's floor is the min-content width of
   * what stands in it -- which here is a table set `width: max-content`. On a
   * 390 px telephone the single column was 1018 px and took the page with it;
   * the cap this block replaced had been hiding it. 1.4.10 Reflow.
   * The two-column rule below stands later and in a query, so nothing about
   * the wide view changes. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-grid);
  align-items: start;
}

@media (width >= 62rem) {
  .article {
    grid-template-columns: minmax(0, 1fr) var(--aside-width);
    align-items: stretch;
  }

  .article__head,
  .article__foot {
    grid-column: 1 / -1;
  }
}

.article__head {
  margin-bottom: var(--space-6);
}

/* 1.2 rem against the 1.0375 of the page. At 826 px the column holds about
 * eighty characters at this size, which is the measure a reading column is
 * meant to have -- the width is spent on larger type rather than on more
 * words a line. */
.article .prose {
  max-width: none;
  line-height: var(--leading-site);
}

.article .prose table,
.longform__body table {
  min-width: 100%;
  font-size: var(--text-base);
}

.article__faq {
  margin-top: var(--space-16);
}

/* The questions under an article one under the other, across the width. Side
 * by side, an opened answer pushed only its own column down and left a hole
 * beside it, and an uneven last question stood across both (E-167). */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* The questions as one list of rows on a hairline, as the features of a
 * property: five white cards with a shadow each and 40 px between them read
 * as five separate things (design pass of 2026-11-06). */
.site .faq-grid {
  gap: 0;
  border-top: var(--border-hairline) solid var(--color-hairline);
}

.site .faq-grid > details.panel {
  margin: 0;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  border-bottom: var(--border-hairline) solid var(--color-hairline);
  box-shadow: none;
}

.site .faq-grid > details.panel > summary { margin-bottom: 0; }

.site .faq-grid > details.panel[open] > summary { margin-bottom: var(--space-3); }

/* Under an article the questions keep the article's column. */
@media (width >= 62rem) {
  .article__faq { grid-column: 1; }
}

/* On a tablet and a telephone the cards of the rail follow the questions,
 * which belong to the article, rather than standing between the two. */
@media (width < 62rem) {
  .article__faq { order: 1; }

  .article__aside > :not(.toc) { order: 2; }
}

/* The questions of the guide on the questions page, each article's under its
 * title and with the way to it. */
.faq-group + .faq-group { margin-top: var(--space-12); }

.faq-group__title {
  margin-bottom: 0;
  font-size: var(--text-2xl);
}

.faq-group__title a { text-decoration: none; color: var(--color-heading); }

.faq-group__title a:hover { color: var(--color-brand-ink); }

.faq-group__more { margin: var(--space-5) 0 0; }

.article__foot {
  margin-top: var(--space-12);
}

.article__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* The contents stay in view for the whole article. Everything under them
 * scrolls away as an aside should. */
@media (width >= 62rem) {
  .article__aside .toc {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }
}

.aside-card {
  padding: var(--space-6);
  background-color: var(--color-surface);
  border: var(--border-hairline) solid var(--color-hairline);
  border-top: 2px solid var(--color-brand);
}

.aside-card__name {
  margin: 0 0 var(--space-1);
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}

.aside-card__name a {
  color: var(--color-heading);
  text-decoration: none;
}

.aside-card__name a:hover {
  color: var(--color-brand-ink);
}

.aside-card__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-family-base);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-brand-ink);
}

.aside-card p:last-child,
.aside-card ul:last-child {
  margin-bottom: 0;
}

.aside-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  /* The size of the contents list above it: at the small step the other
   * documents read as fine print beside it (design pass of 2026-10-27). */
  font-size: var(--text-base);
}

.aside-card__list a[aria-current="page"] { color: var(--color-brand-ink); }

.aside-card__list li + li {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: var(--border-hairline) solid var(--color-hairline);
}

.aside-card__list a {
  padding-block: var(--space-1);
  color: var(--color-heading);
  text-decoration: none;
}

.aside-card__list a:hover {
  color: var(--color-brand-ink);
}

/* The one dark block of the rail: what the reader is meant to do next. */
.aside-card--accent {
  border-color: var(--color-brand-line);
  color: var(--text-cool-soft);
}

.aside-card--accent p {
  color: var(--text-cool-soft);
}

/* Framed by a hairline all round (E-167). The gold bar down its left edge
 * was the stock accent of a generated article page. */
.toc {
  padding: var(--space-6);
  background-color: var(--color-surface);
  border: var(--border-hairline) solid var(--color-hairline);
}

.toc__title {
  /* A label in the interface face, like the card title beside it: as an
   * `h2` it took the serif, and "Inhalt" and "Fragen dazu" were set in two
   * families one above the other. */
  font-family: var(--font-family-base);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-brand-ink);
}

.toc__list {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.toc__list li + li {
  margin-top: var(--space-1-5);
}

/* Stacked above the text on a tablet: two columns, and the distance of a
 * section before the first heading rather than 36 px. */
@media (width >= 48rem) and (width < 62rem) {
  .toc__list { columns: 2; column-gap: var(--space-8); }

  .toc__list li { break-inside: avoid; }
}

@media (width < 62rem) {
  .longform__aside > .toc,
  .article__aside > .toc { margin-bottom: var(--space-8); }
}

.newsletter {
  padding: var(--space-10) var(--space-8);
  background-color: var(--black);
  border: var(--border-hairline) solid var(--color-brand-line);
  color: var(--text-cool-soft);
}

.newsletter h2,
.newsletter h3 {
  color: var(--color-brand);
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: var(--border-hairline) solid var(--color-hairline);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-tight);
}

/* ------------------------------------------------------------------ *
 * The sign-in pages — the first touch with the product.
 *
 * A split screen: the form on paper to the left, a photograph under a dark
 * veil to the right with the signet on it. On a phone the photograph is a
 * gold band and nothing else, because a hero above a login form is a screen
 * of scrolling before anybody can type.
 * ------------------------------------------------------------------ */

.auth {
  display: grid;
  grid-template-columns: 1fr;
  /* The band is exactly as tall as it is and the form takes the rest. Two
   * `auto` rows share the leftover height of `100svh` between them instead,
   * which measured as 229 px above the card and 107 below it at 390x844 —
   * it reads as generous spacing and is an accident. */
  grid-template-rows: auto 1fr;
  min-height: 100svh;
}

/* The card hangs from a fixed line rather than standing in the middle of the
 * column: centred, a card of another height put the word mark 40 px lower on
 * "Passwort vergessen" than on "Anmelden" (design pass of 2026-11-06). */
.auth__form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(var(--space-12), 16vh, 9rem) var(--space-gutter) var(--space-12);
  background-color: var(--color-ground);
}

.auth__figure {
  display: none;
  position: relative;
  isolation: isolate;
  background-color: var(--black);
}

/* The photograph, and only the photograph. As a descendant selector this
 * also caught the signet standing on it, which then filled half the screen —
 * `width`/`height` attributes are a hint and lose against any rule. */
.auth__figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth__signet img {
  width: auto;
  height: 4.875rem;
}

.auth__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--veil-page);
}

.auth__signet {
  position: absolute;
  inset: auto var(--space-12) var(--space-12) var(--space-12);
  z-index: var(--z-raised);
}

.auth__claim {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--color-on-accent);
  margin-top: var(--space-5);
}

/* The band that stands in for the photograph on a phone. */
.auth__band {
  height: var(--space-1);
  background-color: var(--color-brand);
}

/* The sign-in pages stand in `.site` for its fields and buttons, and keep
 * their headings at the size of a card's: the page default of the public
 * part is a hero's (design pass of 2026-11-06). */
.auth-card h1 { font-size: var(--text-4xl); }

.auth-card h2 { font-size: var(--text-2xl); }

.auth-card {
  width: 100%;
  max-width: var(--form-max);
  margin-inline: auto;
}

.auth-card__foot {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: var(--border-hairline) solid var(--color-hairline);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.auth-card__foot a svg { margin-inline-end: var(--space-1); }

@media (width >= 62rem) {
  .auth {
    grid-template-columns: 1fr 1fr;
    /* One row, not two. The band above is `display: none` from here, but
     * `grid-template-rows: auto 1fr` still declares a second row — and the
     * two columns both sit in the first one, which sizes itself to the form.
     * Measured at 1440x900: rows `580px 320px`, so the photograph stopped two
     * thirds of the way down and the last third was bare paper. */
    grid-template-rows: 1fr;
  }

  .auth__figure {
    display: block;
  }

  .auth__band {
    display: none;
  }

  .auth__form {
    padding-inline: var(--space-16);
  }
}

/* ------------------------------------------------------------------ *
 * Footer. Black, four columns, gold column headings, and the Swiss cross
 * drawn rather than fetched — an image for fourteen pixels of flag is a
 * request nobody needs to make.
 * ------------------------------------------------------------------ */

.site-footer {
  background-color: var(--black);
  color: var(--text-cool-soft);
}

.site-footer__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

/* A grid item is `min-width: auto`, which means it never shrinks below its
 * longest unbreakable word. At 150 per cent type on a 320 px screen,
 * "Aussergewöhnliche" is wider than the column, so the column grew and took
 * the page with it — measured at 322 px in a 320 px view on seven pages.
 *
 * `min-width: 0` lets the column shrink; `overflow-wrap` then breaks the word
 * rather than letting it stick out of the column instead. Both are needed:
 * either alone moves the problem rather than solving it. */
.site-footer__top > * {
  min-width: 0;
  overflow-wrap: break-word;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--color-brand);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: block;
  padding-block: var(--space-1);
  color: var(--text-cool-soft);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-brand-soft);
}

.site-footer__claim {
  max-width: 18.75rem;
  margin-top: var(--space-5);
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-style: italic;
  color: var(--text-cool-soft);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: var(--border-hairline) solid var(--color-brand-line-soft);
  letter-spacing: var(--tracking-tight);
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.swiss-note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.swiss-note__cross {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--red);
}

.swiss-note__cross::before,
.swiss-note__cross::after {
  content: "";
  position: absolute;
  background-color: var(--white);
}

.swiss-note__cross::before {
  left: 6px;
  top: 2.5px;
  width: 2px;
  height: 9px;
}

.swiss-note__cross::after {
  top: 6px;
  left: 2.5px;
  width: 9px;
  height: 2px;
}

@media (width < 60rem) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width < 35rem) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Short entries two to a line on a telephone: the footer ran to 1900 px
   * at 390 px, most of it one word per line (design pass of 2026-10-28). */
  .site-footer__top > :nth-child(2) ul,
  .site-footer__top > :nth-child(3) ul,
  .site-footer__top > :nth-child(4) ul {
    columns: 2;
    column-gap: var(--space-6);
  }

  .site-footer__top li {
    break-inside: avoid;
  }
}

/* ------------------------------------------------------------------ *
 * Reveal on scroll.
 *
 * `app.js` adds `is-visible` through an IntersectionObserver. The rule that
 * matters is the last one: with reduced motion the element is simply visible,
 * and it is visible whether or not the observer ever runs — an animation that
 * hides content until a script fires is a page that shows nothing when the
 * script does not.
 * ------------------------------------------------------------------ */

/* The attribute is written by `app.js` immediately before the observer is
 * created, and it is the whole safety of this arrangement: without it the
 * rule below does not exist, so a page whose script did not load, or ran and
 * threw, is a page where every block is simply visible.
 *
 * Written the other way round — `.reveal { opacity: 0 }` on its own, with a
 * script that removes it — the same failure hides half the page and nothing
 * reports it, because the markup is all there and the server answered 200.
 * The company's own site is built that way. */
/* Opt-in like every movement of the public site: under `reduce` the blocks
 * are never hidden, rather than hidden and shown again. */
@media (prefers-reduced-motion: no-preference) {
  :root[data-reveal="on"] .reveal {
    opacity: 0;
    transform: translateY(1.625rem);
    transition: opacity var(--motion-reveal) var(--motion-ease),
      transform var(--motion-reveal) var(--motion-ease);
  }

  :root[data-reveal="on"] .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* A grid of cards arrives card by card, column after column, rather than as
   * one slab (E-160). The grid itself stands still; its items carry the fade,
   * each column a beat after the one to its left, so a row reads left to right
   * and a second row starts again at the left. */
  :root[data-reveal="on"] .reveal:is(.property-grid, .article-grid, .brand-panel-grid) {
    opacity: 1;
    transform: none;
  }

  :root[data-reveal="on"] .reveal:is(.property-grid, .article-grid, .brand-panel-grid) > * {
    opacity: 0;
    transform: translateY(1.625rem);
    transition: opacity var(--motion-reveal) var(--motion-ease),
      transform var(--motion-reveal) var(--motion-ease);
  }

  :root[data-reveal="on"] .reveal.is-visible:is(.property-grid, .article-grid, .brand-panel-grid) > * {
    opacity: 1;
    transform: none;
  }

  :root[data-reveal="on"] .reveal.is-visible:is(.property-grid, .article-grid, .brand-panel-grid) > :nth-child(3n + 2) {
    transition-delay: var(--motion-stagger);
  }

  :root[data-reveal="on"] .reveal.is-visible:is(.property-grid, .article-grid, .brand-panel-grid) > :nth-child(3n + 3) {
    transition-delay: calc(2 * var(--motion-stagger));
  }
}

/* ------------------------------------------------------------------ *
 * Breakpoints. Every one a `max-width` here, because the public part is laid
 * out for the desk first and folded down — the opposite of the working area,
 * which is a phone first.
 * ------------------------------------------------------------------ */

@media (width < 60rem) {
  /* The header is solid from here down: a transparent bar over a photograph
   * nobody chose is a bar whose legibility depends on the picture. */
  .site-header {
    background-color: var(--black);
    background-image: none;
    box-shadow: 0 var(--border-hairline) 0 var(--color-brand-line);
  }

  /* Above the open drawer, which covers the whole screen from here down:
   * the handle is the way out of it again. */
  .site-nav__toggle {
    display: flex;
    position: relative;
    z-index: var(--z-overlay-ui);
  }

  /* The drawer. Full-screen, near-opaque, the entries in the serif at two
   * rem — the site's own mobile menu, which is a page rather than a list. */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-raised);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* `safe`: a list taller than the screen starts at the top and scrolls,
     * rather than being centred out of reach above and below. On a telephone
     * held sideways (844 by 390) "Immobilien" stood at -58 px and "Anmelden"
     * under the bottom edge (design pass of 2026-10-28). */
    justify-content: safe center;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: calc(var(--header-height) + var(--space-4)) var(--space-8);
    /* Over the paper ground the page's own lines still read through the
     * veil at 96 per cent; blurred, they are texture rather than text. */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    /* Hidden as well as transparent. `opacity` hides the entries from the
     * eye and from nothing else: until 2026-10-26 the fourth Tab on a
     * telephone landed on "Immobilien" in a menu nobody could see, and six
     * more followed. `visibility` takes them out of the tab order and away
     * from a screen reader. It switches after the fade on closing and at
     * once on opening, so the fade itself is kept. */
    visibility: hidden;
    transition: opacity var(--motion-slow) var(--motion-ease),
                visibility 0s linear var(--motion-slow);
  }

  .site-nav[data-open="true"],
  html:not([data-enhanced]) .site-nav:target {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity var(--motion-slow) var(--motion-ease),
                visibility 0s linear 0s;
  }

  .site-nav ul {
    flex-direction: column;
    gap: var(--space-8);
  }

  .site-nav a {
    font-family: var(--font-family-display);
    font-variant-numeric: lining-nums;
    font-size: var(--text-3xl);
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-on-accent);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a[aria-current] {
    color: var(--color-brand);
  }

  /* The entries arrive one after the other when the drawer opens, where
   * motion is wanted at all. */
  @media (prefers-reduced-motion: no-preference) {
    .site-nav li {
      opacity: 0;
      transform: translateY(var(--space-2));
      transition: opacity var(--motion-slow) var(--motion-ease),
                  transform var(--motion-slow) var(--motion-ease);
    }

    .site-nav[data-open="true"] li,
    html:not([data-enhanced]) .site-nav:target li {
      opacity: 1;
      transform: none;
    }

    .site-nav[data-open="true"] li:nth-child(2) { transition-delay: var(--motion-stagger-nav); }
    .site-nav[data-open="true"] li:nth-child(3) { transition-delay: calc(2 * var(--motion-stagger-nav)); }
    .site-nav[data-open="true"] li:nth-child(4) { transition-delay: calc(3 * var(--motion-stagger-nav)); }
    .site-nav[data-open="true"] li:nth-child(5) { transition-delay: calc(4 * var(--motion-stagger-nav)); }
    .site-nav[data-open="true"] li:nth-child(6) { transition-delay: calc(5 * var(--motion-stagger-nav)); }
    .site-nav[data-open="true"] li:nth-child(7) { transition-delay: calc(6 * var(--motion-stagger-nav)); }
  }

}

/* A telephone held sideways: the drawer's entries a size down and closer. */
@media (width < 60rem) and (height <= 30rem) {
  /* Two columns, so that all seven fit a screen 390 px high. */
  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: var(--space-3) var(--space-16);
    text-align: center;
  }

  .site-nav a {
    font-size: var(--text-2xl);
  }
}

@media (width < 47.5rem) {
  /* A button that cannot fit its label on one line wraps rather than
   * overflowing, and centres while it does.
   *
   * `min-width: 0` belongs with it: a flex item never shrinks below its
   * content unless told to, so a tracked upper-case label was 292 px wide in
   * a 248 px row and took the page with it. */
  .hero__actions .btn,
  .form-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  /* The closing band and the head of a sub-page close the same way: their
   * one button at 261 and 275 px stood beside full-width ones of the hero
   * and the lists on the same telephone page (E-167). */
  .cta-band .btn,
  .page-hero__inner .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Every button on the public part, not only the two rows above. The
   * company's own site makes the same exception at the same width, and the
   * reason is the tracking: "Zum Kontaktformular" at 0.22em is 292 px wide,
   * which fits a telephone at 100 per cent type and does not at 150.
   * Measured in the closing band, which is neither a hero nor a form. */
  .site .btn {
    max-width: 100%;
    white-space: normal;
  }
}

/* ------------------------------------------------------------------ *
 * The editorial split — text beside a photograph, with the offset frame the
 * company's own "about" page draws behind the picture.
 *
 * The frame is a pseudo-element at negative inset rather than a second image,
 * and it sits *behind* the photograph on `z-index: -1`, which is why the
 * container needs no stacking context of its own.
 * ------------------------------------------------------------------ */

.split-editorial:not(:has(.framed-image)) { align-items: start; }

.split-editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.framed-image {
  position: relative;
  margin: 0;
}

.framed-image img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-card);
}

.framed-image::before {
  content: "";
  position: absolute;
  inset: -22px auto auto -22px;
  width: 60%;
  height: 60%;
  z-index: var(--z-under);
  border: var(--border-hairline) solid var(--color-brand-line);
}

@media (width < 60rem) {
  .split-editorial {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ *
 * The values — three statements on a gold rule, and nothing else.
 * ------------------------------------------------------------------ */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16.25rem, 100%), 1fr));
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.value {
  border-top: var(--border-hairline) solid var(--color-brand-line);
}

.value p {
  margin: 0;
  color: var(--color-muted);
}

.section--accent .value p,
.section--dark .value p {
  color: var(--text-cool-soft);
}

/* ------------------------------------------------------------------ *
 * The team.
 *
 * A portrait is 3:3.6, slightly desaturated at rest and full on hover, with a
 * gold frame drawing itself inward. The frame is what makes a grid of
 * headshots read as a considered page rather than as a staff directory, and
 * it costs one pseudo-element.
 * ------------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15.625rem, 100%), 1fr));
  gap: var(--space-grid);
  margin: 0;
  padding: 0;
  list-style: none;
}

.member {
  text-align: center;
}

.member__photo {
  position: relative;
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
  background-color: var(--coal);
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform var(--motion-image) var(--motion-ease),
    filter var(--motion-slow) var(--motion-ease);
}

.member:hover .member__photo img {
  filter: saturate(1);
}

/* The frame that draws itself inward. `inset` is animatable in every engine
 * this project targets; the border colour carries the fade so that nothing
 * is drawn at all at rest. */
.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: var(--border-hairline) solid transparent;
  transition: border-color var(--motion-slow) var(--motion-ease),
    inset var(--motion-slow) var(--motion-ease);
}

.member:hover .member__photo::after {
  border-color: var(--color-brand-line);
}

@media (prefers-reduced-motion: no-preference) {
  .member:hover .member__photo img { transform: scale(var(--zoom-image)); }

  .member:hover .member__photo::after { inset: var(--space-2); }
}

/* Somebody who joined before the photographer came. */
.member__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: var(--text-4xl);
  color: var(--color-brand-soft);
}

.member__role {
  margin: var(--space-2) 0 0;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--color-brand);
}

.member__role-line {
  display: block;
  line-height: 1.8;
}

/* ------------------------------------------------------------------ *
 * The closing band — a photograph under a heavy wash with one sentence and
 * one button on it.
 * ------------------------------------------------------------------ */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background-color: var(--color-band);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-under);
  background-color: var(--color-scrim);
}

.cta-band .hero__bg img {
  animation: none;
  transform: none;
}

.cta-band__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-section) var(--space-gutter);
}

.cta-band h2 {
  max-width: 47.5rem;
  color: var(--color-on-accent);
}

.cta-band p {
  max-width: 35rem;
  margin: 0 auto var(--space-10);
  color: var(--ivory);
}

.cta-band p.mb-0 {
  margin-bottom: 0;
}

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

.site-footer__logo {
  height: 9.375rem;
  width: auto;
}

.site-footer address {
  font-style: normal;
  font-size: 0.9rem;
}

/* The page behind an open lightbox does not scroll. On the body rather than
 * on `html`, because iOS keeps scrolling the root even when it is told not
 * to, and the class is removed again when the dialogue closes. */
.has-modal {
  overflow: hidden;
}

/* The arrow inside a button, decided once (design pass of 2026-11-06): on
 * a black, outlined or ivory button that leads on to another page, list or
 * step of a form,
 * never on a gold fill (a main action, which needs no pointer to be seen),
 * never on a button that sends a form or opens something in place, and
 * never on a way back, which it would point forward.
 *
 * The arrow inside a button, which moves on hover. A span rather than a
 * pseudo-element so that a button without one is unaffected, and `aria-hidden`
 * in the markup so it is never read out — an arrow is not a word. */
.btn__arrow {
  display: inline-block;
  margin-left: var(--space-3);
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  transition: transform var(--motion-base) var(--motion-ease);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover .btn__arrow { transform: translateX(var(--nudge)); }
}

/* ------------------------------------------------------------------ *
 * The outlined button on a photograph.
 *
 * Public only — it exists for the second action of a hero, where a filled
 * button beside the gold one would make neither of them the main action. The
 * ivory edge at 55 per cent is the company's own value; on hover it fills and
 * inverts.
 * ------------------------------------------------------------------ */

.btn-ivory {
  background-color: transparent;
  border-color: var(--color-brand-line);
}

.btn-ivory:hover,
.btn-ivory:focus-visible {
  color: var(--color-on-brand);
  background-color: var(--ivory);
  border-color: var(--ivory);
}

/* ------------------------------------------------------------------ *
 * Corrections measured in the browser rather than reasoned about.
 * Every one of these was a finding of the design matrix — every public page
 * at 360, 768 and 1440 in both themes — and every one is named with what it
 * measured before.
 * ------------------------------------------------------------------ */

/* The handle collapsed to 18 px because it is a flex child in a row that runs
 * out of space before it. WCAG 2.5.8 asks 24 by 24 of a control, and this one
 * is the only way into the navigation on a telephone. */
.site-nav__toggle {
  flex: none;
}

/* ------------------------------------------------------------------ *
 * Anything on a dark ground.
 *
 * The three dark blocks — the closing band, an accent section, the newsletter
 * — carry forms and prose that `custom.css` styles for a light ground. On the
 * guide that showed as `--color-heading` on `--black`: a consent label at
 * 1.00:1, its field label at 3.65:1 and the link to the privacy policy at
 * 3.85:1.
 *
 * One rule for all three rather than three, because the next dark block
 * would otherwise arrive with the same defect.
 * ------------------------------------------------------------------ */

/* The black main button would vanish on these; it turns light here. The
 * closing band was missing from the list, and its "Zum Kontaktformular" was
 * a black button on the black band in the light theme. */
.newsletter,
.panel--accent,
.aside-card--accent,
.cta-band,
.hero,
.section--accent,
.section--dark {
  --color-primary-fill: var(--ivory);
  --color-on-primary: var(--black);
}

.newsletter,
.section--accent,
.section--dark,
.cta-band {
  --color-heading: var(--text-cool);
  --color-text: var(--text-cool);
  --color-muted: var(--text-cool-soft);
  --color-on-tint: var(--text-cool-soft);
  --color-link: var(--gold-soft);
  --color-link-hover: var(--text-cool);
  --color-danger: var(--red-lifted);
  --color-focus: var(--gold);
  --color-border-control: var(--grey-control-dark);
  --color-hairline: var(--grey-line-dark);
  /* A field on a dark ground keeps a light face: a form the reader types into
   * is the one place the page hands the pen over, and an inverted input is
   * markedly harder to read a long address in. */
  --color-surface: var(--white);
}

/* ------------------------------------------------------------------ *
 * The row list at 360 px.
 *
 * Measured: the country and the state ran to 398 px of a 360 px view. The
 * two-column fold placed a nine-word country beside a state that may not
 * wrap, and neither could give way. At this width the row becomes a stack:
 * the state moves under the name and both may wrap.
 * ------------------------------------------------------------------ */

@media (width < 30rem) {
  .row-list__row {
    gap: var(--space-2);
  }

  .row-list__state {
    white-space: normal;
  }
}

/* ------------------------------------------------------------------ *
 * A link that stands on its own line is a target, not a word in a sentence,
 * so WCAG 2.5.8's inline exception does not cover it. Measured at 19 and 22
 * pixels of height on three pages.
 *
 * `inline-block` with vertical padding rather than a `min-height`: a height
 * on an inline element does nothing, and the padding grows the hit area
 * without moving the text off its own baseline.
 * ------------------------------------------------------------------ */

/* Not in running text: `:only-child` does not count words, so a link in the
 * middle of a sentence took a line of its own and left the full stop alone. */
:where(.site-main p:not(.prose p) > a:only-child),
.auth-card__foot a,
.site-footer__legal a {
  display: inline-block;
  padding-block: var(--space-1);
}

/* The breadcrumb. Measured at 49 by 19 pixels: a row of targets rather than
 * a sentence, so WCAG 2.5.8's inline exception does not reach it. The padding
 * grows the hit area to 27 px without moving anything, because the row was
 * already taller than its text. */
.breadcrumb-item a {
  display: inline-block;
}

/* The locality sketch of a property page (E-02). Drawn in the document
 * rather than fetched: the technical measures this office publishes rule out
 * a third-party map service, so what a tile would have shown is a scale bar,
 * a north arrow and the released area. `landing_pages/maps.py` carries the
 * reasoning. */
.locality {
  margin: 0;
}

.locality__plan {
  display: block;
  width: 100%;
  max-width: 26rem;
  height: auto;
}

/* Small on a tablet and a telephone too: across the column it was a 750 px
 * square for a ring and a dot, the largest picture of the page (E-167). From
 * the edge the text above it starts on, as on a desk: centred, it stood
 * under a left-aligned text (sixth design pass). */
@media (width < 62rem) {
  .locality__plan { max-width: 18rem; }
}

.locality__ground {
  fill: var(--color-surface-tinted);
  stroke: var(--gold-line-soft);
  stroke-width: 1;
}

/* A ring and not a disc. What the drawing says is "somewhere inside this",
 * and a filled shape reads as the outline of a thing. */
.locality__area {
  fill: var(--gold-wash);
  stroke: var(--gold-edge);
  stroke-width: 2;
}

.locality__pin {
  fill: var(--gold-ink);
}

.locality__north line,
.locality__scale line {
  stroke: var(--color-text);
  stroke-width: 2;
}

.locality__north polygon {
  fill: var(--color-text);
}

.locality__north text,
.locality__scale text {
  fill: var(--color-text);
  font-size: 14px;
}

.locality__caption {
  margin-block-start: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.contact-person__name {
  margin-block: var(--space-2);
  font-weight: var(--font-weight-medium);
}

/* The language switch of a property page (E-02). A row of codes rather than
 * flag icons: a flag is a country and not a language, and „EN" over a Union
 * Jack is wrong for every reader outside Britain. */
.page-languages__list {
  display: flex;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
}

.page-languages__list [aria-current="true"] {
  color: var(--color-muted);
}

/* E-08: one step of an enquiry form in steps. Without the script every step
 * stands open below the last, which is why a step carries no box of its own. */
.form-step { border: 0; padding: 0; margin: 0 0 var(--space-6); min-width: 0; }
.form-step__legend { font-weight: var(--font-weight-medium); margin-bottom: var(--space-3); }
.form-step__nav { display: flex; gap: var(--space-2); justify-content: space-between;
                  margin-top: var(--space-4); }
.form-step[hidden], .form-step__nav[hidden], .form-actions[hidden] { display: none; }

/* E-141: the two sizes the office may give words of a property text. Relative
 * to the paragraph they stand in, so a larger word in a lead stays in step
 * with the lead. */
.size-large { font-size: 1.25em; line-height: 1.35; }
.size-xlarge { font-size: 1.5em; line-height: 1.3; }

/* The office's preview of a property page (2026-10-19): a band at the foot of
 * the window, where it covers neither the page's own head nor its hero, and
 * stays in sight while the page is read. */
.preview-note {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-bar);
  margin: 0;
  background-color: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-heading);
  box-shadow: 0 -2px 12px var(--shadow-tint-overlay-near);
}
/* The room the band needs at the end of the page is taken in the footer, on
 * its black: on the body it left a 96 px strip of paper under the footer
 * (E-167). The band is 54 px on a desk, 74 on a tablet, 94 on a telephone. */
body:has(.preview-note) .site-footer { padding-bottom: 6rem; }

@media (width < 30rem) {
  body:has(.preview-note) .site-footer { padding-bottom: 8rem; }
}

/* ------------------------------------------------------------------ *
 * The status pages: not found, no access, too many requests, a fault,
 * maintenance.
 *
 * One composition for all six since the design pass of 2026-10-27: centred
 * in the space the header and the footer leave, under the gold eyebrow every
 * other public page carries. They opened with a red pill, which is the
 * signal for "sold" and for an error in a field, and the two that stand
 * without a header were a bare column at the top left of an empty page.
 * The column is a centred box of a few short lines, like the closing band,
 * and so keeps a width of its own.
 * ------------------------------------------------------------------ */

.status-page {
  display: grid;
  align-content: center;
  min-height: min(72vh, 46rem);
}

.status-page .section__inner {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.status-page .section-label { justify-content: center; }

.status-page .lead { margin-inline: auto; }

.status-page p { hyphens: manual; }

.status-page__mark {
  display: block;
  width: auto;
  height: var(--space-12);
  margin: 0 auto var(--space-10);
}

main.status-page { min-height: 100vh; }

/* A heading in an article breaks between words on a wide screen; balanced
 * and hyphenated at once it broke "Grundstück-gewinnsteuer" where a word
 * break would have done (design pass of 2026-10-27). */
@media (width >= 62rem) {
  .article :is(h2, h3),
  .longform__body :is(h2, h3) { hyphens: manual; }
}

/* On a telephone the closing band and a form card give the content the
 * room their padding took: the gutter, the band's 9 vw and the card's own
 * 32 px left a field 285 px wide (design pass of 2026-10-27). */
@media (width < 35rem) {
  .cta-band__inner { padding-block: var(--space-16); }
  .site .form-panel { padding: var(--space-5) var(--space-4); }
}

/* ------------------------------------------------------------------ *
 * Design pass of 2026-10-28 (E-157), public part.
 * ------------------------------------------------------------------ */

/* Headings break between words before they hyphenate, and running text
 * hyphenates only words long enough to bear it: at 390 px an article broke
 * "Grundstückge-winnsteuer" in a heading and every second line of its text. */
.site .prose { hyphenate-limit-chars: 12 5 5; }

/* The locations list on a tablet: the state on the line of the name rather
 * than alone under the description. */
@media (width >= 30rem) and (width < 53.75rem) {
  .row-list__name { grid-row: 2; grid-column: 1; }

  .row-list__state { grid-row: 2; grid-column: 2; align-self: center; }
}

/* The team four to a row from 62 rem (eight people were three, three and
 * two at 1024 px), two to a row on a telephone (eight portraits one under
 * the other were 2600 px). The values three to a row from 48 rem. */
@media (width >= 62rem) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* A role is one or two long words in tracked capitals; in a column of four
 * or two it broke "INTERNATIONALISIERUN-G" wherever the line ended. It
 * hyphenates by the language now, a step tighter below 75 rem. */
.member__role {
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

@media (width < 35rem) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8) var(--space-4);
  }

  .member h3 { font-size: var(--text-lg); }
}

@media (width >= 48rem) {
  .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* A category name of five words broke inside its pill on a card at 390 and
 * 820 px. Tracked a step tighter on a narrow screen, and it may take two
 * lines rather than be cut: the cards of a row keep one level all the same,
 * through the rows above. */
.article-card__meta .pill {
  display: inline-block;
  max-width: 100%;
}

@media (width < 62rem) {
  .article-card__meta .pill { letter-spacing: var(--tracking-button-app); }
}

/* A note inside a legal document at the size of the document: at the
 * caption step it was 13 px beside 16.6 px running text. */
.site .longform .notice {
  font-size: var(--text-base);
  line-height: var(--text-base-line);
}

/* The filter chips in one row that scrolls sideways on a telephone and a
 * tablet: six places in three rows of chips stood before the first property
 * at 390 px, and one alone on a second row at 820. The list scrolls and the
 * count stands on a line of its own under it: kept in sight at the strip's
 * end, it lay over the chips ("BERL 5 Objekte G", E-160), and the query
 * stopped at 40 rem while the comment promised a tablet. */
@media (width < 47.5rem) {
  .filter-row > ul {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--space-gutter));
    padding: var(--space-1) var(--space-gutter);
    scroll-padding-inline: var(--space-gutter);
  }

  .filter-row > ul::-webkit-scrollbar { display: none; }

  .filter-row > ul > li { flex: none; }

  .filter-row__chip {
    flex: none;
    white-space: nowrap;
  }

  .filter-row__spacer { display: none; }

  .filter-row__count { flex-basis: 100%; }
}

/* The path on a telephone: the step back, on one line, rather than four
 * lines with a separator alone at the start of one. */
@media (width < 47.5rem) {
  .site .breadcrumb { flex-wrap: nowrap; }

  .site .breadcrumb-item { display: none; }

  .site .breadcrumb-item:nth-last-child(2) {
    display: flex;
    align-items: baseline;
    min-width: 0;
    padding-left: 0;
  }

  .site .breadcrumb-item:nth-last-child(2)::before {
    content: "\2039";
    float: none;
    padding-right: var(--space-2);
    color: var(--color-muted);
  }

  .site .breadcrumb-item:nth-last-child(2) a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* The contents of a long document first on a tablet and a telephone. In the
 * markup the rail follows the text, so below 62 rem the list of 23 sections
 * stood after the last of them. The rail lets its cards into the page's own
 * grid there, and the contents take the place before the text, in a box of
 * their own height. */
@media (width < 62rem) {
  .longform__aside,
  .article__aside { display: contents; }

  .longform__aside > .toc,
  .article__aside > .toc { order: -1; }

  .article__head,
  .longform__head { order: -2; }

}

/* The sign-in pages: a state over a heading stands on a line of its own at
 * its start, as the heading does. Inline, it shared the word mark's line and
 * stood beside it, in the middle of the column. */
.auth-card .section-label {
  display: flex;
  width: fit-content;
}

/* The enquiry bar of a property or flat on a telephone and a tablet in
 * portrait (`data-enquiry-bar`, shown by `app.js` with `is-shown` between
 * the price card and the form). Black, on a gold hairline, the two ways on
 * side by side. */
.enquiry-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--z-bar);
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-gutter)
    calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background-color: var(--black);
  border-top: var(--border-hairline) solid var(--color-brand-line);
  --color-primary-fill: var(--ivory);
  --color-on-primary: var(--black);
  transform: translateY(100%);
  visibility: hidden;
}

.enquiry-bar.is-shown {
  transform: none;
  visibility: visible;
}

@media (prefers-reduced-motion: no-preference) {
  .enquiry-bar {
    transition: transform var(--motion-slow) var(--motion-ease),
      visibility 0s linear var(--motion-slow);
  }

  .enquiry-bar.is-shown {
    transition: transform var(--motion-slow) var(--motion-ease),
      visibility 0s linear 0s;
  }
}

.enquiry-bar .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

@media (width >= 60rem) {
  .enquiry-bar { display: none; }
}

/* A token in a table cell is one word: "--tracking-nav" broke after its two
 * hyphens on the style guide at 390 px. */
.site td code { white-space: nowrap; }

/* Between a telephone and a desk the enquiry form keeps the whole width and
 * the two cards beside it go under it: in two equal halves the form stood
 * one field to a line in 365 px. */
@media (width >= 48rem) and (width < 62rem) {
  .split.split--wide { grid-template-columns: minmax(0, 1fr); }
}

/* The enquiry bar steps aside while the gallery or the menu lies over the
 * page. */
html:has(.lightbox.is-open) .enquiry-bar,
html:has(#site-nav[data-open="true"]) .enquiry-bar {
  visibility: hidden;
}

/* The preview of a property page is for the office: its note stands where
 * the enquiry bar would, and the bar has nothing to send there. */
body:has(.preview-note) .enquiry-bar { display: none; }

/* ================================================================== *
 * The third design pass, symmetry and finish (E-160, 2026-10-30).
 *
 * Gathered here rather than spread through the file, so that the pass can
 * be read as one change; each block names the finding it answers.
 * ================================================================== */

/* A form and the rail beside it: the rail's cards in one column with one
 * gap. Stretching the shorter side to the longer was tried and taken back
 * (E-160): it left 250 to 300 px of empty form or of black card. */

.site .form-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.site .form-rail > * { margin: 0; }

/* Stacked on a telephone, the person to ask stands first in the rail. */
@media (width < 62rem) {
  .site .form-rail > .contact-person { order: -1; }
}

.contact-person__action { margin: var(--space-4) 0 0; }

/* The contact form: "Objekt" with its two-line hint across the row, so that
 * budget and time stand as a pair rather than "Zeithorizont" alone in half a
 * row; and the two buyer's fields only once "Kauf" is chosen. Where `:has()`
 * is not understood every field stays, as before. Scoped to the form that
 * has a budget, which is the contact page's: the sell and valuation forms
 * drop that field and keep their pairs. */
.site .form-grid:has(> .field > [name="budget_range"]) > .field:has(> [name="property_interest"]) {
  grid-column: 1 / -1;
}

.site .form-grid:has(> .field > [name="budget_range"]):not(:has(select[name="subject"] option[value="buying"]:checked))
  > .field:has(> :is([name="budget_range"], [name="time_horizon"])) {
  display: none;
}

/* The sticky contents of an article or a legal text never taller than the
 * window: 15 and 23 entries ran 900 to 1100 px in a window of 768 to 900,
 * and the last ones were out of reach while reading. */
@media (width >= 62rem) {
  .article__aside .toc,
  .longform__aside > .toc {
    max-height: calc(100svh - var(--header-height) - var(--space-10));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

/* The article's contents as a fold (`includes/toc.html`). Open on a desk,
 * where its summary is the label it always was, without the chevron every
 * summary carries (custom.css); folded by `app.js` on a telephone, where the
 * summary says how many sections it holds and the chevron says it opens. */
.toc__fold > summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  list-style: none;
}

.toc__count { display: none; }

@media (width >= 47.5rem) {
  .toc__fold > summary { pointer-events: none; }

  details.toc__fold > summary:not(.btn)::after,
  details.toc__fold[open] > summary:not(.btn)::after { content: none; }
}

@media (width < 47.5rem) {
  .toc__fold > summary { cursor: pointer; }

  details.toc__fold > summary:not(.btn)::after { margin-left: auto; }

  .toc__count {
    display: inline;
    letter-spacing: var(--tracking-tight);
    text-transform: none;
    color: var(--color-muted);
  }
}

/* The fact bar on one grid (`landing_pages/_factbar.html`). As a flexible
 * row the columns of its three or four lines did not align and a value of
 * four lines in the large serif stood beside "1910". A description takes two
 * columns in the face of the text; the grid fills a hole a long one leaves
 * with the next short one. */
.factbar__inner {
  display: grid;
  grid-auto-flow: row dense;
}

.factbar__inner > * { min-width: 0; }

/* A free flat whose price is withheld: its state in gold, beside the red of
 * reserved and sold (`landing_pages/detail.html`). */
.unit-list__state--free { color: var(--color-brand-ink); }

/* The gallery below 62 rem: the first nine on the page, the rest behind
 * "Alle n Bilder ansehen" (`landing_pages/_gallery.html`). */
.gallery__more {
  display: none;
  margin: var(--space-6) 0 0;
}

@media (width < 62rem) {
  .gallery > .gallery__extra { display: none; }

  .gallery__more { display: block; }
}

/* Rows of cards. Three columns from 60 rem wherever there are three or
 * more cards (at 1024 px `minmax(22.5rem)` made two, and every third card
 * stood alone). A short last row stands from the left, as on the company's
 * site (E-163, E-165). */
@media (width >= 45rem) and (width < 60rem) {
  :is(.property-grid, .article-grid):has(> :nth-child(3)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width >= 60rem) {
  :is(.property-grid, .article-grid):has(> :nth-child(3)) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  :is(.property-grid, .article-grid):has(> :nth-child(3)) > * { grid-column: span 2; }
}

/* The lines inside the cards of a row on one level: place, text, figures
 * and price of a property, rubric, title, excerpt and foot of an article,
 * photograph, name and role of a member of the team. A title of three lines
 * put its neighbours' hairlines 60 px higher. Each card takes its rows from
 * the grid (`subgrid`); a browser without it keeps the cards of before. */
@supports (grid-template-rows: subgrid) {
  .property-grid > li {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .property-grid > li > .property-card {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    row-gap: 0;
    height: auto;
  }

  .property-card__body {
    display: grid;
    grid-row: 2 / -1;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .article-grid > .article-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
    height: auto;
  }

  .article-card__body {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .article-card__foot { align-self: end; }

  .team-grid > .member {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

/* A filtered card is hidden; as a grid it would have stayed. */
.property-grid > li[hidden] { display: none; }

.article-card__pillar { color: var(--color-brand-ink); }

/* The three principles three to a row from a tablet on: at 1024 and 820 px
 * the third stood alone under two. */
@media (width >= 48rem) {
  .brand-panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (width >= 48rem) and (width < 62rem) {
  .site .brand-panel { padding: var(--space-8) var(--space-6); }
}

/* The empty question page: the empty state under the heading it belongs to. */
.faq-empty { margin-top: var(--space-10); }

/* The guide's search: the field and its button on one line. */
.search-panel__row {
  display: flex;
  gap: var(--space-3);
}

.search-panel__row .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.search-panel__row .btn { flex: none; }

@media (width < 30rem) {
  .search-panel__row { flex-wrap: wrap; }

  .search-panel__row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* The newsletter: text and form side by side on a desk, the heading at the
 * size of a section's rather than a card's. */
.newsletter__intro .panel__title { font-size: var(--display-sm); }

.newsletter {
  display: grid;
  gap: var(--space-6);
}

@media (width >= 62rem) {
  .newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--space-12);
    align-items: start;
  }
}

/* The ways on in a rail (the guide's "Rubrik", the legal documents): an
 * arrow, as on the flats of a building, so that they read as links rather
 * than as three lines of text. */
.aside-card__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.aside-card__list a::after {
  content: "\2192";
  flex: none;
  font-family: var(--font-family-display);
  color: var(--color-link);
}

.aside-card__list a[aria-current="page"]::after { content: none; }

@media (prefers-reduced-motion: no-preference) {
  .aside-card__list a::after { transition: transform var(--motion-base) var(--motion-ease); }

  .aside-card__list a:hover::after { transform: translateX(var(--nudge)); }
}

/* The legal links under a sign-in form: gaps rather than dots, as in the
 * site's footer. A dot drawn before an entry opened the second line with
 * "· Barrierefreiheit" on a telephone (design pass of 2026-11-06). */
.auth-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The imprint's four registry figures in two columns of two, as rows of one
 * grid: in newspaper columns the label of two lines ("Unternehmens-
 * Identifikationsnummer (UID)") set its column's values 16 px lower than the
 * other's. The labels stand on the foot of their row, on their value (E-167). */
.site .pairs--wide.pairs--two {
  display: grid;
  grid-template-rows: repeat(4, auto);
  grid-template-columns: none;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  column-gap: var(--space-8);
  column-count: auto;
  column-width: auto;
}

.site .pairs--wide.pairs--two dt { align-self: end; }

@media (width < 35rem) {
  .site .pairs--wide.pairs--two { display: block; }
}

/* The locations: the states one width, centred, and on a telephone no
 * taller than a badge, where at 43 px they read as buttons. */
@media (width >= 53.75rem) {
  .row-list__state {
    justify-self: stretch;
    text-align: center;
  }
}

@media (width < 53.75rem) {
  .row-list__state {
    line-height: 1.3;
  }
}

.row-list__kind { line-height: 1.6; }

/* The team: a name balanced over its lines, a role on a telephone a step
 * tighter, so that it breaks between its words rather than inside them. */
.member h3 { text-wrap: balance; }

/* The hero on a telephone: the eyebrow a step less tracked, so that the
 * company's name keeps its line, and its two buttons of one height. */
.hero__actions .btn { min-height: 2.75rem; }

@media (width < 22.5rem) {
  .hero__mark { letter-spacing: var(--tracking-eyebrow); }
}

/* No word alone on the last line of a card text or of the office's own long titles.
 * The fixed headings break where the company's site breaks them. */
.site :is(h2, h3, .page-hero__meta, .detail-hero h1, .page-hero h1, .detail-title) { text-wrap: balance; }

.site :is(p, li) { text-wrap: pretty; }

/* An amount in a table of two columns stands at the right of its cell and
 * on one line: on a telephone "CHF" and "1'250'000.00" took two. `app.js` marks
 * the tables whose last column holds amounts: on a table of sentences the same
 * rule ran the text out of the column (E-165). */
:is(.article .prose, .longform__body) table.table--amounts :is(th, td):last-child:not(:first-child) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

/* The drawer of a telephone and a tablet: opaque, so that the page's gold
 * button no longer shows through it, and with its own way on under the
 * entries. */
.site-nav__next { display: none; }

@media (width < 60rem) {
  .site-nav { background-color: var(--black); }

  .site-nav__next {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: var(--border-hairline) solid var(--color-brand-line);
  }

  .site-nav .site-nav__next a {
    font-family: var(--font-family-base);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--tracking-button);
    text-transform: uppercase;
    color: var(--color-on-accent);
  }

  .site-nav .site-nav__phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
  }

  .site-nav .site-nav__next .btn-ivory:hover,
  .site-nav .site-nav__next .btn-ivory:focus-visible {
    color: var(--color-on-brand);
  }
}

/* A picture of the gallery fades in once it has loaded, rather than standing
 * as a black tile and then appearing at once. `app.js` sets `gallery--fade`
 * on the list and `is-loaded` on each picture (E-160, requested of the lead);
 * without the script nothing here applies. */
@media (prefers-reduced-motion: no-preference) {
  .gallery--fade img {
    opacity: 0;
    transition: opacity var(--motion-slow) var(--motion-ease),
      transform var(--motion-image) var(--motion-ease);
  }

  .gallery--fade img.is-loaded { opacity: 1; }
}

/* A flat's number and its building's reference, on one line where they fit
 * and on two where not, each whole (`landing_pages/unit.html`, `_disclosed`).
 * Each part carries its "·" in front, and the pair is pulled one separator
 * to the left and clipped there: the dot of whichever part opens a line falls
 * into the clipped strip, so no line begins or ends with a dot. A bare gap
 * read "THURGAU  OBJEKT" as one phrase (E-167). */
.ref-pair {
  /* The width of " · " as text at the eyebrow's tracking, so that the dot
   * between the parts stands as far off as the one inside "Altnau · Thurgau". */
  --ref-gap: 2.17em;
  display: inline-flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--ref-gap));
  clip-path: inset(0 0 0 var(--ref-gap));
}

/* The dot in a strip of its own before each part, so that a part which
 * wraps on a telephone keeps its second line beside the strip rather than
 * under the clipped dot. */
.ref-pair > * {
  position: relative;
  padding-left: var(--ref-gap);
  white-space: nowrap;
}

.ref-pair > *::before {
  content: "·";
  content: "·" / "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ref-gap);
  text-align: center;
}

.section-label > .ref-pair { flex: 1 1 0; min-width: 0; }

/* On a telephone the place may break: "Appenzell · Appenzell Innerrhoden" on one
 * line took the page 70 px past the edge (E-165). */
@media (width < 43.75rem) {
  .ref-pair > * { white-space: normal; }

  /* The rule over the words rather than beside them: beside it, rubric and
   * "Leitbeitrag" were squeezed into three lines, each part alone and so
   * without its dot (E-167). */
  .section-label > .ref-pair { flex-basis: 100%; }
}

/* ================================================================== *
 * The company's own site, section by section (E-161, 2026-10-31).
 *
 * Gathered here so that the change can be read as one. The class names of
 * this file stay; what follows brings the header, the grounds, the cards and
 * the sections the company's site has and this file did not.
 * ================================================================== */

/* The grounds. White holds objects, ink and black speak for the company, and
 * both dark ones take over what `.section--dark` sets further up. */
.section--white { background-color: var(--white); }

.section--ink {
  background-color: var(--ink);
  color: var(--text-cool-soft);
  --color-primary-fill: var(--ivory);
  --color-on-primary: var(--black);
  --color-heading: var(--text-cool);
  --color-text: var(--text-cool);
  --color-muted: var(--text-cool-soft);
  --color-link: var(--gold-soft);
  --color-hairline: var(--grey-line-dark);
}

.section--ink :is(h2, h3) { color: var(--color-on-accent); }

.section--ink p { color: var(--text-cool-soft); }

/* A card on a dark ground stays a white card with dark words. */
.section--dark .property-card {
  --color-heading: var(--black);
  --color-text: var(--text-warm);
  --color-muted: var(--text-warm-soft);
  --color-hairline: var(--grey-line-light);
}

.section--dark .property-card p { color: var(--color-muted); }

.section--dark .property-card .property-card__place { color: var(--color-brand-ink); }

.section--dark .property-card .property-card__price { color: var(--color-heading); }

.section__action {
  margin: var(--space-section-sm) 0 0;
  text-align: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* The two buttons of the company that the working area does not have: the
 * gold outline, and the gold fill of a band. `.btn-action` stays the one main
 * action a page counts (tests/test_smoke.py); the fill of the bands is a
 * second class so that the count keeps meaning that. */
.btn-gold {
  color: var(--gold);
  background-color: transparent;
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  color: var(--black);
  background-color: var(--gold);
  border-color: var(--gold);
}

.btn-gold--ink { color: var(--black); }

.btn-goldfill {
  color: var(--black);
  background-color: var(--gold);
  border-color: var(--gold);
}

.btn-goldfill:hover,
.btn-goldfill:focus-visible {
  color: var(--gold);
  background-color: transparent;
  border-color: var(--gold);
}

/* The company's text link: capitals on a gold rule. */
.textlink {
  display: inline-block;
  font-size: var(--text-button);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-button);
  text-decoration: none;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: var(--border-hairline) solid var(--gold);
  transition: color var(--motion-base) var(--motion-ease);
}

.textlink:hover { color: var(--color-brand-ink); }

.textlink--gold { color: var(--gold-soft); }

.textlink--gold:hover { color: var(--ivory); }

/* The header: the entries, a gold way to ask and two small menus. */
.site-header__action {
  flex: none;
  min-height: 0;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
}

@media (width >= 60rem) {
  .site-header__inner { gap: var(--space-8); }

  .site-nav ul { gap: var(--space-6); }

  .site-nav__group { position: relative; }

  .site-nav .site-nav__menu {
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    min-width: 13.75rem;
    padding: var(--space-2) 0;
    background-color: var(--white);
    border: var(--border-hairline) solid var(--color-brand-line);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
  }

  .site-nav__group:hover .site-nav__menu,
  .site-nav__group:focus-within .site-nav__menu {
    opacity: 1;
    visibility: visible;
  }

  @media (prefers-reduced-motion: no-preference) {
    .site-nav .site-nav__menu {
      transform: translateX(-50%) translateY(var(--nudge));
      transition: opacity var(--motion-base) var(--motion-ease),
        transform var(--motion-base) var(--motion-ease),
        visibility 0s linear var(--motion-base);
    }

    .site-nav__group:hover .site-nav__menu,
    .site-nav__group:focus-within .site-nav__menu {
      transform: translateX(-50%);
      transition: opacity var(--motion-base) var(--motion-ease),
        transform var(--motion-base) var(--motion-ease),
        visibility 0s linear 0s;
    }
  }

  .site-nav .site-nav__menu a {
    padding: var(--space-3) var(--space-5);
    color: var(--black);
    letter-spacing: var(--tracking-label);
  }

  .site-nav .site-nav__menu a::after { display: none; }

  .site-nav .site-nav__menu a:hover,
  .site-nav .site-nav__menu a:focus-visible { background-color: var(--gold-wash); }
}

/* Between the tablet and the laptop the bar has not the room for all of it:
 * the entries move closer, and below 75 rem the button gives way, the page
 * "Kontakt" being one entry to the left of it. Measured at 961 and 1024 px,
 * where it ran 234 and 174 px past the edge of the bar. */
@media (width >= 60rem) and (width < 87.5rem) {
  .site-header__inner { gap: var(--space-4); }

  .site-nav ul { gap: var(--space-4); }

  .site-nav a { letter-spacing: var(--tracking-label); }

  /* Its padding at this width stands with the bar's own padding at the end
   * of the file, where it wins (sixth design pass). */
  .site-header__action { letter-spacing: var(--tracking-label); }
}

@media (width >= 60rem) and (width < 75rem) {
  .site-header__action { display: none; }

  .site-nav ul { gap: var(--space-3); }

  .site-nav a { letter-spacing: 0.1em; }

  .wordmark__logo { max-width: 11rem; height: auto; }
}

@media (width < 60rem) {
  .site-header__action { display: none; }

  /* The drawer names the pages and the collections, and no sub-entry that
   * leads to the same page as the entry above it. */
  .site-nav .site-nav__menu { display: contents; }

  .site-nav .site-nav__menu > li:not(.site-nav__region) { display: none; }

  .site-nav .site-nav__group { display: contents; }

  .site-nav .site-nav__mail { letter-spacing: 0.08em; text-transform: none; }
}

/* The cards: the company's own. A figure line and the price with the
 * reference beside it on the floor of the card. */
.property-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(min(26.25rem, 100%), 1fr));
}

.property-card { border: none; }

.property-card__teaser {
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
}

.property-card__teaser:empty { display: none; }

.property-card__facts {
  letter-spacing: 0.04em;
}

.property-card__fact strong {
  font-weight: var(--font-weight-medium);
  color: var(--color-heading);
}

.property-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: auto;
  align-self: end;
}

.property-card__price { margin: 0; }

.property-card__ref {
  flex: none;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
}

.badge-photo--gold {
  color: var(--black);
  background-color: var(--gold);
  border-color: var(--gold);
}

/* The picture buttons of a card and of a property's hero. */
.slide-btn {
  position: absolute;
  top: 50%;
  z-index: var(--z-overlay-ui);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0 0 3px;
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--ivory);
  background-color: var(--scrim);
  border: var(--border-hairline) solid var(--color-brand-line);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background-color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    opacity var(--motion-base) var(--motion-ease);
}

.slide-btn[hidden],
.slide-count[hidden] { display: none; }

.slide-btn:hover {
  color: var(--gold-soft);
  background-color: var(--scrim-deep);
  border-color: var(--gold);
}

.slide-btn--prev { left: var(--space-3); }

.slide-btn--next { right: var(--space-3); }

.slide-count {
  position: absolute;
  z-index: var(--z-overlay-ui);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.18em;
  color: var(--ivory);
  background-color: var(--scrim);
}

@media (hover: hover) {
  .property-card__figure .slide-btn { opacity: 0; }

  .property-card:hover .property-card__figure .slide-btn,
  .property-card__figure .slide-btn:focus-visible { opacity: 1; }
}

.detail-hero { min-height: 74vh; }

.detail-hero .slide-btn { width: 3.25rem; height: 3.25rem; }

.detail-hero .slide-btn--prev { left: clamp(0.9rem, 2.5vw, 2.2rem); }

.detail-hero .slide-btn--next { right: clamp(0.9rem, 2.5vw, 2.2rem); }

.detail-hero .slide-count { right: clamp(0.9rem, 2.5vw, 2.2rem); bottom: var(--space-4); }

@media (width < 43.75rem) {
  .detail-hero { min-height: 58svh; }

  .detail-hero .slide-btn { width: 2.75rem; height: 2.75rem; }
}

/* The heading of a sub-page: the quote of "Über uns", the claim of a project. */
.page-hero em {
  font-style: italic;
  color: var(--color-brand-soft);
}

/* The quote is the page's heading and takes the size of the other photograph
 * heads: at 2.9 rem "Über uns" opened a step smaller than every page beside
 * it (E-167). */
.page-hero__quote.page-hero__quote {
  max-width: 62.5rem;
  font-size: var(--display-lg);
  line-height: 1.15;
}

.page-hero__claim {
  margin: var(--space-3) 0 0;
  font-family: var(--font-family-display);
  color: var(--color-brand-soft);
}

.project-hero { align-items: flex-start; }

/* The opening events. */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(27.5rem, 100%), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card {
  border: var(--border-hairline) solid var(--color-brand-line);
  transition: border-color var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease);
}

.event-card:hover {
  border-color: var(--gold);
}

.event-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-image) var(--motion-ease);
}

.event-card__badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-pill);
  text-transform: uppercase;
  color: var(--black);
  background-color: var(--gold);
}

.event-card__date {
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.section--dark .event-card__date { color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .event-card:hover { transform: translateY(calc(-1 * var(--lift))); }

  .event-card:hover .event-card__media img { transform: scale(var(--zoom-image)); }
}

/* The band of three figures. */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: var(--space-10);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-family-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--gold-soft);
}

.stat__note {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-2xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-on-accent-muted);
}

.stat__label {
  display: block;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-cool-soft);
}

/* The picture beside a text, without the offset frame. */
.framed-image--plain::before,
.framed-image--wide::before { height: 80%; }

.framed-image--plain::before { display: none; }

.split-editorial--picture-first { grid-template-columns: 1.1fr 0.9fr; }

.story-em {
  font-family: var(--font-family-display);
  font-size: 1.1em;
}

/* The offices: state and the small line under it. */
.row-list__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  justify-self: end;
}

/* Inside the status column the state is a flex child, and the tablet rule
 * that centres a bare state in its grid cell (`align-self: center`) put it
 * in the middle over a longer note line; it follows the column's end. The row
 * keeps no padding on the right, so the badge ends on the rule (E-167). */
.row-list__status .row-list__state { justify-self: auto; align-self: auto; }

.row-list__row:has(> .row-list__status) { padding-right: 0; }

.row-list__note {
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-soft);
}

a.row-list__note--link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: var(--border-hairline) solid var(--color-brand-line);
}

[data-more-rows] .row-list { border-top: none; }

/* The ten offices on their own page, as large blocks. */
.office-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--border-hairline) solid var(--color-brand-line-soft);
}

/* The three columns are the list's rather than each row's: sized per row, a
 * state with a note under it ("Immobilien · Coming soon") took 110 px more
 * and its description broke earlier than its neighbours' (E-167). */
@media (width >= 47.5rem) {
  .office-list {
    display: grid;
    grid-template-columns: 6.875rem 1fr minmax(0, 12rem);
    column-gap: var(--space-12);
  }

  .office-list > .office-list__item {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
  }
}

.office-list__item {
  display: grid;
  grid-template-columns: 6.875rem 1fr auto;
  gap: var(--space-4) var(--space-12);
  align-items: start;
  padding-block: clamp(2.2rem, 4vw, 3.4rem);
  border-bottom: var(--border-hairline) solid var(--color-brand-line-soft);
}

.office-list__num {
  font-family: var(--font-family-display);
  font-style: italic;
  color: var(--gold);
}

.office-list__item h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.section--dark p.office-list__country {
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-pill);
  text-transform: uppercase;
  color: var(--gold);
}

.office-list__item p:last-child { margin: var(--space-3) 0 0; }

.office-list__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-section-sm);
}

.office-list__foot p { margin: 0; }

/* The international platform as a quiet line under the offices, not as a
 * button: it has no address yet (E-167). */
.office-list__note {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-tight);
  color: var(--text-cool-soft);
}

@media (width < 47.5rem) {
  .office-list__item { grid-template-columns: 1fr; }

  .office-list__item .row-list__status { align-items: flex-start; justify-self: start; }
}

/* The selling points on white cards, and the five steps. */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15.9rem, 100%), 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.usp {
  background-color: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-card);
}

/* Numbering, decided once (design pass of 2026-11-06): what stands side by
 * side (the services, the promises, the offices) carries the Roman numeral
 * in the italic serif, what follows in order (the way to the sale, the steps
 * of a form or a card) the Arabic figure in the upright serif, without a
 * leading zero. "I.", "01" and "1" stood on three neighbouring pages. */
.usp__num {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-style: italic;
  color: var(--color-brand-ink);
}

.usp p { margin: 0; color: var(--color-muted); }

.step-rows { margin: 0; padding: 0; list-style: none; }

.step-row {
  display: grid;
  grid-template-columns: 5.625rem 1fr;
  gap: var(--space-8);
  border-bottom: var(--border-hairline) solid var(--color-hairline);
}

.step-row__num {
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--color-brand-ink);
}

.step-row p { margin: 0; color: var(--color-muted); }

@media (width < 35rem) {
  .step-row { grid-template-columns: 2.5rem 1fr; gap: var(--space-4); }
}

/* The property page: the description in the serif at its head, the side card
 * with the figures and the keywords, the way to the next property. */
.detail-title {
  font-size: var(--display-md);
}

.detail-desc > p:first-child {
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-heading);
}

.sidecard__features {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.sidecard__features li {
  letter-spacing: var(--tracking-button-app);
  text-transform: uppercase;
  color: var(--color-muted);
  border: var(--border-hairline) solid var(--color-hairline);
}

.sidecard__contact {
  margin: var(--space-5) 0 0;
  text-align: center;
  color: var(--color-muted);
}

.sidecard__contact a {
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: var(--border-hairline) solid var(--gold);
}

.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--black);
  border-top: var(--border-hairline) solid var(--color-brand-line-soft);
  border-bottom: var(--border-hairline) solid var(--color-brand-line-soft);
}

.prevnext a {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-10) clamp(1.5rem, 4vw, 3.5rem);
  text-decoration: none;
  transition: background-color var(--motion-base) var(--motion-ease);
}

.prevnext a:hover { background-color: var(--color-brand-wash); }

/* On the page's own column: a percentage here is half the page, so the column's
 * edge is the half less half its width. */
@media (width >= 35rem) {
  .prevnext a:first-child {
    padding-left: max(var(--space-gutter), calc(100% - var(--page-max) / 2 + var(--space-gutter)));
  }

  .prevnext a:last-child {
    padding-right: max(var(--space-gutter), calc(100% - var(--page-max) / 2 + var(--space-gutter)));
  }
}

.prevnext a + a {
  text-align: right;
  border-left: var(--border-hairline) solid var(--color-brand-line-soft);
}

.prevnext__dir {
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-pill);
  text-transform: uppercase;
  color: var(--gold);
}

.prevnext__name {
  font-family: var(--font-family-display);
  color: var(--ivory);
}

@media (width < 35rem) {
  .prevnext { grid-template-columns: 1fr; }

  .prevnext a + a {
    text-align: left;
    border-top: var(--border-hairline) solid var(--color-brand-line-soft);
    border-left: none;
  }
}

/* The sorting beside the chips of a list. */
.sort-select {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  color: var(--color-muted);
}

.sort-select[hidden] { display: none; }

.sort-select select {
  font: inherit;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-heading);
  background-color: transparent;
  border: var(--border-hairline) solid var(--color-border-control);
}

/* The contact page: the company's head on the paper ground and the form in
 * steps, the choices as cards. */
.contact-hero { padding: clamp(8rem, 14vh, 10.5rem) 0 var(--space-2); }

.contact-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: var(--font-weight-light);
}


.contact-form { padding: var(--space-10) 0 clamp(4rem, 8vw, 6.5rem); }

.stepform { max-width: 40rem; }

.stepform .progress-rail__bar { width: 20%; }

.stepform .form-step__legend {
  font-family: var(--font-family-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: var(--font-weight-regular);
  line-height: var(--display-line);
  color: var(--color-heading);
}

.form-step__num {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  color: var(--color-brand-ink);
}

.form-step__hint {
  color: var(--color-muted);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16.25rem, 100%), 1fr));
}

.opt {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background-color: var(--white);
  border: var(--border-hairline) solid var(--color-hairline);
  cursor: pointer;
  transition: border-color var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease),
    background-color var(--motion-base) var(--motion-ease);
}

.opt:hover {
  border-color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .opt:hover { transform: translateY(calc(-0.5 * var(--lift))); }
}

/* The radio stays in the page for the keyboard and a screen reader, under
 * the card that shows it. */
.opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.opt:has(input:focus-visible) {
  outline: var(--border-focus) solid var(--color-focus);
  outline-offset: var(--border-focus-offset);
}

.opt:has(input:checked) {
  color: var(--ivory);
  background-color: var(--black);
  border-color: var(--black);
}

.opt__key {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  font-weight: var(--font-weight-medium);
  border: var(--border-hairline) solid var(--color-border-control);
}

.opt:has(input:checked) .opt__key {
  color: var(--black);
  background-color: var(--gold);
  border-color: var(--gold);
}

.opt__text small {
  display: block;
  margin-top: 2px;
  opacity: 0.7;
}

.btn-back {
  padding: var(--space-3) 0;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  color: var(--color-muted);
  background: none;
  border: none;
}

.btn-back:hover { color: var(--color-heading); }

.form-step__note { align-self: center; font-size: var(--text-xs); color: var(--color-muted); }

.stepform .form-step__nav { align-items: center; margin-top: var(--space-8); }

.contact-ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: var(--space-8);
}

.contact-ways__item {
  color: var(--color-muted);
  border-top: var(--border-hairline) solid var(--color-brand-line);
}

.contact-ways__item h3 {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-brand-ink);
}

.contact-ways__item a {
  display: block;
  width: fit-content;
  margin-bottom: var(--space-2);
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: var(--border-hairline) solid var(--color-brand-line);
}

.contact-ways__item address { font-style: normal; }

.contact-ways__item p { margin-bottom: var(--space-1); }

.contact-ways__note { margin-top: var(--space-8); }

/* The new-build project. */
.picture-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16.25rem, 100%), 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.picture-row img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-card);
}

.project-text { margin-top: var(--space-8); color: var(--color-muted); }

.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(11.875rem, 100%), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-grid li {
  text-align: center;
  text-transform: uppercase;
  color: var(--ivory);
  border: var(--border-hairline) solid var(--color-brand-line-soft);
}

.picture-stack { display: grid; gap: var(--space-3); }

.picture-stack img,
.material-row img {
  display: block;
  width: 100%;
  height: auto;
}

.material-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13.75rem, 100%), 1fr));
  gap: var(--space-4);
  margin: var(--space-section-sm) 0 0;
  padding: 0;
  list-style: none;
}

.material-row span {
  display: block;
  text-transform: uppercase;
  color: var(--gold);
}

.house-block { margin-bottom: clamp(2.6rem, 5vw, 4rem); }

.house-plan {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background-color: var(--white);
  box-shadow: var(--shadow-card);
}

.unit-scroll { overflow-x: auto; }

.unit-table {
  width: 100%;
  min-width: 40rem;
  background-color: var(--white);
  border-collapse: collapse;
  box-shadow: var(--shadow-card);
}

.unit-table th {
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.22em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-brand-ink);
  border-bottom: var(--border-hairline) solid var(--color-brand-line);
}

.unit-table td {
  color: var(--color-text);
  border-bottom: var(--border-hairline) solid var(--color-hairline);
}

.unit-table tbody tr:hover { background-color: var(--gold-wash); }

.unit-table__state {
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.unit-table__state--reserved { color: var(--color-danger); }

.unit-table__link {
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: var(--border-hairline) solid var(--gold);
}

.factbar .factbar__action { align-self: center; justify-self: end; }

/* The footer's offices with their state on a line of its own under the name,
 * for every office alike: after the name it stood beside a short one and
 * under a long one, so the column read in two patterns (E-167). */
.site-footer__state {
  display: block;
  margin-top: 0.15rem;
  /* The house's smallest step and no smaller (design pass of 2026-11-06). */
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-cool-soft);
}

.site-footer__state--on { color: var(--gold); }

.site-footer__international { color: var(--gold-soft); }

.site-footer__legal { align-items: center; }

/* A title on a dark ground stays dark on its white card: `.section--dark h2`
 * outweighs the card's own rule. */
.section--dark .property-card .property-card__title { color: var(--black); }

/* The stacking context the offset frame needs: at `z-index: -1` it went
 * behind the white ground of its section. */
.split-editorial {
  position: relative;
  isolation: isolate;
}

.sidecard dt,
.rail-facts dt { font-weight: var(--font-weight-light); }

/* One or two cards keep the width of a card rather than taking the row, and
 * stand in the middle of it, as the headings above them do. */
.property-grid:not(.property-grid--two):not(:has(> :nth-child(3))) {
  grid-template-columns: repeat(auto-fit, minmax(min(22.5rem, 100%), 26rem));
  justify-content: center;
}

/* A heading of a narrow card breaks between words: "Internatio-nales". */
.usp h3 { hyphens: manual; }

/* The offices on a tablet and a telephone: the state beside the name, and
 * under it where even that has no room. */
@media (width >= 30rem) and (width < 53.75rem) {
  .row-list__status { grid-row: 2; grid-column: 2; align-self: center; }
}

@media (width < 30rem) {
  .row-list__note { white-space: normal; }
}

/* A role on the white ground of the team: the gold that is read, as every
 * gold word on a light ground. */
.section--white .member__role { color: var(--color-brand-ink); }

/* The longest label of a fact bar on the narrowest screen: "Eigentumswohnungen"
 * ran a pixel past its column at 320 px. */
@media (width < 22.5rem) {
  .factbar__label { overflow-wrap: anywhere; }
}

/* ================================================================== *
 * The company's site once more, page by page (E-163, 2026-11-01).
 *
 * Measured against steinmann-realestate.ch on the owner's order: what the
 * last pass left of its cards, its lists and its property pages.
 * ================================================================== */

/* The card: the place on the title, the title on its line, and the figures
 * and the price on the floor of the card, however long the text above them. */
.property-card__place {
  order: 0;
  align-self: end;
}

.property-card__text { min-width: 0; }

.property-card__text .property-card__title { margin: 0; }

/* The figures fill their row of the subgrid and start at its top, so that
 * the hairline over them stands at one height in every card of a row: set
 * on the row's foot, a card whose figures took two lines had its line 28 px
 * higher than its neighbours' (design pass of 2026-11-06). */
.property-card__facts { align-self: stretch; align-content: flex-start; width: 100%; }

/* The property page. The heading over the text at the size of a section's,
 * the parts of the text under a gold rule at the size of a card's. */
.detail-main { min-width: 0; }

.detail-main > .section-label { display: flex; }

.detail-title { margin: var(--space-5) 0 var(--space-8); }

.detail-block {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: var(--border-hairline) solid var(--color-brand-line);
}

.detail-block h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

.detail-block .prose > :last-child { margin-bottom: 0; }

.detail-block .locality { margin-top: var(--space-5); }

.sidecard { border: none; }

/* "Im Detail", on the rows of the side card. */
.detail-more { margin-top: var(--space-section-sm); }

/* In the text's column of a flat's page it follows the heading or the text
 * at the distance of a paragraph rather than of a section (E-167). */
.detail-main > .detail-more { margin-top: var(--space-8); }

.detail-more h2 { margin: var(--space-4) 0 var(--space-8); }

.detail-more__list {
  display: grid;
  /* `auto-fill`: one feature keeps the width of a column rather than a row
   * across the page with the label at one end and the value at the other. */
  grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr));
  column-gap: var(--space-12);
  margin: 0;
  border-top: var(--border-hairline) solid var(--color-brand-line);
}

.detail-more__list > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
  font-size: var(--text-base);
  border-bottom: var(--border-hairline) solid var(--color-hairline);
}

.detail-more__list dt {
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
}

.detail-more__list dd {
  margin: 0;
  text-align: right;
  color: var(--color-heading);
}

/* The plans, whole on white. */
.plan-sheets:not(:first-child) { margin-top: var(--space-section-sm); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  padding: var(--space-3);
  background-color: var(--white);
  border: var(--border-hairline) solid var(--color-hairline);
  transition: border-color var(--motion-base) var(--motion-ease);
}

.plan-grid a:hover { border-color: var(--gold); }

.plan-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-grid__caption {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* The new-build project: the eight features four to a row, the parking spaces
 * on a white sheet, sold ones in the background. Four from 62 rem: at 820 px
 * "Fussbodenheizung" in tracked capitals broke before its last two letters. */
@media (width >= 62rem) {
  .tag-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.parking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(6rem, 100%), 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-5);
  list-style: none;
  background-color: var(--white);
  box-shadow: var(--shadow-card);
}

.parking-grid__space {
  padding: var(--space-2) var(--space-1);
  text-align: center;
  border: var(--border-hairline) solid var(--color-hairline);
}

.parking-grid__space b {
  display: block;
  font-family: var(--font-family-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-regular);
  color: var(--color-heading);
}

.parking-grid__space span {
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-button-app);
  text-transform: uppercase;
}

.parking-grid__space--free { border-color: var(--gold); }

.parking-grid__space--free span {
  font-weight: var(--font-weight-medium);
  color: var(--color-brand-ink);
}

.parking-grid__space--reserved span { color: var(--color-danger); }

.parking-grid__space--sold { background-color: var(--paper); }

.button-row--center { justify-content: center; }

.office-list__foot {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

@media (width < 60rem) {
  .split-editorial.split-editorial--picture-first { grid-template-columns: minmax(0, 1fr); }
}

/* The sizes of the company's site where they differed: its buttons are the
 * wide ones, and its small texts stand closer than the page's own rhythm. */
.site .btn {
  padding: 1.05rem 2.4rem;
  line-height: 1;
}

/* A small button keeps its own padding: the wide one above made the
 * "Cookie-Einstellungen" of the footer 38 px wide on each side. */
.site .btn.btn-sm { padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x); }

.site .site-header__action {
  padding: 0.8rem 1.7rem;
  font-size: var(--text-2xs);
}

/* The bar's button closer in where the entries move closer (measured at
 * 1200 px: the padding above outweighed the one in the query, 27 px for 16). */
@media (width >= 60rem) and (width < 87.5rem) {
  .site .site-header__action { padding-inline: var(--space-4); }
}

.site .form-panel .btn { padding-block: 0.95rem; }

.hero__lead {
  font-size: var(--text-md);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--tracking-tight);
}

.property-card__title {
  font-size: 1.55rem;
  line-height: var(--leading-tight);
}

.property-card__teaser {
  font-size: var(--text-base);
  line-height: var(--leading-site);
}

.property-card__facts { font-size: var(--text-sm); }

.event-card h3 { font-size: 1.7rem; }

.event-card__body p:last-of-type {
  font-size: var(--text-base);
  line-height: var(--leading-site);
}

/* The inset of the sale page's numbered cards (`.usp`), the same card on a
 * dark ground (sixth design pass). */
.brand-panel { padding: 2.5rem 2.2rem; }

.brand-panel p {
  font-size: var(--text-base);
  line-height: var(--leading-site);
}

.row-list__desc {
  font-size: var(--text-meta);
  line-height: var(--leading-site);
}

.site-footer a { font-size: 0.9rem; }

.project-hero::after { background-image: var(--veil-project); }

/* The bar with the wider logo: its button on the edge of the content. */
@media (width >= 87.5rem) {
  .site-header__inner { gap: var(--space-6); }

  .site-nav ul { gap: 1.45rem; }
}

/* The wider logo needs the room up to 80 rem as well: below that the button
 * gives way, the page "Kontakt" being one entry to the left of it. */
@media (width >= 60rem) and (width < 80rem) {
  .site-header__action { display: none; }
}

/* The picture buttons of a property on a telephone above the eyebrow: a long
 * title lifted it under them. */
@media (width < 43.75rem) {
  .detail-hero .slide-btn { top: calc(var(--header-height) + 2.25rem); }

  .detail-hero .page-hero__inner { padding-top: calc(var(--header-height) + 5.5rem); }
}

/* The maps the office filed under "Lage", beside the text on the place. */
.location-maps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.location-maps a { display: block; }

.location-maps img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border-hairline) solid var(--color-hairline);
}

/* ================================================================== *
 * The company's site to the figure, and what it does not have (E-165).
 *
 * Every value of the first part was read off steinmann-realestate.ch in the
 * browser, component by component, against this file: the two had drifted by
 * the rounding of the type and space scales. The steps of those scales stay
 * for the working area; a public component takes the company's own figure.
 * Gold on a light ground stays `--color-brand-ink`, the company's gold fails
 * 4.5:1 there.
 * ================================================================== */

html:has(.site) { scroll-padding-top: calc(var(--header-height) + var(--space-6)); }

.site ::selection {
  color: var(--black);
  background-color: var(--gold);
}

/* One link on the public part: the word in the ink of its text on a gold line.
 * The two dark grounds set their own further up. */
.site {
  --color-link: var(--color-heading);
  --color-link-hover: var(--color-brand-ink);
  --color-on-accent: var(--text-cool);
}

.site :is(.prose, .site-main p, .site-main li) a:not(.btn, .textlink, .filter-row__chip) {
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

/* Lining figures everywhere: a flat's name reads "A01", not an old-style "Ao1". */
.site { font-variant-numeric: lining-nums; }

/* A heading keeps its distance to what follows; a component that stands it
 * elsewhere says so. */
:where(.site) :is(h1, h2, h3) { margin-block: 0 var(--space-4); }

.section__head h2,
.page-hero h1,
.contact-hero h1,
.member h3,
.office-list__item h3 { margin-bottom: 0; }

.event-card h3,
.member h3,
.office-list__item h3 { margin-top: 0; }

/* A page without a photograph opens at the size of the company's contact page:
 * at the display step "Ihre Anfrage ist eingegangen" filled the screen. */
.site-main > .section:first-child h1,
.page-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: var(--font-weight-light);
}

.site-main .section-label + h1 { margin-top: 1.1rem; }

.site-main .section-label.pill {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Buttons. The main one empties on hover, the quiet one is the gold outline.
 * A label that wraps on a telephone keeps the company's 1.45: at the 1 of a
 * button on one line, its two lines stood on each other. */
.site .btn {
  gap: 0.8rem;
  letter-spacing: var(--tracking-button);
}

@media (width < 47.5rem) {
  .site .btn { line-height: 1.45; }
}

/* In a rail of 280 px the label keeps its one line; on a telephone it wraps
 * as every button does (the reflow rule above): after that rule, the nowrap
 * took a 150 per cent label past the card's edge at 390 px. */
.aside-card .btn,
.panel .btn { padding-inline: 1.3rem; }

@media (width >= 47.5rem) {
  .aside-card .btn,
  .panel .btn { white-space: nowrap; }
}

.site .btn-primary:hover,
.site .btn-primary:focus-visible {
  color: var(--color-primary-fill);
  background-color: transparent;
  border-color: var(--color-primary-fill);
}

.site .btn-quiet {
  color: var(--color-heading);
  background-color: transparent;
  border-color: var(--gold);
}

.site .btn-quiet:hover,
.site .btn-quiet:focus-visible {
  color: var(--black);
  background-color: var(--gold);
  border-color: var(--gold);
}

.btn-ivory { color: var(--ivory); }

/* A public button is its word, as on the company's site. */
.site-main .btn .icon { display: none; }

.textlink { padding-bottom: 0.35rem; line-height: var(--leading-site); }

/* The header. The drawer of a telephone keeps its own, larger entries. */
@media (width >= 60rem) {
  .site-nav a {
    padding-block: 0.4rem;
    font-size: var(--text-xs);
  }
}

.wordmark__logo {
  height: 2.875rem;
  max-width: min(15.25rem, calc(100vw - 6.5rem));
}

.site-nav__toggle { margin-inline: 0 calc((var(--target-primary) - 1.625rem) / -2); }

/* On a telephone the logo and the handle share the bar, and the logo gives way
 * below the 244 px it is at 390 px: at 320 px the handle stood past the edge. */
@media (width < 60rem) {
  .site-header__inner { gap: var(--space-2); }

  .wordmark__logo {
    max-width: calc(100vw - 2 * var(--space-gutter) - var(--target-primary) - var(--space-5));
  }
}

/* Between the laptop and the wide screen the logo gives up the 30 px the bar
 * is short of: at 1280 px the button stood 8 px past the content. */
@media (width >= 60rem) and (width < 87.5rem) {
  .wordmark__logo { max-width: 13.25rem; }
}

/* The hero. */
.hero h1,
.page-hero h1 { color: var(--ivory); }

.hero h1 { margin-bottom: 1.8rem; }

.hero__mark {
  margin-bottom: 1.6rem;
  font-size: var(--text-xs);
}

/* Eyebrows. */
.section-label,
.eyebrow {
  gap: 1.1rem;
  margin-bottom: 0;
}

/* Section heads. */
.section__head h2 { margin-top: 1.2rem; }

.section__head p { margin: 1.2rem 0 0; }

/* The head of a sub-page. */
.page-hero__inner { padding: 10rem var(--space-gutter) 3.6rem; }

.page-hero h1 {
  margin-top: 1.1rem;
  letter-spacing: 0.01em;
}

.page-hero__lead {
  max-width: 35rem;
  margin: 1.1rem 0 0;
  color: var(--color-on-accent);
  text-shadow: 0 2px 26px var(--scrim-deep), 0 1px 5px var(--scrim);
}

.page-hero__meta {
  gap: 0.6rem 2.4rem;
  margin: 1.4rem 0 0;
  font-size: var(--text-meta);
  color: var(--color-on-accent);
}

.page-hero__price { font-size: 1.7rem; }

.page-hero__meta a { color: inherit; }

/* The black band of a page without a photograph. Its height is its padding:
 * at 38 vh the legal pages stood 340 px of black over a 36 px title. The
 * title takes the size of every other page without a photograph (contact,
 * the confirmations), so a public page opens at one of two sizes: the
 * photograph's or this one (E-167). */
.page-hero--band { min-height: 0; }

.page-hero--band h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

.page-hero--article { min-height: 0; }

.page-hero--band::after { content: none; }

.page-hero .section-label a {
  color: inherit;
  text-decoration: none;
}

.page-hero .section-label a:hover { color: var(--ivory); }

.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: var(--color-on-accent-muted);
  --bs-breadcrumb-item-active-color: var(--color-on-accent-muted);
  margin: 0 0 var(--space-6);
  font-size: var(--text-button);
  letter-spacing: var(--tracking-tight);
}

.page-hero .breadcrumb a { color: var(--color-on-accent-muted); }

.page-hero .breadcrumb a:hover { color: var(--gold-soft); }

@media (width < 43.75rem) {
  .page-hero__inner { padding-top: 7.5rem; padding-bottom: 2.4rem; }
}

/* The opening events. */
.event-card__body { padding: 1.9rem 2rem 2.1rem; }

.event-card__date {
  margin-bottom: 0.8rem;
  font-size: var(--text-2xs);
}

.event-card h3 { margin-bottom: 0.8rem; }

.event-card__body p:last-of-type { margin-bottom: 1.4rem; }

.event-card__badge {
  padding: 0.55rem 1rem;
  font-size: var(--text-3xs);
}

/* The cards. */
.property-card__body { padding: 1.8rem 1.9rem 2rem; }

.property-card__place {
  margin-bottom: 0.7rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
}

.property-card__teaser { margin-top: 0.85rem; }

.property-card__facts {
  gap: 0.4rem 1.6rem;
  margin-top: 1.4rem;
  padding-top: 1.25rem;
}

.property-card__foot { padding-top: 1.1rem; }

.property-card__price { font-size: 1.2rem; }

.property-card__ref { font-size: var(--text-2xs); }

.badge-photo {
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.5rem 0.95rem;
  font-size: var(--text-3xs);
}

/* The figures. */
.stat__label {
  margin-top: 0.9rem;
  font-size: var(--text-xs);
}

/* The panels and the rows. */
.brand-panel__num { font-size: var(--text-lg); }

.brand-panel h3 { margin: 1rem 0 0.9rem; }

/* The rows start on the edge of the heading and the rules above them, and the
 * company's step to the right on hover is a movement rather than a padding,
 * so the row does not reflow under the pointer (design pass of 2026-11-06). */
.row-list__row {
  gap: 1.2rem 2.4rem;
  padding: 1.55rem 0;
}

@media (prefers-reduced-motion: no-preference) {
  .row-list__row > * { transition: transform var(--motion-base) var(--motion-ease); }

  .row-list__row:hover > :not(.row-list__status, .row-list__state) { transform: translateX(var(--nudge)); }
}

.row-list__kind {
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-pill);
}

.row-list__state {
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-nav);
}

@media (width < 53.75rem) {
  .row-list__row { gap: var(--space-2) var(--space-5); }

  .row-list__state { padding: var(--space-1) var(--space-2); }
}

/* The closing band. */
.cta-band h2 { margin: 1.2rem auto 1.4rem; }

.cta-band p { margin-bottom: 2.6rem; }

/* The footer. */
.site-footer__top {
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 3rem;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  margin-bottom: 1.4rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-site);
}

.site-footer li,
.site-footer li > a {
  font-size: 0.9rem;
}

/* One rhythm in every column: each line carries the distance once, on the
 * link where the line is a link, so that it is part of the target, and on
 * the line where it is a place. Both carried it, and the link lists ran at
 * 45 px a line beside 35 for the places (design pass of 2026-10-27). */
.site-footer li { padding-block: 0.32rem; }

.site-footer li:has(> a) { padding-block: 0; }

.site-footer li > a,
.site-footer address a { padding-block: 0.32rem; }

.site-footer__claim {
  margin: 1.4rem 0 0;
  font-size: var(--text-md);
}

.site-footer__legal {
  gap: 1rem 2.4rem;
  padding: 1.6rem 0 2rem;
  font-size: var(--text-button);
}

/* The list. The chips and the sorting beside them are one control height,
 * `--target-primary`, and the sorting carries the chevron of every other
 * select, drawn in the text's colour (design pass of 2026-11-06): the chips
 * stood 38 px tall beside a 44 px select with a gold arrow of its own. */
.filter-row__chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-primary);
  padding: 0 1.5rem;
  font-size: var(--text-xs);
  line-height: var(--leading-tight);
}

.filter-row { gap: 0.7rem; }

.filter-row__count { font-size: var(--text-sm); }

.sort-select {
  gap: 0.7rem;
  font-size: var(--text-2xs);
}

.sort-select select {
  min-height: var(--target-primary);
  padding: 0 var(--space-10) 0 0.9rem;
  font-size: var(--text-button);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right var(--space-4) center, right var(--space-3) center;
  background-size: 0.3em 0.3em, 0.3em 0.3em;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* The zoom guard of every field (custom.css): a plain select under 16 px made
 * Safari zoom the list when somebody tapped "Sortierung". */
@media (pointer: coarse) {
  .sort-select select { font-size: var(--text-md); }
}

/* The property page. */
.detail-title { margin-top: 1.2rem; }

.detail-desc > p:first-child { margin-bottom: 2rem; }

.factbar__inner {
  grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
  gap: 1rem 2.5rem;
  padding-block: 1.5rem;
}

.factbar__item { padding-block: 0.5rem; }

.factbar__value { font-size: 1.45rem; }

.factbar__label {
  margin-top: 0.25rem;
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-pill);
}

@media (width < 75rem) {
  .factbar__label { letter-spacing: var(--tracking-button-app); }
}

@media (width < 43.75rem) {
  .factbar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
  }

  .factbar__value { font-size: 1.2rem; }

  .factbar__label { letter-spacing: var(--tracking-tight); }
}

.sidecard { padding: 2.4rem 2.2rem; }

.sidecard__ref {
  margin: 0;
  font-size: var(--text-3xs);
}

.sidecard__price {
  margin: 0.7rem 0 1.6rem;
  font-size: var(--text-3xl);
}

.sidecard dl { margin-bottom: 1.8rem; }

/* A flat whose price is withheld: the rows keep the distance the price gave them. */
.sidecard__ref + dl { margin-top: 1.4rem; }

/* The label of the button keeps its line beside the card's own padding. */
.sidecard .btn {
  padding-inline: 1.2rem;
  white-space: nowrap;
}

/* The longer label of a sold flat breaks on a telephone; on the narrowest
 * one any label is wider than the card and took the page 12 px past the
 * edge on one line (E-165). */
@media (width < 30rem) {
  .sidecard .btn { white-space: normal; }
}

.sidecard dl > div,
.rail-facts > div {
  padding-block: 0.62rem;
  font-size: 0.9rem;
}

.sidecard dd,
.rail-facts dd { font-weight: var(--font-weight-regular); }

.rail-facts { margin: 0 0 var(--space-4); }

.sidecard__features {
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sidecard__features li {
  padding: 0.42rem 0.8rem;
  font-size: var(--text-2xs);
}

.sidecard__features-title {
  margin: 0 0 0.7rem;
  font-size: var(--text-3xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-pill);
  text-transform: uppercase;
  color: var(--color-muted);
}

/* The way from a flat to its building, in the company's capitals over the button. */
.sidecard__building {
  margin: 0 0 1.4rem;
  text-align: center;
}

.sidecard__building .textlink { line-height: 1.6; }

.sidecard__contact {
  margin-top: 1.4rem;
  font-size: var(--text-sm);
}

/* A map stands at the width of the text and never higher than the screen: a
 * square map beside the side card ran to 700 px. The lightbox shows it whole. */
.location-maps img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.plan-grid__extra { display: none; }

/* The four materials two by two on a tablet, rather than three and one alone. */
@media (width >= 30rem) and (width < 62rem) {
  .material-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.plan-grid__more { margin: var(--space-8) 0 0; }

.prevnext a { padding-block: 2.6rem; }

.prevnext__dir { font-size: var(--text-3xs); }

.prevnext__name { font-size: 1.4rem; }

/* Selling points and steps. */
.usp { padding: 2.5rem 2.2rem; }

.usp__num { font-size: var(--text-md); }

.usp h3 { margin: 0.9rem 0 0.8rem; }

.usp p { font-size: var(--text-base); }

.step-row { padding-block: 1.8rem; }

.step-row h3 { margin-bottom: 0.5rem; }

.step-row p { font-size: var(--text-base); }

/* About. */
.value { padding-top: 1.6rem; }

.value h3 { margin-bottom: 0.7rem; }

.value p { font-size: var(--text-base); }

.member__photo { margin-bottom: 1.3rem; }

.member h3 { font-size: 1.3rem; }

.member__role {
  margin-top: 0.45rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-pill);
}

@media (width < 75rem) {
  .member__role { letter-spacing: var(--tracking-button-app); }
}

@media (width < 35rem) {
  .member__role { letter-spacing: var(--tracking-tight); }
}

/* The offices. */
.office-list__num { font-size: 1.4rem; }

.section--dark p.office-list__country {
  margin-bottom: 0.7rem;
  font-size: var(--text-2xs);
}

.office-list__item p:last-child {
  margin-top: 0.9rem;
  font-size: 1rem;
}

/* Contact. */
.contact-hero h1 { margin-top: 1.1rem; }

/* Its lead is the serif lead of every confirmation (`.lead` in the
 * template), one drawing under a head without a picture (sixth design pass). */
.contact-hero p { margin: 0.9rem 0 0; }

/* The step's figure at a size that reads as the step, gold as the figures
 * of "So verkaufen wir" on the sale page: at 1 rem it stood over the
 * question as a stray grey "1" (sixth design pass). */
.form-step__num {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  line-height: 1;
  color: var(--color-brand-ink);
}

.stepform .form-step__legend { margin-bottom: 0.7rem; }

.form-step__hint {
  margin-bottom: 2rem;
  font-size: var(--text-base);
}

.opt {
  gap: 1.1rem;
  padding: 1.35rem 1.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.opt__key { font-size: var(--text-xs); }

.opt__text small { font-size: var(--text-sm); }

.contact-ways__item {
  padding-top: 1.4rem;
  font-size: 1rem;
}

.contact-ways__item h3 { font-size: var(--text-2xs); line-height: var(--leading-site); margin-bottom: 0.7rem; }

/* Tables. */
.unit-table th {
  padding: 1rem 1.1rem;
  font-size: var(--text-2xs);
}

.unit-table td {
  padding: 0.85rem 1.1rem;
  font-size: var(--text-base);
  font-weight: var(--font-weight-light);
}

.unit-table__state { font-size: var(--text-xs); }

.house-block h3 { margin-bottom: 1.2rem; }

/* What the company's site does not have, in the terms of what it does.
 *
 * Fields: its 1.1 rem of padding, its tracked label. */
.site .form-label {
  margin-bottom: 0.55rem;
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-pill);
  line-height: var(--leading-site);
}

.site .form-control,
.site .form-select {
  padding: 0.95rem 1.1rem;
  font-size: var(--text-md);
  font-weight: var(--font-weight-light);
  border-radius: 0;
}

.site .form-select,
.site select.form-control:not([multiple]) { padding-right: 2.6rem; }

/* The focus is the house's ring alone (custom.css): the gold border under
 * it drew a double gold frame round the focused field (design pass of
 * 2026-11-06). */

/* Cards of a form or a rail: white on the one shadow, the gold edge on the
 * card that asks for something, and the hairline round it the rail cards
 * beside it carry: without it the form card had no grey edge beside two
 * cards that had (sixth design pass). */
.form-panel {
  border: var(--border-hairline) solid var(--color-hairline);
  border-top: 2px solid var(--color-brand);
}

@media (width >= 35rem) {
  .site .form-panel { padding: 2.4rem 2.2rem; }
}

.site .panel {
  padding: 1.9rem 2rem;
  border: none;
  border-radius: 0;
}

.site .panel__title {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  line-height: var(--leading-tight);
}

.site .panel :is(p, .steps > li) { font-size: var(--text-base); }

/* ------------------------------------------------------------------ *
 * The cards beside a text or a form, decided once (design pass of
 * 2026-11-06). Three components drew the same card three ways: `.panel` in
 * the rail of a form without the gold edge, `.aside-card` in the rail of a
 * document with it, and the box "Vertraulich" of the valuation with it
 * again, while the contents box of a document was tinted and framed in gold.
 *
 * Light: white, a hairline, the 2 px gold edge on top, one padding, the card
 *   shadow. A card that holds sentences is titled in the serif
 *   (`.panel__title`); a card that holds a list or a record carries the
 *   label (`.aside-card__title`, `.toc__title`).
 * Dark: one look for the next step in a rail, `.panel--accent` and
 *   `.aside-card--accent` alike: black, a gold hairline all round, the title
 *   in the serif in gold, the ordinary button inverted to ivory.
 * ------------------------------------------------------------------ */
.form-rail > .panel:not(.panel--accent),
.aside-card:not(.aside-card--accent),
.longform__aside .toc,
.article__aside .toc,
.split > .section--solution {
  padding: 1.9rem 2rem;
  background-color: var(--color-surface);
  border: var(--border-hairline) solid var(--color-hairline);
  border-top: 2px solid var(--color-brand);
  box-shadow: var(--shadow-card);
}

.site .panel--accent,
.aside-card--accent {
  padding: 1.9rem 2rem;
  background-color: var(--black);
  border: var(--border-hairline) solid var(--color-brand-line);
  box-shadow: var(--shadow-card);
}

.site .panel--accent .panel__title,
.aside-card--accent .aside-card__title {
  margin-bottom: 0.8rem;
  font-family: var(--font-family-display);
  font-variant-numeric: lining-nums;
  font-size: 1.35rem;
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-brand);
}

.aside-card--accent p { font-size: var(--text-base); }

/* The guide's cards, on the company's card: its gold place line for the rubric. */
.article-card {
  padding: 1.8rem 1.9rem 2rem;
  border: none;
  border-top: 2px solid var(--gold);
}

.site .article-card__meta { margin: 0; }

.site .article-card__meta .pill {
  display: inline-flex;
  align-items: center;
  min-height: var(--space-6);
  padding: 0;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.6;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-brand-ink);
  background: none;
  border: none;
  border-radius: 0;
  /* Without the inset ring the pills have carried since E-167 (custom.css):
   * at no padding it framed the rubric's words edge to edge. */
  box-shadow: none;
}

.article-card__title {
  margin-top: 0.7rem;
  font-size: 1.55rem;
}

.article-card__title a::after { content: none; }

.article-card__excerpt {
  margin-top: 0.85rem;
  font-size: var(--text-base);
}

.article-card__foot {
  margin: 1.4rem 0 0;
  padding-top: 1.25rem;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

/* Long texts: the company's legal column, in the width this page has. */
.longform__head,
.longform__body { font-size: 1rem; }

.site .longform__head .lead { margin-bottom: 0; }

/* The version under the opening, apart from it: it sat on the lead's last
 * line with no gap at all (E-167). */
.site .longform__head .lead + .muted { margin-top: 1.1rem; }

.longform__body p,
.longform__body li { color: var(--color-muted); }

.longform__body h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

.longform__body > h2:first-child { margin-top: 0; }

.longform__body h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.article .prose { font-size: var(--text-lg); }

.article .prose h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: var(--display-section);
}

.article .prose h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: var(--text-2xl);
}

.article__head .lead { margin: 0; }

.article__foot > h2,
.article__faq > h2 { margin-bottom: var(--space-6); }

/* Each entry a block on its own line height, and a wrapped entry indented
 * under its words rather than under its number: at a line of 29 px with 8 px
 * between entries, the second line of "5. Cookies, lokale Speicherung" read
 * as an entry of its own, and the 23 entries of the privacy policy ran past
 * the window, the box cut off at the seventeenth (design pass of 2026-11-06). */
.toc__list a {
  display: block;
  padding-left: 1.4em;
  text-indent: -1.4em;
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-heading);
  text-decoration: none;
}

.toc__list a:hover { color: var(--color-brand-ink); }

/* The empty state of a public page: words and a way on, on the bare ground,
 * from the left as the lead above it and at the size of running text: centred
 * at 12 px it stood under a left-aligned intro as a second page (E-167). */
.site .empty-state {
  padding: var(--space-10) 0;
  text-align: start;
  background: none;
  border: none;
  box-shadow: none;
}

.site .empty-state h2 {
  margin-bottom: 0.8rem;
  font-size: var(--display-sm);
}

.site .empty-state p {
  max-width: none;
  font-size: var(--text-base);
  line-height: var(--text-base-line);
}

.page-hero .breadcrumb a {
  display: inline-block;
  padding-block: var(--space-1);
}

/* The head of a list: what it is on the left, how many and where else on the
 * right, on the baseline of the heading. */
.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-8);
  margin-bottom: var(--space-10);
}

.list-head .section__head { flex: 1 1 20rem; margin-bottom: 0; }

.list-head__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3) var(--space-6);
  margin: 0;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-tight);
  color: var(--color-muted);
}

/* The second reading against the company's stylesheet (E-165): where the first
 * pass had taken the nearest token, the columns stood a few pixels off. */
.hero__inner {
  max-width: 62.5rem;
  padding: 7.5rem 1.5rem 2rem;
}

.hero__scroll {
  margin: auto 0 0;
  padding-top: 2.6rem;
  gap: 0.7rem;
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-eyebrow);
}

.site .btn__arrow { margin-left: 0; }

.split-editorial { gap: clamp(2.5rem, 6vw, 6rem); }

.split-editorial:not(.split-editorial--pair) h2 { margin-bottom: 1.5rem; }

.split-editorial:has(.picture-stack) { align-items: center; }

.event-grid { gap: clamp(1.6rem, 3vw, 2.6rem); }

.property-grid--two { gap: clamp(1.6rem, 3vw, 2.8rem); }

.slide-count {
  right: 0.9rem;
  bottom: 0.8rem;
  padding: 0.32rem 0.7rem;
  font-size: var(--text-2xs);
}

.filter-row { margin-bottom: clamp(2rem, 4vw, 3.2rem); }

.sort-select { margin-inline-end: 0; }

/* The members share their tracks through a subgrid, and a gap on the parent
 * would run between those tracks too: the row of the names came out 13 px high.
 * The distance between two rows of people therefore stands under each person. */
.team-grid {
  --team-gap: clamp(1.5rem, 2.5vw, 2.2rem);
  column-gap: var(--team-gap);
  row-gap: 0;
  margin-bottom: calc(-1 * var(--team-gap));
}

.team-grid > .member { padding-bottom: var(--team-gap); }

@media (width < 35rem) {
  .team-grid {
    --team-gap: var(--space-8);
    column-gap: var(--space-4);
  }
}

.office-list__foot { row-gap: 1.2rem; }

.office-list__foot p { font-size: var(--text-sm); }

.contact-form { padding-top: clamp(2.5rem, 5vw, 4rem); }

.stepform .form-step { margin-bottom: 0; }

.opt-grid { gap: 0.9rem; }

.tag-grid { gap: clamp(1.5rem, 2.5vw, 2.5rem); }

.tag-grid li {
  padding: 1.6rem 1.4rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--display-line);
  letter-spacing: var(--tracking-nav);
  background-color: var(--black);
}

.material-row { margin-top: 2.6rem; }

.material-row span {
  margin-top: 0.6rem;
  font-size: var(--text-3xs);
  font-weight: var(--font-weight-light);
  letter-spacing: var(--tracking-nav);
}

/* The head of the project shows the building whole: below the title stays the
 * height of a property's head, less the line of the claim. */
.project-hero {
  min-height: 0;
  padding-bottom: calc(74vh - 2.8rem);
}

@media (width < 43.75rem) {
  .project-hero { padding-bottom: calc(58svh - 2.8rem); }
}

.page-hero__claim {
  margin-top: 1.4rem;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: var(--font-weight-light);
  letter-spacing: var(--tracking-tight);
  text-shadow: 0 2px 26px var(--scrim-deep), 0 1px 5px var(--scrim);
}

/* The list of the offices has its own three columns: the place of the status in
 * the shorter list of the home page does not apply to it. */
.office-list__item .row-list__status {
  grid-row: auto;
  grid-column: auto;
  align-self: auto;
}

.row-list__state { padding: 0.42rem 0.9rem; }

.site .factbar .factbar__action {
  justify-self: stretch;
  min-height: 0;
  padding: 0.8rem 1.6rem;
  font-size: var(--text-2xs);
}

@media (width >= 43.75rem) {
  /* The lining figures are wider than the old style of the company's site. */
  .factbar__value { white-space: nowrap; }
}

@media (width < 47.5rem) {
  .hero__actions .btn { flex: 0 1 auto; }
}

/* On a telephone the status stands on a line of its own under the
 * description, the badge and its note side by side from the left, as on the
 * page of the offices: beside the place, a note pushed the description down
 * and rows with one stood 26 px taller than rows without (sixth design pass). */
@media (width < 30rem) {
  .row-list__row { grid-template-columns: minmax(0, 1fr); }

  .row-list__status {
    grid-row: auto;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-self: auto;
    justify-self: start;
    gap: var(--space-2) var(--space-3);
  }
}

.hero__lead,
.site :is(h1, h2) { text-wrap: wrap; }

.cta-band__inner { padding-block: clamp(4.5rem, 9vw, 8rem); }

@media (width < 47.5rem) {
  .office-list__item { gap: 0.6rem; }
}

/* ------------------------------------------------------------------ *
 * The third reading of the public part (E-166)
 * ------------------------------------------------------------------ */

/* A flat that is gone says so where its price would stand. */
.page-hero__state,
.sidecard__state {
  font-family: var(--font-family-base);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero__state { color: var(--gold); }

.sidecard__state {
  margin: 0.7rem 0 1.6rem;
  color: var(--color-muted);
}

.sidecard__state--reserved { color: var(--color-danger); }

.sidecard__state--free { color: var(--color-brand-ink); }

/* One language for the state of a flat: sold is over and stands back, reserved
 * is the red of the company's table, free is gold. */
.unit-list__state--sold { color: var(--color-muted); }

.unit-table__state--free { color: var(--color-brand-ink); }

/* Four plans four to a row, rather than three and one alone. */
@media (width >= 62rem) {
  .plan-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Five articles as two and three, rather than three and two with a hole. */
@media (width >= 72rem) {
  .article-grid:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .article-grid:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }

  .article-grid:has(> li:nth-child(5):last-child) > li:nth-child(-n + 2) { grid-column: span 3; }
}

/* One or two articles keep the width of a card in two columns, and an
 * uneven last one stays in its column, from the left as the property rows
 * do: across the row, one related post was a card 1184 px wide (E-167). */
@media (width >= 45rem) {
  .article-grid:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* A single one under its heading, from the left edge the heading starts on
   * (regression reading of the sixth pass: in the middle it belonged to no
   * edge). */
  .article-grid:not(:has(> :nth-child(2))) > * {
    grid-column: 1 / -1;
    justify-self: start;
    width: calc((100% - var(--space-grid)) / 2);
  }
}

/* The way to get in touch at the foot of both cards, on one line. */
.event-card {
  display: flex;
  flex-direction: column;
}

.event-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}

.event-card__body > .textlink { margin-top: auto; }

/* Long card titles break between words. */
.property-card__title { hyphens: manual; }

/* The one field of the newsletter across the form, with no half row beside it. */
.site form[action*="newsletter"] .form-grid > .field { grid-column: 1 / -1; }

/* A label over a heading inside running text keeps the distance it has elsewhere. */
.site .prose .section-label + h2 { margin-top: 1.1rem; }

/* The new-build tables whole on a tablet, without the last column cut off. */
@media (width < 62rem) {
  .unit-table { min-width: 0; }

  .unit-table th {
    padding: 0.85rem 0.7rem;
    letter-spacing: var(--tracking-button-app);
    white-space: normal;
  }

  .unit-table td { padding: 0.8rem 0.7rem; }
}

/* On a telephone a flat is a row of its own: name and state, the figures under
 * them with their labels, the way to the plan at the foot. */
@media (width < 40rem) {
  .unit-table--flats thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .unit-table--flats,
  .unit-table--flats tbody { display: block; }

  .unit-table--flats tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    padding: 1rem;
    border-bottom: var(--border-hairline) solid var(--color-hairline);
  }

  .unit-table--flats td {
    display: block;
    padding: 0;
    border-bottom: none;
  }

  .unit-table--flats td:nth-child(1) {
    grid-column: 1 / 3;
    font-family: var(--font-family-display);
    font-size: var(--text-xl);
    color: var(--color-heading);
  }

  .unit-table--flats td:nth-child(5) {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    text-align: right;
  }

  .unit-table--flats td:nth-child(n + 2):nth-child(-n + 4)::before {
    content: attr(data-label);
    display: block;
    font-size: var(--text-xs);
    color: var(--color-muted);
  }

  .unit-table--flats td:nth-child(6) { grid-column: 1 / -1; }
}

/* An uneven last figure across the row, with no hole beside it. */
@media (width < 43.75rem) {
  .factbar__inner > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* The picture's arrows above the gold line of the head. */
@media (width >= 40rem) and (width < 62rem) {
  .detail-hero .slide-btn { top: 34%; }
}

/* On a telephone the picture's arrows have a row of their own above the text. */
@media (width < 40rem) {
  .detail-hero .slide-btn {
    top: calc(var(--header-height) + 0.8rem);
    width: 2.75rem;
    height: 2.75rem;
    transform: none;
  }

  .detail-hero[data-slides] .page-hero__inner { padding-top: calc(var(--header-height) + 4.6rem); }
}

/* Two buttons of a block as wide as each other on a telephone; on a tablet
 * at their own width, as the hero's beside them (design pass of 2026-11-06):
 * stretched to halves of 754 px they were a second look on one page. */
@media (width < 30rem) {
  .site .button-row .btn { flex: 1 1 18rem; }
}

/* Only a really long word breaks in a heading: "Aussergewöhnliche" at 320 px
 * must, "Liegen-schaft" with a line to itself must not. */
.site :is(h1, h2, h3) { hyphenate-limit-chars: 15 6 6; }

/* Legal text in the colour of the guide, in one face. */
.site .longform__body :is(p, li) { color: var(--color-text); }

.site .longform code {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* Tablet: the buttons of a block as high as each other. */
@media (width < 62rem) {
  .site .button-row { align-items: stretch; }
}

/* Tablet: a heading crosses the whole picture there, so the veil carries it
 * across and not only from the left. */
@media (width < 62rem) {
  .page-hero:not(.project-hero)::after { background-image: var(--veil-page-narrow); }
}

/* The portrait at the size its file carries, not stretched across a
 * tablet (design pass of 2026-11-06). */
@media (width < 60rem) {
  .split-editorial .framed-image:has(img[src*="andrea-peter"]) {
    width: min(100%, 26rem);
    /* Centred: flush left it left 340 px of empty ground beside it on a
     * tablet and looked forgotten (regression reading of the sixth pass). */
    margin-inline: auto;
  }
}

/* Five figures as three and two, the two on the columns of the three: in
 * halves under thirds the second row stood on columns of its own (E-167). */
@media (width >= 43.75rem) and (width < 62rem) {
  .factbar__inner:has(> :nth-child(5):last-child:not(.factbar__action)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .factbar__inner:has(> :nth-child(5):last-child:not(.factbar__action)) > * { grid-column: auto; }

  .factbar__inner:has(> .factbar__action) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .factbar__inner:has(> .factbar__action) .factbar__value { font-size: 1.3rem; }

  .site .factbar .factbar__action { grid-column: 1 / -1; }

  /* Three properties on a home page of two columns: two, and the way to all. */
  .property-grid--even > li:nth-child(odd):last-child { display: none; }
}

/* The eight features in pairs on a tablet, with no cell empty. */
@media (width >= 40rem) and (width < 62rem) {
  .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Running text breaks between words where there is room for it. */
@media (width >= 48rem) {
  .site .prose { hyphens: manual; }
}

/* A short term beside its long explanation in a legal table. */
.longform__body table :is(th, td):first-child { width: 28%; }

/* The article's tables across the text. A table in prose is a block of its
 * own scroll (custom.css), and a block's width does not reach the table box
 * inside it: the example ran 533 px under a table of 828. Where every table
 * fits, from a tablet on, it is a table again and takes the column; on a
 * telephone it keeps its scroll (design pass of 2026-11-06). */
@media (width >= 48rem) {
  .article .prose table {
    display: table;
    width: 100%;
  }
}

/* No shadow where the ground is black anyway. */
.page-hero:not(:has(.hero__bg)) :is(h1, p, span) { text-shadow: none; }

/* The last step of the way at the height and in the strength of the others. */
.page-hero .breadcrumb-item.active {
  padding-block: var(--space-1);
  color: var(--ivory);
}

/* The "›" between the steps on the line of their words: without the links'
 * padding it stood about 4 px higher (E-167). */
.page-hero .breadcrumb-item + .breadcrumb-item:not(.active)::before { padding-block: var(--space-1); }

/* A telephone: one column of buttons as wide as the text. */
@media (width < 30rem) {
  .site :is(.section__action, .gallery__more, .plan-grid__more, .hero__actions, .button-row,
    .aside-card, .status-actions, .empty-state, .list-more) .btn {
    width: 100%;
    justify-content: center;
  }

}

/* The gold frame behind a picture stays inside the page's margin wherever the
 * picture takes the column: the figure makes room for it on the top and the
 * left, so the frame starts on the content edge. At -22 px it ran into the
 * gutter of a tablet and to 10 px from the edge of a telephone (E-167). */
@media (width < 62rem) {
  .framed-image:not(.framed-image--plain) { padding: 14px 0 0 14px; }

  .framed-image::before { inset: 0 auto auto 0; }
}

/* The features in pairs on a telephone too, as a short list. */
@media (width >= 23.5rem) and (width < 40rem) {
  .tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .tag-grid li {
    padding: 1rem 0.4rem;
    font-size: var(--text-2xs);
    letter-spacing: 0.1em;
  }
}

/* A flat's name holds its figures together; a space state reads at a glance. */
.unit-list__name { text-wrap: balance; }

.parking-grid__space span { color: var(--color-text); }

.property-card__ref { color: var(--color-text); }

/* The floor plans of a house at a readable size on a telephone, to be swiped. */
@media (width < 40rem) {
  .house-plan-scroll { overflow-x: auto; }

  .house-plan-scroll .house-plan {
    width: 46rem;
    max-width: none;
  }
}

/* The project's heading lies on the sky: on a phone it needs more of the veil. */
@media (width < 62rem) {
  .project-hero::after { background-image: var(--veil-project-narrow); }
}

/* The opening of a legal text, apart from the version under it. */
.longform__body p + p.muted { margin-top: 1.1rem; }

/* The two links of the foot close together on a telephone. */
@media (width < 30rem) {
  .site-footer__legal ul { gap: var(--space-3) var(--space-6); }

  .site-footer__legal { row-gap: var(--space-3); }
}

/* ================================================================== *
 * The fourth design pass, the public part (E-167, 2026-11-05).
 * ================================================================== */

/* The way back of a confirmation, at one distance under its text on every
 * confirmation page (contact, object, viewing, guide, opt-out). */
.site .status-actions { margin: var(--space-8) 0 0; }

/* Nothing alone in the last row of two columns. The fifth property and an
 * uneven last article stand in the middle of the row at the width of a card
 * rather than at its left with half the row empty beside them; the third way
 * to reach the office on the contact page (the offices) takes the row, as text
 * may. Three columns keep the company's short last row from the left (E-163,
 * E-165). */
@media (width >= 45rem) and (width < 60rem) {
  :is(.property-grid, .article-grid):has(> :nth-child(3)) > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--space-grid)) / 2);
  }
}

@media (width >= 30rem) and (width < 52.5rem) {
  .contact-ways > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* A page without a head of its own (contact, the confirmations, the viewing)
 * opens at the distance of the black band of the legal pages: under the
 * fixed bar its eyebrow stood 45 px down where the band's stands 78 (E-167). */
.site-main > .section:first-child { padding-top: 10rem; }

@media (width < 43.75rem) {
  .site-main > .section:first-child { padding-top: 7.5rem; }
}

/* ================================================================== *
 * The fifth design pass, the public part (2026-11-06).
 *
 * Gathered at the end, where it wins, and each block names the finding.
 * ================================================================== */

/* The contact page opens at the distance of every page without a head of its
 * own: its eyebrow stood 45 px under the bar at 900 px of window height and
 * 77 px on its own confirmation, because the padding followed the height. */
.contact-hero { padding-top: 10rem; }

@media (width < 43.75rem) {
  .contact-hero { padding-top: 7.5rem; }
}

/* Two columns from a tablet on, for the two featured properties and the two
 * opening events of the home page: their floors of 420 and 440 px put each
 * card alone across 754 px at 820, under a portfolio of two columns. */
@media (width >= 45rem) and (width < 62rem) {
  .property-grid--two,
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The cards beside a form two to a row on a tablet, the dark one across:
 * three and four short cards stacked across 754 px read as a telephone. */
@media (width >= 45rem) and (width < 62rem) {
  .site .form-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-grid);
  }

  /* Two cards of a row end on one line (the symmetry rule of E-160). */
  .site .form-rail { align-items: stretch; }

  .site .form-rail > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* The step form takes the column it is given, so that its right edge is
   * the section's below it. */
  .stepform { max-width: none; }

  /* The price card of a property in two columns: the price, the keywords and
   * the way to ask on the left, the figures on the right. Stacked, its first
   * rows repeated the fact bar right above it. */
  .detail-cols > .sidecard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-10);
    align-content: start;
  }

  .detail-cols > .sidecard > * { grid-column: 1; }

  .detail-cols > .sidecard > dl {
    grid-column: 2;
    grid-row: 1 / span 8;
    margin-top: 0;
  }
}

/* The ten offices of the footer in two columns where the footer has two,
 * and on a telephone too: in one they left 450 px of black under the address
 * and 560 px on a telephone. The longest, "Bodensee · Deutschland", fits a
 * column from 360 px on (sixth design pass). */
@media (width >= 22.5rem) and (width < 60rem) {
  .site-footer__offices { columns: 2; column-gap: var(--space-6); }

  .site-footer__offices li { break-inside: avoid; }
}

/* The sections of a property start at the section distance under the price
 * card where the card stands above them, and "Im Detail" at the distance of
 * a section under the text: at the small step (40 to 50 px) both read as a
 * part of what stood above them, where every other start of the public pages
 * is 72 to 80 px (sixth design pass). */
@media (width < 60rem) {
  .detail-cols { row-gap: var(--space-section); }

  .detail-cols + .detail-more { margin-top: var(--space-section); }
}

/* The titles of the way to the next property at a heading's line height:
 * at the page's 1.75 a title of two lines stood 38 px apart. */
.prevnext__name { line-height: 1.25; }

/* Ink on black, where they meet (the home page's band of three figures on
 * the services when no property is on show), is ruled rather than left to
 * read as a seam. The new-build page sets its two bands on one black. */
.section--ink + .section--dark,
.section--dark + .section--ink { border-top: var(--border-hairline) solid var(--color-brand-line-soft); }

/* The claim under a project's title at a heading's line height: at the
 * page's 1.75 its two lines stood apart on a telephone. */
.project-hero .page-hero__claim { line-height: 1.25; }

/* The materials of a project stand as four groups: 16 px between them read
 * as one row of twelve swatches. */
.material-row { column-gap: var(--space-8); }

/* The numeral of an office on the line of its place rather than of its
 * country: by the country it stood a line above the name it counts. */
@media (width >= 47.5rem) {
  .office-list__num { margin-top: calc(var(--text-xs) * 1.75 + var(--space-3)); line-height: 1.6; }
}

/* The search button as tall as its field. */
.search-panel__row .btn { align-self: stretch; }

/* The byline of an article: the dot of the cards between its parts, at the
 * width of " · " in its own tracking. */
.ref-pair--meta { --ref-gap: 1.6em; }

.ref-pair--meta > * { white-space: normal; }

/* The label of a list of places on a line of its own, the places under it:
 * beside it, the list as a box of its own left "Aktiv:" alone on one line
 * and the places on the next (regression reading of the sixth pass). */
.contact-ways__label { display: block; }

/* ------------------------------------------------------------------ *
 * The telephone (design pass of 2026-11-06).
 * ------------------------------------------------------------------ */

@media (width < 35rem) {
  /* One inset for every card of a stacked rail: the fields of the form card
   * started 16 px in and the text of the cards under it 32 px. */
  .site .form-panel,
  .form-rail > .panel,
  .form-rail > .panel:not(.panel--accent),
  .site .panel--accent,
  .site .panel.newsletter,
  .aside-card,
  .aside-card:not(.aside-card--accent),
  .longform__aside .toc,
  .article__aside .toc,
  .split > .section--solution { padding-inline: var(--space-5); }

  /* The rail of an article stands apart from its questions. */
  .article__aside { margin-top: var(--space-12); }

  /* The figures at a size that still reads as figures under the gold labels. */
  .factbar__value { font-size: var(--text-xl); }
}

@media (width < 30rem) {
  /* The eyebrow's rules shorter on a telephone, and a centred eyebrow keeps
   * both on its line: the right one fell to a line of its own. */
  .section-label::before,
  .section-label--center::after { width: var(--space-6); }

  /* A centred eyebrow of two lines takes its rule above the words, as a
   * wrapped left one does: with a rule on each side it floated at the
   * middle of two centred lines (sixth design pass). */
  .section-label--center {
    flex-direction: column;
    row-gap: 0.8rem;
  }

  .section-label--center::after { display: none; }

  /* A team role of three words breaks between its words. */
  .member__role { letter-spacing: var(--tracking-tight); text-wrap: balance; }
}

/* The small links of a sign-in card and the breadcrumb a target a thumb can
 * hit: 18 px high they were the smallest of the site. */
.auth-card__foot a,
.breadcrumb-item a { padding-block: var(--space-2); }

/* The folded contents on a telephone a row, not a card of 80 px. */
@media (width < 47.5rem) {
  .longform__aside .toc,
  .article__aside .toc { padding-block: var(--space-4); }
}

/* ------------------------------------------------------------------ *
 * Regression reading of the fifth pass (2026-11-06)
 * ------------------------------------------------------------------ */

/* Two ways on of a confirmation stand a step apart, not a word space. */
.site .status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* A button in a rail card takes the card's width: at the card's padding of
 * 2 rem "Bewertung anfragen" on one line ran 14 px past its edge. */
.aside-card .btn {
  width: 100%;
  justify-content: center;
  padding-inline: var(--space-4);
}

/* An address to write to stays on one line in a rail card rather than
 * breaking at the hyphen of the domain. */
.aside-card a[href^="mailto:"] {
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* The flats of a building as a table without its lines: name, area, floor,
 * price or state in columns that stand under each other, and a state no
 * taller than a price. */
@media (width >= 35rem) {
  .site .unit-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.5rem 7rem 10rem 1.5rem;
    align-items: center;
  }

  .site .unit-list a > .unit-list__name { grid-column: 1; }
  .site .unit-list__facts { display: contents; }
  .site .unit-list__area { grid-column: 2; }
  .site .unit-list__floor { grid-column: 3; }

  .site .unit-list a > :is(.property-card__price, .unit-list__state) {
    grid-column: 4;
    justify-self: end;
  }

  .site .unit-list a > .unit-list__arrow { grid-column: 5; justify-self: end; }
}

.site .unit-list__state {
  padding-block: 0.125rem;
  line-height: var(--leading-tight);
}

/* On a photograph the eyebrow takes the lighter gold: over a bright sky the
 * brand gold of the dark bands lost its contrast (regression reading). */
.hero .section-label,
.page-hero:not(.page-hero--band) .section-label,
.hero__mark { color: var(--color-brand-soft); }


/* ================================================================== *
 * The sixth design pass, the public part (2026-11-06).
 *
 * Gathered at the end, where it wins. The words of the public pages stay
 * as they are (owner, 2026-11-06): what follows draws them.
 * ================================================================== */

/* A form and its rail, and the address pair of the imprint, at the gap of
 * every grid of the public pages: the 20 px of the working area's `.split`
 * left form and rail closer than any two cards on the site. The imprint's
 * pairs keep the gap of the figures under them. */
.site .split { gap: var(--space-grid); }

.site .longform .split { column-gap: var(--space-8); }

/* "Im Detail": the line over a feature stands over that feature, not across
 * the empty columns beside one or two of them. */
.detail-more__list { border-top: 0; }

.detail-more__list > div {
  border-top: var(--border-hairline) solid var(--color-hairline);
  margin-bottom: calc(-1 * var(--border-hairline));
}

/* One feature without a heading is a row under the text, closed by its line
 * below, as the entries of a list above it are; and a block that follows
 * "Im Detail" closes its last row with its own gold line. Both drew a second
 * line 40 px from the first. */
.detail-more:not(:has(h2)) .detail-more__list > div { border-top: 0; }

.detail-more:has(+ .detail-block) .detail-more__list > div { border-bottom: 0; }

/* A single feature without a heading is a row of the text column: its value
 * at the right as in the price card, its line below, and set off from the
 * list above at every width (regression reading of the sixth pass). */
.detail-cols + .detail-more:not(:has(h2)) { margin-top: var(--space-8); }

.detail-more:not(:has(h2)) .detail-more__list { grid-template-columns: minmax(0, 1fr); }

.detail-more:not(:has(h2)) .detail-more__list > div {
  border-bottom: var(--border-hairline) solid var(--color-hairline);
}

/* The footer's wordmark on the edge of the claim under it: the drawing
 * stands 10 px inside its file at this height. */
.site-footer__logo { margin-left: -0.625rem; }

/* A picture before its text keeps its frame in the gutter between them, the
 * mirror of a picture after its text: on the left it ran 22 px past the
 * content edge into the margin. */
@media (width >= 62rem) {
  .split-editorial--picture-first .framed-image::before { inset: -22px -22px auto auto; }
}

/* Stacked, every editorial split reads text first, then its picture. */
@media (width < 60rem) {
  .split-editorial--picture-first > .framed-image { order: 1; }
}

/* A fact bar on the columns of five figures, however many it holds: three
 * figures stood 408 px apart on a flat's page and five 245 px. */
@media (width >= 62rem) {
  .factbar__inner:not(:has(> .factbar__action)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* The contents. An entry that wraps goes on under its first word: the hanging
 * indent of 1.4 em matched no number and indented every wrap of an entry
 * without one, which then read as an entry of its own. Numbered documents
 * (`toc__list--numbered`) hang their wrap behind the widest number. */
.toc__list a {
  padding-left: 0;
  text-indent: 0;
}

.toc__list--numbered a {
  padding-left: 1.6em;
  text-indent: -1.6em;
  font-variant-numeric: tabular-nums;
}

/* The sticky contents say there is more below them: a fade over the last
 * line while the box scrolls, which stands under the last entry once it is
 * reached. Without it the box ended in a cut line ("22. ..."). */
@media (width >= 62rem) {
  .article__aside .toc,
  .longform__aside > .toc { padding-bottom: 0; }

  .article__aside .toc::after,
  .longform__aside > .toc::after {
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: var(--space-8);
    background-image: linear-gradient(to bottom, transparent, var(--color-surface));
    pointer-events: none;
  }
}

/* The questions under an article at the size of the article's headings: at
 * the page's section size they stood 10 px larger than every h2 above. */
.article__faq > h2 { font-size: var(--display-section); }

/* The highlight list of an article at the article's size, as on the
 * newsletter page. */
.article .prose .checklist li { font-size: inherit; }

/* Text in a narrow card or a list of entries breaks where it breaks:
 * `pretty` evened short lines into ragged ones there ("melden wir / uns
 * persönlich"), and on a telephone in any paragraph. */
:is(.form-rail, .aside-card, .toc__list, .sidecard) :is(p, li) { text-wrap: wrap; }

@media (width < 40rem) {
  .site :is(p, li) { text-wrap: wrap; }

  /* An eyebrow that is a paragraph keeps its balance: "VERKAUF" stood alone
   * on a line under "RECHT UND STEUERN BEIM". */
  .site :is(.section-label, .article-card__meta) { text-wrap: balance; }
}

/* The footer. The address on the rhythm of the lists beside it, each line
 * carrying the distance; one size on the closing line, where the legal links
 * stood at 14 px between two texts of 12.5. */
.site-footer address > * {
  display: block;
  width: fit-content;
  padding-block: 0.32rem;
}

.site-footer__legal a,
.site-footer__legal .btn { font-size: inherit; }

/* One lift for every card with the gold edge, the property card's; a card
 * a keyboard reaches answers as it does to the pointer. */
.event-card:focus-within { border-color: var(--gold); }

.row-list__row:focus-within { background-color: var(--color-brand-wash); }

.slide-btn:focus-visible {
  color: var(--gold-soft);
  background-color: var(--scrim-deep);
  border-color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .article-card:hover,
  .event-card:hover,
  .event-card:focus-within,
  .brand-panel:hover { transform: translateY(calc(-1 * var(--lift-card))); }
}

/* On a touch screen a hover never comes: a press answers instead. */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  :is(.property-card, .article-card, .event-card, .opt, .site .btn):active {
    transform: translateY(1px);
    transition: transform var(--motion-fast) var(--motion-ease);
  }
}

/* Tablet. */

/* The three services: figure, title and text on shared rows, so that the
 * texts of the three cards start on one line when a title takes two. */
@media (width >= 48rem) {
  .brand-panel {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
  }
}

/* The team four to a row on a tablet: two to a row gave eight portraits of
 * 365 px in four rows, the telephone's layout across 754 px. */
@media (width >= 45rem) and (width < 62rem) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* The offices on a tablet: a numeral column as wide as "VIII." rather than
 * the desk's 110 px, and the description the room that frees. */
@media (width >= 47.5rem) and (width < 62rem) {
  .office-list {
    grid-template-columns: 4rem 1fr minmax(0, 12rem);
    column-gap: var(--space-6);
  }
}

/* The price card shows a figure the fact bar right above it shows already
 * only on a desk, where the bar is out of sight beside the text. */
@media (width < 62rem) {
  .sidecard dl > .sidecard__row--in-bar { display: none; }
}

@media (width >= 45rem) and (width < 62rem) {
  .detail-cols > .sidecard > dl { margin-bottom: 0; }

  /* The person to ask on one line: title, name and number, across the row. */
  .site .form-rail > .contact-person {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--space-8);
  }

  .site .form-rail > .contact-person > * { margin-block: 0; }

  .site .form-rail > .contact-person > .contact-person__action {
    flex-basis: 100%;
    margin-top: var(--space-4);
  }

  /* The rail of a document and of an article as the rail of a form: the
   * light cards two to a row, the dark one across under them. Stacked, three
   * cards ran the width of the page with a button 688 px wide. */
  .longform,
  .article {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
  }

  :is(.longform, .article) > :not(.longform__aside, .article__aside),
  :is(.longform__aside, .article__aside) > :is(.toc, .aside-card--accent) { grid-column: 1 / -1; }

  /* Each card as tall as its content: stretched to its neighbour, the short
   * one stood 100 to 130 px empty at its foot. */
  :is(.longform__aside, .article__aside) > .aside-card { align-self: start; }
}

/* A button in a rail card at its own width where the card is not a narrow
 * rail. */
@media (width >= 30rem) and (width < 62rem) {
  .aside-card .btn { width: auto; }
}

/* The fact bar's button at the height of every other button of the page. */
@media (width < 62rem) {
  .site .factbar .factbar__action {
    padding: 1.05rem 2.4rem;
    font-size: var(--text-button);
  }
}

/* A heading's set break only where the column is wide enough for its line:
 * on a tablet it broke a line short beside longer headings that run on. */
@media (width < 60rem) {
  .br-wide { display: none; }
}

/* The cards of the home page and the selling points at the grid gap of
 * every other card grid. */
.property-grid--two,
.event-grid,
.usp-grid { gap: var(--space-grid); }

/* The pictures of the new build at the gallery's gap. */
.picture-stack { gap: var(--space-4); }

/* The guide's newsletter box, a dark box as every other on the page: with
 * the gold hairline round it. */
.site .panel.newsletter { border: var(--border-hairline) solid var(--color-brand-line); }

/* Telephone. */

@media (width < 30rem) {
  /* The line over the home page's title breaks between its words, not
   * after the dot. */
  .hero__mark { text-wrap: balance; }

  /* The sorting fills its row, so that chips and select end on one edge. */
  .sort-select { flex: 1 1 auto; }

  .sort-select select { width: 100%; }
}

@media (width < 35rem) {
  /* The form card at the inset of the cards under it: its button stood 20 px
   * over the card's floor. */
  .site .form-panel { padding-block: var(--space-8); }

  /* The way to the next property on the page's edge. */
  .prevnext a { padding-inline: var(--space-gutter); }
}

/* The two ways to reach the office as targets a thumb hits: 29 px high and
 * 8 px apart they were the smallest of the contact page. */
.contact-ways__item a {
  display: flex;
  align-items: center;
  min-height: var(--target-primary);
  margin-bottom: 0;
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: var(--color-brand-line);
  text-underline-offset: 0.35em;
}

@media (width < 40rem) {
  /* A property's title on a telephone at a size where its longest word
   * keeps its line: "Eigentumswoh-nungen" broke into five lines. */
  .detail-hero h1 {
    font-size: var(--display-md);
    hyphens: manual;
  }

  /* Price and kind under each other, as on the building's page. */
  .detail-hero .page-hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* The picture's count at the top between the arrows, away from price and
   * kind at the head's foot. */
  .detail-hero .slide-count {
    top: calc(var(--header-height) + 1.6rem);
    right: auto;
    bottom: auto;
    left: 50%;
    translate: -50% 0;
  }

  /* The article's tables of three columns within the column, without a
   * scroll nobody sees: words break inside the cells. */
  .article .prose table:not(:has(tr > :nth-child(4))) {
    display: table;
    width: 100%;
  }

  .article .prose table:not(:has(tr > :nth-child(4))) :is(th, td) {
    padding-right: var(--space-3);
    hyphens: auto;
    /* `break-word`, not `anywhere`: with `anywhere` a cell could shrink to
     * one letter and the table squeezed its short columns ("Vermarktu/ng",
     * regression reading of the sixth pass). */
    overflow-wrap: break-word;
  }
}

/* A web address in a legal text on a line of its own rather than broken at
 * its hyphen, where a telephone has the room for it. */
@media (width >= 22.5rem) {
  .longform__body a[href^="http"] { white-space: nowrap; }
}

/* Labels at the house's smallest step, as in the footer, and no smaller. */
.factbar__label,
.prevnext__dir,
.sidecard__ref { font-size: var(--text-2xs); }

/* A rail card's address to write to at the size of the address over it,
 * where the card has the width of a tablet or a telephone. */
@media (width < 62rem) {
  .aside-card a[href^="mailto:"] {
    display: inline-block;
    padding-block: var(--space-1);
    font-size: inherit;
  }
}

/* The way back from a flat at the weight of the breadcrumb's way back. */
.detail-back a.textlink {
  padding-block: var(--space-1);
  font-weight: var(--font-weight-regular);
}

/* The questions page names its dark box once: beside the lead from a desk
 * on, after the last question below it (`website/_faq_ask.html`). */
@media (width < 62rem) {
  .faq-ask--wide { display: none; }

  .faq-ask--narrow { margin-top: var(--space-section-sm); }
}

@media (width >= 62rem) {
  .faq-ask--narrow { display: none; }
}

/* The arrow of a select in the line of the questions' chevron rather than a
 * filled triangle: two strokes of the text's colour, from the same two
 * squares the working area fills (custom.css). */
.site .form-select,
.site select.form-control:not([multiple]),
.sort-select select {
  background-image:
    linear-gradient(to top right, transparent calc(50% - 0.6px), currentColor calc(50% - 0.6px),
      currentColor calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.6px), currentColor calc(50% - 0.6px),
      currentColor calc(50% + 0.6px), transparent calc(50% + 0.6px));
  background-position: right calc(var(--space-5) + 0.45em) center, right var(--space-5) center;
  background-size: 0.45em 0.45em, 0.45em 0.45em;
}

/* The office's preview of a property page (asked by the properties fixer,
 * sixth design pass). A head without a released picture is no black area of
 * 580 to 780 px: it takes the height of its words. The band of the preview is
 * set off by a line on its top rather than a frame against the window's
 * edges. The steps after an enquiry keep their even line ends. */
.detail-hero:not(:has(> .hero__bg)) { min-height: 0; }

.preview-note {
  border: 0;
  border-top: var(--border-hairline) solid var(--color-heading);
}

/* The note beside an office's state on its line, as on the home page: the
 * list's own rule of two classes held it at the top of the badge on a
 * telephone (regression reading of the sixth pass). */
@media (width < 30rem) {
  .office-list__item .row-list__status { align-items: center; }
}

/* The price card on a tablet keeps two columns only while its figures are
 * more than one row: with the rows the fact bar shows hidden, one row ("Lage")
 * beside the price left a white field of 330 x 320 px. Then the card is one
 * column, the row under the way to ask (regression reading of the sixth
 * pass). */
@media (width >= 45rem) and (width < 62rem) {
  .detail-cols > .sidecard:not(:has(> dl > :not(.sidecard__row--in-bar) ~ :not(.sidecard__row--in-bar))) {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-cols > .sidecard:not(:has(> dl > :not(.sidecard__row--in-bar) ~ :not(.sidecard__row--in-bar))) > dl {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    margin-top: var(--space-6);
  }
}
