/* TRIelektro – site styles v2
   Floating glass nav, brand blue chapters, yellow light pools, scroll-driven sections. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* One scheme: navy (from the TRI blue of the logo) + white and light grey.
   Yellow is the accent only: buttons, markers, thin lines. Never a surface. */
:root {
  /* one vertical rhythm for every section (Dom, round 3: less space above headings) */
  --sec-y: clamp(56px, 6.5vw, 96px);
  --bg: #ffffff;
  --bg-2: #f3f5f8;
  --bg-3: #e4e8ee;
  --ink: #0f1729;
  --ink-2: #5a6477;
  --line: #e2e6ec;
  --navy: #0d1b36;
  --navy-2: #16284a;
  --night: #0a0f1c;
  --night-2: #16284a;
  --on-night: #f4f6fa;
  --on-night-2: #aeb7c8;
  --line-on-navy: rgba(255, 255, 255, .12);
  --blue: #183d7e;
  --blue-2: #2457b3;
  --blue-on-night: #9dbcff;
  --yellow: #ffed00; /* logo yellow */
  --yellow-2: #fff35c;
  --yellow-ink: #0f1729;

  --radius: 24px;
  --radius-l: 40px;
  --radius-s: 14px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;

  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.6vw, 4.75rem);
  --step-hero: clamp(2.6rem, 1.5rem + 4.6vw, 5.75rem);

  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --glass-light: rgba(255, 255, 255, 0.78);
  --glass-dark: rgba(18, 21, 28, 0.55);

  --nav-h: 64px;
  --nav-top: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 "Inter", system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--step-lead); line-height: 1.38; color: var(--ink-2); letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease-out, background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--yellow); color: var(--yellow-ink); }
.btn--accent:hover { background: var(--yellow-2); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.14); }
.link-arrow { font-weight: 650; text-decoration: none; color: var(--blue-2); }
.link-arrow::after { content: " \203A"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- nav: floating glass pill ---------- */
.nav {
  position: fixed; z-index: 50; top: var(--nav-top); left: 50%;
  width: min(80%, 1440px); transform: translateX(-50%);
}
.nav__bar {
  position: relative; height: var(--nav-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 10px 0 20px; border-radius: 20px;
  background: var(--glass-light); color: var(--ink);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px rgba(255,255,255,.35), 0 12px 32px rgba(8, 12, 24, .18);
}
.nav__logo { flex: none; display: block; border-radius: 6px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a:not(.btn) {
  position: relative; padding: 8px 13px; border-radius: 999px;
  font-size: .9375rem; font-weight: 550; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav__links a:not(.btn):hover { color: var(--ink); background: rgba(18,21,28,.06); }
.nav__links a[aria-current] { color: var(--ink); font-weight: 650; }
.nav__links a[aria-current]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--yellow);
}
.nav__cta { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.nav__cta-m { display: none; }
.nav__menu {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(18,21,28,.06); position: relative; flex: none;
}
.nav__menu span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--spring); }
.nav__menu span:first-child { top: 17px; } .nav__menu span:last-child { top: 25px; }
.nav.is-open .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav__menu { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0;
    display: grid; gap: 2px; padding: 10px; border-radius: 20px;
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 18px 40px rgba(8,12,24,.22);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: 50% 0;
    pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .35s var(--spring), visibility 0s .35s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .35s var(--spring); }
  .nav__links a:not(.btn) { padding: 13px 16px; font-size: 1.0625rem; border-radius: 14px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; --nav-top: 10px; }
  .nav { width: calc(100% - 20px); }
  .nav__bar { padding-left: 14px; border-radius: 18px; }
  .nav__logo img { height: 36px; }
  .nav__cta { display: none; }
  .nav__menu { margin-left: auto; }
  .nav__cta-m { display: inline-flex; margin-top: 6px; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .nav__links { background: #fff; }
}

/* ---------- tour (hero) ---------- */
.tour { position: relative; background: var(--night); }
.tour__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--night);
}
.tour__media, .tour__poster, .tour__still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--fx, 50%) 50%;
}
/* start photo: tour.js fades it into the film over the first half second of film */
.tour__poster { transition: opacity .2s linear; }
.tour__still { opacity: 0; transition: opacity .5s ease; }
.tour__still.is-on { opacity: 1; }
.tour__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,9,16,.55) 0%, rgba(6,9,16,.2) 40%, rgba(6,9,16,0) 62%),
    linear-gradient(0deg, rgba(6,9,16,.55) 0%, rgba(6,9,16,0) 38%),
    linear-gradient(180deg, rgba(6,9,16,.35) 0%, rgba(6,9,16,0) 18%);
}
.tour__load {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--load, 0));
  background: var(--yellow); transition: opacity .6s;
}
.tour.has-video .tour__load { opacity: 0; }

.tour__block {
  position: absolute; left: var(--pad); bottom: clamp(36px, 8vh, 96px); color: var(--on-night);
  max-width: min(660px, calc(100% - 2 * var(--pad)));
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--spring), transform .6s var(--spring);
  pointer-events: none; isolation: isolate;
}
/* soft gradient right behind the copy, so it reads on any frame */
.tour__block::before {
  content: ""; position: absolute; z-index: -1; inset: -45% -35% -40% -30%;
  background: radial-gradient(closest-side, rgba(5,8,14,.62), rgba(5,8,14,.32) 55%, rgba(5,8,14,0));
  pointer-events: none;
}
.tour__block.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tour__block--intro { bottom: clamp(104px, 16vh, 168px); }
.tour__block:not(.tour__block--intro) { bottom: clamp(104px, 13vh, 132px); }
.tour__block h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem); line-height: .98; letter-spacing: -0.04em; font-weight: 750; max-width: 15ch; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.tour__block h2 { position: relative; display: inline-block; padding-bottom: .1em; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem); font-weight: 750; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.tour__block h2::after {
  content: ""; position: absolute; left: .03em; right: .03em; bottom: 0; height: .07em; border-radius: 99px;
  background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--spring) .2s;
}
.tour__block.is-on h2::after { transform: scaleX(1); }
.tour__block p { margin-top: 16px; font-size: var(--step-lead); line-height: 1.35; font-weight: 500; color: #fff; max-width: 34ch; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.tour__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tour__actions .btn--ghost { color: #fff; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tour__sun { margin-top: 18px !important; font-size: .9375rem !important; font-weight: 500 !important; color: rgba(255,255,255,.85) !important; }
.tour__sun::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: 1px; }

