/* ==========================================================================
   HOCHHEIMERS Heilbronn
   Design rules
   - Shape: media and panels stay sharp (radius 0). Interactive controls
     (buttons, nav, toggles) are pills.
   - Accent: pure white on a neutral near-black. Emphasis in headlines comes
     from weight, not colour.
   - Type: Archivo Expanded in light weights for display, Manrope for text.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #111112;
  --bg-3: #19191b;
  --text: #f2f2f2;
  --muted: #98989d;
  --faint: rgba(242, 242, 242, 0.38);
  --line: rgba(242, 242, 242, 0.1);
  --line-strong: rgba(242, 242, 242, 0.22);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.4);
  --on-accent: #0a0a0b;

  --font-display: "Archivo", "Arial", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --nav-h: 96px;
  --pill: 999px;
  --section: clamp(112px, 14vw, 208px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  /* z-index scale */
  --z-nav: 50;
  --z-menu: 60;
  --z-grain: 70;
  --z-curtain: 90;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* film grain on a fixed, non-scrolling layer only */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 20px;
  background: var(--accent); color: var(--on-accent); font-weight: 700;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Curtain (intro + page transitions) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: var(--z-curtain);
  background: #000;
  display: grid; place-items: center;
  pointer-events: none;
  visibility: hidden;
}
.js .curtain { visibility: visible; animation: curtain-fallback 0s 4s forwards; }
.js .curtain.is-active { animation: none; }
.curtain.is-done { visibility: hidden; }
.curtain.has-shape { background: transparent; }
.curtain__shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: #000; }
.curtain__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; opacity: 0; }
.curtain__inner img { height: 40px; width: auto; }
.curtain__line { width: 180px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@keyframes curtain-fallback { to { visibility: hidden; } }

/* ---------- Page transitions (browsers with cross-document view transitions) ----------
   The new page opens as a circle growing from the spot that was clicked,
   while the old page sinks back, blurs and dims. The logo stays put on top. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.vt .curtain { visibility: hidden; }
.nav__logo img { view-transition-name: hh-logo; }
::view-transition { background: #000; }
::view-transition-old(root) {
  animation: vt-page-out 1s cubic-bezier(0.7, 0, 0.2, 1) both;
  transform-origin: var(--vt-x, 50%) var(--vt-y, 50%);
}
::view-transition-new(root) { animation: vt-page-in 1s cubic-bezier(0.7, 0, 0.2, 1) both; }
::view-transition-group(hh-logo) { animation-duration: 1s; animation-timing-function: cubic-bezier(0.7, 0, 0.2, 1); }
@keyframes vt-page-out {
  to { transform: scale(0.9); filter: blur(10px) brightness(0.25); }
}
@keyframes vt-page-in {
  from { clip-path: circle(0% at var(--vt-x, 50%) var(--vt-y, 50%)); transform: scale(1.06); filter: brightness(1.4); }
  to { clip-path: circle(150% at var(--vt-x, 50%) var(--vt-y, 50%)); transform: none; filter: none; }
}
/* phones: the page snapshots are scaled and blurred bitmaps, which smears the
   text for a second; the old page fades out first, then the new one fades in,
   so no two texts ever overlap */
@media (max-width: 760px) {
  ::view-transition-old(root) { animation: vt-fade-out 0.2s ease-in both; }
  ::view-transition-new(root) { animation: vt-fade-in 0.35s ease-out 0.18s both; }
  /* the logo fades with the page; flying on its own it would float over an open profile */
  .nav__logo img { view-transition-name: none; }
}
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* first-visit intro: the logo is cut from logo.webp into pieces and written in */
.curtain__logo { position: relative; width: min(80vw, 760px); aspect-ratio: 1192 / 321; }
/* on its way into the nav: above the lifting curtain, same shadow as the nav logo */
.curtain__logo.is-flying {
  z-index: calc(var(--z-curtain) + 1); pointer-events: none;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
}
.curtain__piece { position: absolute; overflow: hidden; }
.curtain__glyph { position: absolute; inset: 0; }
.curtain__logo .curtain__piece img { position: absolute; max-width: none; height: auto; }
.curtain__script {
  overflow: visible;
  /* keep the full stop out of the brush pass, it lands on its own */
  clip-path: polygon(0 0, 100% 0, 100% 26%, 94.2% 26%, 94.2% 100%, 0 100%);
}
.curtain__script .curtain__glyph {
  --p: -8%;
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p) - 7%), transparent var(--p));
  mask-image: linear-gradient(100deg, #000 calc(var(--p) - 7%), transparent var(--p));
}
.curtain__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
  margin: 0;
}
.display b,
.h2 b { font-weight: 500; }
.h2 {
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
}
.h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.3;
  margin: 0;
}
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.75; color: var(--muted); max-width: 46ch; margin: 0; }
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  font-stretch: 118%;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.label::before { content: ""; width: 36px; height: 1px; background: var(--accent-soft); }
.accent { color: var(--accent); }
.display .accent,
.h2 .accent { font-weight: 500; }
.muted { color: var(--muted); }

/* split-word reveal (set up by JS) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.word__inner { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --btn-line: var(--accent);
  --btn-fg: var(--on-accent);
  --btn-fill: var(--accent);
  --btn-hover-fill: var(--bg);
  --btn-hover-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  padding: 0 30px;
  border: 1px solid var(--btn-line);
  border-radius: var(--pill);
  background: var(--btn-fill);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover-fill);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--btn-hover-fg); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn .ph { font-size: 1.05rem; transition: transform 0.5s var(--ease); }
.btn:hover .ph-arrow-right,
.btn:hover .ph-arrow-up-right { transform: translateX(4px); }

.btn--line {
  --btn-line: var(--line-strong);
  --btn-fg: var(--text);
  --btn-fill: rgba(255, 255, 255, 0.02);
  --btn-hover-fill: var(--accent);
  --btn-hover-fg: var(--on-accent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--sm { height: 44px; padding: 0 20px; font-size: 0.64rem; gap: 10px; }

.link-line {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-stretch: 118%; font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  padding-bottom: 8px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent-soft);
  transform-origin: right;
  transition: background-color 0.3s;
}
.link-line:hover::after { background: var(--accent); animation: line-sweep 0.9s var(--ease); }
@keyframes line-sweep { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- Navigation ----------
   At the top: logo left, a stacked uppercase link list right.
   Scrolled: the list folds away into one menu button + booking. */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: 0;
  pointer-events: none;
  transition: transform 0.7s var(--ease);
}
.nav.is-hidden { transform: translateY(-160px); }
/* soft scrim so the header stays legible over content once scrolled */
.nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0) 100%);
  opacity: 0; transition: opacity 0.5s;
}
.nav.is-solid::before { opacity: 1; }
.nav__logo {
  position: absolute; left: calc(var(--gutter) + 14px); top: 44px;
  pointer-events: auto; display: block;
}
.nav__logo img {
  height: clamp(48px, 4.8vw, 74px); width: auto;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
  transition: height 0.6s var(--ease), opacity 0.3s;
}
.nav__logo { transition: top 0.6s var(--ease); }
.nav.is-solid .nav__logo img { height: clamp(36px, 3.2vw, 48px); }
.nav.is-solid .nav__logo { top: 30px; }
.nav__logo:hover img { opacity: 0.75; }

