/* ==========================================================================
   Aachener Str. 1274 · site.css (v7)
   Palette from the building: clinker brick, slate roof, mortar ground.
   Type: Archivo (wide cut) for signage-style display, IBM Plex Sans for text,
   IBM Plex Mono for every figure: the house is let by the metre and the month.
   ========================================================================== */

:root {
    --ink: #1D211F;
    --ink-2: #2C312D;
    --ink-3: #3A403B;
    --brick: #A6432B;
    --brick-d: #85321F;
    --brick-l: #C9694F;
    --ground: #F2F3EF;
    --paper: #FFFFFF;
    --stone: #E4E8E3;
    --line: #CFD5CE;
    --muted: #565D57;
    --muted-2: #686F69;
    --on-dark: #E9ECE8;
    --on-dark-2: #A9B0AA;

    --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --wrap: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --sec: clamp(72px, 10vw, 144px);
    --radius: 4px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
    margin: 0;
    font: 400 18px/1.65 var(--f-body);
    color: var(--ink);
    background: var(--ground);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 650; line-height: 1.05; letter-spacing: -0.015em; font-stretch: 112%; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--brick); color: #fff; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
.fig { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--brick); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Type helpers ───────────────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 20px;
    font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
    color: var(--brick);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--brick-l); }
.cta-band .eyebrow--light { color: rgba(255,255,255,.78); }
a[href^="tel:"] { white-space: nowrap; }
.eyebrow b { font-weight: 500; color: var(--ink); }
.h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -0.03em; }
.h2--xl { font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 700; font-stretch: 122%; letter-spacing: -0.04em; line-height: .92; }
.sec__head .h2--xl { max-width: none; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    font: 600 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
    border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--brick { background: var(--brick); color: #fff; }
.btn--brick:hover { background: var(--brick-d); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--brick); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; text-decoration: none; color: var(--ink);
    border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { color: var(--brick); }

/* ── Header ─────────────────────────────────────────────────── */
.hdr {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--hdr-h);
    color: var(--ink);
    background: rgba(242, 243, 239, .92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(29, 33, 31, .08);
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.has-hero .hdr:not(.is-solid) { background: transparent; color: #fff; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
body:not(.has-hero) main { padding-top: var(--hdr-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand__plate {
    display: grid; place-items: center;
    height: 40px; padding: 0 9px;
    font: 700 17px/1 var(--f-display); font-stretch: 125%; letter-spacing: .02em;
    color: #fff; background: var(--brick);
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
    transition: background .3s var(--ease);
}
.brand:hover .brand__plate { background: var(--ink); }
.has-hero .hdr:not(.is-solid) .brand:hover .brand__plate { background: #fff; color: var(--ink); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 650 16px/1.1 var(--f-display); font-stretch: 118%; letter-spacing: -.005em; }
.brand__sub { margin-top: 4px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
    position: relative; display: block; padding: 8px 11px;
    font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
    opacity: .82; transition: opacity .2s;
}
.nav__list a::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current] { opacity: 1; }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
.nav__list a[aria-current]::after { background: var(--brick); height: 2px; }

.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav + .hdr__tools { margin-left: 8px; }
.lang {
    display: grid; place-items: center; width: 40px; height: 40px;
    font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-decoration: none;
    border: 1px solid currentColor; border-radius: 50%; opacity: .75;
    transition: opacity .2s, background .2s;
}
.lang:hover { opacity: 1; }
.lang--lg { width: auto; height: 48px; padding: 0 18px; border-radius: var(--radius); font-size: 13px; }
.hdr__cta { display: none; }
.burger { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
.burger span { width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mnav {
    position: fixed; inset: var(--hdr-h) 0 0; z-index: 99;
    background: var(--ground); padding: 24px var(--gutter) 32px;
    display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mnav[hidden] { display: none; }
.mnav a { text-decoration: none; }
.mnav ul a {
    display: block; padding: 12px 0;
    font: 600 clamp(1.4rem, 6vw, 2rem)/1.1 var(--f-display); font-stretch: 115%;
    border-bottom: 1px solid var(--line);
}
.mnav ul a[aria-current] { color: var(--brick); }
.mnav__foot { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { background: var(--ground) !important; color: var(--ink) !important; }

@media (min-width: 720px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1200px) {
    .nav { display: block; }
    .burger { display: none; }
    .mnav { display: none !important; }
}

/* ── Home hero ──────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); }
.hero__slide.is-on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(20,23,21,.55) 0%, rgba(20,23,21,0) 22%),
        linear-gradient(0deg, rgba(20,23,21,.92) 0%, rgba(20,23,21,.55) 38%, rgba(20,23,21,0) 72%);
}
.hero__body { padding-top: calc(var(--hdr-h) + 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 22px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #6DD39B; box-shadow: 0 0 0 0 rgba(109,211,155,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(109,211,155,0); } 100% { box-shadow: 0 0 0 0 rgba(109,211,155,0); } }
.hero h1 { max-width: 15ch; }
.hero__addr {
    display: block;
    font-size: clamp(2.9rem, 8.4vw, 7.6rem); line-height: .92; font-weight: 700; font-stretch: 122%;
    letter-spacing: -0.035em;
}
/* The house number set like the plate on the facade: brick sign, white figures */
.hero__addr em {
    display: inline-block; font-style: normal; color: #fff; background: var(--brick);
    padding: .06em .14em .02em; margin-top: .06em; border-radius: 2px;
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
}
.hero__what {
    display: block; margin-top: clamp(16px, 2vw, 26px);
    font: 500 clamp(1.1rem, 1.7vw, 1.45rem)/1.35 var(--f-body); letter-spacing: 0; font-stretch: 100%;
    color: rgba(255,255,255,.88); max-width: 34ch;
}
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__caption { font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); text-align: right; min-height: 1.4em; }
.hero__dots { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.hero__dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-on::after { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.facts {
    display: grid; grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255,255,255,.18);
}
.facts li { padding: 18px 16px 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.facts b { display: block; font: 500 clamp(1.3rem, 2.2vw, 1.9rem)/1.1 var(--f-mono); letter-spacing: -0.02em; color: #fff; }
.facts span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.72); }
@media (min-width: 900px) {
    .facts { grid-template-columns: repeat(4, 1fr); }
    .facts li { border-bottom: 0; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
    .facts li:first-child { padding-left: 0; border-left: 0; }
}

/* ── Marquee band ───────────────────────────────────────────── */
.marquee { background: var(--brick); color: #fff; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; padding: 14px 0; animation: marquee 48s linear infinite; }
.marquee__track span { font: 500 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 22px; }
.marquee__track span::after { content: "■"; font-size: 7px; vertical-align: 3px; margin-left: 44px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────── */
.sec { padding: var(--sec) 0; }
.sec--paper { background: var(--paper); }
.sec--stone { background: var(--stone); }
.sec--dark { background: var(--ink); color: var(--on-dark); }
.sec--dark .h2, .sec--dark h3 { color: #fff; }
.sec--dark .lead, .sec--dark .muted { color: var(--on-dark-2); }
.sec__head { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head .h2 { max-width: 18ch; }
@media (min-width: 960px) {
    .sec__head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
    .sec__head--split .lead { justify-self: end; }
}

/* ── Intro + collage ────────────────────────────────────────── */
.intro { display: grid; gap: 40px; }
.intro__text p { color: var(--muted); }
.intro__text .lead { color: var(--ink); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }
.intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.intro__stats b { display: block; font: 500 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--f-mono); letter-spacing: -0.03em; color: var(--ink); }
.intro__stats span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
@media (min-width: 1000px) { .intro { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .intro__text { position: sticky; top: calc(var(--hdr-h) + 40px); } }

.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 64px; gap: 12px; }
.collage figure { position: relative; margin: 0; overflow: hidden; background: var(--stone); border-radius: 2px; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage figcaption {
    position: absolute; left: 10px; bottom: 10px;
    padding: 6px 9px; background: rgba(29,33,31,.78); color: #fff;
    font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.collage .c1 { grid-column: 1 / 5; grid-row: span 5; }
.collage .c2 { grid-column: 5 / 7; grid-row: span 5; }
.collage .c3 { grid-column: 1 / 3; grid-row: span 4; }
.collage .c4 { grid-column: 3 / 7; grid-row: span 4; }
.collage .c5 { grid-column: 1 / 4; grid-row: span 4; }
.collage .c6 { grid-column: 4 / 7; grid-row: span 4; }
@media (max-width: 640px) {
    .collage { grid-auto-rows: 48px; gap: 8px; }
    .collage figcaption { left: 6px; bottom: 6px; font-size: 9.5px; padding: 5px 7px; }
}

/* ── Offer list (exposé rows) ───────────────────────────────── */
.offers { border-top: 1px solid var(--ink); }
.offer {
    position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center;
    padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.offer__no { font: 500 12px/1 var(--f-mono); color: var(--muted-2); letter-spacing: .06em; }
.offer__name { font: 650 clamp(1.4rem, 2.7vw, 2.4rem)/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -0.015em; transition: color .25s; }
.offer__short { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.offer__price { font-size: 15px; text-align: right; white-space: nowrap; }
.offer__price .fig { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); }
.offer__price .unit, .offer__price .vat { display: block; font-size: 12.5px; color: var(--muted-2); }
.offer__go { display: none; }
.offer__thumb { display: none; }
/* Mobile: number on its own line, name + price side by side, description below */
.offer__no { grid-column: 1 / -1; }
.offer__name { grid-column: 1; grid-row: 2; }
.offer__price { grid-column: 2; grid-row: 2; align-self: start; }
.offer__short { grid-row: 3; margin: 0; }
.offer:hover .offer__name { color: var(--brick); }
@media (min-width: 900px) {
    .offer { grid-template-columns: 56px 1.25fr 1.4fr 170px 48px; gap: 24px; padding: 26px 0; }
    .offer__no, .offer__name, .offer__price, .offer__short { grid-column: auto; grid-row: auto; }
    .offer__price { align-self: center; }
    .offer__go { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease); }
    .offer:hover .offer__go { background: var(--brick); border-color: var(--brick); color: #fff; transform: rotate(-45deg); }
    .offer__thumb {
        display: block; position: absolute; right: 230px; top: 50%; z-index: 3; width: 260px; aspect-ratio: 4 / 3;
        transform: translateY(-50%) scale(.92) rotate(-2deg); opacity: 0; pointer-events: none;
        transition: opacity .3s var(--ease), transform .45s var(--ease);
        box-shadow: 0 24px 50px -20px rgba(29,33,31,.45);
    }
    .offer__thumb img { width: 100%; height: 100%; object-fit: cover; }
    .offer:hover .offer__thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }
}

/* ── House section (3D slot / floors) ───────────────────────── */
.house { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .house { grid-template-columns: 1fr 1fr; gap: 72px; } }
.house__img { position: relative; }
.house__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.house__badge {
    position: absolute; left: -12px; bottom: 28px;
    padding: 16px 18px; background: var(--brick); color: #fff;
    font: 700 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display); font-stretch: 125%;
    box-shadow: 0 20px 40px -18px rgba(0,0,0,.5);
}
.house__badge small { display: block; margin-top: 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.floors { border-top: 1px solid rgba(255,255,255,.18); margin-top: 28px; }
.floors li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.floors b { font: 500 13px/1.5 var(--f-mono); letter-spacing: .08em; color: var(--brick-l); }
.floors span { color: var(--on-dark); }

/* ── House in 3D: exploded floor stack (CSS 3D + SVG plans, 1 m = 20 px) ── */
.h3d { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .h3d { grid-template-columns: 7fr 5fr; gap: 48px; } }
.h3d__stage { position: relative; height: 640px; overflow: hidden; }
.h3d__scale { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; transform-origin: 50% 50%; perspective: 2200px; perspective-origin: 50% 20%; }
.h3d__rig {
    --gap: 78px;
    position: absolute; left: 140px; top: 360px; width: 382px; height: 255px;
    transform-style: preserve-3d;
    transform: rotateX(57deg) rotateZ(-36deg);
    transition: transform 1.2s var(--ease);
}
.h3d:hover .h3d__rig { transform: rotateX(54deg) rotateZ(-30deg); }
.h3d__floor {
    position: absolute; left: 0; top: 0; width: 382px; height: 255px;
    transform-style: preserve-3d;
    transform: translateZ(calc(var(--i) * var(--gap)));
    transition: transform .9s var(--ease), opacity .6s var(--ease);
    cursor: pointer;
}
.h3d__floor--site { top: -114px; height: 461px; }
.h3d__plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.h3d__face { position: absolute; backface-visibility: hidden; }
.h3d__face--front { left: 0; top: 255px; width: 382px; height: 16px; transform-origin: top; transform: rotateX(-90deg); background: linear-gradient(90deg, #9C4029, #B24E33); }
.h3d__face--side { left: 382px; top: 0; width: 16px; height: 255px; transform-origin: left; transform: rotateY(90deg); background: #6E2A1A; }
.h3d__floor--site .h3d__face--front { top: 369px; }
.h3d__floor--site .h3d__face--side { top: 114px; }
.h3d__floor[data-floor="kg"] .h3d__face--front { background: #4A504B; }
.h3d__floor[data-floor="kg"] .h3d__face--side { background: #353A36; }
.h3d__tag {
    position: absolute; left: -64px; top: 120px;
    font: 600 15px/1 var(--f-mono); letter-spacing: .08em; color: var(--on-dark-2);
    transition: color .4s;
}
.h3d__floor--site .h3d__tag { top: 234px; }
/* Selected floor lifts a little; floors above it fly up out of the way, floors below dim */
.h3d__floor.is-active { transform: translateZ(calc(var(--i) * var(--gap) + 18px)); }
.h3d__floor.is-above { transform: translateZ(calc(var(--i) * var(--gap) + 185px)); opacity: .14; }
.h3d__floor.is-below { opacity: .4; }
.h3d__floor.is-active .h3d__tag { color: #fff; }

/* SVG plan styles (units are metres) */
.h3d__plan .p-shell { fill: #F2F3EF; stroke: #1D211F; stroke-width: .28; }
.h3d__plan .p-apt { fill: #E9C9B8; stroke: #A6432B; stroke-width: .08; }
.h3d__plan .p-apt--b { fill: #E2BBA7; }
.h3d__plan .p-apt--c { fill: #EED5C6; }
.h3d__plan .p-office { fill: #D9DED8; stroke: #5C635E; stroke-width: .08; }
.h3d__plan .p-store { fill: #C9CFC8; stroke: #5C635E; stroke-width: .08; }
.h3d__plan .p-wall { fill: none; stroke: #A6432B; stroke-width: .12; opacity: .55; }
.h3d__plan .p-stair { fill: #3A403B; }
.h3d__plan .p-steps { stroke: #8A918B; stroke-width: .06; fill: none; }
.h3d__plan .p-yard { fill: #CDD2CB; }
.h3d__plan .p-front { fill: #B9BFB8; }
.h3d__plan .p-pass { fill: #A9B0AA; }
.h3d__plan .p-fire { fill: none; stroke: #C0392B; stroke-width: .08; stroke-dasharray: .3 .2; }
.h3d__plan .p-bike rect, .h3d__plan .p-bike path { fill: none; stroke: #1D211F; stroke-width: .07; }
.h3d__plan .p-bal { fill: #F2F3EF; stroke: #1D211F; stroke-width: .08; }
.h3d__plan .p-park rect { fill: none; stroke: #fff; stroke-width: .12; }
.h3d__plan .p-door { stroke: #A6432B; stroke-width: .5; }
.h3d__plan text { font-family: var(--f-body); fill: #1D211F; }
.h3d__plan .p-t { font-size: 1.05px; font-weight: 600; }
.h3d__plan .p-s { font-size: .72px; fill: #454B46; }
.h3d__plan .p-pk { font: 600 .8px var(--f-mono); fill: #fff; }
.h3d__plan .p-v { writing-mode: vertical-rl; }

.h3d__list { border-top: 1px solid rgba(255,255,255,.2); }
.h3d__list li { border-bottom: 1px solid rgba(255,255,255,.12); }
.h3d__btn {
    width: 100%; display: grid; grid-template-columns: 58px 1fr 20px; gap: 14px; align-items: center;
    padding: 16px 0; background: none; border: 0; color: var(--on-dark); text-align: left; cursor: pointer;
}
.h3d__btag { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--on-dark-2); }
.h3d__bname b { display: block; font: 600 1.08rem/1.25 var(--f-display); font-stretch: 110%; color: #fff; }
.h3d__bname small { display: block; margin-top: 3px; font-size: 13px; color: var(--on-dark-2); }
.h3d__btn .ic { color: var(--on-dark-2); transition: transform .3s var(--ease); }
.h3d__btn[aria-selected="true"] .h3d__btag { color: var(--brick-l); }
.h3d__btn[aria-selected="true"] .ic { transform: rotate(90deg); color: var(--brick-l); }
.h3d__info { padding: 0 0 20px 72px; color: var(--on-dark-2); font-size: 15px; }
.h3d__info p { margin: 0 0 12px; }
.js .h3d__info { display: none; }
.js .h3d__info.is-open { display: block; }
.h3d__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.h3d__links .link-arrow { color: #fff; font-size: 14.5px; }
.h3d__links .link-arrow:hover { color: var(--brick-l); }
.h3d__note { margin: 18px 0 0; font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 999px) { .h3d__stage { height: 480px; } }
@media (max-width: 640px) { .h3d__stage { height: 380px; } }

/* ── Location ───────────────────────────────────────────────── */
.loc { display: grid; gap: 40px; }
@media (min-width: 1000px) { .loc { grid-template-columns: 7fr 5fr; gap: 56px; align-items: stretch; } }
.map { position: relative; min-height: 420px; height: 100%; background: var(--ink-2); border-radius: 2px; overflow: hidden; }
.map__frame { position: absolute; inset: 0; }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--on-dark-2); }
.map__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.map__ph div { position: relative; }
.leaflet-container { font: inherit; background: #dfe3dd; }
/* OSM tiles toned down to the site's mortar greys so the brick pin carries the colour */
.map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.pin { width: 22px; height: 22px; border-radius: 50%; background: var(--brick); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(166,67,43,.25), 0 6px 14px rgba(0,0,0,.35); }

.dist { border-top: 1px solid rgba(255,255,255,.18); }
.dist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.dist .ic { width: 20px; height: 20px; color: var(--brick-l); }
.dist small { display: block; color: var(--on-dark-2); font-size: 13px; }
.dist .fig { color: #fff; }
.sec:not(.sec--dark) .dist { border-color: var(--ink); }
.sec:not(.sec--dark) .dist li { border-color: var(--line); }
.sec:not(.sec--dark) .dist .ic { color: var(--brick); }
.sec:not(.sec--dark) .dist small { color: var(--muted); }
.sec:not(.sec--dark) .dist .fig { color: var(--ink); }

/* ── Apartments ─────────────────────────────────────────────── */
.apts { display: grid; gap: 20px; }
@media (min-width: 860px) { .apts { grid-template-columns: repeat(3, 1fr); } }
.apt { display: flex; flex-direction: column; background: var(--paper); text-decoration: none; color: inherit; }
.apt__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.apt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.apt:hover .apt__img img { transform: scale(1.05); }
.apt__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.apt__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.apt__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { display: inline-block; padding: 5px 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; }
.apt__img .tag { position: absolute; left: 12px; top: 12px; }

/* Apartment detail with gallery */
.aptd { display: grid; gap: 32px; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.aptd:first-of-type { border-top: 0; }
@media (min-width: 1000px) { .aptd { grid-template-columns: 4fr 8fr; gap: 56px; } .aptd__info { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; } }
.aptd__specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin: 24px 0; }
.aptd__specs li { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); }
.aptd__specs b { display: block; font: 500 1.35rem/1 var(--f-mono); }
.aptd__specs span { font-size: 13px; color: var(--muted); }
.gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 72px; gap: 10px; }
.gal a { position: relative; display: block; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gal a:hover img { transform: scale(1.05); }
.gal a:nth-child(1) { grid-column: span 4; grid-row: span 5; }
.gal a:nth-child(2) { grid-column: span 2; grid-row: span 5; }
.gal a:nth-child(n+3) { grid-column: span 2; grid-row: span 3; }
/* 6 images: two rows of two under the lead pair; 7 images: three, then two wide */
.gal[data-count="6"] a:nth-child(n+3) { grid-column: span 3; }
.gal[data-count="7"] a:nth-child(n+6) { grid-column: span 3; grid-row: span 4; }
.nw { white-space: nowrap; }
@media (max-width: 640px) { .gal { grid-auto-rows: 52px; gap: 6px; } }

/* ── Lightbox ───────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(15,17,16,.94); padding: 56px 16px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.3); color: #fff; cursor: pointer; }
.lb button:hover { background: var(--brick); border-color: var(--brick); }
.lb__x { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.phero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.phero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,23,21,.6) 0%, rgba(20,23,21,.15) 30%, rgba(20,23,21,.88) 100%); }
.phero__body { padding-top: calc(var(--hdr-h) + 64px); padding-bottom: clamp(36px, 5vw, 64px); width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.phero h1 { font-size: clamp(2.8rem, 7.4vw, 6.8rem); line-height: .98; font-weight: 700; font-stretch: 118%; letter-spacing: -0.03em; max-width: 16ch; }
.phero__lead { margin-top: 22px; max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.86); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); font-size: 13.5px; background: rgba(29,33,31,.35); backdrop-filter: blur(6px); }
.chip .ic { color: var(--brick-l); }

/* ── Product (inner page body) ──────────────────────────────── */
.prod { display: grid; gap: 40px; }
@media (min-width: 1000px) { .prod { grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; } }
.card {
    background: var(--paper);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 30px 60px -40px rgba(29,33,31,.35);
}
@media (min-width: 1000px) { .card--sticky { position: sticky; top: calc(var(--hdr-h) + 28px); } }
.card__label { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.card__title { margin: 12px 0 6px; font-size: 1.5rem; }
.card__price { margin: 18px 0 4px; font-size: 15px; color: var(--muted); }
.card__price .fig { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--ink); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.card__from { display: block; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.card__rows { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.card__rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.card__rows li span:first-child { color: var(--muted); }
.card__rows li span:last-child { font-weight: 500; text-align: right; }
.card__actions { display: grid; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #1F7A4D; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2FA36B; }

.checks { display: grid; gap: 2px 28px; margin: 24px 0 8px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.checks .ic { color: var(--brick); margin-top: 4px; }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.prose p, .prose li { color: var(--ink-3); }
.prose ul { margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--brick); }
.prose a { color: var(--brick); }

.fig-img { margin: 44px 0 0; }
.fig-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sec--paper .tile { background: var(--ground); }
.duo { display: grid; gap: 20px; }
@media (min-width: 800px) { .duo { grid-template-columns: 1fr 1fr; } }
.tile { background: var(--paper); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.tile__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tile__price .fig { font-size: 1.6rem; }

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--paper); padding: 28px 26px 30px; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 18px; font: 500 13px/1 var(--f-mono); color: var(--brick); letter-spacing: .1em; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

.more { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .more { grid-template-columns: repeat(3, 1fr); } }
.more a { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--paper); text-decoration: none; transition: background .25s; }
.more a:hover { background: var(--ink); color: #fff; }
.more a:hover .muted { color: var(--on-dark-2); }
.more h3 { font-size: 1.2rem; display: flex; justify-content: space-between; gap: 12px; }
.more .fig { font-size: 15px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 20px 0; cursor: pointer; list-style: none;
    font: 600 clamp(1.02rem, 1.3vw, 1.15rem)/1.35 var(--f-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; color: var(--brick); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: -4px 0 22px; max-width: 64ch; color: var(--muted); }

/* ── CTA band + footer ──────────────────────────────────────── */
.cta-band { background: var(--brick); color: #fff; padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta-band::before {
    content: "1274"; position: absolute; right: -2vw; bottom: -6vw;
    font: 800 clamp(10rem, 26vw, 24rem)/1 var(--f-display); font-stretch: 125%; letter-spacing: -0.04em;
    color: rgba(255,255,255,.07); pointer-events: none;
}
.cta-band__in { position: relative; display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .cta-band__in { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }
.cta-band__title { font-size: clamp(1.9rem, 4vw, 3.4rem); max-width: 20ch; }
.cta-band__txt { margin: 18px 0 0; color: rgba(255,255,255,.85); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ftr { background: var(--ink); color: var(--on-dark-2); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.2fr 1.3fr 1fr 1.2fr; gap: 48px; } }
.brand--light { color: #fff; }
.ftr__addr { margin-top: 24px; line-height: 1.8; color: var(--on-dark); }
.ftr__hours { margin-top: 10px; font-size: 14px; }
.ftr__h { margin-bottom: 18px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brick-l); font-stretch: 100%; }
.ftr__list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.ftr__list a { color: var(--on-dark); }
.ftr__price { font-size: 12.5px; white-space: nowrap; }
.ftr__price .fig { color: var(--on-dark); }
.ftr__price .unit { color: var(--on-dark-2); }
.ftr__facts li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.ftr__facts .ic { color: var(--brick-l); }
.ftr__facts .fig { color: var(--on-dark); font-size: 13px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px var(--gutter) 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* ── Inquiry dialog + forms ─────────────────────────────────── */
.inq { width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.inq::backdrop { background: rgba(15,17,16,.7); backdrop-filter: blur(4px); }
.inq__form { padding: clamp(22px, 4vw, 34px); display: grid; gap: 12px; }
.inq__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.inq__head h2 { font-size: 1.6rem; }
.inq__x { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.inq__x:hover { border-color: var(--ink); }
.inq__lead { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.inq__legal { margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
.inq__legal a { color: var(--ink); }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.fld input, .fld select, .fld textarea {
    width: 100%; padding: 12px 14px; font: 400 16px/1.4 var(--f-body); color: var(--ink);
    background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .2s, background .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.fld.is-bad input, .fld.is-bad textarea { border-color: #B3261E; }
.form-msg { margin: 0; font-size: 14.5px; min-height: 1em; }
.form-msg.is-ok { color: #1F7A4D; font-weight: 600; }
.form-msg.is-err { color: #B3261E; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

/* ── Contact page ───────────────────────────────────────────── */
.contact { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.cinfo li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cinfo .ic { width: 22px; height: 22px; color: var(--brick); justify-self: center; }
.cinfo a { text-decoration: none; font-weight: 600; }
.cinfo small { display: block; color: var(--muted); font-size: 13px; }
.how { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how > div { background: var(--paper); padding: 28px; }
.how .ic { width: 28px; height: 28px; color: var(--brick); margin-bottom: 16px; }
.how h3 { font-size: 1.2rem; margin-bottom: 10px; }
.how p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ── Legal pages ────────────────────────────────────────────── */
.legal { padding: clamp(48px, 7vw, 96px) 0; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 32px; }

/* ── Reveal on scroll (only when JS is running) ─────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-img] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js [data-reveal-img].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal-img] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js [data-reveal-img].is-in img { transform: scale(1); }
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: .07s; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: .14s; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: .21s; }
.js [data-stagger].is-in > *:nth-child(5) { transition-delay: .28s; }
.js [data-stagger].is-in > *:nth-child(6) { transition-delay: .35s; }
.js [data-stagger].is-in > *:nth-child(7) { transition-delay: .42s; }
.js [data-stagger].is-in > *:nth-child(n+8) { transition-delay: .49s; }

.shot .hero { min-height: 900px; }
.shot .phero { min-height: 680px; }
.shot .hdr { position: absolute; }
.shot [data-reveal], .shot [data-stagger] > * { opacity: 1 !important; transform: none !important; }
.shot [data-reveal-img] { clip-path: none !important; }
.shot [data-reveal-img] img { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
    .js [data-reveal-img] { clip-path: none; }
    .marquee__track { animation: none; }
}

/* ==========================================================================
   v7.2 · Scroll story home: collage hero, sticky chapters, drawn map, horizontal gallery
   ========================================================================== */
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }

/* Hero: portfolio cover, giant type over a floating photo collage */
.hx { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hx::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(120% 80% at 0% 100%, rgba(20,23,21,.92) 0%, rgba(20,23,21,.55) 45%, rgba(20,23,21,0) 75%); }
.hx__media { position: absolute; inset: 0; z-index: 0; }
.hx__f { position: absolute; margin: 0; overflow: hidden; border-radius: 3px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
    transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--py, 0) * 1px + var(--my, 0) * 1px), 0); will-change: transform; }
.hx__f img { width: 100%; height: 100%; object-fit: cover; }
.hx__f figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; background: rgba(29,33,31,.75); font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.hx__f1 { right: 3%; top: 11%; width: 46%; aspect-ratio: 4 / 3; }
.hx__f2 { right: 46%; top: 9%; width: 13%; aspect-ratio: 3 / 4; }
.hx__f3 { right: 31%; top: 52%; width: 19%; aspect-ratio: 4 / 3; }
.hx__f4 { right: 2%; top: 62%; width: 24%; aspect-ratio: 4 / 3; }
.hx__f5 { right: 61%; top: 5%; width: 9%; aspect-ratio: 3 / 4; opacity: .85; }
.hx__body { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 28px; }
.hx__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hx__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #6DD39B; animation: pulse 2.4s infinite; }
.hx__title { margin: 0; }
.hx__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hx__line > span { display: inline-block; font-size: clamp(3.4rem, 12.5vw, 13.5rem); line-height: .86; font-weight: 750; font-stretch: 125%; letter-spacing: -0.05em; }
.hx__line em { display: inline-block; font-style: normal; background: var(--brick); padding: 0 .1em .02em; border-radius: 3px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hx__what { display: block; max-width: 40ch; margin-top: clamp(18px, 2.4vw, 30px); font: 500 clamp(1.1rem, 1.6vw, 1.45rem)/1.4 var(--f-body); letter-spacing: 0; color: rgba(255,255,255,.9); }
.hx__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hx__facts { margin-top: clamp(28px, 4vw, 48px); }
.hx__scroll { position: absolute; z-index: 3; right: var(--gutter); bottom: 34px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; display: none; }
.hx__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1100px) { .hx__scroll { display: block; } }
/* intro: lines rise, photos float in */
.js .hx__line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hx__line:nth-child(2) > span { transition-delay: .12s; }
.js .hx.is-in .hx__line > span { transform: none; }
.js .hx__f { opacity: 0; scale: .9; transition: opacity 1.2s var(--ease) var(--d), scale 1.4s var(--ease) var(--d); }
.js .hx.is-in .hx__f { opacity: 1; scale: 1; }
.js .hx.is-in .hx__f5 { opacity: .85; }
.js .hx__what, .js .hx__actions, .js .hx__facts, .js .hx__kicker { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }
.js .hx.is-in .hx__what, .js .hx.is-in .hx__actions, .js .hx.is-in .hx__facts, .js .hx.is-in .hx__kicker { opacity: 1; transform: none; }
@media (max-width: 899px) {
    .hx__f2, .hx__f5, .hx__f3 { display: none; }
    .hx__f1 { right: -8%; top: 10%; width: 92%; }
    .hx__f4 { right: 4%; top: 34%; width: 44%; }
    .hx::before { background: linear-gradient(0deg, rgba(20,23,21,.96) 0%, rgba(20,23,21,.7) 50%, rgba(20,23,21,.15) 100%); }
    .hx__body { padding-top: 46vh; }
}

/* Sticky chapters: photo stays, text scrolls, photo changes per chapter */
.story__grid { display: grid; gap: 40px; }
.story__media { display: none; }
.story__mimg { margin: 0 0 22px; }
.story__mimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__no { margin: 0 0 10px; font: 500 13px/1 var(--f-mono); letter-spacing: .12em; color: var(--brick); }
.story__h { font-size: clamp(2rem, 3.6vw, 3.4rem); letter-spacing: -0.03em; }
.story__p { margin-top: 18px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--muted); max-width: 42ch; }
.story__step { padding-bottom: 48px; }
@media (min-width: 1000px) {
    .story__grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
    .story__media { display: block; position: sticky; top: calc(var(--hdr-h) + 24px); height: calc(100vh - var(--hdr-h) - 48px); align-self: start; overflow: hidden; border-radius: 3px; background: var(--stone); }
    .story__img { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
    .story__img.is-on { opacity: 1; transform: none; }
    .story__img img { width: 100%; height: 100%; object-fit: cover; }
    .story__count { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; background: rgba(29,33,31,.8); color: #fff; font: 500 13px/1 var(--f-mono); letter-spacing: .1em; }
    .story__mimg { display: none; }
    .story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 0; opacity: .25; transition: opacity .6s var(--ease); }
    .story__step.is-on { opacity: 1; }
}

/* Drawn location map with scroll steps */
.lage__grid { display: grid; gap: 32px; }
.lage__map { position: sticky; top: var(--hdr-h); z-index: 2; background: var(--paper); padding: 8px 0; }
.lage__mapin { background: var(--ground); border: 1px solid var(--line); border-radius: 3px; }
.lagemap { display: block; width: 100%; height: auto; }
.lage__step { padding: 28px 0; border-top: 1px solid var(--line); }
.lage__fig { margin: 0; font: 500 clamp(2.8rem, 6vw, 5.6rem)/1 var(--f-mono); letter-spacing: -0.05em; color: var(--ink); }
.lage__h { margin-top: 10px; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.lage__p { margin-top: 10px; color: var(--muted); max-width: 44ch; }
@media (max-width: 999px) { .lage__step { min-height: 46vh; } }
@media (min-width: 1000px) {
    .lage__grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
    .lage__map { top: calc(var(--hdr-h) + 24px); align-self: start; padding: 0; }
    .lage__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s var(--ease); border-top: 0; }
    .lage__step.is-on { opacity: 1; }
}
.lagemap .lm-gridline { stroke: rgba(29,33,31,.05); stroke-width: 1; }
.lagemap .lm-street { fill: none; stroke: #D3D8D1; stroke-width: 7; stroke-linecap: round; }
.lagemap .lm-main { fill: none; stroke: #fff; stroke-width: 22; stroke-linecap: round; filter: drop-shadow(0 1px 0 #C3C9C2); }
.lagemap .lm-street-t { font: 600 13px var(--f-mono); letter-spacing: .3em; fill: #8A918B; }
.lagemap .lm-tram { fill: none; stroke: var(--brick); stroke-width: 5; stroke-linecap: round; }
.lagemap .lm-rail { fill: none; stroke: var(--ink); stroke-width: 5; }
.lagemap .lm-rail-ties { fill: none; stroke: var(--ground); stroke-width: 3; stroke-dasharray: .006 .012; }
.lagemap .lm-mw { fill: none; stroke: #2E6DB4; stroke-width: 9; stroke-linecap: round; }
.lagemap .lm-route { fill: none; stroke: var(--brick); stroke-width: 3; stroke-dasharray: .012 .01; }
.lagemap .lm-arrowhead { fill: var(--brick); }
.lagemap .lm-shield { fill: #2E6DB4; }
.lagemap .lm-shield-t { font: 700 17px var(--f-display); fill: #fff; text-anchor: middle; }
.lagemap .lm-station { fill: #fff; stroke: var(--ink); stroke-width: 5; }
.lagemap .lm-stop { fill: #fff; stroke: var(--brick); stroke-width: 4; }
.lagemap .lm-bus { fill: var(--brick); }
.lagemap .lm-poi { fill: var(--ink); }
.lagemap .lm-poi-b { fill: #E3D3C9; stroke: var(--ink); stroke-width: 2; }
.lagemap .lm-label { font: 600 17px var(--f-body); fill: var(--ink); }
.lagemap .lm-small { font: 500 13px var(--f-mono); fill: var(--muted); }
.lagemap .lm-end { text-anchor: end; }
.lagemap .lm-mid { text-anchor: middle; }
.lagemap .lm-plate { fill: var(--brick); }
.lagemap .lm-plate-t { font: 700 15px var(--f-display); fill: #fff; text-anchor: middle; dominant-baseline: middle; }
.lagemap .lm-pulse { fill: rgba(166,67,43,.18); transform-origin: 495px 314px; animation: lmpulse 2.4s infinite; }
@keyframes lmpulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.lagemap .lm-north { fill: var(--ink); }
.lagemap .lm-scale { stroke: var(--ink); stroke-width: 2; fill: none; }
/* layer reveal: lines draw, labels pop; cumulative classes s1..s5 on the wrapper */
.lagemap [pathLength] { transition: stroke-dashoffset 1.6s var(--ease); }
.lagemap .lm-tram, .lagemap .lm-rail, .lagemap .lm-mw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lagemap .lm-route { opacity: 0; transition: opacity .8s; }
.lagemap .lm-rail-ties { opacity: 0; transition: opacity .8s .8s; }
.lagemap .lm-pop { opacity: 0; transition: opacity .6s var(--ease) .5s; }
.s1 .lm-l1 .lm-tram, .s2 .lm-l2 .lm-rail, .s3 .lm-l3 .lm-mw { stroke-dashoffset: 0; }
.s1 .lm-l1 .lm-pop, .s2 .lm-l2 .lm-pop, .s3 .lm-l3 .lm-pop, .s4 .lm-l4 .lm-pop, .s5 .lm-l5 .lm-pop { opacity: 1; }
.s2 .lm-l2 .lm-rail-ties, .s3 .lm-l3 .lm-route, .s5 .lm-l5 .lm-route { opacity: 1; }
.lagemap g { transition: opacity .6s; }
/* focus the layer of the current step, dim the others */
.lage__mapin[data-cur="1"] .lm-l2, .lage__mapin[data-cur="1"] .lm-l3, .lage__mapin[data-cur="1"] .lm-l4, .lage__mapin[data-cur="1"] .lm-l5,
.lage__mapin[data-cur="2"] .lm-l1, .lage__mapin[data-cur="2"] .lm-l3, .lage__mapin[data-cur="2"] .lm-l4, .lage__mapin[data-cur="2"] .lm-l5,
.lage__mapin[data-cur="3"] .lm-l1, .lage__mapin[data-cur="3"] .lm-l2, .lage__mapin[data-cur="3"] .lm-l4, .lage__mapin[data-cur="3"] .lm-l5,
.lage__mapin[data-cur="4"] .lm-l1, .lage__mapin[data-cur="4"] .lm-l2, .lage__mapin[data-cur="4"] .lm-l3, .lage__mapin[data-cur="4"] .lm-l5,
.lage__mapin[data-cur="5"] .lm-l2, .lage__mapin[data-cur="5"] .lm-l3, .lage__mapin[data-cur="5"] .lm-l4 { opacity: .3; }
.no-js .lagemap .lm-tram, .no-js .lagemap .lm-rail, .no-js .lagemap .lm-mw { stroke-dashoffset: 0; }
.no-js .lagemap .lm-pop, .no-js .lagemap .lm-route, .no-js .lagemap .lm-rail-ties { opacity: 1; }

/* Horizontal gallery: vertical scroll moves the track sideways (desktop); swipe on mobile */
.hgal { position: relative; background: var(--ink); color: #fff; }
.hgal__pin { padding: var(--sec) 0 48px; }
.hgal__head { margin-bottom: 36px; }
.hgal__head .h2 { color: #fff; }
.hgal__track { display: flex; gap: 18px; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hgal__track::-webkit-scrollbar { display: none; }
.hgal__item { position: relative; flex: 0 0 80vw; aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; border-radius: 3px; cursor: zoom-in; }
.hgal__item:nth-child(3n+2) { flex-basis: 56vw; aspect-ratio: 3 / 4; }
.hgal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hgal__item:hover img { transform: scale(1.04); }
.hgal__cap { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; background: rgba(29,33,31,.78); font-size: 13.5px; backdrop-filter: blur(6px); }
.hgal__cap .fig { color: var(--brick-l); margin-right: 6px; }
.hgal__bar { margin: 28px var(--gutter) 0; height: 2px; background: rgba(255,255,255,.15); }
.hgal__bar span { display: block; height: 100%; width: 0; background: var(--brick-l); }
@media (min-width: 900px) {
    .hgal.is-pinned { height: 340vh; }
    .hgal.is-pinned .hgal__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 16px) 0 32px; overflow: hidden; }
    .hgal.is-pinned .hgal__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
    .hgal__item { flex: 0 0 auto; height: min(58vh, 560px); width: auto; aspect-ratio: 4 / 3; }
    .hgal__item:nth-child(3n+2) { flex-basis: auto; aspect-ratio: 3 / 4; }
}

/* static render for screenshots */
.shot .hgal.is-pinned { height: auto; }
.shot .hgal.is-pinned .hgal__pin { position: static; height: auto; }
.shot .story__step, .shot .lage__step { opacity: 1; }
.shot .hx__line > span, .shot .hx__f, .shot .hx__what, .shot .hx__actions, .shot .hx__facts, .shot .hx__kicker { opacity: 1 !important; transform: none !important; scale: 1 !important; }
.shot .hx { min-height: 900px; }
.hx__f5 { display: none; }
.shot .story__media { height: 760px; }
@media (min-width: 700px) { .shot .story__step { min-height: 0; padding: 120px 0; } }
@media (min-width: 700px) { .shot .lage__step { min-height: 0; padding: 80px 0; } }
.shot .hgal__item { height: 520px; }
@media (max-width: 899px) { .shot .hx__body { padding-top: 400px; } .shot .story__step { padding: 40px 0; } .shot .lage__step { min-height: 0; } }
/* static photo strip on rental pages: swipe/scroll sideways, no pinning */
.hgal--static .hgal__pin { padding: clamp(56px, 8vw, 96px) 0; }
@media (min-width: 900px) { .hgal--static .hgal__track { overflow-x: auto; } .hgal--static .hgal__item { height: min(48vh, 440px); } }

/* ==========================================================================
   v7.3 · Hero: full-bleed photo slideshow, type and thumbnails on one grid
   ========================================================================== */
.hx::before {
    background:
        linear-gradient(180deg, rgba(20,23,21,.55) 0%, rgba(20,23,21,0) 26%),
        linear-gradient(90deg, rgba(20,23,21,.88) 0%, rgba(20,23,21,.55) 42%, rgba(20,23,21,.1) 75%),
        linear-gradient(0deg, rgba(20,23,21,.9) 0%, rgba(20,23,21,0) 38%);
}
.hx__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hx__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hx__slide.is-on { opacity: 1; }
.hx__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.08); }
.hx__slide.is-on img { animation: kenburns 8s linear forwards; }

.hx__body { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; padding-bottom: 0; }
.hx__main { max-width: 900px; }
.hx__line > span { font-size: clamp(3.2rem, 10.4vw, 10.5rem); }
.hx__facts { grid-column: 1 / -1; margin: 8px 0 0; }
.hx__facts li { padding-bottom: 26px; }

.hx__thumbs { display: none; gap: 12px; justify-self: end; }
.hx__thumb {
    position: relative; width: 168px; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer;
    opacity: .62; transition: opacity .3s, transform .4s var(--ease);
}
.hx__thumb:hover, .hx__thumb.is-on { opacity: 1; }
.hx__thumb:hover { transform: translateY(-4px); }
.hx__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); }
.hx__thumb span { display: block; margin-top: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.hx__thumb i { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.hx__thumb i::after { content: ""; position: absolute; inset: 0; background: var(--brick-l); transform: scaleX(0); transform-origin: left; }
.hx__thumb.is-on i::after { animation: dotfill 6.5s linear forwards; }
.hx__thumb.is-on img { outline: 2px solid var(--brick-l); outline-offset: 3px; }

@media (min-width: 1100px) {
    .hx__body { grid-template-columns: 1fr auto; }
    .hx__thumbs { display: flex; padding-bottom: 6px; }
}
@media (max-width: 899px) {
    .hx::before { background: linear-gradient(0deg, rgba(20,23,21,.95) 0%, rgba(20,23,21,.6) 55%, rgba(20,23,21,.25) 100%); }
    .hx__body { padding-top: calc(var(--hdr-h) + 30vh); }
    .hx__slide img { object-position: 30% 40%; }
}
.shot .hx__slide img { animation: none; transform: none; }
@media (max-width: 899px) { .shot .hx__body { padding-top: 360px; } }
@media (min-width: 1100px) { .hx__body { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 1100px) and (max-width: 1499px) { .hx__thumb { width: 128px; } }
@media (min-width: 1100px) { .hx__main { grid-column: 1 / -1; grid-row: 1; } .hx__thumbs { grid-column: 2; grid-row: 1; align-self: end; } .hx__what { max-width: 36ch; } }
.hx__main { max-width: none; }

/* ==========================================================================
   v7.4 · Hero: calmer, tighter; "1274" as four overlapping house-number tiles
   ========================================================================== */
.hx::before {
    background:
        linear-gradient(180deg, rgba(20,23,21,.5) 0%, rgba(20,23,21,0) 22%),
        linear-gradient(90deg, rgba(20,23,21,.82) 0%, rgba(20,23,21,.45) 38%, rgba(20,23,21,0) 68%),
        linear-gradient(0deg, rgba(20,23,21,.85) 0%, rgba(20,23,21,0) 30%);
}
.hx__body { padding-top: calc(var(--hdr-h) + 24px); }
.hx__kicker { margin-bottom: 14px; }
.hx__title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hx__street {
    display: block; font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: .95;
    font-weight: 700; font-stretch: 122%; letter-spacing: -0.04em; color: #fff;
}
.hx__num { display: flex; padding: .08em 0 .04em .02em; }
.hx__num > span {
    position: relative; z-index: calc(1 + var(--i));
    display: inline-grid; place-items: center;
    width: .82em; height: 1.02em; margin-left: -0.1em;
    font-size: clamp(4.2rem, 10vw, 10rem); line-height: 1; font-weight: 800; font-stretch: 125%; letter-spacing: 0;
    color: #fff; background: var(--brick);
    border-radius: 4px;
    box-shadow: -10px 14px 30px -12px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.14);
    transform: rotate(var(--r));
}
.hx__num > span:first-child { margin-left: 0; }
.hx__num > span:nth-child(1) { --r: -4deg; background: #9C3D27; }
.hx__num > span:nth-child(2) { --r: 2.5deg; background: #A6432B; }
.hx__num > span:nth-child(3) { --r: -2deg; background: #B04A30; }
.hx__num > span:nth-child(4) { --r: 3.5deg; background: #BA5336; }
.hx__what { margin: 18px 0 0; max-width: 38ch; font: 500 clamp(1.05rem, 1.35vw, 1.3rem)/1.45 var(--f-body); color: rgba(255,255,255,.92); }
.hx__actions { margin-top: 22px; }
.hx__facts { margin-top: 26px; }
.hx__facts li { padding-top: 16px; padding-bottom: 20px; }

/* intro: street line rises, then the tiles drop in one after another and land on each other */
.js .hx__street { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hx.is-in .hx__street { opacity: 1; transform: none; }
.js .hx__num > span { opacity: 0; transform: translateY(-70%) rotate(calc(var(--r) * -4)) scale(1.35); }
.js .hx.is-in .hx__num > span { animation: tile .9s cubic-bezier(.2, .9, .25, 1.15) forwards; animation-delay: calc(.45s + var(--i) * .16s); }
@keyframes tile {
    0% { opacity: 0; transform: translateY(-70%) rotate(calc(var(--r) * -4)) scale(1.35); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: rotate(var(--r)); }
}
.hx__num > span { transition: transform .35s var(--ease); }
.hx__num:hover > span { transform: rotate(0deg) translateY(-4px); }
.shot .hx__street, .shot .hx__num > span { opacity: 1 !important; animation: none !important; transform: rotate(var(--r)) !important; }
@media (prefers-reduced-motion: reduce) { .js .hx__num > span, .js .hx__street { opacity: 1; transform: rotate(var(--r)); animation: none; } }
@media (max-width: 899px) { .hx__body { padding-top: calc(var(--hdr-h) + 28vh); } }

/* ==========================================================================
   v7.5 · Hero: title fills the screen height, info column bottom right
   ========================================================================== */
.hx { justify-content: stretch; }
.hx::before {
    background:
        linear-gradient(180deg, rgba(20,23,21,.45) 0%, rgba(20,23,21,0) 20%),
        linear-gradient(90deg, rgba(20,23,21,.78) 0%, rgba(20,23,21,.4) 45%, rgba(20,23,21,.15) 70%, rgba(20,23,21,.55) 100%),
        linear-gradient(0deg, rgba(20,23,21,.7) 0%, rgba(20,23,21,0) 35%);
}
.hx__body {
    --hs: clamp(3.4rem, min(20vh, 13.5vw), 15.5rem);   /* one size drives the whole title */
    min-height: 100vh; min-height: 100svh;
    display: grid; grid-template-columns: 1fr; gap: 32px; align-content: end;
    padding-top: calc(var(--hdr-h) + 20px); padding-bottom: clamp(28px, 5vh, 56px);
}
.hx__kicker { margin-bottom: 1.2vh; }
.hx__title { display: block; }
.hx__street { display: block; font-size: var(--hs); line-height: .84; font-weight: 750; font-stretch: 125%; letter-spacing: -0.05em; }
.hx__num { display: flex; margin-top: .06em; padding: .1em 0 0 .02em; font-size: var(--hs); }
.hx__num > span { font-size: 1em; width: .8em; height: 1em; }
.hx__side { max-width: 420px; }
.hx__what { margin: 0; max-width: none; font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
.hx__actions { margin-top: 22px; }
.hx__actions .btn { flex: 1 1 auto; }
.hx__facts2 { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.22); }
.hx__facts2 li { padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hx__facts2 b { display: block; font: 500 clamp(1.25rem, 1.8vw, 1.7rem)/1.1 var(--f-mono); letter-spacing: -0.02em; }
.hx__facts2 span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.72); }
.hx__thumbs, .hx__facts { display: none !important; }
@media (min-width: 1000px) {
    .hx__body { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); align-items: end; gap: 48px; }
    .hx__side { padding-bottom: .4vh; }
}
@media (max-width: 999px) {
    .hx__body { --hs: clamp(3.2rem, 17vw, 9rem); padding-top: calc(var(--hdr-h) + 18vh); }
}
.js .hx__side { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) .9s, transform .9s var(--ease) .9s; }
.js .hx.is-in .hx__side { opacity: 1; transform: none; }
.js .hx__street:nth-child(2) { transition-delay: .12s; }
.shot .hx__side { opacity: 1 !important; transform: none !important; }
.shot .hx__body { min-height: 900px; }
@media (max-width: 999px) { .shot .hx__body { padding-top: 260px; } }
@media (min-width: 1000px) { .hx__main { grid-column: 1; grid-row: 1; } .hx__side { grid-column: 2; grid-row: 1; } }
@media (max-width: 999px) { .hx__body { --hs: clamp(3rem, 14vw, 8.5rem); } }
@media (min-width: 1000px) {
  .hx__body { position: relative; grid-template-columns: 1fr; }
  .hx__main { grid-column: 1; }
  .hx__side { position: absolute; right: var(--gutter); bottom: clamp(28px, 5vh, 56px); width: min(400px, 34%); padding: 0; }
  .hx__actions .btn { flex: 0 1 auto; min-height: 50px; padding: 13px 20px; font-size: 15px; }
  .hx__facts2 li { padding: 10px 10px 10px 0; }
}
@media (min-width: 1000px) { .hx__side { grid-column: auto; grid-row: auto; } }
/* v7.6: title size = min(height budget, width budget); hero hugs its content, no empty band under the header */
.hx { min-height: 0; }
.hx__body { min-height: 0; align-content: start; padding-top: calc(var(--hdr-h) + 18px);
  --hs: max(3rem, min(calc((100vh - 190px) / 2.85), calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 5.7))); }
.shot .hx, .shot .hx__body { min-height: 0; }
@media (max-width: 999px) { .hx__body { --hs: clamp(3rem, 14vw, 8.5rem); padding-top: calc(var(--hdr-h) + 34vh); } .shot .hx__body { padding-top: 330px; } }
@media (min-width: 1000px) { .hx__body { --hs: max(3rem, min(calc((100vh - 190px) / 2.85), calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 6.3))); } .hx__side { width: min(380px, 32%); } }

/* ==========================================================================
   v7.7 · Even sections: one heading size, full-width "cinema" chapters,
   tidier offer list, two-column SEO text
   ========================================================================== */
.h2, .h2--xl { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 700; font-stretch: 120%; letter-spacing: -0.035em; line-height: .95; }
.sec__head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec__head .h2 { max-width: 16ch; }
@media (min-width: 960px) { .sec__head--split { align-items: end; } .sec__head--split .lead { margin: 0 0 .3em; } }

/* Cinema chapters: the section pins, each photo fills the screen, text sits on the photo */
.cine-sec { padding-bottom: 0; }
.cine { position: relative; margin-top: clamp(8px, 2vw, 24px); }
.cine__ch { position: relative; margin-bottom: 48px; }
.cine__img { margin: 0; overflow: hidden; }
.cine__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cine__txt { padding-top: 20px; }
.cine__h { font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -0.03em; }
.cine__p { margin: 12px 0 0; color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.cine__navwrap, .cine__marks { display: none; }
@media (min-width: 900px) {
    .cine { height: calc(var(--n) * 100vh); }
    .cine__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--ink); }
    .cine__ch { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
    .cine__ch.is-on { opacity: 1; z-index: 1; }
    .cine__img { position: absolute; inset: 0; }
    .cine__img img { height: 100%; aspect-ratio: auto; transform: scale(1.07); transition: transform 2.4s var(--ease); }
    .cine__ch.is-on .cine__img img { transform: none; }
    .cine__img::after { content: ""; position: absolute; inset: 0;
        background: linear-gradient(0deg, rgba(20,23,21,.88) 0%, rgba(20,23,21,.35) 38%, rgba(20,23,21,0) 62%),
                    linear-gradient(180deg, rgba(20,23,21,.45) 0%, rgba(20,23,21,0) 22%); }
    .cine__txt { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); padding: 0 var(--gutter); color: #fff; }
    .cine__h { font-size: clamp(3rem, 7vw, 7rem); font-weight: 700; font-stretch: 122%; letter-spacing: -0.045em; line-height: .92; color: #fff;
        transform: translateY(30px); opacity: 0; transition: transform 1s var(--ease) .15s, opacity 1s var(--ease) .15s; }
    .cine__p { margin-top: 18px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.35vw, 1.3rem);
        transform: translateY(24px); opacity: 0; transition: transform 1s var(--ease) .3s, opacity 1s var(--ease) .3s; }
    .cine__ch.is-on .cine__h, .cine__ch.is-on .cine__p { transform: none; opacity: 1; }
    .cine__navwrap { display: flex; justify-content: flex-end; position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); z-index: 3; pointer-events: none; }
    .cine__nav { margin: 0; padding: 0; list-style: none; border-left: 1px solid rgba(255,255,255,.25); }
    .cine__nav li { position: relative; padding: 9px 0 9px 18px; color: rgba(255,255,255,.5); font-size: 15px; font-weight: 500; transition: color .4s; }
    .cine__nav li .fig { margin-right: 10px; font-size: 12.5px; }
    .cine__nav li::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--brick-l); transform: scaleY(0); transition: transform .5s var(--ease); }
    .cine__nav li.is-on { color: #fff; }
    .cine__nav li.is-on::before { transform: none; }
    .cine__marks { display: grid; grid-template-rows: repeat(var(--n), 1fr); position: absolute; inset: 0; pointer-events: none; }
}
@media (min-width: 900px) { .shot .cine { height: auto; } .shot .cine__pin { position: relative; height: 820px; } }

/* Offer list: wider name column, names stay on one line where they can */
.offer__name { font-size: clamp(1.35rem, 2.1vw, 2.05rem); }
@media (min-width: 900px) { .offer { grid-template-columns: 48px minmax(0, 1.55fr) minmax(0, 1.25fr) 150px 48px; } }

/* SEO text: sticky heading left, copy right */
@media (min-width: 1000px) {
    .prose--split { max-width: none; display: grid; grid-template-columns: 5fr 7fr; column-gap: 72px; }
    .prose--split > * { grid-column: 2; }
    .prose--split > h2:first-child { grid-column: 1; grid-row: 1 / span 30; align-self: start; position: sticky; top: calc(var(--hdr-h) + 32px);
        margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; }
    .prose--split > h2:first-child + p { margin-top: 0; }
}

.cta-band__title { max-width: 24ch; }

/* ==========================================================================
   v8 · Strict premium: calm type, even grid, trust and facts up front
   ========================================================================== */
/* Type: normal-width Archivo, measured sizes, one heading scale */
h1, h2, h3, h4 { font-stretch: 104%; }
.h2, .h2--xl { font-size: clamp(2.1rem, 3.6vw, 3.5rem); font-weight: 650; font-stretch: 104%; letter-spacing: -0.025em; line-height: 1.02; }
.sec__head .h2 { max-width: 18ch; }
.h3 { font-stretch: 104%; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.phero h1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); font-weight: 650; font-stretch: 104%; letter-spacing: -0.03em; line-height: 1; }
.cine__h { font-stretch: 104% !important; font-weight: 650 !important; letter-spacing: -0.03em !important; }
@media (min-width: 900px) { .cine__h { font-size: clamp(2.6rem, 5vw, 5rem) !important; } }
.story__h, .lage__h, .offer__name, .h3d__bname b, .card__title, .brand__name, .mnav ul a, .faq summary { font-stretch: 104%; }

/* Hero: same layout, quieter letterforms; 1274 as one straight plate, digits appear in turn */
.hx__street { font-weight: 650; font-stretch: 104%; letter-spacing: -0.035em; line-height: .9; }
.hx__body { --hs: max(3rem, min(calc((100vh - 190px) / 2.9), calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 5.4))); }
@media (min-width: 1000px) { .hx__body { --hs: max(3rem, min(calc((100vh - 190px) / 2.9), calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 5.4))); } }
@media (max-width: 999px) { .hx__body { --hs: clamp(3rem, 15vw, 8.5rem); } }
.hx__num { gap: 0; padding: .06em 0 0; }
.hx__num > span { --r: 0deg !important; margin-left: 0; width: .66em; height: 1.04em; border-radius: 0; background: var(--brick) !important; box-shadow: none; font-weight: 650; font-stretch: 104%; }
.hx__num > span:first-child { border-radius: 3px 0 0 3px; padding-left: .08em; width: .74em; }
.hx__num > span:last-child { border-radius: 0 3px 3px 0; padding-right: .08em; width: .74em; }
.hx__num { filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.hx__num:hover > span { transform: none; }
.js .hx__num > span { opacity: 1; transform: none; color: transparent; }
.js .hx.is-in .hx__num > span { animation: digit .7s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .14s); }
@keyframes digit { from { color: transparent; transform: translateY(14%); } to { color: #fff; transform: none; } }
.shot .hx__num > span { color: #fff !important; transform: none !important; }

/* Trust strip */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust__grid li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.trust__grid .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--brick); margin-top: 2px; }
.trust__grid b { font-size: 15px; font-weight: 600; }
.trust__grid span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 900px) { .trust__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) {
    .trust__grid { grid-template-columns: repeat(6, 1fr); }
    .trust__grid li { border-bottom: 0; padding: 30px 18px; border-left: 1px solid var(--line); }
    .trust__grid li:first-child { border-left: 0; padding-left: 0; }
}

/* Intro + Objektdaten card */
.intro2 { display: grid; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 1000px) { .intro2 { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } }
.facts-card { margin: 0; background: var(--ground); padding: 8px 26px 12px; }
.facts-card div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts-card div:last-child { border-bottom: 0; }
.facts-card dt { font: 500 11.5px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.facts-card dd { margin: 0; font-size: 15px; font-weight: 500; }

/* Price table */
.ptable { border-top: 1px solid var(--ink); }
.ptable__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s; }
.ptable__row--head { display: none; }
.ptable__name b { display: block; font: 650 clamp(1.15rem, 1.6vw, 1.4rem)/1.2 var(--f-display); font-stretch: 104%; letter-spacing: -0.01em; }
.ptable__name small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.ptable__term { font-size: 14.5px; color: var(--ink-3); }
.ptable__price { font-size: 14px; white-space: nowrap; }
.ptable__price .fig { font-size: 1.25rem; color: var(--ink); }
.ptable__price .unit, .ptable__price .vat { font-size: 12.5px; color: var(--muted-2); }
.ptable__go { display: none; }
.ptable__row:not(.ptable__row--head):hover { background: var(--paper); }
.ptable__row:not(.ptable__row--head):hover .ptable__name b { color: var(--brick); }
@media (max-width: 899px) { .ptable__row .status { display: none; } .ptable__price { grid-column: 2; grid-row: 1; align-self: start; } .ptable__term { grid-column: 1; } }
@media (min-width: 900px) {
    .ptable__row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 120px 190px 44px; gap: 24px; padding: 22px 12px; margin: 0 -12px; }
    .ptable__row--head { display: grid; padding: 12px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line); }
    .ptable__r { text-align: right; }
    .ptable__go { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
    .ptable__row:hover .ptable__go { background: var(--brick); border-color: var(--brick); color: #fff; }
}

/* Photo grid */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.pgrid__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); cursor: zoom-in; }
.pgrid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pgrid__item:hover img { transform: scale(1.04); }
.pgrid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 13.5px; color: #fff; background: linear-gradient(0deg, rgba(20,23,21,.75), rgba(20,23,21,0)); }

/* Contact block (replaces the brick CTA band on every page) */
.contactband { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0; }
.contactband__in { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .contactband__in { grid-template-columns: 6fr 5fr; gap: 72px; } }
.contactband__card { background: var(--ground); padding: clamp(22px, 3vw, 34px); }
.contactband__org { margin: 0 0 6px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contactband__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contactband .cinfo li:last-child { border-bottom: 0; }

/* Calmer chapter text and SEO prose heading */
.prose--split > h2:first-child { font-weight: 650; }
@media (min-width: 900px) { .ptable__row { margin: 0; padding: 22px 0; } .ptable__row--head { padding: 12px 0; } .ptable__row:not(.ptable__row--head):hover { background: none; } }

/* ==========================================================================
   v9 · Clean hero: the photo carries the page; title, one line, two buttons
   ========================================================================== */
.hero9 { position: relative; min-height: 100vh; min-height: 100svh; max-height: 1100px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero9__bg { position: absolute; inset: 0; z-index: -2; }
.hero9::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(0deg, rgba(20,23,21,.82) 0%, rgba(20,23,21,.45) 32%, rgba(20,23,21,0) 60%),
                linear-gradient(180deg, rgba(20,23,21,.45) 0%, rgba(20,23,21,0) 18%); }
.hero9 .hx__slide img { object-position: center 42%; }
.hero9__body { position: relative; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(36px, 7vh, 72px); }
.hero9__title { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .1em; font-size: clamp(2.9rem, 7.2vw, 7.2rem); }
.hero9__street { font-size: 1em; font-weight: 650; font-stretch: 104%; letter-spacing: -0.035em; line-height: .95; }
.hero9__num {
    display: inline-block; font-size: 1em; font-weight: 650; font-stretch: 104%; line-height: 1; letter-spacing: .01em;
    padding: .04em .16em .02em; background: var(--brick); border-radius: 3px;
}
.hero9__lead { margin: clamp(18px, 2.4vh, 26px) 0 0; max-width: 44ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: rgba(255,255,255,.9); }
.hero9__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero9__dots { display: flex; gap: 22px; margin-top: 40px; }
.hero9__dot { width: auto; opacity: .55; }
.hero9__dot span { margin: 0 0 10px; }
.hero9__dot i { position: relative; bottom: auto; display: block; width: 110px; }
.hero9__dot.is-on img, .hero9__dot img { display: none; }
@media (min-width: 1000px) {
    .hero9__dots { position: absolute; right: var(--gutter); bottom: clamp(36px, 7vh, 72px); margin: 0; }
}
@media (max-width: 640px) { .hero9__dots { gap: 14px; } .hero9__dot i { width: 80px; } .hero9__actions .btn { flex: 1 1 100%; } }
/* intro */
.js .hero9__street, .js .hero9__num, .js .hero9__lead, .js .hero9__actions, .js .hero9__dots { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero9__num { transition-delay: .12s; }
.js .hero9__lead { transition-delay: .24s; }
.js .hero9__actions { transition-delay: .34s; }
.js .hero9__dots { transition-delay: .5s; }
.js .hero9.is-in .hero9__street, .js .hero9.is-in .hero9__num, .js .hero9.is-in .hero9__lead, .js .hero9.is-in .hero9__actions, .js .hero9.is-in .hero9__dots { opacity: 1; transform: none; }
.shot .hero9 { min-height: 900px; }
.shot .hero9__street, .shot .hero9__num, .shot .hero9__lead, .shot .hero9__actions, .shot .hero9__dots { opacity: 1 !important; transform: none !important; }
.hero9::after { background: linear-gradient(0deg, rgba(20,23,21,.86) 0%, rgba(20,23,21,.6) 38%, rgba(20,23,21,.12) 72%), linear-gradient(90deg, rgba(20,23,21,.35) 0%, rgba(20,23,21,0) 55%), linear-gradient(180deg, rgba(20,23,21,.45) 0%, rgba(20,23,21,0) 18%); }
.hero9__street, .hero9__lead { text-shadow: 0 2px 24px rgba(0,0,0,.35); }

/* ── Hero variants for review (?hero=a|b|c) ───────────────────── */
/* A · split: dark panel with copy, tall entrance photo */
.hA { display: grid; min-height: 100vh; min-height: 100svh; background: var(--ink); color: #fff; }
.hA__panel { display: flex; align-items: flex-end; padding: calc(var(--hdr-h) + 48px) var(--gutter) clamp(40px, 7vh, 72px); }
.hA__in { width: 100%; max-width: 620px; margin-left: auto; }
.hA__title { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .12em; font-size: clamp(2.8rem, 5.4vw, 5.6rem); font-weight: 650; letter-spacing: -0.035em; line-height: .96; }
.hA__num { display: inline-block; padding: .04em .16em .02em; background: var(--brick); border-radius: 3px; letter-spacing: .01em; }
.hA__lead { margin: 26px 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: rgba(255,255,255,.82); }
.hA__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hA__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid rgba(255,255,255,.18); }
.hA__facts li { padding: 16px 12px 0 0; }
.hA__facts b { display: block; font: 500 1.5rem/1 var(--f-mono); }
.hA__facts span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.65); }
.hA__img { margin: 0; min-height: 52vh; position: relative; }
.hA__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (min-width: 1000px) {
    .hA { grid-template-columns: 1fr 1fr; }
    .hA__panel { padding-right: clamp(40px, 5vw, 80px); }
}
@media (max-width: 999px) { .hA__img { order: -1; } .hA__panel { padding-top: 40px; } .hA__img { margin-top: var(--hdr-h); } }

/* B · bright courtyard photo */
.hB .hx__slide img { object-position: center 35%; animation: none; transform: none; }
.hB::after { background: linear-gradient(0deg, rgba(20,23,21,.85) 0%, rgba(20,23,21,.5) 35%, rgba(20,23,21,0) 65%), linear-gradient(180deg, rgba(20,23,21,.4) 0%, rgba(20,23,21,0) 18%); }

/* C · editorial: title on paper, wide photo band below */
.hC { background: var(--ground); padding-top: calc(var(--hdr-h) + clamp(40px, 7vh, 80px)); }
.hC__top { display: grid; gap: 28px; align-items: end; padding-bottom: clamp(32px, 5vh, 56px); }
@media (min-width: 1000px) { .hC__top { grid-template-columns: 1.6fr 1fr; gap: 64px; } }
.hC__title { margin: 0; font-size: clamp(2.8rem, 6.4vw, 6.4rem); font-weight: 650; letter-spacing: -0.035em; line-height: .98; color: var(--ink); }
.hC__num { display: inline-block; padding: .02em .16em 0; background: var(--brick); color: #fff; border-radius: 3px; letter-spacing: .01em; }
.hC__lead { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.hC__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hC__img { margin: 0; height: clamp(320px, 58vh, 640px); overflow: hidden; }
.hC__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.page-home.hero-light .hdr:not(.is-solid) { color: var(--ink); }
/* hero A final: capped height, copy centred, solid dark header over the split */
.hA { min-height: min(100svh, 920px); }
@media (min-width: 1000px) { .hA__panel { align-items: center; padding-top: calc(var(--hdr-h) + 32px); padding-bottom: 48px; } .hA__img { margin-top: var(--hdr-h); } }
.page-home .hdr:not(.is-solid) { background: rgba(29,33,31,.96); }
.hA__title { font-size: clamp(2.8rem, 4.6vw, 5.2rem); }

/* ==========================================================================
   v10 · Hero "flight into the house number": 1274 cut out of the brick facade,
   scroll zooms through the digits into the full photo (GSAP ScrollTrigger)
   ========================================================================== */
.page-home .hdr:not(.is-solid) { background: rgba(242,243,239,.92); color: var(--ink); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(29,33,31,.08); }
.z { position: relative; background: var(--ground); }
.z__pin { position: relative; min-height: calc(100svh - var(--hdr-h)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.z__img { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.z__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.z__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,23,21,.85) 0%, rgba(20,23,21,.35) 45%, rgba(20,23,21,.1) 100%); }

.z__intro { position: relative; z-index: 2; padding-top: clamp(28px, 5vh, 56px); padding-bottom: clamp(28px, 5vh, 56px); }
.z__title { margin: 0; display: flex; flex-direction: column; }
.z__street { display: block; font-size: clamp(1.6rem, 3.2vw, 3rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.z__num {
    display: block; margin: .02em 0 0 -0.04em;
    font-size: min(33vw, 52vh); font-weight: 800; font-stretch: 112%; letter-spacing: -0.045em; line-height: .78;
    color: var(--brick);
    background: url(/images/haus/aachener-strasse-1274-klinkerfassade.webp) center 45% / cover no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transform-origin: 58% 52%; will-change: transform;
    padding-bottom: .04em;
}
.z__row { display: grid; gap: 22px; align-items: end; margin-top: clamp(22px, 3.5vh, 40px); }
@media (min-width: 1000px) { .z__row { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.z__lead { margin: 0; max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.z__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.z__hint { position: absolute; right: var(--gutter); top: clamp(28px, 5vh, 56px); display: none; align-items: center; gap: 12px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.z__hint i { width: 1px; height: 46px; background: linear-gradient(var(--brick), transparent); animation: hint 1.8s infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.z__after { position: absolute; left: 0; right: 0; bottom: clamp(32px, 7vh, 72px); z-index: 3; color: #fff; opacity: 0; pointer-events: none; }
.z__claim { margin: 0 0 26px; font: 650 clamp(2.2rem, 5vw, 4.6rem)/1 var(--f-display); font-stretch: 104%; letter-spacing: -0.03em; }
.z__facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.28); }
.z__facts li { padding: 16px 16px 0 0; }
.z__facts b { display: block; font: 500 clamp(1.4rem, 2.2vw, 2rem)/1 var(--f-mono); }
.z__facts span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.75); }
@media (min-width: 900px) { .z__facts { grid-template-columns: repeat(4, 1fr); } }

/* enhanced (JS + motion allowed): the section pins and plays as you scroll */
.z.is-live { height: 260vh; }
.z.is-live .z__pin { position: sticky; top: var(--hdr-h); height: calc(100svh - var(--hdr-h)); min-height: 0; }
.z.is-live .z__hint { display: flex; }
.z.is-done .z__after { pointer-events: auto; }
.z__num { display: inline-block; align-self: flex-start; font-size: min(33vw, 52vh, calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 2.6)); }
@media (max-width: 699px) { .z__num { font-size: calc((100vw - 2 * var(--gutter)) / 2.55); } .z__pin { justify-content: flex-end; } }
.shot .z.is-live { height: 260vh; }
.z__num { padding-right: .08em; }
@media (max-width: 699px) { .z__pin { justify-content: center; } }
.z.is-live { height: 170vh; }
.shot .z.is-live { height: 170vh; }

/* apartments: per-unit discounts and price table */
.aptd__disc { margin: 18px 0 0; border-top: 1px solid var(--line); }
.aptd__disc li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.aptd__disc span { color: var(--muted); }
.aptd__disc b { font: 500 15px/1.4 var(--f-mono); color: var(--brick); }
@media (min-width: 900px) { .ptable__row--apt { grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr 190px; } }

/* ==========================================================================
   v10.3 · Nearby tabs + map, company cards, apartment rate table
   ========================================================================== */
.near__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.near__tabs::-webkit-scrollbar { display: none; }
.near__tab { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.near__tab .ic { color: var(--c); }
.near__tab:hover { border-color: var(--ink); }
.near__tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.near__tab.is-on .ic { color: #fff; }
.near__grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .near__grid { grid-template-columns: 7fr 5fr; gap: 40px; align-items: stretch; } }
.near__map { min-height: 440px; }
.near__h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1.25rem; }
.near__h .ic { color: var(--c); width: 22px; height: 22px; }
.near__list { border-top: 1px solid var(--ink); }
.near__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.near__list b { display: block; font-weight: 600; font-size: 15.5px; }
.near__list small { display: block; color: var(--muted); font-size: 13px; }
.near__list .fig { font-size: 15px; color: var(--ink); }
.near__panel + .near__panel { margin-top: 28px; }
.near.is-tabbed .near__panel { display: none; margin-top: 0; }
.near.is-tabbed .near__panel.is-on { display: block; }
.near__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-2); }

.cobox { display: grid; gap: 18px; align-items: center; margin-top: 32px; padding: clamp(20px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
@media (min-width: 900px) { .cobox { grid-template-columns: auto 1fr auto; gap: 24px; } }
.cobox__ic .ic { width: 28px; height: 28px; color: var(--brick); }
.cobox__h { font-size: 1.25rem; }
.cobox__p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.ocards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ocards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ocards { grid-template-columns: repeat(4, 1fr); } }
.ocards li { padding: 26px 24px 28px; background: var(--ground); border: 1px solid var(--line); border-radius: 4px; transition: border-color .25s, transform .35s var(--ease); }
.ocards li:hover { border-color: var(--ink); transform: translateY(-3px); }
.ocards .ic { width: 26px; height: 26px; color: var(--brick); margin-bottom: 18px; }
.ocards h3 { font-size: 1.1rem; line-height: 1.25; margin-bottom: 8px; }
.ocards p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ideal { margin-top: clamp(48px, 6vw, 72px); }

.ptable__disc { font: 500 15px/1 var(--f-mono); color: var(--brick); }
@media (min-width: 900px) { .ptable__row--apt { grid-template-columns: minmax(0, 2fr) 90px 120px 1fr 1fr; } }
@media (max-width: 899px) { .ptable__row--apt { grid-template-columns: 1fr auto auto; } .ptable__row--apt .ptable__term:nth-of-type(2) { display: none; } }
.shot *, .shot *::before, .shot *::after { transition: none !important; }
@media (min-width: 700px) { .shot .z__pin { min-height: 820px; height: auto; } }

/* photo strip: heading with arrows, scrollable track aligned to the grid */
.hgal--static .hgal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hgal__nav { display: flex; gap: 10px; }
.hgal__nav button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.hgal__nav button:hover:not(:disabled) { background: var(--brick); border-color: var(--brick); }
.hgal__nav button:disabled { opacity: .3; cursor: default; }
.hgal--static .hgal__track { scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: var(--gutter); }
.hgal--static .hgal__bar { margin: 24px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 0; }
@media (min-width: 900px) { .hgal--static .hgal__item { height: min(56vh, 520px); } }
/* proximity snap: wheel scrolling glides instead of jumping between photos */
.hgal--static .hgal__track { scroll-snap-type: x proximity; }

/* ==========================================================================
   v10.5 · Apartment rates as exposé cards with a price ladder; company band
   ========================================================================== */
.rates { display: grid; gap: 20px; }
@media (min-width: 900px) { .rates { grid-template-columns: repeat(3, 1fr); } }
.rate { display: flex; flex-direction: column; background: var(--paper); }
.rate__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.rate__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rate:hover .rate__img img { transform: scale(1.04); }
.rate__chip { position: absolute; left: 12px; top: 12px; padding: 6px 10px; background: var(--brick); color: #fff; font: 500 11.5px/1 var(--f-mono); letter-spacing: .06em; }
.rate__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.rate__h { font-size: 1.45rem; }
.rate__meta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.rate__ladder { margin: 22px 0 24px; flex: 1; }
.rate__ladder li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.rate__ladder li:last-child { border-bottom: 1px solid var(--line); }
.rate__lbl { font-size: 14px; color: var(--ink-3); }
.rate__val { display: inline-flex; align-items: baseline; gap: 10px; }
.rate__val .fig { font-size: 1.35rem; color: var(--ink); }
.rate__val em { font: 500 12.5px/1 var(--f-mono); font-style: normal; color: var(--brick); }
.rate__ladder i { position: absolute; left: 0; bottom: -1px; height: 3px; width: var(--w); background: var(--brick); opacity: .85; transform-origin: left; }
.rate__ladder li:first-child i { background: var(--ink); opacity: .25; }
.js .rate__ladder i { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.js .is-in .rate__ladder i, .shot .rate__ladder i { transform: none; }
.rates__note { margin: 16px 0 0; font-size: 13.5px; }

.coband { display: grid; gap: 28px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); background: var(--ink); color: #fff; }
@media (min-width: 1000px) { .coband { grid-template-columns: 1fr auto; gap: 56px; } }
.coband__h { font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: #fff; }
.coband p { margin: 12px 0 0; color: var(--on-dark-2); max-width: 56ch; }
.coband__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.coband__facts b { display: block; font-size: 1.5rem; color: var(--brick-l); }
.coband__facts span { display: block; margin-top: 4px; font-size: 13px; color: var(--on-dark-2); }
@media (max-width: 640px) { .coband__facts { grid-template-columns: 1fr; } }

/* company benefits: lined grid like the trust strip, no boxes */
.ocards--lined { gap: 0; border-top: 1px solid var(--ink); }
.ocards--lined li { padding: 28px 24px 30px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.ocards--lined li:hover { transform: none; }
@media (min-width: 1100px) {
    .ocards--lined li { padding-left: 24px; border-left: 1px solid var(--line); }
    .ocards--lined li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
}
@media (min-width: 640px) and (max-width: 1099px) { .ocards--lined li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }

/* ==========================================================================
   v10.6 · Apartments page: overview cards first, compact amenities, company band
   ========================================================================== */
.rate__actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.rate__meta { line-height: 1.5; }
.aptd-wrap { padding-top: clamp(24px, 4vw, 48px); }
.aptd__bed { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14.5px; color: var(--ink-3); }
.aptd__bed .ic { color: var(--brick); }

.amen { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.amen li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.amen .ic { grid-row: span 2; width: 24px; height: 24px; color: var(--brick); margin-top: 1px; }
.amen b { font-size: 15.5px; font-weight: 600; }
.amen span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 1000px) {
    .amen { grid-template-columns: repeat(4, 1fr); }
    .amen li { padding-left: 20px; border-left: 1px solid var(--line); }
    .amen li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .amen { grid-template-columns: 1fr; } }

.coband { margin-top: 0; }
.coband__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.coband__tags li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; color: var(--on-dark); }

/* ==========================================================================
   v10.7 · Floor plans: flat architectural sheet + section picker
   ========================================================================== */
.h3d, .h3d__stage { display: none; }
.fplan { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .fplan { grid-template-columns: 7fr 5fr; gap: 56px; } }
.fplan__sheet { position: relative; background: #F4F2EC; border-radius: 4px; padding: clamp(14px, 2.4vw, 28px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.fplan__floor { margin: 0; display: none; }
.fplan__floor.is-active { display: block; animation: fpin .45s var(--ease); }
.no-js .fplan__floor[data-floor="eg"] { display: block; }
@keyframes fpin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fplan__svg { display: block; width: 100%; height: auto; }
.fplan__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #D9D6CC; font-size: 13.5px; color: var(--ink-3); }
.fplan__tag { padding: 4px 8px; background: var(--ink); color: #fff; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; }
.fplan__legend { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; margin-left: auto; color: var(--muted); }
.fplan__legend i { display: inline-block; width: 12px; height: 12px; margin: 0 6px -1px 0; border: 1px solid rgba(29,33,31,.35); }
.fplan__legend i.fp-apt { background: #EAD3C5; } .fplan__legend i.fp-office { background: #D6DED7; } .fplan__legend i.fp-store { background: #D8D6CC; } .fplan__legend i.fp-pass { background: #C7C9C2; }

/* plan drawing (units: metres) */
.fplan__svg text { font-family: var(--f-body); fill: var(--ink); }
.fplan__svg .fp-t { font-size: 1.05px; font-weight: 650; }
.fplan__svg .fp-s { font-size: .72px; fill: #4A504B; }
.fplan__svg .fp-c { text-anchor: middle; }
.fplan__svg .fp-muted { fill: #7A807B; }
.fplan__svg .fp-light { fill: #fff; letter-spacing: .12px; }
.fplan__svg .fp-v { writing-mode: vertical-rl; }
.fplan__svg .fp-yard { fill: #E6E3DA; }
.fplan__svg .fp-front { fill: #DCD9CF; }
.fplan__svg .fp-street { fill: #6C716D; }
.fplan__svg .fp-shell { fill: #FBFAF6; stroke: var(--ink); stroke-width: .3; }
.fplan__svg .fp-apt { fill: #EAD3C5; stroke: var(--ink); stroke-width: .12; }
.fplan__svg .fp-apt2 { fill: #E4C8B8; }
.fplan__svg .fp-apt3 { fill: #EEDACE; }
.fplan__svg .fp-office { fill: #D6DED7; stroke: var(--ink); stroke-width: .12; }
.fplan__svg .fp-store { fill: #D8D6CC; stroke: var(--ink); stroke-width: .12; }
.fplan__svg .fp-hall { fill: #EFEDE6; stroke: var(--ink); stroke-width: .08; }
.fplan__svg .fp-pass { fill: #C7C9C2; }
.fplan__svg .fp-stair { fill: #FBFAF6; stroke: var(--ink); stroke-width: .12; }
.fplan__svg .fp-steps { stroke: var(--ink); stroke-width: .05; fill: none; }
.fplan__svg .fp-door { stroke: var(--brick); stroke-width: .5; }
.fplan__svg .fp-bal { fill: #FBFAF6; stroke: var(--ink); stroke-width: .08; }
.fplan__svg .fp-bike rect, .fplan__svg .fp-bike path { fill: none; stroke: #7A807B; stroke-width: .06; }
.fplan__svg .fp-park rect { fill: none; stroke: var(--ink); stroke-width: .08; stroke-dasharray: .3 .2; }
.fplan__svg .fp-pk { font: 600 .8px var(--f-mono); fill: var(--ink); text-anchor: middle; }
.fplan__svg .fp-north path { fill: var(--brick); }
.fplan__svg .fp-scale path { stroke: var(--ink); stroke-width: .08; fill: none; }

/* section picker */
.fplan__side { display: grid; gap: 22px; }
.fplan__section { width: 180px; height: auto; }
.fs-roof { fill: #3A403B; }
.fs-ground { stroke: #8A918B; stroke-width: 2; }
.fs-earth { fill: url(#none); fill: rgba(255,255,255,.04); }
.fs-band { cursor: pointer; }
.fs-band rect { fill: #2C312D; stroke: #4A504B; stroke-width: 1.5; transition: fill .25s; }
.fs-band text { fill: var(--on-dark-2); font: 500 13px var(--f-mono); text-anchor: middle; letter-spacing: .06em; pointer-events: none; }
.fs-band:hover rect { fill: #3A403B; }
.fs-band.is-active rect { fill: var(--brick); stroke: var(--brick-l); }
.fs-band.is-active text { fill: #fff; }
@media (min-width: 1000px) { .fplan__side { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fplan__section { width: 140px; } .fplan__legend { margin-left: 0; } }


/* route buttons: Google Maps + Waze */
.route { display: flex; flex-wrap: wrap; gap: 8px; }
.route__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .2s, background .2s, color .2s; }
.route__btn .ic { color: var(--brick); }
.route__btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.route__btn:hover .ic { color: #fff; }
.route--hero { margin-top: 18px; }
.route--card { margin-top: 14px; }
.route--card .route__btn { flex: 1 1 auto; justify-content: center; font-size: 13.5px; }
.route--near { margin-top: 16px; }
.route--ftr { margin-top: 16px; }
.route--ftr .route__btn { background: transparent; border-color: rgba(255,255,255,.2); color: var(--on-dark); font-size: 13px; padding: 7px 12px; }
.route--ftr .route__btn .ic { color: var(--brick-l); }
.route--ftr .route__btn:hover { background: #fff; color: var(--ink); }
/* official brand marks on route buttons (keep brand colours, also on hover) */
.ic--gmaps, .route__btn .ic--gmaps, .route__btn:hover .ic--gmaps, .route--ftr .route__btn .ic--gmaps, .chip .ic--gmaps { color: #4285F4; }
.ic--waze, .route__btn .ic--waze, .route__btn:hover .ic--waze, .route--ftr .route__btn .ic--waze, .chip .ic--waze { color: #33CCFF; }
.route__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.route--ftr .route__btn:hover { background: #fff; color: var(--ink); }
/* nearby list rows are map triggers */
.near__list li { cursor: pointer; transition: background .2s, padding .2s; }
.near__list li:hover, .near__list li:focus-visible { background: var(--ground); padding-left: 10px; padding-right: 10px; outline: none; }
.near__list li:hover b, .near__list li:focus-visible b { color: var(--brick); }
/* strips: no snapping on mouse devices, wheel drives them (js); swipe devices keep snap */
@media (pointer: fine) { .hgal--static .hgal__track { scroll-snap-type: none; } }
/* hero end state: claim always fits, route buttons never sit on top of it */
.z__after { z-index: 4; }
.z__claim { font-size: clamp(1.9rem, 6.2vw, 4.6rem); line-height: 1.02; max-width: 16ch; overflow-wrap: break-word; }
.z.is-live .route--hero { position: relative; z-index: 2; }
@media (max-width: 640px) { .z__facts li { padding-top: 12px; } .z__facts b { font-size: 1.3rem; } }

/* house marker on the Leaflet maps: brick pin with the house number, pulsing ring at the exact spot */
.hpin-wrap { background: none; border: 0; }
.hpin { position: relative; width: 64px; height: 64px; }
.hpin__head {
    position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
    padding: 7px 9px 6px; background: var(--brick); color: #fff; border: 2px solid #fff; border-radius: 4px;
    font: 700 14px/1 var(--f-display); letter-spacing: .02em; white-space: nowrap;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,.55);
}
.hpin__tip { position: absolute; left: 50%; top: 32px; width: 12px; height: 12px; margin-left: -6px; background: var(--brick); border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.hpin__pulse { position: absolute; left: 50%; top: 60px; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--brick); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(166,67,43,.55); animation: hpin 2s infinite; }
@keyframes hpin { 0% { box-shadow: 0 0 0 0 rgba(166,67,43,.55); } 70% { box-shadow: 0 0 0 22px rgba(166,67,43,0); } 100% { box-shadow: 0 0 0 0 rgba(166,67,43,0); } }
.hpin { width: 80px; height: 78px; }
.hpin__head { top: 0; padding: 9px 12px 8px; font-size: 17px; border-width: 3px; }
.hpin__tip { top: 36px; width: 14px; height: 14px; margin-left: -7px; border-width: 3px; }
.hpin__pulse { top: 72px; width: 22px; height: 22px; margin: -11px 0 0 -11px; }


/* ==========================================================================
   v11 · Mobile pass: compact, aligned, 2×2 where possible, buttons in a row
   ========================================================================== */
@media (max-width: 1199px) { .nav + .hdr__tools { margin-left: auto; } }
/* grid/flex children may shrink: nothing pushes past the right edge */
.intro2 > *, .fplan > *, .near__grid > *, .prod > *, .contact > *, .loc > *, .faq > *, .aptd > *, .sec__head > *, .rates > *, .cobox > *, .coband > * { min-width: 0; }
.fplan__legend { margin-left: 0; }
html, body { overflow-x: clip; }

@media (max-width: 699px) {
    :root { --sec: 56px; --hdr-h: 64px; }
    body { font-size: 16px; }
    .brand__plate { height: 34px; font-size: 15px; padding: 0 7px; }
    .brand__name { font-size: 15px; }
    .lang { width: 36px; height: 36px; }
    .h2, .h2--xl { font-size: 1.85rem; }
    .lead { font-size: 1rem; }
    .sec__head { margin-bottom: 26px; gap: 12px; }
    .btn { min-height: 46px; padding: 11px 16px; font-size: 14.5px; }
    .btn--lg { min-height: 48px; padding: 12px 16px; font-size: 15px; }

    /* hero */
    .z__intro { padding-top: 20px; padding-bottom: 20px; }
    .z__row { margin-top: 16px; gap: 16px; }
    .z__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .z__actions .btn { width: 100%; padding: 12px 10px; }
    .route { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .route__btn { justify-content: center; padding: 9px 8px; font-size: 12.5px; gap: 6px; }
    .route--hero { margin-top: 10px; }
    .z__claim { margin-bottom: 16px; }

    /* trust strip 2×3, tighter */
    .trust__grid li { padding: 14px 10px 14px 0; grid-template-columns: 22px 1fr; column-gap: 8px; }
    .trust__grid .ic { width: 18px; height: 18px; }
    .trust__grid b { font-size: 13.5px; line-height: 1.3; }
    .trust__grid span { font-size: 12px; }

    /* facts card: label above value */
    .facts-card { padding: 4px 16px 6px; }
    .facts-card div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }

    /* cinema chapters */
    .cine__ch { margin-bottom: 28px; }
    .cine__h { font-size: 1.6rem; }

    /* price table */
    .ptable__row { padding: 14px 0; gap: 4px 12px; }
    .ptable__name b { font-size: 1.05rem; }
    .ptable__name small { font-size: 12.5px; }
    .ptable__term { font-size: 12.5px; }

    /* floor plans */
    .fplan__section { width: 120px; }
    .fplan__side { grid-template-columns: 120px 1fr; align-items: start; gap: 16px; }
    .fplan__side .h3d__list, .fplan__side .h3d__note { grid-column: 1 / -1; }
    .h3d__btn { grid-template-columns: 44px 1fr 18px; padding: 12px 0; }
    .h3d__info { padding-left: 58px; font-size: 14px; }

    /* nearby: tabs scroll, list compact */
    .near__tab { padding: 8px 12px; font-size: 13.5px; }
    .near__map { min-height: 300px; }
    .near__list li { padding: 10px 0; }

    /* photo strip */
    .hgal__nav button { width: 40px; height: 40px; }
    .hgal--static .hgal__item { flex-basis: 78vw; }

    /* apartments overview + rates */
    .rate__body { padding: 18px 16px 20px; }
    .rate__ladder { margin: 14px 0 16px; }
    .rate__ladder li { padding: 9px 0 11px; }
    .rate__val .fig { font-size: 1.15rem; }
    .apts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .apt__body { padding: 12px 12px 14px; gap: 6px; }
    .apt__body .h3 { font-size: 1rem; }
    .apt__price { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }
    .apt__meta { font-size: 12px; gap: 2px 10px; }
    .apts > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .amen li { padding: 14px 8px 14px 0; grid-template-columns: 24px 1fr; }
    .amen { grid-template-columns: 1fr 1fr; }
    .amen b { font-size: 13.5px; } .amen span { font-size: 12px; }
    .coband { padding: 22px 18px; }
    .coband .btn { width: 100%; }

    /* service pages */
    .phero { min-height: 0; }
    .phero__body { padding-top: calc(var(--hdr-h) + 120px); padding-bottom: 26px; }
    .phero h1 { font-size: 2.1rem; }
    .phero__lead { font-size: .98rem; margin-top: 12px; }
    .phero__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
    .chip { font-size: 12.5px; padding: 7px 9px; }
    .checks { grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .checks li { font-size: 13.5px; padding: 9px 0; gap: 8px; }
    .card { padding: 20px 18px; }
    .card__price .fig { font-size: 2.1rem; }
    .card__actions { grid-template-columns: 1fr 1fr; }
    .card__actions .btn { padding: 11px 8px; font-size: 13.5px; }
    .more { grid-template-columns: 1fr 1fr; }
    .more a { padding: 16px 14px; }
    .more h3 { font-size: 1rem; }
    .more .muted { display: none; }
    .steps { grid-template-columns: 1fr; }
    .ocards--lined { grid-template-columns: 1fr 1fr; }

    /* faq + contact + footer */
    .faq summary { padding: 15px 0; font-size: .98rem; }
    .contactband { padding: 48px 0; }
    .contactband__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .contactband__actions .btn { padding: 11px 8px; font-size: 13.5px; }
    .cinfo li { padding: 12px 0; }
    .ftr__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .ftr__brand, .ftr__move { grid-column: 1 / -1; }
    .ftr__list li { flex-direction: column; gap: 2px; }
    .ftr__price { font-size: 12px; }
    .ftr__base { flex-direction: column; gap: 4px; }
    .form-grid--2 { grid-template-columns: 1fr 1fr; }
    .how > div { padding: 20px; }
}
@media (max-width: 699px) {
    /* static hero, sized to its content */
    .z__pin { min-height: 0; padding: 28px 0 8px; }
    .z__img, .z__after { display: none; }
    /* location story: compact 2×3 grid, map shows every layer */
    .lage__map { position: static; }
    .lage__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .lage__step { min-height: 0; padding: 16px 0; opacity: 1; }
    .lage__steps > p { grid-column: 1 / -1; margin-top: 12px; }
    .lage__fig { font-size: 1.9rem; }
    .lage__h { font-size: 1rem; margin-top: 6px; }
    .lage__p { font-size: 13px; margin-top: 4px; }
    .lagemap .lm-tram, .lagemap .lm-rail, .lagemap .lm-mw { stroke-dashoffset: 0 !important; }
    .lagemap .lm-pop, .lagemap .lm-route, .lagemap .lm-rail-ties { opacity: 1 !important; }
    .lage__mapin[data-cur] g { opacity: 1 !important; }
    /* apartments teaser: full-width last card stays short */
    .apts > :last-child:nth-child(odd) .apt__img { aspect-ratio: 16 / 7; }
    .rate__img { aspect-ratio: 16 / 8; }
    /* floor plan note next to the section drawing */
    .fplan__side .h3d__note { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
}
/* hero intro: fade/rise the whole intro block once; scroll timeline animates its children */
.z.is-intro .z__intro { animation: zintro 1.1s var(--ease) both; }
@keyframes zintro { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ── v11.1 phone fixes (checked at real 360/390 px) ── */
.l-short { display: none; }
.fplan__tabs { display: none; }
@media (max-width: 699px) {
    .l-long { display: none; } .l-short { display: inline; }
    .btn { white-space: nowrap; }
    .z__actions .btn .ic { display: none; }
    /* price table: name full width, term + price on one line */
    .ptable__row { grid-template-columns: 1fr auto; }
    .ptable__name { grid-column: 1 / -1; grid-row: 1; }
    .ptable__term { grid-column: 1; grid-row: 2; align-self: center; }
    .ptable__price { grid-column: 2; grid-row: 2; }
    .ptable__price .vat { display: inline; margin-left: 4px; }
    .ptable__row--apt { grid-template-columns: 1fr auto auto; }
    /* floor plans: tabs above the plan, only the chosen floor's text below */
    .fplan { gap: 14px; }
    .fplan__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .fplan__tab { display: block; padding: 11px 0; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; background: none; color: var(--on-dark); font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-align: center; cursor: pointer; }
    .fplan__tab[aria-selected="true"] { background: var(--brick); border-color: var(--brick); color: #fff; }
    .fplan__section { display: none; }
    .fplan__side { grid-template-columns: 1fr; gap: 8px; }
    .fplan__side .h3d__note { grid-column: 1; grid-row: auto; }
    .h3d__list { border-top: 0; }
    .h3d__list li:not(:has(.h3d__btn[aria-selected="true"])) { display: none; }
    .h3d__list li { border-bottom: 0; }
    .h3d__list .h3d__btn { pointer-events: none; padding-top: 4px; }
    .h3d__list .h3d__btn .ic { display: none; }
    .h3d__info { padding-left: 0; }
    .fplan__sheet { padding: 10px; }
    .fplan__cap { font-size: 12px; }
    /* nearby: map stays in view while you go through the list */
    .near__map { position: sticky; top: var(--hdr-h); z-index: 5; min-height: 0; height: 230px; box-shadow: 0 10px 20px -14px rgba(0,0,0,.4); }
    .near__grid { gap: 14px; }
    .near__panel { position: relative; z-index: 1; }
    /* location steps: number + title only */
    .lage__p { display: none; }
    .lage__step { padding: 12px 0; }
}
@media (min-width: 1000px) { .fplan__tabs { display: none !important; } }
@media (max-width: 699px) { .fplan__tabs { grid-column: 1; } }
