/* ==========================================================================
   Maxim Hair Couture — „Maßarbeit"
   One gold line, measured off the blunt edge of a real bob, is the page's
   only rule. Headlines sit on it; carousels count along it; the booking
   link is cut by it.
   ========================================================================== */

/* Boska files are subset to Latin + punctuation + € (pyftsubset, all layout features kept) */
@font-face { font-family: "Boska"; src: url("assets/fonts/boska-200.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Boska"; src: url("assets/fonts/boska-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Boska"; src: url("assets/fonts/boska-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Boska"; src: url("assets/fonts/boska-200i.woff2") format("woff2"); font-weight: 200; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Boska"; src: url("assets/fonts/boska-300i.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Boska"; src: url("assets/fonts/boska-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("assets/fonts/onest-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("assets/fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* colour — every neutral is tinted toward the brand bordeaux */
  --ground:   #2a0c13;   /* Ochsenblut — page */
  --raised:   #36111a;   /* Samt — surfaces */
  --bordeaux: #4a1320;   /* Markenbordeaux — finale */
  --gold:     #d6ad66;   /* Blattgold — the line, CTAs, labels */
  --gold-hi:  #e8c585;
  --silk:     #f3e9e5;   /* Seide — primary text */
  --rose:     #b9a3a0;   /* Rosenholz — secondary text */
  --ink:      #1c070b;   /* text on gold / ivory */
  --track:    rgba(243, 233, 229, .15);

  --serif: "Boska", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.75rem, calc(16vw - .3rem), 4rem);
  --fs-h2: clamp(2.7rem, 1.4rem + 5.2vw, 6.25rem);
  --fs-statement: clamp(1.7rem, 1.1rem + 2.3vw, 3.25rem);
  --fs-quote: clamp(1.6rem, 1rem + 2.3vw, 3.1rem);
  --fs-title: clamp(1.6rem, 1.3rem + .9vw, 2.2rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  --fs-small: .875rem;
  --fs-label: .75rem;

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --sec: clamp(5.5rem, 3rem + 7vw, 10.5rem);
  --hd: 4.75rem;
  --max: 92rem;
  --edge-x: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-cut: cubic-bezier(.76, 0, .24, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
body {
  margin: 0; background: var(--ground); color: var(--silk);
  font: 400 1rem/1.7 var(--sans); font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 92rem; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); position: relative; }

.ico { width: 1em; height: 1em; flex: none; vertical-align: -.1em; }
.ico--l { width: 1.1rem; height: 1.1rem; }
.ico--star { color: var(--gold); width: .95rem; height: .95rem; }

/* ---------- type ---------- */
.label {
  font: 500 var(--fs-label)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.label--muted { color: var(--rose); letter-spacing: .16em; }
.h2 {
  font: 300 var(--fs-h2)/.98 var(--serif); letter-spacing: -.012em;
  margin-top: 1.25rem; font-variant-numeric: lining-nums tabular-nums;
}
.h2 em, .hero__title em, .snip em { font-weight: 400; }
.hero__title em { font-style: normal; } /* Boska's italic z is an ornamental swash that misreads at display size; "sitzt." stays roman, weight still marks it as the emphasis word */
.lead { font: 300 var(--fs-lead)/1.65 var(--sans); color: var(--rose); max-width: 38rem; }
.body { color: var(--rose); max-width: 34rem; }
.statement { font: 300 var(--fs-statement)/1.18 var(--serif); letter-spacing: -.005em; max-width: 24ch; margin-top: 1.25rem; }
.statement em { font-weight: 400; color: var(--gold); }

/* masked lines: headlines rise out of their own baseline */
.ln { display: block; clip-path: inset(-.4em -.3em 0 -.3em); }
.sec .ln:not(.ln--last), .snip .ln, .sec .h2 .ln { padding-bottom: .25em; margin-bottom: -.25em; }
.sec.blond .h2 .ln--last { padding-bottom: 0; margin-bottom: 0; }
.ln > * { display: inline-block; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .75rem 1.35rem; border-radius: 2px;
  font: 500 .9375rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s;
}
.btn .ico { transition: transform .45s var(--ease-out); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--bordeaux { background: var(--bordeaux); color: var(--silk); }
.btn--line { border: 1px solid rgba(28, 7, 11, .25); color: var(--ink); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-hi); }
  .btn--bordeaux:hover { background: #551726; }
  .btn:hover .ico { transform: translate(2px, -2px); }
}

.tlink { position: relative; display: inline-flex; align-items: center; gap: .45rem; padding-block: .6rem; color: var(--silk); font-size: .9375rem; }
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .4rem; height: 1px; background: var(--gold);
  transform: scaleX(.28); transform-origin: left; transition: transform .5s var(--ease-out);
}
.tlink--plain::after { transform: scaleX(0); }
.tlink .ico { color: var(--gold); transition: transform .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tlink:hover::after { transform: scaleX(1); }
  .tlink:hover .ico { transform: translate(2px, -2px); }
}

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 40; transition: transform .45s var(--ease-out); }
.hd::before {
  content: ""; position: absolute; inset: 0; background: var(--ground);
  box-shadow: 0 1px 0 var(--track); opacity: 0; transition: opacity .4s var(--ease-out);
}
.hd.is-scrolled::before { opacity: 1; }
.hd.is-hidden { transform: translateY(-100%); }
.hd__in { position: relative; display: flex; align-items: center; gap: 2rem; height: var(--hd); padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.hd__cta-short { display: none; }
@media (max-width: 63.99rem) { .hd__cta-long { display: none; } .hd__cta-short { display: inline; } }
.brand { display: flex; align-items: center; gap: .85rem; margin-right: auto; }
.brand__mark { width: auto; height: 2.1rem; }
.brand__name { font: 500 .75rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.brand__name span { color: var(--rose); }
.nav { display: flex; gap: 2.1rem; }
.nav a { position: relative; font-size: .9375rem; padding-block: .5rem; color: var(--silk); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.burger { display: none; align-items: center; gap: .6rem; min-height: 2.75rem; padding-inline: .25rem; font-size: .875rem; }
.burger__lines { position: relative; width: 1.35rem; height: .7rem; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .45s var(--ease-out); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { bottom: 0; }

/* ---------- mobile menu (ivory panel) ---------- */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu__scrim { position: absolute; inset: 0; background: rgba(28, 7, 11, .62); opacity: 0; transition: opacity .45s var(--ease-out); }
.menu__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 28rem); background: var(--silk); color: var(--ink);
  display: flex; flex-direction: column; padding: 0 var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .6s var(--ease-out); overflow-y: auto;
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu.is-open .menu__panel { transform: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--hd); }
.menu__mark { height: 2rem; width: auto; filter: brightness(.55) saturate(1.2); }
.menu__close { min-height: 2.75rem; font-size: .875rem; padding-inline: .25rem; }
.menu__nav { display: flex; flex-direction: column; padding-block: 1.5rem 2rem; }
.menu__nav a {
  font: 200 clamp(2.2rem, 9vw, 2.75rem)/1.25 var(--serif); padding-block: .2rem;
  opacity: 0; transform: translateX(1.5rem); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(120ms + var(--i) * 45ms);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__foot { margin-top: auto; display: grid; gap: .75rem; }
.menu__foot p { font-size: .875rem; color: #6c5553; margin-top: .75rem; line-height: 1.6; }

/* ---------- hero ---------- */
.hero { position: relative; overflow-x: clip; }
.hero__title {
  font: 300 var(--fs-hero)/.94 var(--serif); letter-spacing: -.02em; white-space: nowrap;
}
.hero__title .ln--last { text-box: trim-end cap alphabetic; }
@supports not (text-box: trim-end cap alphabetic) {
  .hero__title .ln--last, .blond .ln--last { margin-bottom: -.13em; }
}
.hero__label { margin-bottom: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 1.5rem; }
.rating { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .45rem; font-size: .875rem; color: var(--rose); }
.rating b { color: var(--silk); font-weight: 500; }
.hero__gallery { position: relative; z-index: 1; overflow: hidden; pointer-events: none; background: var(--raised); }
.hero__gtrack { display: flex; width: max-content; height: 100%; animation: flow 26s linear infinite; }
.hero__gtrack.is-paused { animation-play-state: paused; } /* off-screen: site.js pauses the loop */
.hero__gtrack img, .hero__gtrack picture { display: block; flex: none; width: var(--gw); height: 100%; object-fit: cover; }
@keyframes flow { to { transform: translateX(-50%); } }

@media (min-width: 64rem) {
  .hero {
    --hero-h: max(100svh, 46rem);
    --fig-w: min(34rem, 34vw);
    --side: max(clamp(1.5rem, 6vw, 7rem), var(--edge-x));
    --mid: calc(50% + 3.25rem);
    height: var(--hero-h);
  }
  .hero__gallery { position: absolute; right: var(--side); top: var(--mid); transform: translateY(-50%); width: var(--fig-w); aspect-ratio: 4 / 5; --gw: var(--fig-w); }
  .hero__above, .hero__below {
    position: absolute; left: var(--edge-x);
    right: calc(var(--side) + var(--fig-w) + clamp(2rem, 4vw, 4.5rem));
  }
  .hero__above { top: var(--mid); transform: translateY(-100%); padding-bottom: .5rem; container-type: inline-size; }
  .hero__title { font-size: clamp(3.5rem, 16.5cqi, 11rem); }
  .hero__below { top: var(--mid); padding-top: clamp(1.1rem, 2.4vh, 2rem); }
  .hero__below .lead { max-width: 44rem; }
  .hero__actions { margin-top: clamp(1rem, 2.2vh, 1.5rem); }
}
@media (min-width: 64rem) and (max-height: 50rem) {
  .hero { --hero-h: max(100svh, 38rem); --fig-w: min(26rem, calc((var(--hero-h) - 7rem) * .8)); }
  .hero__below { padding-top: .9rem; }
  .hero__below .lead { font-size: 1rem; line-height: 1.55; }
  .hero__actions { margin-top: .85rem; column-gap: 1.25rem; }
  .rating__src { display: none; }
}
@media (max-width: 63.99rem) {
  .hero { padding-top: 3.75rem; }
  .hero { --fw-m: 100vw; }
  .hero__gallery { width: 100vw; aspect-ratio: 1 / 1; margin-top: clamp(6.5rem, 20vw, 9rem); --gw: var(--fw-m); }
  .hero__label { letter-spacing: .14em; font-size: .6875rem; }
  .hero__above { padding-inline: var(--gutter); margin-top: 7rem; }
  .hero__label { margin-bottom: 1rem; }
  .hero__below { padding-inline: var(--gutter); padding-top: 1.25rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .rating__src { display: none; } /* "auf Treatwell" dropped so Anrufen + rating fit on one line instead of wrapping apart */
}

/* hero load choreography — animations run backwards from hidden, so an idle
   animation never leaves content invisible */
.js:not(.is-in) .h-rise, .js:not(.is-in) .h-in, .js:not(.is-in) .hd { opacity: 0; }
.is-in .h-rise { animation: rise 1.05s var(--ease-out) var(--d, 0ms) backwards; }
.is-in .h-in { animation: lift .9s var(--ease-out) var(--d, 0ms) backwards; }
.is-in .hd { animation: drop .8s var(--ease-out) .6s backwards; }

@keyframes rise { from { transform: translateY(170%); } }
@keyframes lift { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { transform: scale(1.1); } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* scroll reveals */
.js [data-reveal]:not(.is-in) { opacity: 0; }
[data-reveal].is-in { animation: lift .95s var(--ease-out) var(--d, 0ms) backwards; }
.rise[data-reveal].is-in { animation-name: rise; animation-duration: 1.05s; }
.photo { overflow: hidden; }
.photo.is-in { animation-name: lift; }
.photo.is-in img { animation: settle 1.6s var(--ease-out) backwards; }

/* ---------- section heads & carousels ---------- */
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.carousel__ctrl { display: flex; align-items: center; gap: .5rem; flex: none; }
.counter { font: 400 .875rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--rose); margin-right: .75rem; letter-spacing: .06em; }
.arrow {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--track); color: var(--silk); transition: border-color .3s, background-color .3s, opacity .3s;
}
.arrow .ico { width: 1.15rem; height: 1.15rem; }
.arrow:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .arrow:not(:disabled):hover { border-color: var(--gold); background: var(--raised); } }

.track {
  display: flex; gap: clamp(1rem, 1.8vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge-x); padding-inline: var(--edge-x);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  touch-action: pan-y; /* a thumb drag over the images always scrolls the page; use the arrows to move the carousel */
}
.track.tiles, .track.people { touch-action: pan-x pan-y; } /* Leistungen + Team: a thumb drag can also swipe the carousel; page scroll still wins on a mostly-vertical drag */
.track::-webkit-scrollbar { display: none; }
.track img { -webkit-user-drag: none; user-select: none; }
.track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.track.is-dragging a { pointer-events: none; }

.progress { position: relative; height: 1px; margin: clamp(2rem, 4vw, 3rem) var(--edge-x) 0; background: var(--track); }
.progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, .17)); transition: transform .25s linear; }

/* hero gallery: a small, looping carousel of real work photos (reuses .track/.progress, resets the gutter-wide defaults) */

/* tiles */
.tile { flex: 0 0 clamp(17rem, 26vw, 25rem); scroll-snap-align: start; }
.tile a { display: flex; flex-direction: column; height: 100%; }
.tile__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1s var(--ease-out), opacity .6s var(--ease-out); }
.tile__hem { display: block; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-cut); }
.tile__title { display: block; font: 300 var(--fs-title)/1.08 var(--serif); margin-top: 1.25rem; }
.tile__text { display: block; margin-top: .6rem; color: var(--rose); font-size: .9375rem; line-height: 1.6; max-width: 30ch; }
.tile__price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; font: 400 1.35rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); }
.tile__price span { font: 500 var(--fs-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
@media (hover: hover) and (pointer: fine) {
  .tile a:hover .tile__img img { transform: scale(1.05); }
  .tile a:hover .tile__hem { transform: scaleX(1); }
  .tile a:hover .tile__price span { color: var(--silk); }
}
@media (max-width: 63.99rem) {
  .tile { flex-basis: min(84vw, 26rem); }
  .tile__img img { opacity: .5; }
  .tile.is-active .tile__img img { opacity: 1; }
  .tile.is-active .tile__hem { transform: scaleX(1); }
}

/* ---------- preise ---------- */
.preise { background: var(--raised); }
.preise__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
@media (min-width: 64rem) {
  .preise__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .preise__intro { position: sticky; top: 7rem; }
}
.preise__intro .body { margin-top: 1.5rem; }

.length { border: 0; min-width: 0; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; max-width: 24rem; }
.length legend { margin-bottom: .9rem; padding: 0; }
.length label { position: relative; }
.length input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.length span {
  width: 100%; display: inline-flex; align-items: flex-end; gap: .6rem; min-height: 3rem; padding: .7rem 1.05rem .75rem;
  border: 1px solid var(--track); border-radius: 2px; font-size: .9375rem; color: var(--rose);
  transition: border-color .3s, color .3s, background-color .3s;
}
.length span i { width: 1px; height: 1.4rem; background: currentColor; transform: scaleY(var(--h)); transform-origin: top; transition: transform .5s var(--ease-out); align-self: flex-start; }
.length input:checked + span { border-color: var(--gold); color: var(--silk); background: var(--ground); }
.length input:checked + span i { background: var(--gold); }
.length input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .length label:hover span { color: var(--silk); } }

.preise__card { background: var(--ground); padding: clamp(1.25rem, 3vw, 2.75rem); }
.tabs { display: flex; gap: clamp(1rem, 2.2vw, 2rem); overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; border-bottom: 1px solid var(--track); margin-inline: calc(-1 * clamp(1.25rem, 3vw, 2.75rem)); padding-inline: clamp(1.25rem, 3vw, 2.75rem); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button:focus-visible, .tile a:focus-visible, .track:focus-visible { outline-offset: -2px; }
.menu :focus-visible { outline-color: var(--bordeaux); }
.tabs button { position: relative; flex: none; padding: .35rem 0 1rem; min-height: 2.75rem; font-size: .9375rem; color: var(--rose); transition: color .3s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-cut); }
.tabs button[aria-selected="true"] { color: var(--silk); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { color: var(--silk); } }

.panel { padding-top: .5rem; min-height: 21rem; }
.panel.is-entering .plist li { animation: lift .6s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
.plist li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "d p"; column-gap: 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--track); }
.plist__n { grid-area: n; font-size: 1rem; line-height: 1.45; }
.plist__d { grid-area: d; font-size: .8125rem; color: var(--rose); margin-top: .15rem; font-variant-numeric: tabular-nums; }
.plist__p { grid-area: p; align-self: center; font: 300 1.75rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--silk); white-space: nowrap; }
/* price swap on length change: Web Animations in site.js (setLength) */
.plist__note { margin-top: 1.1rem; font-size: .8125rem; line-height: 1.6; color: var(--rose); max-width: 46ch; }
.preise__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }

