/* ==========================================================================
   Nazim Barbershop — Felixdorf
   Implementation of "Website Nazim Barbershop.dc.html" (Claude Design handoff),
   tuned mobile-first: phones are the primary target, desktop is the enhancement.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, latin subset, variable weight)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/eb-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --nz-bg: #070605;
  --nz-btn-ink: #1a1207;

  /* Gold ramp */
  --nz-gold: #e0b45c;        /* links */
  --nz-gold-hi: #f4dc9a;     /* link hover */
  --nz-gold-dim: #d3a342;    /* eyebrows, hairlines */
  --nz-gold-mid: #e8c26a;    /* prices, accents */
  --nz-gold-soft: #f0d18a;   /* headings */
  --nz-gold-pale: #f7e6b0;   /* featured heading */

  /* Text */
  --nz-ink: #eed9a6;         /* body */
  --nz-ink-warm: #e0c48a;
  --nz-ink-soft: #d8b77a;
  --nz-ink-hero: #e9cf8f;
  --nz-script: #c8a878;
  --nz-muted: #a88b55;
  --nz-muted-deep: #9a8559;  /* was #7d6a45 (3.9:1) — now passes WCAG AA on --nz-bg */

  /* Type */
  --nz-display: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --nz-body: "EB Garamond", Georgia, "Times New Roman", serif;

  /* Gold foil gradients */
  --nz-foil-h: linear-gradient(100deg, #a0702a 0%, #dfb460 18%, #f7e6b0 34%, #dcae5a 48%, #b8842f 62%, #eecf88 78%, #a9762a 100%);
  --nz-foil-v: linear-gradient(178deg, #a0702a 0%, #dfb460 22%, #f7e6b0 42%, #dcae5a 58%, #b8842f 78%, #eecf88 94%, #a9762a 100%);
  --nz-foil-btn: linear-gradient(178deg, #dfb460, #b8842f);

  /* Layout */
  --nz-gutter: 20px;
  --nz-safe-l: max(var(--nz-gutter), env(safe-area-inset-left));
  --nz-safe-r: max(var(--nz-gutter), env(safe-area-inset-right));

  /* Motion */
  --nz-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the fixed nav (incl. the notch) */
  scroll-padding-top: calc(72px + env(safe-area-inset-top));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--nz-bg);
  color: var(--nz-ink);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--nz-body);
  /* scale a Georgia fallback to EB Garamond's x-height while the font swaps */
  font-size-adjust: from-font;
}

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

@media (hover: hover) {
  a:hover { color: var(--nz-gold-hi); }
}

:where(a, button):focus-visible {
  outline: 2px solid var(--nz-gold-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg { display: block; }

img { max-width: 100%; }

h1, h2, h3, p, figure, figcaption, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

/* Skip link: hidden until it receives keyboard focus */
.nz-skip {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top));
  left: 50%;
  z-index: 100;
  translate: -50% -200%;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--nz-foil-btn);
  color: var(--nz-btn-ink);
  font-weight: 600;
}
.nz-skip:focus-visible { translate: -50% 0; }

.nz-page {
  position: relative;
  min-height: 100vh;
  background: var(--nz-bg);
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   4. Keyframes — transform / opacity only, so they stay on the compositor
   -------------------------------------------------------------------------- */
@keyframes nz-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes nz-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes nz-drift {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1.14) translateY(-2.5%); }
}
@keyframes nz-ring {
  0%       { transform: scale(1); opacity: .7; }
  70%,100% { transform: scale(1.12, 1.45); opacity: 0; }
}
@keyframes nz-ken {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes nz-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* --------------------------------------------------------------------------
   5. Scroll reveal
   -------------------------------------------------------------------------- */
.nz-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--nz-ease), transform .9s var(--nz-ease);
}
.nz-reveal.nz-in {
  opacity: 1;
  transform: none;
}

.nz-price {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .6s ease, transform .6s var(--nz-ease);
}
.nz-in .nz-price { opacity: 1; transform: none; }
.nz-in .nz-price:nth-child(1) { transition-delay: .05s; }
.nz-in .nz-price:nth-child(2) { transition-delay: .12s; }
.nz-in .nz-price:nth-child(3) { transition-delay: .19s; }
.nz-in .nz-price:nth-child(4) { transition-delay: .26s; }
.nz-in .nz-price:nth-child(5) { transition-delay: .33s; }
.nz-in .nz-price:nth-child(6) { transition-delay: .40s; }