/* room navigation: arrows + current room, bottom centre (replaces the scroll hint) */
.tour__nav {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  color: #fff; background: rgba(10, 13, 20, .46); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.tour__arrow {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(255,255,255,.1); transition: background-color .2s, opacity .2s, transform .12s ease-out;
}
.tour__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tour__arrow:hover { background: rgba(255,255,255,.2); }
.tour__arrow:active { transform: scale(.94); }
.tour__arrow--next { background: var(--yellow); color: var(--yellow-ink); }
.tour__arrow--next:hover { background: var(--yellow-2); }
.tour__arrow[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.tour__now { display: flex; align-items: center; gap: 10px; min-width: 15ch; justify-content: center; padding: 0 12px; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.tour__now small { font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.66); font-variant-numeric: tabular-nums; }
.tour__now .tour__cue-mouse { display: none; }
.tour.is-start .tour__now .tour__cue-mouse { display: block; }
.tour__cue-mouse { position: relative; width: 20px; height: 30px; border-radius: 11px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.tour__cue-mouse span { position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 4px; background: var(--yellow); animation: cue 1.8s var(--spring) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* room rail */
.rail {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 6px;
  border-radius: 999px; background: var(--glass-dark);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.tour.is-touring .rail { opacity: 1; pointer-events: auto; }
.rail button {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; background: transparent; color: var(--on-night-2); border-radius: 50%; cursor: pointer; font-size: 0;
}
.rail button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; transition: transform .3s var(--spring), background-color .3s; }
.rail button:hover { color: var(--on-night); background: rgba(255,255,255,.1); }
.rail button[aria-current="true"]::before { background: var(--yellow); opacity: 1; transform: scale(1.6); }
.rail button span {
  position: absolute; right: 42px; top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font-size: .8125rem; font-weight: 600; color: var(--on-night);
  padding: 5px 10px; border-radius: 999px; background: var(--glass-dark);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; transition: opacity .2s, transform .3s var(--spring); pointer-events: none;
}
.rail button:hover span, .rail button:focus-visible span, .rail button[aria-current="true"] span { opacity: 1; transform: translate(0, -50%); }
.tour__skip {
  position: absolute; right: var(--pad); bottom: 30px;
  color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500; text-decoration: none; padding: 8px 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.tour__skip:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) {
  .rail { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); flex-direction: row; }
  .rail button span { display: none; }
  .tour__block, .tour__block:not(.tour__block--intro) { bottom: 84px; }
  .tour__block--intro { bottom: 84px; }
  .tour__block p { font-size: 1.125rem; }
  .tour__skip { top: calc(var(--nav-top) + var(--nav-h) + 10px); bottom: auto; }
  .tour__scrim { background: linear-gradient(0deg, rgba(6,9,16,.8) 0%, rgba(6,9,16,.4) 45%, rgba(6,9,16,0) 72%), linear-gradient(180deg, rgba(6,9,16,.4) 0%, rgba(6,9,16,0) 22%); }
  .rail { display: none; }
  .tour__nav { bottom: 14px; }
  .tour__now { min-width: 0; padding: 0 8px; font-size: .875rem; }
}

/* hotspots */
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border: 0; padding: 0; background: transparent; cursor: pointer; pointer-events: auto;
  opacity: 0; transform: translate3d(var(--x), var(--y), 0) scale(.5);
  transition: opacity .35s var(--spring), transform .55s var(--spring);
  transition-delay: var(--d, 0ms);
}
.hotspot.is-on { opacity: 1; transform: translate3d(var(--x), var(--y), 0) scale(1); }
.hotspot.is-off-frame { display: none; }
.hotspot__dot {
  position: absolute; inset: 10px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), 0 4px 16px rgba(0,0,0,.35);
  transition: transform .3s var(--spring), background-color .2s;
}
.hotspot__dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--yellow); }
.hotspot::before {
  content: ""; position: absolute; inset: 10px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,237,0,.75);
  animation: ping 2.4s var(--spring) infinite; animation-delay: var(--d, 0ms);
}
.hotspot:hover .hotspot__dot { transform: scale(1.12); background: rgba(255,255,255,.5); }
.hotspot:active .hotspot__dot { transform: scale(.94); }
.hotspot[aria-expanded="true"] .hotspot__dot { background: rgba(255,255,255,.6); transform: scale(1.12); }
.hotspot__label {
  position: absolute; left: 50px; top: 50%; transform: translate(-4px, -50%);
  white-space: nowrap; font-size: .875rem; font-weight: 650; color: var(--ink);
  padding: 6px 12px; border-radius: 999px; background: var(--glass-light);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0; transition: opacity .2s, transform .3s var(--spring); pointer-events: none;
}
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; transform: translate(0, -50%); }
.hotspot[aria-expanded="true"] .hotspot__label { opacity: 0; }
.hotspot--left .hotspot__label { left: auto; right: 50px; transform: translate(4px, -50%); }
.hotspot--left:hover .hotspot__label, .hotspot--left:focus-visible .hotspot__label { transform: translate(0, -50%); }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 70%, 100% { transform: scale(1.9); opacity: 0; } }

/* glass card with product image on the right */
.card {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: min(470px, calc(100vw - 32px));
  display: grid; grid-template-columns: 1fr 150px; gap: 16px; align-items: center;
  padding: 18px; border-radius: var(--radius);
  background: var(--glass-light); color: var(--ink);
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 50px rgba(0,0,0,.28);
  transform-origin: var(--ox, 0) var(--oy, 0);
  opacity: 0; transform: translate3d(var(--cx), var(--cy), 0) scale(.92); filter: blur(6px);
  transition: opacity .25s ease, transform .45s var(--spring), filter .35s ease;
  pointer-events: none;
}
.card.is-open { opacity: 1; transform: translate3d(var(--cx), var(--cy), 0) scale(1); filter: none; pointer-events: auto; }
.card__body { padding: 4px 0 4px 4px; min-width: 0; }
.card__kicker { font-size: .8125rem; font-weight: 650; color: var(--blue); }
.card h3 { margin-top: 4px; font-size: 1.25rem; padding-right: 8px; }
.card p { margin-top: 8px; font-size: .9688rem; line-height: 1.45; color: #2f333c; }
.card__close {
  position: absolute; right: 10px; top: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.card__close:hover { background: #fff; }
.card .link-arrow { display: inline-block; margin-top: 12px; font-size: .9375rem; color: var(--blue); }
.card__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(15,23,41,.1); }
.card__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.card__logos a { display: inline-flex; align-items: center; padding: 3px 0; border-radius: 4px; transition: opacity .2s; }
.card__logos a:hover { opacity: .7; }
.card__brand[hidden] { display: none; }
.card__brand span { font-size: .75rem; font-weight: 650; color: var(--ink-2, #5A6477); text-transform: uppercase; letter-spacing: .06em; }
.card__brand img { height: 20px; width: auto; max-width: 96px; object-fit: contain; }
.card__media {
  position: relative; align-self: stretch; min-height: 150px; border-radius: 18px; overflow: hidden;
  background: var(--bg-2);
  display: grid; place-items: center;
}
.card__media img { width: 88%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); opacity: 0; transform: scale(.92); transition: opacity .35s, transform .6s var(--spring); }
.card.is-open .card__media img.is-loaded { opacity: 1; transform: none; }
.card.no-img { grid-template-columns: 1fr; }
.card.no-img .card__media { display: none; }
@media (max-width: 760px) {
  .card { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; grid-template-columns: 1fr 104px; transform: translate3d(0, 24px, 0); }
  .card.is-open { transform: none; }
  .card__media { min-height: 0; align-self: center; aspect-ratio: 1; }
  .card p { font-size: .9375rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .card { background: #fff; } .hotspot__dot, .rail { background: rgba(20,22,28,.92); }
}

/* ---------- shared section bits ---------- */
.section { padding: var(--sec-y) var(--pad); position: relative; }
.wrap { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.section--night { background: var(--navy); color: var(--on-night); }
.section--night .lead, .section--night .muted { color: var(--on-night-2); }
.section__head { display: grid; gap: 20px; max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--spring), transform .9s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); transform: translateY(-2px); }

.round {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg-3); font-size: 1.3rem; line-height: 1; transition: transform .12s, background-color .2s, opacity .2s;
}
.round:active { transform: scale(.94); }
.round--glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.round--glass:hover { background: rgba(255,255,255,.22); }
.round:disabled { opacity: .35; cursor: default; }

/* ---------- Leistungen: pinned horizontal travel ---------- */
.services { position: relative; color: var(--on-night); background: var(--navy); }
.services__pin { position: relative; overflow: hidden; }
.services.is-pinned .services__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(300px, 30%) 1fr; align-items: center;
}
.services__intro { position: relative; z-index: 2; padding: 120px var(--pad) 60px; display: grid; gap: 20px; align-content: center; }
.services__intro h2 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.75rem); }
.services__intro .lead { color: var(--on-night-2); }
.services__bar { height: 3px; border-radius: 3px; background: var(--line-on-navy); overflow: hidden; margin-top: 12px; max-width: 320px; }
.services__bar span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.services__nav { display: flex; gap: 10px; }
.services__view { position: relative; z-index: 1; min-width: 0; }
.services.is-pinned .services__view {
  overflow: hidden; padding: 110px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 24px), transparent 100%);
}
.services__track { display: flex; gap: 20px; padding: 0 var(--pad) 0 64px; will-change: transform; }
.svc {
  flex: none; width: clamp(280px, 23vw, 350px); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
}
.svc__media {
  position: relative; margin: 10px 10px 0; border-radius: 16px; background: var(--bg-2);
  aspect-ratio: 1 / .86; display: grid; place-items: center; overflow: hidden;
}
.svc__media img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(15, 23, 41, .16)); }
.svc__body { padding: 18px 22px 24px; display: grid; gap: 8px; }
.svc__body p { color: var(--ink-2); font-size: 1rem; }
.svc__body .link-arrow { font-size: .9375rem; margin-top: 4px; color: var(--blue); }
.svc--cta { background: transparent; color: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-on-navy); }
.svc__cta { display: grid; gap: 16px; padding: 32px 28px; }
.svc__cta h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.svc__cta p { color: var(--on-night-2); }
.svc__cta .btn { justify-self: start; }

