/* =========================================================================
   Friseursalon STAR 18, Frankfurt: design plan
   Identity: the night-blue shop sign with the gold italic STAR and its star,
   the red-sandstone facade of Münchener Straße 18, the red-and-white salon
   inside. Attitude (ref. Marco Ambrosi Concept Salon): dark, flat,
   photo-led fashion editorial; light condensed headlines; one warm accent
   colour (here: the sandstone) used as a solid block; scroll storytelling.
   ========================================================================= */
:root {
  --ink: #101318;          /* sign navy-black */
  --ink-2: #171b22;
  --ink-3: #232833;
  --sand: #c47b63;         /* red sandstone facade */
  --sand-2: #a9624c;
  --gold: #d9ae5a;         /* the STAR lettering */
  --crimson: #cf1f3c;      /* salon interior */
  --paper: #f1ece5;
  --grey: #8f949c;

  --dis: "Antonio", "Arial Narrow", sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 3.2vw, 52px);
  --sq: 88px;              /* the sandstone square: menu button + brand block */
  --ease: cubic-bezier(.65, 0, .1, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--sand); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--sand); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }
.label { display: flex; gap: 14px; align-items: baseline; font: 500 12px/1 var(--text); text-transform: uppercase; letter-spacing: .2em; color: var(--grey); }
.label span { color: var(--sand); }

/* ---------- intro: the sandstone square ---------- */
.intro { display: none; }
.js .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--sand); color: var(--ink); }
.intro__in { display: grid; justify-items: center; gap: 16px; }
.intro__star { width: 70px; height: 70px; fill: var(--ink); }
.intro__word { display: flex; overflow: hidden; font: 700 clamp(80px, 13vw, 200px)/.9 var(--dis); text-transform: uppercase; letter-spacing: .01em; transform: skewX(-10deg); }
.intro__word span { display: inline-block; }
.intro__word .n { color: var(--paper); }
.intro__word span:nth-child(5) { margin-left: .16em; }
.intro__sub { font: 500 12px/1 var(--text); text-transform: uppercase; letter-spacing: .24em; }
.wipe { position: fixed; inset: 0; z-index: 190; background: var(--sand); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }

/* ---------- header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 120; height: var(--sq); display: flex; align-items: center; justify-content: space-between; padding-left: var(--gut); pointer-events: none; transition: background .5s; }
.head.scrolled { background: rgba(16, 19, 24, .94); }
.menu-open .head { background: transparent; }
.head > * { pointer-events: auto; }
.logo { display: grid; gap: 8px; text-decoration: none; }
.logo__mark { font: 700 30px/.9 var(--dis); text-transform: uppercase; color: var(--gold); transform: skewX(-10deg); transform-origin: left bottom; display: inline-block; letter-spacing: .02em; }
.logo__mark i { font-style: normal; color: var(--sand); margin-left: 6px; }
.logo__sub { font: 500 10px/1 var(--text); text-transform: uppercase; letter-spacing: .24em; color: var(--paper); }
.head__tel { margin-left: auto; margin-right: 30px; font: 500 13px/1 var(--text); letter-spacing: .1em; text-decoration: none; opacity: .85; }
.head__tel:hover { opacity: 1; color: var(--gold); }
.burger { position: relative; width: var(--sq); height: var(--sq); background: var(--sand); display: grid; place-content: center; gap: 7px; transition: background .4s; }
.burger span { display: block; width: 34px; height: 2px; background: var(--ink); transition: transform .5s var(--out), opacity .3s; }
.burger:hover { background: var(--gold); }
.menu-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 110; background: var(--ink-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding: 140px var(--gut) 60px;
  clip-path: inset(0 0 calc(100% - var(--sq)) calc(100% - var(--sq))); visibility: hidden; transition: clip-path .9s var(--ease), visibility 0s linear .9s; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: 4px 0; }
.menu__list small { font: 500 13px var(--text); color: var(--sand); letter-spacing: .1em; }
.menu__list span { font: 200 clamp(52px, 8.4vw, 132px)/.95 var(--dis); text-transform: uppercase; transition: color .3s, transform .6s var(--out); display: inline-block; }
.menu__list a:hover span { color: var(--sand); transform: translateX(14px); }
.menu__side { display: grid; gap: 14px; font-size: 15px; color: var(--grey); text-align: right; }
.menu__side a { color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--sq) + clamp(40px, 7vh, 90px)) 0 0; text-align: center; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--text); text-transform: uppercase; letter-spacing: .24em; color: var(--grey); }
.eyebrow svg { width: 14px; height: 14px; fill: var(--gold); }
.hero__title { margin: 24px auto 0; max-width: 15.5em; padding: 0 var(--gut); font: 200 clamp(40px, 5.6vw, 96px)/1.02 var(--dis); text-transform: uppercase; letter-spacing: .005em; }
.hero__title em { color: var(--sand); font-weight: 300; }
.hero__meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 36px; margin-top: 34px; padding: 0 var(--gut); font-size: 14px; color: var(--grey); }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.rating b { font: 400 30px/1 var(--dis); color: var(--gold); }
.rating span:nth-of-type(1) { color: var(--gold); letter-spacing: .1em; font-size: 12px; }
.cta { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 26px; background: var(--sand); color: var(--ink); text-decoration: none; font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: .14em; transition: background .4s, gap .5s var(--out); }
.cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cta:hover { background: var(--gold); gap: 22px; }
.hero__row { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: clamp(14px, 2.4vw, 36px); align-items: start; margin-top: clamp(50px, 8vh, 90px); }
.hr__f { overflow: hidden; background: var(--ink-3); }
.hr__f img { width: 100%; height: 100%; object-fit: cover; }
.hr--a { margin-top: 14vh; }
.hr--a .hr__f { aspect-ratio: 16 / 10; }
.hr--b .hr__f { aspect-ratio: 9 / 13; }
.hr--b img { object-position: 50% 0%; }
.hr--c { margin-top: 6vh; }
.hr--c .hr__f { aspect-ratio: 1; }

/* ---------- band ---------- */
.band { background: var(--sand); color: var(--ink); overflow: hidden; padding: 16px 0; margin-top: clamp(60px, 9vw, 130px); }
.band__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marq 30s linear infinite; font: 300 clamp(30px, 3.8vw, 58px)/1 var(--dis); text-transform: uppercase; }
.band__track svg { width: .5em; height: .5em; fill: var(--ink); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- salon ---------- */
.salon { padding: clamp(100px, 12vw, 190px) var(--gut) clamp(80px, 10vw, 150px); display: grid; gap: 30px; }
.salon__title { max-width: 19em; font: 200 clamp(34px, 4.4vw, 74px)/1.06 var(--dis); text-transform: uppercase; }
.salon__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 26em)); gap: clamp(24px, 4vw, 70px); margin-top: 20px; margin-left: auto; color: #cfd2d7; }

