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

/* BASE */
html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

/* VIDEO WRAPPER */
.video-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* FALLBACK */
.fallback-bg {
  position: absolute;
  inset: 0;
  background: url("img/fallback.jpg") center / cover no-repeat;
  z-index: -2;
}

/* VIDEO */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* CONTENT CENTER */
.content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertikal mittig */
  align-items: center;     /* horizontal zentriert */
}

/* CENTER GRAPHIC */
.center-graphic {
  height: 600px;
  max-width: 90vw;
  object-fit: contain;
}

/* LINKS */
.links {
  margin-top: 30px;
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}

.links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s ease;
}

.links a:hover {
  color: #000000;
}

/* LEGAL BOX */
.legal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  padding: 40px 50px;
  max-width: 800px;
  text-align: center;
}

.legal-box p {
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* LINKS UNTER LEGAL BOX */
.legal-links {
  position: absolute;
  top: calc(50% + 220px); /* unterhalb der weißen Box */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  justify-content: center;
  z-index: 3;
}

.legal-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.legal-links a:hover {
  color: #000000;
}

/* Mobile */
@media (max-width: 768px) {
  .legal-links {
    top: calc(50% + 260px);
    flex-direction: column;
    gap: 20px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .center-graphic {
    height: 350px;
  }

  .links {
    flex-direction: column;
    gap: 20px;
  }

  .legal-box {
    width: 90%;
    padding: 30px 20px;
  }
}