/* phones and reduced motion: native swipe row instead of pinning */
.services:not(.is-pinned) .services__intro { padding: var(--sec-y) var(--pad) 28px; }
.services:not(.is-pinned) .services__view { padding-bottom: var(--sec-y); }
.services:not(.is-pinned) .services__track {
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
  padding: 16px var(--pad) 28px; scrollbar-width: none; will-change: auto;
}
.services:not(.is-pinned) .services__track::-webkit-scrollbar { display: none; }
.services:not(.is-pinned) .svc { scroll-snap-align: start; width: min(78vw, 340px); }
.services:not(.is-pinned) .services__nav { display: none; }

/* ---------- Ablauf: stacked cards ---------- */
.process {
  position: relative; z-index: 2; margin-top: calc(-1 * var(--radius-l));
  padding: var(--sec-y) var(--pad) var(--sec-y);
  background: var(--bg-2); border-radius: var(--radius-l) var(--radius-l) 0 0;
  overflow: clip;
}
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 7vh; }
.stack__card {
  position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 22px + var(--i) * 16px);
  min-height: min(66vh, 560px);
  display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden;
  border-radius: 30px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(15, 23, 41, .08);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--cover, 0) * .05));
}
.stack__card::after { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: calc(var(--cover, 0) * .18); pointer-events: none; border-radius: inherit; }
.stack__text { padding: clamp(28px, 4vw, 56px); display: grid; align-content: center; gap: 14px; }
.stack__step { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: .875rem; font-weight: 650; color: var(--ink-2); }
.stack__step::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--yellow); }
.stack__text h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); font-weight: 750; letter-spacing: -0.03em; }
.stack__text p { font-size: var(--step-lead); line-height: 1.38; color: var(--ink-2); max-width: 30ch; }
.stack__text .ticks { margin-top: 10px; font-size: 1rem; }
.stack__media { position: relative; overflow: hidden; }
.stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .stack { gap: 4vh; }
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--nav-top) + var(--nav-h) + 12px + var(--i) * 10px); }
  .stack__media { order: -1; aspect-ratio: 16 / 9; }
  .stack__text { padding: 24px 22px 28px; gap: 10px; }
  .stack__text .ticks { gap: 8px; }
}

/* ---------- Trier: the city light switch ---------- */
.trier { position: relative; background: #04070f; color: var(--on-night); }
.trier__stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.trier__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.trier__img--off { filter: var(--off-filter, none); }
.trier__img--on {
  clip-path: circle(0px at var(--ox, 46%) var(--oy, 62%));
  transition: clip-path .7s cubic-bezier(.55, 0, .9, .4);
}
/* on: fast start (expo-out), so most of the city is lit within a tenth of a second */
.trier.is-on .trier__img--on { clip-path: circle(var(--rmax, 150vmax) at var(--ox, 46%) var(--oy, 62%)); transition: clip-path 1.1s cubic-bezier(.16, 1, .3, 1); }
.trier__flare {
  position: absolute; left: var(--ox, 46%); top: var(--oy, 62%); width: 60vmin; aspect-ratio: 1; margin: -30vmin 0 0 -30vmin;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 240, 120, .55), rgba(255, 237, 0, 0));
  opacity: 0; transform: scale(.3);
}
.trier.is-flashing .trier__flare { animation: flare 1.6s var(--spring); }
@keyframes flare { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(2.4); } }
.trier__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,6,14,.7) 0%, rgba(3,6,14,.35) 34%, rgba(3,6,14,0) 58%), linear-gradient(0deg, rgba(3,6,14,.55), rgba(3,6,14,0) 35%); }
.trier__copy {
  position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-40%);
  max-width: min(560px, calc(100% - 2 * var(--pad)));
  display: grid; gap: 18px;
}
.trier__copy h2 { display: grid; font-size: clamp(2.6rem, 1.4rem + 4vw, 5.5rem); }
.trier__copy h2 span { grid-area: 1 / 1; transition: opacity .6s, transform .8s var(--spring); }
.trier__h-on { opacity: 0; transform: translateY(14px); }
.trier.is-on .trier__h-off { opacity: 0; transform: translateY(-14px); }
.trier.is-on .trier__h-on { opacity: 1; transform: none; }
/* headline swap is quick, so the two lines never sit on top of each other */
.trier.is-on .trier__h-off { transition: opacity .15s, transform .3s var(--spring); }
.trier.is-on .trier__h-on { transition: opacity .35s .12s, transform .8s var(--spring) .12s; }
.trier:not(.is-on) .trier__h-on { transition: opacity .15s, transform .3s var(--spring); }
.trier:not(.is-on) .trier__h-off { transition: opacity .35s .12s, transform .8s var(--spring) .12s; }
.trier__copy p { font-size: var(--step-lead); line-height: 1.38; color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.trier__places { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trier__places li {
  padding: 8px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 600;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .5s, color .5s; transition-delay: calc(var(--k, 0) * 90ms + .6s);
}
.trier__switch {
  position: absolute; z-index: 2; right: clamp(24px, 7vw, 120px); top: 50%; transform: translateY(-50%);
  display: grid; justify-items: center; gap: 18px;
}
.trier__hint { font-size: .9375rem; font-weight: 600; color: rgba(255,255,255,.85); text-shadow: 0 1px 10px rgba(0,0,0,.6); }

/* the rocker: a big designer light switch */
.rocker { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 30px; -webkit-tap-highlight-color: transparent; }
.rocker__plate {
  display: grid; place-items: center; width: clamp(132px, 12vw, 176px); aspect-ratio: 1; border-radius: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #ecebe7 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(0,0,0,.08), 0 24px 50px rgba(0,0,0,.45), 0 4px 10px rgba(0,0,0,.25);
}
.rocker__key {
  position: relative; width: 74%; aspect-ratio: 1; border-radius: 20px;
  background: linear-gradient(180deg, #e9e8e3 0%, #fbfbf9 48%, #ffffff 100%);
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.15);
  transition: background .35s var(--spring), box-shadow .35s var(--spring), transform .12s ease-out;
}
.rocker[aria-pressed="true"] .rocker__key {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf9 52%, #e6e5e0 100%);
  box-shadow: inset 0 6px 10px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.15);
}
.rocker:active .rocker__key { transform: scale(.97); }
.rocker__led {
  position: absolute; left: 50%; bottom: 14%; width: 18%; height: 4px; margin-left: -9%; border-radius: 4px;
  background: #ffb400; box-shadow: 0 0 10px 2px rgba(255, 180, 0, .65);
  animation: led 2.2s ease-in-out infinite;
}
.rocker[aria-pressed="true"] .rocker__led { background: #cfd3da; box-shadow: none; animation: none; }
@keyframes led { 50% { opacity: .45; } }
.rocker:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
@media (max-width: 760px) {
  .trier__copy { top: calc(var(--nav-top) + var(--nav-h) + 28px); transform: none; }
  .trier__copy p { font-size: 1.0625rem; }
  .trier__switch { top: auto; bottom: 28px; right: 50%; transform: translateX(50%); }
  .rocker__plate { width: 118px; border-radius: 24px; }
  .trier__scrim { background: linear-gradient(180deg, rgba(3,6,14,.78) 0%, rgba(3,6,14,.45) 45%, rgba(3,6,14,0) 70%), linear-gradient(0deg, rgba(3,6,14,.6), rgba(3,6,14,0) 30%); }
  .trier__img { object-position: 46% 50%; }
}

/* ---------- reviews ---------- */
.reviews { position: relative; overflow: clip; padding: var(--sec-y) 0 var(--sec-y); background: var(--bg); }
.reviews__head { padding: 0 var(--pad); display: grid; gap: 16px; max-width: calc(860px + 2 * var(--pad)); margin-left: max(0px, calc((100% - var(--max)) / 2 - var(--pad))); }
.reviews__head h2 { max-width: 16ch; }
.reviews__note { display: inline-flex; justify-self: start; font-size: .875rem; font-weight: 550; padding: 7px 12px; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E"); }
.stars { display: flex; gap: 2px; }
.stars i { width: 17px; height: 17px; background: var(--yellow); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.stars--big { gap: 6px; }
.stars--big svg { width: clamp(26px, 2.6vw, 36px); height: auto; fill: var(--yellow); transform: scale(.5); opacity: 0; transition: transform .6s var(--spring), opacity .3s; }
.stars--big.in svg { transform: none; opacity: 1; }
.stars--big.in svg:nth-child(2) { transition-delay: .06s; } .stars--big.in svg:nth-child(3) { transition-delay: .12s; }
.stars--big.in svg:nth-child(4) { transition-delay: .18s; } .stars--big.in svg:nth-child(5) { transition-delay: .24s; }
.reviews__rows { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 72px); }
.reviews__row {
  list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: 18px; width: max-content;
  transform: translate3d(var(--x, 0px), 0, 0); will-change: transform;
}
.review {
  flex: none; width: clamp(280px, 30vw, 420px); padding: 26px 26px 22px; border-radius: 24px;
  background: var(--bg-2); color: var(--ink); display: grid; gap: 14px; align-content: start;
}
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.45; font-weight: 500; letter-spacing: -0.005em; }
.review__who { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: .9375rem; margin-top: 4px; }
.review__who span { color: var(--ink-2); font-size: .875rem; }
.reviews__more { margin-top: clamp(36px, 5vw, 56px); padding: 0 var(--pad); }

/* ---------- Gewerbe ---------- */
.biz { position: relative; overflow: clip; color: var(--on-night); padding: var(--sec-y) var(--pad); background: var(--navy); }
.biz .lead { color: var(--on-night-2); margin-top: 20px; }
.biz__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.biz__media { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; }
.biz__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz__dark { filter: brightness(.32) saturate(.45) contrast(1.05); }
.biz__lit { clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); }
.biz__scan { position: absolute; inset: 0; pointer-events: none; transform: translate3d(0, calc((1 - var(--p, 0)) * 100%), 0); }
.biz__scan i { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--yellow); opacity: calc(1 - var(--p, 0)); }
@media (max-width: 900px) { .biz__grid { grid-template-columns: 1fr; } }

