:root {
  --bg: #10110f;
  --bg-soft: #181a16;
  --paper: #eee9dd;
  --ink: #171913;
  --green: #5ea431;
  --green-dark: #2d6b24;
  --green-bright: #79c64b;
  --brown: #755134;
  --gold: #d9a72d;
  --muted: #aaa79c;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  /* Harte Begrenzung: das Logo kann den Header niemals mehr aufblasen. */
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  overflow: hidden;

  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 6px clamp(20px, 4vw, 72px);

  background: rgba(16,17,15,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  width: 150px !important;
  height: 66px !important;
  min-height: 0 !important;
  max-height: 66px !important;
  overflow: hidden !important;
}

.brand-logo img {
  display: block !important;
  width: auto !important;
  height: 62px !important;
  min-width: 0 !important;
  max-width: 145px !important;
  min-height: 0 !important;
  max-height: 62px !important;
  object-fit: contain !important;
  object-position: left center !important;
  flex: 0 0 auto !important;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.35));
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #d7d7cf;
}

.nav a:hover { color: var(--green-bright); }

.header-download {
  padding: 13px 18px;
  background: var(--green);
  border-bottom: 4px solid var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: 90px clamp(22px, 6vw, 110px);
  background:
    radial-gradient(circle at 82% 28%, rgba(94,164,49,.28), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(117,81,52,.2), transparent 25%),
    linear-gradient(135deg, #11140f 0%, #181b14 55%, #0f100e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #4f7e2f 0 48px,
    #3e6b28 48px 96px
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image: radial-gradient(#fff .7px, transparent .7px);
  background-size: 7px 7px;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-bright);
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 12px;
}

.hero h1,
.section-heading h2,
.community h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .01em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(62px, 9vw, 138px);
  text-shadow: 0 7px 0 rgba(0,0,0,.28);
}

.hero h1 span { color: var(--green-bright); }

.hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: #cbcbbf;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 2px solid transparent;
  transition: .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green);
  border-color: #78c74c;
  box-shadow: 0 6px 0 var(--green-dark);
}

.btn-secondary {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}

.btn-gold {
  color: #1b1609;
  background: var(--gold);
  border-color: #efc452;
  box-shadow: 0 6px 0 #8f6b17;
}

.launcher-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 14px;
  color: #d9dfd2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 700;
}

.launcher-status-dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(217,167,45,.65);
}

.launcher-status.is-online .launcher-status-dot {
  background: var(--green-bright);
  box-shadow: 0 0 14px rgba(121,198,75,.75);
}

.launcher-download.is-disabled {
  cursor: not-allowed;
  opacity: .62;
  filter: grayscale(.15);
  transform: none !important;
}

.launcher-status-pulse {
  animation: launcherPulse .5s ease;
}

@keyframes launcherPulse {
  50% { transform: scale(1.025); }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #9b9e91;
  font-size: 13px;
}

