@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --midnight: #0b1018;
  --navy: #172536;
  --blue: #477dff;
  --blue-soft: #6a96ff;
  --ice: #f2f4f7;
  --muted: #9aa6b8;
  --line: rgba(242, 244, 247, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--midnight);
  color: var(--ice);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--blue);
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 600; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: rgba(11, 16, 24, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { width: 38px; height: auto; }
.brand-text { line-height: 1; }
.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.34em;
}
.brand-text span {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.7em;
  color: var(--blue);
}
.nav-links { display: flex; gap: 34px; font-size: 13px; letter-spacing: 0.08em; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ice); }
.nav-cta {
  padding: 11px 20px;
  border: 1px solid var(--blue);
  color: var(--ice) !important;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(242,244,247,.28); color: var(--ice); }
.btn-ghost:hover { border-color: var(--ice); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, var(--midnight) 0%, var(--midnight) 45%, var(--navy) 100%);
  z-index: -2;
}
/* Diagonale Streifen wie im Design-Sheet */
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 62%;
  height: 120%;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(71,125,255,.10) 58% 60%, transparent 60% 66%, rgba(71,125,255,.85) 66% 72%, transparent 72%),
    linear-gradient(115deg, transparent 0 74%, rgba(23,37,54,.9) 74% 100%);
  z-index: -1;
  opacity: .9;
}
.hero > .wrap { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 28px 0 26px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-bottom: 42px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark {
  position: relative;
  justify-self: center;
  width: min(420px, 80%);
}
.hero-mark svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(71,125,255,.25)); }
.hero-tagline {
  margin-top: 96px;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue {
  position: absolute;
  left: 28px;
  bottom: 40px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
section { padding: 140px 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 72px; }
.section-head .lead { justify-self: end; }

.rule { height: 1px; background: var(--line); }

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid p { color: var(--muted); margin-bottom: 22px; font-size: 1.02rem; }
.about-grid p strong { color: var(--ice); font-weight: 500; }
.stages { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stage { padding: 28px 22px 0 0; }
.stage span {
  display: block;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--blue);
  margin-bottom: 14px;
}
.stage h3 { font-size: 1.05rem; margin-bottom: 8px; }
.stage p { color: var(--muted); font-size: .92rem; }

/* Formate */
.formats { background: var(--navy); }
.formats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 84%, rgba(71,125,255,.18) 84% 86%, transparent 86%);
  pointer-events: none;
}
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(11,16,24,.6); }
.format {
  background: var(--navy);
  padding: 52px 40px 46px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: background .3s;
}
.format:hover { background: #1c2d42; }
.format-num { font-size: 12px; letter-spacing: .3em; color: var(--blue); margin-bottom: 40px; }
.format h3 { font-size: 1.5rem; margin-bottom: 18px; font-weight: 500; }
.format > p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.format ul { list-style: none; margin-top: auto; border-top: 1px solid var(--line); padding-top: 24px; }
.format li {
  font-size: .88rem;
  color: var(--ice);
  padding: 8px 0 8px 22px;
  position: relative;
}
.format li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 2px;
  background: var(--blue);
}
.formats-note { margin-top: 28px; font-size: .85rem; color: var(--muted); }

/* Prinzipien */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 44px 32px 0 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--line); }
.principle svg { width: 36px; height: 36px; stroke: var(--blue); fill: none; stroke-width: 1.4; margin-bottom: 30px; }
.principle h3 { font-size: 1.1rem; margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: .92rem; }

/* Discord */
.discord { background: var(--midnight); }
.discord-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.discord-list { list-style: none; border-top: 1px solid var(--line); }
.discord-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.discord-list b { font-weight: 500; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; color: var(--blue); padding-top: 3px; }
.discord-list span { color: var(--muted); font-size: .95rem; }
.discord-note {
  margin-top: 40px;
  padding: 26px 30px;
  border-left: 2px solid var(--blue);
  background: rgba(23,37,54,.5);
  color: var(--muted);
  font-size: .95rem;
}
.discord-note strong { color: var(--ice); font-weight: 500; }
.discord-cta { margin-top: 32px; }

/* Pilot */
.pilot { background: var(--navy); overflow: hidden; }
.pilot-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pilot h2 { margin: 24px 0 24px; }
.pilot p { color: var(--muted); margin-bottom: 18px; }
.pilot-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--navy); padding: 34px 30px; }
.fact b { display: block; font-size: 2.4rem; font-weight: 500; color: var(--ice); line-height: 1; margin-bottom: 12px; }
.fact span { font-size: .85rem; color: var(--muted); }

/* Kontakt */
.contact { text-align: left; }
.contact-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.contact-links { display: flex; flex-direction: column; gap: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0; font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: var(--ice); }
.footer-links { display: flex; gap: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Impressum */
.legal { padding: 180px 0 120px; max-width: 760px; }
.legal h1 { font-size: 2.4rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.1rem; margin: 40px 0 12px; font-weight: 600; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal .todo { color: var(--blue-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .discord-grid, .pilot-inner, .contact-box, .section-head { grid-template-columns: 1fr; gap: 48px; }
  .section-head .lead { justify-self: start; }
  .hero-mark { order: -1; width: 240px; }
  .hero-tagline { margin-top: 56px; }
  .stages, .principles { grid-template-columns: 1fr 1fr; }
  .stage, .principle { padding-bottom: 40px; }
  .principle:nth-child(3) { border-left: 0; padding-left: 0; }
  .format-grid { grid-template-columns: 1fr; }
  .format { min-height: auto; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  section { padding: 96px 0; }
  .wrap { padding: 0 22px; }
  .stages, .principles { grid-template-columns: 1fr; }
  .principle + .principle { padding-left: 0; border-left: 0; }
  .discord-list li { grid-template-columns: 1fr; gap: 6px; }
  .pilot-facts { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .brand-text span { letter-spacing: .5em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
