/* FONTANA Living — simple review site (/simple/). Built by
   scripts/build-simple-site.mjs. It reuses the main site's design language
   (public/map/intro-experience.css, site-pages.css): the paper and gold
   tokens, the 92 px header with its inset gold hairline, light DIN nav links
   with a sliding underline, the outline Enquire button, slate-blue eyebrows,
   gold underlined text links, the gold-dark button and gold section rules. */
@font-face {
  font-family: "ASW DIN";
  src: url("/fonts/asw-din/ASW-DIN-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "ASW DIN";
  src: url("/fonts/asw-din/ASW-DIN-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "ASW DIN";
  src: url("/fonts/asw-din/ASW-DIN-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DIN FONTANA";
  src: url("/fonts/dinlight.woff") format("woff"), url("/fonts/DINPro-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}

:root {
  /* The main site's tokens (intro-experience.css :root and the pp- page set). */
  --paper: #f8f5ef;
  --paper-deep: #efeae0;
  --lake: #ccd5dc;
  --gold: #a38b5f;
  --gold-dark: #7f6a45;
  --gold-light: #e3d7bc;
  --charcoal: #38383a;
  --ink: #23211e;
  --soft: #65625d;
  --label: #57524b;
  --blue: #5c7282;
  --rule: rgba(127, 106, 69, 0.46);
  --shade: 34, 28, 22;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --edge: 4.5vw;
  --pad: clamp(32px, 6vw, 96px);
  --bar: 92px;
  --display: "ASW DIN", "DIN FONTANA", "Arial Narrow", Arial, sans-serif;
  --font: "DIN FONTANA", "DINPro-Light", "Arial Narrow", Arial, sans-serif;
  --caps: "ASW DIN", "DIN FONTANA", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--charcoal); font: 300 18px/1.6 var(--font); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h3 { font: 400 12px/16px var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.display { font: 200 clamp(38px, 5vw, 72px)/1.06 var(--display); color: var(--ink); }
.eyebrow { display: block; margin-bottom: 18px; font: 400 12px/16px var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: rgba(255, 255, 255, 0.86); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--gold-dark); outline-offset: 4px; }

/* The gold-dark action button (fontana-placement-detail-button). */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 15px 24px 14px; border: 0;
  background: var(--gold-dark); color: var(--paper);
  font: 400 12px/1.2 var(--caps); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.button:hover, .button:focus-visible { background: #6a5839; }
.button-large { padding: 18px 30px 17px; }

/* Gold underlined text link with an arrow (fl-sp-textlink). */
.textlink {
  display: inline-flex; align-items: baseline; gap: 10px; padding-bottom: 3px;
  border-bottom: 1px solid currentColor; color: var(--gold-dark);
  font: 400 12px/16px var(--caps); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; transition: color 160ms var(--ease);
}
.textlink:hover, a:hover .textlink { color: var(--ink); }
.textlink.light { color: #fff; }
.textlink.light:hover, a:hover .textlink.light { color: var(--gold-light); }
.textlink-meta { color: var(--label); letter-spacing: 0.1em; }
.textlink.light .textlink-meta { color: rgba(255, 255, 255, 0.75); }

/* Header (fl-header): a faded paper bar with the inset gold hairline. Over a
   hero photo or the film it is a faded warm-dark bar instead; no shadows on
   the bar or its type. */
.bar {
  position: sticky; top: 0; z-index: 30; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 0 var(--edge);
  color: var(--charcoal);
  background-color: rgba(248, 245, 239, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.05); backdrop-filter: blur(14px) saturate(1.05);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.bar::after { content: ""; position: absolute; left: var(--edge); right: var(--edge); bottom: 0; height: 1px; background: rgba(127, 106, 69, 0.55); pointer-events: none; transition: background-color 0.7s var(--ease); }
.bar-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.bar-logo img { width: 54px; height: 54px; flex: 0 0 auto; transition: filter 0.7s var(--ease); }
.bar-logo-name { display: inline-flex; align-items: baseline; gap: 8px; padding-left: 14px; border-left: 1px solid rgba(127, 106, 69, 0.45); font: 300 13px/1 var(--font); letter-spacing: 0.26em; white-space: nowrap; color: inherit; }
.bar-logo-name span:last-child { color: var(--gold-dark); transition: color 0.7s var(--ease); }
.bar-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); margin-left: auto; }
.bar-link { position: relative; font: 300 12px/1.2 var(--font); letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.bar-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.28s var(--ease); }
.bar-link:hover::after, .bar-link:focus-visible::after, .bar-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.bar-link[aria-current="page"]::after { background: var(--gold); }
.bar-cta {
  padding: 12px 17px 10px; border: 1px solid currentColor; color: var(--charcoal);
  font: 300 12px/1.2 var(--font); letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color 0.7s var(--ease), background-color 0.7s var(--ease), border-color 0.7s var(--ease);
}
.bar-cta:hover, .bar-cta:focus-visible { color: var(--paper); background: var(--gold-dark); border-color: var(--gold-dark); transition-duration: 0.25s; }
/* The language switch (pages with German, docs/cms/BILINGUAL.md §7): after
   Enquire, one quiet link to the other language in the Enquire button's type
   without its frame; gold on hover. */
.bar-lang {
  margin-left: -12px; padding: 12px 0 10px; color: inherit;
  font: 300 12px/1.2 var(--font); letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color 0.7s var(--ease);
}
.bar-lang:hover, .bar-lang:focus-visible { color: var(--gold-dark); transition-duration: 0.25s; }
/* Phones: the bar is the logo and a Menu button; the menu is a full panel
   under the bar with the pages, Enquire, the contact lines and the map. */
.bar-menu { display: none; align-items: center; gap: 12px; padding: 10px 0 10px 12px; border: 0; background: none; color: inherit; font: 300 12px/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.bar-menu-icon { position: relative; width: 22px; height: 1px; background: currentColor; transition: background-color 0.2s var(--ease); }
.bar-menu-icon::before, .bar-menu-icon::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
.bar-menu-icon::before { top: -7px; }
.bar-menu-icon::after { top: 7px; }
.bar-menu[aria-expanded="true"] .bar-menu-icon { background: transparent; }
.bar-menu[aria-expanded="true"] .bar-menu-icon::before { transform: translateY(7px) rotate(45deg); }
.bar-menu[aria-expanded="true"] .bar-menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; z-index: 29; left: 0; right: 0; top: var(--bar); bottom: 0; display: flex; flex-direction: column; gap: 28px; padding: 32px var(--edge) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; background: var(--paper); color: var(--ink); }
.menu[hidden] { display: none; }
.menu-links { display: grid; }
.menu-links a { padding: 16px 0 15px; border-bottom: 1px solid var(--rule); font: 200 30px/1.15 var(--display); color: var(--ink); text-decoration: none; }
.menu-links a[aria-current="page"] { color: var(--gold-dark); }
.menu-enquire { align-self: stretch; }
.menu-contact { display: grid; gap: 8px; margin: 0; font: 200 20px/1.3 var(--display); }
.menu-contact a { color: var(--ink); text-decoration: none; }
.menu-map { margin-top: auto; font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
/* The languages in the phone menu and the footer: small caps like the map
   link, the current one gold. */
.menu-lang, .foot-lang { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; }
.menu-lang a { padding: 6px 0; color: var(--charcoal); text-decoration: none; }
.menu-lang a:hover, .menu-lang a[aria-current="true"] { color: var(--gold-dark); }
body.menu-open { overflow: hidden; }
.over-hero.menu-open .bar { color: var(--charcoal); background-color: var(--paper); }
.over-hero.menu-open .bar-logo img { filter: none; }
.over-hero.menu-open .bar-logo-name span:last-child { color: var(--gold-dark); }

.over-hero .bar { position: fixed; left: 0; right: 0; color: #fff; background-color: rgba(var(--shade), 0.26); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.over-hero .bar::after { background: rgba(163, 139, 95, 0.9); }
.over-hero .bar-logo img { filter: brightness(1.45); }
.over-hero .bar-logo-name { border-left-color: rgba(255, 255, 255, 0.45); }
.over-hero .bar-logo-name span:last-child { color: var(--gold-light); }
.over-hero .bar-cta { color: #fff; }
.over-hero .bar-cta:hover, .over-hero .bar-cta:focus-visible { color: var(--charcoal); background: #fff; border-color: #fff; }
.over-hero.is-scrolled .bar { color: var(--charcoal); background-color: rgba(248, 245, 239, 0.84); -webkit-backdrop-filter: blur(14px) saturate(1.05); backdrop-filter: blur(14px) saturate(1.05); }
.over-hero.is-scrolled .bar::after { background: rgba(127, 106, 69, 0.55); }
.over-hero.is-scrolled .bar-logo img { filter: none; }
.over-hero.is-scrolled .bar-logo-name { border-left-color: rgba(127, 106, 69, 0.45); }
.over-hero.is-scrolled .bar-logo-name span:last-child { color: var(--gold-dark); }
.over-hero.is-scrolled .bar-cta { color: var(--charcoal); }
.over-hero.is-scrolled .bar-cta:hover, .over-hero.is-scrolled .bar-cta:focus-visible { color: var(--paper); background: var(--gold-dark); border-color: var(--gold-dark); }
.over-hero .bar-lang:hover, .over-hero .bar-lang:focus-visible { color: var(--gold-light); }
.over-hero.is-scrolled .bar-lang:hover, .over-hero.is-scrolled .bar-lang:focus-visible,
.over-hero.menu-open .bar-lang:hover, .over-hero.menu-open .bar-lang:focus-visible { color: var(--gold-dark); }

/* Home: the film fills most of the first screen so the two ways in show
   beneath it; Learn more (or the first scroll) brings them to full view. */
.hero { position: relative; color: #fff; background: var(--ink); }
.hero-image { width: 100%; height: 80svh; min-height: 520px; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0) 55%, rgba(var(--shade), 0.4) 100%); pointer-events: none; }
.hero-more {
  position: absolute; left: 50%; bottom: clamp(32px, 7vh, 72px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 6px;
  color: #fff; text-decoration: none; font: 400 13px/1 var(--caps); letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 2px rgba(var(--shade), 0.4), 0 1px 12px rgba(var(--shade), 0.6);
  transition: border-color 160ms var(--ease);
}
.hero-more:hover, .hero-more:focus-visible { border-bottom-color: var(--gold); }

/* The estate section: the 3D masterplan fills it; the intro line sits in
   the map's paper haze and the two ways in stand along the bottom. Arriving
   lifts them into place; choosing one parts them so the map can fly. */
.atlas { position: relative; height: calc(100svh - var(--bar)); min-height: 640px; overflow: hidden; background: var(--paper); display: grid; grid-template-rows: 1fr auto; }
.atlas-map { position: absolute; inset: 0; }
.atlas-still, .atlas-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.atlas-still { object-fit: cover; object-position: 70% 50%; }
.atlas-frame { opacity: 0; pointer-events: none; transition: opacity 1200ms var(--ease); }
.atlas.is-live .atlas-frame { opacity: 1; }
.atlas-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 245, 239, 0.55) 0%, rgba(248, 245, 239, 0) 34%); pointer-events: none; }
.atlas-intro { position: relative; z-index: 1; align-self: start; padding: clamp(40px, 7vh, 88px) var(--edge) 0; max-width: 760px; opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
.atlas-intro .intro-text { margin: 0; text-align: left; }
.paths { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 var(--edge) var(--edge); }
.path { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); height: clamp(320px, 54svh, 560px); box-shadow: 0 24px 60px rgba(33, 32, 29, 0.18); opacity: 0; transform: translateY(40px); transition: transform 1000ms var(--ease), opacity 800ms var(--ease); }
.path:nth-child(2) { transition-delay: 90ms; }
.path-image { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1400ms var(--ease); }
.path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0) 28%, rgba(var(--shade), 0.42) 58%, rgba(var(--shade), 0.78) 100%); pointer-events: none; }
.path-copy { position: absolute; z-index: 1; left: clamp(24px, 3.4vw, 56px); right: clamp(24px, 3.4vw, 56px); bottom: clamp(24px, 4vh, 48px); display: grid; justify-items: start; gap: 12px; }
.path-copy .display { color: #fff; font-size: clamp(40px, 4.4vw, 72px); }
.path-line { max-width: 26em; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.path-copy .textlink { margin-top: 6px; }
.path:hover .path-image { transform: scale(1); }
.atlas.is-open .atlas-intro, .atlas.is-open .path { opacity: 1; transform: none; }
.atlas.is-parting .atlas-intro { opacity: 0; transform: translateY(-12px); transition-duration: 500ms; }
.atlas.is-parting .path { transition: transform 1100ms cubic-bezier(0.65, 0, 0.35, 1), opacity 900ms var(--ease) 200ms; transition-delay: 0ms; }
.atlas.is-parting .path:nth-child(1) { transform: translateX(calc(-100% - var(--edge) - 16px)); opacity: 0; }
.atlas.is-parting .path:nth-child(2) { transform: translateX(calc(100% + var(--edge) + 16px)); opacity: 0; }

.intro-text { max-width: 820px; margin: 0 auto; font: 200 clamp(26px, 2.8vw, 40px)/1.3 var(--display); color: var(--ink); }

.panel { position: relative; color: #fff; }
.panel-image { width: 100%; height: min(90svh, 860px); object-fit: cover; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0.06) 30%, rgba(var(--shade), 0.55)); pointer-events: none; }
.panel-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(48px, 10vh, 112px); display: grid; justify-items: center; gap: 18px; padding: 0 var(--pad); text-align: center; }
.panel-copy .display { color: #fff; font-size: clamp(44px, 6vw, 92px); }
.panel-copy p { font-size: 19px; }


/* Section pages open on one photo with the section name. */
.page-hero { position: relative; color: #fff; }
.page-hero-image { width: 100%; height: min(76svh, 760px); min-height: 440px; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0.05) 30%, rgba(var(--shade), 0.55)); pointer-events: none; }
.page-hero-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(40px, 8vh, 88px); display: grid; justify-items: center; gap: 14px; padding: 0 var(--pad); text-align: center; }
.page-hero-copy .display { color: #fff; font-size: clamp(48px, 7vw, 104px); }
.page-hero-copy p { font-size: 19px; max-width: 34em; }

/* A wide picture beside a heading and a paragraph. */
.club-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3vw, 48px) clamp(16px, 2vw, 28px); max-width: 1360px; margin: 0 auto; }
.club-item { margin: 0; }
.club-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-deep); }
.club-item figcaption { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin-top: 16px; align-items: baseline; }
.club-number { grid-row: 1 / 3; font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; color: var(--gold-dark); }
.club-item strong { font: 200 26px/1.15 var(--display); color: var(--ink); }
.club-item figcaption span:last-child { font-size: 15px; color: var(--soft); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 140px); align-items: center; padding: clamp(80px, 10vw, 168px) var(--pad); }
.split.is-reverse .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy { max-width: 30em; }
.split-copy .display { font-size: clamp(36px, 3.6vw, 56px); }
.split-copy p { margin-top: 32px; font-size: 19px; line-height: 1.75; }
.split-copy .textlink { margin-top: 36px; }