/* ---------- showroom ---------- */
.showroom { position: relative; min-height: 96vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--night); }
.showroom > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.16 - var(--p, 0) * .16)); will-change: transform; }
.showroom::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,16,.78) 0%, rgba(6,9,16,.45) 42%, rgba(6,9,16,0) 72%), linear-gradient(0deg, rgba(6,9,16,.72) 0%, rgba(6,9,16,0) 50%); }
.showroom__body { position: relative; z-index: 1; padding: 0 var(--pad) clamp(48px, 8vw, 104px); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; width: 100%; display: grid; gap: 18px; }
.showroom__body p { max-width: 44ch; color: rgba(255,255,255,.9); font-size: var(--step-lead); line-height: 1.38; }
.showroom__facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .9375rem; color: rgba(255,255,255,.82); }
.showroom__facts > div { padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.showroom__facts strong { display: block; color: #fff; font-size: 1.0625rem; }
.showroom__facts a { text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { position: relative; padding: var(--sec-y) var(--pad); background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px); display: grid; gap: 18px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--bg-2); }
.qa[open] { background: var(--bg-2); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; font-size: 1.3rem; font-weight: 500; transition: transform .4s var(--spring), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.qa__a { padding: 0 24px 24px; color: var(--ink-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--spring), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- contact stepper ---------- */
.contact-sec { overflow: clip; }
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__info { position: static; } }
.contact__info { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px); }
.contact__info dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 1rem; }
.contact__info dt { color: var(--on-night-2); }
.contact__info dd { margin: 0; }
.contact__info a { text-decoration: none; }
.contact__info a:hover { text-decoration: underline; }
.sheet {
  position: relative; border-radius: 30px; padding: clamp(24px, 4vw, 44px);
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(255,255,255,.06);
  color: var(--on-night); min-height: 460px;
}
.sheet__bar { display: flex; gap: 6px; margin-bottom: 28px; }
.sheet__bar span { height: 4px; flex: 1; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.sheet__bar span::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--spring); }
.sheet__bar span.is-done::after { transform: scaleX(1); }
.qstep { display: none; }
.qstep.is-on { display: block; animation: stepIn .5s var(--spring); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.qstep legend:focus, .qstep__title:focus { outline: none; }
.qstep legend, .qstep__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; padding: 0; margin-bottom: 8px; }
.qstep fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep__hint { color: var(--on-night-2); margin-bottom: 22px; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.1); font-size: 1rem; cursor: pointer;
  transition: background-color .2s, color .2s, transform .12s;
}
.chip input:hover + span { background: rgba(255,255,255,.18); }
.chip input:active + span { transform: scale(.97); }
.chip input:checked + span { background: var(--yellow); color: var(--yellow-ink); font-weight: 650; }
.chip input:focus-visible + span { outline: 3px solid var(--blue-on-night); outline-offset: 3px; }
.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; color: var(--on-night-2); }
.field input, .field textarea {
  width: 100%; min-height: 52px; border-radius: 14px; border: 0; padding: 14px 16px;
  background: rgba(255,255,255,.1); color: var(--on-night); font: inherit; font-size: 1rem;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--yellow); background: rgba(255,255,255,.14); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff6b6b; }
.field__err { color: #ff8a8a; font-size: .875rem; min-height: 1.2em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.sheet__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 12px; }
.sheet__nav .btn--ghost { color: var(--on-night); }
.summary { background: rgba(255,255,255,.06); border-radius: 16px; padding: 18px 20px; margin: 18px 0 6px; display: grid; gap: 6px; font-size: 1rem; }
.summary b { color: var(--yellow); font-weight: 650; }
.sent__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; margin-bottom: 20px; }
.sent__icon svg { width: 26px; height: 26px; stroke: var(--yellow-ink); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- careers teaser band ---------- */
.jobband { position: relative; overflow: clip; padding: var(--sec-y) var(--pad); background: var(--bg); }
.jobband__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.jobband .lead { color: var(--ink-2); margin-top: 20px; }
.jobband__media { border-radius: 26px; overflow: hidden; transform: translate3d(0, calc((var(--p, .5) - .5) * -30px), 0); }
.jobband__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .jobband__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); padding: 72px var(--pad) 40px; font-size: .9375rem; color: var(--ink-2); }
/* five equal columns, wider gutters (round 11) */
.footer__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 64px); }
.footer__about { line-height: 1.5; }
.footer__grid > :first-child { text-align: center; }
.footer__grid > :first-child .footer__about { max-width: 26ch; margin-left: auto; margin-right: auto; }
.footer__about + .footer__about { margin-top: 12px; }
.footer .ic-pin { align-items: flex-start; } .footer .ic-pin::before { margin-top: .2em; }
.footer h4 { display: flex; align-items: center; gap: 8px; }
.footer h4::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--yellow); }
.footer h4 { margin: 0 0 12px; color: var(--ink); font-size: .9375rem; font-weight: 650; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; } .footer a:hover { text-decoration: underline; color: var(--ink); }
.footer__logo { display: block; width: max-content; margin: 0 auto 14px; }
.footer__logo img { height: 58px; width: auto; }
.footer__legal { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- careers page ---------- */
.jobhero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--navy); }
.jobhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--p, 0) * .12)); will-change: transform; }
.jobhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,28,.82) 0%, rgba(8,14,28,.45) 48%, rgba(8,14,28,0) 76%), linear-gradient(0deg, rgba(8,14,28,.6), rgba(8,14,28,0) 45%); }
.jobhero__body { position: relative; z-index: 1; padding: 140px var(--pad) clamp(56px, 9vw, 110px); max-width: calc(var(--max) + 2 * var(--pad)); width: 100%; margin: 0 auto; display: grid; gap: 20px; }
.jobhero h1 { font-size: var(--step-hero); letter-spacing: -0.04em; line-height: .98; max-width: 12ch; font-weight: 750; }
.jobhero h1 em { font-style: normal; }
.jobhero p { max-width: 40ch; font-size: var(--step-lead); line-height: 1.38; color: rgba(255,255,255,.9); }
.jobhero .btn--ghost { color: #fff; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.facts { position: relative; z-index: 2; margin-top: calc(-1 * var(--radius-l)); border-radius: var(--radius-l) var(--radius-l) 0 0; background: var(--bg); padding: var(--sec-y) var(--pad); }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { display: grid; gap: 6px; padding: 26px 26px 28px; border-radius: 24px; background: var(--bg-2); }
.fact b { font-size: clamp(3.5rem, 2rem + 5vw, 6.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--navy); font-variant-numeric: tabular-nums; }
.fact span { font-size: 1.125rem; font-weight: 550; color: var(--ink-2); }
@media (max-width: 760px) { .facts__grid { grid-template-columns: 1fr; } }

.perks-sec { position: relative; overflow: clip; padding: var(--sec-y) var(--pad); color: #fff; background: var(--navy); }
.perks-sec .lead { color: var(--on-night-2); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { padding: 28px 26px 30px; border-radius: 24px; display: grid; gap: 10px; align-content: start; min-height: 240px; background: var(--navy-2); }
.perk__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); margin-bottom: 14px; color: var(--yellow); }
.perk__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk p { color: var(--on-night-2); font-size: 1rem; }
@media (max-width: 1000px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } .perk { min-height: 0; } }

