/* ==========================================================================
   Friseursalon Eva
   Farben aus Logo und Fotos: Salbei #B8B8A8, Creme #F8F8E8, Ziegel, Eiche.

   Formen-Regel (überall gleich):
   - Fotos: Kreis oder Bogen (Spiegel-Motiv des Salons) oder Rechteck mit --radius
   - Flächen und Marken-Panels: --radius
   - Interaktive Elemente: Pille, Eingabefelder: --radius-sm

   Ebenen: Inhalt 0, Navigation 50, Lightbox über dem Top-Layer.
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Die Seite ist immer hell, unabhängig von der Geräteeinstellung */
  color-scheme: only light;

  /* Marke */
  --night: #191a14;
  --cream: #f8f8e8;
  --oak: #b98e5e;
  --glow: #ffe7c2;

  /* Flächen und Text */
  --paper: #f6f6ec;
  --paper-2: #ecedde;
  --tint: #dfe0d0;
  --sage: #b8b8a8;
  --ink: #23241c;
  --ink-2: #4b4d3f;
  --line: rgb(35 36 28 / .22);
  --brick: #9e4a2f;
  --on-brick: #fff8ee;
  --footer-bg: #3b3d30;
  --footer-ink: #f3f3e4;
  --field: #fbfbf4;
  --glass-bg: rgb(248 248 232 / .62);
  --glass-solid: #efefe2;
  --glass-ink: #23241c;
  --glass-line: rgb(255 255 255 / .5);
  --glass-hover: rgb(255 255 255 / .38);
  --glass-active: rgb(255 255 255 / .62);
  --panel-a: #b8b8a8;
  --panel-b: #e3e4d5;
  --panel-c: #d3d4c3;

  --radius: 24px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --gap: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --halo:
    0 0 0 2px rgb(255 244 224),
    0 0 28px 8px rgb(246 200 138 / .62),
    0 0 110px 34px rgb(222 176 116 / .32);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
sup { font-size: .55em; line-height: 0; vertical-align: super; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }
#start, #salon { scroll-margin-top: 0; }
#willkommen, #service, #preise, #produkte, #kontakt { scroll-margin-top: calc(var(--nav-h) - var(--gap) * .5); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; vertical-align: -.25em; }

:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
.footer :focus-visible, .lightbox :focus-visible { outline-color: var(--glow); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  background: var(--brick);
  color: var(--on-brick);
  text-decoration: none;
}
.skip:focus { top: 1rem; }
.top-sentinel { position: absolute; top: 48px; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* --- Bausteine ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 3.25rem;
  padding: .7rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--brick { background: var(--brick); color: var(--on-brick); }
.btn--brick:hover { background: color-mix(in srgb, var(--brick) 86%, var(--ink)); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.frame { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--round { aspect-ratio: 1; border-radius: 50%; }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); }

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

/* Drei getrennt schwebende Elemente: Logo links, Linkgruppe mittig, Telefon rechts */
.glass {
  background: var(--glass-bg);
  color: var(--glass-ink);
  border: 1px solid var(--glass-line);
  box-shadow: 0 10px 30px rgb(25 26 20 / .16), inset 0 1px 0 rgb(255 255 255 / .22);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-solid); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: var(--nav-h);
  padding-inline: clamp(.75rem, 2.4vw, 2rem);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav :focus-visible { outline-color: var(--glass-ink); }
.nav__logo {
  display: block;
  justify-self: start;
  width: 82px;
  border-radius: 50%;
  filter: drop-shadow(0 2px 5px rgb(25 26 20 / .12));
  transform-origin: left top;
  transition: transform .6s var(--ease);
}
.nav__logo img { width: 100%; height: auto; }
.nav__links {
  display: flex;
  gap: .15rem;
  padding: .3rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nav__links a {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding-inline: 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s;
}
.nav__links a:hover { background: var(--glass-hover); }
.nav__links a.is-current { background: var(--glass-active); }
.nav__end { display: flex; justify-self: end; gap: .5rem; }
.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding-inline: 1.15rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease);
}
.nav__tel:hover { transform: translateY(-1px); }
.nav__toggle {
  display: none;
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 30%;
  right: 30%;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 42%; }
