@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Monochrom nach den Referenzen. Farbe kommt nur aus dem Salonfoto. */
:root {
  --black: #000;
  --surface: #18181b;
  --line-dark: #3f3f46;
  --muted-dark: #a1a1aa;
  --muted-light: #52525b;
  --line-light: #d4d4d8;
  --white: #fff;

  --display: "Playfair Display", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;

  --gutter: clamp(20px, 6vw, 96px);
  --section: clamp(72px, 10vw, 140px);
  --header: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

[hidden] { display: none !important; }

html { scroll-padding-top: var(--header); }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mono { filter: grayscale(1) contrast(1.12); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }

a { color: inherit; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: 600 1rem var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: transparent; color: var(--white); }
.btn-small { min-height: 44px; padding: 0 22px; font-size: .95rem; }
.btn-outline { background: transparent; color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark { border-color: var(--black); background: var(--black); color: var(--white); }
.btn-dark:hover { background: transparent; color: var(--black); }
.btn:disabled { border-color: var(--line-light); background: var(--line-light); color: var(--muted-light); cursor: not-allowed; }

.link {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font: 600 1rem var(--body);
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

/* Kopfzeile: weiß wie in der Monochrome-Referenz, das Logo ist für helle Flächen gemacht */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--header);
  padding: 0 var(--gutter);
  background: var(--white);
  color: var(--black);
}
.top .btn { border-color: var(--black); background: var(--black); color: var(--white); }
.top .btn:hover { background: transparent; color: var(--black); }

.logo { display: block; height: 68px; }
.logo img { width: auto; height: 100%; object-fit: contain; }
.top nav { display: flex; gap: 32px; margin-left: auto; }
.top nav a { padding: 8px 0; font-weight: 600; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: var(--header) var(--gutter) 40px;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; filter: grayscale(1) contrast(1.15) brightness(.42); }
.hero-content { position: relative; }
.hero h1 {
  font-size: clamp(5rem, 23vw, 22rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hero h1 span { display: inline-block; }
.hero-sub { margin: 0 0 32px; text-wrap: balance; font-size: clamp(1.25rem, 2.6vw, 2rem); }
.status { margin: 24px 0 0; font-weight: 600; }

/* Intro */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: var(--section) 0 0 var(--gutter);
}
.intro-text { padding-bottom: var(--section); }
.intro-text p { max-width: 30rem; margin: 20px 0 32px; color: var(--muted-dark); font-size: 1.2rem; }
.intro-photo { align-self: stretch; min-height: 560px; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.tile-light img { filter: grayscale(1) contrast(1.05) brightness(1.15); }

/* Foto-Szene */
.shots { position: relative; height: 100svh; padding: calc(var(--header) + 12px) 12px 12px; overflow: hidden; background: var(--black); }
.shots-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
}
.shot { margin: 0; min-height: 0; overflow: hidden; }
.shot-lead { position: relative; z-index: 1; }

/* Leistungen */
.services { padding: var(--section) var(--gutter); background: var(--white); color: var(--black); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: 40px;
}
.card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5.4;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.card img { position: absolute; inset: 0; transition: transform .5s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #000 62%);
}
.card-light { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1px var(--line-light); }
.card-light::after { background: linear-gradient(transparent, #fff 62%); }
.card-body { position: relative; z-index: 1; width: 100%; padding: 24px; text-align: center; }
.card-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.card-price { margin: 4px 0 16px; font-size: 1.25rem; }
.card-light .btn-outline { border-color: var(--black); color: var(--black); }
.card-light .btn-outline:hover { background: var(--black); color: var(--white); }

.rows { margin: 40px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--black); }
.rows li { border-bottom: 1px solid var(--line-light); }
.rows a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.rows a:hover span { text-decoration: underline; text-underline-offset: 5px; }
.rows b { font-family: var(--display); font-size: 1.6rem; font-weight: 400; white-space: nowrap; }

/* Werkzeug mit Beschriftungen */
.tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: var(--section) var(--gutter);
}
.tools-text p { max-width: 30rem; margin: 20px 0 0; color: var(--muted-dark); font-size: 1.2rem; }
.tools-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 560px; justify-self: end; width: 100%; overflow: hidden; }
.tools-photo img { object-position: 30% center; filter: grayscale(1) contrast(1.1) brightness(.5); }
.tools-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tools-photo path { fill: none; stroke: var(--white); stroke-width: .35; stroke-dasharray: 1; }
.tools-photo circle { fill: var(--white); }
.tools-photo figcaption span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translateX(-50%);
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  font-weight: 600;
  white-space: nowrap;
}

