/* ════════════════════════════════════════════════
   SESAMFIT — The Hidden Gym
   Modern CSS: nesting, :has(), clamp, color-mix,
   scroll-driven reveals, backdrop-filter
   ════════════════════════════════════════════════ */

:root {
  /* Palette */
  --cream:      #F4F0E8;
  --cream-2:    #ECE6DA;
  --paper:      #FAF8F3;
  --ink:        #1C1915;
  --ink-soft:   #2A2620;
  --muted:      #837A6C;
  --line:       #DBD3C5;
  --gold:       #A9885B;
  --gold-deep:  #8A6E45;
  --gold-soft:  #C2A878;

  /* Type */
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --r: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

/* scroll lock without layout shift */
body.is-locked { overflow: hidden; padding-right: var(--sbw, 0px); }
body.is-locked .header { padding-right: var(--sbw, 0px); }
a { color: inherit; text-decoration: none; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--gold); color: #fff; }

/* ─── Typo helpers ─── */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--gold-soft); }

.display {
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.display--sm { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.display--center { text-align: center; }
.display--serif {
  font-family: var(--serif);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42ch;
  margin: 1.6rem 0 2rem;
}
.lead--center { margin-inline: auto; text-align: center; }

/* ════ Buttons ════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 1.1rem 1.6rem;
  border-radius: var(--r);
  transition: all .4s var(--ease);
  white-space: nowrap;
}
.btn__arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--gold); }

.btn--sm { padding: .85rem 1.3rem; font-size: .68rem; }
.btn--lg { padding: 1.3rem 2.4rem; font-size: .8rem; }

.btn--ghost { color: var(--paper); padding-inline: 0; }
.btn__play {
  width: 44px; height: 44px;
  border: 1px solid color-mix(in srgb, #fff 40%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all .4s var(--ease);
}
.btn__play svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.btn--play:hover .btn__play { background: var(--gold); border-color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--ink);
  transition: gap .4s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 1.3rem; color: var(--gold); border-color: var(--gold); }

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.link-pill span {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  transition: all .4s var(--ease);
}
.link-pill:hover { color: var(--ink); }
.link-pill:hover span { background: var(--gold); border-color: var(--gold); color: #fff; transform: rotate(90deg); }

/* ════ Logo ════ */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; transition: height .4s var(--ease); }
.logo--footer img { height: 34px; }
@media (max-width: 600px) { .logo img { height: 25px; } }

/* ════ Header ════ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform .5s var(--ease);
}
/* legibility scrim over bright video — fades out on scroll */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(12,10,7,.55) 0%, rgba(12,10,7,.12) 60%, transparent 100%);
  transition: opacity .5s var(--ease);
}
.header.is-scrolled::before { opacity: 0; }

.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1rem, 2.2vh, 1.5rem) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding .5s var(--ease);
}
.header.is-scrolled .header__inner { padding-block: .85rem; }
.header .logo { color: #fff; }

.header__actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.6rem); }

