/* =========================================================
   JAHN BARBERSHOP â€” Stylesheet
   Palette inspiriert vom Laden: Schwarz-Marmor, Gold, GrÃ¼n,
   weiÃŸe Hexagon-LED-Decke.
   ========================================================= */

:root {
  --bg: #0a0a0c;
  --bg-2: #101014;
  --bg-3: #16161b;
  --panel: #121217;

  --gold: #d4af37;
  --gold-light: #f6e4a3;
  --gold-deep: #9c7a23;
  --gold-grad: linear-gradient(135deg, #f6e4a3 0%, #d4af37 45%, #9c7a23 100%);

  --green: #2f5d49;
  --green-light: #4f8a6b;
  --green-deep: #1a3a2c;

  --led: #eaf6ff;
  --led-glow: rgba(225, 245, 255, 0.85);

  --text: #ececef;
  --muted: #9a9aa3;
  --line: rgba(212, 175, 55, 0.16);

  --maxw: 1180px;
  --r: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .brand__text {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-weight: 700;
}

.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

/* Subtiler Marmor-/Gold-Glanz als globaler Hintergrund */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(47,93,73,0.14), transparent 55%),
    linear-gradient(180deg, #0a0a0c, #08080a 60%, #0a0a0c);
}
/* feine "Marmoradern" */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; opacity: 0.05; pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 49.6%, rgba(246,228,163,0.7) 49.9%, transparent 50.3%),
    linear-gradient(75deg, transparent 69.6%, rgba(246,228,163,0.5) 69.85%, transparent 70.2%);
  background-size: 480px 480px, 700px 700px;
}

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-content: center; justify-items: center; gap: 0.4rem;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__name {
  font-family: "Cinzel", serif; font-weight: 800; font-size: clamp(2rem, 7vw, 3.4rem);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.18em;
}
.preloader__sub { letter-spacing: 0.5em; font-size: 0.7rem; color: var(--muted); padding-left: 0.5em; }
.pole {
  width: 16px; height: 86px; border-radius: 10px; overflow: hidden; margin-bottom: 1rem;
  border: 2px solid var(--gold); box-shadow: 0 0 20px rgba(212,175,55,0.4);
}
.pole span {
  display: block; width: 100%; height: 200%;
  background: repeating-linear-gradient(45deg, #fff 0 8px, var(--green) 8px 16px, #b11 16px 24px, var(--green) 24px 32px);
  animation: pole 1s linear infinite;
}
@keyframes pole { to { transform: translateY(-50%); } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 1.15rem 0;
}
.nav.scrolled {
  background: rgba(10,10,12,0.82);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(0,0,0,0.9);
  padding: 0.7rem 0;
}
.nav__inner { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand__mark { color: var(--gold); display: grid; place-content: center; filter: drop-shadow(0 0 8px rgba(212,175,55,0.5)); }
.brand__text { display: flex; flex-direction: column; font-size: 1.15rem; line-height: 0.95; letter-spacing: 0.12em; }
.brand__text small { font-size: 0.52rem; letter-spacing: 0.45em; color: var(--gold); font-family: "Jost", sans-serif; font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-size: 0.92rem; color: var(--text); position: relative; padding: 0.2rem 0; letter-spacing: 0.03em; transition: color 0.3s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold-grad); transition: width 0.35s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--gold-light); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__cta { margin-left: 0.4rem; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: 0.35s var(--ease); border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.04em; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s; white-space: nowrap;
}
.btn--gold { background: var(--gold-grad); color: #1a1408; box-shadow: 0 10px 30px -10px rgba(212,175,55,0.6); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(212,175,55,0.8); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn--green { background: linear-gradient(135deg, var(--green-light), var(--green-deep)); color: #eafff4; box-shadow: 0 10px 30px -12px rgba(47,93,73,0.8); }
.btn--green:hover { transform: translateY(-3px); }
.btn--block { width: 100%; }

/* =========================================================
   HERO + HEXAGON LED DECKE
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; overflow: hidden; padding: 7rem 1rem 4rem;
}
.hero__honeycomb {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 130%; max-width: 1500px; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 88%);
          mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 88%);
}
.hero__honeycomb svg { width: 100%; height: auto; display: block; }
.hex-tube {
  fill: none; stroke: var(--led); stroke-width: 2.4; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--led-glow)) drop-shadow(0 0 16px rgba(160,210,255,0.55));
  animation: ledFlicker 6s ease-in-out infinite;
}
@keyframes ledFlicker {
  0%, 100% { opacity: 0.95; }
  48% { opacity: 0.95; }
  49% { opacity: 0.45; }
  50% { opacity: 1; }
  51% { opacity: 0.7; }
  52% { opacity: 1; }
  80% { opacity: 0.88; }
}

.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 8%, rgba(225,245,255,0.16), transparent 70%),
    radial-gradient(50% 50% at 50% 70%, rgba(47,93,73,0.18), transparent 70%);
}

.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow { letter-spacing: 0.45em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold); margin-bottom: 1.1rem; padding-left: 0.45em; }
.hero__title { font-size: clamp(3rem, 12vw, 7.5rem); font-weight: 800; line-height: 0.94; margin-bottom: 1.4rem; }
.hero__title .line { display: block; }
.hero__title .line--gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 6s linear infinite;
  font-size: 0.62em; letter-spacing: 0.22em;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero__tag { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__meta { display: flex; gap: clamp(1.4rem, 5vw, 3.4rem); justify-content: center; margin-top: 3.2rem; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: "Cinzel", serif; font-size: 1.7rem; color: var(--gold-light); }
.hero__meta span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

.hero__scroll { position: absolute; bottom: 1.7rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(212,175,55,0.04), rgba(47,93,73,0.06)); padding: 0.9rem 0; }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: "Cinzel", serif; font-size: 1.1rem; letter-spacing: 0.12em; color: var(--gold-light); opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.eyebrow { letter-spacing: 0.4em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold); margin-bottom: 0.9rem; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.8rem; }
.section__lead, .section__head .section__lead { color: var(--muted); }
h2 .eyebrow { display: block; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about__media .ph--tall { grid-row: span 2; aspect-ratio: 3/5; }
.about__media .ph--small { aspect-ratio: 4/5; align-self: end; }
.about__text h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 1.2rem; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__text strong { color: var(--gold-light); font-weight: 600; }
.about__list { margin: 1.4rem 0 2rem; display: grid; gap: 0.7rem; }
.about__list li { position: relative; padding-left: 1.8rem; color: var(--text); }
.about__list li::before { content: "\2726"; position: absolute; left: 0; color: var(--gold); }

/* =========================================================
   PLACEHOLDER / BILD-RAHMEN
   ========================================================= */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(47,93,73,0.25), transparent 60%),
    linear-gradient(135deg, #16161b, #0d0d10);
  border: 1px solid var(--line);
  isolation: isolate;
}
.ph img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; transition: transform 0.7s var(--ease); }
.ph-label {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center;
  font-family: "Cinzel", serif; letter-spacing: 0.12em; font-size: 0.8rem; color: rgba(212,175,55,0.55);
  text-align: center; padding: 1rem;
}
.ph-label::before { content: "\2B21"; display: block; font-size: 2rem; margin-bottom: 0.4rem; color: rgba(212,175,55,0.4); }