.path { position: relative; padding: var(--sec-y) var(--pad); background: var(--bg-2); }
.path__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.path__media { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 30px); border-radius: 26px; overflow: hidden; }
.path__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 44px; display: grid; gap: clamp(28px, 5vh, 48px); }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--bg-3); }
.timeline::after { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--yellow); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.timeline li { position: relative; display: grid; gap: 8px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--bg-3); transition: box-shadow .4s, background-color .4s; z-index: 1; }
.timeline li.is-reached::before { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }
.timeline small { font-size: .875rem; font-weight: 650; color: var(--ink-2); }
.timeline h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.timeline p { color: var(--ink-2); }
@media (max-width: 900px) { .path__grid { grid-template-columns: 1fr; } .path__media { position: relative; top: 0; } .path__media img { aspect-ratio: 16 / 10; } }

.jobs-sec { padding: var(--sec-y) var(--pad); background: var(--bg); }
.jobs { display: grid; gap: 14px; }
.job { background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
.job summary { list-style: none; cursor: pointer; padding: 28px clamp(20px, 3vw, 36px); display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.job summary .muted { font-size: 1rem; margin-top: 6px; }
.job__plus { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.4rem; transition: transform .4s var(--spring), background-color .3s; }
.job[open] .job__plus { transform: rotate(45deg); background: var(--yellow); }
.job__body { padding: 0 clamp(20px, 3vw, 36px) 32px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: end; }
.job__body h4 { margin: 0 0 10px; font-size: 1rem; }
.job__body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: #3a4252; font-size: 1rem; }
@media (max-width: 860px) { .job__body { grid-template-columns: 1fr; align-items: start; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .stars--big svg { opacity: 1; transform: none; }
  .showroom > img, .jobhero > img { transform: none; }
  .jobband__media { transform: none; }
  .trier__img--on { clip-path: none; opacity: 0; transition: opacity .01ms; }
  .trier.is-on .trier__img--on { clip-path: none; opacity: 1; }
  .tour__cue-mouse span { animation: none; }
}

/* ---------- service pages (SEO v1) ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 650; letter-spacing: 0; line-height: 1.3; color: var(--blue-2); }
.kicker::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.blk--navy .kicker, .cta-band .kicker { color: var(--blue-on-night); }

.svc-hero { padding: calc(var(--nav-top) + var(--nav-h) + clamp(36px, 6vw, 84px)) var(--pad) clamp(64px, 8vw, 112px); background: var(--bg); }
.svc-hero__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 26px; font-size: .875rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b6bdc9; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; color: var(--ink); }
.svc-hero h1 { font-size: clamp(2.375rem, 1.4rem + 3.4vw, 4.25rem); hyphens: manual; -webkit-hyphens: manual; letter-spacing: -0.04em; line-height: .98; font-weight: 750; margin: 16px 0 22px; }
.svc-hero .lead { max-width: 42ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc-hero__media { border-radius: 28px; overflow: hidden; background: var(--bg-2); }
.svc-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); font-size: .9375rem; font-weight: 550; line-height: 1.3; }
.blk--grey .pills li { background: #fff; }
@media (max-width: 900px) { .svc-hero__grid { grid-template-columns: 1fr; } }

.blk { padding: var(--sec-y) var(--pad); background: var(--bg); }
.blk--grey { background: var(--bg-2); }
.blk--navy { background: var(--navy); color: var(--on-night); }
.blk--navy .lead, .blk--navy .muted { color: var(--on-night-2); }
.blk h2, .cta-band h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }

.feat { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat li { background: #fff; border-radius: var(--radius); padding: 26px 26px 30px; display: grid; gap: 10px; align-content: start; }
.feat li::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--yellow); margin-bottom: 8px; }
.feat h3 { font-size: 1.25rem; }
.feat p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 980px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__media { border-radius: 28px; background: var(--bg-2); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 9%; }
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose p { color: var(--ink-2); }
.prose h3 { margin-top: 10px; }
.prose .ticks { margin-top: 4px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { max-width: 520px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--navy-2); border-radius: var(--radius); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--yellow-ink); font-weight: 750; font-size: .9375rem; margin-bottom: 6px; }
.steps p { color: var(--on-night-2); font-size: 1rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.area .pills { margin-top: 0; }
.area h3 { font-size: 1rem; font-weight: 650; color: var(--ink-2); margin: 0 0 12px; }
.area__group + .area__group { margin-top: 28px; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

.links4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.links4 a { display: grid; gap: 6px; height: 100%; padding: 20px 22px 24px; border-radius: 20px; background: var(--bg-2); text-decoration: none; transition: background-color .2s; }
.links4 a:hover { background: var(--bg-3); }
.links4 img { width: 76px; height: 76px; object-fit: contain; margin-bottom: 8px; }
.links4 b { font-size: 1.0625rem; font-weight: 650; }
.links4 span { color: var(--ink-2); font-size: .9375rem; line-height: 1.4; }

.cta-band { background: var(--navy); color: var(--on-night); padding: var(--sec-y) var(--pad); }
.cta-band__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: end; justify-content: space-between; }
.cta-band h2 { max-width: 16ch; margin-top: 14px; }
.cta-band p { color: var(--on-night-2); margin-top: 16px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.38; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { color: #fff; }
.faq--grey { background: var(--bg-2); }
.faq--grey .qa, .faq--grey .qa[open] { background: #fff; }

/* home: small keyword line above the hero headline */
.tour__kicker { display: block; margin-bottom: .55em; font-size: clamp(.9375rem, .85rem + .3vw, 1.0625rem); font-weight: 650; letter-spacing: 0; line-height: 1.3; color: rgba(255,255,255,.86); }
.tour__kicker::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); margin-right: 10px; transform: translateY(-1px); }
.blk h2, .cta-band h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.feat li[id], .qa[id] { scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 20px); }
/* the Ablauf sheet overlaps the section above by its corner radius: land below that overlap */
.process { scroll-margin-top: calc(-1 * var(--radius-l)); }
/* phones: the yellow arrow in the room pill starts the tour, so the hero keeps one button */
@media (max-width: 760px) { .tour__block--intro .btn--ghost { display: none; } }

/* ---------- WhatsApp: always in view, bottom right ---------- */
:root { --fab: 56px; --fab-gap: 20px; }
@media (max-width: 760px) { :root { --fab: 52px; --fab-gap: 16px; } }
.wa-fab {
  position: fixed; z-index: 45;
  right: calc(var(--fab-gap) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--fab-gap) + env(safe-area-inset-bottom, 0px));
  width: var(--fab); height: var(--fab); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--yellow-ink); /* brand yellow (Dom, round 3) */
  box-shadow: 0 10px 28px rgba(8, 12, 24, .28), 0 2px 6px rgba(8, 12, 24, .18);
  transition: transform .2s var(--spring), box-shadow .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.wa-fab svg { width: 54%; height: 54%; fill: currentColor; }
.wa-fab:active { transform: scale(.94); }
.wa-fab:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (hover: hover) {
  .wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(8, 12, 24, .32), 0 2px 6px rgba(8, 12, 24, .18); }
}
/* tour controls make room for it */
.tour__skip { right: calc(var(--fab-gap) + var(--fab) + 20px); bottom: calc(var(--fab-gap) + var(--fab) / 2 - 17px); }
@media (max-width: 760px) {
  .tour__nav {
    left: var(--fab-gap); transform: none; bottom: calc(var(--fab-gap) - 2px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100% - 2 * var(--fab-gap) - var(--fab) - 12px);
  }
  .tour__now { flex: 1 1 auto; min-width: 0; }
  .tour__now [data-tour-label] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .tour.is-start .tour__now .tour__cue-mouse { display: none; }
  .tour__skip { right: var(--pad); bottom: auto; }
  /* the room card is a bottom sheet on phones: step aside while it is open */
  body:has(.card.is-open) .wa-fab { opacity: 0; pointer-events: none; }
}
@media (max-width: 760px) {
  .jobhero__body { padding-bottom: calc(var(--fab) + var(--fab-gap) + 28px); }
}
/* the last footer row stays clear of the button */
.footer { padding-bottom: calc(40px + var(--fab) + var(--fab-gap)); }
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: opacity .2s; }
  .wa-fab:hover, .wa-fab:active { transform: none; }
}