.nav__toggle span:nth-child(2) { top: 58%; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 50%; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__logo { transform: scale(1.55) translateY(4px); }
  .nav.is-compact .nav__logo { transform: none; }
}

@media (max-width: 1023.98px) {
  .nav { grid-template-columns: 1fr auto; gap: .5rem; }
  .nav__logo { width: 62px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    padding: var(--nav-h) var(--pad) 3rem;
    border: 0;
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--ink);
    font-size: clamp(2rem, 9vw, 3rem);
    font-weight: 300;
    letter-spacing: -.01em;
    line-height: 1.2;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav__links a { padding-inline: 0; border-radius: 0; }
  .nav__links a:hover, .nav__links a.is-current { background: none; }
  .nav__links a.is-current { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 339.98px) {
  .nav__tel span { display: none; }
  .nav__tel { width: 3.25rem; padding: 0; justify-content: center; }
}

/* --- Hero: Spiegelwand --------------------------------------------------- */

.hero {
  --cx: 50%;
  --cy: 74%;
  --r: min(47vw, 25svh);
  --counter: 9svh;
  position: relative;
  /* svh statt dvh: bleibt gleich hoch, wenn die Adressleiste beim Scrollen ein- und ausfährt.
     Mit dvh springt sonst die ganze Seite darunter. */
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink);
}
.hero__wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--cx) var(--cy), rgb(250 214 164 / .5), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero__ring {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  translate: -50% -50%;
  border-radius: 50%;
  box-shadow: var(--halo);
  will-change: scale, opacity;
}
.hero__aperture {
  position: absolute;
  inset: 0;
  clip-path: circle(var(--r) at var(--cx) var(--cy));
  will-change: clip-path;
}
.motion .hero__aperture { clip-path: circle(0 at var(--cx) var(--cy)); }
.motion .hero__ring, .motion .hero__mirror { opacity: 0; }
/* Mobil: Foto nur rund um den Spiegel, damit die Spiegelwand im Kreis erscheint */
.hero__aperture img {
  position: absolute;
  left: 0;
  top: calc(var(--cy) - var(--r) * 1.28);
  width: 100%;
  height: calc(var(--r) * 2.56);
  max-width: none;
  object-fit: cover;
  object-position: 36% 50%;
}
.hero__side { position: absolute; inset: 0; }
.hero__mirror {
  position: absolute;
  display: none;
  border-radius: 50%;
  box-shadow: var(--halo);
  background: var(--tint);
}
.hero__mirror img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero__counter {
  position: absolute;
  inset: auto 0 0;
  height: var(--counter);
  background: linear-gradient(180deg, var(--tint), var(--paper-2));
}
.hero__counter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(8px, 1.1vh, 14px);
  background: linear-gradient(90deg, #a67c4e, var(--oak) 28%, #c9a071 55%, #a67c4e 82%, var(--oak));
  box-shadow: 0 4px 12px rgb(35 36 28 / .18);
}
.hero__copy {
  position: absolute;
  inset: calc(var(--nav-h) + clamp(.5rem, 3svh, 2rem)) var(--pad) auto;
  z-index: 3;
}
.hero h1 {
  font-size: clamp(2.45rem, 11.6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.022em;
}
.hero__sub {
  margin-top: clamp(.6rem, 2svh, 1.25rem);
  max-width: 34ch;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: clamp(.8rem, 2.4svh, 1.6rem);
}
.motion .hero__copy { visibility: hidden; }

@media (max-width: 1023.98px) and (max-height: 720px) {
  .hero .btn--line { display: none; }
  .hero { --cy: 80%; --r: min(44vw, 20svh); }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero { --cx: 73% !important; }
}

@media (min-width: 1024px) {
  .hero {
    --cx: 71%;
    --cy: 52%;
    --r: min(27.5vw, 45dvh);
    --counter: 11dvh;
    min-height: 620px;
  }
  .hero__wall {
    background:
      radial-gradient(44vw 72vh at var(--cx) var(--cy), rgb(250 214 164 / .55), transparent 70%),
      radial-gradient(20vw 40vh at 99% 70%, rgb(250 214 164 / .35), transparent 70%),
      linear-gradient(180deg, var(--paper), var(--paper-2));
  }
  .hero__aperture img {
    inset: 0;
    height: 100%;
    object-position: 38% 42%;
  }
  .hero__mirror { display: block; }
  .hero__mirror--b {
    --s: min(19vw, 30dvh);
    width: calc(var(--s) * 2);
    height: calc(var(--s) * 2);
    right: calc(var(--s) * -1.28);
    bottom: calc(var(--counter) - var(--s) * .82);
  }
  .hero__mirror--c {
    --s: min(6.5vw, 11dvh);
    width: calc(var(--s) * 2);
    height: calc(var(--s) * 2);
    left: max(38%, calc(var(--pad) + 31rem)); /* immer rechts neben den Buttons */
    bottom: calc(var(--counter) - var(--s) * .62);
  }
  .hero__copy {
    inset: auto auto calc(var(--counter) + clamp(2.5rem, 10dvh, 6rem)) var(--pad);
    width: min(50vw, 800px);
  }
  .hero h1 {
    font-size: clamp(3.2rem, min(5.9vw, 12dvh), 7rem);
  }
  .hero__sub { max-width: 30ch; }
}

/* --- Willkommen ---------------------------------------------------------- */

.welcome {
  padding: var(--gap) var(--pad);
  max-width: 1560px;
  margin-inline: auto;
}
.welcome__title { font-size: clamp(2.6rem, 7.4vw, 7rem); }
.welcome__lead {
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 15.5em; /* zwei Zeilen, Umbruch nach „alles um“ (in em, wächst mit der Schrift) */
  font-size: clamp(1.6rem, 3.4vw, 3.1rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink-2);
}
.welcome__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.welcome__door { aspect-ratio: .86; max-width: 560px; }
.welcome__text { display: grid; gap: 1.25rem; align-content: center; max-width: 56ch; }

.story {
  display: grid;
  gap: 2rem;
  margin-top: clamp(4rem, 9vw, 8rem);
}
.story__img { width: min(62vw, 340px); }
.story__text { max-width: 56ch; }
.story h3 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.25rem; }
.story__sign { margin-top: 1.25rem; font-style: italic; color: var(--ink-2); }