/* =========================================================
   SERVICES
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc {
  position: relative; background: linear-gradient(160deg, var(--panel), #0c0c10);
  border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.8rem;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset: 0; background: var(--gold-grad); opacity: 0; transition: opacity 0.4s; z-index: 0; mix-blend-mode: overlay; }
.svc:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.5); box-shadow: 0 24px 50px -28px rgba(212,175,55,0.5); }
.svc > * { position: relative; z-index: 1; }
.svc__icon { font-size: 1.7rem; color: var(--gold); width: 56px; height: 56px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 1.1rem; background: rgba(212,175,55,0.05); }
.svc h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.svc p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.2rem; min-height: 2.6em; }
.svc__price { font-family: "Cinzel", serif; font-size: 1.5rem; color: var(--gold-light); }
.svc--feature { border-color: rgba(212,175,55,0.45); background: linear-gradient(160deg, #1a160c, #0c0c10); }
.svc__badge { position: absolute; top: 1rem; right: 1rem; background: var(--gold-grad); color: #1a1408; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.25rem 0.7rem; border-radius: 999px; z-index: 2; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: 220px; }
.gcell { cursor: pointer; }
.gcell--wide { grid-column: span 2; }
.gcell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1.4rem 1.1rem 1rem;
  font-family: "Cinzel", serif; font-size: 0.92rem; letter-spacing: 0.06em;
  background: linear-gradient(0deg, rgba(8,8,10,0.85), transparent);
  transform: translateY(8px); opacity: 0; transition: 0.4s var(--ease);
}
.gcell:hover figcaption { transform: translateY(0); opacity: 1; }
.gcell:hover img { transform: scale(1.08); }
.gallery__cta { text-align: center; margin-top: 2.4rem; }

/* =========================================================
   RESULTS
   ========================================================= */