/* ── Modern menu trigger ── */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: #fff;
  padding: .4rem 0;
}
.menu-toggle__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.menu-toggle__icon {
  position: relative;
  width: 30px;
  height: 12px;
  flex: none;
}
.menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .45s var(--ease), top .3s var(--ease), bottom .3s var(--ease), width .3s;
}
.menu-toggle__icon i:nth-child(1) { top: 0; }
.menu-toggle__icon i:nth-child(2) { bottom: 0; width: 70%; }
.menu-toggle:hover .menu-toggle__icon i:nth-child(2) { width: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { bottom: 5px; width: 100%; transform: rotate(-45deg); }
.header .btn--solid {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  color: #fff;
}
.header .btn--solid:hover { background: var(--gold); border-color: var(--gold); }

/* Scrolled state — dark glass so the white logo stays visible */
.header.is-scrolled {
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 8%, transparent), 0 14px 34px -22px rgba(0,0,0,.6);
}
.header.is-scrolled .logo img { height: 27px; }
.header.is-scrolled .btn--solid:hover { background: var(--gold); border-color: var(--gold); }
.header.is-scrolled .menu-toggle { color: #fff; }

/* hide header when scrolling down, reveal on scroll up */
.header.is-hidden { transform: translateY(-100%); }

/* keep trigger visible & white above the open dark menu */
body.menu-open .header { background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
body.menu-open .header::before { opacity: 0; }
body.menu-open .menu-toggle { color: #fff; }
body.menu-open .header .logo { color: var(--gold); }

/* ════ Modern Fullscreen Menu ════ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }

/* layered backdrop that wipes in via clip-path */
.menu__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 0%, color-mix(in srgb, var(--gold-deep) 30%, transparent), transparent 55%),
    var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
}
.menu.is-open .menu__bg { clip-path: inset(0 0 0% 0); }

.menu__inner {
  position: relative;
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 8rem) var(--pad) calc(clamp(1.5rem, 4vh, 2.5rem) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 4vh, 2.4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: clamp(.35rem, 1vh, .65rem) 0;
  color: var(--cream);
  overflow: hidden;
  /* staggered entrance */
  opacity: 0;
  transform: translateY(120%);
  transition: opacity .6s var(--ease), transform .7s var(--ease), color .35s;
  transition-delay: 0s;
}
.menu.is-open .menu__nav a,
.menu.is-open .menu__foot {
  opacity: 1;
  transform: none;
  transition-delay: calc(.18s + var(--i) * .06s);
}
.menu__foot {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}

.menu__idx {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--gold);
  flex: none;
  transform: translateY(-.4em);
}
.menu__label {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 300;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.05;
  transition: transform .45s var(--ease), color .35s;
}
@media (hover: hover) {
  .menu__nav a:hover .menu__label { transform: translateX(.4em); color: var(--gold-soft); }
  .menu__nav a:hover .menu__idx { color: var(--cream); }
}
.menu__nav a:active .menu__label { color: var(--gold-soft); }

.menu__foot { display: flex; flex-direction: column; gap: 1.6rem; border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); padding-top: clamp(1.4rem, 3vh, 2rem); }
.menu__cta { align-self: flex-start; background: var(--gold); color: #fff; }
.menu__cta:hover { background: var(--cream); color: var(--ink); }
.menu__meta { display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: .9rem; color: color-mix(in srgb, #fff 65%, transparent); }
.menu__meta a:hover { color: var(--gold-soft); }
.menu__social { display: flex; gap: .8rem; }
.menu__social a {
  width: 40px; height: 40px;
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cream);
  transition: all .4s var(--ease);
}
.menu__social svg { width: 17px; height: 17px; }
.menu__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* short / landscape screens: shrink menu so nothing gets cut off */
@media (max-height: 720px) {
  .menu__inner { justify-content: flex-start; gap: 1rem; padding-top: clamp(4.5rem, 11vh, 6rem); }
  .menu__label { font-size: clamp(1.5rem, 4.4vh, 2rem); }
  .menu__nav a { padding-block: .3rem; }
  .menu__foot { gap: 1rem; padding-top: 1.2rem; }
}

/* declutter header while menu is open — keep layout height so the logo doesn't shift */
body.menu-open .header .btn--sm { visibility: hidden; pointer-events: none; }

/* ════════ HERO ════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}
.hero__video.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,12,9,.78) 0%, rgba(15,12,9,.18) 38%, rgba(15,12,9,.32) 100%),
    linear-gradient(to right, rgba(15,12,9,.5), transparent 60%);
}

.hero__content {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 5vh, 3.2rem);
}
.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.hero__title {
  font-weight: 400;
  line-height: .98;
  margin: 1.2rem 0 1.6rem;
}
.hero__title-main {
  display: block;
  font-size: clamp(2.8rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 300;
}
.hero__title-serif {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  letter-spacing: 0;
  margin-top: .2rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: color-mix(in srgb, #fff 88%, transparent);
  max-width: 40ch;
  font-weight: 300;
}
.hero__sub [hidden] { display: none; }
.hero__cta { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__cta .btn--solid { background: var(--paper); color: var(--ink); }
.hero__cta .btn--solid:hover { background: var(--gold); color: #fff; }

/* Switcher */
.hero__switch {
  position: relative;
  display: flex;
  gap: .4rem;
  padding: .4rem;
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, #000 18%, transparent);
}
.switch__btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .8rem 1.3rem;
  border-radius: 100px;
  color: color-mix(in srgb, #fff 65%, transparent);
  transition: color .4s var(--ease);
}
.switch__btn.is-active { color: #fff; }
.switch__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: all .4s;
}
.switch__btn.is-active .switch__dot { background: var(--gold-soft); border-color: var(--gold-soft); box-shadow: 0 0 8px var(--gold-soft); }
.switch__indicator {
  position: absolute;
  z-index: 1;
  top: .4rem; left: .4rem;
  height: calc(100% - .8rem);
  background: color-mix(in srgb, #fff 14%, transparent);
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  border-radius: 100px;
  transition: transform .5s var(--ease), width .5s var(--ease);
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 70%, transparent);
}
.hero__scroll-icon {
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
}
.hero__scroll-icon i {
  width: 1px; height: 8px;
  background: currentColor;
  animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: translateY(-3px); opacity: .4; }
  50% { transform: translateY(3px); opacity: 1; }
}
/* hide scroll label on small screens to avoid clash with switcher */

/* ════ Sections ════ */
.section { padding: clamp(4rem, 9vh, 8rem) 0; scroll-margin-top: 90px; }
.anchor { display: block; height: 0; scroll-margin-top: 90px; }
.section--cream { background: var(--cream); }
.section__head { max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vh, 4rem); padding: 0 var(--pad); }