@media (min-width: 1024px) {
  .welcome__grid { grid-template-columns: 5fr 1fr 6fr; }
  .welcome__door { grid-column: 1; max-width: none; margin-top: -2rem; }
  .welcome__text { grid-column: 3; padding-top: 12%; }
  .story {
    grid-template-columns: 6fr 1fr 5fr;
    align-items: center;
    margin-top: clamp(-6rem, -5vw, -2rem);
  }
  .story__text { grid-column: 1; grid-row: 1; justify-self: end; padding-top: 22%; }
  .story__img { grid-column: 3; grid-row: 1; width: min(24vw, 400px); justify-self: end; }
}

/* --- Der Salon: Galerie -------------------------------------------------- */

.gallery { background: var(--paper-2); overflow: hidden; }
.gallery__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 3vw, 1.5rem);
  align-items: center;
  padding: clamp(4rem, 12vw, 6rem) var(--pad);
}
.gallery__title {
  grid-column: 1 / -1;
  font-size: clamp(3.2rem, 15vw, 6rem);
  margin-bottom: 1rem;
}
.shot {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.shot:hover img { transform: scale(1.03); }
.shot--round { border-radius: 50%; aspect-ratio: 1; }
.shot--arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: .78; }
.shot--plain { aspect-ratio: var(--ar); }
.shot:nth-of-type(5n + 1), .shot:last-child { grid-column: 1 / -1; }