.nav__inner {
  position: absolute; right: var(--gutter); top: 30px;
  width: auto; max-width: none; padding: 0; margin: 0;
}
.nav__inner > nav {
  pointer-events: auto;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s;
}
.nav.is-solid .nav__inner > nav {
  opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
  transition: opacity 0.3s, transform 0.5s var(--ease), visibility 0s 0.3s;
}
.nav__links {
  list-style: none; margin: 0; padding: 0;
  display: grid; justify-items: end; gap: 1px;
}
.nav__links a {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-stretch: 110%; font-weight: 500;
  font-size: 1rem; line-height: 1.32; letter-spacing: 0.03em; text-transform: uppercase;
  color: rgba(242, 242, 242, 0.6);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  transition: color 0.35s, transform 0.5s var(--ease);
}
.nav__links a::before {
  content: ""; width: 0; height: 1px; background: currentColor;
  transition: width 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::before,
.nav__links a[aria-current="page"]::before { width: 22px; }

.nav__right {
  position: absolute; right: 0; top: 0;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.5s var(--ease), visibility 0s 0.3s;
}
.nav.is-solid .nav__right {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity 0.45s var(--ease) 0.1s, transform 0.6s var(--ease) 0.1s, visibility 0s;
}
.nav__cta.btn { height: 46px; padding: 0 22px; }

.nav__toggle {
  display: grid; width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  place-items: center; font-size: 1.15rem;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
@media (hover: hover) { .nav__toggle:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); } }
.nav__toggle:active { background: var(--accent); color: var(--on-accent); }

@media (max-width: 960px) {
  .nav__logo, .nav__inner { top: 18px; }
  .nav__logo, .nav.is-solid .nav__logo { top: 24px; left: calc(var(--gutter) + 6px); }
  .nav__logo img, .nav.is-solid .nav__logo img { height: 42px; }
  .nav__inner > nav { display: none; }
  .nav__right { opacity: 1; visibility: visible; transform: none; pointer-events: auto; position: static; }
}
@media (max-width: 960px) { .nav__cta { display: none; } }

/* vertical quick links on the right edge */
.side-rail {
  position: fixed; right: calc(var(--gutter) / 2 - 8px); bottom: 48px; z-index: var(--z-nav);
  display: flex; flex-direction: row; align-items: center; gap: 18px;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.side-rail a {
  font-family: var(--font-display); font-stretch: 115%; font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s, text-shadow 0.3s;
}
.side-rail a:hover { color: var(--text); }
.side-rail span { inline-size: 48px; block-size: 1px; background: var(--line-strong); }
@media (max-width: 960px) { .side-rail { display: none; } }

.menu {
  --origin: calc(100% - var(--gutter) - 23px) 41px;
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at var(--origin));
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
}
.menu.is-open { clip-path: circle(150% at var(--origin)); visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }

/* the salon photo, sunk into the bottom of the menu */
.menu__bg { position: absolute; inset: 38% 0 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.menu__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 90%;
  opacity: 0.4; filter: grayscale(0.3);
  transform: scale(1.15); transition: transform 1.4s var(--ease);
}
.menu.is-open .menu__bg img { transform: scale(1.02); }
.menu__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.85) 100%); }
.menu { isolation: isolate; }

.menu__top { display: flex; justify-content: space-between; align-items: center; height: 82px; padding-left: 6px; flex: none; }
.menu__top img { height: 42px; width: auto; }
.menu__close .ph { transition: transform 0.7s var(--ease); }
.menu:not(.is-open) .menu__close .ph { transform: rotate(-90deg); }

.menu__links { list-style: none; margin: auto 0; padding: 32px 0; display: grid; gap: 2px; }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-stretch: 100%; font-weight: 600;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 12.5vw, 4.4rem); line-height: 1.02;
  color: rgba(242, 242, 242, 0.32);
  transform: translateY(105%);
  transition: transform 0.9s var(--ease), color 0.3s;
  transition-delay: 0s;
}
.menu.is-open .menu__links a { transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.06s), 0s; }
.menu__links li { --i: 0; }
.menu__links a[aria-current="page"],
.menu__links a:active { color: var(--text); }
@media (hover: hover) { .menu__links a:hover { color: var(--text); } }

.menu__foot {
  display: grid; gap: 14px; flex: none;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s, transform 0.6s var(--ease);
}
.menu.is-open .menu__foot { opacity: 1; transform: none; transition: opacity 0.6s 0.5s, transform 0.8s var(--ease) 0.5s; }
.menu__cta { width: 100%; height: 58px; }
.menu__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu__chips a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.92rem; font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.menu__chips a:active,
.menu__chips a:hover { background: var(--text); color: var(--on-accent); }
.menu__chips .ph { font-size: 1.1rem; }
.menu__addr { text-align: center; color: var(--muted); font-size: 0.85rem; padding-top: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
/* Left half black, right half a tight crop on barber + client */
.hero .wrap { max-width: none; }
.hero__media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; }
.hero__media video,
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%;
  transform: scale(1.32); transform-origin: 66% 92%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(0,0,0,0.6) 14%, rgba(0,0,0,0) 40%),
    linear-gradient(0deg, var(--bg) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 18%),
    rgba(0,0,0,0.08);
}
.hero__title {
  font-stretch: 100%; font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 0.98;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.hero__title .line > span { display: block; }
.hero__cta { margin-top: 22px; width: min(100%, 440px); }
@media (max-width: 760px) {
  .hero__media { width: 100%; }
  .hero__media { bottom: 26%; }
  .hero__media img { object-position: 70% 100%; transform: scale(1.55); transform-origin: 62% 96%; }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(0,0,0,0.5) 24%, rgba(0,0,0,0) 48%),
      linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 16%);
  }
}

/* ---------- Intro (scroll-lit statement + portrait) ---------- */
.intro { padding-block: var(--section); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro__text {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.9vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: -0.003em;
  margin: 28px 0 0;
}
.intro__text .w { opacity: 0.16; }
.intro__text .w.accent { color: var(--accent); font-weight: 500; }
.display .accent,
.h2 .accent { font-weight: 500; }
.intro__media { margin-top: clamp(80px, 12vw, 200px); }
.intro__media figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__caption { margin-top: 18px; color: var(--muted); font-size: 0.9rem; max-width: 30ch; }
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { margin-top: 0; max-width: 360px; justify-self: end; width: 70%; }
}

