@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0c0f;
  --bg-2: #0f1217;
  --panel: #141920;
  --line: rgba(220, 230, 240, 0.1);
  --line-strong: rgba(220, 230, 240, 0.2);
  --text: #e9edf1;
  --muted: #95a0ab;
  --faint: #66717c;
  --steel: #c3ccd5;
  --gold: #e6b43c;
  --cyan: #62c8f5;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #111;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Kopfzeile ---------- */

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  font-weight: 800;
  font-stretch: 125%;
  font-size: 15px;
  letter-spacing: 0.28em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 0;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  animation: drift 40s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 15, 0.85) 0%, rgba(10, 12, 15, 0.1) 30%, rgba(10, 12, 15, 0.15) 50%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 12, 15, 0.75) 0%, rgba(10, 12, 15, 0) 65%);
}

@keyframes drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-content {
  padding-bottom: clamp(32px, 6vw, 64px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 12, 15, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--steel);
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(230, 180, 60, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 180, 60, 0.55);
  }
  80%,
  100% {
    box-shadow: 0 0 0 10px rgba(230, 180, 60, 0);
  }
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(48px, 12.5vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 20%, #aab4be 75%, #7d8893 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  font-stretch: 100%;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede {
  margin: 16px 0 0;
  max-width: 54ch;
  color: var(--steel);
  font-size: clamp(16px, 1.6vw, 18px);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 25, 32, 0.7);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.chip svg {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.chip.gold {
  border-color: rgba(230, 180, 60, 0.45);
  color: var(--gold);
}

/* Telemetrie-Leiste unter dem Hero */
.telemetry {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.telemetry ol {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.telemetry li {
  padding: 18px var(--gutter);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.telemetry li:first-child {
  border-left: 0;
}

.telemetry b {
  font-weight: 600;
  font-size: 16px;
}

/* ---------- Abschnitte ---------- */

section {
  padding: clamp(72px, 11vw, 140px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head .label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
}

.section-head .label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h2 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  max-width: 60ch;
}

/* ---------- Route (Akte) ---------- */

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}

.route li {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden;
}

.route .planet {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 26px;
  position: relative;
}

.route .planet::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
}

.planet.earth {
  background: radial-gradient(circle at 32% 30%, #9fd3f5 0%, #3d86c6 38%, #173a63 72%, #0b1a2c 100%);
}

.planet.moon {
  background:
    radial-gradient(circle at 62% 58%, rgba(0, 0, 0, 0.22) 0 9%, transparent 10%),
    radial-gradient(circle at 38% 66%, rgba(0, 0, 0, 0.18) 0 6%, transparent 7%),
    radial-gradient(circle at 34% 30%, #eef0f2 0%, #b5bbc1 40%, #5f666d 78%, #2a2e33 100%);
}

.planet.mars {
  background:
    radial-gradient(circle at 60% 40%, rgba(80, 30, 15, 0.35) 0 12%, transparent 13%),
    radial-gradient(circle at 34% 30%, #f3b48a 0%, #cf6a3b 38%, #7d2e17 75%, #2e1209 100%);
}

.route .label {
  color: var(--faint);
}

.route h3 {
  margin: 6px 0 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 26px;
  line-height: 1.1;
}

.route .where {
  margin: 4px 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan);
}

.route p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.route .tag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(230, 180, 60, 0.45);
}

/* ---------- Spaceship ---------- */

.ship {
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(98, 200, 245, 0.06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ship-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.ship-figure {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 5 / 6;
}

.ship-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.ship-figure figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(10, 12, 15, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--steel);
}

.ship .section-head {
  margin-bottom: 32px;
}

.chain {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 12, 15, 0.5);
  font-family: var(--mono);
  font-size: 14px;
}

.chain li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.chain li:first-child {
  border-top: 0;
}

.chain .n {
  color: var(--faint);
  min-width: 2ch;
}

.chain .arrow {
  color: var(--gold);
}

.chain .out {
  color: var(--cyan);
}

/* ---------- Screenshot ---------- */

.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s ease;
}

.feature .media {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.feature:hover img {
  transform: scale(1.03);
}

.feature .body {
  padding: 22px 24px 26px;
}

.feature h3 {
  margin: 8px 0 8px;
  font-weight: 700;
  font-stretch: 108%;
  font-size: 22px;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature .label {
  color: var(--faint);
}

.specs {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.specs div {
  padding: 22px 22px 24px;
  border-left: 1px solid var(--line);
}

.specs div:first-child {
  border-left: 0;
}

.specs dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.specs dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.specs dd strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
}

/* ---------- Fair ---------- */

.fair {
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(-45deg, rgba(230, 180, 60, 0.05) 0 14px, transparent 14px 28px) top / 100% 8px no-repeat,
    var(--bg);
}

.fair .section-head {
  margin: 0 auto;
}

.fair .section-head .label {
  justify-content: center;
}

.fair .section-head .label::before {
  display: none;
}

.fair h2 {
  font-size: clamp(34px, 6.4vw, 78px);
}

.fair h2 span {
  display: block;
}

.fair h2 span:nth-child(2) {
  color: var(--steel);
}

.fair h2 span:nth-child(3) {
  color: var(--faint);
}

.fair .section-head p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Abschluss ---------- */

.closing {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.closing::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 72%;
  width: max(180%, 1400px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #262c33 0%, #14181d 12%, var(--bg) 30%);
  box-shadow: 0 -1px 0 rgba(195, 204, 213, 0.35), 0 -40px 140px rgba(98, 200, 245, 0.12);
}

.closing .wrap {
  text-align: center;
}

.closing h2 {
  font-stretch: 125%;
  font-size: clamp(30px, 6vw, 72px);
}

.closing p {
  margin: 18px auto 0;
  max-width: 48ch;
  color: var(--muted);
}

.closing .platforms {
  justify-content: center;
}

/* ---------- Fußzeile ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--faint);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

/* ---------- Rechtstexte ---------- */

.legal {
  padding: 140px 0 90px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  margin: 0 0 32px;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.legal h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  font-stretch: 100%;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.legal p,
.legal li {
  color: var(--steel);
}

.legal address {
  font-style: normal;
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0;
}

.lost h1 {
  margin: 12px 0 0;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(44px, 9vw, 110px);
  line-height: 0.95;
}

.lost p {
  color: var(--muted);
}

.lost a.chip {
  text-decoration: none;
  margin-top: 16px;
}

/* ---------- Responsiv ---------- */

@media (max-width: 900px) {
  .route {
    grid-template-columns: 1fr;
  }

  .ship-grid {
    grid-template-columns: 1fr;
  }

  .ship-figure {
    aspect-ratio: 4 / 3;
    order: 2;
  }

  .specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs div:nth-child(3) {
    border-left: 0;
  }

  .specs div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .telemetry ol {
    grid-template-columns: 1fr;
  }

  .telemetry li {
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .telemetry li:first-child {
    border-top: 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .specs div {
    border-left: 0;
  }

  .specs div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .hero-bg img {
    object-position: 75% 60%;
  }

  .closing::before {
    top: 86%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

section.tight {
  padding-top: 0;
}