@media (min-width: 1024px) {
  /* Ohne JavaScript oder bei reduzierter Bewegung: frei wischbare Reihe */
  .gallery__track {
    display: flex;
    gap: clamp(2rem, 4vw, 4.5rem);
    width: max-content;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--nav-h) var(--pad) 2rem;
  }
  .gallery { overflow-x: auto; }
  .has-pan .gallery { overflow: hidden; }
  .gallery__title {
    flex: none;
    width: min(46vw, 620px);
    margin: 0;
    font-size: clamp(5rem, 11vw, 11rem);
    line-height: .96;
  }
  .shot {
    flex: none;
    height: min(calc(var(--h) * 1dvh), 82dvh);
    width: auto;
    aspect-ratio: var(--ar);
  }
  .shot:nth-of-type(even) { align-self: flex-end; margin-bottom: 5dvh; }
  .shot:nth-of-type(3n) { align-self: flex-start; margin-top: 3dvh; }
  .shot:nth-of-type(5n + 1), .shot:last-child { grid-column: auto; }
}

/* --- Service ------------------------------------------------------------- */

.service {
  padding: var(--gap) var(--pad);
  max-width: 1560px;
  margin-inline: auto;
}
.service__title { font-size: clamp(3.2rem, 11vw, 9rem); margin-bottom: clamp(2rem, 5vw, 4rem); }
.service__stage { display: none; }
.service__list { display: grid; gap: clamp(3rem, 8vw, 5rem); }
.service__fig { width: min(64vw, 320px); margin-bottom: 1.5rem; }
.service__item h3 { font-size: clamp(1.9rem, 3.4vw, 3.25rem); margin-bottom: 1rem; }
.service__item p { max-width: 52ch; color: var(--ink-2); }

@media (min-width: 1024px) {
  .has-gsap .service__fig { display: none; }
  .has-gsap .service__body {
    display: grid;
    grid-template-columns: 5fr 1fr 6fr;
    align-items: start;
  }
  .has-gsap .service__stage {
    display: block;
    grid-column: 1;
    position: sticky;
    top: calc(var(--nav-h) + 3dvh);
  }
  .service__mirror {
    position: relative;
    width: min(38vw, 76dvh);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--night);
    box-shadow:
      0 0 0 1.5px rgb(255 236 205 / .9),
      0 0 24px 5px rgb(255 214 160 / .55),
      0 0 90px 22px rgb(214 170 110 / .28);
  }
  .service__stageimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }
  .service__stageimg.is-current { opacity: 1; }
  .has-gsap .service__list { grid-column: 3; gap: 0; }
  .has-gsap .service__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 68dvh;
    opacity: .42;
    transition: opacity .5s;
  }
  .has-gsap .service__item.is-active { opacity: 1; }
}

/* --- Marquee ------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding-block: clamp(.75rem, 1.6vw, 1.5rem);
  background: var(--sage);
  color: var(--ink);
  font-size: clamp(2.1rem, 5.6vw, 5.25rem);
  font-weight: 300;
  line-height: 1.1;
  white-space: nowrap;
}
.marquee__inner { display: inline-flex; align-items: center; will-change: transform; }
.marquee__logo {
  flex: none;
  width: auto;
  height: .92em;
  margin-inline: .5em;
  filter: drop-shadow(0 2px 6px rgb(35 36 28 / .28));
}

/* --- Preise -------------------------------------------------------------- */

.prices { padding: var(--gap) var(--pad); background: var(--tint); }
.prices__title {
  max-width: 1460px;
  margin: 0 auto clamp(2.5rem, 6vw, 5rem);
  font-size: clamp(2.8rem, 8vw, 7.5rem);
}
.prices__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  max-width: 1460px;
  margin-inline: auto;
}
.pricegroup h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); margin-bottom: 1.25rem; }
.pricelist { display: grid; gap: .55rem; }
.pricelist > div { display: flex; align-items: baseline; gap: .75rem; }
.pricelist dt {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: .75rem;
  min-width: 0;
}
.pricelist dt::after {
  content: "";
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1.5px dotted var(--line);
  transform: translateY(-.25em);
}
.pricelist dd {
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.prices__photo { aspect-ratio: .72; max-width: 460px; }
.pricegroup__img { width: 104px; margin-bottom: 1rem; }

@media (min-width: 1024px) {
  .prices__grid {
    grid-template-columns: 1fr 1fr minmax(280px, .85fr);
    grid-template-areas:
      "damen damen photo"
      "herren kinder photo";
    column-gap: clamp(2.5rem, 5vw, 5.5rem);
  }
  .pricegroup--damen { grid-area: damen; }
  .pricegroup--herren { grid-area: herren; }
  .pricegroup--kinder { grid-area: kinder; }
  .prices__photo { grid-area: photo; max-width: none; align-self: stretch; aspect-ratio: auto; min-height: 100%; margin-top: clamp(-9rem, -8vw, -3rem); }
  .pricegroup--damen .pricelist { gap: .75rem; font-size: 1.12em; }
  .pricegroup__img { width: 128px; }
}

/* --- Produkte ------------------------------------------------------------ */

.products { padding-block: var(--gap) 0; }
.products__intro {
  max-width: 1460px;
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  padding-inline: var(--pad);
}
.products__intro h2 { font-size: clamp(2.8rem, 8vw, 7.5rem); }
.products__teaser {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.products__teaserimg { width: min(60vw, 300px); }
.products__teaser h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); margin-bottom: 1rem; }
.products__teaser p { max-width: 56ch; color: var(--ink-2); }