.hero-meta span {
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.hero-meta span:last-child { border-right: 0; }

.hero-card {
  width: min(100%, 520px);
  justify-self: center;
  padding: 24px;
  background: #1c1e19;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 18px 18px 0 rgba(0,0,0,.28);
}

.status-line {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #dfe6da;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green-bright);
  box-shadow: 0 0 16px var(--green);
}

.world-label {
  margin: 18px 0 10px;
  color: #888c81;
  font-size: 12px;
  font-weight: 800;
}

.world-preview {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background:
    linear-gradient(#8ec0cf 0 42%, #7fb657 42% 52%, #72513a 52% 100%);
  border: 6px solid #11130f;
}

.block {
  position: absolute;
  width: 120px;
  height: 120px;
  background:
    linear-gradient(#6ea93e 0 28%, transparent 28%),
    #6d4c32;
  box-shadow: inset -14px -14px 0 rgba(0,0,0,.14);
}

.block-1 { left: -10px; bottom: 20px; transform: scale(1.6); }
.block-2 { left: 150px; bottom: -10px; transform: scale(1.25); }
.block-3 { right: -20px; bottom: 70px; transform: scale(1.5); }
.block-4 { right: 120px; top: 80px; transform: scale(.7); }

.floating-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 12px;
  color: #15190e;
  background: #d5bd59;
  border: 3px solid #111;
  font-family: Anton, sans-serif;
  font-size: 18px;
  line-height: 1;
  transform: rotate(3deg);
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  background: rgba(255,255,255,.08);
}

.server-stats div {
  padding: 16px 8px;
  text-align: center;
  background: #171915;
}

.server-stats strong {
  display: block;
  font-family: Anton, sans-serif;
  font-size: 27px;
  color: var(--green-bright);
}

.server-stats span {
  color: #93978b;
  font-size: 12px;
}

/* ===== neuer, isolierter Marquee ===== */

.lc-marquee {
  overflow: hidden;
  width: 100%;
  background: var(--green-bright);
  color: #13160e;
  border-top: 1px solid rgba(0,0,0,.16);
  border-bottom: 1px solid rgba(0,0,0,.16);
}

.lc-marquee-viewport {
  overflow: hidden;
  width: 100%;
  padding: 14px 0;
}

.lc-marquee-track {
  display: flex;
  width: max-content;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.lc-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  white-space: nowrap;
  font-family: Anton, Impact, sans-serif;
  font-size: 20px;
}

.lc-marquee-group span {
  flex: 0 0 auto;
}

/* ===== content ===== */

.section {
  padding: 100px clamp(22px, 6vw, 110px);
}

.intro,
.faq-section {
  color: var(--ink);
  background: var(--paper);
}

.section-heading h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.section-heading.light h2 { color: #fff; }

.lead {
  max-width: 820px;
  margin: 28px 0 56px;
  font-size: 20px;
  line-height: 1.7;
  color: #535548;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  background: #f7f4eb;
  border: 2px solid #1b1d17;
  box-shadow: 8px 8px 0 #b9b3a4;
}

.feature-card:nth-child(even) { transform: translateY(18px); }

.feature-number {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #9a9a8c;
  font-family: Anton, sans-serif;
  font-size: 18px;
}

.pixel-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: #fff;
  background: var(--green);
  border: 4px solid #1c2117;
  font-size: 26px;
  box-shadow: inset -8px -8px 0 rgba(0,0,0,.14);
}

.feature-card h3,
.step h3 {
  margin: 0 0 12px;
  font-family: Anton, sans-serif;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: #5e6055;
  line-height: 1.65;
}

.start-section {
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    #151712;
  background-size: 40px 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--line);
}

.step {
  min-height: 320px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.step:last-child { border-right: 0; }

.step-index {
  display: block;
  margin-bottom: 70px;
  color: var(--green-bright);
  font-family: Anton, sans-serif;
  font-size: 58px;
}

.step p {
  color: #aaa99f;
  line-height: 1.6;
}

.step a {
  display: inline-block;
  margin-top: 12px;
  color: var(--green-bright);
  font-weight: 800;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 30px;
  color: #1e1b12;
  background: #e6dfca;
  border-left: 8px solid var(--gold);
}

.download-panel h3 {
  margin: 4px 0;
  font-family: Anton, sans-serif;
  font-size: 36px;
  text-transform: uppercase;
}

.download-panel p {
  margin: 0;
  color: #5d594d;
}

.download-panel .eyebrow { color: #79601f; }

.faq-list {
  max-width: 980px;
  margin-top: 50px;
  border-top: 2px solid #22251d;
}

.faq-list details {
  border-bottom: 2px solid #22251d;
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  font-size: 20px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  font-family: Anton, sans-serif;
  font-size: 30px;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0;
  padding: 0 70px 24px 0;
  color: #5d6054;
  line-height: 1.7;
}

.community {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 90px clamp(22px, 6vw, 110px);
  background:
    linear-gradient(120deg, rgba(94,164,49,.18), transparent 42%),
    #11130f;
  border-top: 1px solid var(--line);
}

.community h2 {
  font-size: clamp(56px, 8vw, 110px);
}

.community p:not(.eyebrow) {
  max-width: 650px;
  color: #b3b5aa;
  font-size: 18px;
  line-height: 1.6;
}

.footer {
  display: grid;
  grid-template-columns: 170px 2fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px clamp(22px, 6vw, 110px);
  color: #8f9187;
  background: #090a08;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
}

.footer-logo img {
  display: block;
  width: 145px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover { color: #fff; }

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 145px minmax(0, 1fr) auto;
    height: 74px;
    min-height: 74px;
    max-height: 74px;
  }

  .brand-logo {
    width: 135px !important;
    height: 62px !important;
    max-height: 62px !important;
  }

  .brand-logo img {
    width: auto !important;
    height: 58px !important;
    max-width: 130px !important;
    max-height: 58px !important;
  }

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

  .hero-card {
    width: min(100%, 700px);
    justify-self: start;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 68px;
    min-height: 68px;
    max-height: 68px;
  }

  .brand-logo {
    width: 120px !important;
    height: 56px !important;
    max-height: 56px !important;
  }

  .brand-logo img {
    width: auto !important;
    height: 52px !important;
    max-width: 115px !important;
    max-height: 52px !important;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 18px;
  }

  .nav.open { display: flex; }

  .header-download { display: none; }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 92px);
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .hero-meta span { border-right: 0; }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(even) { transform: none; }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-index { margin-bottom: 34px; }

  .download-panel,
  .community {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-logo img {
    width: 130px;
  }

  .footer-links { flex-wrap: wrap; }
}

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