/* ==========================================================================
   Macho Barbershop – Stylesheet
   Farben per Pixelprobe aus logo.png: Royalblau #314FA1, Lavendel #C7C8EE,
   Lavendelweiß #DFEBFB, Magenta-Violett #851E6C.
   ========================================================================== */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #000;
  --bg-soft: #0b0b0d;
  --surface: #141418;
  --line: #2a2a31;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --blue: #314fa1;
  --blue-hover: #3d5fbd;
  --lavender: #c7c8ee;
  --lavender-white: #dfebfb;
  --magenta: #851e6c;
  /* Messing aus dem Interieur (Lampen, Holz) – sparsamer Luxus-Akzent */
  --gold: #c8a96a;
  --gold-soft: rgba(200, 169, 106, 0.32);
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --font: "Inter", -apple-system, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 800ms;
  --nav-h: 72px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

/* --- Grundlagen ---------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;           /* 17 px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

@media (min-width: 1024px) {
  body { font-size: 1.125rem; }   /* 18 px */
}

img, picture, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--lavender); text-decoration: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text);
}

p { margin: 0 0 1em; max-width: 65ch; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--lavender-white);
  color: #000;
  border-radius: 3px;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--lavender-white);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Sichtbare Markierung für fehlende Betriebsdaten */
.ph {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed #c08bb3;
  border-radius: 2px;
  color: #f0c4e4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  white-space: normal;
}

/* --- Buttons und Links ----------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  font: inherit;
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: #fff;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 300ms var(--ease), border-color 300ms var(--ease);
}
/* Füllung fährt von links ein */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue-hover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); }

.btn--primary { background: var(--blue); }
.btn--secondary { border-color: #5a5a63; }
.btn--secondary:hover,
.btn--secondary:focus-visible { border-color: var(--blue-hover); }

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn[disabled]::before { display: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Unterstreichung zeichnet sich beim Hover */
.link {
  position: relative;
  color: var(--text);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 500ms var(--ease);
  padding-bottom: 2px;
}
.link:hover,
.link:focus-visible { background-size: 100% 1px; }

/* --- Navigation ------------------------------------------------------------ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background-color: rgba(8, 8, 10, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav__logo {
  width: 52px;
  height: 52px;
  transform-origin: left center;
  transition: transform 500ms var(--ease);
}
.nav.is-scrolled .nav__logo { transform: scale(0.8); }
.nav__name { font-size: 0.95rem; }

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a { color: var(--text-2); font-size: 0.95rem; transition: color 300ms var(--ease); }
.nav__links a:hover,
.nav__links a:focus-visible { color: var(--text); }

.nav__cta { display: none; min-height: 40px; padding: 0 18px; font-size: 0.92rem; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle-bars {
  position: relative;
  width: 22px;
  height: 12px;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 400ms var(--ease);
}
.nav__toggle-bars::before { top: 0; }
.nav__toggle-bars::after { bottom: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(5.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-5.25px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}

/* Mobiles Vollbild-Menü */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity 400ms var(--ease), visibility 0s linear 400ms;
}
.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 400ms var(--ease), visibility 0s;
}
.menu ul { margin: 0 0 40px; padding: 0; list-style: none; }
.menu li { overflow: hidden; }
.menu a:not(.btn) {
  display: block;
  padding: 8px 0;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  font-weight: 620;
  letter-spacing: -0.03em;
  color: var(--text);
  transform: translateY(100%);
  transition: transform 700ms var(--ease);
}
.menu.is-open a:not(.btn) { transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: 60ms; }
.menu.is-open li:nth-child(3) a { transition-delay: 120ms; }
.menu.is-open li:nth-child(4) a { transition-delay: 180ms; }
.menu .btn { align-self: flex-start; }

@media (min-width: 900px) {
  .menu { display: none; }
}

body.is-locked { overflow: hidden; }

/* --- Abschnitte ------------------------------------------------------------ */

main { display: block; }

.section {
  padding: clamp(120px, 20vh, 230px) 0;
  min-height: 88vh;
}
.section--short { min-height: 0; }
.section--surface { background: var(--bg-soft); }

.eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
}

.display {
  font-size: clamp(2.75rem, 9vw, 8.5rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.h2 {
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  margin-bottom: clamp(32px, 6vh, 64px);
}
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34ch;
}
.muted { color: var(--text-2); }

/* Zeilenweise Masken für Überschriften */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: block; }

