/* ============================================================
   EPOXY BY OXI — Oxana Ruppel
   Dark gallery aesthetic. One accent: champagne gold.
   Display: Cormorant Garamond · UI/Body: Outfit
   ============================================================ */

:root {
  /* Surfaces — warm near-black gallery wall */
  --bg:        #0c0b0d;
  --bg-2:      #131115;
  --bg-3:      #1b181d;

  /* Ink */
  --ink:       #f3ede4;
  --ink-soft:  #b6ada3;
  --ink-faint: #7c746c;

  /* Single accent: champagne gold (echoes the real gold leaf) */
  --gold:      #c9a24b;
  --gold-lt:   #e3c478;
  --gold-deep: #9a7a32;

  --line:      rgba(243, 237, 228, 0.10);
  --line-2:    rgba(243, 237, 228, 0.18);

  --maxw: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-nav: 50;
  --z-overlay: 80;
  --z-grain: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--gold); color: #1a1410; }

/* ---------- Typography helpers ---------- */
.section__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--ink);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

/* ---------- Buttons (all sharp, refined) ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  border: 1px solid transparent;
  transform: translate(var(--bx, 0px), var(--by, 0px));
  transition: transform 0.3s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn:active { filter: brightness(0.95); }

/* PRIMARY — lift + glow + light sheen */
.btn--gold { background: var(--gold); color: #17120a; }
.btn--gold:hover {
  background: var(--gold-lt);
  box-shadow: 0 14px 34px rgba(201,162,75,0.42), 0 0 0 1px rgba(227,196,120,0.55);
}
.btn--gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,250,235,0.7), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn--gold:hover::after { animation: btnSheen 0.85s var(--ease); }
@keyframes btnSheen { from { left: -120%; } to { left: 160%; } }

/* OUTLINE — gold fill rises from the bottom */
.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: translateY(101%); transition: transform 0.4s var(--ease);
}
.btn--line:hover { color: #17120a; border-color: var(--gold); box-shadow: 0 14px 30px rgba(201,162,75,0.26); }
.btn--line:hover::before { transform: translateY(0); }

/* GHOST (nav CTA) — underline grows from the left */
.btn--ghost { color: var(--ink-soft); border-color: transparent; padding: 0.6rem 0; overflow: visible; }
.btn--ghost::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.btn--ghost:hover { color: var(--gold-lt); }
.btn--ghost:hover::before { transform: scaleX(1); }

.btn--block { width: 100%; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--gold); color: #17120a; padding: 0.6rem 1rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Animated aurora background (deep blue + gold drifting behind the page) */
.bg-aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(46% 58% at 80% 14%, rgba(201,162,75,0.14), transparent 70%),
    radial-gradient(52% 62% at 12% 82%, rgba(40,62,140,0.22), transparent 72%);
}
.bg-aurora::before, .bg-aurora::after { content: ""; position: absolute; border-radius: 50%; }
.bg-aurora::before {
  width: 92vw; height: 92vw; left: -22vw; top: -32vw;
  background: radial-gradient(circle, rgba(48,74,170,0.42) 0%, transparent 60%);
  filter: blur(52px); animation: auroraA 24s ease-in-out infinite alternate;
}
.bg-aurora::after {
  width: 82vw; height: 82vw; right: -20vw; bottom: -26vw;
  background: radial-gradient(circle, rgba(201,162,75,0.28) 0%, transparent 58%);
  filter: blur(64px); animation: auroraB 30s ease-in-out infinite alternate;
}
@keyframes auroraA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(22vw, 16vw) scale(1.32); }
}
@keyframes auroraB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-18vw, -12vw) scale(1.26); }
}

/* Focus visibility */
:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

/* animatable angle for the rotating gold borders */
@property --gold-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 74px; padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--gold-lt);
  border: 1px solid var(--gold-deep); width: 38px; height: 38px;
  display: grid; place-items: center;
}
.brand__name {
  font-family: "Cormorant Garamond", serif; font-size: 1.35rem; font-weight: 500;
  letter-spacing: 0.02em; white-space: nowrap;
}
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.82rem; letter-spacing: 0.08em; color: var(--ink-soft);
  position: relative; padding: 0.3rem 0; transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.nav__ig { color: var(--ink-soft); transition: color 0.25s; display: grid; place-items: center; }
