@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.woff2') format('woff2'),
       url('fonts/Lato-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Bold.woff2') format('woff2'),
       url('fonts/Lato-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #000000;
}

body {
  min-height: 100vh;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

a {
  color: #ffffff;
  text-decoration: none;
}

/* NAVIGATION */
/* GRADIENT+BLUR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px 48px 48px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.55) 30%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.05) 85%,
    rgba(0, 0, 0, 0.00) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.nav-logo img {
  height: auto;
  width: auto;
  max-height: 48px;
  display: block;
}

/* VIDEO BACKGROUND */
.video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05);
}

/* TXT-GRADIENT */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.50) 0%,
    rgba(0, 0, 0, 0.35) 35%,
    rgba(0, 0, 0, 0.08) 65%,
    rgba(0, 0, 0, 0.00) 100%
  );
}

/* HERO (index.html) */
.hero {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.hero-content {
  max-width: 680px;
}

.hero-content h1 {
  font-size: 53px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-content h2 {
  font-size: 31px;
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 36px;
}

.hero-content p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  margin-bottom: 16px;
}

/* FOOTER */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 48px 22px 48px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.40) 60%,
    rgba(0, 0, 0, 0.00) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
  mask-image: linear-gradient(to top, black 50%, transparent 100%);
}

.footer-copy {
  font-size: 14px;
  color: #ffffff;
}

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

.footer-links a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.footer-links a.active::after,
.footer-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ffffff;
}

/* SUBPAGES */
body.subpage {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Scrollbarer Bereich – padding-left identisch mit Hero (48px) */
.subpage-scroll {
  flex: 1;
  overflow-y: auto;
  /* padding-top: 50vh minus halbe Hero-Blockhoehe (138px) = H1 startet gleich wie auf Landingpage */
  padding: calc(50vh - 138px) 48px 90px 48px;
}

.subpage-content {
  max-width: 680px;
}

/* H1 auf beiden Subpages identisch positioniert */
.subpage-content h1 {
  font-size: 53px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 48px;
}

.text-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 44px;
  margin-bottom: 10px;
}

.text-block h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 28px;
  margin-bottom: 6px;
}

.text-block p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 14px;
}

.text-block a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Datenschutz MAX Width Extend */
.subpage-content.wide {
  max-width: 820px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 20px 24px 40px 24px;
  }

  .hero {
    padding: 0 24px;
  }

  .hero-content h1 { font-size: 36px; }
  .hero-content h2 { font-size: 22px; }
  .hero-content p  { font-size: 18px; }

  .footer {
    padding: 40px 24px 16px 24px;
  }

  .subpage-scroll {
    padding: calc(50vh - 138px) 24px 80px 24px;
  }

  .subpage-content h1 { font-size: 36px; }
}
