/* humexa.de start page: hero with the camera push into the stele, the four scenes, the close. */

/* ---------------- hero + camera push */
.push { position: relative; }
.motion .push { height: 300svh; }
.push__stage { position: relative; }
.motion .push__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.push__view {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(620px, 100svh, 1000px);
}
.motion .push__view { height: 100%; }

/* the rig is the stele photograph plus the live screen; JS sizes it, CSS keeps a sane fallback */
.rig {
  position: absolute; z-index: 0; left: 50%; top: 0;
  height: 100%; aspect-ratio: 1.6; transform: translateX(-50%);
}
.rig__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(#000 88%, transparent);
  mask-image: linear-gradient(#000 88%, transparent);
}
.rig__slot { position: absolute; left: 0; top: 0; width: 360px; height: 640px; transform-origin: 0 0; }
.rig__slot .hx-demo, .live-screen {
  --hx-accent: var(--accent); --hx-accent-ink: var(--accent-ink);
  --hx-ink: var(--ink); --hx-dim: rgba(245, 245, 243, .66);
  gap: 0;
}
.rig__slot .hx-stage { border-radius: calc(16px * var(--frame, 0)); }
.rig__slot::before, .live-screen::before {
  /* glass: one soft glare across the screen, the way the stele's cover glass catches the strip light */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 34%, rgba(255, 255, 255, 0) 52%);
}
.rig__slot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: calc(16px * var(--frame, 0));
  box-shadow: inset 0 0 0 1px rgba(245, 245, 243, calc(.16 * var(--frame, 0)));
}
.hero__title {
  position: absolute; z-index: 2;
  right: calc(50% + var(--gap, 190px)); top: var(--cy, 41%);
  transform: translateY(-50%);
  font-size: clamp(3.5rem, 6.6vw, 6rem); font-weight: 600;
  letter-spacing: -.038em; line-height: .9; white-space: nowrap;
}
.hero__side {
  position: absolute; z-index: 2;
  left: calc(50% + var(--gap, 190px)); top: var(--cy, 41%);
  transform: translateY(-50%);
  width: min(23rem, calc(50% - var(--gap, 190px) - var(--pad)));
}
.hero__sub {
  font-size: clamp(1.1875rem, 1.6vw, 1.5rem); line-height: 1.32; font-weight: 500;
  letter-spacing: -.012em; text-wrap: balance;
}
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px;
}

/* demo controls, moved out of the screen so the screen stays clean */
.demo-ctl {
  --hx-ink: var(--ink); --hx-dim: var(--grey-1); --hx-accent: var(--accent);
  position: absolute; z-index: 3; left: 50%; bottom: clamp(14px, 2.6vh, 26px);
  transform: translateX(-50%);
}
.demo-ctl .hx-controls { flex-wrap: nowrap; gap: 8px 14px; justify-content: center; }
.demo-ctl .hx-btn { height: 32px; font-size: 13px; padding: 0 13px 0 11px; color: var(--ink); }
.demo-ctl .hx-btn:hover { background: rgba(245, 245, 243, .14); }
.demo-ctl .hx-label { font-size: 12.5px; color: var(--grey-1); white-space: nowrap; }

/* what the demo is proving right now */
.proofs { position: relative; z-index: 2; padding: 64px var(--pad) 8px; max-width: 46rem; }
.motion .proofs {
  position: absolute; left: var(--pl, 60%); top: 50%; transform: translateY(-50%);
  width: min(30rem, calc(100% - var(--pl, 60%) - var(--pad)));
  padding: 0; opacity: 0; pointer-events: none;
}
.proofs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.proofs__list li {
  display: flex; align-items: center; gap: 18px;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem); font-weight: 600; letter-spacing: -.032em; line-height: 1.12;
  color: var(--ink); transition: color .7s var(--ease);
}
.lamp {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: #2b2b2a; transition: background-color .7s var(--ease), transform .7s var(--ease);
}
.live .proofs__list li { color: var(--grey-2); }
.live .proofs__list li.is-lit { color: var(--ink); }
.live .proofs__list li.is-lit .lamp { background: var(--accent); transform: scale(1.2); }
.proofs__now {
  margin-top: 28px; max-width: 32ch; min-height: 3em;
  font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.5; color: var(--grey-1);
  transition: opacity .28s ease;
}
.proofs__now.is-out { opacity: 0; }