.nz-rule {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s var(--nz-ease) .15s;
}
.nz-in .nz-rule { transform: scaleX(1); }
.nz-rule--right { transform-origin: right; }
.nz-rule--center { transform-origin: center; }

/* No-JS fallback: never hide content behind an observer that will not run. */
.no-js .nz-reveal,
.no-js .nz-price,
.no-js .nz-rule {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   6. Shared pieces
   -------------------------------------------------------------------------- */
.nz-eyebrow {
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: 4px;
  text-indent: 4px;
  color: var(--nz-gold-dim);
}

.nz-heading {
  font-family: var(--nz-display);
  font-weight: 500;
  font-size: clamp(2.125rem, 1.25rem + 4vw, 3.375rem);
  line-height: 1.05;
  color: var(--nz-gold-soft);
  text-wrap: balance;
}

.nz-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.nz-underline {
  width: 120px;
  height: 1px;
  background: var(--nz-gold-dim);
  margin-top: 6px;
}

/* Buttons — 50px tall, well above the 44px touch-target minimum */
.nz-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: .9375rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .18s var(--nz-ease), filter .18s ease, background-color .18s ease;
}

/* Touch feedback — phones have no hover, so give the press itself a response */
.nz-btn:active { transform: scale(.96); }

.nz-btn--gold {
  background: var(--nz-foil-btn);
  color: var(--nz-btn-ink);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.nz-btn--gold:active { filter: brightness(.92); }

@media (hover: hover) {
  .nz-btn--gold:hover { color: var(--nz-btn-ink); filter: brightness(1.06); }
}

.nz-btn--ghost {
  border: 1px solid rgba(224, 180, 92, .7);
  color: var(--nz-gold-soft);
  background-color: rgba(7, 6, 5, .35);
}
.nz-btn--ghost:active { background-color: rgba(224, 180, 92, .14); }

/* Attention ring on the primary call button. Animating box-shadow repaints
   every frame; a scaled pseudo-element stays on the GPU. */
.nz-btn--pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(224, 180, 92, .55);
  pointer-events: none;
  opacity: 0;
  animation: nz-ring 2.6s ease-out 2s infinite;
}

/* "Ohne Termin" — the shop is walk-in only, so say it loud in the hero */
.nz-walkin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--nz-gold-pale);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
  text-wrap: balance;
  animation: nz-fade-up 1.1s .5s var(--nz-ease) both;
}
.nz-walkin strong {
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nz-gold-mid);
}
.nz-walkin__icon { flex: none; color: var(--nz-gold-mid); }

/* Live "open now" pill */
.nz-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(211, 163, 66, .35);
  background: rgba(7, 6, 5, .55);
  font-size: .9375rem;
  letter-spacing: .3px;
  color: var(--nz-ink);
  animation: nz-fade-up 1.1s .52s var(--nz-ease) both;
}
.nz-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nz-muted);
}
.nz-status--open::before {
  background: #9fd38a;
  box-shadow: 0 0 0 3px rgba(159, 211, 138, .18);
  animation: nz-blink 2.4s ease-in-out infinite;
}
.nz-status strong { font-weight: 600; color: var(--nz-gold-soft); }

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.nz-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) var(--nz-safe-r) 10px var(--nz-safe-l);
  background: linear-gradient(180deg, rgba(7, 6, 5, .92), rgba(7, 6, 5, .6) 70%, rgba(7, 6, 5, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nz-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  flex: none;
}

.nz-nav__mark {
  width: 34px;
  height: auto;
}

.nz-nav__wordmark {
  display: none; /* the hero already shows the name; on narrow phones the room goes to the links */
  font-family: var(--nz-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 2px;
  color: var(--nz-gold-mid);
}

.nz-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* On phones the section links ARE the navigation; the call button lives in
   the hero and the bottom action bar instead, so it never appears twice. */
.nz-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 9px;
  font-size: .8125rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--nz-gold-dim);
  position: relative;
  touch-action: manipulation;
}

.nz-nav__link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .35s var(--nz-ease);
}

.nz-nav__link[aria-current="true"] { color: var(--nz-gold-soft); }
.nz-nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nz-nav__link:active { color: var(--nz-gold-hi); }