/* ════ INTRO ════ */
.intro__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.3fr .9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.intro__left .display { margin-top: .5rem; }

.intro__video {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.3);
}
.intro__video video { width: 100%; height: 100%; object-fit: cover; }
.intro__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px; height: 76px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
  transition: all .4s var(--ease);
}
.intro__play svg { width: 24px; height: 24px; fill: var(--ink); stroke: none; margin-left: 3px; }
.intro__play:hover { transform: scale(1.08); background: var(--gold); }
.intro__play:hover svg { fill: #fff; }
.intro__play.is-hidden { opacity: 0; pointer-events: none; }

.intro__features { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.intro__features li { display: flex; gap: 1rem; align-items: flex-start; }
.feat__icon {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.intro__features strong { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.intro__features span { font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* ════ POWER BOX — Interactive Hotspots ════ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hotspots {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}

.hotspots__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 50px 90px -45px rgba(0,0,0,.6);
}
.hotspots__img { width: 100%; display: block; }

/* dim non-active dots when one is selected */
.hotspots__figure:has(.hotspot.is-active) .hotspot:not(.is-active) .hotspot__dot { opacity: .45; }

.hotspot {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  z-index: 2;
}
.hotspot.is-active { z-index: 4; }
.hotspot__dot {
  position: relative;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
  transition: transform .3s var(--ease), background .3s, opacity .3s;
}
.hotspot__dot::before {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: hsPulse 2.2s var(--ease) infinite;
}
@keyframes hsPulse {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2);  opacity: 0;  }
}
.hotspot:hover .hotspot__dot,
.hotspot:focus-visible .hotspot__dot,
.hotspot.is-active .hotspot__dot {
  transform: scale(1.3);
  background: var(--gold-deep);
}
.hotspot.is-active .hotspot__dot::before { animation: none; }

/* Panel */
.hotspots__panel {
  border-left: 2px solid var(--gold);
  padding-left: clamp(1.2rem, 2vw, 1.8rem);
}
.hotspots__index {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hotspots__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: .8rem 0 .7rem;
}
.hotspots__text {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 34ch;
}
.hotspots__hint {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hotspots__panel.is-anim { animation: panelIn .4s var(--ease); }
@keyframes panelIn {
  from { opacity: .25; transform: translateY(8px); }
  to   { opacity: 1;   transform: none; }
}

.powerbox__more { text-align: center; margin-top: clamp(2.5rem, 5vh, 3.5rem); }

/* ════ STEPS ════ */
.steps__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.step { display: flex; flex-direction: column; }
.step__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 500; }
.step h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: 1rem 0 .3rem; }
.step p { font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.step__img { aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--cream-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step__img img { transform: scale(1.06); }

/* connecting arrow between steps */
.step:not(:last-child) { position: relative; }
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: .2rem; right: calc(-1 * clamp(1rem, 2vw, 1.8rem) / 2 - .3rem);
  color: var(--line);
  font-size: 1rem;
}

/* ════ MATERIALS ════ */
.materials__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: .9fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.materials__swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.swatch { display: flex; flex-direction: column; }
.swatch__chip {
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 20px 40px -24px rgba(0,0,0,.4);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.swatch__chip::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent, transparent 6px, rgba(0,0,0,.04) 6px, rgba(0,0,0,.04) 7px);
  opacity: .6;
}
.swatch__chip--special::after { background: none; }
.swatch:hover .swatch__chip { transform: translateY(-6px); }
.swatch strong { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.swatch span { font-size: .76rem; color: var(--muted); }

/* ════ QUOTES ════ */
.quotes__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.quote { position: relative; padding: 2rem 1.5rem 0; }
.quote__mark { font-family: var(--serif); font-size: 3.4rem; line-height: 0; color: var(--gold-soft); position: absolute; top: 2.2rem; left: 1.5rem; opacity: .6; }
.quote blockquote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-weight: 500; margin: 1.2rem 0 1.8rem; padding-top: 1.4rem; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
}
.quote figcaption strong { display: block; font-size: .82rem; letter-spacing: .06em; }
.quote figcaption span { font-size: .78rem; color: var(--muted); }

/* ════ CONTACT ════ */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 45%; height: 160%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 13%, transparent), transparent 70%);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact__intro .lead { margin: 1.6rem 0 2.4rem; }