/* ---------- Disciplines (hover-reveal rows) ---------- */
.disciplines { padding-bottom: var(--section); position: relative; }
.disciplines__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.disc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.disc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) 8rem;
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 3.6vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}
.disc__name {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 200; text-transform: uppercase;
  font-size: clamp(2.3rem, 6vw, 6rem); line-height: 0.95;
  transition: color 0.5s, transform 0.8s var(--ease);
}
.disc__desc { color: var(--muted); margin: 0; max-width: 36ch; font-size: 0.95rem; }
.disc__price { justify-self: end; text-align: right; font-family: var(--font-display); font-stretch: 118%; font-weight: 400; font-size: 1.05rem; white-space: nowrap; }
.disc__price small { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; letter-spacing: 0; }
.disc__link { position: absolute; inset: 0; z-index: 2; }
.disc__thumb { display: none; }
@media (hover: hover) and (min-width: 961px) {
  .disc:hover .disc__name { color: var(--accent); transform: translateX(18px); }
}
.disc-cursor {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 280px; aspect-ratio: 3 / 4;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(50% 50% 50% 50%);
  transform: translate(-50%, -50%);
  transition: clip-path 0.7s var(--ease);
}
.disc-cursor.is-on { clip-path: inset(0 0 0 0); }
.disc-cursor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 0.5s, transform 1.2s var(--ease); }
.disc-cursor img.is-active { opacity: 1; transform: scale(1); }
@media (max-width: 960px) {
  .disc { grid-template-columns: 92px minmax(0, 1fr); gap: 8px 20px; align-items: start; }
  .disc__thumb { display: block; grid-row: span 3; width: 92px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
  .disc__name { font-size: clamp(1.8rem, 8.4vw, 2.6rem); font-weight: 300; }
  .disc__price { justify-self: start; text-align: left; }
  .disc-cursor { display: none; }
}

/* ---------- Pause (full-bleed image with one line) ---------- */
.pause { position: relative; height: clamp(520px, 110vh, 1100px); overflow: hidden; display: grid; place-items: center; isolation: isolate; text-align: center; }
.pause__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* full width at its natural height; scrolling pans it from the neon signs down to the chairs */
.pause__media .pause__photo {
  position: absolute; left: 0; top: 50%; width: 100%; height: auto; min-height: 100%;
  object-fit: cover; translate: 0 -50%;
}
.pause__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0.3), rgba(0,0,0,0.42) 45%, rgba(0,0,0,0.9) 100%); }
.pause__text { font-size: clamp(1.8rem, 4.6vw, 4.4rem); max-width: 18ch; margin-inline: auto; }

/* ---------- Reel (horizontal pan) ---------- */
.reel { position: relative; overflow: hidden; }
.reel__pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 24px) 0 56px; gap: 48px; }
.reel__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 24px; }
.reel__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.reel__fig { margin: 0; flex: none; }
.reel__item { position: relative; flex: none; height: min(64vh, 660px); aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-3); }
.reel__item video,
.reel__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter 0.8s; filter: saturate(0.85); }
.reel__item:hover video,
.reel__item:hover img { transform: scale(1.06); filter: saturate(1); }
@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .reel__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .reel__track::-webkit-scrollbar { display: none; }
  .reel__fig { scroll-snap-align: start; }
  .reel__item { height: 60vh; max-height: 520px; }
  .reel__pin { min-height: 0; padding: var(--section) 0 calc(var(--section) * 0.6); }
}

/* ---------- Visit ---------- */
.visit { padding-block: var(--section); border-top: 1px solid var(--line); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.visit__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.visit__media img { position: absolute; inset: -9% 0; width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; }
.visit__body { display: grid; gap: 30px; }
.address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } .visit__media { aspect-ratio: 4 / 5; } }

/* ---------- Opening hours ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hours th { text-align: left; font-weight: 500; padding: 11px 0; color: var(--text); width: 8em; }
.hours td { padding: 11px 0; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 600; }
.status {
  justify-self: start;
  width: max-content;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-stretch: 115%; font-weight: 400;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.status.is-open { color: var(--text); }
.status.is-open::before { background: #8fc79c; box-shadow: 0 0 0 4px rgba(143, 199, 156, 0.14); }
.status:empty { display: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: calc(var(--section) * 1.15); isolation: isolate; text-align: center; border-top: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; filter: grayscale(0.4); }
/* a photo strong enough to be seen, not just felt */
.cta-band__bg--vivid img { opacity: 0.5; filter: none; object-position: 50% 62%; }
.cta-band__bg--front img { object-position: 50% 34%; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0.35), var(--bg) 78%); }
.cta-band__title { font-size: clamp(2.6rem, 8vw, 7.6rem); }
.cta-band p { margin: 28px auto 40px; color: var(--muted); max-width: 40ch; }

/* ---------- Page header (sub pages) ---------- */
.page-head { padding: calc(var(--nav-h) + clamp(72px, 11vw, 160px)) 0 clamp(56px, 7vw, 96px); position: relative; }
.page-head__title { font-size: clamp(1.9rem, 8.4vw, 8.4rem); margin-top: 26px; }
.page-head .lead { margin-top: 32px; }

/* ---------- Leistungen ---------- */
.tabs {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-block: 1px solid var(--line);
  transition: top 0.7s var(--ease);
}
.nav:not(.is-hidden) ~ main .tabs { top: var(--nav-h); }
.tabs__list { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; list-style: none; margin-block: 0; }
.tabs__list::-webkit-scrollbar { display: none; }
.chip {
  position: relative;
  display: inline-flex; align-items: center; height: 60px;
  font-family: var(--font-display); font-stretch: 118%; font-weight: 400;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted);
  transition: color 0.4s;
}
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.chip:hover { color: var(--text); }
.chip.is-active { color: var(--text); }
.chip.is-active::after { transform: scaleX(1); }

.menu-group { padding-top: var(--section); scroll-margin-top: calc(var(--nav-h) + 60px); }
.menu-group__head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.menu-group__intro { position: sticky; top: calc(var(--nav-h) + 100px); display: grid; gap: 22px; }
.menu-group__intro .h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); }
.menu-group__img { aspect-ratio: 4 / 5; overflow: hidden; margin-top: 18px; max-width: 420px; }
.menu-group__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-group__img[data-parallax] img { height: 118%; margin-top: -9%; }
.price-blocks { display: grid; gap: clamp(56px, 6vw, 88px); }
.price-block .h3 { color: var(--accent); margin-bottom: 14px; font-size: 0.78rem; letter-spacing: 0.28em; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.price-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 32px; padding: 22px 0; align-items: baseline; border-bottom: 1px solid var(--line); }
.price-item__name { font-size: 1.04rem; font-weight: 500; }
.price-item__meta { grid-column: 1; color: var(--muted); font-size: 0.85rem; }
.price-item__price { grid-row: 1 / span 2; grid-column: 2; font-family: var(--font-display); font-stretch: 120%; font-weight: 300; font-size: 1.35rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-item--feature { position: relative; padding: 28px; margin-block: 14px; background: var(--bg-2); border: 1px solid var(--accent-soft); }
/* label sits above the name so it never collides with the price */
.price-item--feature .price-item__name::before { content: "Komplettpaket"; display: block; margin-bottom: 10px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.note { color: var(--muted); font-size: 0.85rem; margin-top: var(--section); padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .menu-group__head { grid-template-columns: 1fr; }
  .menu-group__intro { position: static; }
  .menu-group__img { aspect-ratio: 16 / 10; max-width: none; }
}

/* ---------- Salon page ---------- */
.story { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: center; padding-block: clamp(24px, 4vw, 56px) var(--section); }
.story__video { position: relative; aspect-ratio: 9 / 16; max-height: 84vh; overflow: hidden; background: var(--bg-3); }
.story__video video,
.story__video img { width: 100%; height: 100%; object-fit: cover; }
.story__sound {
  position: absolute; right: 18px; bottom: 18px;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(0,0,0,0.5); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 1.15rem;
  transition: border-color 0.3s;
}
.story__sound:hover { border-color: var(--accent); }
.story__body { display: grid; gap: 28px; }
.story__body p { margin: 0; color: var(--muted); max-width: 50ch; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__video { max-height: none; max-width: 440px; } }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 13vw, 200px);
  gap: clamp(10px, 1.2vw, 16px);
  padding-bottom: var(--section);
}
.gallery figure { margin: 0; overflow: hidden; position: relative; background: var(--bg-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.g1 { grid-column: 1 / span 7; grid-row: span 3; }
.g2 { grid-column: 8 / span 5; grid-row: span 2; }
.g3 { grid-column: 8 / span 5; grid-row: span 2; }
.g4 { grid-column: 1 / span 4; grid-row: span 2; }
.g5 { grid-column: 5 / span 3; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; }
  .g1 { grid-column: 1 / -1; grid-row: span 1; }
  .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: span 1; }
}