.nz-nav__call {
  display: none; /* desktop only — see breakpoint */
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(211, 163, 66, .7);
  border-radius: 999px;
  font-size: .8125rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--nz-gold-soft);
  background: rgba(7, 6, 5, .35);
}

.nz-nav__call svg { flex: none; }

@media (min-width: 27.5em) {
  .nz-nav__wordmark { display: inline; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.nz-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.nz-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: nz-drift 18s ease-in-out infinite alternate;
  z-index: -2;
}

.nz-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(6, 5, 4, .55) 0%,
    rgba(6, 5, 4, .15) 30%,
    rgba(6, 5, 4, .25) 50%,
    rgba(6, 5, 4, .9) 78%,
    var(--nz-bg) 100%);
}

.nz-hero__inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: calc(88px + env(safe-area-inset-top)) var(--nz-safe-r) calc(28px + env(safe-area-inset-bottom)) var(--nz-safe-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.nz-hero__place {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: nz-fade-up 1.1s .15s var(--nz-ease) both;
}

.nz-hero__place::before,
.nz-hero__place::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--nz-gold-dim);
}

.nz-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--nz-display);
  font-weight: 600;
  line-height: .9;
  text-transform: uppercase;
  white-space: nowrap;
  background-image: var(--nz-foil-h);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .8));
  /* The foil sweep repaints a filtered text layer every frame — run it twice
     as an entrance flourish instead of forever, which drains phone batteries. */
  animation:
    nz-fade-up 1.1s .3s var(--nz-ease) both,
    nz-shimmer 7s linear 1.4s 2;
}

.nz-hero__title-name {
  font-size: clamp(3.5rem, .5rem + 15vw, 8.75rem);
  letter-spacing: .14em;
  text-indent: .14em;
}

.nz-hero__title-kind {
  font-size: clamp(2.375rem, .25rem + 10.4vw, 6rem);
  letter-spacing: .02em;
}

.nz-hero__tagline {
  font-family: var(--nz-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1875rem, .9rem + 1.5vw, 1.625rem);
  line-height: 1.25;
  color: var(--nz-ink-hero);
  max-width: 34ch;
  text-wrap: pretty;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
  animation: nz-fade-up 1.1s .45s var(--nz-ease) both;
}

.nz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  animation: nz-fade-up 1.1s .6s var(--nz-ease) both;
}

/* Thumb-friendly: on phones the two hero buttons share the full width */
.nz-hero__actions .nz-btn { flex: 1 1 0; max-width: 220px; }

.nz-hero__scroll {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: .7;
  font-size: .6875rem;
  letter-spacing: 3px;
  color: var(--nz-gold-dim);
  animation: nz-fade-up 1.1s .9s var(--nz-ease) both;
}

.nz-hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--nz-gold-dim), rgba(211, 163, 66, 0));
}

/* Short phones (iPhone SE, landscape): drop the scroll cue, keep the CTA in view */
@media (max-height: 700px) {
  .nz-hero__scroll { display: none; }
  .nz-hero__inner { gap: 12px; }
}

/* --------------------------------------------------------------------------
   8b. Animated logo — "Der große Auftritt"
   The logo PNG is split into layers (assets/img/logo/): ring, core (N + type),
   crown, scissors. Positions are percentages of the original 404×443 artwork,
   so the stack scales with the button. Static by default; all motion is opted
   into under prefers-reduced-motion: no-preference. Everything ends < 5 s
   (WCAG 2.2.2) — a tap replays it.
   -------------------------------------------------------------------------- */
@property --nz-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 370deg; /* fully revealed = the static state */
}

.nz-logo {
  position: relative;
  width: clamp(92px, 28vw, 124px);
  aspect-ratio: 404 / 443;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 50%;
}
.nz-logo:focus-visible { outline-offset: 6px; border-radius: 50%; }

.nz-logo__stage {
  position: absolute;
  inset: 0;
  isolation: isolate; /* keeps the screen-blended light inside the logo */
  filter: drop-shadow(0 0 18px rgba(232, 189, 96, .35));
}

.nz-logo__stage > * { position: absolute; }

.nz-logo__ring,
.nz-logo__core,
.nz-logo__glint {
  inset: 0;
  width: 100%;
  height: 100%;
}

