/* ============================================================
   ÖLBARON — Heritage Speiseöl-Manufaktur
   Vintage apothecary / oil-merchant aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,600&family=Spectral:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --cream:        #f3e6c8;
  --cream-deep:   #e9d6b1;
  --paper:        #f5e9d2;
  --ink:          #261a0e;
  --ink-soft:     #3d2c18;
  --espresso:     #4a3621;
  --gold:         #a87c36;
  --gold-bright:  #c79a4c;
  --gold-pale:    #d9bd83;
  --barrel:       #7a5a30;
  --rule:         rgba(38, 26, 14, 0.55);

  --shadow-warm:  0 22px 60px -28px rgba(38, 26, 14, .55);

  --serif-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --serif-body:    'Spectral', Georgia, serif;

  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--serif-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 90% at 50% 8%, rgba(248,238,216,.9) 0%, rgba(243,230,200,0) 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(38,26,14,.30) 0%, rgba(38,26,14,0) 55%);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* film-grain / paper texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: var(--paper); }

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

/* ---- decorative double-rule frame ---- */
.frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 46px);
  display: flex;
  flex-direction: column;
}
.frame::before {
  content: "";
  position: absolute;
  inset: clamp(12px, 2.4vw, 26px);
  border: 1.5px solid var(--rule);
  box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5.5px var(--rule);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   LANDING / COMING SOON
   ============================================================ */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(28px, 6vw, 64px) 16px clamp(20px, 3vw, 40px);
}

.eyebrow {
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: .52em;
  font-size: clamp(.62rem, 1.4vw, .78rem);
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1.1em;
  padding-left: .52em;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: clamp(26px, 7vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 60%);
}
.eyebrow::after { transform: scaleX(-1); }

.hero-figure {
  width: clamp(196px, 34vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(38,26,14,.26));
}

.wordmark {
  font-family: var(--serif-display);
  font-weight: 900;
  font-optical-sizing: auto;
  font-size: clamp(3.4rem, 14vw, 8.2rem);
  line-height: .84;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 70%, var(--espresso) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* slow gold shimmer sweep */
.wordmark::after {
  content: "ÖLBARON";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 38%, var(--gold-bright) 50%, transparent 62%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .9;
  background-size: 280% 100%;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 160% 0; }
  50%      { background-position: -60% 0; }
}

.tagline {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--espresso);
  letter-spacing: .01em;
  max-width: 30ch;
}

/* ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(420px, 80%);
  margin: clamp(6px,1.4vw,14px) auto 0;
  color: var(--gold);
}
.ornament .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rule)); }
.ornament .line.r { transform: scaleX(-1); }
.ornament svg { width: 26px; height: 26px; flex: none; opacity: .85; }

.status {
  max-width: 46ch;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: var(--ink-soft);
}
.status strong { font-weight: 600; color: var(--ink); }

/* wax-style "Im Aufbau" stamp */
.stamp {
  margin-top: 6px;
  display: inline-block;
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: .7em 1.5em .7em 1.84em;
  transform: rotate(-3.5deg);
  background: rgba(199,154,76,.07);
}

/* ---- footer ---- */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(16px, 3vw, 30px) 16px clamp(8px, 2vw, 20px);
  font-size: .82rem;
  color: var(--espresso);
}
.foot nav {
  display: flex;
  gap: 1.4em;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: .9em;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
}
.foot nav a { position: relative; padding-bottom: 2px; color: var(--ink-soft); }
.foot nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s ease;
}
.foot nav a:hover::after { width: 100%; }
.foot .legal { color: var(--barrel); font-size: .78rem; letter-spacing: .02em; }

/* ============================================================
   LEGAL PAGES (Impressum / AGB)
   ============================================================ */
.doc {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 70px) clamp(20px, 5vw, 40px) 60px;
  flex: 1;
}
.doc-head {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(20px,3vw,30px);
  border-bottom: 1px solid var(--rule);
}
.doc-head .mini-mark {
  font-family: var(--serif-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--ink);
}
.doc-head .mini-mark a { color: inherit; }
.doc-head h1 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: var(--espresso);
  margin-top: .35em;
  font-optical-sizing: auto;
}
.doc h2 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(1.12rem, 3vw, 1.4rem);
  color: var(--ink);
  margin: 1.9em 0 .5em;
  letter-spacing: .01em;
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 {
  font-family: var(--serif-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 1.3em 0 .3em;
}
.doc p, .doc li { font-size: 1rem; color: var(--ink-soft); margin-bottom: .7em; }
.doc ul, .doc ol { padding-left: 1.3em; margin-bottom: .9em; }
.doc li { margin-bottom: .35em; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc address {
  font-style: normal;
  line-height: 1.8;
  margin: .4em 0 1em;
  padding: 1em 1.3em;
  border-left: 3px solid var(--gold);
  background: rgba(199,154,76,.08);
}
.doc a.inline { color: var(--gold); border-bottom: 1px solid rgba(168,124,54,.4); }
.doc a.inline:hover { color: var(--espresso); }
.doc .note {
  font-size: .86rem;
  color: var(--barrel);
  font-style: italic;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px dashed var(--rule);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: 2.2em;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  color: var(--gold);
}
.back:hover { color: var(--espresso); }

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .d1 { animation-delay: .10s; }
  .d2 { animation-delay: .26s; }
  .d3 { animation-delay: .44s; }
  .d4 { animation-delay: .62s; }
  .d5 { animation-delay: .80s; }
  .d6 { animation-delay: .98s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 540px) {
  .eyebrow { letter-spacing: .34em; }
  .wordmark { letter-spacing: .02em; }
}