/* --- Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 clamp(48px, 9vh, 96px);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media .photo {
  height: 100%;
  animation: hero-zoom 12s linear forwards;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 8%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.6));
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero__title { margin-bottom: 18px; }
.hero__sub {
  margin: 0 0 40px;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

/* --- Fotos und Platzhalter ------------------------------------------------- */

.photo {
  position: relative;
  overflow: hidden;
  background: #0f0f13;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.06) brightness(0.92);
  object-position: 50% 62%;
}
/* Dunkle Fläche, solange kein eigenes Foto vorhanden ist */
.photo--empty {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(133, 30, 108, 0.16), transparent 60%),
    #101014;
  border: 1px solid #1d1d23;
}
.photo--empty .ph { font-size: 0.78rem; }
.photo > picture { display: block; width: 100%; height: 100%; }
.photo--hero img { object-position: 68% 38%; }
/* Desktop: Foto rechts neben der Überschrift statt stark vergrößert über die ganze Breite */
@media (min-width: 1024px) {
  .hero__media { left: auto; width: 54%; }
  .hero__media::after {
    background:
      linear-gradient(to right, #000 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.1) 70%),
      linear-gradient(to top, #000 0%, transparent 30%);
  }
  .photo--hero img { object-position: 60% 45%; }
}

/* --- Leistungen / Preisliste ----------------------------------------------- */

.prices {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 880px;
}
.prices li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price";
  gap: 2px 24px;
  align-items: baseline;
  padding: 26px 0;
}
/* Trennlinie zeichnet sich von links nach rechts */
.prices li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}
.prices__name {
  grid-area: name;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.prices__price {
  grid-area: price;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.prices-note { margin-top: 28px; color: var(--text-2); font-size: 0.95rem; }

/* --- Schlüsselsatz, Wort für Wort ------------------------------------------ */

.statement {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.statement__text {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}
.statement__text .w { transition: opacity 250ms linear; }

/* --- Über uns -------------------------------------------------------------- */

.about {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
}
.about__text p { color: var(--text-2); }
.team {
  display: grid;
  gap: 16px;
}
.photo-frame { position: relative; overflow: hidden; }
.team__frame { aspect-ratio: 4 / 5; }
/* Parallax-Bilder sind etwas höher als ihr Rahmen, damit beim Verschieben keine Kante sichtbar wird */
.photo-frame > [data-parallax] { position: absolute; left: 0; right: 0; top: -40px; bottom: -40px; }
.photo-frame > [data-parallax].photo--empty { padding-bottom: 76px; }
.team__name { margin: 18px 0 2px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.team__role { margin: 0; color: var(--text-2); }

/* --- Galerie ------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 42vw;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item:nth-child(1) { grid-column: span 2; }
/* Desktop: 12 Spalten, unterschiedlich große Kacheln ohne Lücken */
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: min(19vw, 290px);
    gap: 14px;
  }
  .gallery__item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .gallery__item:nth-child(2) { grid-column: span 5; }
  .gallery__item:nth-child(3) { grid-column: span 5; }
  .gallery__item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
  .gallery__item:nth-child(5) { grid-column: span 4; }
  .gallery__item:nth-child(6) { grid-column: span 4; }
  .gallery__item:nth-child(7) { grid-column: span 8; }
}
.gallery__item { min-width: 0; }
.gallery__item > .gallery__btn { height: 100%; }

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery__btn .photo { height: 100%; transition: transform 700ms var(--ease), filter 700ms var(--ease); }
.gallery__btn:hover .photo,
.gallery__btn:focus-visible .photo { transform: scale(1.03); filter: brightness(1.12); }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: 0.95rem;
  font-weight: 520;
  transform: translateY(100%);
  transition: transform 600ms var(--ease);
}
.gallery__btn:hover .gallery__caption,
.gallery__btn:focus-visible .gallery__caption { transform: none; }
@media (hover: none) {
  .gallery__caption { transform: none; }
}

/* Großansicht */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease), visibility 0s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox__count { color: var(--text-2); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 16px 0; }
.lightbox__stage .photo { width: min(100%, 1100px); height: min(78vh, 760px); }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; }
.icon-btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #3a3a42;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 300ms var(--ease);
}
.icon-btn:hover, .icon-btn:focus-visible { border-color: var(--lavender); }