/* ---------- craft (sticky storytelling) ---------- */
.craft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); padding: 0 var(--gut) clamp(80px, 10vw, 150px); }
.craft__media { position: sticky; top: calc(var(--sq) + 4vh); height: calc(100vh - var(--sq) - 8vh); align-self: start; display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.craft__frame { position: relative; overflow: hidden; background: var(--ink-3); }
.craft__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--out), transform 1.6s var(--out); }
.craft__frame img.is-on { opacity: 1; transform: scale(1); }
.craft__count { font: 300 20px/1 var(--dis); color: var(--grey); }
.craft__now { color: var(--sand); }
.craft__steps { display: grid; align-content: start; }
.craft__title { font: 200 clamp(44px, 5.4vw, 92px)/1 var(--dis); text-transform: uppercase; margin: 24px 0 8vh; }
.step { min-height: 62vh; display: grid; align-content: center; gap: 14px; padding: 30px 0; border-top: 1px solid rgba(241,236,229,.14); }
.step__img { display: none; }
.step__n { font: 300 18px/1 var(--dis); color: var(--sand); }
.step h3 { font: 300 clamp(40px, 4.4vw, 74px)/1 var(--dis); text-transform: uppercase; }
.step p { max-width: 28em; color: #cfd2d7; font-size: 18px; }

/* ---------- services (paper) ---------- */
.services { background: var(--paper); color: var(--ink); padding: clamp(90px, 11vw, 170px) var(--gut); }
.services .label { color: #6b6f76; }
.services .label span { color: var(--sand-2); }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 80px); }
.services__title { font: 200 clamp(56px, 9vw, 150px)/1 var(--dis); text-transform: uppercase; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 5vw, 80px); border-top: 1px solid rgba(16,19,24,.2); }
.svc li { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 26px 0 24px; border-bottom: 1px solid rgba(16,19,24,.2); overflow: hidden; }
.svc li::before { content: ""; position: absolute; inset: 0; background: var(--sand); transform: translateY(101%); transition: transform .6s var(--out); z-index: 0; }
.svc li > * { position: relative; z-index: 1; }
.svc__n { grid-row: span 2; font: 400 18px/1.6 var(--dis); color: var(--sand-2); }
.svc h3 { font: 300 clamp(32px, 3.4vw, 54px)/1 var(--dis); text-transform: uppercase; }
.svc p { color: #4c5058; }
@media (hover: hover) {
  .svc li:hover::before { transform: none; }
  .svc li:hover .svc__n, .svc li:hover p { color: var(--ink); }
}

/* ---------- numbers ---------- */
.nums { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 160px) var(--gut); }
.nums ul { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 50px); }
.nums li { display: grid; gap: 12px; align-content: start; border-top: 1px solid rgba(241,236,229,.2); padding-top: 20px; }
.nums b { font: 200 clamp(80px, 10vw, 170px)/.85 var(--dis); color: var(--paper); }
.nums li:first-child b { color: var(--sand); }
.nums span { color: var(--grey); font-size: 15px; max-width: 14em; }
.nums__star { position: absolute; right: -6vw; top: 50%; width: 46vw; height: 46vw; transform: translateY(-50%); fill: none; stroke: rgba(196,123,99,.18); stroke-width: .4; }

/* ---------- voices ---------- */
.voices { background: var(--ink-2); padding: clamp(90px, 11vw, 170px) var(--gut); }
.voices__list { margin-top: clamp(40px, 6vw, 80px); display: grid; gap: clamp(50px, 7vw, 110px); }
.vq { max-width: 20em; font-size: clamp(28px, 3.4vw, 56px); }
.vq p { font: 200 1em/1.08 var(--dis); text-transform: uppercase; position: relative; }
.vq footer { margin-top: 18px; font: 500 12px/1 var(--text); text-transform: uppercase; letter-spacing: .2em; color: var(--grey); }
.vq:nth-child(even) { justify-self: end; text-align: right; }
.vq:first-child { font-size: clamp(36px, 5vw, 84px); max-width: 14em; }
.vq:first-child p { color: var(--gold); }
.vq:last-child p { color: var(--sand); }

/* ---------- street ---------- */
.street { position: relative; }
.street__f { overflow: hidden; aspect-ratio: 21 / 9; }
.street__f img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 40%; }
.street figcaption { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 12px; background: var(--sand); color: var(--ink); padding: 18px 24px; font: 500 12px/1 var(--text); text-transform: uppercase; letter-spacing: .2em; }
.street figcaption svg { width: 14px; height: 14px; fill: var(--ink); }