.nav__ig:hover { color: var(--gold-lt); }
.nav__cta { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* Burger */
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute; left: 9px; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 0.4rem;
  padding: 1rem clamp(1.2rem, 4vw, 3rem) 2rem;
  background: rgba(12, 11, 13, 0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a { padding: 0.85rem 0; font-size: 1.05rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: none; margin-top: 0.8rem; }
.mobile-menu .btn { color: #17120a; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

/* animated background gallery: crossfade + slow ken-burns */
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.6s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active {
  opacity: 1;
  animation: heroKenburns 8s ease-out forwards;
}
@keyframes heroKenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,11,13,0.94) 0%, rgba(12,11,13,0.66) 40%, rgba(12,11,13,0.28) 100%),
    linear-gradient(0deg, rgba(12,11,13,0.85) 0%, rgba(12,11,13,0) 45%);
}

/* subtle drifting gold dust */
.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* inner container -> hero text aligns with logo + content width (Flucht) */
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}
.hero__content { max-width: 600px; }
.hero__title {
  font-family: "Cormorant Garamond", serif; font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 6.2rem); line-height: 1.0; letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.hero__title em {
  font-style: italic; font-weight: 400; padding-bottom: 0.06em;
  color: var(--gold-lt);
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-lt) 35%, #fff6e2 50%, var(--gold-lt) 65%, var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmerText 6s linear infinite;
}
@keyframes shimmerText { to { background-position: 220% center; } }
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--ink-soft);
  max-width: 30rem; margin-bottom: 2.4rem; line-height: 1.65;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.intro__line {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.5rem clamp(1.2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; align-items: center;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.intro__line .dot { color: var(--gold); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.2rem, 4vw, 3rem);
}
.section__head { max-width: 46rem; margin-bottom: 3.5rem; }
.section__lead { color: var(--ink-soft); margin-top: 1.2rem; font-size: 1.05rem; max-width: 40rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery__filters { display: flex; gap: 0.6rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter {
  padding: 0.5rem 1.2rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); border: 1px solid var(--line); transition: all 0.25s var(--ease);
}
.filter:hover { color: var(--gold-lt); border-color: var(--gold-deep); background: rgba(201,162,75,0.08); transform: translateY(-2px); }
.filter.is-active { color: #17120a; background: var(--gold); border-color: var(--gold); }

.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  perspective: 1100px;
}
.piece {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); cursor: pointer;
  transform-style: preserve-3d; will-change: transform;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease);
}
/* cursor-following gold spotlight */
.piece__spot {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(227,196,120,0.30), rgba(201,162,75,0.08) 42%, transparent 66%);
  mix-blend-mode: screen;
}
.piece:hover .piece__spot, .piece:focus-within .piece__spot { opacity: 1; }
.piece.is-in { opacity: 1; transform: translateY(0); }
.piece:hover, .piece:focus-within {
  transform: translateY(-6px);
  border-color: var(--gold-deep);
  box-shadow: 0 0 30px rgba(201,162,75,0.20), 0 26px 60px rgba(0,0,0,0.6);
}
/* animated traveling gold border ring on hover */
.piece::after {
  content: ""; position: absolute; inset: -1px; z-index: 4; pointer-events: none;
  padding: 1.5px;
  background: conic-gradient(from var(--gold-angle),
    transparent 0deg, transparent 90deg,
    var(--gold) 145deg, var(--gold-lt) 175deg, var(--gold) 205deg,
    transparent 260deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.piece:hover::after, .piece:focus-within::after { opacity: 1; animation: goldspin 3.5s linear infinite; }
@keyframes goldspin { to { --gold-angle: 360deg; } }

.piece__imgwrap { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.piece__imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.piece:hover .piece__imgwrap img, .piece:focus-within .piece__imgwrap img { transform: scale(1.06); }

/* "Ansehen" hint sweeping up on hover */
.piece__view {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  padding: 0.4rem 0.8rem; background: rgba(10,9,11,0.5); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.piece:hover .piece__view, .piece:focus-within .piece__view { opacity: 1; transform: translateY(0); }

.badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; font-weight: 500;
}
.badge--sold { background: rgba(10,9,11,0.82); color: var(--ink-soft); border: 1px solid var(--line-2); }
.badge--avail { background: var(--gold); color: #17120a; }
.piece--sold .piece__imgwrap img { filter: grayscale(0.3) brightness(0.72); }

/* always-visible tidy info block */
.piece__info {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.15rem 1.25rem 1.3rem; border-top: 1px solid var(--line);
}
.piece__titles { display: flex; flex-direction: column; gap: 0.2rem; }
.piece__title {
  font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 500; line-height: 1.1;
  transition: color 0.3s var(--ease);
}
.piece:hover .piece__title { color: var(--gold-lt); }
.piece__meta { font-size: 0.76rem; color: var(--ink-faint); letter-spacing: 0.06em; }

.piece__buy { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; }
/* the price tile (Preiskachel) */
.price-tile {
  font-size: 0.92rem; letter-spacing: 0.04em; color: var(--gold-lt);
  padding: 0.5rem 0.85rem; border: 1px solid var(--gold-deep);
  background: linear-gradient(180deg, rgba(201,162,75,0.10), rgba(201,162,75,0.02));
  white-space: nowrap; transition: border-color 0.3s, background 0.3s;
}
.piece:hover .price-tile { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,162,75,0.18), rgba(201,162,75,0.05)); }
.price-tile--sold {
  color: var(--ink-faint); border-color: var(--line-2); background: none;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.64rem;
}

.mini-buy {
  position: relative; overflow: hidden; isolation: isolate;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-lt); border: 1px solid var(--gold-deep); padding: 0.55rem 1.1rem;
  background: transparent; transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mini-buy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: translateY(101%); transition: transform 0.35s var(--ease);
}
.mini-buy:hover { color: #17120a; border-color: var(--gold); }
.mini-buy:hover::before { transform: translateY(0); }

.gallery__note { margin-top: 2.6rem; text-align: center; color: var(--ink-faint); font-size: 0.9rem; }

/* ============================================================
   PROCESS
   ============================================================ */
/* --- THE BEAM: glowing gold ray connecting the 4 steps --- */
.beam { position: relative; margin: 1rem auto 4.5rem; max-width: 980px; }

/* the ray itself, centered, draws downward on reveal */
.beam__line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  transform: translateX(-50%) scaleY(0); transform-origin: top center;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 12%, var(--gold-lt) 50%, var(--gold) 88%, transparent 100%);
  box-shadow: 0 0 14px 1px rgba(201,162,75,0.55), 0 0 40px 4px rgba(201,162,75,0.25);
  transition: transform 1.4s var(--ease);
}
.beam.is-in .beam__line { transform: translateX(-50%) scaleY(1); }
.beam.is-in .beam__line { animation: beamBreathe 3.4s ease-in-out infinite 1.4s; }
@keyframes beamBreathe {
  0%, 100% { box-shadow: 0 0 14px 1px rgba(201,162,75,0.55), 0 0 40px 4px rgba(201,162,75,0.25); }
  50%      { box-shadow: 0 0 20px 2px rgba(227,196,120,0.85), 0 0 64px 8px rgba(201,162,75,0.40); }
}