/* ---------------- scenes */
.scene {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100svh, 1000px);
  padding: clamp(96px, 12vh, 150px) var(--pad);
  display: grid; align-items: center;
}
.scene__inner { width: 100%; max-width: 1320px; margin: 0 auto; }

/* 1 · lokal */
.lokal-scene .scene__media { position: absolute; inset: -7% 0; z-index: -1; }
.lokal__rig {
  /* fit the height, never crop it: on a wide screen a cover crop cut off her head. Wider screens
     show black beside the photo, narrower ones lose its empty sides; the stele stays centred. */
  position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 1.6;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(transparent 4%, #000 14%, #000 70%, transparent 89%), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(transparent 4%, #000 14%, #000 70%, transparent 89%), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.lokal__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: brightness(1.22) contrast(1.04); }
/* the kiosk screen, laid out at 360 x 640 and pinned onto the photo's screen by home.js */
.live-screen { position: absolute; left: 0; top: 0; width: 360px; --hx-caption-size: 19px; }
.live-screen:not(.is-fit) { visibility: hidden; }
.lokal {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 26vw) minmax(0, 1fr);
  align-self: stretch; max-width: none;
}
.lokal__text { grid-column: 1; align-self: start; }
.lokal__privacy { grid-column: 3; align-self: end; max-width: 25rem; justify-self: end; width: 100%; }
.privacy h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 16px; }
.privacy ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.privacy li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.45; color: var(--grey-1);
}
.privacy li svg { width: 20px; height: 20px; margin-top: 1px; color: var(--ink); }