.results { background: linear-gradient(180deg, transparent, rgba(47,93,73,0.06), transparent); }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.rcell { aspect-ratio: 4/5; cursor: pointer; }
.rcell:hover img { transform: scale(1.06); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: 2.5rem; }
.contact__info h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
.contact__info > p { color: var(--muted); margin-bottom: 1.6rem; }
.contact__list { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list .ci { font-size: 1.2rem; width: 44px; height: 44px; flex: none; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(212,175,55,0.05); }
.contact__list a:hover { color: var(--gold-light); }
.contact__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.contact__form { background: linear-gradient(160deg, var(--panel), #0b0b0e); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.4rem); }
.contact__form h3 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.field { position: relative; margin-bottom: 1.1rem; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1rem 0.55rem; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { padding-top: 1.2rem; resize: vertical; }
.field select { padding-top: 1rem; padding-bottom: 0.7rem; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }
.field label { position: absolute; left: 1rem; top: 0.85rem; color: var(--muted); font-size: 0.95rem; pointer-events: none; transition: 0.25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 0.3rem; font-size: 0.66rem; color: var(--gold); letter-spacing: 0.06em; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }

.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 340px; background: radial-gradient(120% 120% at 50% 0%, rgba(47,93,73,0.18), transparent 60%), #0d0d10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05) brightness(0.85); }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; place-items: center; text-align: center; gap: 0.7rem; padding: 2rem; }
.map__pin { font-size: 2.4rem; }
.map__title { font-family: "Cinzel", serif; font-size: 1.2rem; letter-spacing: 0.04em; }
.map__hint { color: var(--muted); font-size: 0.84rem; max-width: 460px; margin-bottom: 0.4rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2.2rem; background: var(--bg-2); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; text-align: center; }
.brand--footer .brand__text { font-size: 1.5rem; align-items: center; }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__copy { color: var(--muted); font-size: 0.82rem; }
.footer__copy a { color: var(--gold); }

/* =========================================================
   RECHTSTEXT-SEITEN (Impressum / Datenschutz)
   ========================================================= */
.legal { padding: 8rem 0 5rem; min-height: 70vh; }
.legal .container { max-width: 840px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.4rem; }
.legal .eyebrow { margin-bottom: 0.8rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 0.6rem; color: var(--gold-light); }
.legal h3 { font-size: 1rem; margin: 1.2rem 0 0.4rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.7rem; line-height: 1.7; }
.legal ul { padding-left: 1.3rem; list-style: disc; margin-bottom: 0.7rem; }
.legal a { color: var(--gold); }
.legal a:hover { color: var(--gold-light); }
.legal .ph-text { color: #1a1408; background: var(--gold-light); padding: 0.04rem 0.45rem; border-radius: 5px; font-weight: 600; }
.legal .note { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; background: rgba(212,175,55,0.06); font-size: 0.86rem; margin: 1.6rem 0; color: var(--text); }
.legal .back { display: inline-block; margin-top: 2.5rem; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 9998; background: rgba(5,5,7,0.94); backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px #000; }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.6rem; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.8; }
.lightbox__close:hover { opacity: 1; color: var(--gold); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; transition: 0.3s; }
.lightbox__nav:hover { background: var(--gold); color: #1a1408; }
.lightbox__prev { left: 1.4rem; } .lightbox__next { right: 1.4rem; }

/* =========================================================
   SCROLL-REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; justify-content: center;
    gap: 1.8rem; background: rgba(10,10,12,0.97); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    padding: 2rem; box-shadow: -20px 0 60px -30px #000; visibility: hidden;
  }
  .nav__links.open { transform: translateX(0); visibility: visible; transition: transform 0.45s var(--ease), visibility 0s linear 0s; }
  .nav__links a { font-size: 1.1rem; }
  .burger { display: flex; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gcell--wide { grid-column: span 2; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__meta { gap: 1.4rem; }
  .gcell--wide { grid-column: span 2; }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.2s !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== v5-Ergaenzungen (eingebunden) ===== */
/* === Version 5.0 â€” Animation Edition â€” ErgÃ¤nzungen zu ../styles.css === */

/* Eigener Cursor (nur Desktop mit Maus) */
@media (hover: hover) and (pointer: fine) {
  .v5, .v5 a, .v5 button { cursor: none; }
  .cursor { position: fixed; top: 0; left: 0; width: 38px; height: 38px; border: 1.5px solid var(--gold); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 9000; transition: width .25s, height .25s, background .25s, border-color .25s; }
  .cursor.grow { width: 64px; height: 64px; background: rgba(212,175,55,0.12); border-color: var(--gold-light); }
  .cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 9001; }
}
@media not all and (hover: hover) { .cursor, .cursor-dot { display: none; } }

/* Scroll-Fortschritt */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold-grad); z-index: 8000; box-shadow: 0 0 12px rgba(212,175,55,0.6); }

/* Aurora-Hintergrund */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.aurora::before { background: radial-gradient(circle, rgba(47,93,73,0.5), transparent 70%); top: -20%; left: -10%; animation: float1 16s ease-in-out infinite; }
.aurora::after { background: radial-gradient(circle, rgba(212,175,55,0.32), transparent 70%); bottom: -25%; right: -10%; animation: float2 20s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(12vw,8vh) scale(1.15); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-10vw,-6vh) scale(1); } }

/* Partikel-Canvas */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero--v5 .hero__content { z-index: 3; }

/* Rotierendes Wort */
.hero__rotate { color: var(--muted); font-size: clamp(1.1rem, 2.6vw, 1.4rem); margin-bottom: 2rem; }
.rotator { display: inline-block; min-width: 4.5ch; position: relative; }
.rotator > span { display: inline-block; color: var(--gold-light); font-weight: 600; font-family: "Cinzel", serif; }
.rotator > span.swap { animation: wordSwap .5s var(--ease); }
@keyframes wordSwap { 0% { opacity: 0; transform: translateY(14px) rotateX(-40deg); } 100% { opacity: 1; transform: none; } }

/* Statistiken */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(212,175,55,0.03), transparent); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { padding: 1rem; }
.stat__num { font-family: "Cinzel", serif; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__suffix { font-family: "Cinzel", serif; font-size: 1.6rem; color: var(--gold); }
.stat p { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.04em; margin-top: 0.3rem; }

/* Tilt-Karten */
.tilt { transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }

/* Magnet-Buttons */
.magnetic { will-change: transform; transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s; }

/* ZurÃ¼ck nach oben */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,12,0.8); backdrop-filter: blur(8px); color: var(--gold); font-size: 1.3rem; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .4s var(--ease); z-index: 90; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold); color: #1a1408; }