.values { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; padding-bottom: var(--section); }
.value { border-top: 1px solid var(--line); padding: 32px 0 48px; display: grid; gap: 14px; align-content: start; }
.value p { margin: 0; color: var(--muted); max-width: 44ch; }
.value:nth-child(1) { grid-column: 1 / span 5; }
.value:nth-child(2) { grid-column: 7 / span 6; }
.value:nth-child(3) { grid-column: 1 / span 6; }
.value:nth-child(4) { grid-column: 8 / span 5; }
@media (max-width: 760px) { .value:nth-child(n) { grid-column: 1 / -1; } }

/* ---------- Team (cards on home + team page) ---------- */
.team-teaser { padding-bottom: var(--section); }
.team { padding-bottom: var(--section); }
.team-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px);
}
.team-grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* A round neon sign: the ring is the glowing tube, the name glows inside,
   the button sits underneath. */
.member__link { position: relative; display: grid; justify-items: center; gap: clamp(26px, 2.6vw, 36px); padding: 18px 10px; text-align: center; }
.member__ring {
  --tube: #3d8bff;
  position: relative; display: grid; place-items: center;
  width: min(82%, 270px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 120, 255, 0.2), rgba(46, 120, 255, 0) 60%),
    radial-gradient(circle at 50% 35%, #12141a 0%, #07080a 72%);
  border: 2px solid rgba(190, 218, 255, 0.9);
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.55),
    0 0 14px var(--tube),
    0 0 34px rgba(61, 139, 255, 0.75),
    0 0 90px rgba(61, 139, 255, 0.38),
    inset 0 0 12px rgba(61, 139, 255, 0.7),
    inset 0 0 46px rgba(61, 139, 255, 0.22);
  transition: box-shadow 0.7s var(--ease), transform 0.9s var(--ease);
}
.glow-name { animation: none; }
.glow-name {
  --glow: #3d8bff;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(1.15rem, 2.1vw, 1.9rem); line-height: 1;
  color: #cfe2ff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.6),
    0 0 12px var(--glow),
    0 0 28px var(--glow),
    0 0 60px rgba(61, 139, 255, 0.7),
    0 0 110px rgba(61, 139, 255, 0.45);
  transition: text-shadow 0.6s var(--ease), transform 1s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .glow-name { animation: glow-breathe 4.5s ease-in-out infinite; }
  .member:nth-child(2) .glow-name { animation-delay: -1.5s; }
  .member:nth-child(3) .glow-name { animation-delay: -3s; }
}
@keyframes glow-breathe { 50% { opacity: 0.82; } }
@media (prefers-reduced-motion: no-preference) {
  .member__ring { animation: glow-breathe 4.5s ease-in-out infinite; }
  .member:nth-child(2) .member__ring { animation-delay: -1.5s; }
  .member:nth-child(3) .member__ring { animation-delay: -3s; }
  /* hovering switches the tube on again: a short neon flicker */
  .member__link:hover .member__ring,
  .member__link:hover .glow-name { animation: neon-flicker 0.7s steps(1, end) 1, glow-breathe 4.5s ease-in-out 0.7s infinite; }
}
@keyframes neon-flicker {
  0% { opacity: 1; } 12% { opacity: 0.35; } 20% { opacity: 1; } 34% { opacity: 0.5; } 42% { opacity: 1; } 60% { opacity: 0.8; } 70% { opacity: 1; }
}
.member__link:hover .member__ring,
.member__link:focus-visible .member__ring {
  transform: translateY(-4px);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.75),
    0 0 18px var(--tube),
    0 0 44px rgba(61, 139, 255, 0.9),
    0 0 130px rgba(61, 139, 255, 0.5),
    inset 0 0 16px rgba(61, 139, 255, 0.85),
    inset 0 0 60px rgba(61, 139, 255, 0.3);
}
.member__link:hover .glow-name,
.member__link:focus-visible .glow-name {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 16px var(--glow), 0 0 36px var(--glow), 0 0 80px var(--glow), 0 0 140px rgba(61, 139, 255, 0.6);
}
.member__btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 8px 0 20px;
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: rgba(17, 17, 18, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-display); font-stretch: 115%; font-weight: 500;
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s;
}
.member__btn .ph {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-size: 0.85rem;
  transition: transform 0.5s var(--ease), background-color 0.5s, color 0.5s;
}
.member__link:hover .member__btn,
.member__link:focus-visible .member__btn { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.member__link:hover .member__btn .ph,
.member__link:focus-visible .member__btn .ph { background: var(--on-accent); color: var(--accent); transform: rotate(45deg); }
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid--row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .team-grid--row::-webkit-scrollbar { display: none; }
  .team-grid--row .member { flex: 0 0 min(64vw, 280px); scroll-snap-align: start; }
}
@media (max-width: 520px) { .member__btn { font-size: 0.58rem; letter-spacing: 0.16em; padding-left: 16px; } }
/* team page on phones: one sign per row so the button never gets cut */
@media (max-width: 600px) { .team-grid:not(.team-grid--row) { grid-template-columns: 1fr; } }

