/* flukto.com — dieselbe Nacht wie die App (docs/05 Glut/Nacht).
   Schriften liegen bei uns; kein Google-Fonts-Aufruf, kein Dritter, der
   mitliest (O-209/O-212-Geist). */

@font-face {
  font-family: 'NotoSans';
  src: url('/assets/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSans';
  src: url('/assets/NotoSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSans';
  src: url('/assets/NotoSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0e1116;
  --night: #0b0e13;
  --panel: #1a2029;
  --line: #2e3742;
  --ember: #f2a25c;
  --hot: #ffd37a;
  --deep: #c98a4b;
  --smoke: #9ba5b2;
  --dim: #6c7683;
  --text: #f1f4f8;
  --text2: #aeb8c4;
  --measure: 34rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'NotoSans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

a { color: var(--ember); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 .4rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 {
  font-size: 1.3rem;
  margin: 2.4rem 0 .6rem;
  text-wrap: balance;
}
h3 { font-size: 1.05rem; margin: 1.8rem 0 .4rem; }
p { margin: 0 0 1rem; color: var(--text2); }
strong { color: var(--text); font-weight: 700; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  color: var(--smoke);
}
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--ember);
  color: var(--text2);
}
ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--text2); }
li { margin-bottom: .35rem; }
li::marker { color: var(--ember); }

/* Kopf ------------------------------------------------------------------ */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.2rem 1.5rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .02em;
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.lang { color: var(--dim); font-size: .85rem; }

/* Bühne ----------------------------------------------------------------- */
.hero { margin: 2.5rem 0 2rem; }
.tagline {
  font-size: 1.25rem;
  color: var(--smoke);
  margin: 0 0 2rem;
}
.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--night);
  padding: 0;
  overflow: hidden;
  margin: 0 0 2.5rem;
}
.stage svg { display: block; width: 100%; height: auto; }

.points { list-style: none; padding: 0; margin: 0 0 2rem; }
.points li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .9rem;
  color: var(--text2);
}
.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
}

.note {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1rem 1.2rem;
  color: var(--text2);
  margin: 0 0 2rem;
}
.note strong { color: var(--hot); }

/* Rechtstexte ----------------------------------------------------------- */
.doc h1 { font-size: 2rem; }
.doc table { display: none; }
.doc .cells { color: var(--text2); margin: 0 0 .4rem; }

.version {
  color: var(--dim);
  font-size: .9rem;
  margin: 0 0 2rem;
}

/* Fuß ------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--dim);
  font-size: .9rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  margin-bottom: 1rem;
}
footer a { color: var(--smoke); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  .wrap { padding: 2rem 1.2rem 3rem; }
  .top { padding: 1rem 1.2rem 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: breathe 5.2s ease-in-out infinite; transform-origin: center; }
  @keyframes breathe {
    0%, 100% { opacity: .35; transform: scale(1); }
    50%      { opacity: .75; transform: scale(1.06); }
  }
}

/* Vorhang ---------------------------------------------------------------
   Bis zur Veroeffentlichung steht hier nur der Name. Wer noch nichts
   herunterladen kann, soll auch nichts erklaert bekommen — die ausfuehrliche
   Startseite wartet in pages/<lang>/index-launch.html. */
.soon {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .4rem;
}
.soon-mark { width: 116px; max-width: 40vw; }
.soon-mark svg { display: block; width: 100%; height: auto; }
.soon h1 {
  font-size: 2.6rem;
  letter-spacing: .04em;
  margin: .6rem 0 0;
}
.soon-line {
  color: var(--smoke);
  font-size: 1.1rem;
  margin: 0;
}

/* Nackter Vorhang: kein Kopf, keine Fussleiste, nur das Zeichen und die
   eine Pflichtzeile. */
body.bare {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
body.bare .soon { min-height: 0; }