/* ---------- visit (sandstone block) ---------- */
.visit { background: var(--sand); color: var(--ink); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); padding: clamp(90px, 11vw, 160px) var(--gut); }
.visit .label { color: var(--ink); }
.visit .label span { color: var(--paper); }
.visit__l { display: grid; gap: 26px; align-content: start; }
.visit__title { font: 200 clamp(60px, 9vw, 150px)/1 var(--dis); text-transform: uppercase; }
.visit address { font: 300 clamp(26px, 2.6vw, 40px)/1.15 var(--dis); text-transform: uppercase; font-style: normal; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; height: 54px; padding: 0 24px; border: 1.5px solid var(--ink); text-decoration: none; font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: .12em; transition: background .4s, color .4s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--sand { background: var(--ink); color: var(--paper); }
.btn--sand:hover { background: var(--paper); color: var(--ink); }
.visit__h { font: 500 12px/1 var(--text); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid rgba(16,19,24,.25); text-align: left; font-weight: 400; font-size: 17px; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::after { content: "heute"; margin-left: 12px; padding: 4px 8px; background: var(--ink); color: var(--paper); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; vertical-align: 2px; }

/* ---------- footer ---------- */
.foot { padding: clamp(60px, 8vw, 110px) var(--gut) 50px; overflow: hidden; }
.foot__word { display: flex; justify-content: center; align-items: baseline; gap: .12em; font: 700 clamp(90px, 24vw, 400px)/.8 var(--dis); text-transform: uppercase; transform: skewX(-10deg); margin-bottom: 40px; white-space: nowrap; }
.foot__word span { color: var(--gold); }
.foot__word i { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--sand); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; padding: 20px 0; border-top: 1px solid rgba(241,236,229,.18); font-size: 14px; color: var(--grey); }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--gold); }
.foot__credit { font-size: 14px; color: #6e737b; max-width: 60em; }
.foot__credit a { color: var(--paper); }

.dock { display: none; }

/* ---------- JS starting states ---------- */
.js .hero__title, .js .eyebrow, .js .hero__meta > * { opacity: 0; }
.js .hr__f { clip-path: inset(100% 0 0 0); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .head__tel { display: none; }
  .salon__cols { grid-template-columns: 1fr; margin-left: 0; }
  .nums ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
}
@media (max-width: 760px) {
  :root { --sq: 68px; }
  body { padding-bottom: 66px; }
  .logo__mark { font-size: 24px; }
  .logo__sub { font-size: 9px; letter-spacing: .18em; }
  .burger span { width: 26px; }
  .menu { grid-template-columns: 1fr; align-content: end; }
  .menu__side { text-align: left; }
  .hero__title { font-size: 11.4vw; }
  .hero__meta { gap: 14px 22px; }
  .hero__row { grid-template-columns: 1fr 1fr; padding: 0 var(--gut); gap: 12px; }
  .hr--b { order: -1; grid-column: 1 / -1; }
  .hr--b .hr__f { aspect-ratio: 4 / 4.4; }
  .hr--a, .hr--c { margin-top: 0; }
  .hr--a .hr__f { aspect-ratio: 1; }
  .craft { grid-template-columns: 1fr; }
  .craft__media { display: none; }
  .craft__title { margin-bottom: 30px; }
  .step { min-height: 0; }
  .step__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 8px; }
  .step__img img { width: 100%; height: 100%; object-fit: cover; }
  .svc { grid-template-columns: 1fr; }
  .vq, .vq:first-child { max-width: none; padding-left: .5em; }
  .vq:nth-child(even) { text-align: left; justify-self: start; }
  .visit { grid-template-columns: 1fr; }
  .street__f { aspect-ratio: 4 / 3; }
  .street__f img { object-position: 30% 40%; }
  .foot__word { font-size: 26vw; }
  .dock { display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 105; background: var(--ink); border-top: 1px solid rgba(241,236,229,.16); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .dock a { display: grid; place-items: center; height: 46px; text-decoration: none; font: 600 12px/1 var(--text); text-transform: uppercase; letter-spacing: .14em; border: 1.5px solid rgba(241,236,229,.3); }
  .dock a:first-child { background: var(--sand); color: var(--ink); border-color: var(--sand); }
  .nums__star { width: 90vw; height: 90vw; right: -30vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .craft__frame img { transition: none; }
}