/* ---------- meister ---------- */
.meister__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
@media (min-width: 64rem) { .meister__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.meister__fig { aspect-ratio: 4 / 5; background: var(--raised); }
.meister__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.meister__text .lead { margin-top: 1.75rem; }
.quote { margin-top: clamp(2rem, 4vw, 3rem); max-width: 36rem; }
.quote p { font: 300 italic clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem)/1.25 var(--serif); text-indent: -.42em; }
.quote footer { margin-top: 1rem; font-size: .8125rem; letter-spacing: .04em; color: var(--rose); }
.quote--sm p { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); }
@media (max-width: 63.99rem) { .meister__fig { margin-inline: calc(-1 * var(--gutter)); } }

/* ---------- blond (mirrored cut) ---------- */
.blond { overflow-x: clip; }
@media (min-width: 64rem) {
  .blond__grid {
    --bh: min(84svh, 46rem); --fw: calc(var(--bh) * .75); --below: calc(var(--bh) * (1 - .585));
    position: relative; height: var(--bh);
  }
  .blond__fig { position: absolute; left: var(--gutter); top: 0; width: var(--fw); height: var(--bh); }
  .blond__above, .blond__below { position: absolute; left: calc(var(--gutter) + var(--fw) + clamp(2.5rem, 6vw, 7rem)); right: var(--gutter); }
  .blond__above { bottom: var(--below); }
  .blond__below { top: calc(100% - var(--below)); padding-top: 1.75rem; }
  .h2--xl { font-size: clamp(3.5rem, 1.5rem + 5.4vw, 8rem); }
}
@media (min-width: 92rem) {
  .blond__fig { left: calc((100% - 92rem) / 2 + var(--gutter)); }
  .blond__above, .blond__below { left: calc((100% - 92rem) / 2 + var(--gutter) + var(--fw) + 7rem); }
}
.blond .ln--last { text-box: trim-end cap alphabetic; }
.blond__below .body { max-width: 30rem; }
.blond__fig { background: var(--raised); }
.blond__fig img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 63.99rem) {
  .blond__fig { --fwb: min(80vw, 26rem); width: var(--fwb); aspect-ratio: 800 / 1066; margin-inline: auto; }
  .blond__above { margin-top: 2.5rem; }
  .blond__below { margin-top: 1.5rem; }
}