/* a light comet that falls along the ray, showing the flow of creation */
.beam__comet {
  position: absolute; left: 50%; top: 0; width: 11px; height: 11px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #fff6e2 0%, var(--gold-lt) 45%, var(--gold) 70%, transparent 100%);
  box-shadow: 0 0 16px 5px rgba(227,196,120,0.85), 0 0 40px 10px rgba(201,162,75,0.45);
  opacity: 0; pointer-events: none;
}
.beam.is-in .beam__comet { animation: cometFall 4.2s cubic-bezier(0.45,0,0.55,1) infinite 1.2s; }
@keyframes cometFall {
  0%   { top: 0;    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.beam__steps { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 4.5rem); }
.beam__step { position: relative; display: flex; }

/* alternate sides on desktop (zigzag along the ray) */
.beam__step:nth-child(odd)  { justify-content: flex-start; }
.beam__step:nth-child(even) { justify-content: flex-end; }
.beam__card {
  width: calc(50% - 3rem); position: relative;
  opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.beam__step:nth-child(odd)  .beam__card { transition-delay: 0.15s; }
.beam__step:nth-child(even) .beam__card { transition-delay: 0.30s; }
.beam.is-in .beam__card { opacity: 1; transform: none; }

/* glowing node sitting on the ray */
.beam__node {
  position: absolute; left: 50%; top: 0.4rem; width: 14px; height: 14px;
  transform: translateX(-50%) scale(0); border-radius: 50%;
  background: var(--gold-lt);
  box-shadow: 0 0 0 4px rgba(201,162,75,0.18), 0 0 18px 3px rgba(201,162,75,0.7);
  transition: transform 0.5s var(--ease);
}
.beam.is-in .beam__node { transform: translateX(-50%) scale(1); }
.beam__step:nth-child(2) .beam__node { transition-delay: 0.15s; }
.beam__step:nth-child(3) .beam__node { transition-delay: 0.30s; }
.beam__step:nth-child(4) .beam__node { transition-delay: 0.45s; }
.beam.is-in .beam__node { animation: nodePulse 2.8s ease-in-out infinite; }
.beam.is-in .beam__step:nth-child(2) .beam__node { animation-delay: 0.4s; }
.beam.is-in .beam__step:nth-child(3) .beam__node { animation-delay: 0.8s; }
.beam.is-in .beam__step:nth-child(4) .beam__node { animation-delay: 1.2s; }
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,162,75,0.16), 0 0 16px 3px rgba(201,162,75,0.6); }
  50%      { box-shadow: 0 0 0 7px rgba(201,162,75,0.08), 0 0 26px 7px rgba(227,196,120,0.9); }
}