/* Sections, separated by the gold hairline rule. */
.section { padding: clamp(88px, 11vw, 168px) var(--pad); }
.section + .section { border-top: 1px solid var(--rule); }
.section-tint { background: var(--paper-deep); }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 96px); text-align: center; }
.section-head > p:not(.eyebrow) { margin-top: 18px; font-size: 19px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; text-align: left; }
.section-foot { margin-top: 56px; text-align: center; }
.note { margin-top: 28px; font-size: 14px; color: var(--soft); text-align: center; }

/* House cards: the whole card is the link. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.card { display: flex; flex-direction: column; text-decoration: none; background: #fff; }
.card[hidden] { display: none; }
.card-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: grid; justify-items: start; gap: 18px; padding: 24px 24px 28px; }
.card h3 { font: 200 30px/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); }
.card-facts { justify-self: stretch; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--rule); padding-top: 16px; }
.card-facts dd { margin: 4px 0 0; font-size: 17px; color: var(--ink); }
.detail-table dt, .card-facts dt { font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
/* A reserved or sold house: its status tag (written after the name) sits
   over the top left of the card's picture. */
.card { position: relative; }
.card-status { position: absolute; z-index: 2; top: clamp(10px, 1.2vw, 16px); left: clamp(10px, 1.2vw, 16px); padding: 8px 12px 7px; background: var(--paper); color: var(--ink); font: 400 11px/1.2 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; }
.card-status.is-sold { background: var(--charcoal); color: var(--paper); }