/* Der Salon geht an */
.light-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100svh;
  overflow: hidden;
}
.light-frame { position: absolute; inset: 0; }
.light-frame img { position: absolute; inset: 0; }
.light-text {
  position: relative;
  padding: 0 var(--gutter);
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .8);
}
.light-frame::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, .5)); }
.light-text h2 { max-width: 15ch; margin-inline: auto; font-size: clamp(2.75rem, 7vw, 6.25rem); }
.light-text p { margin: 20px 0 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }

/* Buchung */
.booking { padding: var(--section) var(--gutter); background: var(--white); color: var(--black); }
.booking-head, .pole, .wizard { max-width: 760px; margin-inline: auto; }
.demo-note { margin: 12px 0 0; color: var(--muted-light); }

/* Fortschritt als Barberstange */
.pole {
  height: 10px;
  margin-top: 32px;
  margin-bottom: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line-light);
}
.pole span {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-75%);
  background: repeating-linear-gradient(115deg, var(--black) 0 12px, var(--white) 12px 22px);
  transition: transform .4s var(--ease);
}

.step { min-width: 0; margin: 0; padding: 0; border: 0; }
.step legend {
  padding: 0;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.15;
}

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  height: 100%;
  padding: 12px 18px;
  border: 1.5px solid var(--line-light);
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.option b { font-family: var(--display); font-size: 1.25rem; font-weight: 400; white-space: nowrap; }
.option:hover span { border-color: var(--black); }
.option input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); font-weight: 600; }
.option input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 3px; }
.option input:disabled { cursor: not-allowed; }
.option input:disabled + span { border-color: transparent; background: #f4f4f5; color: var(--muted-light); text-decoration: line-through; }

.days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84px;
  gap: 10px;
  padding: 4px 4px 12px;
  margin: 0 -4px 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.day { scroll-snap-align: start; }
.day span { flex-direction: column; gap: 0; justify-content: center; padding: 10px 6px; line-height: 1.25; }
.day b { font-size: 1.5rem; }
.day small { font-size: .9rem; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.slots .option span { justify-content: center; min-height: 48px; padding: 6px; }
.slots p { grid-column: 1 / -1; margin: 0; color: var(--muted-light); }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fields label { display: grid; gap: 8px; font-weight: 600; }
.fields input {
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--black);
  background: var(--white);
  color: var(--black);
  font: 400 1.0625rem var(--body);
}
.fields input[aria-invalid="true"] { border-width: 3px; }
.error { margin: 14px 0 0; font-weight: 600; }
.summary { margin: 24px 0 0; color: var(--muted-light); }

.done h3 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.done:focus { outline: none; }
.done p { margin: 16px 0; font-size: 1.15rem; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.wizard-nav #next { margin-left: auto; }

/* Besuch */
.visit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.visit-photo { height: 100%; min-height: 560px; }
.visit-info { padding: var(--section) var(--gutter); }
.hours { width: 100%; max-width: 380px; margin: 24px 0; border-collapse: collapse; }
.hours caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hours th, .hours td { padding: 6px 0; font-weight: 400; text-align: left; }
.hours th { padding-right: 16px; }
.hours td { text-align: right; white-space: nowrap; }
.hours .today th, .hours .today td { font-weight: 600; }
.hours .today th::after { content: " (heute)"; font-weight: 400; }
address { font-style: normal; }
address a { font-weight: 600; }
.route { margin-top: 24px; }

/* Fuß */
.foot {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px var(--gutter);
  background: var(--white);
  color: var(--black);
  text-align: center;
}
.foot-logo { width: 180px; height: auto; object-fit: contain; }
.foot p { margin: 0; color: var(--muted-light); }
.foot nav { display: flex; gap: 20px; }
.foot nav a { padding: 8px 0; }

.dock { display: none; }

@media (max-width: 860px) {
  :root { --header: 72px; }

  .top nav, .top .btn { display: none; }
  .logo { height: 58px; }

  .intro { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
  .intro-text { padding-bottom: 0; }
  .intro-photo { min-height: 0; aspect-ratio: 4 / 5; margin: 0 calc(var(--gutter) * -1); }

  .shots { padding-bottom: 86px; }
  .shots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { aspect-ratio: 4 / 4.4; }

  .tools { grid-template-columns: minmax(0, 1fr); }
  .tools-photo { justify-self: center; }

  .choices, .fields { grid-template-columns: minmax(0, 1fr); }

  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit-photo { height: 70vw; min-height: 0; }
  .visit-info { padding-block: 48px; }

  .foot { padding-bottom: 112px; }

  .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--black);
    border-top: 1px solid var(--line-dark);
    transition: transform .2s var(--ease);
  }
  .dock.is-hidden { transform: translateY(110%); }
  .dock .btn { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