.contact__list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__ico {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.contact__ico svg { width: 19px; height: 19px; }
.contact__list strong { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact__list a, .contact__list span { font-size: .98rem; color: var(--ink); }
.contact__list a:hover { color: var(--gold); }

/* ── Form ── */
.contact__formwrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) * 2);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.45);
}
.contact__form { display: flex; flex-direction: column; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1rem .6rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9885B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent);
}

.field label {
  position: absolute;
  left: 1rem; top: 1.05rem;
  font-size: .95rem;
  color: var(--muted);
  pointer-events: none;
  transition: all .2s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label {
  top: .5rem;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* validation */
.field input:user-invalid,
.field textarea:user-invalid { border-color: #b4543f; }

/* checkbox */
.checkbox { display: flex; align-items: flex-start; gap: .7rem; font-size: .82rem; color: var(--muted); cursor: pointer; margin-top: .2rem; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  flex: none;
  width: 20px; height: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid; place-items: center;
  background: var(--cream);
  transition: all .25s var(--ease);
}
.checkbox__box::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .25s var(--ease);
  margin-top: -2px;
}
.checkbox input:checked + .checkbox__box { background: var(--gold); border-color: var(--gold); }
.checkbox input:checked + .checkbox__box::after { transform: rotate(-45deg) scale(1); }
.checkbox input:focus-visible + .checkbox__box { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.checkbox a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.contact__submit { justify-content: center; margin-top: .6rem; background: var(--ink); }
.contact__submit:hover { background: var(--gold); }
.contact__note { font-size: .72rem; color: var(--muted); text-align: center; }

/* success */
.contact__success { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 1rem; animation: panelIn .5s var(--ease); }
.contact__check {
  width: 64px; height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  display: grid; place-items: center;
  color: var(--gold);
}
.contact__check svg { width: 30px; height: 30px; stroke-width: 2.2; }
.contact__success h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: .6rem; }
.contact__success p { color: var(--muted); max-width: 34ch; margin: 0 auto 1.6rem; }
.contact__success .link-arrow { margin: 0 auto; width: fit-content; }

/* ════ FOOTER ════ */
.footer { background: var(--ink); color: color-mix(in srgb, #fff 70%, transparent); padding: clamp(3rem,6vh,5rem) 0 2rem; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent);
}
.logo--footer { color: #fff; }
.footer__address, .footer__contact { font-size: .82rem; line-height: 1.8; font-style: normal; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: .8rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all .4s var(--ease);
}
.footer__social svg { width: 17px; height: 17px; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer__copy { max-width: var(--maxw); margin: 1.6rem auto 0; padding: 0 var(--pad); font-size: .72rem; letter-spacing: .04em; color: color-mix(in srgb, #fff 40%, transparent); }

/* ════ Lightbox ════ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in srgb, #000 88%, transparent);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: var(--pad);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame { width: min(960px, 100%); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox__frame video { width: 100%; }
.lightbox__close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2.4rem; color: #fff; line-height: 1; transition: transform .3s; }
.lightbox__close:hover { transform: rotate(90deg); color: var(--gold-soft); }

/* ════ Preloader ════ */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo {
  opacity: 0;
  animation: fadeUp .8s var(--ease) forwards;
}
.preloader__logo img { height: 48px; width: auto; }

/* ════ Reveal animation ════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }

@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1080px) {
  .intro__grid { grid-template-columns: 1fr 1fr; }
  .intro__features { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .intro__features li { flex: 1 1 30%; }
}

@media (max-width: 860px) {
  .hero__content { flex-direction: column; align-items: flex-start; }
  .hero__switch { align-self: stretch; justify-content: center; }
  .hero__scroll { display: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__features { flex-direction: column; }
  .intro__features li { flex: none; }
  .hotspots { grid-template-columns: 1fr; }
  .hotspots__panel { border-left: 0; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 1.4rem; text-align: center; }
  .hotspots__text { max-width: none; margin-inline: auto; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .materials__grid { grid-template-columns: 1fr; }
  .materials__swatches { grid-template-columns: repeat(2, 1fr); }
  .quotes__grid { grid-template-columns: 1fr; max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .header .btn--sm { display: none; }   /* nur Logo + Menü-Trigger auf Handy */
  .menu-toggle__label { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   MOBILE — Next level
   ════════════════════════════════════════════ */
.mobile-cta { display: none; }

@media (max-width: 760px) {

  /* ── Hero ── */
  .hero__content { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); gap: 1.6rem; }
  .hero__title-main { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero__title-serif { font-size: clamp(2rem, 10vw, 3.2rem); }
  .hero__cta { flex-direction: column; align-items: stretch; gap: .9rem; width: 100%; }
  .hero__cta .btn { justify-content: center; width: 100%; }
  .hero__cta .btn--play { padding-block: .7rem; }

  /* switcher = 50/50 segmented control */
  .hero__switch { width: 100%; }
  .switch__btn { flex: 1 1 0; justify-content: center; padding-inline: .5rem; font-size: .6rem; letter-spacing: .1em; }

  /* ── Horizontal swipe carousels ── */
  .steps__grid,
  .materials__swatches,
  .quotes__grid {
    display: flex;
    grid-template-columns: none;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    gap: 1rem;
    padding: .5rem var(--pad);
    margin-inline: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .steps__grid::-webkit-scrollbar,
  .materials__swatches::-webkit-scrollbar,
  .quotes__grid::-webkit-scrollbar { display: none; }

  .step   { flex: 0 0 62%; scroll-snap-align: start; }
  .swatch { flex: 0 0 44%; scroll-snap-align: start; }
  .quote  { flex: 0 0 84%; scroll-snap-align: start; padding: 1.6rem 1.4rem 0; }
  .step:not(:last-child)::after { display: none; }

  /* trailing breathing room so last card can snap to start */
  .steps__grid::after,
  .materials__swatches::after,
  .quotes__grid::after { content: ''; flex: 0 0 1px; }

  /* swipe hint under section heads of the carousels */
  .steps .section__head::after,
  .quotes .section__head::after {
    content: '‹ wischen ›';
    display: block;
    margin-top: 1rem;
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
  }

  /* ── Sticky mobile CTA bar ── */
  .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    position: fixed;
    left: 1rem; right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 88;
    padding: 1.1rem 1.4rem;
    background: var(--gold);
    color: #fff;
    border-radius: 100px;
    font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    box-shadow: 0 16px 34px -12px rgba(0,0,0,.55);
    transform: translateY(180%);
    opacity: 0;
    transition: transform .55s var(--ease), opacity .4s, background .3s;
  }
  .mobile-cta svg { width: 18px; height: 18px; }
  .mobile-cta.is-visible { transform: none; opacity: 1; }
  .mobile-cta:active { background: var(--gold-deep); transform: scale(.98); }
}

/* keep sticky CTA hidden while overlays are open */
body.menu-open .mobile-cta,
body.is-locked .mobile-cta { transform: translateY(180%) !important; opacity: 0 !important; }

/* tap feedback on touch devices */
@media (hover: none) {
  .step:active .step__img img { transform: scale(1.04); }
  .swatch:active .swatch__chip { transform: translateY(-4px); }
  .btn:active { transform: scale(.98); }
}
