:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --panel: #1b1815;
  --ink: #f3eadc;
  --muted: #b7aa98;
  --line: #2c2722;
  --gold: #c6a36a;
  --gold-2: #e0c48a;
  --brick: #9c3b28;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }

.topbar {
  background: #080707;
  color: var(--gold);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 11, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand { text-decoration: none; display: flex; align-items: center; min-width: 0; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.92rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a.is-active { color: var(--ink); }

.header-actions { display: flex; gap: 10px; align-items: center; }
.search {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}
.search input { border: 0; background: transparent; outline: none; width: 180px; color: var(--ink); }

.icon-btn {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  height: 40px;
  padding: 0 14px;
  cursor: pointer;
  position: relative;
  font-size: 0.85rem;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: var(--gold);
  color: #1a140c;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  border-radius: 999px;
  height: 42px;
  padding: 0 16px;
}
.cart-btn:hover { background: var(--gold-2); }
.cart-btn .cart-count {
  position: static;
  background: #1a140c;
  color: var(--gold-2);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  background: var(--gold);
  color: #1a140c;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,10,0.25) 0%, rgba(12,11,10,0.55) 45%, rgba(12,11,10,0.92) 100%);
}

.hero-copy { position: relative; z-index: 1; padding: 0 0 72px; max-width: 760px; }

.kicker {
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0.2rem 0 0.7rem;
}

.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); }
.hero h1 .play { color: var(--gold); font-weight: 700; }

.lede { color: #e6dccb; font-size: 1.12rem; max-width: 42ch; }

.hero-logo {
  width: min(520px, 92%);
  margin: 18px 0 10px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45));
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
}

.btn-gold { background: var(--gold); color: #1a140c; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; border: 1px solid #6d6458; color: var(--ink); }

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.promise article {
  padding: 1.4rem 1.1rem;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}

.promise article:last-child { border-right: 0; }
.promise strong { display: block; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.promise p { margin: 0.35rem 0 0; color: var(--muted); }

.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }
.section-head p, .page-head p { color: var(--muted); margin: 0.35rem 0 0; max-width: 58ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-3px); border-color: #4a4036; }

.card-media {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: #111;
}
.card-media .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #111;
  color: var(--gold);
  border: 1px solid #3d342b;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 36%;
  max-width: 132px;
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.97;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

.card-body { padding: 14px 16px 18px; }
.sku { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.card h3 { font-size: 1.35rem; }
.price { font-weight: 650; }
.price s { color: #7d7366; margin-left: 8px; font-weight: 400; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.split img { border-radius: 22px; width: 100%; height: 460px; object-fit: cover; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.rules div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--bg-2); }
.rules strong { color: var(--gold); display: block; margin-bottom: 4px; }

.page-head { padding: 52px 0 8px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }

.catcher {
  margin: 22px 0 8px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}
.catcher img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  background: #111;
}
.catcher figcaption {
  position: absolute;
  left: 22px;
  top: 16px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--gold-2);
  text-shadow: 0 8px 24px rgba(0,0,0,0.7);
}
.ai-note {
  margin: 10px 0 0;
  color: var(--gold-2);
  font-size: 0.95rem;
  line-height: 1.4;
}

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.chip {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  color: var(--muted);
}
.chip.is-on { color: #1a140c; background: var(--gold); border-color: var(--gold); }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 80px; }
.gallery {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}
.gallery .photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: #111;
}
.gallery .stamp {
  width: 28%;
  max-width: 168px;
  right: 14px;
  bottom: 14px;
}
.gallery-wrap { display: grid; gap: 16px; }
.shot {
  margin: 0;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.shot figcaption {
  padding: 10px 14px 12px;
  color: var(--gold-2);
  font-size: 0.88rem;
}
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thumb {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  color: var(--muted);
  text-align: left;
}
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.thumb span { padding: 0 10px 10px; font-size: 0.78rem; }
.thumb.is-on { border-color: var(--gold); color: var(--gold-2); }
.shot-note { margin: 0; color: var(--muted); font-size: 0.88rem; }
.buy h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.buy .price { font-size: 1.5rem; color: var(--gold-2); }
.meta { color: var(--muted); }

.qty { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.qty button {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel); cursor: pointer;
}

.facts { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); display: grid; gap: 8px; }
.note { background: #241c13; border: 1px solid #3d3224; color: #e6d4b2; border-radius: 12px; padding: 12px 14px; }
.prose, .legal { max-width: 70ch; padding-bottom: 80px; }
.prose p, .legal p { color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: #080707; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 22px; }
.footer a { text-decoration: none; }
.footer h3 { color: var(--ink); font-size: 1.1rem; }
.fine { font-size: 0.8rem; margin-top: 28px; opacity: 0.75; }

.drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; justify-content: end; z-index: 40;
}
.drawer.is-open { display: flex; }
.drawer-panel { width: min(420px, 100%); background: var(--bg-2); padding: 22px; overflow: auto; border-left: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; margin-bottom: 14px; align-items: center; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.empty { color: var(--muted); }
.cart-page { padding-bottom: 80px; }
.cart-page .line {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.cart-summary {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  max-width: 42ch;
}
.cart-summary p { margin: 0.35rem 0; }

@media (max-width: 900px) {
  .nav, .search { display: none; }
  .grid, .promise, .footer-grid, .rules, .split, .product { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .brand img { height: 30px; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
}

/* —— Einstieg: geschlossene Truhe —— */
html.gate-page:not(.gate-done) body {
  overflow: hidden;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(70, 48, 22, 0.45), transparent 42%),
    #050403;
  isolation: isolate;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.gate.is-out,
html.gate-done .gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate::before {
  content: "";
  position: absolute;
  width: min(70vmin, 640px);
  height: min(70vmin, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 163, 106, 0.28), transparent 68%);
  filter: blur(10px);
  animation: gate-pulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

.gate.is-opening::before {
  animation: none;
  transform: scale(1.35);
  opacity: 0.85;
  background: radial-gradient(circle, rgba(224, 196, 138, 0.55), transparent 70%);
}

.gate-skip {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  border: 1px solid #3d342b;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.gate-skip:hover { color: var(--ink); border-color: var(--gold); }

.gate-hit {
  position: relative;
  z-index: 1;
  width: min(520px, 92vw);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gate-stage {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
}

.gate-poster,
.gate-video {
  grid-area: 1 / 1;
  width: 100%;
  height: min(82vh, 920px);
  object-fit: contain;
  background: transparent;
}

.gate-video {
  opacity: 0;
  pointer-events: none;
}

.gate-video.is-on { opacity: 1; }

.gate-poster {
  transition: opacity 0.35s ease, transform 1.6s ease;
}

.gate-hit:hover .gate-poster,
.gate-hit:focus-visible .gate-poster {
  transform: scale(1.02);
}

.gate-poster.is-dim { opacity: 0; }

.gate-hint {
  display: block;
  margin-top: 22px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 1rem;
  transition: opacity 0.35s ease;
}

.gate.is-opening .gate-hint { opacity: 0; }

.gate-ai {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  margin: 0;
  text-align: center;
  color: #7a7166;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

@keyframes gate-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .gate::before,
  .gate-poster,
  .gate-hint { animation: none; transition: none; }
}
