/* Terras24 · Glasschiebewand und Senkrechtmarkise (#wand, dunkel) */
#wand .wa-kopf { margin-bottom: clamp(28px, 5vw, 56px); }
#wand .wa-raster { display: grid; gap: clamp(24px, 5vw, 56px); }

/* ---------- Bühne: Fotoebenen in Quellpixeln 1856 × 2304 ---------- */
#wand .wa-bild { margin: 0 calc(-1 * var(--rand)); min-width: 0; }
#wand .wa-buehne { position: relative; aspect-ratio: 1856 / 2304; overflow: hidden; background: var(--anthrazit); cursor: grab;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
#wand .wa-buehne.zieht { cursor: grabbing; }
#wand .wa-buehne img { display: block; max-width: none; pointer-events: none; -webkit-user-drag: none; }
#wand .wa-basis { position: absolute; inset: 0; width: 100%; height: 100%; }
#wand .wa-paneele { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#wand .wa-paneel, #wand .wa-kante { position: absolute; overflow: hidden; will-change: transform; }
#wand .wa-paneel img, #wand .wa-kante img { position: absolute; top: 0; height: 100%; }
#wand .wa-paneel img { will-change: transform; }
#wand .wa-kante { z-index: 1; }
#wand .wa-stapel { position: absolute; z-index: 3; left: 10.5603%; top: 26.0417%; width: 27.3707%; height: 55.6424%; pointer-events: none; }
#wand .wa-stapel img { width: 100%; height: 100%; }
/* Tisch, Stuhl und Becher stehen vor der Front: Markise und Regen enden dahinter */
#wand .wa-zip-rahmen { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 64.974%, 82.004% 64.974%, 82.004% 70.399%, 72.683% 70.399%, 72.683% 100%, 0 100%); }
#wand .wa-zip { position: absolute; left: 6.4655%; top: 24.0885%; width: 84.6983%; height: 56.7274%; overflow: hidden;
  opacity: 0; transition: opacity .3s; pointer-events: none; will-change: transform; }
#wand .wa-zip.an { opacity: 1; }
#wand .wa-zip picture, #wand .wa-zip img { position: absolute; inset: 0; width: 100%; height: 100%; }
#wand .wa-zip picture { will-change: transform; }
/* Fallstab der Markise (Farbverlauf aus dem Foto gemessen) */
#wand .wa-leiste { position: absolute; bottom: 0; left: 6.2977%; width: 90.3308%; height: 2.5249%;
  background: linear-gradient(#383c48 0 4%, #1c2230 4% 10%, #131b28 10% 28%, #303c4e 28% 55%, #0f1622 55% 100%); box-shadow: 0 -1px 0 rgba(255, 255, 255, .05); }
#wand .wa-regen { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; }

/* Griff am vorderen Paneel: Alu-Leiste und Knauf */
#wand .wa-griff-bahn { position: absolute; z-index: 6; left: 35.4526%; top: 54.99%; width: 0; height: 0; will-change: transform; }
#wand .wa-griff { position: absolute; left: -26px; top: -62px; width: 52px; height: 124px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; outline: none; }
#wand .wa-griff-stange { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; border-radius: 2px;
  background: linear-gradient(90deg, #5b656b, #d9dfe2 45%, #9aa4aa); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 4px 14px rgba(0, 0, 0, .35); }
#wand .wa-griff-knauf { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--ecke);
  background: var(--salbei); color: var(--nacht); box-shadow: 0 0 0 2px #fff, 0 8px 22px rgba(0, 0, 0, .45); transition: background .2s, transform .2s var(--kurve); }
#wand .wa-griff-knauf svg { width: 26px; height: 26px; }
#wand .wa-griff:hover .wa-griff-knauf, #wand .zieht .wa-griff-knauf { background: var(--salbei-hell); }
#wand .zieht .wa-griff-knauf { transform: scale(1.06); }
#wand .wa-griff:focus-visible .wa-griff-knauf { outline: 3px solid #fff; outline-offset: 4px; }
#wand .wa-griff.hinweis .wa-griff-knauf::after { content: ""; position: absolute; inset: -2px; border-radius: var(--ecke); box-shadow: 0 0 0 2px #fff;
  animation: wa-puls 1.6s var(--kurve) 3; pointer-events: none; }
@keyframes wa-puls { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

#wand .wa-tipp { position: absolute; z-index: 6; left: calc(35.45% + 36px); top: calc(55% - 17px); margin: 0; padding: 6px 12px 6px 10px; border-radius: var(--ecke);
  background: rgba(10, 14, 16, .78); pointer-events: none; transition: opacity .4s, transform .4s var(--kurve); }
#wand .wa-tipp svg { width: 16px; height: 16px; color: var(--salbei-hell); }
#wand .wa-tipp.weg { opacity: 0; transform: translateX(8px); }
#wand .wa-pause { position: absolute; z-index: 7; right: 10px; top: 10px; background: rgba(10, 14, 16, .62); color: #fff; }
#wand .wa-pause:hover { background: rgba(10, 14, 16, .82); }
#wand .wa-pause:focus-visible { outline-color: #fff; }

#wand .wa-live { display: flex; align-items: flex-start; gap: 8px; margin: 12px var(--rand) 0; color: var(--regen); }
#wand .wa-live svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--salbei); }

/* ---------- Bedienung ---------- */
#wand .wa-bedienung { display: grid; gap: 22px; align-content: start; min-width: 0; }
#wand .wa-bedienung p { margin: 0; }
#wand .wa-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
#wand .wa-knoepfe .knopf { flex: 1 1 150px; gap: 8px; padding: 0 12px; font-stretch: 85%; font-size: 17px; }
#wand .wa-knoepfe .knopf.aktiv { box-shadow: inset 0 0 0 1.5px var(--salbei); }
#wand .wa-knoepfe .knopf.aktiv svg { color: var(--salbei); }
#wand .wa-status { min-height: 2.9em; color: var(--regen); }
#wand .wa-preise { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--linie); }
#wand .wa-preis { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
#wand .wa-preis dt { font-size: 16px; color: var(--regen); }
#wand .wa-preis dd { margin: 0; font: 760 18px/1.1 var(--display); font-stretch: 100%; color: #fff; }
#wand .wa-preis dd.zahl { font-size: clamp(28px, 7.4vw, 36px); line-height: 1; font-stretch: 75%; font-weight: 860; }
#wand .wa-preis dd .wa-ab { font: 600 15px/1 var(--text); font-stretch: 100%; color: var(--regen); margin-right: 6px; }
#wand .wa-mwst { margin-top: -12px !important; }
#wand .wa-cta .knopf { width: 100%; }
#wand .wa-recht { padding-left: 12px; border-left: 2px solid var(--schiefer); }

@media (min-width: 560px) {
  #wand .wa-cta .knopf { width: auto; }
}
@media (min-width: 900px) {
  #wand .wa-raster { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 88px); align-items: center; }
  #wand .wa-bild { margin: 0; width: min(100%, calc((100svh - var(--kopf) - 96px) * 1856 / 2304)); max-width: 640px; justify-self: start; }
  #wand .wa-live { margin-inline: 0; }
  #wand .wa-bedienung { gap: 26px; max-width: 520px; }
  #wand .wa-preis dd.zahl { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #wand .wa-pause { display: none; }
  #wand .wa-griff.hinweis .wa-griff-knauf::after { animation: none; }
}