/* --- Bewertungen ------------------------------------------------------------ */

.reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reviews p { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 560; letter-spacing: -0.02em; }

/* --- Kontakt ----------------------------------------------------------- */

.contact {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 1.2fr 1fr; }
}
.contact__address {
  margin: 0 0 32px;
  font-style: normal;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.contact dl { margin: 0; }
.contact dt { color: var(--text-2); font-size: 0.9rem; margin-top: 20px; }
.contact dd { margin: 2px 0 0; font-size: 1.15rem; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--text-2); }
.hours caption { text-align: left; color: var(--text-2); font-size: 0.9rem; padding-bottom: 8px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); font-weight: 560; }

/* --- Footer ---------------------------------------------------------- */

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.95rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.footer a { color: var(--text-2); }
.footer a:hover, .footer a:focus-visible { color: var(--text); }
.footer__links a { display: inline-block; padding: 12px 0; }

/* --- Rechtstexte ------------------------------------------------------------ */

.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; margin: 48px 0 12px; line-height: 1.2; }
.legal p, .legal li { color: #d2d2d7; max-width: 70ch; }
.legal ul { padding-left: 1.2em; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 2px 24px; margin: 0; max-width: 760px; }
.legal dt { color: var(--text-2); font-size: 0.9rem; margin-top: 14px; }
.legal dd { margin: 0; }
@media (min-width: 720px) {
  .legal dl { grid-template-columns: 260px 1fr; }
  .legal dt { margin-top: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
.legal .note {
  padding: 16px 18px;
  border-left: 2px solid var(--blue);
  background: var(--surface);
  color: var(--text-2);
  max-width: 70ch;
}

/* --- Terminseite (Platzhalter bis zur Einbindung der eigenen Buchung) ---- */

.booking { padding: calc(var(--nav-h) + 64px) 0 96px; min-height: 70vh; }
.booking h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin-bottom: 20px; }

/* ==========================================================================
   Animationen – nur transform, opacity und clip-path
   Startzustände gelten nur mit JavaScript (.js) und ohne reduzierte Bewegung.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="lines"] .line > span {
    transform: translateY(105%);
    transition: transform 1300ms var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal="lines"].is-in .line > span { transform: none; }

  .js [data-reveal="fade"] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1200ms var(--ease), transform 1200ms var(--ease);
  }
  .js [data-reveal="fade"].is-in { opacity: 1; transform: none; }

  /* Der Beobachter sitzt auf dem Wrapper, die Maske auf dessen Kind,
     die Skalierung auf dem Enkel. So bleibt der Wrapper messbar. */
  .js [data-reveal="image"] > * { transition: clip-path 1500ms var(--ease); }
  .js [data-reveal="image"] > * > * { transition: transform 1900ms var(--ease), filter 700ms var(--ease); }
  .js [data-reveal="image"]:not(.is-in) > * { clip-path: inset(100% 0 0 0); }
  .js [data-reveal="image"]:not(.is-in) > * > * { transform: scale(1.12); }

  .js .prices[data-reveal="list"] li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js .prices[data-reveal="list"] li::after {
    transform: scaleX(0);
    transition: transform 900ms var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms + 150ms);
  }
  .js .prices[data-reveal="list"].is-in li { opacity: 1; transform: none; }
  .js .prices[data-reveal="list"].is-in li::after { transform: scaleX(1); }

  .js .statement__text .w { opacity: 0.18; }
  .js .statement__text .w.is-lit { opacity: 1; }

  .js [data-parallax] { will-change: transform; }

  /* Startseite: Hero wartet auf das Intro */
  .js.has-intro .hero [data-reveal] { transition-delay: calc(var(--i, 0) * 60ms + 0ms); }
}