.beam__no {
  font-family: "Cormorant Garamond", serif; font-size: 2.6rem; font-weight: 400;
  color: var(--gold); line-height: 1; display: block; margin-bottom: 0.6rem; opacity: 0.85;
}
.beam__card h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.7rem; margin-bottom: 0.6rem; }
.beam__card p { color: var(--ink-soft); font-size: 0.98rem; }

.process__feature { position: relative; overflow: hidden; }
.process__feature img { width: 100%; height: clamp(320px, 50vw, 580px); object-fit: cover; }
.process__feature figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem;
  background: linear-gradient(0deg, rgba(10,9,11,0.85), transparent);
  font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.25rem; color: var(--ink);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__media::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--gold-deep);
  transform: translate(16px, 16px); z-index: -1;
}
.about__text p { color: var(--ink-soft); margin-bottom: 1.2rem; max-width: 34rem; }
.about__signature {
  font-family: "Sacramento", cursive; color: var(--gold-lt) !important;
  font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; margin: 0.4rem 0 0.2rem !important;
  transform: rotate(-3deg); transform-origin: left center; padding-left: 0.2rem;
}
.about__stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong {
  font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 2.6rem; color: var(--gold-lt); line-height: 1;
}
.about__stats span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.5rem; }

/* ============================================================
   COMMISSION
   ============================================================ */