.nz-logo__ring {
  -webkit-mask-image: conic-gradient(from 0deg, #000 calc(var(--nz-sweep) - 14deg), transparent var(--nz-sweep));
  mask-image: conic-gradient(from 0deg, #000 calc(var(--nz-sweep) - 14deg), transparent var(--nz-sweep));
}

/* Spark riding the ring. The ring is (almost exactly) the box's own ellipse,
   so: a square that rotates, squashed to the box's aspect ratio. */
.nz-logo__orbit {
  left: 50%;
  top: 50%;
  width: 95.6%;
  aspect-ratio: 1;
  translate: -50% -50%;
  scale: 1 1.0965;          /* 443 / 404 */
  pointer-events: none;
}
.nz-logo__rotor { position: absolute; inset: 0; }
.nz-logo__spark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0 18%, rgba(247, 230, 176, .85) 30%, rgba(224, 180, 92, 0) 70%);
  opacity: 0;
}

.nz-logo__crown    { left: 42.08%; top: 9.03%;  width: 16.34%; height: auto; transform-origin: 50% 100%; }
.nz-logo__scissors { left: 44.06%; top: 81.26%; width: 14.11%; height: auto; transform-origin: 50% 50%; }

/* Light travelling down the barber pole, masked to the pole's own pixels */
.nz-logo__pole {
  left: 22.28%;
  top: 18.96%;
  width: 12.87%;
  height: 37.47%;
  overflow: hidden;
  -webkit-mask: url("assets/img/logo/pole.webp") 0 0 / 100% 100% no-repeat;
  mask: url("assets/img/logo/pole.webp") 0 0 / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
.nz-logo__pole::before,
.nz-logo__pole::after {
  content: "";
  position: absolute;
  left: -60%;
  right: -60%;
  top: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 247, 220, 0), rgba(255, 247, 220, .95) 50%, rgba(255, 247, 220, 0));
  transform: translateY(-200%) skewY(-30deg);
}

/* Foil glint across the whole silhouette */
.nz-logo__glint {
  overflow: hidden;
  -webkit-mask: url("assets/img/logo/mask.webp") 0 0 / 100% 100% no-repeat;
  mask: url("assets/img/logo/mask.webp") 0 0 / 100% 100% no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}
.nz-logo__glint::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 55%;
  background: linear-gradient(100deg, rgba(255, 247, 220, 0) 15%, rgba(255, 247, 220, .85) 50%, rgba(255, 247, 220, 0) 85%);
  transform: translateX(-130%);
}

/* Sparkles where the crown lands */
.nz-logo__sparkles {
  left: 50%;
  top: 16%;
  width: 0;
  height: 0;
}
.nz-logo__sparkles i {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: #fff3cf;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  transform: scale(0);
}
.nz-logo__sparkles i:nth-child(1) { --dx: -34px; --dy: -14px; }
.nz-logo__sparkles i:nth-child(2) { --dx:  34px; --dy: -16px; }
.nz-logo__sparkles i:nth-child(3) { --dx: -24px; --dy: -34px; width: 6px; height: 6px; }
.nz-logo__sparkles i:nth-child(4) { --dx:  22px; --dy: -36px; width: 6px; height: 6px; }
.nz-logo__sparkles i:nth-child(5) { --dx: -44px; --dy:   6px; width: 5px; height: 5px; }
.nz-logo__sparkles i:nth-child(6) { --dx:  44px; --dy:   4px; width: 5px; height: 5px; }

