/* Basis-Styles: Design-Tokens, Reset, globale Typografie und gemeinsame Grundbausteine der Landingpage. */

@font-face {
  font-family: 'Press Start 2P';
  src: local('Press Start 2P'),
       url('../assets/fonts/press-start-2p.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerNext';
  src: url('../assets/fonts/FrutigerNextLTW1G-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerNext';
  src: url('../assets/fonts/FrutigerNextLTW1G-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerNext';
  src: url('../assets/fonts/FrutigerNextLTW1G-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerNextCn';
  src: url('../assets/fonts/FrutigerNextLTW1G-RegularCn.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue:    #00254C;
  --blue2:   #001932;
  --orange:  #EE7202;
  --orange2: #b85900;
  --grid-c:  rgba(255,255,255,0.035);
  --px: 'Press Start 2P', monospace;
  --sans: 'FrutigerNext', Arial, sans-serif;
  --border: 3px solid var(--orange);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
body {
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Sterne */
#stars-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Feines Pixelraster über dem Sternenhintergrund */
#stars-layer::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-c) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
  background-size: 32px 32px;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: white;
  opacity: 0;
  animation: twinkle var(--d, 2s) ease-in-out infinite;
}

/* Alle Inhaltsbereiche liegen oberhalb des Sternenhintergrunds. */
body > * { position: relative; z-index: 1; }
#stars-layer { z-index: 0; }

section.pg, div.pg:not(body) {
  background: transparent;
}
.stats-section   { background: rgba(0,0,0,0.3); }
.faq-section     { background: rgba(0,0,0,0.18); }
.faq-section .px-title { margin-bottom: 36px; }
.prizes-section  { background: rgba(0,0,0,0.22); }
.scout-section   { background: rgba(0,0,0,0.3); }
.cta-section     { background: rgba(238,114,2,0.08); border-top: 3px solid rgba(238,114,2,0.3); }
.cta-section .px-title { text-align: center; }

/* Wiederverwendbare Pixel-Rahmen für Boxen und Karten */
.px-box {
  border: 2px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--orange);
  background: rgba(0,12,30,0.8);
}
.px-box-blue {
  border: 3px solid rgba(255,255,255,0.12);
  background: rgba(0,12,30,0.7);
}

.rnv-logo-bar {
  display: flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
}
.rnv-logo-wrap {
  display: flex; align-items: center;
  text-decoration: none;
}
.rnv-logo-wrap img {
  width: 100%;
  max-width: 110px;
  height: auto;
  display: block;
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding: 44px 40px 40px 34px;
  overflow: visible;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.hero-left {
  padding: 0;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-left::before {
  content: none;
}
.hero-copy-stack {
  max-width: 780px;
}
.hero-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hero-brand::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(238,114,2,0.1) 28%, rgba(0,37,76,0) 72%);
  filter: blur(14px);
}
.hero-brand img,
.hero-brand svg {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 10px 26px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 20px rgba(238,114,2,0.18));
  animation: heroBrandFloat 5.4s ease-in-out infinite;
}
.hero-pretitle {
  font-family: var(--px);
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(238,114,2,0.5);
}
.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}
.hero-meta-item {
  color: rgba(255, 217, 140, 0.92);
  font-family: var(--px);
  font-size: 8px;
  letter-spacing: 1px;
  line-height: 1.5;
}
.hero-title {
  font-family: var(--px);
  font-size: clamp(18px, 2.45vw, 30px);
  line-height: 1.55;
  color: #fff;
  text-shadow: none;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero-title em {
  color: var(--orange);
  font-style: normal;
  display: block;
  font-size: 1.3em;
  margin: 6px 0;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 680px;
  font-family: var(--sans);
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-px {
  font-family: var(--px);
  font-size: 9px;
  padding: 14px 20px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border: 3px solid var(--orange2);
  box-shadow: 4px 4px 0 var(--orange2);
  transition: transform 0.1s, box-shadow 0.1s;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.btn-px:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--orange2); }
.btn-px-outline {
  font-family: var(--px);
  font-size: 9px;
  padding: 14px 20px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.08);
  transition: border-color 0.15s;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.btn-px-outline { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-px-outline:hover { border-color: rgba(255,255,255,0.6); }
.hero-showcase {
  display: flex;
  justify-content: center;
  padding-top: 0;
}


.hero-right {
  position: relative;
  width: min(100%, 560px);
  height: min(75vh, 760px);
  min-height: 560px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0%, rgba(0,37,76,0.14) 38%, transparent 76%);
  z-index: 2; pointer-events: none;
}

.section-divider {
  display: flex; align-items: center; gap: 0;
  padding: 40px 80px 0;
}
.section-divider--trash {
  gap: 14px;
}
.divider-line {
  flex: 1; height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
  opacity: 0.4;
}
.divider-px {
  font-family: var(--px);
  font-size: 9px;
  color: var(--orange);
  padding: 0 20px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(238,114,2,0.6);
  white-space: nowrap;
}
.divider-ornament {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(238,114,2,0.35));
}
.divider-ornament.left {
  transform: rotate(-10deg) translateY(1px);
}
.divider-ornament.right {
  transform: rotate(8deg) translateY(1px);
}

.section { padding: 72px 80px; position: relative; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.px-title {
  font-family: var(--px);
  font-size: clamp(12px, 1.6vw, 19px);
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.4);
  margin-bottom: 16px;
  line-height: 1.7;
  letter-spacing: 1px;
}
.px-title em { color: var(--orange); font-style: normal; }
.px-title--mt { margin-top: 30px; }

/* Utility-Klassen */
.u-white    { color: #fff; }
.u-orange   { color: var(--orange); }

/* Button-Modifier */
.btn-px--centered {
  display: block;
  text-align: center;
  width: fit-content;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
}
/* Scout-CTA Variante: inline-flex mit Icon-Abstand */
.btn-px--app {
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 48px;
  font-family: var(--sans);
}
.px-title--mt { margin-top: 30px; }
.section-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 48px;
  font-family: var(--sans);
}

/* Skip Navigation */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-family: var(--px);
  font-size: 9px;
  letter-spacing: 1px;
  text-decoration: none;
  border: 3px solid var(--orange2);
  box-shadow: 4px 4px 0 var(--orange2);
  transition: top 0.1s;
}
.skip-nav:focus {
  top: 16px;
}

/* Mission-Ready Label — vor CTAs */
.mission-ready-label {
  font-family: var(--px);
  font-size: 8px;
  color: var(--orange);
  letter-spacing: 2px;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 14px;
  opacity: 1;
  text-shadow: 0 0 10px rgba(238,114,2,0.4);
}