/* ---------- Profile drawer ---------- */
.profile { position: fixed; inset: 0; z-index: var(--z-menu); }
.profile[hidden] { display: none; }
.profile__scrim {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.profile__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(980px, 100%);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.8s var(--ease-io);
}
.profile.is-open .profile__scrim { opacity: 1; }
.profile.is-open .profile__panel { transform: none; }
.profile.is-instant .profile__scrim,
.profile.is-instant .profile__panel { transition: none; }
/* phones: a live blur behind a sliding full-screen panel stutters */
@media (max-width: 760px) {
  .profile__scrim { background: rgba(0, 0, 0, 0.8); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.profile__close { display: grid; position: sticky; top: 20px; margin: 20px 20px 0 auto; z-index: 2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.profile__content { padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 5vw, 64px); margin-top: -28px; }
.profile__head { display: grid; gap: 24px; justify-items: start; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.profile__avatar {
  display: grid; place-items: center;
  width: clamp(200px, 30vw, 280px); aspect-ratio: 1; border-radius: 50%; margin-bottom: 8px;
  box-shadow: 0 0 0 8px rgba(61, 139, 255, 0.04), 0 0 80px -10px rgba(61, 139, 255, 0.4);
  background: radial-gradient(50% 60% at 50% 50%, rgba(46, 120, 255, 0.18), rgba(46, 120, 255, 0) 70%), #0c0d10;
  border: 1px solid var(--line);
}
.profile__avatar .glow-name { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.profile__name { font-size: clamp(2.4rem, 7vw, 5.6rem); font-weight: 400; }
.profile__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile__tags li {
  height: 34px; padding: 0 14px; display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  font-size: 0.82rem; color: var(--text);
}
.profile__bio { margin: 0; color: var(--muted); max-width: 52ch; }
.profile__work { display: grid; gap: 28px; padding-top: clamp(40px, 5vw, 64px); }
.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 20vw, 240px); grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px);
}
.work { position: relative; overflow: hidden; background: var(--bg-3); }
.work--tall { grid-row: span 2; }
.work--wide { grid-column: 1 / -1; grid-row: span 2; }
/* a single photo is shown whole and square instead of as a half-width strip */
.work-grid:has(> .work:only-child:not(.work--wide)) { grid-template-columns: minmax(0, 560px); grid-auto-rows: auto; }
.work:only-child:not(.work--wide) { grid-row: auto; aspect-ratio: 1; }
/* short tiles crop haircut photos: keep the hair, not the collar */
.work:not(.work--tall):not(.work--wide) img { object-position: center 28%; }
.work img,
.work video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.work:hover img,
.work:hover video { transform: scale(1.05); }
.work__badge {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.75rem;
}
.work__cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 0.8rem; color: var(--text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s, transform 0.6s var(--ease);
}
.work:hover .work__cap { opacity: 1; transform: none; }
@media (hover: none) { .work__cap { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .profile.is-open .work { animation: work-in 0.9s var(--ease) both; animation-delay: calc(0.35s + var(--k, 0) * 70ms); }
}
@keyframes work-in { from { opacity: 0; transform: translateY(24px); } }
.profile__next {
  display: grid; gap: 14px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px;
  border-top: 1px solid var(--line);
}
.profile__next-name {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 300;
  text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.05;
}
.profile__next-name .ph { font-size: 0.7em; transition: transform 0.6s var(--ease); }
.profile__next:hover .profile__next-name .ph { transform: translateX(10px); }

/* ---------- Booking page ---------- */
.booking { padding: calc(var(--nav-h) + clamp(48px, 7vw, 104px)) 0 var(--section); }
.booking__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.booking__aside { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 40px; }
.booking__title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); margin-top: 24px; }
.booking__steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; border-top: 1px solid var(--line); }
.booking__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; color: var(--muted); padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.booking__steps li::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--font-display); font-stretch: 120%; font-weight: 300; font-size: 1.1rem; color: var(--accent); line-height: 1.5;
}
.booking__steps li strong { color: var(--text); display: block; font-weight: 500; }
.booking__contact { display: grid; gap: 12px; font-size: 0.93rem; }
.booking__contact a { display: inline-flex; gap: 12px; align-items: center; color: var(--muted); transition: color 0.3s; }
.booking__contact a:hover { color: var(--text); }
.booking__contact .ph { color: var(--accent); }

.booking__panel {
  position: relative;
  min-height: 760px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 320px), var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.booking__panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 32px; border-bottom: 1px solid var(--line); }
.booking__panel-head > span:last-child {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.booking__panel-head .label::before { display: none; }
.booking__panel-head span:last-child { color: var(--muted); font-size: 0.85rem; }
.booking__widget { padding: clamp(16px, 2.4vw, 32px); }
.booking__legal { padding: 18px 32px 24px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line); margin: 0; }
.booking__legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 4px; }

.skeleton { display: grid; gap: 14px; padding: 8px 0; }
.skeleton span { display: block; height: 64px; border-radius: 16px; background: linear-gradient(90deg, var(--bg-3) 0%, #202024 50%, var(--bg-3) 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.skeleton span:nth-child(1) { height: 24px; width: 34%; }
.skeleton span:nth-child(3) { width: 86%; }
.skeleton span:nth-child(5) { width: 70%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.booking__panel.is-ready .skeleton { display: none; }
.booking__fallback { display: none; padding: 48px 24px; text-align: center; gap: 22px; justify-items: center; }
.booking__fallback p { margin: 0; color: var(--muted); max-width: 44ch; }
.booking__panel.is-failed .skeleton { display: none; }
.booking__panel.is-failed .booking__fallback { display: grid; }

@media (max-width: 1024px) {
  .booking__grid { grid-template-columns: 1fr; }
  .booking__aside { position: static; }
  .booking__panel { min-height: 560px; }
  .booking__steps { display: none; }
  /* Planity's mobile layout bleeds -16px; matching padding makes cards sit flush */
  .booking__widget { padding: 16px; }
  .booking__panel-head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px; }
  .booking__legal { padding: 16px; }
}

/* ==========================================================================
   Planity widget: full re-skin to match the site.
   Planity renders CSS-module classes like "service_set-module_card-TuyMd";
   the hash suffix can change between releases, so we match the stable
   prefix with [class*="..."]. Everything is scoped to #planitywl.
   ========================================================================== */
#planitywl {
  background: transparent !important;
  color: var(--text);
  --pl-surface: var(--bg-2);
  --pl-raised: var(--bg-3);
}
#planitywl,
#planitywl button,
#planitywl input,
#planitywl select,
#planitywl textarea,
#planitywl label,
#planitywl span,
#planitywl div,
#planitywl p,
#planitywl a { font-family: var(--font-body) !important; }
/* radius system: pills for controls, soft cards for surfaces */
#planitywl [class*="button-module_button"],
#planitywl [class*="page-module_item"],
#planitywl [class*="mobile_availabilities_picker-module_item"],
#planitywl [class*="mobile_availabilities_picker-module_more"],
#planitywl [class*="service-module_toggle"],
#planitywl [class*="icon_button-module_iconButton"] { border-radius: var(--pill) !important; }
#planitywl [class*="service_set-module_card"],
#planitywl [class*="booking_auth-module_auth"],
#planitywl [class*="booking_service-module_bookingService"],
#planitywl [class*="mobile_availabilities_picker-module_selection"],
#planitywl [class*="planity_appointment_mobile_container"],
#planitywl [class*="datepicker-module_DatePicker"],
#planitywl [class*="modal-module_container"] { border-radius: 20px !important; }
#planitywl input:not([type="checkbox"]):not([type="radio"]),
#planitywl select,
#planitywl textarea,
#planitywl [class*="select-module_container"] { border-radius: 14px !important; }
#planitywl [class*="datepicker-module_day"] { border-radius: 50% !important; }
#planitywl [class*="avatar-module"],
#planitywl [class*="avatar-module"] *,
#planitywl input[type="radio"],
#planitywl [class*="radio_picture-module_input"] { border-radius: 999px !important; }

/* Step headings ("1. Ausgewählte Dienstleistung") */
#planitywl [class*="title-module_title"] {
  font-family: var(--font-display) !important;
  font-stretch: 120%;
  font-weight: 300 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem !important;
}