/* Speech bubble for the tap easter egg (text set by main.js) */
.nz-logo__bubble {
  position: absolute;
  left: 78%;
  bottom: 86%;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 14px 14px 14px 3px;
  background: var(--nz-foil-btn);
  color: var(--nz-btn-ink);
  font-family: var(--nz-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  pointer-events: none;
  opacity: 0;
  transform-origin: 0 100%;
}
.nz-logo__bubble--wide { white-space: normal; width: max-content; max-width: 11.5rem; }

/* Hair clippings spawned by main.js */
.nz-clip {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

/* JS gate: hold the stage hidden until the layer images have decoded, so the
   intro never plays over half-loaded art. Failsafe reveals it after 2.5 s. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes nz-logo-failsafe { to { opacity: 1; } }
  html:not(.no-js) .nz-logo:not(.is-ready) .nz-logo__stage {
    opacity: 0;
    animation: nz-logo-failsafe .3s 2.5s forwards;
  }

  @keyframes nz-logo-sweep  { from { --nz-sweep: 0deg; } to { --nz-sweep: 370deg; } }
  @keyframes nz-logo-orbit  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes nz-logo-spark  { 0% { opacity: 0; } 8%, 85% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes nz-logo-core   {
    from { opacity: 0; transform: scale(.78); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes nz-logo-crown  {
    0%   { opacity: 0; transform: translateY(-190%) rotate(-28deg); }
    45%  { opacity: 1; }
    58%  { transform: translateY(6%) rotate(5deg) scale(1.06, .9); }
    72%  { transform: translateY(-14%) rotate(-4deg); }
    86%  { transform: translateY(2%) rotate(1.5deg) scale(1.02, .97); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes nz-logo-snip {
    0%, 100% { transform: none; }
    20%  { transform: scaleY(.42) rotate(-4deg); }   /* blades close */
    40%  { transform: none; }
    62%  { transform: scaleY(.42) rotate(4deg); }
    82%  { transform: none; }
  }
  @keyframes nz-logo-pop-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
  @keyframes nz-logo-pole   { from { transform: translateY(-200%) skewY(-30deg); } to { transform: translateY(420%) skewY(-30deg); } }
  @keyframes nz-logo-glint  { from { transform: translateX(-130%); } to { transform: translateX(230%); } }
  @keyframes nz-logo-sparkle {
    0%   { opacity: 0; transform: translate(0, 0) scale(0) rotate(0); }
    30%  { opacity: 1; transform: translate(calc(var(--dx) * .7), calc(var(--dy) * .7)) scale(1.2) rotate(45deg); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0) rotate(90deg); }
  }

  .nz-logo.is-intro .nz-logo__ring     { animation: nz-logo-sweep 1.25s cubic-bezier(.65, 0, .35, 1) both; }
  .nz-logo.is-intro .nz-logo__rotor    { animation: nz-logo-orbit 1.25s cubic-bezier(.65, 0, .35, 1) both; }
  .nz-logo.is-intro .nz-logo__spark    { animation: nz-logo-spark 1.35s ease both; }
  .nz-logo.is-intro .nz-logo__core     { animation: nz-logo-core .95s .45s cubic-bezier(.34, 1.4, .64, 1) both; }
  .nz-logo.is-intro .nz-logo__scissors { animation: nz-logo-pop-in .5s .7s cubic-bezier(.34, 1.56, .64, 1) both, nz-logo-snip .62s 2.15s ease-in-out; }
  .nz-logo.is-intro .nz-logo__crown    { animation: nz-logo-crown 1s 1.15s cubic-bezier(.3, .7, .4, 1) both; }
  .nz-logo.is-intro .nz-logo__sparkles i { animation: nz-logo-sparkle .75s 1.72s ease-out both; }
  .nz-logo.is-intro .nz-logo__pole::before { animation: nz-logo-pole 1.3s 1.1s linear 2; }
  .nz-logo.is-intro .nz-logo__pole::after  { animation: nz-logo-pole 1.3s 1.75s linear 2; }
  .nz-logo.is-intro .nz-logo__glint::before { animation: nz-logo-glint 1.15s 2.95s cubic-bezier(.45, 0, .2, 1); }

  /* A cheeky lean when you point at it (desktop) */
  .nz-logo__crown,
  .nz-logo__scissors { transition: rotate .4s cubic-bezier(.34, 1.56, .64, 1), translate .4s cubic-bezier(.34, 1.56, .64, 1); }
  @media (hover: hover) {
    .nz-logo:hover .nz-logo__crown    { rotate: -9deg; translate: 0 -7%; }
    .nz-logo:hover .nz-logo__scissors { rotate: 8deg; }
  }
}

/* --------------------------------------------------------------------------
   9. Intro
   -------------------------------------------------------------------------- */
.nz-intro {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px var(--nz-safe-r) 16px var(--nz-safe-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.nz-ornament-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.nz-ornament-rule__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 163, 66, 0), var(--nz-gold-dim));
}

.nz-ornament-rule__line--flip {
  background: linear-gradient(270deg, rgba(211, 163, 66, 0), var(--nz-gold-dim));
}

.nz-ornament-rule__mark { width: 34px; height: auto; }

