/* Raumgefühl – Farbwelt: Warmes Grau · Salbeigrün · Creme */

@font-face {
  font-family: "Jost";
  src: url("../schrift/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #F5F3EE;
  --creme-2: #ECE5DD;
  --leinen: #E6DED2;
  --salbei: #8D9482;
  --salbei-hell: #D5D9CC;
  --salbei-dunkel: #56604B;
  --grau: #918779;
  --grau-dunkel: #645C52;
  --text: #33352D;
  --holz: #B98F63;
  --weiss: #FBFAF7;
  --linie: #DDD5CA;
  --schrift: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --kopf-h: 64px;
  --radius: 16px;
  --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--schrift);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--salbei-dunkel); text-underline-offset: .2em; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); letter-spacing: .01em; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--salbei-dunkel); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.nur-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springen {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--text); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.springen:focus { top: 1rem; }

/* ---------- Demo-Band & Platzhalter ---------- */
.demo-band {
  margin: 0; background: #FFE58A; color: #3B3200;
  font-size: .85rem; line-height: 1.4; text-align: center; padding: .45rem 1rem;
}
.platzhalter {
  background: #FFF1A8; outline: 1.5px dashed #C9A400; outline-offset: 1px;
  padding: 0 .25em; border-radius: 3px; color: #3B3200;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: 999px;
  background: var(--salbei-dunkel); color: #fff; border: 1.5px solid var(--salbei-dunkel);
  font: 500 1rem/1.2 var(--schrift); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.knopf:hover { background: #46503D; }
.knopf:active { transform: scale(.98); }
.knopf.hell { background: transparent; color: var(--salbei-dunkel); }
.knopf.hell:hover { background: var(--salbei-hell); }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 40; height: var(--kopf-h);
  background: rgba(245, 243, 238, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: var(--breite); height: 100%; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.marke { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); }
.marke svg { width: 34px; height: 36px; flex: none; }
.marke span { font-weight: 400; letter-spacing: .26em; font-size: 1.02rem; text-transform: uppercase; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.hauptnav a {
  display: block; padding: .55rem .85rem; border-radius: 999px; text-decoration: none;
  color: var(--text); font-size: .98rem; letter-spacing: .03em;
}
.hauptnav a:hover { background: var(--creme-2); }
.hauptnav a.anfrage { background: var(--salbei-dunkel); color: #fff; margin-left: .35rem; }
.menue-knopf {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menue-knopf svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .hauptnav {
    position: absolute; top: var(--kopf-h); left: 0; right: 0;
    background: var(--creme); border-bottom: 1px solid var(--linie);
    padding: .5rem 1rem 1rem; display: none;
    box-shadow: 0 18px 30px -20px rgba(51, 53, 45, .35);
  }
  .hauptnav.offen { display: block; }
  .hauptnav ul { flex-direction: column; }
  .hauptnav a { padding: .85rem 1rem; font-size: 1.08rem; }
  .hauptnav a.anfrage { margin: .4rem 0 0; text-align: center; }
}

/* ---------- Start ---------- */
.start {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--kopf-h) - 2rem);
  display: grid; place-items: center; text-align: center;
  padding: 3rem 1rem 3.5rem;
  background:
    radial-gradient(55% 50% at 50% 32%, rgba(255, 253, 248, .9) 0%, rgba(255, 253, 248, .45) 45%, rgba(255, 253, 248, 0) 100%),
    var(--creme);
}
.start::before, .start::after {
  content: ""; position: absolute; border: 1.5px solid var(--linie); pointer-events: none;
}
.start::before { width: 46vmin; height: 56vmin; left: -12vmin; bottom: -14vmin; }
.start::after { width: 30vmin; height: 52vmin; right: -6vmin; top: -10vmin; transform: skewY(-24deg); border-color: var(--salbei-hell); }
.start-innen { position: relative; max-width: 760px; }
.start-logo { width: clamp(120px, 26vw, 170px); height: auto; margin: 0 auto 1.6rem; overflow: visible; }
.wortmarke {
  margin: 0; font-weight: 300; text-transform: uppercase;
  font-size: clamp(2.1rem, 1rem + 6vw, 4.6rem); letter-spacing: .22em;
  margin-right: -.22em; /* Ausgleich für das Sperren rechts */
  line-height: 1.05; color: var(--text);
}
.claim {
  margin: .9rem 0 1.6rem; font-size: clamp(1.1rem, .95rem + 1vw, 1.55rem);
  letter-spacing: .06em; color: var(--grau-dunkel);
}
.start-text { max-width: 34rem; margin: 0 auto 2rem; color: var(--text); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.farbwelt {
  list-style: none; margin: 2.6rem 0 0; padding: 0;
  display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grau-dunkel);
}
.farbwelt li { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.farbwelt span { width: 40px; height: 40px; border-radius: 50%; background: var(--f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }

/* Logo-Tür: geht beim Laden auf (SMIL im SVG); Rahmen & Zweig blenden ein */
.start-logo .rahmen { stroke-dasharray: 420; stroke-dashoffset: 420; animation: zeichnen 1.4s .1s ease-out forwards; }
.start-logo .zweig { opacity: 0; transform-origin: 47px 186px; transform: scale(.6); animation: wachsen 1s 1.3s ease-out forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes wachsen { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .start-logo .rahmen, .start-logo .zweig { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { padding: clamp(3.5rem, 8vw, 6.5rem) 1rem; scroll-margin-top: var(--kopf-h); }
.innen { max-width: var(--breite); margin: 0 auto; }
.dachzeile {
  display: block; margin-bottom: .7rem; font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--salbei-dunkel);
}
.einleitung { max-width: 40rem; color: var(--grau-dunkel); font-size: 1.1rem; }

/* ---------- Rundgang: Einleitung ---------- */
.rundgang-intro { padding: clamp(3rem, 7vw, 5rem) 1rem 2rem; text-align: center; }
.rundgang-intro .einleitung { margin: 0 auto; }
.rundgang-intro h2 { margin-bottom: .4em; }

/* ---------- Rundgang: Bühne ---------- */
.buehne {
  position: relative; overflow: hidden;
  height: calc(100svh - var(--kopf-h)); min-height: 540px; max-height: 1000px;
  background: #EEE8DF; scroll-margin-top: var(--kopf-h);
  touch-action: pan-y; -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.buehne:focus-visible { outline-offset: -4px; }
/* Beim Scrollen rastet die Seite am Rundgang ein, damit Hochwischen ihn Schritt für Schritt weiterführt */
html { scroll-snap-type: y proximity; }
.js .buehne { scroll-snap-align: start; }
.welt { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 50%; }

.raum { position: absolute; inset: 0; overflow: hidden; visibility: hidden; backface-visibility: hidden; background: #EEE8DF; }
.raum.aktiv, .raum.sichtbar { visibility: visible; }
.raum-titel { /* sichtbar nur ohne JavaScript */ }
.raum-bild {
  position: absolute; left: 0; right: 0; top: 64px; bottom: 150px;
  transition: transform .9s cubic-bezier(.22, .7, .2, 1), filter .9s;
  transform-origin: 50% 55%;
}
.raum-svg { width: 100%; height: 100%; overflow: visible; }

/* Möbel & Punkte */
.stueck { cursor: pointer; transition: filter .25s; outline: none; }
.stueck:hover, .stueck:focus-visible, .stueck.hervor {
  filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 7px rgba(255, 252, 240, .95)) drop-shadow(0 6px 14px rgba(70, 60, 45, .25));
}
.stueck:focus-visible { filter: drop-shadow(0 0 4px var(--salbei-dunkel)) drop-shadow(0 0 4px var(--salbei-dunkel)); }
.punkt { cursor: pointer; transition: opacity .4s; }
.punkt .ring { fill: #fff; opacity: .55; transform-box: fill-box; transform-origin: center; animation: puls 2.2s ease-out infinite; }
.punkt .kern { fill: var(--weiss); stroke: var(--salbei-dunkel); stroke-width: 3; }
.punkt .mitte { fill: var(--salbei-dunkel); }
.punkt:hover .kern { fill: var(--salbei-hell); }
@keyframes puls { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .punkt .ring { animation: none; } }
.raum.zeigt-text .punkt, .buehne.unterwegs .punkt { opacity: 0; pointer-events: none; }

/* Möbelliste im Raum */
.raum-moebel {
  position: absolute; left: 0; right: 0; bottom: 76px; z-index: 3;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem;
  padding: 0 .75rem; transition: opacity .4s, transform .4s;
}
.raum-moebel p { width: 100%; margin: 0 0 .1rem; text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grau-dunkel); }
.chip {
  min-height: 40px; padding: .4rem .9rem; border-radius: 999px; cursor: pointer;
  background: rgba(251, 250, 247, .9); color: var(--text); border: 1px solid var(--linie);
  font: 400 .93rem/1.2 var(--schrift); display: inline-flex; align-items: center; gap: .4rem;
  box-shadow: 0 4px 14px -8px rgba(51, 53, 45, .35);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--salbei); }
.chip:hover { background: #fff; border-color: var(--salbei); }
.buehne.unterwegs .raum-moebel { opacity: 0; transition: none; }
.raum.zeigt-text .raum-moebel { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Text zum Raum */
.raum-text {
  position: absolute; z-index: 4; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(251, 250, 247, .97); border-radius: 22px 22px 0 0;
  left: 0; right: 0; bottom: 64px; max-height: calc(100% - 150px);
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 -18px 40px -20px rgba(51, 53, 45, .35);
  transform: translateY(105%); opacity: 0; visibility: hidden;
  transition: transform .7s cubic-bezier(.22, .7, .2, 1), opacity .5s, visibility 0s .7s;
  -webkit-user-select: text; user-select: text;
}
.raum.zeigt-text .raum-text { transform: none; opacity: 1; visibility: visible; transition: transform .7s cubic-bezier(.22, .7, .2, 1) .1s, opacity .5s .1s, visibility 0s; }
.raum.zeigt-text .raum-bild { transform: translateY(-16%) scale(.92); filter: saturate(.85) brightness(.97); }
.raum-text .flaeche { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--salbei-dunkel); margin-bottom: .4rem; }
.raum-text h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 400; margin-bottom: .5rem; }
.raum-text p { color: #45473E; }
.kniffe { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .45rem; }
.kniffe li { display: flex; gap: .6rem; align-items: baseline; }
.kniffe li::before {
  content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid var(--salbei-dunkel);
  border-radius: 3px 3px 0 0; transform: translateY(2px);
}
.raum-text .chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.raum-text .knopf { width: 100%; }

@media (min-width: 900px) {
  .raum-bild { top: 66px; bottom: 92px; }
  .raum-moebel { bottom: 84px; }
  .raum-moebel p { width: auto; margin: 0 .4rem 0 0; }
  .raum-text {
    left: auto; right: clamp(1rem, 4vw, 3.5rem); top: 84px; bottom: 96px; width: min(430px, 40%);
    max-height: none; border-radius: 22px; padding: 2rem 2rem 1.75rem;
    transform: translateX(115%); box-shadow: 0 30px 60px -30px rgba(51, 53, 45, .45);
  }
  .raum.zeigt-text .raum-bild { transform: translateX(-21%) scale(.96); }
  .raum-text .knopf { width: auto; }
}

/* Steuerung */
.rg-kopf {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1rem; pointer-events: none;
}
.rg-kopf > * { pointer-events: auto; }
.rg-ort {
  margin: 0; display: flex; align-items: baseline; gap: .55rem;
  background: rgba(251, 250, 247, .88); border-radius: 999px; padding: .45rem 1rem;
  font-size: .95rem; letter-spacing: .08em; box-shadow: 0 6px 18px -12px rgba(51, 53, 45, .4);
}
.rg-nr { font-weight: 500; color: var(--salbei-dunkel); font-variant-numeric: tabular-nums; }
.rg-fortschritt { list-style: none; margin: 0; padding: .3rem; display: flex; gap: .15rem; background: rgba(251, 250, 247, .88); border-radius: 999px; box-shadow: 0 6px 18px -12px rgba(51, 53, 45, .4); }
.rg-fortschritt button {
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--grau);
}
.rg-fortschritt button::before {
  content: ""; width: 11px; height: 16px; border: 1.8px solid currentColor; border-radius: 6px 6px 1px 1px;
  transition: background .3s;
}
.rg-fortschritt button[aria-current="step"] { color: var(--salbei-dunkel); }
.rg-fortschritt button[aria-current="step"]::before { background: var(--salbei); border-color: var(--salbei-dunkel); }
.rg-fortschritt button.besucht { color: var(--salbei); }
.rg-fortschritt button:hover { background: var(--creme-2); }

.rg-fuss {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: 0 .75rem; background: rgba(245, 243, 238, .94); border-top: 1px solid var(--linie);
}
.rg-hinweis { margin: 0; flex: 1; text-align: center; font-size: .88rem; line-height: 1.25; color: var(--grau-dunkel); }
.rg-knopf {
  height: 48px; min-width: 48px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: 500 .95rem/1 var(--schrift); letter-spacing: .03em;
  border: 1.5px solid var(--salbei-dunkel); background: transparent; color: var(--salbei-dunkel);
  padding: 0 .9rem;
}
.rg-knopf svg { width: 20px; height: 20px; flex: none; }
.rg-knopf:disabled { opacity: .35; cursor: default; }
.rg-weiter { background: var(--salbei-dunkel); color: #fff; }
.rg-weiter:hover { background: #46503D; }
.rg-zurueck { padding: 0; width: 48px; }
.rg-weiter .text { max-width: 9.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .rg-kopf { padding: .6rem .6rem; gap: .4rem; }
  .rg-ort { padding: .4rem .75rem; font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
  .rg-fortschritt { padding: .2rem; gap: 0; }
  .rg-fortschritt button { width: 28px; height: 32px; }
  .rg-fortschritt button::before { width: 9px; height: 13px; }
  .rg-fuss { padding: 0 .5rem; gap: .35rem; }
  .rg-weiter { padding: 0 .8rem; }
  .rg-weiter .text { max-width: 8.6rem; }
  .rg-hinweis { font-size: .76rem; }
}
.wisch-hand {
  position: absolute; z-index: 7; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  pointer-events: none; opacity: 0; color: var(--text);
}
.wisch-hand.zeigen { animation: wischen 2.4s ease-in-out 2; }
@keyframes wischen { /* Hochwischen */
  0% { opacity: 0; transform: translateY(50px); }
  20% { opacity: .85; }
  70% { opacity: .85; transform: translateY(-50px); }
  100% { opacity: 0; transform: translateY(-50px); }
}

/* ---------- Durchgang: Türen ---------- */
.durchgang {
  position: absolute; inset: 0; z-index: 5; overflow: hidden; pointer-events: none;
  container-type: size;
  --wand: #DCD3C6; --rahmen: #F3EEE6; --tuer: #8D9482; --boden: #CDB291; --fuge: #BFA17E;
}
.durchgang.klickbar { pointer-events: auto; cursor: pointer; }
.kamera { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.oeffnung {
  position: absolute; left: 50%; bottom: 18%; height: 64%; width: 29cqh;
  transform: translateX(-50%);
  box-shadow: 0 0 0 300vmax var(--wand);
  outline: 1.6cqh solid var(--rahmen);
  perspective: 1200px;
}
.durchgang.schiebetuer .oeffnung { overflow: hidden; }
.oeffnung .licht {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 40%, rgba(255, 249, 232, .75), rgba(255, 249, 232, 0));
}
.boden {
  position: absolute; left: -100%; right: -100%; top: 82%; bottom: -100%;
  background:
    linear-gradient(rgba(0, 0, 0, .08), rgba(0, 0, 0, 0) 6%),
    repeating-linear-gradient(180deg, var(--boden) 0 2.6cqh, var(--fuge) 2.6cqh calc(2.6cqh + 2px));
}
.wandschatten {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(75% 70% at 50% 45%, rgba(60, 50, 40, 0) 55%, rgba(60, 50, 40, .09) 100%);
}
.blatt {
  position: absolute; inset: 0; background: var(--tuer); transform-origin: 0 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.blatt i { /* Kassetten */
  position: absolute; left: 15%; right: 15%; border-radius: 2px;
  border: max(2px, .4cqh) solid rgba(0, 0, 0, .1);
  box-shadow: inset 0 0 0 max(1px, .25cqh) rgba(255, 255, 255, .14);
}
.blatt i:first-child { top: 7%; height: 40%; }
.blatt i:last-child { bottom: 7%; height: 40%; }
.blatt::after { /* Griff */
  content: ""; position: absolute; right: 9%; top: 50%; width: 3.2cqh; height: 1cqh; margin-top: -.5cqh;
  border-radius: 1cqh; background: #C9A86E; box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.blatt.rechts { transform-origin: 100% 50%; }
.blatt.rechts::after { right: auto; left: 9%; }

.durchgang.schiebetuer { --wand: #E7DFD3; --rahmen: #CDB291; --tuer: #C9A273; }
.durchgang.schiebetuer .blatt { background: repeating-linear-gradient(90deg, #C9A273 0 2.2cqh, #B8905F 2.2cqh calc(2.2cqh + 2px)); }
.durchgang.schiebetuer .blatt i { display: none; }
.durchgang.schiebetuer .blatt::after { width: 1cqh; height: 7cqh; margin-top: -3.5cqh; right: 6%; background: #393B2E; }

.durchgang.fluegeltuer { --wand: #D8D3C9; --rahmen: #F4F0E8; --tuer: #F1ECE3; --boden: #C9AE8C; }
.durchgang.fluegeltuer .blatt { width: 50%; }
.durchgang.fluegeltuer .blatt.rechts { left: 50%; }
.durchgang.fluegeltuer .blatt i:first-child {
  top: 6%; height: 60%; left: 14%; right: 14%;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(0, 0, 0, .08) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(transparent calc(33% - 1px), rgba(0, 0, 0, .08) calc(33% - 1px) calc(33% + 1px), transparent calc(33% + 1px) calc(66% - 1px), rgba(0, 0, 0, .08) calc(66% - 1px) calc(66% + 1px), transparent calc(66% + 1px)),
    rgba(214, 226, 219, .55);
}
.durchgang.fluegeltuer .blatt i:last-child { height: 22%; bottom: 6%; left: 14%; right: 14%; }

.durchgang.glastuer { --wand: #CDD2C4; --rahmen: #C9A273; --tuer: rgba(250, 250, 246, .55); --boden: #D4CCBF; --fuge: #C2B9AA; }
.durchgang.glastuer .blatt {
  -webkit-backdrop-filter: blur(7px) saturate(.8); backdrop-filter: blur(7px) saturate(.8);
  border: .9cqh solid #C9A273;
}
.durchgang.glastuer .blatt i { display: none; }
.durchgang.glastuer .blatt::before {
  content: ""; position: absolute;
  inset: 10% 18%; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 1.2cqh);
  border-radius: 0;
}
.durchgang.glastuer .blatt::after { width: .9cqh; height: 14cqh; margin-top: -7cqh; background: #9C7550; right: 8%; }

.durchgang.eingang { --wand: #DDD5C9; --rahmen: #F5F1EA; --tuer: #8D9482; }

.tuerschild {
  position: absolute; left: 50%; bottom: calc(18% + 64% + 4.5cqh); transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.6cqh; white-space: nowrap;
  font-size: max(13px, 2.3cqh); letter-spacing: .26em; text-transform: uppercase; color: var(--text);
}
.tuerschild svg { width: 5cqh; height: 5.3cqh; min-width: 26px; min-height: 28px; }
.tuerschild .nr { color: var(--salbei-dunkel); font-weight: 500; }
.eingang .tuerschild { font-size: max(15px, 3cqh); }
.pflanze { position: absolute; bottom: 17%; left: calc(50% + 14.5cqh + 4cqh); width: 13cqh; height: 26cqh; }
.matte {
  position: absolute; left: 50%; top: 84%; width: 34cqh; height: 4.5cqh; transform: translateX(-50%);
  background: #A49B8D; border-radius: .8cqh;
}
.durchgang-text {
  position: absolute; left: 0; right: 0; bottom: 76px; z-index: 2; text-align: center; padding: 0 1rem;
}
.durchgang-text span {
  display: inline-block; background: rgba(251, 250, 247, .9); border-radius: 999px; padding: .5rem 1.1rem;
  font-size: .95rem; box-shadow: 0 6px 18px -12px rgba(51, 53, 45, .45);
}

/* ---------- Ohne JavaScript: Räume untereinander ---------- */
.no-js .buehne { height: auto; max-height: none; overflow: visible; background: none; touch-action: auto; }
.no-js .welt { position: static; }
.no-js .raum { position: relative; visibility: visible; margin-bottom: 3rem; }
.no-js .raum-bild { position: relative; top: 0; bottom: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.no-js .raum-text { position: static; transform: none; opacity: 1; visibility: visible; max-width: 46rem; margin: 0 auto; border-radius: 0 0 22px 22px; }
.no-js .raum-moebel, .no-js .rg-kopf, .no-js .rg-fuss, .no-js .durchgang, .no-js .wisch-hand { display: none; }
.js .raum-titel { display: none; }

/* ---------- Möbel-Fenster ---------- */
.stueck-fenster {
  width: min(560px, calc(100% - 1.5rem)); max-height: calc(100svh - 2rem);
  padding: 0; border: 0; border-radius: 24px; background: var(--weiss); color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(40, 38, 30, .55);
}
.stueck-fenster::backdrop { background: rgba(51, 53, 45, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.stueck-fenster[open] { animation: aufgehen .45s cubic-bezier(.22, .7, .2, 1); }
@keyframes aufgehen { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .stueck-fenster[open] { animation: none; } }
.sf-bild {
  position: relative; height: 230px; background: radial-gradient(70% 70% at 50% 60%, #FFFDF8, #EDE6DC);
  display: grid; place-items: center; padding: 1.25rem;
}
.sf-bild svg { width: 100%; height: 100%; overflow: visible; }
.sf-schliessen {
  position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(251, 250, 247, .9); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.sf-schliessen svg { width: 22px; height: 22px; }
.sf-inhalt { padding: 1.4rem 1.4rem 1.5rem; }
.sf-raum { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--salbei-dunkel); margin-bottom: .3rem; }
.sf-inhalt h3 { font-size: 1.45rem; font-weight: 400; margin-bottom: .5rem; }
.sf-kniff { background: #EEF0E9; border-radius: 12px; padding: .8rem 1rem; display: flex; gap: .7rem; font-size: .97rem; }
.sf-kniff svg { flex: none; width: 22px; height: 22px; color: var(--salbei-dunkel); margin-top: .15rem; }
.sf-daten { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; font-size: .95rem; }
.sf-daten dt { color: var(--grau-dunkel); }
.sf-daten dd { margin: 0; }
.sf-farben { display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.sf-farben span { display: inline-flex; align-items: center; gap: .35rem; }
.sf-farben i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sf-hinweis { font-size: .82rem; color: var(--grau-dunkel); margin: 0 0 1rem; }
.sf-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }
.sf-blaettern { display: flex; gap: .4rem; }
.sf-blaettern button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--linie); background: transparent;
  cursor: pointer; color: var(--text); display: grid; place-items: center;
}
.sf-blaettern svg { width: 20px; height: 20px; }

/* ---------- Leistungen ---------- */
.leistungen { background: var(--weiss); }
.karten { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.karte {
  background: var(--creme); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--linie);
}
.karte svg { width: 44px; height: 44px; color: var(--salbei-dunkel); margin-bottom: 1rem; }
.karte h3 { margin-bottom: .4rem; }
.karte p { margin: 0; color: #4A4C43; }

/* ---------- Ablauf ---------- */
.schritte { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.schritte li { position: relative; padding-top: 3.6rem; counter-increment: s; }
.schritte li::before {
  content: "0" counter(s); position: absolute; top: 0; left: 0;
  width: 2.7rem; height: 3rem; display: grid; place-items: center;
  border: 1.5px solid var(--salbei-dunkel); border-radius: 1.4rem 1.4rem 3px 3px;
  font-weight: 500; color: var(--salbei-dunkel); font-size: .95rem;
}
.schritte p { margin: 0; color: #4A4C43; }

/* ---------- Über ---------- */
.ueber { background: var(--creme-2); }
.ueber-raster { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .ueber-raster { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }
.ueber-bild {
  aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; border-radius: 24px;
  background: var(--salbei); display: grid; place-items: center;
}
.ueber-bild .kachel {
  width: 58%; aspect-ratio: 1; border-radius: 22%; background: #F3EEE7; display: grid; place-items: center;
  box-shadow: 0 30px 50px -25px rgba(40, 38, 30, .45);
}
.ueber-bild svg { width: 62%; height: auto; }
.ueber-bild p { margin: 0; }
.leitsaetze { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.leitsaetze li { padding-left: 1.4rem; border-left: 2px solid var(--salbei); }
.leitsaetze strong { font-weight: 500; }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 900px) { .kontakt-raster { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; } }
.kontaktliste { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.kontaktliste li { display: flex; gap: .9rem; align-items: flex-start; }
.kontaktliste svg { flex: none; width: 24px; height: 24px; color: var(--salbei-dunkel); margin-top: .15rem; }
.kontaktliste small { display: block; color: var(--grau-dunkel); font-size: .85rem; letter-spacing: .06em; }
.formular {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem);
}
.felder { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .felder { grid-template-columns: 1fr 1fr; } .feld.breit { grid-column: 1 / -1; } }
.feld label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .3rem; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #CFC6B8; border-radius: 12px;
  background: #fff; color: var(--text); font: 400 1rem/1.4 var(--schrift);
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--salbei-dunkel); outline: 2px solid var(--salbei-hell); outline-offset: 0; }
.formular-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.formular-hinweis { font-size: .88rem; color: var(--grau-dunkel); margin: 1rem 0 0; }
#formular-meldung { min-height: 1.5em; margin: .75rem 0 0; font-weight: 500; color: var(--salbei-dunkel); }
#formular-meldung.fehler { color: #9A3B23; }

/* ---------- Rechtliches ---------- */
.rechtliches { background: var(--weiss); border-top: 1px solid var(--linie); }
.rechtliches .innen { max-width: 46rem; }
.rechtliches h2 { font-size: 1.6rem; }
.rechtliches h3 { font-size: 1.05rem; margin-top: 1.4rem; }

/* ---------- Fuß ---------- */
.fuss { background: #3A3C34; color: #E9E4DA; padding: 3rem 1rem 6rem; }
.fuss .innen { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .fuss .innen { grid-template-columns: 1.2fr 1fr 1fr; } .fuss { padding-bottom: 3rem; } }
.fuss .marke { color: #F3EEE7; }
.fuss .marke svg .rahmen { stroke: #C9C1B4; }
.fuss p { margin: .6rem 0 0; color: #CFC8BC; font-size: .95rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fuss a { color: #F3EEE7; }

/* ---------- Leiste am Handy ---------- */
.aktionsleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .4rem;
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(245, 243, 238, .96); border-top: 1px solid var(--linie);
  transition: transform .35s;
}
.aktionsleiste a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 52px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: .82rem; font-weight: 500;
}
.aktionsleiste a.hervor { background: var(--salbei-dunkel); color: #fff; }
.aktionsleiste svg { width: 22px; height: 22px; }
.aktionsleiste.weg { transform: translateY(110%); }
@media (min-width: 860px) { .aktionsleiste { display: none; } }