/* Titles */
#planitywl h1, #planitywl h2, #planitywl h3,
#planitywl [class*="service_set-module_title"] {
  font-family: var(--font-display) !important;
  font-stretch: 122%;
  font-weight: 300 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text) !important;
}
#planitywl [class*="service_set-module_title"] { font-size: 1.15rem; padding-bottom: 6px; }
#planitywl [class*="booking_auth-module_title"] { font-size: 1.15rem; letter-spacing: 0.06em; }
#planitywl [class*="title-module_index"] { color: var(--accent) !important; font-family: var(--font-display) !important; font-weight: 300 !important; }

/* Surfaces */
#planitywl [class*="service_set-module_card"],
#planitywl [class*="step-module_timetable"],
#planitywl [class*="datepicker-module_DatePicker"],
#planitywl [class*="booking_auth-module_auth"],
#planitywl [class*="booking_service-module_bookingService"],
#planitywl [class*="mobile_availabilities_picker-module_selection"],
#planitywl [class*="planity_appointment_mobile_container"],
#planitywl [class*="modal-module_container"] {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  color: var(--text);
}
#planitywl [class*="modal-module_container"] { background: var(--bg-2) !important; }
#planitywl [class*="modal-module_overlay"] { background: rgba(10, 10, 11, 0.85) !important; backdrop-filter: blur(8px); }
#planitywl [class*="planity_appointment_mobile_container"] [class*="service_set-module_card"] { border: 0 !important; }
#planitywl [class*="radio_picture-module_radioPicture"],
#planitywl label { background: transparent !important; }
#planitywl [class*="service_set-module_cardWrapper"] { padding: 4px 28px 14px !important; }
#planitywl [class*="service_set-module_chevron"] { color: var(--accent) !important; }
#planitywl [class*="gallery-module_gallery"],
#planitywl [class*="profile_gallery-module_profileGallery"],
#planitywl [class*="profile_gallery-module_slideshow"] { background: var(--bg) !important; }

/* Categories as an accordion: one list with hairlines instead of a framed card
   per category. Planity already tracks open/closed (isCollapsed) on every screen
   size and toggles it when the title is clicked; it only hides the services on
   phones, so the same is done here for all sizes. */
#planitywl [class*="services-module_servicesContainer"] { border-top: 1px solid var(--line); }
#planitywl [class*="service_set-module_businessServices"] {
  width: auto !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
}
#planitywl [class*="service_set-module_businessServices"] > h3 {
  display: flex !important; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 !important; padding: 22px 4px !important;
  cursor: pointer; user-select: none;
  transition: color 0.3s;
}
#planitywl [class*="service_set-module_businessServices"] > h3:hover { color: var(--muted) !important; }
#planitywl [class*="service_set-module_businessServices"] [class*="service_set-module_chevron"] {
  display: grid !important; place-items: center; flex: none;
  width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--text) !important;
  transform: rotate(90deg); transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
}
#planitywl [class*="service_set-module_businessServices"] > h3:hover [class*="service_set-module_chevron"] { background: var(--accent); color: var(--on-accent) !important; }
#planitywl [class*="service_set-module_businessServices"][class*="service_set-module_isCollapsed"] [class*="service_set-module_chevron"] { transform: none; }
#planitywl [class*="service_set-module_businessServices"] > [class*="service_set-module_card"] {
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  padding: 0 !important; margin: 0 !important; height: auto !important;
}
#planitywl [class*="service_set-module_businessServices"][class*="service_set-module_isCollapsed"] > [class*="service_set-module_card"],
#planitywl [class*="service_set-module_businessServices"][class*="service_set-module_isCollapsed"] > [class*="service_set-module_description"] { display: none !important; }
#planitywl [class*="service_set-module_businessServices"] [class*="service_set-module_cardWrapper"] { padding: 0 4px 14px !important; border: 0 !important; border-radius: 0 !important; }
#planitywl [class*="service_set-module_businessServices"] li[class*="service-module_businessService"]:first-child { border-top: 1px solid var(--line) !important; }
#planitywl [class*="service_set-module_businessServices"] li[class*="service-module_businessService"]:last-child { border-bottom: 0 !important; }

/* Service rows */
#planitywl li[class*="service-module_businessService"] { border-color: var(--line) !important; padding-block: 6px; }
#planitywl [class*="service-module_name"],
#planitywl [class*="booking_service-module_nameWrapper"] { color: var(--text) !important; font-weight: 500 !important; font-size: 1.02rem; }
#planitywl [class*="service-module_details"],
#planitywl [class*="service_set-module_description"],
#planitywl [class*="service-module_duration"],
#planitywl [class*="booking_service-module_duration"],
#planitywl [class*="step-module_time"],
#planitywl [class*="booking_auth-module_or"],
#planitywl [class*="page-module_date"] { color: var(--muted) !important; }
#planitywl [class*="service-module_toggle"] { background: var(--pl-surface) !important; color: var(--accent) !important; }
#planitywl [class*="service-module_price"],
#planitywl [class*="booking_service-module_price"] {
  color: var(--text) !important;
  font-family: var(--font-display) !important;
  font-stretch: 120%;
  font-weight: 300 !important;
  font-size: 1.1rem;
}
#planitywl [class*="service-module_icon"] { color: var(--muted) !important; }
#planitywl [class*="booking_auth-module_or"]::before,
#planitywl [class*="booking_auth-module_or"]::after { background: var(--line) !important; border-color: var(--line) !important; }

/* Buttons: shared */
#planitywl [class*="button-module_button"] {
  font-family: var(--font-display) !important;
  font-stretch: 118%;
  font-weight: 500 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s !important;
}
#planitywl [class*="button-module_button"] * { font-family: inherit !important; letter-spacing: inherit !important; }
#planitywl [class*="button-module_primary"] {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  border: 1px solid var(--accent) !important;
}
#planitywl [class*="button-module_primary"] * { color: var(--on-accent) !important; }
#planitywl [class*="button-module_primary"]:hover { background: transparent !important; border-color: var(--accent) !important; }
#planitywl [class*="button-module_primary"]:hover * { color: var(--text) !important; }

/* "Auswählen": hairline that fills on hover */
#planitywl .planity_bookappointment-button-choose,
#planitywl [class*="service-module_button"] {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent-soft) !important;
  padding-inline: 20px !important;
  min-height: 40px;
}
#planitywl .planity_bookappointment-button-choose *,
#planitywl [class*="service-module_button"] * { color: inherit !important; }
#planitywl .planity_bookappointment-button-choose:hover,
#planitywl [class*="service-module_button"]:hover { background: var(--accent) !important; color: var(--on-accent) !important; border-color: var(--accent) !important; }

/* Staff dropdown (mobile) */
#planitywl [class*="select-module_container"] {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--line-strong) !important;
}
#planitywl [class*="select-module_container"] * { color: inherit !important; }