.nz-intro__text {
  font-size: clamp(1.0625rem, .95rem + .6vw, 1.25rem);
  line-height: 1.6;
  color: var(--nz-ink-soft);
  max-width: 52ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   10. Prices
   -------------------------------------------------------------------------- */
.nz-prices {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px var(--nz-safe-r) 40px var(--nz-safe-l);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nz-prices__title {
  font-family: var(--nz-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  background-image: var(--nz-foil-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* "Gut zu wissen" chips: walk-in + cash only, right where prices are read */
.nz-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -6px;
}
.nz-fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(232, 194, 106, .55);
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(42, 31, 15, .9), rgba(13, 10, 6, .9));
  font-size: 1rem;
  line-height: 1.25;
  color: var(--nz-ink);
}
.nz-fact svg { flex: none; color: var(--nz-gold-mid); }
.nz-fact strong { font-weight: 600; color: var(--nz-gold-soft); }

.nz-prices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.nz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(211, 163, 66, .35);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(24, 19, 12, .85), rgba(10, 8, 6, .9));
}

.nz-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 163, 66, 0), var(--nz-gold-mid), rgba(211, 163, 66, 0));
}

.nz-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.nz-card__title {
  font-family: var(--nz-display);
  font-weight: 600;
  font-size: 1.625rem;
  letter-spacing: 1px;
  color: var(--nz-gold-soft);
}

.nz-card__mark {
  width: 26px;
  height: auto;
  opacity: .9;
}

.nz-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nz-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--nz-ink);
}

.nz-price > span:first-child { min-width: 0; text-wrap: pretty; }

.nz-price__leader {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted rgba(211, 163, 66, .5);
  transform: translateY(-4px);
}

.nz-price__amount {
  color: var(--nz-gold-mid);
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

/* Featured package */
.nz-feature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 22px;
  border-radius: 6px;
  border: 1px solid rgba(232, 194, 106, .8);
  background: linear-gradient(160deg, #2a1f0f, #0d0a06 60%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}

.nz-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(232, 194, 106, .18), rgba(0, 0, 0, 0) 60%);
}

.nz-feature > * { position: relative; }

.nz-feature__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .6875rem;
  letter-spacing: 3px;
  color: var(--nz-gold-dim);
}

.nz-feature__tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--nz-gold-dim);
}

.nz-feature__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.nz-feature__title {
  font-family: var(--nz-display);
  font-weight: 600;
  font-size: 1.875rem;
  letter-spacing: .5px;
  color: var(--nz-gold-pale);
}

.nz-feature__price {
  font-family: var(--nz-display);
  font-weight: 600;
  font-size: 2.125rem;
  color: var(--nz-gold-soft);
  white-space: nowrap;
}

.nz-feature__desc {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--nz-ink-warm);
  text-wrap: pretty;
}

.nz-feature__cta {
  margin-top: 6px;
  box-shadow: none;
}

.nz-prices__note strong,
.nz-tile__note strong { font-weight: 600; color: var(--nz-gold-soft); }

.nz-tile__note {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(211, 163, 66, .25);
  font-size: .9375rem;
  color: var(--nz-ink-soft);
}

.nz-prices__note {
  text-align: center;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--nz-muted);
  letter-spacing: .3px;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   11. Gallery
   -------------------------------------------------------------------------- */
.nz-gallery {
  position: relative;
  padding: 48px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.nz-gallery__head { padding: 0 var(--nz-safe-r) 0 var(--nz-safe-l); }

.nz-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.nz-shot {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(211, 163, 66, .35);
  aspect-ratio: 3 / 4;
  background: #120e09; /* placeholder tone while the lazy image arrives */
}

.nz-shot--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.nz-shot picture { display: contents; }

.nz-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--nz-ease);
}

/* Hover zoom only where hover exists — on touch it would stick after a tap */
@media (hover: hover) {
  .nz-shot:hover img { transform: scale(1.05); }
}

.nz-shot--wide img { object-position: 50% 55%; }
.nz-shot--chairs img { object-position: 50% 45%; }
.nz-shot--exterior img { object-position: 50% 40%; }

.nz-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-family: var(--nz-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--nz-gold-soft);
  background: linear-gradient(0deg, rgba(7, 6, 5, .85), rgba(7, 6, 5, 0));
}

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */
.nz-contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 40px;
}

.nz-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  z-index: -2;
  animation: nz-ken 20s ease-in-out infinite alternate;
}

.nz-contact__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--nz-bg) 0%, rgba(7, 6, 5, .8) 25%, rgba(7, 6, 5, .85) 100%);
}

.nz-contact__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px var(--nz-safe-r) 48px var(--nz-safe-l);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nz-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