/* ---------- team ---------- */
.team { overflow-x: clip; }
.people { gap: clamp(1rem, 2.4vw, 2.5rem); }
.person { flex: 0 0 min(78vw, 22rem); scroll-snap-align: start; }
.person__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.2s var(--ease-out); }
.person__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-cut) .1s; }
.person__name { font: 300 var(--fs-title)/1.1 var(--serif); margin-top: 1.35rem; }
.person .label { margin-top: .45rem; }
.person__text { margin-top: 1rem; color: var(--rose); font-size: .9375rem; line-height: 1.6; max-width: 34ch; }
.js .people:not(.is-in) .person__img img { transform: translateY(14%); }
.people.is-in .person__img img { transform: none; }
.people.is-in .person:nth-child(2) .person__img img { transition-delay: .12s; }
.people.is-in .person:nth-child(3) .person__img img { transition-delay: .24s; }
.people.is-in .person__img::after { transform: scaleX(1); }
@media (min-width: 64rem) {
  .people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; max-width: 92rem; margin-inline: auto; }
  .person__img::after { left: calc(-1 * clamp(1rem, 2.4vw, 2.5rem)); }
  .person:first-child .person__img::after { left: -100vw; }
  .person:last-child .person__img::after { right: -100vw; }
  .person__img { overflow: visible; }
  .person__img img { clip-path: inset(0); transition: transform 1.2s var(--ease-out), clip-path 1.2s var(--ease-out); }
  .carousel__ctrl--m, .progress--m { display: none; }
}
@media (hover: hover) and (pointer: fine) { .person:hover .person__img img { transform: scale(1.03); clip-path: inset(1.46%); } }