/* Secondary buttons + tabs ("Einen Termin buchen / Gutscheine / Mein Konto") */
#planitywl [class*="button-module_secondary"],
#planitywl [class*="button-module_white"],
#planitywl [class*="button-module_tertiary"] {
  background: transparent !important;
  color: var(--muted) !important;
  border: 1px solid var(--line-strong) !important;
}
#planitywl [class*="button-module_secondary"] *,
#planitywl [class*="button-module_white"] *,
#planitywl [class*="button-module_tertiary"] * { color: inherit !important; }
#planitywl [class*="button-module_secondary"]:hover,
#planitywl [class*="button-module_white"]:hover,
#planitywl [class*="button-module_tertiary"]:hover { color: var(--text) !important; border-color: var(--accent) !important; }
#planitywl [class*="planity-widget-nav"] button,
#planitywl [class*="planity-widget-nav"] ~ button { white-space: nowrap !important; height: auto !important; min-height: 44px; padding: 10px 20px !important; }
#planitywl [class*="planity-widget-nav"] button:first-child { background: var(--accent) !important; color: var(--on-accent) !important; border-color: var(--accent) !important; }
#planitywl [class*="planity-widget-nav"] button:first-child * { color: var(--on-accent) !important; }
@media (max-width: 600px) {
  #planitywl [class*="button-module_button"] {
    letter-spacing: 0.1em !important;
    font-size: 0.64rem !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 44px;
    text-align: center;
  }
  #planitywl [class*="planity-widget-nav"] button,
  #planitywl [class*="planity-widget-nav"] ~ button { padding: 10px 12px !important; font-size: 0.6rem !important; letter-spacing: 0.08em !important; white-space: normal !important; line-height: 1.4 !important; }
  #planitywl [class*="title-module_title"] { font-size: 0.92rem !important; letter-spacing: 0.03em; }
}
/* safety net: the widget may never widen the page */
.booking__widget { overflow-x: clip; }
#planitywl { max-width: 100%; }

/* Signed in ("Mein Konto", confirm step): Planity's white cards carry our light
   text, so cards and fields get the dark surfaces of the rest of the widget. */
#planitywl [class*="card-module_card"],
#planitywl [class*="signed_in-module_card"] {
  background: transparent !important;
  border: 1px solid var(--line) !important; border-radius: 20px !important; box-shadow: none !important;
  color: var(--text) !important;
}
#planitywl [class*="card-module_title"] {
  color: var(--text) !important; font-family: var(--font-display) !important; font-stretch: 120%;
  font-weight: 300 !important; text-transform: uppercase; letter-spacing: 0.06em;
}
#planitywl [class*="signed_in-module_card"] span:not([class*="button-module"]) { color: var(--text) !important; }
#planitywl [class*="input-module_container"],
#planitywl [class*="input_password-module_container"],
#planitywl [class*="phone-module_container"],
#planitywl [class*="textarea-module_textarea"],
#planitywl [class*="comment-module_transition"] {
  background: var(--bg-3) !important; border-color: var(--line-strong) !important; color: var(--text) !important;
}
#planitywl [class*="input-module_container"]:focus-within,
#planitywl [class*="input_password-module_container"]:focus-within,
#planitywl [class*="textarea-module_textarea"]:focus-within { border-color: var(--accent) !important; }
#planitywl [class*="input-module_container"] input,
#planitywl [class*="input_password-module_container"] input,
#planitywl [class*="phone-module"] input,
#planitywl textarea { background: transparent !important; color: var(--text) !important; }
#planitywl input::placeholder,
#planitywl textarea::placeholder { color: var(--faint) !important; }
#planitywl [class*="input-module_label"],
#planitywl [class*="input_password-module_label"],
#planitywl [class*="phone-module_label"] { color: var(--text) !important; }
#planitywl [class*="edit_profile_modal-module_message"],
#planitywl [class*="my_profile-module_deleteAccountModalText"],
#planitywl [class*="appointment_empty-module_text"],
#planitywl [class*="index-module_info"],
#planitywl [class*="my_children-module_text"] { color: var(--muted) !important; }
/* account tabs: muted, the active one white with a white underline */
#planitywl [class*="account_tab-module_tab"] { color: var(--muted) !important; transition: color 0.3s; }
#planitywl [class*="account_tab-module_tab"]:hover,
#planitywl [class*="account_tab-module_activeTab"] { color: var(--text) !important; }
#planitywl [class*="account_tab-module_activeTab"] { box-shadow: inset 0 -2px 0 var(--accent); }
#planitywl [class*="account_tab-module_signOut"] { color: #ff6b6b !important; }
#planitywl [class*="account_tabs-module_separator"] { background: var(--line) !important; border-color: var(--line) !important; }
/* "+ Weitere Informationen" on the confirm step */
#planitywl [class*="comment-module_moreInfo"] {
  background: transparent !important; border-color: transparent !important; color: var(--text) !important; padding-inline: 0 !important;
}
#planitywl [class*="comment-module_moreInfo"] * { color: var(--text) !important; }

/* Text links */
#planitywl [class*="button-module_underlined"],
#planitywl [class*="step-module_next"],
#planitywl [class*="step-module_previous"],
#planitywl a { color: var(--accent) !important; }
#planitywl [class*="button-module_underlined"] { text-transform: none; letter-spacing: 0.02em !important; font-family: var(--font-body) !important; font-size: 0.88rem !important; font-weight: 500 !important; text-underline-offset: 5px; text-decoration-color: var(--accent-soft) !important; }
#planitywl [class*="step-module_disabled"] { color: rgba(242, 242, 242, 0.2) !important; }

/* Staff picker */
#planitywl [class*="radio_picture-module_border"] { border-color: var(--line-strong) !important; }
#planitywl [class*="radio_picture-module_label"] { color: var(--text) !important; }
#planitywl [class*="avatar-module_initial"] { background: var(--pl-raised) !important; color: var(--accent) !important; font-family: var(--font-display) !important; font-weight: 400; }
#planitywl input[type="checkbox"],
#planitywl input[type="radio"] { accent-color: var(--accent); }

/* Date picker */
#planitywl [class*="date_picker_header-module_month"] { color: var(--text) !important; font-family: var(--font-display) !important; font-stretch: 120%; font-weight: 300; text-transform: uppercase; letter-spacing: 0.12em; }
#planitywl [class*="date_picker_header-module_next"],
#planitywl [class*="date_picker_header-module_previous"],
#planitywl [class*="date_picker_header-module_icon"] { color: var(--text) !important; }
#planitywl [class*="datepicker-module_weekDays"] { color: var(--muted) !important; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.14em; }
#planitywl [class*="datepicker-module_day"] { color: rgba(242, 242, 242, 0.26) !important; }
#planitywl [class*="datepicker-module_selectableDay"] { color: var(--text) !important; }
#planitywl [class*="datepicker-module_selectableDay"]:hover { color: var(--accent) !important; }
#planitywl [class*="datepicker-module_today"] { box-shadow: inset 0 0 0 1px var(--accent-soft); }