/* Intro-Overlay (wird per JavaScript angelegt) */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: auto;
}
.intro__bg {
  position: absolute;
  inset: 0;
  background: #000;
  transition: transform 800ms var(--ease);
}
.intro.is-leaving .intro__bg { transform: translateY(-100%); }
.intro__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(62vw, 360px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.intro__glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(133, 30, 108, 0.55), rgba(133, 30, 108, 0) 72%);
  opacity: 0;
}
.intro__logo {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
}
.intro__logo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92);
  filter: blur(8px);
}
.intro__logo-inner img { width: 100%; height: 100%; }
/* Weicher Lichtstreifen per Maske */
.intro__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(223, 235, 251, 0.38) 50%, transparent 65%);
  transform: translateX(-120%);
  /* Maske begrenzt den Streifen auf den runden Badge und lässt ihn zum Rand weich auslaufen */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 71%);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 71%);
  mix-blend-mode: screen;
}
.intro.is-playing .intro__logo-inner { animation: intro-in 1000ms var(--ease) 400ms forwards; }
.intro.is-playing .intro__glow { animation: intro-glow 1400ms ease-in-out 500ms forwards; }
.intro.is-playing .intro__sheen { animation: intro-sheen 600ms ease-in-out 1400ms forwards; }

@keyframes intro-in {
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes intro-glow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0.25; }
}
@keyframes intro-sheen {
  to { transform: translateX(120%); }
}

.js.has-intro body { overflow: hidden; }
.js.has-intro .nav__logo { opacity: 0; }

/* Reduzierte Bewegung: alles sofort, nur ein kurzes Einblenden */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js body { animation: quick-fade 180ms ease-out both !important; animation-duration: 180ms !important; }
  @keyframes quick-fade { from { opacity: 0; } to { opacity: 1; } }
  .hero__media .photo { animation: none !important; }
}

/* Großansicht: ganzes Foto zeigen, nicht beschneiden */
.lightbox__stage .photo { background: transparent; }
.lightbox__stage .photo img { object-fit: contain; object-position: 50% 50%; }
/* Einzelne Galeriefotos: Ausschnitt auf die Frisur legen */
.gallery__item:nth-child(7) .photo img { object-position: 50% 32%; }

/* Hero-Video */
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(0.35) contrast(1.06) brightness(0.92);
}

/* Laufband unter dem Startbereich */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 22px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker__track span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text);
}
.ticker__track span:nth-child(even) { color: var(--lavender); }
.ticker__track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-hover);
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* Galerie: Kacheln gehen nacheinander auf */
@media (prefers-reduced-motion: no-preference) {
  .js .gallery__item[data-reveal="image"] > * { transition-delay: calc(var(--i, 0) * 120ms); }
  .js .gallery__item[data-reveal="image"] > * > * { transition-delay: calc(var(--i, 0) * 120ms), 0ms; }
}

/* Preisliste: Zeile rückt beim Hover leicht ein */
.prices__name { transition: transform 500ms var(--ease), color 500ms var(--ease); }
.prices li:hover .prices__name { transform: translateX(10px); color: var(--lavender-white); }

/* Logo glimmt in der Navigation sanft magenta nach */
@media (prefers-reduced-motion: no-preference) {
  .nav__brand picture { position: relative; display: block; }
  .nav__brand picture::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    box-shadow: 0 0 16px 1px rgba(133, 30, 108, 0.6);
    opacity: 0;
    animation: logo-glow 4.5s ease-in-out 3s infinite;
    pointer-events: none;
  }
}
@keyframes logo-glow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }


/* ==========================================================================
   Luxus-Feinschliff: Serifen-Überschriften, Messing-Akzent, ruhige Details
   ========================================================================== */

h1, h2, h3,
.display, .h2,
.statement__text,
.prices__name,
.contact__address,
.team__name,
.cal__title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.display {
  font-size: clamp(3.4rem, 10.5vw, 10rem);
  line-height: 0.88;
  font-weight: 500;
}
.h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 0.95; }
.statement__text { font-size: clamp(2.8rem, 8.6vw, 8rem); line-height: 0.98; font-style: italic; font-weight: 400; }
.prices__name { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.contact__address { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.legal h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.1rem); }

/* Untertitel im Hero: kursiv in Messing */
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  letter-spacing: 0;
  color: var(--gold);
}