/* Site plans drawn from the cadastre: neighbours as hairlines, the chosen
   plots in gold, lit together with their list entry. */
.site-plan { display: block; width: 100%; height: auto; overflow: hidden; }
.plan-context { fill: none; stroke: rgba(56, 56, 58, 0.22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-plot path { fill: rgba(226, 200, 146, 0.42); stroke: var(--gold-dark); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill 200ms var(--ease); }
.plan-plot text { fill: var(--ink); font-family: var(--caps); font-weight: 400; letter-spacing: 0.04em; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
a.plan-plot { cursor: pointer; }
.plan-plot.is-hot path, a.plan-plot:hover path, a.plan-plot:focus-visible path { fill: var(--gold); }
.plan-plot.is-hot text { fill: #fff; }

/* Residences: one band per house type. */
.type { display: grid; grid-template-columns: 7fr 5fr; min-height: min(86svh, 820px); border-top: 1px solid var(--rule); }
.page-hero + .type { border-top: 0; }
.type.is-reverse { grid-template-columns: 5fr 7fr; }
.type.is-reverse .type-media { order: 2; }
.type-media { display: block; overflow: hidden; background: var(--paper-deep); }
.type-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.type-media:hover img { transform: scale(1.03); }
.type-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px); }
.type-copy .display { font-size: clamp(36px, 3.6vw, 56px); }
.type-facts { display: flex; gap: 40px; margin: 28px 0 32px; }
.type-facts dt { font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.type-facts dd { margin: 6px 0 0; font: 200 26px/1.1 var(--display); color: var(--ink); }
.type-houses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.type-houses a { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--soft); font-size: 16px; transition: color 160ms var(--ease), padding 220ms var(--ease); }
.type-house-name { font: 200 24px/1.2 var(--display); color: var(--ink); }
.type-houses a span:last-child { color: var(--gold-dark); }
.type-houses a:hover, .type-houses a.is-hot { padding-left: 8px; color: var(--ink); }

.plan-section { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.site-plan.is-residences { max-height: 78svh; }

.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 16px 16px 0; text-align: left; border-bottom: 1px solid var(--rule); font-weight: 300; }
.compare thead th { padding-top: 0; font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); border-bottom-color: var(--gold-dark); }
.compare tbody th a { font: 200 22px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.compare tbody th a:hover { color: var(--gold-dark); }
.compare td { color: var(--ink); font-size: 17px; }

/* Grundstücke: the plan holds still on the left while the plots, grouped
   by size, scroll past on the right. */
.plots-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); padding: clamp(56px, 7vw, 112px) var(--edge); }
.plots-plan-inner { position: sticky; top: calc(var(--bar) + 32px); }
.plots-plan .note { text-align: left; }
.site-plan.is-plots { max-height: calc(100svh - var(--bar) - 160px); }
.plot-band + .plot-band { margin-top: 56px; }
.plot-band h3 { padding-bottom: 14px; border-bottom: 1px solid var(--gold-dark); }
.plot-list { list-style: none; margin: 0; padding: 0; }
.plot-list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "open link" "open price"; align-items: center; column-gap: 20px; row-gap: 2px; padding: 0; border-bottom: 1px solid var(--rule); transition: background-color 200ms var(--ease); }
.plot-open { grid-area: open; display: grid; grid-template-columns: 48px 1fr; grid-template-areas: "shape number" "shape area"; align-items: center; column-gap: 20px; row-gap: 2px; width: 100%; padding: 16px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.plot-open:focus-visible { outline: 1px solid var(--gold-dark); outline-offset: -1px; }
.plot-price:empty { display: none; }
.plot-list li:has(.plot-price:empty) > a { grid-row: 1 / -1; align-self: center; }
.plot-list li > a { align-self: end; }
.plot-price { align-self: start; }
.site-plan.is-plots .plan-plot { cursor: pointer; }
.plot-list li[hidden] { display: none; }
.plot-list li.is-hot { background: rgba(226, 200, 146, 0.18); }
.plot-shape { grid-area: shape; width: 48px; height: 48px; }
.plot-shape path { fill: rgba(226, 200, 146, 0.42); stroke: var(--gold-dark); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot-list li.is-hot .plot-shape path { fill: var(--gold); }
.plot-number { grid-area: number; font: 200 26px/1.1 var(--display); color: var(--ink); }
.plot-area { grid-area: area; font-size: 16px; color: var(--soft); }
.plot-price { grid-area: price; font-size: 14px; color: var(--soft); text-align: right; }
.plot-list a { grid-area: link; justify-self: end; display: inline-flex; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--gold-dark); font: 400 12px/16px var(--caps); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.plot-list a:hover { color: var(--ink); }

.distances { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.distance-group h3 { padding-bottom: 14px; border-bottom: 1px solid var(--gold-dark); }
.distances dl { margin: 0; }
.distances dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.distances dt { font-size: 17px; color: var(--charcoal); }
.distances dd { margin: 0; color: var(--ink); white-space: nowrap; }

/* House page */
.crumbs { display: flex; align-items: center; gap: 12px; padding: 18px var(--edge); font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.crumbs a { text-decoration: none; color: var(--gold-dark); }
.crumbs a:hover { color: var(--ink); }
.crumbs-next { margin-left: auto; }
/* The house's first sections: the lead picture, and below it the house's
   own section. Its card starts as a title card on the picture's bottom-left
   corner (a small turning clay model, the name and the actions) and, as the
   page scrolls, moves down into its section and opens out to fill it: the
   model large on the left, the facts added on the right. The section keeps
   its full height throughout, so nothing below moves (simple/house3d.js sets
   --x, how far the card has opened, 0..1). */
.house-hero .hero-image { display: block; height: min(78svh, 860px); min-height: 520px; }
.house-overview { --closed: 236px; --open: min(66svh, 620px); --gap: clamp(48px, 6vw, 96px); position: relative; height: calc(var(--open) + 2 * var(--gap)); }
.house-card { position: absolute; z-index: 2; left: var(--edge); top: calc((-1 * var(--closed) - 40px) * (1 - var(--x, 0)) + var(--gap) * var(--x, 0)); display: grid; grid-template-columns: calc(212px + (56% - 212px) * var(--x, 0)) 1fr; width: calc(580px + (100% - 2 * var(--edge) - 580px) * var(--x, 0)); height: calc(var(--closed) + (var(--open) - var(--closed)) * var(--x, 0)); background: var(--paper); color: var(--ink); }
.card-house { position: relative; border-right: 1px solid rgba(127, 106, 69, calc(0.46 * (1 - var(--x, 0)))); cursor: grab; }
.card-house.is-dragging { cursor: grabbing; }
.card-house canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card-info { align-self: center; padding: 24px calc(30px + 26px * var(--x, 0)) 26px; }
.card-info .eyebrow { margin-bottom: 10px; font-size: 11px; }
.card-info .display { font-size: calc(32px + 26px * var(--x, 0)); line-height: 1.04; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; margin: calc(26px * var(--x, 0)) 0 0; max-height: calc(190px * var(--x, 0)); opacity: var(--x, 0); overflow: hidden; }
.hero-facts div { padding: 12px 0 13px; border-bottom: 1px solid var(--rule); }
.hero-facts div:nth-child(-n+2) { border-top: 1px solid var(--rule); }
.hero-facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
.hero-facts dt { font: 400 10px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.hero-facts dd { margin: 3px 0 0; font: 200 20px/1.2 var(--display); }
.house-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: calc(18px + 10px * var(--x, 0)); }
.card-info .button { padding: 12px 18px 11px; font-size: 11px; }
.card-info .textlink { font-size: 11px; }
/* Without the scroll (phones, reduced motion): the open section, in flow. */
.house-overview.is-static { --x: 1; height: auto; padding: var(--gap) 0; }
.house-overview.is-static .house-card { position: relative; top: auto; left: auto; width: auto; margin: 0 var(--edge); }

/* The house in a paragraph and six points, then the exposé. */
.house-about { max-width: 1100px; margin: 0 auto; padding-bottom: clamp(24px, 3vw, 48px); text-align: center; }
.house-about { margin-bottom: clamp(48px, 6vw, 88px); }
.about-text { max-width: 820px; margin: 0 auto; font: 200 clamp(22px, 2vw, 28px)/1.5 var(--display); color: var(--ink); text-wrap: pretty; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 48px; max-width: 980px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0; list-style: none; text-align: left; }
.about-points li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center; font: 200 18px/1.35 var(--display); color: var(--ink); }
.about-points svg { width: 38px; height: 38px; fill: none; stroke: var(--gold-dark); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.about-action { margin-top: clamp(44px, 5vw, 72px); }
.button-outline { display: inline-flex; align-items: center; gap: 14px; padding: 15px 26px 14px; border: 1px solid var(--gold-dark); color: var(--gold-dark); font: 400 12px/1.2 var(--caps); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.button-outline:hover { background: var(--gold-dark); color: var(--paper); }

/* Location: a paper panel over the live 3D masterplan. */
.house-location { position: relative; display: grid; align-items: center; min-height: min(86svh, 820px); padding: clamp(48px, 6vw, 96px) var(--edge); overflow: hidden; background: var(--paper-deep); }
.location-map { position: absolute; inset: 0; pointer-events: none; }
.location-still, .location-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.location-frame { opacity: 0; transition: opacity 1.2s var(--ease); }
.house-location.is-live .location-frame { opacity: 1; }
.location-panel { position: relative; z-index: 1; width: min(540px, 100%); padding: clamp(32px, 4vw, 52px); background: rgba(248, 245, 239, 0.95); }
.location-panel .display { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; text-wrap: balance; }
.location-panel > p:not(.eyebrow):not(.location-links) { margin-top: 18px; font-size: 15px; line-height: 1.7; color: var(--charcoal); }
.location-distances { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 0; }
.location-distances div { padding: 11px 0 12px; border-top: 1px solid var(--rule); }
.location-distances div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
.location-distances div:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
.location-distances dt { font: 400 10px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.location-distances dd { margin: 3px 0 0; font: 200 18px/1.2 var(--display); color: var(--ink); }
.location-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; }
/* House gallery: contained, a lead picture with two beside it, then an
   even grid with quiet captions underneath; it opens in a viewer. */
.gallery { padding: clamp(40px, 4.5vw, 64px) var(--edge) clamp(48px, 5vw, 72px); background: var(--paper-deep); }
.gallery > .eyebrow { margin-bottom: 20px; }
/* House pictures: one carousel of masonry pages (a large picture, a tall
   one and two small ones), arrows on its left and right, swipe to move,
   a click opens the full-screen viewer. */
.gallery-item { position: relative; display: block; overflow: hidden; text-decoration: none; color: inherit; background: var(--paper-deep); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.gallery-item:hover img { transform: scale(1.015); }
.carousel-frame { position: relative; }
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-page { flex: 0 0 100%; scroll-snap-align: start; display: grid; gap: 12px; }
@media (min-width: 721px) {
  .carousel-page { height: 30vh; min-height: 240px; grid-template-columns: 2fr 1fr 1fr 1.3fr; grid-template-rows: 1fr 1fr; }
  .carousel-page .gallery-item:nth-child(1) { grid-row: 1 / 3; }
  .carousel-page .gallery-item:nth-child(4) { grid-column: 4; grid-row: 1 / 3; }
  .carousel-page .gallery-item:nth-child(5) { grid-column: 2; grid-row: 2; }
  .carousel-page .gallery-item:nth-child(6) { grid-column: 3; grid-row: 2; }
  .carousel-page.is-1 { grid-template-columns: 1fr; }
  .carousel-page.is-2 { grid-template-columns: 2fr 1fr; }
  .carousel-page.is-2 .gallery-item:nth-child(2) { grid-row: 1 / 3; }
  .carousel-page.is-3 { grid-template-columns: 2fr 1fr 1fr; }
  .carousel-page.is-3 .gallery-item:nth-child(n+2) { grid-row: 1 / 3; }
}
.carousel-prev, .carousel-next { position: absolute; top: calc(50% - 24px); width: 48px; height: 48px; border: 0; background: rgba(248, 245, 239, 0.92); color: var(--charcoal); font: 300 20px/1 var(--font); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), opacity 160ms var(--ease); }
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }
.carousel-prev:hover, .carousel-next:hover { background: var(--gold-dark); color: var(--paper); }
.carousel-prev:disabled, .carousel-next:disabled { opacity: 0; pointer-events: none; }
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(248, 245, 239, 0.97); }
.viewer::backdrop { background: rgba(248, 245, 239, 0.97); }
.viewer figure { position: absolute; inset: 72px clamp(56px, 8vw, 120px) 72px; margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.viewer img { width: 100%; height: 100%; object-fit: contain; }
.viewer figcaption { font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; color: var(--label); text-align: center; }
.viewer button { position: absolute; width: 48px; height: 48px; border: 1px solid var(--rule); background: transparent; color: var(--charcoal); font: 300 20px/1 var(--font); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.viewer button:hover { background: var(--gold-dark); color: var(--paper); border-color: var(--gold-dark); }
.viewer-prev { left: 20px; top: calc(50% - 24px); }
.viewer-next { right: 20px; top: calc(50% - 24px); }
.viewer-close { right: 20px; top: 20px; }

/* House layouts: the furnished 3D floor on paper, the floors and their
   rooms beside it; the planning drawing only where 3D cannot run. */
.layout-viewer { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 4vw, 72px); max-width: 1360px; margin: 0 auto; align-items: start; }
/* The model floats on the page, as on the map page: no box round it. */
.layout-stage { position: relative; aspect-ratio: 1 / 1; max-height: 86svh; }
.layout-canvas { position: absolute; inset: 0; cursor: grab; }
.layout-canvas.is-dragging { cursor: grabbing; }
.layout-canvas canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms var(--ease); }
.layouts.is-live .layout-canvas canvas { opacity: 1; }
.layouts.is-live .layout-canvas.is-loading canvas { opacity: 0; }
.layout-canvas.is-changing-model { cursor: default; }
.layout-canvas.is-loading::after { content: ""; position: absolute; left: calc(50% - 24px); top: 50%; width: 48px; height: 1px; background: var(--gold); animation: layout-load 1.2s ease-in-out infinite; }
@keyframes layout-load { 50% { transform: scaleX(0.3); opacity: 0.3; } }
/* 3D or plan: a small switch on the stage. The plan view shows the chosen
   floor's top-down plan with its rooms; it is also the fallback without 3D. */
.view-toggle { position: absolute; z-index: 2; left: 0; top: 0; display: flex; border: 1px solid var(--rule); background: var(--paper); }
.view-toggle[hidden] { display: none; }
.view-toggle button { padding: 9px 16px 8px; border: 0; background: none; font: 400 11px/1.2 var(--caps); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); cursor: pointer; }
.view-toggle button + button { border-left: 1px solid var(--rule); }
.view-toggle button[aria-pressed="true"] { background: var(--gold-dark); color: var(--paper); }
.layouts.is-plan .layout-canvas { visibility: hidden; }
.layout-plan { position: absolute; inset: 56px 0 0; margin: 0; display: grid; place-items: center; container-type: size; }
.layout-plan[hidden] { display: none; }
.plan-sheet { position: relative; width: min(100cqw, 100cqh * var(--ratio)); aspect-ratio: var(--ratio); }
.plan-sheet img { display: block; width: 100%; height: 100%; mix-blend-mode: multiply; }
.plan-room { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; white-space: nowrap; padding: 2px 5px; background: rgba(252, 251, 248, 0.82); line-height: 1.25; pointer-events: none; }
.plan-room b { font: 400 9px var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.plan-room i { font: 300 9px var(--font); font-style: normal; color: var(--soft); }
.plan-room.is-small b, .plan-room.is-small i { font-size: 7.5px; }
.layout-tabs { display: grid; border-top: 1px solid var(--rule); }
.layout-tab { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--soft); text-align: left; cursor: pointer; font: 300 16px/1.3 var(--font); transition: color 160ms var(--ease), padding 220ms var(--ease); }
.layout-tab span:first-child { font: 200 26px/1.1 var(--display); color: var(--ink); }
.layout-tab[aria-selected="true"] { padding-left: 12px; box-shadow: inset 2px 0 0 var(--gold); }
.layout-tab:hover span:first-child { color: var(--gold-dark); }
.layout-rooms { margin-top: 28px; }
.layout-rooms[hidden] { display: none; }
.layout-rooms dl { margin: 18px 0 24px; }
.layout-rooms dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.layout-rooms dd { margin: 0; color: var(--ink); }
.layouts .note { text-align: left; margin-top: 32px; font-size: 13px; }
.detail-table { margin: 0 auto; max-width: 960px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.detail-table div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.detail-table dd { margin: 0; text-align: right; color: var(--ink); }

/* Contact and footer */
.contact { padding: clamp(64px, 8vw, 112px) var(--pad); text-align: center; background: var(--lake); }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 8px 0 36px; font: 200 clamp(24px, 2.6vw, 34px)/1.3 var(--display); }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--gold-dark); color: var(--ink); }
.foot { background: var(--charcoal); color: var(--paper-deep); padding: 64px var(--pad) 40px; display: grid; justify-items: center; gap: 28px; text-align: center; }
.foot a { color: var(--paper-deep); text-decoration: none; }
.foot a:hover { color: var(--gold-light); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font: 300 12px/1.4 var(--font); letter-spacing: 0.11em; text-transform: uppercase; }
.foot-lang { justify-content: center; }
.foot .foot-lang a[aria-current="true"] { color: var(--gold-light); }