/* ---------- stimmen ---------- */
.stimmen { background: var(--raised); }
.quotes { gap: 0; padding-inline: 0; scroll-padding-inline: 0; }
.qslide { flex: 0 0 100%; scroll-snap-align: start; padding-inline: var(--gutter); }
.qslide blockquote { max-width: 60rem; margin-inline: auto; }
.qslide p { font: 300 italic var(--fs-quote)/1.2 var(--serif); text-indent: -.42em; }
.qslide footer { margin-top: 1.75rem; font-size: .875rem; color: var(--rose); letter-spacing: .03em; }
.qslide footer b { color: var(--silk); font-weight: 500; }
.qslide blockquote { transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.js .qslide:not(.is-active) blockquote { opacity: .15; transform: translateY(14px); }
.stimmen__foot { display: flex; align-items: center; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.progress--inline { flex: 1; margin: 0; }
@media (max-width: 40rem) { .stimmen__foot { flex-direction: column; align-items: stretch; gap: 1.5rem; } .progress--inline { flex: none; width: 100%; } }

/* ---------- salon ---------- */
.salon__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 64rem) {
  .salon__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(3rem, 6vw, 7rem); align-items: end; }
  .salon__head { grid-column: 1 / -1; }
  .salon__fig { grid-column: 1; }
}
.salon__fig { aspect-ratio: 1236 / 834; background: var(--raised); max-width: 58rem; }
.salon__fig img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 1.75rem; }
.facts dd { margin-top: .45rem; line-height: 1.6; }
@media (min-width: 40rem) and (max-width: 63.99rem) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- termin & kontakt (bordeaux) ---------- */
.termin { background: var(--bordeaux); padding-top: var(--sec); overflow-x: clip; }
.snip { display: block; margin-top: 1.5rem; }
.snip__text { display: block; font: 300 clamp(4rem, 1rem + 12.5vw, 13rem)/.9 var(--serif); letter-spacing: -.025em; }
.snip__text .ln:last-child { display: flex; align-items: flex-end; gap: .15em; }
.snip__arrow { width: .32em; height: .32em; color: var(--gold); margin-bottom: .14em; transition: transform .6s var(--ease-out); }
.snip__line { position: relative; display: flex; height: 1px; margin: clamp(1.25rem, 2.5vw, 2rem) calc(-1 * var(--gutter)) 0; }
.snip__line i { flex: 1; background: var(--gold); transition: transform .9s var(--ease-cut); }
.snip__text em { transition: transform .9s var(--ease-cut); }
.snip__line i:first-child { margin-left: -100vw; }
.snip__line i:last-child { margin-right: -100vw; }
.snip__sub { display: block; margin-top: 1.25rem; color: var(--rose); font-size: var(--fs-lead); font-weight: 300; }
@media (hover: hover) and (pointer: fine) {
  .snip:hover .snip__line i:first-child { transform: translateX(-3rem); }
  .snip:hover .snip__line i:last-child { transform: translateX(3rem); }
  .snip:hover .snip__text em { transform: translateX(.05em); }
  .snip:hover .snip__arrow { transform: translate(.08em, -.08em); }
}
.snip:focus-visible { outline-offset: 8px; }

