/* Kolonaut-Website. Farben aus dem Spiel: Nachtblau, Signalblau, Erzgold. */
:root {
  --bg: #0c1118;
  --bg-2: #111b2b;
  --panel: #16233a;
  --line: #1d2a3d;
  --line-2: #2b3d58;
  --text: #eaf0fa;
  --muted: #c3d0e2;
  --soft: #8fa2bf;
  --blue: #2868ed;
  --blue-press: #1f57c9;
  --link: #a9c8ff;
  --ore: #e4b663;
  --font: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2 { line-height: 1.12; letter-spacing: -.02em; margin: 0; color: #f3f7ff; }
h2 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 14px; }
p { margin: 0 0 14px; color: var(--muted); }

.inner { width: min(1080px, 100%); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
.narrow { width: min(760px, 100%); }

.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--blue); color: #fff; border-radius: 10px; z-index: 20; }
.skip:focus { top: 12px; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  background: rgba(12, 17, 24, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; margin-right: auto; }
.brand img { border-radius: 10px; }
.header-links { display: none; gap: 22px; }
.header-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.header-links a:active { color: var(--text); }
.lang-flag { display: flex; padding: 6px; border-radius: 8px; }
.lang-flag svg { border-radius: 3px; }
@media (min-width: 860px) { .header-links { display: flex; } }

/* Store-Hinweise: noch keine Links, bis die Apps in den Stores sind */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.store-badge { display: inline-block; padding: 12px 18px; border-radius: 12px; background: #05080d; border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 16px; }

/* Hero */
.hero { padding: 40px 0 56px; background: radial-gradient(120% 70% at 75% 30%, #1a2c4a 0%, rgba(12, 17, 24, 0) 62%); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(40px, 8vw, 72px); margin-bottom: 18px; text-wrap: balance; }
.ore { color: var(--ore); }
.lead { font-size: clamp(19px, 2.6vw, 23px); color: #dbe5f6; max-width: 30em; margin-bottom: 26px; }
.hero-note { margin: 16px 0 0; font-size: 15px; color: var(--soft); }
@media (min-width: 860px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}

/* Handyrahmen */
.phone { margin: 0 auto; width: min(300px, 78vw); padding: 10px; border-radius: 44px; background: #05080d; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.phone img { width: 100%; border-radius: 34px; background: var(--bg-2); }
.hero-scene { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: var(--bg-2); }
.hero-scene img { width: 100%; }

/* Abschnitte mit Bild */
.row { padding: 56px 0; border-top: 1px solid var(--line); }
.row-grid { display: grid; gap: 32px; align-items: center; }
.row-copy { max-width: 34em; }
.row-copy p { font-size: 18px; }
@media (min-width: 860px) {
  .row { padding: 88px 0; }
  .row-grid { grid-template-columns: 320px 1fr; gap: 80px; }
  .row.flip .row-grid { grid-template-columns: 1fr 320px; }
  .row.flip .phone { order: 2; }
}

.section { padding: 64px 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .section { padding: 96px 0; } }

/* Pause */
.pause { background: var(--bg-2); }
.pause-grid { display: grid; gap: 36px; align-items: center; }
.pause-grid p { font-size: 18px; max-width: 34em; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { padding: 22px 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); }
.facts dt { font-size: clamp(34px, 5vw, 46px); font-weight: 700; color: var(--ore); line-height: 1.1; }
.facts dd { margin: 4px 0 0; color: var(--muted); }
@media (min-width: 860px) { .pause-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; } .facts { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { margin-top: 18px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 18px; max-width: 40em; }

/* Abschluss */
.end-panel { display: grid; gap: 22px; justify-items: start; padding-top: 8px; padding-bottom: 8px; }
.end-panel img { border-radius: 22px; }
.end-panel h2 { margin-bottom: 6px; }
@media (min-width: 860px) { .end-panel { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } .end-panel p { margin: 0; } }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 max(36px, env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--soft); font-size: 14px; }
.footer-brand img { border-radius: 7px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; }

/* Rechtstext */
.legal { padding: 40px 0 72px; }
.legal h1 { font-size: clamp(32px, 6vw, 46px); margin: 10px 0 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: 0; }
.legal p { font-size: 16px; line-height: 1.7; }
.legal .back { font-size: 15px; }
.legal .stand { margin-top: 32px; color: var(--soft); font-size: 14px; }

/* Einblenden beim ersten Sichtkontakt (nur mit JS, nur ohne „Bewegung reduzieren“) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .4s ease-out, transform .4s cubic-bezier(.2, .8, .2, 1); }
.js-reveal [data-reveal].seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}