/* 2 · wissen */
.wissen {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 8vw, 150px); align-items: center; max-width: 1180px;
}
.quote {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 30rem;
}
.quote blockquote { margin: 0; display: grid; gap: 10px; font-size: 1.0625rem; line-height: 1.45; }
.quote__who { display: block; font-size: .8125rem; color: var(--grey-2); margin-bottom: 2px; }
.quote figcaption { margin-top: 14px; font-size: .8125rem; color: var(--grey-2); }
.live .quote { display: none; }
.wissen__device { position: relative; display: grid; justify-items: center; gap: 22px; }
.wissen__device::before {
  /* light falling on the floor under the screen */
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 34px;
  width: 150%; height: 110px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 248, 236, .075), rgba(255, 248, 236, 0) 72%);
}
.device {
  width: clamp(268px, 24vw, 340px); padding: 9px; border-radius: 30px;
  background: linear-gradient(155deg, #2e2e30 0%, #0d0d0e 34%, #0a0a0b 70%, #1b1b1c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 46px 70px -34px rgba(0, 0, 0, .95);
}
.device__screen { border-radius: 22px; overflow: hidden; background: var(--bg-2); aspect-ratio: 9 / 16; }
.device__screen > img { width: 100%; height: 100%; object-fit: cover; }
.device__screen .hx-demo {
  --hx-accent: var(--accent); --hx-accent-ink: var(--accent-ink);
  --hx-ink: var(--ink); --hx-dim: rgba(245, 245, 243, .66);
  --hx-caption-size: 19px; gap: 0;
}
.device__screen .hx-badge--local span { display: none; }
.wissen__device .demo-ctl { position: static; transform: none; }

/* 3 · natürlich */
.natural {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
.natural__face {
  position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 4 / 5;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 97%), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(#000 62%, transparent 97%), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.natural__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.langs {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: .1em .75em;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
}
.langs__more { color: var(--grey-2); }
.note { margin-top: 12px; max-width: 34rem; font-size: .9375rem; color: var(--grey-2); }

/* 4 · anpassbar */
.custom {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
.extras { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 31rem; }
.extras li {
  display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.45; color: var(--grey-1);
}
.extras b { color: var(--ink); font-weight: 600; }
.custom__stage { display: grid; justify-items: center; }
.outfits {
  position: relative; width: min(100%, 540px); aspect-ratio: 900 / 914;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 99%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(#000 70%, transparent 99%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.outfits img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .8s var(--ease);
}
.outfits .o-marine { opacity: 1; }
.custom:has(input:checked:not([value="marine"])) .outfits .o-marine { opacity: 0; }
.custom:has(input[value="graphit"]:checked) .o-graphit,
.custom:has(input[value="weiss"]:checked) .o-weiss,
.custom:has(input[value="marine"]:checked) .o-marine,
.custom:has(input[value="bordeaux"]:checked) .o-bordeaux,
.custom:has(input[value="salbei"]:checked) .o-salbei { opacity: 1; }
.swatches { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; }
.swatches legend {
  width: 100%; padding: 0; margin-bottom: 14px; text-align: center;
  font-size: .875rem; color: var(--grey-2);
}
.sw-row { display: flex; justify-content: center; gap: 4px; }
.sw {
  position: relative; display: grid; justify-items: center; gap: 9px;
  width: 70px; padding-top: 4px; cursor: pointer;
}
.sw input {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; margin: 0; opacity: 0; cursor: pointer;
}
.sw__dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 3px var(--bg), 0 0 0 4.5px transparent;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.sw:hover .sw__dot { transform: scale(1.07); }
.sw input:checked + .sw__dot {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 3px var(--bg), 0 0 0 4.5px var(--accent);
}
.sw input:focus-visible + .sw__dot { outline: 2px solid var(--accent); outline-offset: 7px; }
.sw__name { font-size: .8125rem; color: var(--grey-2); transition: color .4s var(--ease); }
.sw input:checked ~ .sw__name { color: var(--ink); }

/* close */
.close { padding: clamp(72px, 10vh, 120px) var(--pad) clamp(64px, 9vh, 110px); }
.close__inner {
  display: grid; grid-template-columns: auto minmax(0, 32rem); justify-content: center;
  gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1180px; margin: 0 auto;
}
/* a window onto the stele: the photo is mostly empty studio, so it is shown cropped to the stele
   (x 22-78 %, y 16-92 % of stele_tall_dark.webp); the screen corners stay in photo percent */
.close__frame {
  position: relative; overflow: hidden; height: clamp(460px, 76svh, 780px); aspect-ratio: .49;
  -webkit-mask-image: linear-gradient(#000 74%, transparent 98%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(#000 74%, transparent 98%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.close__rig { position: absolute; left: -39.3%; top: -21.05%; width: 178.6%; aspect-ratio: 2 / 3; }
.close__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: brightness(1.15); }
.close h2 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
.close .lead { margin-top: 22px; max-width: 28rem; }
.close__actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.close__visit { margin-top: 30px; font-size: .9375rem; color: var(--grey-1); max-width: 40ch; }
.close__visit a { color: var(--ink); }
.close__visit a:hover { color: var(--accent); }

/* 5 · optional senses: the list and the diagram light up one sense at a time, in step */
.opt {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
.senses { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 33rem; }
.senses li {
  display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.45; color: var(--grey-1);
}
.senses b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.senses .lamp { margin-top: 8px; }
.opt__fig { position: relative; justify-self: center; width: min(100%, 620px); }
/* the emotions loop sits exactly on the sphere of the SVG (centre 320/250, r 86 in its 640 x 540 box) */
.orb-face {
  position: absolute; left: 36.5625%; top: 30.3704%; width: 26.875%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; background: #050505;
}
.orb-face video { display: block; width: 100%; height: 100%; object-fit: cover; }
.orb-face::after {
  /* the glass: the same highlight, edge shade and rim the SVG sphere carries underneath */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 15% at 50% 20%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .9) 100%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(231, 191, 142, .5), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.orb-emo {
  position: absolute; left: 50%; top: 65.2%; transform: translateX(-50%);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent); white-space: nowrap;
}
.senses-map { display: block; width: 100%; height: auto; overflow: visible; }

.senses [data-sense="person"], .node--person, .pulse--person { --d: 0s; }
.senses [data-sense="face"], .node--face, .pulse--face { --d: -3s; }
.senses [data-sense="voice"], .node--voice, .pulse--voice { --d: -2s; }
.senses [data-sense="motion"], .node--motion, .pulse--motion { --d: -1s; }

.senses-map .wires path { stroke: rgba(245, 245, 243, .13); stroke-width: 1.2; }
.pulse path {
  stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 16 84; stroke-dashoffset: 16; opacity: 0;
  animation: sg-pulse 4s cubic-bezier(.45, 0, .25, 1) var(--d) infinite;
}
.pulse .pulse__glow { stroke-width: 7; stroke-opacity: .45; }
.orb__halo, .orb__ring { transform-box: fill-box; transform-origin: center; }
.orb__halo { animation: sg-halo 1s ease-out infinite; }
.orb__ring--a { stroke: rgba(245, 245, 243, .16); stroke-dasharray: 1.5 7; animation: sg-spin 40s linear infinite; }
.orb__ring--b {
  stroke: var(--accent); stroke-opacity: .55; stroke-width: 1.3; stroke-linecap: round;
  stroke-dasharray: 80 661.4; animation: sg-spin 9s linear infinite reverse;
}
.node__label { fill: var(--grey-1); font-size: 13px; font-weight: 500; text-anchor: middle; letter-spacing: .01em; animation: sg-label 4s var(--ease) var(--d) infinite; }
.node__sheen { animation: sg-sheen 4s var(--ease) var(--d) infinite; }
.glyph { stroke: rgba(245, 245, 243, .62); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.glyph-fill { fill: rgba(245, 245, 243, .82); }
.scan { stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; animation: sg-scan 2.6s ease-in-out infinite; }
.mem { fill: rgba(245, 245, 243, .5); transform-box: fill-box; transform-origin: 0 50%; animation: sg-mem 4s var(--ease) infinite; }
.mem--2 { animation-delay: .25s; }
.mem--3 { animation-delay: .5s; }
.marks circle { fill: var(--accent); animation: sg-twinkle 2.2s ease-in-out infinite; }
.marks circle:nth-child(odd) { animation-delay: -1.1s; }
.marks circle:nth-child(3n) { animation-delay: -.55s; }
.mouth { stroke: rgba(245, 245, 243, .82); stroke-width: 1.8; stroke-linecap: round; }
.mouth--flat { animation: sg-flat 5s ease-in-out infinite; }
.mouth--smile { animation: sg-smile 5s ease-in-out infinite; }
.wave rect { fill: rgba(245, 245, 243, .8); transform-box: fill-box; transform-origin: center; animation: sg-bar 1.1s ease-in-out infinite; }
.wave rect:nth-child(3n) { animation-delay: -.35s; animation-duration: .9s; }
.wave rect:nth-child(3n+1) { animation-delay: -.7s; animation-duration: 1.3s; }
.joints circle { fill: var(--accent); }
.arm { transform-box: view-box; transform-origin: 558px 406px; animation: sg-wave 1.6s ease-in-out infinite; }
.senses .lamp { animation: sg-lamp 4s var(--ease) var(--d) infinite; }
/* nothing runs while the section is off screen (home.js) */
.js #optional:not(.is-on) .senses-map *, .js #optional:not(.is-on) .senses .lamp { animation-play-state: paused; }

@keyframes sg-pulse {
  0% { stroke-dashoffset: 16; opacity: 1; }
  24% { stroke-dashoffset: -84; opacity: 1; }
  25%, 100% { stroke-dashoffset: -84; opacity: 0; }
}
@keyframes sg-halo { 0%, 86% { opacity: .72; transform: scale(.985); } 96% { opacity: 1; transform: scale(1.02); } 100% { opacity: .72; transform: scale(.985); } }
@keyframes sg-spin { to { transform: rotate(360deg); } }
@keyframes sg-sheen { 0% { transform: translateX(0); } 26%, 100% { transform: translateX(216px); } }
@keyframes sg-label { 0%, 24% { fill: var(--ink); } 36%, 100% { fill: var(--grey-1); } }
@keyframes sg-lamp { 0%, 24% { background-color: var(--accent); transform: scale(1.2); } 36%, 100% { background-color: #2b2b2a; transform: none; } }
@keyframes sg-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(52px); } }
@keyframes sg-mem { 0% { transform: scaleX(.12); } 35%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .2; } }
@keyframes sg-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes sg-flat { 0%, 38% { opacity: 1; } 48%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sg-smile { 0%, 38% { opacity: 0; } 48%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sg-bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes sg-wave { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(18deg); } }

/* back to the top, once the bottom is reached */
.totop {
  /* shown only at the very end, so it sits just above the footer (--foot: home.js) */
  position: fixed; z-index: 20; right: clamp(16px, 2.4vw, 32px); bottom: calc(var(--foot, 0px) + 16px);
  display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); background: rgba(24, 24, 24, .78);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 243, .14), 0 12px 24px -12px rgba(0, 0, 0, .9);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .3s var(--ease), visibility 0s;
}
.totop svg { width: 14px; height: 14px; }
.totop:hover { background: rgba(58, 56, 54, .9); }
.totop:focus-visible { border-radius: 50%; }
.js .totop { display: grid; }
.js .totop:not(.is-on) {
  opacity: 0; transform: translateY(10px); visibility: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}

/* swatch colours (no inline styles: the CSP allows none) */
.sw--graphit { --c: #4d4d4d; }
.sw--weiss { --c: #e9e9e7; }
.sw--marine { --c: #4a6081; }
.sw--bordeaux { --c: #b6444f; }
.sw--salbei { --c: #c0cbbe; }

@media (max-width: 819px) {
  .push__view {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 82px 22px 104px;
  }
  .hero__title { position: relative; right: auto; top: auto; transform: none; font-size: 3.5rem; }
  .hero__side { display: contents; }
  .hero__sub { position: relative; z-index: 2; margin-top: 12px; max-width: 19ch; font-size: 1.1875rem; }
  .hero__actions { position: relative; z-index: 2; margin-top: auto; justify-content: center; gap: 12px 20px; }
  .demo-ctl .hx-btn--replay { display: none; }
  /* two buttons on the first line, the "simulated" note on its own line below */
  .demo-ctl { width: max-content; max-width: calc(100vw - 44px); }
  .demo-ctl .hx-controls { flex-wrap: wrap; }
  .demo-ctl .hx-label { flex-basis: 100%; text-align: center; }
  .motion .proofs { left: 22px; right: 22px; width: auto; top: var(--pt, 64%); transform: none; }
  .proofs__list { gap: 2px; }
  .proofs__list li { font-size: 1.375rem; gap: 14px; }
  .lamp { width: 7px; height: 7px; }
  .proofs__now { margin-top: 12px; font-size: .9375rem; }

  .scene { display: block; padding: 88px 22px; min-height: 0; }
  .lokal-scene .scene__media { position: relative; inset: auto; margin: -24px -22px 28px; aspect-ratio: 1; }
  .lokal { display: block; }
  .lokal__privacy { margin-top: 40px; max-width: none; }
  .wissen, .natural, .custom, .opt { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .close { padding: 56px 22px 72px; }
  .close__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; text-align: center; }
  .close__frame { height: min(50svh, 440px); }
  .close .lead { margin-inline: auto; }
  .close__actions { justify-content: center; margin-top: 26px; }
  .close__visit { margin: 24px auto 0; }
  .extras li { grid-template-columns: 4.75rem minmax(0, 1fr); gap: 12px; }
  .natural__face { order: -1; width: min(100%, 420px); }
  .opt__fig { order: -1; }
  .device { width: min(78vw, 300px); }
  .sw { width: 62px; }
}
@media (min-width: 820px) and (max-width: 1099px) {
  .lokal { grid-template-columns: minmax(0, 1fr) 30vw minmax(0, 1fr); }
}
