/* ============================================================
   DEEP SLEEP — Luxury Design System
   Cormorant (Display) · Montserrat (UI/Body)
   Light: #FAFAF9 · Ink: #1C1917 · Gold: #A16207
   Motion: 500-700ms, cubic-bezier(.22,.61,.21,1), scroll reveals
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --ink: #1C1917;
  --ink-soft: #44403C;
  --muted: #78716C;
  --line: #E7E2DA;
  --gold: #A16207;
  --gold-soft: #C9A227;
  --night: #0E0D0B;
  --ease: cubic-bezier(.22,.61,.21,1);
  --serif: 'Cormorant', Georgia, serif;
  --sans: 'Montserrat', 'Helvetica Neue', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 40px; }
section { padding: 130px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; color: var(--ink); }
h1 { font-size: clamp(44px, 6.5vw, 92px); line-height: 1.06; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.12; }
h3 { font-size: 26px; line-height: 1.3; }
p { color: var(--ink-soft); font-weight: 400; font-size: 15.5px; }
.lead { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink-soft); line-height: 1.6; }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.hairline { width: 56px; height: 1px; background: var(--gold); margin: 34px 0; }
.hairline.center { margin-left: auto; margin-right: auto; }

/* ---------- Navigation ---------- */
nav.top { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease); }
nav.top .inner { max-width: 1240px; margin: 0 auto; padding: 30px 40px; display: flex; align-items: center; }
nav.top.scrolled { background: rgba(250,250,249,.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
nav.top.scrolled .inner { padding: 18px 40px; }
nav.top.on-dark:not(.scrolled) { color: #FAFAF9; }
nav.top.on-dark:not(.scrolled) .links a { color: rgba(250,250,249,.85); }
nav.top.on-dark:not(.scrolled) .wordmark { color: #FAFAF9; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo svg { flex-shrink: 0; }
.wordmark { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .5em; color: var(--ink); transition: color .5s var(--ease); }
.wordmark span { color: var(--gold); }
nav.top .links { margin-left: auto; display: flex; gap: 42px; align-items: center; }
nav.top .links a { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .4s var(--ease); }
nav.top .links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
nav.top .links a:hover::after, nav.top .links a.active::after { transform: scaleX(1); transform-origin: left; }
nav.top .links a:hover { color: var(--gold); }
nav.top.on-dark:not(.scrolled) .links a:hover { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; padding: 21px 52px; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; position: relative; overflow: hidden; transition: color .5s var(--ease), border-color .5s var(--ease); z-index: 1; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: #FAFAF9; }
.btn:hover::before { transform: scaleY(1); }
.btn.gold { border-color: var(--gold); color: var(--gold); }
.btn.gold::before { background: var(--gold); }
.btn.gold:hover { color: #fff; }
.btn.solid { background: var(--ink); color: #FAFAF9; }
.btn.solid::before { background: var(--gold); }
.btn.light { border-color: rgba(250,250,249,.7); color: #FAFAF9; }
.btn.light::before { background: #FAFAF9; }
.btn.light:hover { color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.textlink { font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 14px; transition: color .4s var(--ease), gap .4s var(--ease); }
.textlink::after { content: '—'; color: var(--gold); transition: transform .4s var(--ease); }
.textlink:hover { color: var(--gold); gap: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #FAFAF9; overflow: hidden; padding: 0; }
.hero-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; animation: heroZoom 26s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,.46) 0%, rgba(14,13,11,.28) 45%, rgba(14,13,11,.62) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 880px; padding: 0 40px; }
.hero h1 { color: #FAFAF9; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .lead { color: rgba(250,250,249,.82); }
.scroll-cue { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 64px; overflow: hidden; }
.scroll-cue::after { content: ''; position: absolute; left: 0; top: -64px; width: 1px; height: 64px; background: linear-gradient(180deg, transparent, #FAFAF9); animation: cueDrop 2.4s var(--ease) infinite; }
@keyframes cueDrop { 0% { top: -64px; } 55% { top: 64px; } 100% { top: 64px; } }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }

/* ---------- Pillars (numbered hairline columns) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 44px 36px 10px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: none; }
.pillar .num { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--gold); display: block; margin-bottom: 22px; }
.pillar h3 { font-size: 23px; margin-bottom: 12px; }
.pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ---------- Product Showcase (alternating editorial) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; }
.showcase .visual { position: relative; height: 640px; overflow: hidden; }
.showcase .visual .ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.4s var(--ease); }
.showcase:hover .visual .ph { transform: scale(1.045); }
.showcase .text { padding: 70px 90px; }
.showcase .price-line { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .22em; color: var(--muted); margin: 26px 0 34px; }
.showcase .price-line b { color: var(--ink); font-weight: 600; }

/* ---------- 3D Book ---------- */
.book-stage { perspective: 1600px; display: flex; justify-content: center; align-items: center; height: 100%; }
.book { position: relative; width: 280px; height: 410px; transform-style: preserve-3d; transform: rotateY(-26deg) rotateX(4deg); transition: transform 1.2s var(--ease); }
.book-stage:hover .book { transform: rotateY(-16deg) rotateX(2deg); }
.book .face { position: absolute; inset: 0; background: linear-gradient(152deg, #181C26 0%, #232B3D 58%, #131722 100%); box-shadow: 0 50px 80px -30px rgba(20,20,25,.55); display: flex; flex-direction: column; justify-content: space-between; padding: 40px 32px; }
.book .spine { position: absolute; top: 0; bottom: 0; left: -34px; width: 34px; transform: rotateY(-90deg); transform-origin: right; background: linear-gradient(90deg, #10141d, #1d2433); }
.book .pages { position: absolute; top: 5px; bottom: 5px; right: -16px; width: 16px; transform: rotateY(90deg); transform-origin: left; background: repeating-linear-gradient(90deg, #efe9dd 0 1px, #d9d2c2 1px 2px); }
.book .face .bm { font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: .44em; color: var(--gold-soft); text-align: center; }
.book .face .bt { font-family: var(--serif); font-size: 33px; line-height: 1.15; color: #F4F1EA; text-align: center; }
.book .face .bt em { color: var(--gold-soft); }
.book .face .bs { font-family: var(--sans); font-size: 9px; letter-spacing: .26em; color: rgba(244,241,234,.55); text-align: center; text-transform: uppercase; }

/* ---------- Dark quote band ---------- */
.band { position: relative; padding: 170px 0; color: #FAFAF9; text-align: center; overflow: hidden; }
.band .band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.band .band-scrim { position: absolute; inset: 0; background: rgba(14,13,11,.66); }
.band .inner { position: relative; z-index: 2; }
.band blockquote { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); font-style: italic; font-weight: 400; line-height: 1.35; color: #FAFAF9; max-width: 920px; margin: 0 auto; }
.band cite { display: block; margin-top: 36px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Shop grid ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.product { display: block; }
.product .frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #EFEBE4; }
.product .frame .ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.3s var(--ease); }
.product:hover .frame .ph { transform: scale(1.05); }
.product .flag { position: absolute; top: 22px; left: 22px; z-index: 2; font-size: 9.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; padding: 8px 16px; background: rgba(250,250,249,.92); color: var(--ink); }
.product .flag.gold { background: var(--gold); color: #fff; }
.product .meta { padding: 26px 4px 0; text-align: center; }
.product .meta h3 { font-size: 24px; }
.product .meta .cat { font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.product .meta .pr { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); margin-top: 10px; letter-spacing: .08em; }
.product .meta .pr s { color: var(--muted); margin-right: 10px; font-weight: 400; }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: start; }
.pdp .gallery { position: sticky; top: 110px; }
.pdp .gallery .main { aspect-ratio: 4/5; background-size: cover; background-position: center; }
.pdp h1 { font-size: clamp(38px, 4vw, 58px); }
.pdp .price { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: .1em; color: var(--ink); margin: 26px 0 8px; }
.pdp .price s { color: var(--muted); font-weight: 400; margin-right: 12px; }
.spec { border-top: 1px solid var(--line); padding: 22px 0; }
.spec:last-of-type { border-bottom: 1px solid var(--line); }
.spec dt { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.spec dd { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- Forms ---------- */
.input-line { display: flex; gap: 0; max-width: 520px; margin: 0 auto; border-bottom: 1px solid var(--ink); }
.input-line input { flex: 1; border: none; background: transparent; font-family: var(--sans); font-size: 15px; padding: 16px 4px; color: var(--ink); outline: none; }
.input-line input::placeholder { color: var(--muted); }
.input-line button { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); padding: 16px 4px 16px 20px; transition: letter-spacing .4s var(--ease); }
.input-line button:hover { letter-spacing: .34em; }

/* ---------- Footer ---------- */
footer { background: var(--night); color: #A8A29E; padding: 110px 0 60px; }
footer .fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
footer .fhead { font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #FAFAF9; margin-bottom: 24px; }
footer a { display: block; font-size: 13px; color: #A8A29E; padding: 5px 0; transition: color .4s var(--ease); }
footer a:hover { color: var(--gold-soft); }
footer .fbottom { border-top: 1px solid rgba(250,250,249,.1); padding-top: 36px; font-size: 11.5px; color: #6B6560; line-height: 2; }
footer .wordmark { color: #FAFAF9; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.note-legal { font-size: 11.5px; color: var(--muted); line-height: 1.9; }
::selection { background: var(--gold); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-left: none; border-top: 1px solid var(--line); }
  .showcase { grid-template-columns: 1fr; }
  .showcase .visual { height: 480px; }
  .showcase .text { padding: 60px 40px; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 50px; }
  .pdp .gallery { position: static; }
  footer .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
  section { padding: 90px 0; }
  nav.top .inner { padding: 20px 24px; }
  nav.top .links { gap: 20px; }
  nav.top .links a { font-size: 10px; letter-spacing: .14em; }
  .shop-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Brand-Nachtwelt (eigene Bildsprache statt Stock) ---------- */
.night-scene { position: absolute; inset: 0; background:
  radial-gradient(ellipse 120% 70% at 50% 118%, rgba(161,98,7,.16) 0%, transparent 55%),
  radial-gradient(ellipse 90% 80% at 72% 18%, #1A2238 0%, #0E1322 48%, #070A12 100%); overflow: hidden; }
.night-scene .stars, .night-scene .stars2 { position: absolute; inset: 0; background-repeat: repeat; }
.night-scene .stars { background-image: radial-gradient(1.4px 1.4px at 22px 34px, rgba(250,250,249,.9) 50%, transparent 51%),
  radial-gradient(1px 1px at 160px 90px, rgba(250,250,249,.7) 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 310px 150px, rgba(226,199,135,.85) 50%, transparent 51%),
  radial-gradient(1px 1px at 420px 60px, rgba(250,250,249,.6) 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 520px 200px, rgba(250,250,249,.8) 50%, transparent 51%),
  radial-gradient(1px 1px at 80px 220px, rgba(250,250,249,.55) 50%, transparent 51%),
  radial-gradient(1.3px 1.3px at 640px 110px, rgba(226,199,135,.7) 50%, transparent 51%);
  background-size: 700px 280px; animation: twinkle 7s ease-in-out infinite alternate; }
.night-scene .stars2 { background-image: radial-gradient(1px 1px at 60px 120px, rgba(250,250,249,.5) 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 240px 40px, rgba(250,250,249,.75) 50%, transparent 51%),
  radial-gradient(1px 1px at 380px 240px, rgba(250,250,249,.5) 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 560px 170px, rgba(250,250,249,.65) 50%, transparent 51%);
  background-size: 640px 300px; animation: twinkle 9s ease-in-out 1.8s infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
.night-scene .moon { position: absolute; top: 13%; right: 11%; width: clamp(140px, 17vw, 250px); animation: moonFloat 14s ease-in-out infinite alternate; filter: drop-shadow(0 0 70px rgba(201,162,39,.35)); }
@keyframes moonFloat { from { transform: translateY(0); } to { transform: translateY(20px); } }
.night-scene .horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(7,10,18,.85)); }
@media (prefers-reduced-motion: reduce) { .night-scene .stars, .night-scene .stars2, .night-scene .moon { animation: none; } }