.stack { padding-inline: clamp(.75rem, 2vw, 1.5rem); padding-bottom: clamp(.75rem, 2vw, 1.5rem); }
.brand {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 4rem) clamp(1.25rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform-origin: 50% 0;
  box-shadow: 0 -10px 30px rgb(25 26 20 / .14);
}
.brand + .brand { margin-top: clamp(.75rem, 2vw, 1.5rem); }
.brand--a { background: var(--panel-a); }
.brand--b { background: var(--panel-b); }
.brand--c { background: var(--panel-c); }
.brand h3 { font-size: clamp(2.6rem, 6vw, 5.5rem); margin-bottom: 1.25rem; line-height: 1.02; }
.brand__claim { margin-bottom: .5rem; font-style: italic; font-size: 1.1em; }
.brand__text p + p { margin-top: .85rem; }
.brand__text { max-width: 62ch; }
.brand__slogan {
  margin-top: 1.5rem !important;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
}
.brand__media { position: relative; }
.brand__big { aspect-ratio: 4 / 3; }
.brand__big--wide { aspect-ratio: 3 / 2; }
.brand__small {
  position: absolute;
  right: 4%;
  bottom: -1.25rem;
  width: 34%;
  outline: 6px solid var(--paper);
}
.brand--a .brand__small { outline-color: var(--panel-a); }
.brand--b .brand__small { outline-color: var(--panel-b); }

@media (min-width: 1024px) {
  .products__teaser { grid-template-columns: minmax(220px, 3fr) 7fr; align-items: center; column-gap: clamp(2rem, 6vw, 6rem); }
  .products__teaserimg { width: 100%; max-width: 340px; }
  /* Text und Abstände richten sich nach der Fensterhöhe, damit die Panels auch auf kleinen Bildschirmen passen */
  .brand {
    --brand-pad: clamp(1rem, 3.6dvh, 4rem);
    grid-template-columns: 5fr 6fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-block: var(--brand-pad);
  }
  .brand__text { max-width: 70ch; font-size: clamp(.95rem, 2.1dvh, 1.125rem); }
  .brand__claim { margin-bottom: .25rem; }
  .brand h3 { font-size: clamp(2.4rem, min(5.4vw, 9.5dvh), 5.5rem); margin-bottom: clamp(.5rem, 1.6dvh, 1.25rem); }
  .brand__text p + p { margin-top: .7em; }
  .brand__slogan { margin-top: clamp(.75rem, 2dvh, 1.5rem) !important; font-size: clamp(1.25rem, 2.9dvh, 2rem); }
  .brand__big { aspect-ratio: 1 / 1.02; max-height: calc(100dvh - var(--nav-h) - 1.5rem - var(--brand-pad) * 2 - 2px); }
  .brand__big--wide { aspect-ratio: 3 / 2; }

  /* Stapeln nur, wenn main.js gemessen hat, dass jedes Panel ganz ins Fenster passt.
     Sonst laufen die Panels normal durch, und es wird nie Text verdeckt. */
  .stack--stacked .brand {
    position: sticky;
    top: calc(var(--nav-h) + .75rem);
    min-height: calc(100dvh - var(--nav-h) - 1.5rem);
    transform: scale(var(--shrink, 1));
  }
}

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