/* Pages with German (the switch is in the bar): between phone and wide
   screens the bar keeps to one line in both languages, so the wordmark
   steps aside and the pages sit closer together. */
@media (min-width: 721px) and (max-width: 1100px) {
  .bar:has(.bar-lang) { gap: 20px; }
  .bar:has(.bar-lang) .bar-logo-name { display: none; }
  .bar:has(.bar-lang) .bar-nav { gap: clamp(14px, 1.8vw, 20px); }
  .bar-lang { margin-left: 0; }
}
/* German words are long: headings, buttons and tiles may break them. */
html[lang="de"] .compare th, html[lang="de"] .button, html[lang="de"] .button-outline,
html[lang="de"] .path-copy, html[lang="de"] .card-body, html[lang="de"] .club-item figcaption {
  -webkit-hyphens: auto; hyphens: auto;
}

@media (max-width: 1080px) {
  .club-grid { grid-template-columns: 1fr 1fr; }
  .plots-layout { grid-template-columns: 1fr; }
  .plots-plan-inner { position: static; }
  .site-plan.is-plots { max-height: 70svh; }
  .cards { grid-template-columns: 1fr 1fr; }
  .distances { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --bar: 68px; --edge: 20px; --pad: 20px; }
  body { font-size: 17px; }
  .bar { gap: 16px; }
  .bar-logo img { width: 40px; height: 40px; }
  .bar-logo { gap: 12px; }
  .bar-logo-name { padding-left: 12px; font-size: 11px; letter-spacing: 0.22em; }
  .bar-nav, .bar-cta, .bar-lang { display: none; }
  .bar-menu { display: inline-flex; }
  .hero-image { height: 74svh; min-height: 460px; }
  .atlas { height: auto; min-height: calc(100svh - var(--bar)); }
  .atlas-intro { padding-top: 32px; }
  .paths { grid-template-columns: 1fr; gap: 12px; padding-top: 28px; }
  .path { height: 44svh; min-height: 340px; }
  .path::after { background: linear-gradient(180deg, rgba(var(--shade), 0.08) 0%, rgba(var(--shade), 0.5) 42%, rgba(var(--shade), 0.82) 100%); }
  .cards, .distances, .detail-table { grid-template-columns: 1fr; }
  .panel-image { height: 80svh; }
  .type, .type.is-reverse, .plan-section, .plots-layout { grid-template-columns: 1fr; }
  .type.is-reverse .type-media { order: 0; }
  .split, .split.is-reverse, .layout-viewer { grid-template-columns: 1fr; }
  .split.is-reverse .split-media { order: 0; }
  .carousel-page { grid-template-columns: 1fr 1fr; gap: 8px; }
  .carousel-page .gallery-item { aspect-ratio: 1; }
  .carousel-page .gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .club-grid { grid-template-columns: 1fr; }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
  .viewer figure { inset: 64px 12px 72px; }
  .viewer-prev, .viewer-next { top: auto; bottom: 16px; }
  .type { min-height: 0; }
  .type-media { aspect-ratio: 4 / 3; }
  .type-copy { padding: 36px 20px 48px; }
  .type-houses a { grid-template-columns: 1fr auto; }
  .type-houses a span:last-child { display: none; }
  .plots-plan-inner { position: static; }
  .site-plan.is-plots { max-height: none; }
  .section-head-row { flex-direction: column; align-items: start; }
  .crumbs > span:not([aria-hidden]) { display: none; }
  .house-actions .button { width: 100%; }
  .house-hero .hero-image { height: 52svh; min-height: 320px; }
  .house-overview.is-static { padding: 0 0 24px; }
  .house-overview.is-static .house-card { margin: 0; grid-template-columns: 1fr; height: auto; }
  .card-house { height: 260px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .card-info { padding: 24px var(--edge) 12px; }
  .about-points { grid-template-columns: 1fr; gap: 22px; }
  .about-text { font-size: 20px; text-align: left; }
  .house-location { padding: 0; min-height: 0; display: block; }
  .location-map { position: relative; height: 260px; }
  .location-panel { width: auto; background: var(--paper-deep); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .atlas-intro, .path { opacity: 1; transform: none; }
}

/* The EU "AI" label on AI-made pictures (Commission icon, black at 50%),
   bottom right of the picture; it opens a short note on how the picture was
   made. */
.house-hero, .card-media, .type-media, .split-media, .club-media, .gallery-item, .house-view { position: relative; }
.ai-mark { position: absolute; z-index: 3; right: clamp(10px, 1.2vw, 16px); bottom: clamp(10px, 1.2vw, 16px); width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: transform 160ms var(--ease); }
.ai-mark:hover, .ai-mark:focus-visible { transform: scale(1.12); }
.ai-mark:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ai-icon { display: block; width: 100%; height: 100%; }
.ai-icon-disc { fill: rgba(0, 0, 0, 0.5); }
.ai-icon-letters { fill: #fff; }
.gallery-item .ai-mark { width: 24px; height: 24px; right: 8px; bottom: 8px; }
.page-hero .ai-mark { bottom: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); }
.ai-note { position: fixed; inset: auto; margin: 0; width: min(340px, calc(100vw - 32px)); padding: 22px 44px 22px 22px; border: 1px solid var(--rule); background: var(--paper); color: var(--charcoal); box-shadow: 0 18px 48px rgba(33, 32, 29, 0.16); }
.ai-note[hidden] { display: none; }
.ai-note-title { margin-bottom: 8px; font: 400 11px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.ai-note-text { font-size: 15px; line-height: 1.55; }
.ai-note-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--soft); font: 300 20px/1 var(--font); cursor: pointer; }
.ai-note-close:hover { color: var(--ink); }
.foot-ai { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--paper-deep); font: 300 12px/1.4 var(--font); letter-spacing: 0.11em; text-transform: uppercase; cursor: pointer; opacity: 0.8; }
.foot-ai:hover { opacity: 1; color: var(--gold-light); }
.foot-ai .ai-icon { width: 22px; height: 22px; }
.foot-ai .ai-icon-disc { fill: rgba(255, 255, 255, 0.85); }
.foot-ai .ai-icon-letters { fill: var(--charcoal); }

