/* font-display: swap -> Text wird sofort in der Fallback-Schrift gerendert und
   umgestellt, sobald die Webfont geladen ist. Ohne diese Zeile bleibt der Text
   bis zu 3 Sekunden unsichtbar (FOIT) - das verschlechtert LCP messbar. */
@font-face {
  font-family: 'Gigalypse';
  src: url('Fonts/Gigalypse.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('Fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
/* Visuell ausgeblendet, aber für Screenreader und Suchmaschinen voll lesbar.
   Nicht display:none / visibility:hidden verwenden - das nimmt den Inhalt auch
   dem Screenreader weg und Google wertet ihn ab. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
html, body {
  margin: 0;
  height: 100%;
  font-family: -apple-system, system-ui, sans-serif;
  color: #fff;
}

.page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 0;
  overflow: hidden;
  background: #000;
}

.stage {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.video-wrap {
  position: relative;
  width: min(60vw, 1500px);
  max-width: 100%;
  margin-bottom: 3rem;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  z-index: 2;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottom-bar {
  flex-shrink: 0;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 3rem;
}

.legal-links { display: contents; }
.legal {
  font-family: 'Open Sans', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  color: #ddd;
  padding-bottom: 1rem;
  text-decoration: none;
}
.legal.left { order: -1; justify-self: end; }
.legal.right { order: 1; justify-self: start; }

.cta {
  display: inline-block;
  background: #ff8523;
  color: #fff;
  font-family: 'Gigalypse', -apple-system, system-ui, sans-serif;
  font-weight: normal;
  font-size: 40px;
  border: none;
  border-radius: 22px 22px 0 0;
  padding: 1.1rem 2.75rem 3rem;
  cursor: pointer;
  font-style: normal;
  text-decoration: none;
}


@media (max-width: 640px) {
  .page { height: auto; min-height: 100dvh; overflow: visible; padding: 2rem 0 1.5rem; }
  .stage { flex: 0 0 auto; padding: 0 1.5rem; }
  .video-wrap { width: 100%; max-width: none; margin-bottom: 1.5rem; }
  .cta { font-size: 1rem; padding: .9rem 2rem; border-radius: 14px; }


  .bottom-bar { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; align-items: center; padding: 0 1.5rem; }
  .legal-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: auto; }
  .legal { padding-bottom: 0; font-size: 14px; }
}


@media (orientation: landscape) and (max-height: 500px) {
  .page { padding-top: 1rem; }
  .video-wrap { margin-bottom: .75rem; }
  .cta { font-size: .8rem; padding: .5rem 1.25rem; }
}

/*  5. STATIC LEGAL PAGES (Impressum / Datenschutz) */
.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #111;
  color: #fff;
  font-family: 'Open Sans', -apple-system, system-ui, sans-serif;
  padding: 3rem 1.5rem;
}
.legal-page .legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: 'Gigalypse', -apple-system, system-ui, sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #f07f1a;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.legal-page h2 {
  font-family: 'Open Sans', -apple-system, system-ui, sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  margin: 1.75rem 0 .5rem;
}
.legal-page h3 {
  font-family: 'Open Sans', -apple-system, system-ui, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  margin: 1.5rem 0 .5rem;
}
.legal-page h4 {
  font-family: 'Open Sans', -apple-system, system-ui, sans-serif;
  font-weight: bold;
  font-size: .95rem;
  margin: 1.25rem 0 .5rem;
}
.legal-page p, .legal-page li { line-height: 1.6; color: #ddd; }
.legal-page p a { color: #f07f1a; }
.legal-page ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal-page li { margin-bottom: .5rem; }
.legal-page .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #f07f1a;
  text-decoration: none;
  font-weight: bold;
}
.legal-page .back-link:hover { text-decoration: underline; }
