/* Static coming-soon site (Gesamtplan 33.B). Palette mirrors the app's
   globals.css so both surfaces read as one product: #05070a ground,
   slate text ramp, #38bdf8 accent, #22c55e / #eab308 / #ef4444 status. */

:root {
  --ground: #05070a;
  --panel: rgba(15, 23, 42, 0.76);
  --panel-soft: rgba(15, 23, 42, 0.42);
  --border: #1e293b;
  --border-hover: #475569;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-soft: #64748b;
  --accent: #38bdf8;
  --good: #22c55e;
  --warn: #eab308;
  --bad: #ef4444;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(30, 64, 175, 0.18), transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(15, 118, 110, 0.12), transparent 55%),
    var(--ground);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- landing layout -------------------------------------------------- */

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#threatmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.stage > header,
.stage > main,
.stage > footer {
  position: relative;
  z-index: 1;
}

.stage > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 30px;
}

.wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text);
}

.wordmark small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--muted-soft);
}

.build-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  backdrop-filter: blur(6px);
}

.build-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.5);
}

.stage > main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero {
  max-width: 720px;
  text-align: center;
  padding: 44px 40px 40px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.68));
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.6);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 76px);
  line-height: 1.02;
  letter-spacing: 0.08em;
  min-height: 1.02em;
}

.hero .sub {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.hero .claim {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.hero .claim span { color: var(--accent); }

.stage > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  align-items: center;
  padding: 20px 24px 26px;
  font-size: 13px;
  color: var(--muted-soft);
}

/* ---- document pages (Legal Notice / Privacy Policy) ------------------ */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.doc .backlink {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* Two-click reachability: both legal pages linked from each legal page. */
.doc-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.doc-nav a {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel-soft);
}

.doc-nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--accent);
}

.doc article {
  padding: 36px 38px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
}

.doc h1 {
  margin: 0 0 6px;
  font-size: 30px;
}

.doc h2 {
  margin: 30px 0 8px;
  font-size: 18px;
  color: #cbd5e1;
}

.doc p, .doc li {
  line-height: 1.65;
  color: var(--muted);
  font-size: 15px;
}

.doc .placeholder-warning {
  margin: 20px 0 4px;
  padding: 14px 16px;
  border: 1px solid rgba(234, 179, 8, 0.55);
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.08);
  color: var(--warn);
  font-size: 14px;
  line-height: 1.55;
}

.doc .field {
  color: var(--text);
  background: rgba(148, 163, 184, 0.12);
  border-radius: 5px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* ---- motion (only when the visitor allows it) ------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .build-badge .dot {
    animation: buildPulse 2.4s ease-out infinite;
  }
  @keyframes buildPulse {
    0%   { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.5); }
    70%  { box-shadow: 0 0 0 9px rgba(234, 179, 8, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
  }
}

@media (max-width: 640px) {
  .stage > header { padding: 18px 20px; }
  .hero { padding: 34px 22px 30px; }
  .doc article { padding: 26px 20px; }
}