/* House page: the whole house from the garden, across the page. */
.house-view { margin: 0; }
.house-view-image { display: block; width: 100%; height: min(86svh, 900px); min-height: 420px; object-fit: cover; }

/* Section heads with links on the right (brochure, all residences). */
.section-links { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.location-intro { padding-bottom: 0; }
.location-intro .intro-text { text-align: center; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }

/* Grundstücke: each plot's page in a sidebar on the right. */
.plot-drawer { position: fixed; inset: 0 0 0 auto; width: min(520px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--rule); background: var(--paper); color: var(--charcoal); overflow-y: auto; transform: translateX(0); }
.plot-drawer::backdrop { background: rgba(33, 32, 29, 0.32); }
.plot-drawer[open] { animation: drawer-in 420ms var(--ease); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.plot-drawer-close { position: sticky; z-index: 2; top: 0; float: right; width: 56px; height: 56px; border: 0; background: var(--paper); color: var(--charcoal); font: 300 24px/1 var(--font); cursor: pointer; }
.plot-drawer-close:hover { color: var(--gold-dark); }
.plot-sheet { padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px) 48px; }
.plot-sheet .display { font-size: clamp(36px, 3.4vw, 48px); }
.plot-sheet-title { margin-top: 10px; font-size: 18px; color: var(--soft); }
.plot-sheet-plan { margin: 28px 0 0; padding: 20px; background: var(--paper-deep); }
.site-plan.is-sheet { display: block; width: 100%; height: auto; max-height: 52svh; }
.plot-sheet-photo { display: block; width: 100%; margin-top: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
.plot-sheet-text { margin-top: 24px; font-size: 17px; line-height: 1.65; }
.plot-sheet-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 0; }
.plot-sheet-facts div { padding: 12px 0 13px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.plot-sheet-facts div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.plot-sheet-facts dt { font: 400 10px/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.plot-sheet-facts dd { margin: 3px 0 0; font: 200 22px/1.2 var(--display); color: var(--ink); }
.plot-sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

@media (max-width: 720px) {
  .house-view-image { height: 60svh; min-height: 320px; }
  .plot-drawer { inset: auto 0 0 0; width: 100vw; height: 92dvh; border-left: 0; border-top: 1px solid var(--rule); }
  @keyframes drawer-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .plot-sheet-actions .button { width: 100%; text-align: center; }
  .ai-note { left: 16px !important; right: 16px; bottom: 16px !important; top: auto !important; width: auto; }
}

/* House 3.2 */
.house-hero--compact .hero-image { height: clamp(390px, 63svh, 700px); min-height: 0; }
.house-overview--compact { --open: clamp(330px, 45svh, 430px); --gap: clamp(8px, 1.2vw, 18px); }
.house-overview--compact .card-info { padding: 20px clamp(22px, 3.2vw, 46px); }
.house-overview--compact .hero-facts { margin-top: calc(18px * var(--x, 0)); }
.house-overview--compact .hero-facts div { padding-block: 8px 9px; }
.house-overview--compact .house-actions { gap: 8px; margin-top: calc(14px + 6px * var(--x, 0)); }
.house-overview--compact .house-actions :is(.button, .button-outline) {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  width: auto; min-width: 112px; min-height: 44px; padding: 10px 16px; font-size: 11px;
}
.house-about--compact { padding-block: clamp(16px, 2vw, 28px) clamp(24px, 3.5vw, 48px); margin-bottom: 0; }
.house-about--compact .about-text { max-width: 760px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.48; }
.house-about--compact .about-points { max-width: 830px; gap: 16px 30px; margin-top: clamp(18px, 2.5vw, 32px); }
.house-about--compact .about-action { margin-top: clamp(18px, 2.5vw, 32px); }
.house-view--compact .house-view-image { height: clamp(380px, 65svh, 720px); min-height: 0; object-position: center 68%; }

.gallery--masonry { position: relative; padding: 8px 0; scroll-margin-block-start: var(--bar); }
.gallery--masonry :is(.carousel-prev, .carousel-next) { top: calc(50% - 22px); width: 44px; height: 44px; background: rgba(248, 245, 239, 0.94); }
.gallery--masonry :is(.carousel-prev, .carousel-next):hover { background: var(--gold-dark); }
.gallery--masonry .carousel-prev { left: 10px; }
.gallery--masonry .carousel-next { right: 10px; }
.gallery-masonry { --gallery-gap: 8px; --gallery-column: 21vw; gap: var(--gallery-gap); height: clamp(252px, 29vw, 470px); scroll-snap-type: none; }
.gallery-cycle { display: grid; flex: none; grid-auto-flow: column; grid-auto-columns: var(--gallery-column); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--gallery-gap); }
.gallery-masonry .gallery-item { min-width: 0; min-height: 0; }
.gallery-masonry .gallery-item:focus-visible, .gallery-masonry:focus-visible { outline-offset: -4px; }
.gallery-cycle .gallery-item:is(:nth-child(8n + 1), :nth-child(8n + 4), :nth-child(8n + 8)) { grid-area: span 2 / span 2; }
.gallery-cycle .gallery-item:is(:nth-child(8n + 7), :last-child:nth-child(8n + 2), :last-child:nth-child(8n + 5)) { grid-row: span 2; }

.layouts--compact { padding-block: clamp(26px, 3.2vw, 48px) clamp(28px, 3.8vw, 56px); scroll-margin-block-start: var(--bar); }
.layouts-heading { max-width: 1360px; margin: 0 auto 14px; }
.layouts--compact .layout-viewer { gap: clamp(22px, 3.5vw, 54px); }
.layouts--compact .layout-stage { aspect-ratio: 1.36; max-height: min(75svh, 660px); }
.layouts--compact .layout-plan { inset-block-start: 38px; }
.layouts--compact.is-plot .view-toggle[hidden] ~ .layout-plan { inset-block-start: 0; }
.layouts--compact .layout-tab { min-height: 46px; padding-block: 12px; }
.layouts--compact .layout-rooms, .layouts--compact .note { margin-top: 18px; }
.layouts--compact .layout-rooms dl { margin-block: 0 12px; }
.layout-plan--line .plan-room { padding: 0 2px; background: var(--paper); }
.layout-plan--line .plan-room b { letter-spacing: 0.04em; }
.layout-plan--line .plan-room i { color: var(--charcoal); }
.layout-plan--model { inset-block-end: 22px; }
.layout-plan--model .plan-sheet img { filter: grayscale(1) contrast(0.87) brightness(1.08); }
.plan-model-span { position: absolute; inset: auto 0 -20px; color: var(--label); text-align: center; font-size: 11px; }

@media (max-width: 720px) {
  .house-hero--compact .hero-image { height: clamp(250px, 44svh, 360px); }
  .house-overview--compact.is-static { padding-bottom: 12px; }
  .house-overview--compact .card-house { height: 188px; }
  .house-overview--compact .card-info { padding: 16px var(--edge) 8px; }
  .house-about--compact .about-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .house-about--compact .about-points li { grid-template-columns: 26px 1fr; gap: 8px; font-size: 15px; }
  .house-about--compact .about-points svg { width: 26px; height: 26px; }
  .house-view--compact .house-view-image { height: clamp(265px, 49svh, 430px); }
  .gallery-masonry { --gallery-column: 32vw; --gallery-gap: 6px; height: clamp(206px, 52vw, 310px); }
  .layouts--compact .layout-stage { aspect-ratio: auto; min-height: clamp(260px, 92vw, 480px); max-height: none; }
  .layouts--compact.is-plot.is-plan .layout-stage { min-height: clamp(290px, 105vw, 520px); }
  .layout-plan--line .plan-room b, .layout-plan--line .plan-room i { font-size: 7.5px; }
  .layout-plan--line .plan-room.is-small b, .layout-plan--line .plan-room.is-small i { font-size: 6px; }
}