/* Kleine Beschriftungen: Großbuchstaben, weiter Abstand, feine Linie davor */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* Navigation */
.nav__links a {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Buttons: dünner Messing-Rahmen, Füllung fährt beim Hover ein */
.btn {
  min-height: 52px;
  padding: 0 30px;
  border-radius: 1px;
  font-size: 0.74rem;
  font-weight: 560;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn::before { background: var(--gold); }
.btn--primary { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--secondary { border-color: rgba(255, 255, 255, 0.22); color: var(--text); }
.btn:hover, .btn:focus-visible { color: #0b0b0d; border-color: var(--gold); }
.nav__cta { min-height: 40px; padding: 0 20px; font-size: 0.7rem; }

/* Preisliste: haarfeine Messing-Linien */
.prices li::after { background: var(--gold-soft); }
.prices li:hover .prices__name { color: var(--gold); }

/* Galerie-Beschriftung kursiv */
.gallery__caption { font-family: var(--serif); font-style: italic; font-size: 1.25rem; font-weight: 500; }

/* Öffnungszeiten und Bewertungen: feinere Linien */
.hours th, .hours td { border-bottom-color: var(--gold-soft); }
.reviews { border-color: var(--gold-soft); }
.reviews p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Laufband: langsam, klein, kursiv – eher Signatur als Werbung */
.ticker { padding: 16px 0; background: var(--bg); border-color: var(--gold-soft); }
.ticker__track { animation-duration: 75s; }
.ticker__track span,
.ticker__track span:nth-child(even) {
  gap: 34px;
  padding-right: 34px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  letter-spacing: 0.02em;
  color: var(--text-2);
}
.ticker__track span::after { width: 4px; height: 4px; background: var(--gold); }

/* Video: dunkler, mit leichtem Filmkorn */
.hero__video { filter: grayscale(0.45) contrast(1.08) brightness(0.72); }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Serifenschrift: normale Ziffern statt Mediävalziffern (PLZ, Hausnummer) */
h1, h2, h3, .display, .h2, .statement__text, .prices__name, .contact__address, .team__name, .hero__sub, .reviews p, .gallery__caption, .ticker__track span {
  font-variant-numeric: lining-nums;
}
.prices__name { line-height: 1.1; }

/* ==========================================================================
   Überschriften in Bebas Neue (Großbuchstaben, kantig),
   kursive Akzente bleiben in Cormorant Garamond
   ========================================================================== */
h1, h2, h3,
.display, .h2,
.prices__name,
.contact__address,
.team__name,
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
}
.display { font-size: clamp(4.2rem, 15vw, 13rem); line-height: 0.86; }
.h2 { font-size: clamp(3.4rem, 9.5vw, 8rem); line-height: 0.9; }
.prices__name { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: 0.02em; line-height: 1; }
.contact__address { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 0.95; letter-spacing: 0.02em; }
.team__name { font-size: 2rem; letter-spacing: 0.03em; }
.legal h1 { font-size: clamp(3.2rem, 9vw, 6rem); }
.legal h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: 0.03em; }
/* Der große Satz in der Mitte bleibt kursiv-elegant als Kontrast */
.statement__text { font-family: var(--serif); }

/* ==========================================================================
   Emblem bei "Über uns": Logo mit drehendem Schriftring statt Foto
   ========================================================================== */
.emblem {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.emblem__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.emblem__rotor { transform-origin: 200px 200px; }
.emblem__text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  fill: var(--gold);
}
.emblem__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
  opacity: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 200px 200px;
}
.emblem__line--outer { opacity: 0.25; }
.emblem__logo {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  overflow: hidden;
}
.emblem__logo img { width: 100%; height: 100%; }
.emblem__glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(133, 30, 108, 0.45), rgba(133, 30, 108, 0) 75%);
  opacity: 0.4;
}

@media (prefers-reduced-motion: no-preference) {
  .emblem__rotor { animation: emblem-spin 48s linear infinite; }
  .emblem__glow { animation: emblem-breathe 6s ease-in-out infinite; }
  /* Goldkreise zeichnen sich beim Hereinscrollen */
  .js .emblem[data-reveal] .emblem__line { stroke-dashoffset: 1; transition: stroke-dashoffset 2400ms var(--ease) 300ms; }
  .js .emblem[data-reveal] .emblem__line--outer { transition-delay: 700ms; }
  .js .emblem[data-reveal].is-in .emblem__line { stroke-dashoffset: 0; }
  .js .emblem[data-reveal] .emblem__logo { transform: scale(0.9); transition: transform 1800ms var(--ease); }
  .js .emblem[data-reveal].is-in .emblem__logo { transform: none; }
}
@keyframes emblem-spin { to { transform: rotate(360deg); } }
@keyframes emblem-breathe { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.7; } }

@media (min-width: 900px) {
  .about { align-items: center; }
}