.commission { }
.commission__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  background: var(--bg-2); border: 1px solid var(--line); padding: clamp(2rem, 5vw, 4rem);
}
.commission__intro p { color: var(--ink-soft); margin: 1.4rem 0 2rem; }
.commission__list li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.9rem; color: var(--ink-soft); font-size: 0.98rem;
}
.commission__list li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--gold);
}
.field { margin-bottom: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line-2); color: var(--ink);
  padding: 0.85rem 1rem; font-family: inherit; font-size: 0.98rem; transition: border-color 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.form__hint { margin-top: 1rem; font-size: 0.88rem; color: var(--gold-lt); min-height: 1.2em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { text-align: center; }
.contact__inner { max-width: 40rem; margin: 0 auto; }
.contact p { color: var(--ink-soft); margin-top: 1rem; }
.contact__links { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.contact__link {
  font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 0.3rem; transition: color 0.25s, border-color 0.25s;
}
.contact__link:hover { color: var(--gold-lt); border-color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 2.2rem clamp(1.2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: var(--ink-faint);
}
.footer__brand { font-family: "Cormorant Garamond", serif; font-size: 1.05rem; color: var(--ink-soft); letter-spacing: 0.03em; }
.footer__nav { display: flex; gap: 1.6rem; }
.footer__nav a:hover { color: var(--gold-lt); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(8, 7, 9, 0.96); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem); gap: 1.5rem;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__close, .modal__close {
  position: absolute; top: 1.5rem; right: 1.8rem; font-size: 2.2rem; line-height: 1;
  color: var(--ink-soft); transition: color 0.25s; z-index: 2;
}
.lightbox__close:hover, .modal__close:hover { color: var(--gold-lt); }
.lightbox__stage { max-height: 72vh; display: flex; }
.lightbox__stage img { max-height: 72vh; max-width: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__info { text-align: center; max-width: 38rem; }
.lightbox__info h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 2rem; margin-bottom: 0.5rem; }
.lightbox__info .li-meta { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.lightbox__info p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.3rem; }
.lightbox__price { margin: 0 0 1.4rem !important; }
.lightbox__price .price-tile { display: inline-block; font-size: 1.05rem; padding: 0.55rem 1rem; }

/* ============================================================
   MODAL (Kauf)
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(8, 7, 9, 0.85); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.modal.is-open { opacity: 1; }
.modal__panel {
  position: relative; background: var(--bg-2); border: 1px solid var(--line-2);
  max-width: 480px; width: 100%; padding: clamp(1.8rem, 4vw, 2.8rem);
  max-height: 90vh; overflow-y: auto;
}
.modal__body h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 2rem; margin-bottom: 0.4rem; }
.modal__body .m-meta { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.modal__body .m-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1.4rem; }
.modal__body .m-price { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--gold-lt); margin-bottom: 0.3rem; }
.modal__body .m-note { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.6rem; }
#paypal-button-container { margin-top: 1rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses to burger earlier so the wordmark never crowds/wraps */
@media (max-width: 900px) {
  .nav__links, .nav__cta, .nav__ig { display: none; }
  .nav__burger { display: block; }
  .mobile-menu.is-open { display: flex; }
}

@media (max-width: 760px) {
  /* beam: ray moves to the left, cards stack full width */
  .beam { max-width: 100%; padding-left: 2rem; }
  .beam__line { left: 6px; }
  .beam__step:nth-child(odd), .beam__step:nth-child(even) { justify-content: flex-start; }
  .beam__card { width: 100%; }
  .beam__node { left: 6px; }
  .about__signature { font-size: 2.8rem; }
  body { font-size: 16px; }

  .hero__content { margin-left: 0; }
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(12,11,13,0.95) 8%, rgba(12,11,13,0.55) 55%, rgba(12,11,13,0.4) 100%);
  }

  .gallery__grid { grid-template-columns: 1fr; }
  .piece--tall { grid-row: span 1; }
  .process__steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; }
  .about__media::after { transform: translate(10px, 10px); }
  .commission__inner { grid-template-columns: 1fr; }
  .intro__line { font-size: 0.72rem; gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .piece, .beam__card { opacity: 1 !important; transform: none !important; transition: none !important; }
  .beam__line { transform: translateX(-50%) scaleY(1) !important; }
  .beam__node { transform: translateX(-50%) scale(1) !important; }
  .piece__imgwrap img { transition: none !important; }
  .hero__slide { transition: none !important; animation: none !important; }
  .hero__slide.is-active { animation: none !important; transform: none !important; }
  .beam__comet { display: none !important; }
  .beam.is-in .beam__line, .beam.is-in .beam__node { animation: none !important; }
  .hero__title em { animation: none !important; }
  .piece::after, .btn--gold::after { animation: none !important; }
  .btn--gold::after { display: none !important; }
  .bg-aurora::before, .bg-aurora::after { animation: none !important; }
  .grain { display: none; }
}
@media (max-width: 760px) {
  @media (prefers-reduced-motion: reduce) {
    .beam__line { transform: scaleY(1) !important; }
    .beam__node { transform: none !important; }
  }
}
