/* Pre-launch placeholder served by Caddy on the public domain. Tokens mirror apps/web/app/globals.css. */
@font-face { font-family: 'Cinzel'; src: url('/cinzel.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/jost.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --js-black: #0B0E0A;
  --js-jungle-900: #142318;
  --js-gold: #C9A24B;
  --js-gold-light: #EBD491;
  --js-gold-dark: #8A6D2B;
  --js-ivory: #F4EEDF;
  --js-mist: #B9BFB2;
  --js-font-display: 'Cinzel', Georgia, serif;
  --js-font-body: 'Jost', system-ui, sans-serif;
  --js-ease: cubic-bezier(0.33, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--js-black);
  color: var(--js-ivory);
  font-family: var(--js-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 32px;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 560px;
  text-align: center;
  animation: reveal 600ms var(--js-ease) both;
}

.sign {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 52vh;
  margin: 0 auto;
  /* feather the photo edges into the page background */
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at center, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at center, #000 62%, transparent 100%);
}

.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px auto;
  max-width: 320px;
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--js-gold-dark);
}
.rule svg { flex-shrink: 0; }

h1 {
  margin: 0 0 16px;
  font-family: var(--js-font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--js-gold);
}

.lead {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--js-ivory);
}

.alt {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--js-mist);
  font-size: 0.9375rem;
}
.alt span {
  font-family: var(--js-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--js-gold);
  margin-right: 8px;
}

footer {
  margin-top: 64px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--js-mist);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
}
footer a {
  color: var(--js-mist);
  text-decoration: none;
  display: inline-block;
  padding: 12px 0; /* ≥44px touch target with line-height */
  transition: color 180ms var(--js-ease);
}
footer a:hover { color: var(--js-gold-light); }
a:focus-visible { outline: 2px solid var(--js-gold-light); outline-offset: 3px; }

/* Legal pages (impressum.html, datenschutz.html) */
.legal { text-align: left; max-width: 68ch; }
.legal .back { color: var(--js-gold); text-decoration: none; display: inline-block; padding: 12px 0; margin-bottom: 24px; }
.legal .back:hover { color: var(--js-gold-light); }
.legal h1 { text-align: left; }
.legal h2 {
  margin: 32px 0 8px;
  font-family: var(--js-font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--js-gold-light);
}
.legal p { margin: 0 0 16px; color: var(--js-mist); }

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  main { animation: fade 150ms linear both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (min-width: 768px) {
  body { padding: 64px 24px 48px; }
}