/* Days + time slots */
#planitywl [class*="page-module_day"] { color: var(--text) !important; font-family: var(--font-display) !important; font-stretch: 118%; font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; }
#planitywl [class*="page-module_item"],
#planitywl [class*="mobile_availabilities_picker-module_item"] {
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--text) !important;
  border: 1px solid transparent !important;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
}
#planitywl [class*="page-module_item"] *,
#planitywl [class*="mobile_availabilities_picker-module_item"] * { color: inherit !important; }
#planitywl [class*="page-module_item"]:hover,
#planitywl [class*="mobile_availabilities_picker-module_item"]:hover { background: var(--accent) !important; color: var(--on-accent) !important; transform: translateY(-1px); }
/* the slot grid gets its own scroll window instead of a 2000px column */
#planitywl [class*="step-module_tablet"] { margin-inline: auto; }
#planitywl [class*="step-module_hidden"] {
  max-height: 440px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  padding: 52px 0 36px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 56px), transparent);
          mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 56px), transparent);
}
#planitywl [class*="step-module_hidden"] > div:first-child { position: sticky; top: 0; z-index: 3; }
#planitywl [class*="step-module_hidden"] > div:first-child::before {
  content: ""; position: absolute; left: 0; right: 0; top: -52px; height: 52px; background: var(--bg-2);
}
#planitywl [class*="step-module_previous"],
#planitywl [class*="step-module_next"] {
  top: -46px !important;
  width: 40px !important; height: 40px !important; border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--line) !important;
  display: grid !important; place-items: center;
}
#planitywl [class*="step-module_previous"]:hover,
#planitywl [class*="step-module_next"]:hover { background: var(--accent) !important; color: var(--on-accent) !important; }
#planitywl [class*="step-module_previous"]:hover *,
#planitywl [class*="step-module_next"]:hover * { color: var(--on-accent) !important; }
#planitywl [class*="page-module_day"] {
  position: sticky; top: 52px; z-index: 2;
  background: var(--bg-2);
  padding-block: 10px;
}
#planitywl [class*="mobile_availabilities_picker-module_more"] { color: var(--accent) !important; border-color: var(--line) !important; }

/* Forms */
#planitywl input:not([type="checkbox"]):not([type="radio"]),
#planitywl select,
#planitywl textarea {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: none !important;
}
#planitywl input::placeholder { color: rgba(242, 242, 242, 0.45) !important; }
#planitywl input:focus,
#planitywl select:focus,
#planitywl textarea:focus { border-color: var(--accent) !important; outline: none !important; }
#planitywl label { color: var(--muted) !important; }
#planitywl [class*="icon_button-module_iconButton"] { background: var(--pl-raised) !important; color: var(--text) !important; border-color: var(--line) !important; }
#planitywl hr { border-color: var(--line) !important; }

/* ---------- Legal pages ---------- */
.legal { padding-bottom: var(--section); }
.legal__body { max-width: 70ch; }
.legal__body h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; margin: 56px 0 14px; color: var(--text); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 4px; }
.legal__body address { font-style: normal; color: var(--text); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(80px, 9vw, 128px) 0 36px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p { color: var(--muted); max-width: 30ch; margin: 24px 0 0; }
.footer h2 { font-family: var(--font-display); font-stretch: 118%; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; line-height: 1.7; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.footer__bottom ul { display: flex; gap: 26px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Studio credit */
.credit { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.credit__mark { width: 7px; height: 7px; background: #f5291d; transform: rotate(45deg); transition: transform 0.6s var(--ease); }
.credit strong { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; letter-spacing: 0.12em; color: var(--text); transition: color 0.3s; }
.credit:hover strong { color: #f5291d; }
.credit:hover .credit__mark { transform: rotate(225deg); }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: translateY(105%); }
  .js .hero [data-hero-fade] { opacity: 0; }
}

/* ---------- Phones: tighter rhythm, full-width actions ---------- */
@media (max-width: 760px) {
  :root { --section: 88px; }
  .visit .hero__ctas { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
  .visit .hero__ctas .btn { width: 100%; justify-content: center; }
  .price-item--feature { padding: 22px 20px; }
}

/* ---------- 404 ---------- */
.error-page { min-height: 78vh; display: grid; align-items: end; }
.error-page__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Cookie consent ---------- */
.footer__consent { color: inherit; font: inherit; cursor: pointer; transition: color 0.3s; }
.footer__consent:hover { color: var(--text); }
.consent {
  position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom));
  z-index: calc(var(--z-curtain) - 5);
  width: min(400px, calc(100% - 32px)); pointer-events: none;
}
/* clear of the hero headline (left) and the vertical side rail (right) */
@media (min-width: 961px) { .consent { right: 96px; } }
.consent[hidden] { display: none; }
.consent__panel {
  pointer-events: auto;
  padding: 20px 20px 14px; border-radius: 24px;
  background: rgba(12, 12, 14, 0.9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.9), 0 0 60px -36px rgba(61, 139, 255, 0.55);
  opacity: 0; transform: translateY(24px) scale(0.98); transform-origin: bottom right;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.consent.is-open .consent__panel { opacity: 1; transform: none; }
.consent__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.consent__icon {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; font-size: 1.05rem;
}
.consent__title {
  margin: 0; font-family: var(--font-display); font-stretch: 118%; font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.consent__text { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.consent__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.consent__btn { width: 100%; padding: 0 12px; letter-spacing: 0.18em; }
.consent__link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 6px; padding: 10px 0 4px;
  color: var(--muted); font-family: var(--font-display); font-stretch: 118%; font-weight: 500;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: color 0.3s;
}
.consent__link:hover { color: var(--text); }
.consent__list { list-style: none; margin: 0; padding: 0; }
.consent__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.consent__item:last-child { border-bottom: 1px solid var(--line); }
.consent__label { font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.consent__label span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.76rem; font-weight: 400; line-height: 1.5; }
.consent__switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; margin: 0;
  width: 44px; height: 26px; border-radius: var(--pill);
  border: 1px solid var(--line-strong); background: var(--bg-3);
  cursor: pointer; transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.consent__switch::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--muted); transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.consent__switch:checked { background: var(--accent); border-color: var(--accent); }
.consent__switch:checked::before { transform: translateX(18px); background: var(--on-accent); }
.consent__switch:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; }
  .consent__panel { transform-origin: bottom center; }
}
/* the booking bar steps aside while the banner asks */
html.consent-open .quickbook { transform: translateY(160%); pointer-events: none; }

/* ---------- Phones: floating booking bar ---------- */
.quickbook { display: none; }
@media (max-width: 760px) {
  .quickbook {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    z-index: calc(var(--z-nav) + 1);
    display: flex; gap: 10px;
    transform: translateY(160%); transition: transform 0.6s var(--ease);
    pointer-events: none;
  }
  .quickbook.is-on { transform: none; pointer-events: auto; }
  .quickbook__book { flex: 1; justify-content: center; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.9); }
  .quickbook__call {
    flex: none; width: 54px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(12, 12, 14, 0.82); border: 1px solid var(--line-strong);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    font-size: 1.2rem; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.9);
  }
  .menu.is-open ~ .quickbook { transform: translateY(160%); }
}
