.hauswahl {
  --hw-paper:var(--sand,#efeae0);
  --hw-ink:var(--tide,#34463f);
  --hw-line:var(--line,#d3d0c6);
  --hw-card:#f9f6ef;
  --hw-muted:#526259;
  color:var(--hw-ink);
  background:var(--hw-paper);
  font:400 1.0625rem/1.6 var(--font-sans);
  padding-block:8rem;
  scroll-margin-top:4rem;
}
.hauswahl *, .hauswahl *::before, .hauswahl *::after {box-sizing:border-box;}
.hauswahl [hidden], #haus-auswahl[hidden], #haus-detail[hidden] {display:none!important;}
.hw-shell {width:100%;max-width:88rem;padding-inline:3rem;margin-inline:auto;}
.hw-head {display:grid;grid-template-columns:7fr 5fr;gap:2rem;align-items:end;margin-bottom:3rem;}
.hw-kicker {display:block;color:#4d675c;font:600 .875rem/1.45 var(--font-sans);letter-spacing:.115em;text-transform:uppercase;}
.hw-head .hw-heading {margin:1rem 0 0;color:var(--hw-ink);font:500 clamp(2.1rem,4.5vw,3.6rem)/1.12 var(--font-display);letter-spacing:-.025em;}
.hw-head p {margin:0;max-width:55ch;font-size:1.0625rem;line-height:1.6;color:var(--hw-muted);}
.hw-angles {display:inline-flex;align-items:center;gap:.25rem;margin:0 0 1rem;padding:.18rem;border:1px solid var(--hw-line);border-radius:.5rem;background:var(--hw-card);}
.hw-angles button {border:0;cursor:pointer;background:transparent;color:var(--hw-ink);border-radius:.35rem;min-height:2.75rem;padding:.55rem .95rem;font:600 1rem/1.2 var(--font-sans);}
.hw-angles button[aria-pressed=true] {background:var(--hw-ink);color:white;}
.hw-angles button:hover:not([aria-pressed=true]) {background:#e5e8e1;}
.hauswahl :is(a,button):focus-visible,.hw-return:focus-visible {outline:2px solid currentColor;outline-offset:3px;}
.hw-layout {display:grid;grid-template-columns:minmax(0,2.15fr) minmax(15rem,1fr);gap:1.25rem;align-items:stretch;}
.hw-facades,.hw-frame {display:grid;align-content:stretch;}
.hw-scene {position:relative;isolation:isolate;min-width:0;aspect-ratio:1100/619;align-self:center;overflow:hidden;border-radius:.55rem;box-shadow:0 0 0 1px var(--hw-line);background:var(--hw-line);}
.hw-scene .hw-image,.hw-scene .hw-outlines {display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:fill;}
.hw-outlines a {cursor:pointer;outline:0!important;}
.hw-outlines polygon {stroke:#fffdf5;stroke-width:1.45px;stroke-linejoin:round;fill:#ffffff08;filter:drop-shadow(0 0 .9px #24382e);transition:fill .18s,stroke-width .18s;}
.hw-outlines a:focus-visible polygon,.hw-outlines a.hw-active polygon {fill:color-mix(in srgb,var(--house-accent) 44%,transparent);stroke-width:3px;stroke:white;}
.hw-label {position:absolute;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:.36em;padding:.37em .67em;border:1px solid #ffffff99;border-radius:.35rem;color:#fff;background:#30433bf2;pointer-events:none;white-space:nowrap;font:600 clamp(.875rem,1.12vw,1rem)/1.22 var(--font-sans);transition:background .18s,color .18s;}
.hw-label::before,.hw-unit-name::before {content:"";display:block;width:.52em;height:.52em;background:var(--house-accent);border-radius:50%;border:1px solid #34463f30;}
.hw-label.hw-active {background:var(--house-accent);color:#243a31;}
.hw-label.hw-active::before {background:#34463f;}
.hw-rows {display:grid;grid-template-rows:repeat(3,1fr);gap:.8rem;}
.hw-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:.12rem .6rem;padding:clamp(.85rem,1.4vw,1.4rem);text-decoration:none;color:var(--hw-ink);background:var(--hw-card);border:1px solid var(--hw-line);border-radius:.5rem;box-shadow:0 1px 2px #23372d09;transition:background .18s,border-color .18s;}
.hw-row.hw-active,.hw-row:hover {background:color-mix(in srgb,var(--house-accent) 24%,var(--hw-card));border-color:#788c80;}
.hw-unit-name {display:flex;align-items:center;gap:.43em;grid-column:1;font:500 clamp(1.5rem,2vw,1.9rem)/1.14 var(--font-display);}
.hw-unit-name::before {width:.43em;height:.43em;}
.hw-arrow {grid-column:2;grid-row:1/4;align-self:center;border:1px solid var(--hw-line);border-radius:50%;display:grid;place-items:center;width:2.1rem;height:2.1rem;font:400 1.07rem/1 var(--font-sans);}
.hw-type,.hw-facts {grid-column:1;font:400 1rem/1.4 var(--font-sans);}
.hw-type {margin-top:.15rem;}
.hw-facts {font-size:.9375rem;color:var(--hw-muted);}
:is([data-unit="1"],[data-unit-label="1"],[data-unit-row="1"],[data-house="1"]) {--house-accent:#99bdb5;}
:is([data-unit="2"],[data-unit-label="2"],[data-unit-row="2"],[data-house="2"]) {--house-accent:#c9c6be;}
:is([data-unit="3"],[data-unit-label="3"],[data-unit-row="3"],[data-house="3"]) {--house-accent:#ece5d9;}
.hw-announcement {position:absolute;overflow:hidden;clip-path:inset(50%);width:1px;height:1px;white-space:nowrap;}
.hw-return {display:inline-flex;gap:.6rem;align-items:center;color:inherit;text-decoration:none;font-size:1rem;min-height:44px;margin-block:.75rem;}
.hw-return:hover {text-decoration:underline;text-underline-offset:.2em;}
.hw-return::before {content:"";width:.44rem;height:.44rem;border-bottom:1px solid;border-left:1px solid;transform:rotate(45deg);}
.hauswahl[data-finder-page] {padding-block:clamp(3.5rem,6.5vw,6.5rem);}
@media(max-width:1023px) {
  .hw-shell {padding-inline:2rem;}
  .hw-layout {grid-template-columns:minmax(0,1.85fr) minmax(13.2rem,1fr);gap:.9rem;}
  .hw-rows {gap:.5rem;}
  .hw-arrow {width:1.75rem;height:1.75rem;}
}
@media(max-width:820px) {
  .hw-layout {grid-template-columns:minmax(0,1fr);}
  .hw-rows {grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;}
  .hw-row {padding:1rem .85rem;}
  .hw-arrow {grid-row:1;align-self:start;}
  .hw-type,.hw-facts {grid-column:1/-1;}
}
@media(max-width:640px) {
  .hauswahl {padding-block:6rem;}
  .hw-shell {padding-inline:1.25rem;}
  .hw-head {grid-template-columns:1fr;gap:1.25rem;margin-bottom:1.8rem;}
  .hw-head .hw-heading {margin-top:.85rem;}
  .hw-angles {margin-bottom:.9rem;}
  .hw-rows {display:grid;grid-template-columns:1fr;gap:.55rem;}
  .hw-row {grid-template-columns:minmax(0,1fr) auto;gap:.1rem .5rem;padding:.95rem 1rem;}
  .hw-unit-name {font-size:1.65rem;}
  .hw-type,.hw-facts {grid-column:1;}
  .hw-arrow {grid-row:1/4;align-self:center;width:2rem;height:2rem;}
  .hw-label {padding:.28em .48em;}
}
@media(prefers-reduced-motion:reduce) {.hw-label,.hw-row,.hw-outlines polygon {transition:none;}}