.contact {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  max-width: 1460px;
  margin-inline: auto;
  padding: var(--gap) var(--pad);
}
.contact h2 { font-size: clamp(2.8rem, 8vw, 7.5rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.contact__info h3 { margin: 2rem 0 .75rem; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.hours { display: grid; gap: .25rem; max-width: 34rem; }
.hours > div {
  display: grid;
  gap: 0 1.5rem;
  padding: .5rem .85rem;
  margin-inline: -.85rem;
  border-radius: var(--radius-sm);
}
.hours dt { font-weight: 500; }
.hours dd { color: var(--ink-2); }
.hours .is-today { background: var(--tint); }
.hours .is-today dt::after {
  content: "Heute";
  margin-left: .6rem;
  color: var(--brick);
  font-weight: 500;
  font-size: .85em;
}
.contact__address { font-style: normal; }
.contact__links { display: grid; gap: .4rem; margin-top: 1.25rem; }
.contact__links a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  text-decoration: none;
  text-underline-offset: 4px;
}
.contact__links a:hover { text-decoration: underline; }
.mapcard {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  text-decoration: none;
}
.mapcard__img { width: 132px; flex: none; transition: transform .6s var(--ease); }
.mapcard__img img { object-position: 52% 64%; }
.mapcard:hover .mapcard__img { transform: scale(1.04); }
.mapcard__label { font-size: 1.15em; font-weight: 500; }

.form {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: clamp(1.5rem, 3.4vw, 3rem);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.form h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.form__row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; }
.req { color: var(--brick); }
.field input, .field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: .7rem 1rem;
  border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--brick);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brick) 28%, transparent);
}
.field.has-error input { border-color: var(--brick); border-width: 2px; }
.field__error { color: var(--brick); font-size: .92em; font-weight: 500; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { font-size: .92em; color: var(--ink-2); }
.form__hint a { text-underline-offset: 3px; }
.form__submit { justify-self: start; min-width: 11rem; }
.form__submit[aria-busy="true"] { opacity: .65; cursor: progress; }
.form__status {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  font-weight: 500;
}
.form__status.is-error { background: color-mix(in srgb, var(--brick) 16%, var(--paper)); }

@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .contact { grid-template-columns: 5fr 6fr; column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .hours > div { grid-template-columns: 11rem 1fr; }
}

/* --- Die Scheune --------------------------------------------------------- */

.neighbor {
  display: grid;
  gap: 2rem;
  max-width: 1460px;
  margin-inline: auto;
  padding: 0 var(--pad) var(--gap);
}
.neighbor__img { aspect-ratio: 4 / 3; }
.neighbor h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.neighbor p { max-width: 46ch; margin-bottom: 1.5rem; color: var(--ink-2); }

@media (min-width: 1024px) {
  .neighbor { grid-template-columns: 7fr 5fr; align-items: center; column-gap: clamp(3rem, 6vw, 6rem); }
  .neighbor__img { aspect-ratio: 16 / 10; }
}

/* --- Unterseiten: Impressum und Datenschutz ------------------------------ */

.subpage-body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.subpage {
  flex: 1;
  width: 100%;
  max-width: 1460px;
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem)) var(--pad) clamp(3rem, 7vw, 6rem);
}
.subpage h1 { font-size: clamp(2.6rem, 8vw, 7.5rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.subpage__back { margin-top: clamp(2.5rem, 5vw, 4rem); }
.legal-text {
  max-width: 76ch;
  color: var(--ink-2);
  hyphens: auto;
  overflow-wrap: anywhere;
}
.legal-text > * + * { margin-top: .8em; }
.legal-text h2, .legal-text h3, .legal-text h4 { color: var(--ink); line-height: 1.25; letter-spacing: 0; hyphens: manual; }
.legal-text h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; }
.legal-text > h2:first-child { margin-top: 0; }
.legal-text h3 { margin-top: 1.7em; font-size: 1.15em; font-weight: 500; }
.legal-text h4 { margin: 1.2em 0 0; font-size: 1em; font-weight: 600; }
.legal-text ul { list-style: disc; padding-left: 1.2em; }
.legal-text li + li { margin-top: .4em; }
.legal-text a { text-underline-offset: 3px; }

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

.footer {
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.footer__logo { width: 120px; }
.footer a { text-underline-offset: 3px; line-height: 2; }

@media (min-width: 768px) {
  .footer { grid-template-columns: 2fr 1fr 1fr 1fr; align-items: start; }
}

/* --- Lightbox ------------------------------------------------------------ */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(.5rem, 3vw, 2.5rem);
  border: 0;
  background: rgb(25 26 20 / .96);
  color: var(--cream);
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(25 26 20 / .96); }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - clamp(1rem, 6vw, 5rem)); object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgb(248 248 232 / .5);
  border-radius: 50%;
  background: rgb(25 26 20 / .6);
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lightbox__btn:hover { background: var(--cream); color: var(--night); }
.lightbox__close { top: 1rem; right: 1rem; z-index: 2; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }

/* --- Einblenden beim Scrollen -------------------------------------------
   Die Klasse .motion setzt ein Skript im <head> vor dem ersten Bild. Die Elemente
   sind dadurch von Anfang an versteckt und werden nur einmal eingeblendet
   (main.js setzt .is-in). Ohne JavaScript oder bei reduzierter Bewegung greift
   nichts davon, und alles ist sofort sichtbar. */
.motion :is(.rv, .pricegroup h3, .pricelist > div, .brand__text > *, .contact__info > *, .form) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.motion :is(.rv, .pricegroup h3, .pricelist > div, .brand__text > *, .contact__info > *, .form).is-in {
  opacity: 1;
  transform: none;
}
@media (max-width: 1023.98px) {
  .motion :is(.shot, .service__item > h3, .service__item > p) { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
  .motion :is(.shot, .service__item > h3, .service__item > p).is-in { opacity: 1; transform: none; }
}
.motion [data-reveal] { transition: clip-path 1.4s var(--ease); }
.motion [data-reveal="rise"] { clip-path: inset(100% 0 0 0 round var(--clip-r, 24px)); }
.motion .frame--arch[data-reveal="rise"] { --clip-r: 999px 999px 24px 24px; }
.motion [data-reveal="rise"].is-in { clip-path: inset(0 0 0 0 round var(--clip-r, 24px)); }
.motion [data-reveal="round"] { clip-path: circle(0% at 50% 50%); }
.motion [data-reveal="round"].is-in { clip-path: circle(72% at 50% 50%); }
/* Nach dem Aufdecken übernimmt der Rahmen selbst (overflow + border-radius, gleiche Form) */
.motion [data-reveal].is-in.is-done { clip-path: none; }
.motion [data-parallax] { transform: scale(1.16); }

/* --- Parallax mobil -------------------------------------------------------
   main.js setzt .css-parallax nur auf schmalen Fenstern und nur, wenn der Browser
   Scroll-Animationen kann. Die Bilder hängen dann direkt an der Scrollposition,
   ohne JavaScript pro Bild. Sonst übernimmt GSAP (wie auf dem Desktop). */
@keyframes parallax-drift {
  from { transform: translateY(-5%) scale(1.16); }
  to { transform: translateY(5%) scale(1.16); }
}
@keyframes parallax-hero {
  from { transform: none; }
  to { transform: translateY(6%); }
}
@media (max-width: 1023.98px) {
  .motion [data-parallax], .motion .hero__aperture img { will-change: transform; }
  .css-parallax :has(> [data-parallax]) { view-timeline: --parallax block; }
  .css-parallax [data-parallax] {
    animation: parallax-drift linear both;
    animation-timeline: --parallax;
    animation-range: cover;
  }
  .css-parallax .hero { view-timeline: --hero block; }
  .css-parallax .hero__aperture img {
    animation: parallax-hero linear both;
    animation-timeline: --hero;
    animation-range: exit;
  }
}

/* --- Bewegung reduzieren ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .nav, .marquee, .hero__mirror, .hero__ring, .lightbox, .form { display: none !important; }
  .hero { height: auto; min-height: 0; background: none; color: #111; }
  .hero__aperture, .hero__wall, .hero__counter { display: none; }
  .hero__copy { position: static; visibility: visible !important; }
}