.kontakt { display: grid; gap: 2.5rem; margin-top: clamp(4rem, 8vw, 7rem); }
@media (min-width: 48rem) { .kontakt { grid-template-columns: 1fr 1.25fr 1fr; gap: 3rem; } }
.kontakt__col p:not(.label) { margin-top: .85rem; line-height: 1.7; }
.kontakt__col .tlink { margin-top: .75rem; }
.kontakt__col .tlink--plain { display: inline; padding-block: 0; margin-top: 0; }
.kontakt .label { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; }
.status { color: var(--silk); letter-spacing: .12em; }
.status::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--rose); margin-right: .5rem; vertical-align: .05em; }
.status.is-open::before { background: #8fc59a; }
.hours { width: 100%; border-collapse: collapse; margin-top: .6rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .42rem 0; font-weight: 400; text-align: left; border-bottom: 1px solid rgba(243, 233, 229, .1); }
.hours td { text-align: right; color: var(--rose); white-space: nowrap; padding-left: 1rem; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold); }

.ft { margin-top: clamp(5rem, 10vw, 8rem); padding: 3.5rem var(--gutter) max(2.5rem, calc(env(safe-area-inset-bottom) + 5rem)); border-top: 1px solid rgba(243, 233, 229, .1); text-align: center; }
.ft__logo { width: clamp(7.5rem, 12vw, 9.5rem); height: auto; margin-inline: auto; }
.ft__meta { margin-top: 2rem; font-size: .8125rem; color: var(--rose); }
.ft__meta a { display: inline-block; padding-block: .8rem; text-decoration: underline; text-decoration-color: rgba(214, 173, 102, .5); text-underline-offset: .2em; }
@media (min-width: 64rem) { .ft { padding-bottom: 2.5rem; } }