/* Ã–ffnungszeiten-Status */
.hours { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; background: rgba(255,255,255,0.02); margin-bottom: 1.6rem; }
.hours__status { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; margin-bottom: 1rem; border: 1px solid var(--line); }
.hours__status .dot { width: 9px; height: 9px; border-radius: 50%; background: #888; }
.hours__status.open { color: #8ff0b6; border-color: rgba(67,196,122,.4); } .hours__status.open .dot { background: #43c47a; animation: pulseDot 2s infinite; }
.hours__status.closed { color: #ffb1a9; border-color: rgba(224,86,74,.4); } .hours__status.closed .dot { background: #e0564a; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(67,196,122,.5); } 70% { box-shadow: 0 0 0 10px rgba(67,196,122,0); } 100% { box-shadow: 0 0 0 0 rgba(67,196,122,0); } }
.hours__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.hours__list li:last-child { border-bottom: 0; }
.hours__list li.today { color: var(--gold-light); font-weight: 600; }

/* Besuch-Layout */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.visit__info h2 { font-size: clamp(1.8rem,4.5vw,2.8rem); margin-bottom: 1rem; }
.visit__map .map { height: 100%; min-height: 380px; }
@media (max-width: 940px) { .visit__grid { grid-template-columns: 1fr; } .stats__grid { grid-template-columns: repeat(2,1fr); } }

/* Werkzeug (Schere & Maschine) */
.tools { background: linear-gradient(180deg, transparent, rgba(212,175,55,0.05), transparent); }
.tools__stage { display: flex; gap: clamp(2rem,6vw,5rem); justify-content: center; align-items: center; flex-wrap: wrap; }
.bigtool { width: clamp(200px, 34vw, 320px); height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.5)); }
.blade { transform-box: view-box; }
.bigtool--scissors .blade--a { transform-origin: 140px 120px; animation: snipA 2s ease-in-out infinite; }
.bigtool--scissors .blade--b { transform-origin: 140px 120px; animation: snipB 2s ease-in-out infinite; }
@keyframes snipA { 0%,100% { transform: rotate(2deg); } 50% { transform: rotate(-9deg); } }
@keyframes snipB { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(9deg); } }
.bigtool--scissors .blade polygon { fill: var(--gold); }
.bigtool--scissors .blade line { stroke: var(--gold); stroke-width: 12; stroke-linecap: round; }
.bigtool--scissors .blade circle { fill: none; stroke: var(--gold-light); stroke-width: 10; }
.bigtool--scissors .screw { fill: #fff; }
.bigtool--clipper .clipper-body { fill: var(--green); stroke: var(--gold); stroke-width: 3; }
.bigtool--clipper .clipper-plate { fill: rgba(255,255,255,0.06); stroke: var(--gold-light); stroke-width: 2; }
.bigtool--clipper .clipper-teeth rect { fill: var(--gold-light); }
.bigtool--clipper .clipper-teeth line { stroke: var(--gold); stroke-width: 3; }
.bigtool--clipper .grip { stroke: var(--gold-deep); stroke-width: 3; stroke-linecap: round; opacity: .7; }
.bigtool--clipper .cord { fill: none; stroke: var(--gold-deep); stroke-width: 4; stroke-linecap: round; opacity: .6; }
.bigtool--clipper .motion line { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: motionPulse .5s ease-in-out infinite; }
.bigtool--clipper .clipper { animation: vibrate .09s linear infinite; transform-origin: center; }
.bigtool--clipper .clipper-teeth { animation: teeth .12s steps(2) infinite; }
@keyframes vibrate { 0%{transform:translate(0,0)} 25%{transform:translate(.6px,-.4px)} 50%{transform:translate(-.5px,.5px)} 75%{transform:translate(.4px,.3px)} 100%{transform:translate(0,0)} }
@keyframes teeth { to { transform: translateX(2px); } }
@keyframes motionPulse { 0%,100% { opacity: 0; } 50% { opacity: .8; } }

@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after, .bigtool--scissors .blade--a, .bigtool--scissors .blade--b, .bigtool--clipper .clipper, .bigtool--clipper .clipper-teeth, .bigtool--clipper .motion line { animation: none !important; }
}