/* ---------- Instagram in the footer ---------- */
.footer__ig { margin-top: 22px; min-height: 44px; padding: 0 20px 0 16px; gap: 10px; color: var(--ink); font-size: .9375rem; }
.footer a.footer__ig:hover { text-decoration: none; color: var(--ink); }
.footer__ig svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer__ig svg .dot { fill: currentColor; stroke: none; }
.footer__handle { font-weight: 500; color: var(--ink-2); }
@media (max-width: 900px) { .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Über uns: the business in plain facts (home) ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.about__text { display: grid; gap: 20px; align-content: start; max-width: 560px; }
.about__text p:not(.lead) { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; }
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); margin: 0; }
.profile > div { display: grid; gap: 4px; align-content: start; padding: 18px 0 22px; border-top: 1px solid var(--bg-3); }
.profile dt { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.profile dd { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.42; color: var(--ink); }
.profile a { color: inherit; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .profile { grid-template-columns: 1fr; } }

/* Draft only: placeholder facts (see docs/PLATZHALTER.md), highlighted when the URL has ?ph */
.show-ph [data-ph] { background: rgba(255, 237, 0, .55); color: var(--ink); box-shadow: 0 0 0 2px rgba(255, 237, 0, .55); border-radius: 3px; }

/* ---------- tour on portrait screens (explore mode, tour.js) ----------
   One screen high, rooms change by arrow, the room pans by drag or tilt. */
.tour__edge, .tour__hint, .tour__tilt { display: none; }
.tour.is-explore .tour__stage { position: relative; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.tour.is-explore.is-dragging .tour__stage { cursor: grabbing; }
/* points sit exactly on their device: position never animates (that looked like jumping),
   only the pop-in scale and fade do */
.tour.is-explore .hotspot { transform: none; translate: var(--x) var(--y); scale: .5; transition: opacity .35s var(--spring), scale .55s var(--spring); transition-delay: var(--d, 0ms); }
.tour.is-explore .hotspot.is-on { transform: none; scale: 1; }
.tour.is-explore .tour__cue-mouse { display: none !important; }
/* room title shows on arrival, then steps aside for the hotspots */
.tour.is-explore.is-quiet .tour__block.is-on:not(.tour__block--intro):not([data-station-copy="7"]) { opacity: 0; transform: translateY(10px); pointer-events: none; }

.tour.is-explore .tour__edge {
  position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; gap: 2px;
  height: 44px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; font: 650 .9375rem/1 inherit; font-variant-numeric: tabular-nums;
  background: rgba(10, 13, 20, .5); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .45s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.tour.is-explore .tour__edge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tour.is-explore .tour__edge span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 5px 0 2px; border-radius: 50%; background: var(--yellow); vertical-align: 1px; }
.tour.is-explore .tour__edge--l { left: 8px; transform: translate(-8px, -50%); }
.tour.is-explore .tour__edge--r { right: 8px; transform: translate(8px, -50%); }
.tour.is-explore .tour__edge--r span::before { margin: 0 5px 0 0; }
.tour.is-explore .tour__edge.is-on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.tour.is-explore .tour__edge:active { transform: translate(0, -50%) scale(.94); }

.tour.is-explore .tour__hint {
  position: absolute; left: 50%; top: 40%; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 999px; white-space: nowrap;
  color: #fff; font-size: .9375rem; font-weight: 600;
  background: rgba(10, 13, 20, .55); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  opacity: 0; transform: translate(-50%, -50%) scale(.96); pointer-events: none;
  transition: opacity .35s, transform .5s var(--spring);
}
.tour.is-explore .tour__hint.is-on { opacity: 1; transform: translate(-50%, -50%); }
.tour__hint-hand { position: relative; width: 34px; height: 14px; }
.tour__hint-hand::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.4); }
.tour__hint-hand::after { content: ""; position: absolute; top: 0; left: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); animation: sway 1.6s var(--spring) infinite alternate; }
@keyframes sway { from { transform: translateX(-10px); } to { transform: translateX(10px); } }