/* No backdrop-filter here: four blurred tiles over an animated photo re-blur
   every frame and stutter on mid-range Android. A denser fill reads the same. */
.nz-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(211, 163, 66, .4);
  border-radius: 6px;
  background: rgba(10, 8, 6, .84);
  color: inherit;
}

a.nz-tile {
  touch-action: manipulation;
  transition: border-color .35s ease, background-color .2s ease, transform .18s var(--nz-ease);
}
a.nz-tile:active {
  transform: scale(.985);
  border-color: rgba(211, 163, 66, .85);
  background-color: rgba(28, 22, 13, .9);
}

@media (hover: hover) {
  a.nz-tile:hover {
    color: inherit;
    border-color: rgba(211, 163, 66, .85);
    background-color: rgba(18, 14, 9, .88);
  }
}

.nz-tile__label {
  font-weight: 600;
  font-size: .6875rem;
  letter-spacing: 3px;
  color: var(--nz-gold-dim);
}

.nz-tile__value {
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--nz-ink);
}

.nz-tile__action {
  font-size: .9375rem;
  color: var(--nz-gold-dim);
  margin-top: 4px;
}

.nz-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--nz-ink);
}

.nz-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -8px;
  padding: 3px 8px;
  border-radius: 4px;
}

.nz-hours__time {
  color: var(--nz-gold-mid);
  font-variant-numeric: lining-nums tabular-nums;
}
.nz-hours__time--closed { color: var(--nz-muted); }

/* Today's row, marked by main.js */
.nz-hours__row--today {
  background: rgba(211, 163, 66, .12);
  color: var(--nz-gold-pale);
}
.nz-hours__row--today dt { font-weight: 600; }

.nz-tile--social {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.nz-tile__icon {
  flex: none;
  color: var(--nz-gold-mid);
}

/* A QR code only makes sense on a screen you are NOT holding */
.nz-tile__qr {
  display: none;
  width: 64px;
  height: auto;
  border-radius: 6px;
}

.nz-tile__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nz-tile--social .nz-tile__action { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.nz-footer {
  position: relative;
  padding: 34px var(--nz-safe-r) calc(34px + env(safe-area-inset-bottom)) var(--nz-safe-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  background: var(--nz-bg);
}

/* Without JS the action bar is permanently visible, so leave room for it */
.no-js .nz-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

.nz-footer__mark { width: 40px; height: auto; }

.nz-footer__motto {
  font-family: var(--nz-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--nz-script);
}

.nz-footer__legal {
  font-size: .8125rem;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--nz-muted-deep);
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   14. Mobile action bar
   -------------------------------------------------------------------------- */
.nz-actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: linear-gradient(0deg, rgba(7, 6, 5, .98), rgba(7, 6, 5, .85));
  border-top: 1px solid rgba(211, 163, 66, .3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .45s var(--nz-ease), opacity .3s ease, visibility .45s;
}

/* The bar is only shown while no other call/route buttons are on screen:
   main.js hides it over the hero (own buttons) and over the contact section
   (tiles with phone + route). Without JS the `no-js` class survives and the
   bar is simply always visible. */
html:not(.no-js) .nz-actionbar {
  transform: translateY(115%);
  opacity: 0;
  visibility: hidden;
}

html:not(.no-js) .nz-actionbar.nz-actionbar--in {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.nz-actionbar .nz-btn {
  flex: 1;
  min-height: 48px;
  padding: 0 12px;
  font-size: .875rem;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   15. Tablet / desktop
   -------------------------------------------------------------------------- */
@media (min-width: 51.25em) {
  :root { --nz-gutter: 24px; }

  .nz-nav { padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 14px; }
  .nz-nav__links { gap: 10px; }
  .nz-nav__link { font-size: .875rem; letter-spacing: 2px; }
  .nz-nav__call { display: inline-flex; }

  .nz-hero__inner { padding-bottom: 40px; gap: 16px; }
  .nz-hero__actions .nz-btn { flex: 0 0 auto; }

  .nz-tile__icon { display: none; }
  .nz-tile__qr { display: block; }

  .nz-actionbar { display: none; }
  .nz-footer,
  .no-js .nz-footer { padding-bottom: 48px; }
}

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .nz-reveal,
  .nz-price,
  .nz-rule {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .nz-actionbar,
  .nz-btn { transition: none; }

  *, *::before, *::after { animation: none !important; }
  .nz-btn--pulse::after { display: none; }
}