/* ---------- mobile booking bar ---------- */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: .6rem;
  padding: .7rem var(--gutter) max(.7rem, env(safe-area-inset-bottom));
  background: var(--raised); box-shadow: 0 -1px 0 var(--track);
  transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.bookbar .btn { flex: 1; }
.bookbar__tel { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--track); border-radius: 2px; color: var(--gold); }
.bookbar__tel .ico { width: 1.2rem; height: 1.2rem; }
.bookbar.is-on { transform: none; }

/* ---------- responsive header ---------- */
@media (max-width: 63.99rem) {
  :root { --hd: 3.75rem; }
  .nav { display: none; }
  .hd__cta { min-height: 2.5rem; padding: .55rem .9rem; font-size: .875rem; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
  .hd__cta .ico { display: none; }
  .hd.has-bar .hd__cta { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s; }
  .hd__in { gap: 1rem; }
  .burger { display: inline-flex; }
  .brand__mark { height: 1.75rem; }
  .brand__name { font-size: .6875rem; letter-spacing: .22em; }
  .bookbar { display: flex; }
  .sec__head { align-items: flex-end; }
  .sec__head .carousel__ctrl .counter { margin-right: .25rem; }
}
@media (max-width: 30rem) {
  .brand__name span { display: none; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* landscape tablets / small laptops: narrower photo, wider text column */
@media (min-width: 64rem) and (max-width: 87.5rem) {
  .hero { --fig-w: min(26rem, 28vw); --side: clamp(1.5rem, 3vw, 3rem); }
  .hero__above, .hero__below { right: calc(var(--side) + var(--fig-w) + 2rem); }
  .hero__below .lead { font-size: 1rem; line-height: 1.55; }
  .rating__src { display: none; }
}

/* rhythm: same-ground neighbours share half the padding */
.meister { padding-bottom: calc(var(--sec) * .5); }
.blond { padding-block: calc(var(--sec) * .5); }
.team { padding-top: calc(var(--sec) * .5); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal]:not(.is-in), .js:not(.is-in) .h-rise, .js:not(.is-in) .h-in, .js:not(.is-in) .hd { opacity: 1; }
  .js .people:not(.is-in) .person__img img { transform: none; }
  .hero__gtrack { animation: none; }
}