.tour.is-explore .tour__tilt {
  position: absolute; z-index: 3; left: var(--pad); top: calc(var(--nav-top) + var(--nav-h) + 10px);
  align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; font-size: .875rem; font-weight: 600;
  background: rgba(10, 13, 20, .46); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  opacity: 0; pointer-events: none; transition: opacity .3s, background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.tour.is-explore.is-touring .tour__tilt { display: inline-flex; opacity: 1; pointer-events: auto; }
.tour.is-explore .tour__tilt[hidden] { display: none; }
.tour__tilt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tour.is-explore .tour__tilt[aria-pressed="true"] { background: var(--yellow); color: var(--yellow-ink); box-shadow: none; }
.tour.is-explore .tour__tilt[aria-pressed="true"] svg rect { animation: tilt 2.4s ease-in-out infinite; transform-origin: 12px 12px; }
@keyframes tilt { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.tour.is-explore.is-waiting .tour__arrow--next { animation: wait 1s ease-in-out infinite alternate; }
@keyframes wait { to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .tour__hint-hand::after, .tour.is-explore .tour__tilt[aria-pressed="true"] svg rect { animation: none; }
}

/* ---------- portrait tour v2: locked until the house is done, symmetric layout ---------- */
.tour__skip-intro, .tour__swipe { display: none; }
html.tour-locked, html.tour-locked body { overflow: hidden; overscroll-behavior: none; }
.tour.is-explore.is-locked .tour__stage { touch-action: none; }
/* while the tour holds the screen, nothing sits beside the centred controls */
html.tour-locked .wa-fab, html.tour-screen .wa-fab { opacity: 0; pointer-events: none; }
.tour.is-explore .rail { display: none; }

/* copy: centred */
.tour.is-explore .tour__block {
  left: var(--pad); right: var(--pad); max-width: none; margin: 0 auto;
  text-align: center; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}
.tour.is-explore .tour__block::before { inset: -30% -10% -35%; }
.tour.is-explore .tour__block h1 { margin: 0 auto; }
.tour.is-explore .tour__block p { margin-left: auto; margin-right: auto; }
.tour.is-explore .tour__block h2::after { left: 15%; right: 15%; transform-origin: 50% 50%; }
.tour.is-explore .tour__kicker { display: table; margin-left: auto; margin-right: auto; }
.tour.is-explore .tour__actions { justify-content: center; flex-wrap: nowrap; gap: 10px; margin-top: 24px; }
.tour.is-explore .tour__actions .btn { flex: 1 1 0; max-width: 210px; min-width: 0; justify-content: center; padding-left: 12px; padding-right: 12px; white-space: nowrap; }

/* start screen: "Haus erkunden" is the main action, consultation the quiet one */
.tour.is-explore .tour__block--intro { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.tour.is-explore .tour__block--intro .btn--ghost {
  display: inline-flex; order: -1;
  background: var(--yellow); color: var(--yellow-ink); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.tour.is-explore .tour__block--intro .btn--accent {
  background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.tour.is-explore .tour__skip-intro {
  display: inline-block; margin-top: 14px; padding: 8px 4px;
  color: rgba(255,255,255,.78); font-size: .875rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
/* start screen: the room pill gives way to a single swipe cue */
.tour.is-explore.is-start .tour__nav { opacity: 0; pointer-events: none; }
.tour.is-explore .tour__nav { transition: opacity .35s; }
.tour.is-explore.is-start.is-locked .tour__swipe {
  display: block; position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 3;
  width: 36px; height: 36px; margin-left: -18px; color: #fff; opacity: .85;
  animation: swipe-up 1.8s var(--spring) infinite;
}
.tour__swipe svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes swipe-up { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-8px); opacity: 0; } }

/* rooms: one centred control at the bottom, two equal pills at the top */
.tour.is-explore .tour__nav {
  left: 50%; right: auto; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 2 * var(--pad));
}
.tour.is-explore .tour__now { min-width: 13ch; }
.tour.is-explore .tour__skip,
.tour.is-explore .tour__tilt {
  top: calc(var(--nav-top) + var(--nav-h) + 10px); bottom: auto; height: 38px;
}
.tour.is-explore .tour__skip {
  display: none; position: absolute; right: var(--pad); left: auto; align-items: center; padding: 0 14px;
  border-radius: 999px; color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; text-shadow: none;
  background: rgba(10, 13, 20, .46); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.tour.is-explore.is-touring .tour__skip { display: inline-flex; }
.tour.is-explore .tour__skip:hover { text-decoration: none; color: #fff; }
@media (prefers-reduced-motion: reduce) { .tour.is-explore .tour__swipe { animation: none; } }

/* ---------- portrait tour v3: start and final screen lift the house above the copy ---------- */
html.tour-locked { touch-action: none; }   /* iOS: no page panning at all while the tour holds the screen */
.tour__fade { display: none; }
.tour.is-explore .tour__fade {
  display: block; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(0deg, var(--night) 0%, var(--night) 16%, rgba(10,15,28,.82) 30%, rgba(10,15,28,0) 52%);
  transition: opacity .9s var(--spring);
}
.tour.is-explore.is-poster-up .tour__fade { opacity: 1; }
.tour.is-explore .tour__media { transition: transform 1.1s var(--spring); }
.tour.is-explore .tour__poster { transition: opacity .2s linear, transform 1.1s var(--spring); }
.tour.is-explore .tour__still { transition: opacity .5s ease, transform 1.1s var(--spring); }
.tour.is-explore.is-poster-up .tour__media,
.tour.is-explore.is-poster-up .tour__poster,
.tour.is-explore.is-poster-up .tour__still { transform: translate3d(0, -15%, 0); }
.tour.is-explore .tour__skip-intro { display: none; }
@media (prefers-reduced-motion: reduce) {
  .tour.is-explore .tour__media, .tour.is-explore .tour__poster, .tour.is-explore .tour__still { transition: none; }
}

/* ---------- portrait tour v4: full visible height, one inviting start button ---------- */
/* the tour fills exactly what the browser shows (toolbars included), so nothing peeks below */
.tour.is-explore .tour__stage { height: 100svh; }
.tour.is-explore.is-locked .tour__stage { height: 100dvh; } /* dynamic height only while the tour holds the screen; afterwards a steady height so the page does not jump when the browser bar slides in */
/* start screen: consultation leaves (it's in the menu); one wide yellow button */
.tour.is-explore .tour__block--intro .btn--accent { display: none; }
.tour.is-explore .tour__block--intro .tour__actions .btn--ghost {
  position: relative; flex: 0 1 auto; width: min(100%, 320px); max-width: none; min-height: 56px;
  gap: 10px; font-size: 1.0625rem; isolation: isolate;
  box-shadow: 0 10px 30px rgba(255, 237, 0, .22);
  animation: go-breathe 2.8s ease-in-out infinite;
}
/* a soft yellow ring keeps travelling outwards, like the hotspots in the house */
.tour.is-explore .tour__block--intro .tour__actions .btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  box-shadow: 0 0 0 2px rgba(255, 237, 0, .7);
  animation: go-ring 2.8s var(--spring) infinite;
}
/* a light sweep runs across the button */
.tour.is-explore .tour__block--intro .tour__actions .btn--ghost::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%) no-repeat;
  background-size: 220% 100%; background-position: 160% 0;
  animation: go-sweep 2.8s ease-in-out infinite;
}
.btn__go { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: go-nudge 2.8s ease-in-out infinite; }
@keyframes go-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes go-ring { 0% { transform: scale(1); opacity: .9; } 60%, 100% { transform: scale(1.12, 1.45); opacity: 0; } }
@keyframes go-sweep { 0%, 35% { background-position: 160% 0; } 75%, 100% { background-position: -60% 0; } }
@keyframes go-nudge { 0%, 40%, 100% { transform: translateX(0); } 55% { transform: translateX(5px); } 70% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .tour.is-explore .tour__block--intro .tour__actions .btn--ghost,
  .tour.is-explore .tour__block--intro .tour__actions .btn--ghost::before,
  .tour.is-explore .tour__block--intro .tour__actions .btn--ghost::after,
  .btn__go { animation: none; }
}

/* Karriere: what we do for the team (moved from home) */
.team-sec { padding: var(--sec-y) var(--pad); }
.team-do { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-do__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 10px; }
.team-do__head h2 { max-width: 20ch; }
.team-do__head p { color: var(--ink-2); max-width: 44ch; }
.do { background: var(--navy); color: var(--on-night); border-radius: var(--radius); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.do__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); margin-bottom: 10px; color: var(--yellow); }
.do__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.do h3 { margin: 0; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--on-night); }
.do p { color: var(--on-night-2); font-size: 1rem; }
@media (max-width: 900px) { .team-do { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-do { grid-template-columns: 1fr; } }

/* Icons for every phone number and e-mail address (round 3): one rule, all pages */
:root {
  --ic-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6.6 3h3l1.5 4.2-2.2 1.5a11 11 0 0 0 5.4 5.4l1.5-2.2L20 13.4v3A2.6 2.6 0 0 1 17.4 19 14.4 14.4 0 0 1 4 5.6 2.6 2.6 0 0 1 6.6 3z'/%3E%3C/svg%3E");
  --ic-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  --ic-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}
a[href^="tel:"], a[href^="mailto:"] { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
a[href^="tel:"]::before, a[href^="mailto:"]::before, .ic-pin::before {
  content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor;
  -webkit-mask: var(--ic-phone) center / contain no-repeat; mask: var(--ic-phone) center / contain no-repeat;
}
a[href^="mailto:"]::before { -webkit-mask-image: var(--ic-mail); mask-image: var(--ic-mail); }
.ic-pin { display: inline-flex; align-items: center; gap: .5em; }
.ic-pin::before { -webkit-mask-image: var(--ic-pin); mask-image: var(--ic-pin); }

/* PARALLAX (round 11): full-bleed photos stay fixed, the page scrolls over them (section clips a fixed, viewport-sized image)
   16 Nov 2026: mouse/trackpad devices only. On iPhone the fixed layers inside clip-path made scrolling stutter. */
@media (hover: hover) and (pointer: fine) {
  .fixbg { clip-path: inset(0); }
  .fixbg > img, .fixbg .gw-public__media img {
    position: fixed !important; inset: 0 !important; width: 100% !important; height: 100vh !important; height: 100lvh !important;
    object-fit: cover; transform: none !important;
  }
  .fixbg .gw-public__media { position: static; }
}

/* =========================================================
   KARRIERE round 11
   ========================================================= */
/* Warum TRIelektro: expanding photo panels (navy section) */
.why { display: flex; gap: 12px; height: clamp(380px, 56vh, 520px); }
.why__p {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border: 0; border-radius: 24px; cursor: pointer; text-align: left; color: #fff;
  padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; font: inherit;
  background: var(--navy-2) var(--img) center / cover no-repeat;
  transition: flex-grow .6s var(--spring), box-shadow .3s;
}
.why__p::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,14,28,.92) 0%, rgba(8,14,28,.55) 55%, rgba(8,14,28,.35) 100%); transition: background-color .4s; }
.why__p > * { position: relative; }
.why__p.is-open { flex-grow: 3.2; }
.why__p:not(.is-open)::before { background: rgba(13,27,54,.78); }
.why__p:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.why__no { position: absolute; top: 22px; left: 26px; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; color: rgba(255,255,255,.18); transition: color .4s; }
.why__p.is-open .why__no { color: var(--yellow); }
.why__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--yellow); }
.why__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why__t { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
/* custom property url() resolves against this stylesheet: panels pass --img:url(../img/photo/…) */
.why__p:not(.is-open) .why__t { font-size: 1.0625rem; }
.why__d { max-width: 40ch; color: rgba(255,255,255,.9); font-size: 1rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--spring), opacity .4s; }
.why__p.is-open .why__d { max-height: 10em; opacity: 1; transition-delay: .15s; }
@media (max-width: 900px) {
  .why { flex-direction: column; height: auto; }
  .why__p { min-height: 92px; flex: none; }
  .why__p.is-open { min-height: 300px; }
  .why__no { top: 18px; left: auto; right: 22px; }
  .why__t { white-space: normal; }
}

