@import url("fonts.css");

/* ==========================================================================
   Leas Backstube — Coming Soon
   Stil übernommen von meisterbaeckerin.de:
   soft-black #070504 · gold #D8C496 · bronze #A48462 · Cinzel + Montserrat
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #070504;
  --gold: #D8C496;
  --gold-lt: #F2E7CB;
  --bronze: #A48462;
  --muted: #8F7B59;
  --paper: #F3EDE1;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(216, 196, 150, .28); color: #fff; }

/* ---------------------------------------------------------------- Bühne -- */

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2.4rem, 5.5vh, 4.5rem) clamp(1.35rem, 6vw, 4rem) clamp(5rem, 9vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}

/* warmes Ofenlicht */
.stage::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 50% 4%, rgba(216, 196, 150, .17), transparent 72%),
    radial-gradient(58% 48% at 50% 104%, rgba(164, 132, 98, .22), transparent 70%),
    radial-gradient(80% 70% at 50% 50%, rgba(143, 123, 89, .07), transparent 78%);
  animation: breathe 14s ease-in-out infinite;
}

/* Vignette */
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(115% 95% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* feine Papier-/Mehlkörnung */
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .045;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* Brotmalerei-Mandala als Wasserzeichen */
.mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(118vmin, 1180px);
  height: auto;
  translate: -50% -50%;
  opacity: .13;
  pointer-events: none;
  user-select: none;
  animation: spin 300s linear infinite;
}

/* doppelter Goldrahmen */
.frame {
  position: fixed;
  inset: clamp(13px, 2vw, 26px);
  z-index: 6;
  pointer-events: none;
  border: 1px solid rgba(216, 196, 150, .30);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(216, 196, 150, .10);
}

/* Goldstaub */
.dust { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dust i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation-name: drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* ------------------------------------------------------------- Inhalt --- */

.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 46rem;
  text-align: center;
}

.mark {
  display: block;
  width: 36px;
  height: 56px;
  margin: 0 auto;
  color: var(--gold);
  opacity: .92;
  transform-origin: 50% 100%;
  animation: sway 11s ease-in-out infinite;
}

.eyebrow {
  margin: clamp(.9rem, 2vh, 1.5rem) 0 0;
  font-size: clamp(.58rem, .52rem + .18vw, .68rem);
  font-weight: 500;
  letter-spacing: .44em;
  text-indent: .44em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .82;
}

h1 {
  margin: .5em 0 0;
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.45rem, 9vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: .004em;
  color: var(--gold-lt);
  background: linear-gradient(178deg, #FBF5E6 0%, #E8D8B2 42%, #BE9F73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 22px rgba(216, 196, 150, .18));
}

.lede {
  margin: clamp(1rem, 2.4vh, 1.5rem) auto 0;
  max-width: 33.5rem;
  font-size: clamp(.94rem, .9rem + .28vw, 1.06rem);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(243, 237, 225, .80);
  text-wrap: pretty;
}

.lede strong {
  font-weight: 500;
  color: rgba(243, 237, 225, .92);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin: clamp(1.1rem, 2.6vh, 1.9rem) 0 0;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: clamp(30px, 11vw, 76px);
  background: linear-gradient(90deg, transparent, rgba(216, 196, 150, .62), transparent);
}
.divider i {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  rotate: 45deg;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  margin: clamp(1.1rem, 2.6vh, 1.9rem) 0 0;
  padding: .58rem 1.15rem;
  border: 1px solid rgba(216, 196, 150, .26);
  border-radius: 999px;
  font-size: clamp(.54rem, .5rem + .16vw, .62rem);
  font-weight: 500;
  letter-spacing: .32em;
  text-indent: .32em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(216, 196, 150, .04);
}
.status .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(216, 196, 150, .75);
  animation: pulse 3.4s ease-out infinite;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin: clamp(1.5rem, 3.4vh, 2.4rem) 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  padding: .92rem 1.65rem;
  border: 1px solid rgba(216, 196, 150, .38);
  background: transparent;
  color: var(--paper);
  font-family: inherit;
  font-size: clamp(.6rem, .56rem + .16vw, .68rem);
  font-weight: 500;
  letter-spacing: .24em;
  text-indent: .24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), transform .45s var(--ease);
}
.btn svg { width: 13px; height: 13px; flex: none; }
.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0705;
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.btn--solid { background: rgba(216, 196, 150, .11); border-color: rgba(216, 196, 150, .55); }

/* ------------------------------------------------------------- Footer --- */

.foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(2rem, 4.6vw, 2.6rem);
  z-index: 3;
  padding: 0 1.5rem;
  text-align: center;
  font-size: clamp(.54rem, .5rem + .14vw, .6rem);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, .38);
}
.foot p { margin: 0; }
.foot a { color: inherit; text-decoration: none; transition: color .35s var(--ease); }
.foot a:hover, .foot a:focus-visible { color: var(--gold); }
.foot .sep { display: inline-block; padding: 0 .55rem; opacity: .45; }

/* ---------------------------------------------------------- Animation --- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    animation: rise .95s var(--ease) forwards;
    animation-delay: var(--d, 0s);
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50%      { transform: rotate(1.6deg); }
}

@keyframes spin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

@keyframes breathe {
  0%, 100% { opacity: .82; }
  50%      { opacity: 1; }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(216, 196, 150, .7); }
  70%  { box-shadow: 0 0 0 7px rgba(216, 196, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 196, 150, 0); }
}

@keyframes drift {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  12%  { opacity: .55; }
  80%  { opacity: .35; }
  100% { opacity: 0; transform: translateY(-58vh) translateX(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .mandala,
  .mark,
  .status .dot,
  .stage::before,
  .dust i { animation: none !important; }
  .dust { display: none; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ---------------------------------------------------------- Feinschliff -- */

@media (max-width: 480px) {
  .stage { padding-bottom: 6.5rem; }
  .actions { margin-top: 2.1rem; }
  .lede { line-height: 1.8; }
  .actions { gap: .65rem; }
  .btn { padding: .85rem 1.25rem; letter-spacing: .18em; text-indent: .18em; }
  .foot { letter-spacing: .13em; line-height: 2.05; font-size: .55rem; }
}

@media (max-height: 720px) {
  .stage {
    padding-top: clamp(1.6rem, 3.6vh, 2.6rem);
    padding-bottom: clamp(4.4rem, 8.4vh, 5.4rem);
  }
}

@media (max-height: 620px) {
  .mark { width: 30px; height: 46px; }
  .lede { margin-top: 1.1rem; }
}

@media print {
  .dust, .mandala, .frame { display: none; }
  body { background: #fff; color: #111; }
  h1 { -webkit-text-fill-color: #111; color: #111; }
}
