.hauswahl {
  --hw-paper: var(--creme, #ece5d9);
  --hw-ink: var(--ink, #253731);
  --hw-line: var(--seidengrau, #c9c6be);
  background: var(--hw-paper); color: var(--hw-ink);
  padding: clamp(85px,8vw,130px) max(9.6vw,28px) clamp(72px,7vw,120px);
}
.hauswahl [hidden], .hauswahl[hidden], #haus-detail[hidden] { display:none!important; }
.hw-shell { max-width:1260px; margin-inline:auto; }
.hw-head { display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; margin-bottom:clamp(20px,2.2vw,36px); }
.hw-heading { margin:0; font:400 clamp(2.9rem,5.65vw,6.6rem)/1.06 var(--serif); letter-spacing:-.03em; }
.hw-head p { font:400 clamp(1.0625rem,1.2vw,1.2rem)/1.55 var(--sans); margin:.83rem 0 0; max-width:61ch; }
.hw-angles { display:inline-flex; flex:none; border:1px solid var(--hw-line); padding:3px; border-radius:2px; }
.hw-angles button { border:0; cursor:pointer; background:transparent; color:var(--hw-ink); min-height:43px; padding:.7rem 1rem; font:600 .95rem/1.3 var(--sans); }
.hw-angles button[aria-pressed=true] { background:var(--hw-ink); color:var(--hw-paper); }
.hw-angles button:hover:not([aria-pressed=true]) {background:var(--hw-line);}
.hauswahl :is(a,button):focus-visible, .hw-return:focus-visible {outline:2px solid currentColor;outline-offset:4px;}
.hw-scene { position:relative; isolation:isolate; aspect-ratio:1100/619; overflow:hidden; 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.3px;stroke-linejoin:round;fill:#ffffff0e;filter:drop-shadow(0 0 1px #14221e);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) 43%,transparent);stroke-width:3px;stroke:white;}
.hw-label {position:absolute;transform:translate(-50%,-50%);border:1px solid #fffcf0c0;color:#fffcf7;background:rgb(37 55 49 / 89%);border-radius:2px;padding:.32em .64em .34em;pointer-events:none;white-space:nowrap;font:600 clamp(1rem,1.5vw,1.5rem)/1.15 var(--sans);transition:background .18s,color .18s;}
.hw-label.hw-active {background:var(--house-accent);color:#1e2e28;}
.hw-rows {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--hw-line);}
.hw-row {position:relative;display:grid;grid-template-columns:max-content 1fr;align-content:start;align-items:baseline;gap:.3rem .8rem;padding:1.1rem clamp(.5rem,1.4vw,1.6rem) 1.2rem;color:var(--hw-ink);text-decoration:none;}
.hw-row:first-child {padding-left:0;}
.hw-row + .hw-row::before {content:"";position:absolute;left:0;inset-block:18%;width:1px;background:var(--hw-line);}
.hw-unit-name {display:flex;align-items:center;gap:.4em;font:400 clamp(1.65rem,2.6vw,3rem)/1.07 var(--serif);letter-spacing:-.03em;}
.hw-unit-name::before {content:"";width:.4em;height:.4em;border:1px solid rgb(37 55 49 / 35%);background:var(--house-accent);}
.hw-facts {grid-column:1/-1;font:400 .95rem/1.5 var(--sans);}
.hw-row-action {align-self:center;justify-self:end;font:550 .9rem/1.4 var(--sans);text-decoration:underline;text-underline-offset:.25em;}
.hw-row.hw-active .hw-unit-name {text-decoration:underline;text-underline-offset:.15em;text-decoration-thickness:1px;}
:is([data-unit="2"],[data-unit-label="2"],[data-unit-row="2"],[data-house="2"]) {--house-accent:var(--seidengrau,#c9c6be);}
:is([data-unit="1"],[data-unit-label="1"],[data-unit-row="1"],[data-house="1"],[data-unit="3"],[data-unit-label="3"],[data-unit-row="3"],[data-house="3"]) {--house-accent:var(--creme,#ece5d9);}
.hw-announcement {position:absolute;overflow:hidden;clip-path:inset(50%);width:1px;height:1px;white-space:nowrap;}
.hw-return {display:inline-flex;gap:9px;align-items:center;color:inherit;text-decoration:underline;text-underline-offset:3px;font-size:.92rem;min-height:44px;margin-top:1.15rem;}
.hw-return::before {content:"";width:6px;height:6px;border-bottom:1px solid;border-left:1px solid;transform:rotate(45deg);}
.hauswahl[data-finder-page] {padding:clamp(36px,4.2vw,75px) 0 clamp(50px,5vw,94px);}
.hauswahl[data-finder-page] .hw-shell {max-width:1120px;}
.hauswahl[data-finder-page] .hw-heading {font-size:clamp(2.8rem,5.6vw,6.5rem);}
@media(min-width:901px) {
  .hw-frame {overflow:hidden;aspect-ratio:1.92;display:grid;align-items:center;}
  .hw-scene {width:100%;}
}
@media(max-width:900px) {
  .hauswahl {padding:92px 5vw 72px;}
  .hw-row {grid-template-columns:1fr;}
  .hw-row-action {grid-row:3;justify-self:start;}
}
@media(max-width:680px) {
  .hauswahl {padding:94px 20px 65px;}
  .hw-head {align-items:stretch;flex-direction:column;gap:1rem;}
  .hw-head p {margin:.6rem 0 0;}
  .hw-angles {align-self:flex-start;}
  .hw-heading,.hauswahl[data-finder-page] .hw-heading {font-size:clamp(2.3rem,9.4vw,3.8rem);}
  .hw-rows {display:block;border-bottom:0;}
  .hw-row,.hw-row:first-child {grid-template-columns:1fr auto;padding:.85rem 0;border-bottom:1px solid var(--hw-line);}
  .hw-row + .hw-row::before {content:none;}
  .hw-unit-name {grid-column:1;grid-row:1;}
  .hw-facts {grid-column:1;grid-row:2;}
  .hw-row-action {grid-column:2;grid-row:1/3;align-self:center;}
}
@media(prefers-reduced-motion:reduce) {.hw-label,.hw-outlines polygon{transition:none;}}