/* Was wir für unser Team tun: sticky heading left, light rows right */
.team-do--rows { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 clamp(32px, 6vw, 96px); align-items: start; }
.team-do--rows .team-do__head { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px); display: grid; gap: 18px; justify-content: start; margin: 0; }
.team-do--rows .do { grid-column: 2; background: none; color: var(--ink); border-radius: 0; padding: 30px 0; border-top: 1px solid var(--bg-3); grid-template-columns: 64px 1fr; gap: 6px 22px; }
.team-do--rows .do:last-child { border-bottom: 1px solid var(--bg-3); }
.team-do--rows .do__icon { grid-row: span 2; width: 64px; height: 64px; border-radius: 18px; margin: 0; background: var(--bg-2); color: var(--ink-2); transition: background-color .5s, color .5s, transform .5s var(--spring); }
.team-do--rows .do__icon svg { width: 28px; height: 28px; }
.team-do--rows .do h3 { color: var(--ink); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); align-self: end; }
.team-do--rows .do p { color: var(--ink-2); }
.team-do--rows .do.is-lit .do__icon { background: var(--navy); color: var(--yellow); transform: scale(1.06); }
.care__meter { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.care__meter b { font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--navy); font-variant-numeric: tabular-nums; }
.care__meter span { font-size: 1.25rem; font-weight: 650; color: var(--ink-2); }
@media (max-width: 900px) {
  .team-do--rows { grid-template-columns: 1fr; }
  .team-do--rows .team-do__head { grid-row: auto; position: static; margin-bottom: 12px; }
  .team-do--rows .do { grid-column: 1; }
  .care__meter { display: none; }
}

/* Job finder */
.finder { position: relative; margin-bottom: clamp(32px, 5vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-l); background: var(--navy); color: #fff; overflow: hidden; display: grid; }
.finder__q { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .4s, transform .5s var(--spring), visibility 0s .5s; }
.finder__q.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.finder__k { font-size: .875rem; font-weight: 650; color: var(--blue-on-night); }
.finder h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); margin-top: 8px; }
.finder__q > p:not(.finder__k) { color: var(--on-night-2); margin-top: 10px; max-width: 60ch; }
.finder__a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.finder__a button { border: 0; border-radius: 999px; padding: 14px 22px; min-height: 48px; font: inherit; font-weight: 650; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background-color .2s, color .2s, transform .15s; }
.finder__a button:hover { background: rgba(255,255,255,.18); }
.finder__a button:active { transform: scale(.97); }
.finder__a .finder__again { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.finder__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.08); }
.finder__bar i { position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--fp, 0)); transition: transform .5s var(--spring); }

/* Team: group photo band (fixed background) */
.crew { position: relative; min-height: 92svh; display: grid; align-items: end; color: #fff; background: var(--night); }
.crew::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,14,28,.85) 0%, rgba(8,14,28,.35) 40%, rgba(8,14,28,0) 65%); }
.crew__body { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(48px, 8vw, 96px); display: grid; gap: 14px; }
.crew .kicker { color: var(--blue-on-night); }
.crew h2 { font-size: var(--step-head); max-width: 14ch; }
.crew p { max-width: 46ch; font-size: var(--step-lead); line-height: 1.4; }

/* Team slider: runs on its own, managing director first */
.members { padding: var(--sec-y) 0; background: var(--bg); overflow: hidden; }
.members__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.members__nav { display: flex; gap: 10px; }
.members__nav button { width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--navy); color: #fff; transition: background-color .2s, color .2s; }
.members__nav button:hover { background: var(--yellow); color: var(--ink); }
.members__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.members .wrap { max-width: calc(var(--max) + 2 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); }
.members__viewport { outline: none; padding-left: max(var(--pad), calc((100% - var(--max)) / 2)); }
.members__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; width: max-content; will-change: transform; }
.mem { flex: none; width: clamp(200px, 22vw, 260px); display: grid; gap: 4px; }
.mem figure { margin: 0 0 12px; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--navy-2), var(--navy)); display: grid; place-items: center; }
.mem figure img { width: 100%; height: 100%; object-fit: cover; }
.mem figure i { font-style: normal; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: rgba(255,255,255,.22); }
.mem b { font-size: 1.125rem; letter-spacing: -0.01em; }
.mem span { color: var(--ink-2); font-size: .9375rem; line-height: 1.35; }
.mem b[data-ph-name] { color: var(--ink-2); }
.mem--boss figure { outline: 3px solid var(--yellow); outline-offset: -3px; }
.mem--azubi figure { background: linear-gradient(160deg, var(--blue), var(--navy)); }
.mem--you figure { background: var(--yellow); }
.mem--you figure i { color: var(--ink); font-size: 4rem; }
.mem--you a { font-weight: 700; color: var(--blue); }
.members__note { margin-top: 22px; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 560px) { .members__nav button { width: 46px; height: 46px; } }

/* ---------- legal pages (Impressum, Datenschutz – 16 Nov 2026) ---------- */
.legal__wrap { max-width: 760px; }
.legal h1 { margin: 0 0 clamp(28px, 4vw, 48px); hyphens: manual; }
.legal__body { max-width: none; gap: 14px; }
.legal__body h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; margin-top: 22px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { overflow-wrap: anywhere; }
.legal__body strong { color: var(--ink); }
.legal__stand { margin-top: 18px; font-size: .9375rem; }

/* ---------- partner brand strip on service pages (16 Nov 2026) ---------- */
.brands .section__head { margin-bottom: clamp(24px, 3vw, 40px); }
.brands__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
@media (max-width: 560px) { .brands__grid { grid-template-columns: 1fr 1fr; } .brands__grid a { height: 108px; padding: 14px 10px; gap: 10px; } .brands__grid img { height: 30px; max-width: 120px; } .brands__grid span { font-size: .75rem; } }
.brands__grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 124px; padding: 16px 18px; border-radius: 20px; background: var(--bg-2); text-decoration: none; transition: background .3s, transform .4s, box-shadow .3s; }
.brands__grid a:hover, .brands__grid a:focus-visible { background: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,27,54,.12), inset 0 0 0 1px rgba(13,27,54,.06); }
.brands__grid li { min-width: 0; }
.brands__grid img { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.brands__grid span { font-size: .8125rem; color: var(--ink-2); text-align: center; line-height: 1.3; }
.brands__more { margin-top: 22px; font-size: .9375rem; }
@media (prefers-reduced-motion: reduce) { .brands__grid a { transition: none; } .brands__grid a:hover { transform: none; } }

/* ---------- mobile polish (16 Nov 2026, Dom's iPhone check) ---------- */
@media (max-width: 560px) {
  /* two buttons in a row instead of stacked */
  .svc-hero__actions, .cta-band__actions, .tour__actions { flex-wrap: nowrap; gap: 10px; }
  .svc-hero__actions .btn, .cta-band__actions .btn, .tour__actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding-left: 10px; padding-right: 10px; font-size: .875rem; white-space: nowrap; }
  .svc-hero__actions a[href^="tel:"]::before, .cta-band__actions a[href^="tel:"]::before { display: none; }
  /* showroom: address, hours, phone as three small glass tiles side by side */
  .showroom__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: .75rem; line-height: 1.35; }
  .showroom__facts > div { padding: 10px 10px; border-radius: 14px; }
  .showroom__facts strong { font-size: .8125rem; line-height: 1.25; margin-bottom: 2px; -webkit-hyphens: auto; hyphens: auto; }
  .showroom__facts a[href^="tel:"]::before { display: none; }
}

/* iPhone stutter (16 Nov 2026): scroll-linked zoom/parallax of photos lags behind the native scroll on touch devices
   and wobbles when the scroll direction changes. Touch devices show the photos still. */
@media (hover: none), (pointer: coarse) {
  .showroom > img, .jobhero > img, .glance__hero img { transform: none !important; will-change: auto; }
}

/* ---------- footer: Instagram, Facebook, Google reviews (round 20) ---------- */
.footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.footer a.footer__soc { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(15,23,41,.16); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; transition: box-shadow .25s, background-color .25s; }
.footer a.footer__soc:hover { background: var(--bg-2, #F3F5F8); box-shadow: inset 0 0 0 1px rgba(15,23,41,.28); color: var(--ink); text-decoration: none; }
.footer__soc svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer__soc svg .dot, .footer__soc svg .fill { fill: currentColor; stroke: none; }
@media (max-width: 380px) { .footer a.footer__soc { padding: 0 12px 0 10px; font-size: .8125rem; } }
