/* Leistung */
/* ibm-plex-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/ibm-plex-sans-v23-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/ibm-plex-sans-v23-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ----- Reset & Basis ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Sans";
  background: #0b0b12;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ----- Header mit fixem Hintergrundvideo ----- */
.header-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #0b0b1208;
}

/* Video-Hintergrund – fullscreen im Header */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.1) contrast(1.1);
}

/* Overlay für besseren Kontrast */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.75) 90%
  );
  z-index: 1;
  pointer-events: none;
}

/* ----- Header-Inhalt (über dem Video) ----- */
.header-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
}

/* ----- Logo-Bereich – oben, mittig zentriert ----- */
.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 50px;
}

.logo-svg {
  display: block;
  width: 160px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.logo-svg:hover {
  transform: scale(1.03);
}

/* ----- Textfeld mit H1, H2, H3 (zwischen Logo und Navigation) ----- */
.text-block {
  width: 100%;
  text-align: center;
  padding: 1rem 1.5rem;
  margin: 0.2rem auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
}

.text-block h1,
h2,
h3 {
  font-weight: bolder;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
  text-shadow: 1px 1px 1px #ffffff;
}

/* ----- Navigation – mittig zentriert (unter dem Textfeld) ----- */
.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.4rem 0 0.2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem 1.5rem;
  list-style: none;
  padding: 1.2rem 1.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 8px;
  border: 1px solid #054ea8;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  max-width: 100%;
}
.nav-links li {
  display: inline-block;
  margin: 5px;
}

.nav-links a {
  display: inline-block;
  font-family: "IBM Plex Sans";
  font-weight: 300;
  font-size: 1.05rem;
  padding: 1.45rem 2.2rem;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.2px;

  transition: all 0.2s ease;
  white-space: nowrap;
  background-color: #054ea8;
  z-index: 100;
}

.nav-links a:hover {
  background: #054ea871;
  color: #fff;
  border-color: #054ea8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.nav-links a:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.2);
}

/* ----- Content-Bereich unter dem Header (optional) ----- */
.content-section {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.content-section p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.hint {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.2rem;
}

.hint code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ----- Responsive Anpassungen ----- */
@media (max-width: 768px) {
  .header-content {
    padding: 1.2rem 1rem 1rem;
    gap: 0.6rem;
  }

  .logo-svg {
    width: 120px;
  }

  .text-block {
    padding: 0.8rem 1rem;
    border-radius: 30px;
    margin: 0.1rem auto;
  }

  .text-block h1 {
    font-size: 1.3rem;
  }

  .text-block h2 {
    font-size: 1.3rem;
  }

  .text-block h3 {
    font-size: 1.3rem;
  }

  .nav-links {
    gap: 0.4rem 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    background: rgba(10, 10, 20, 0.5);
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 1.45rem 2rem;
    background-color: #054ea8;
  }
}

@media (max-width: 480px) {
  .logo-svg {
    width: 100px;
  }

  .text-block h1 {
    font-size: 1.1rem;
  }

  .text-block h2 {
    font-size: 1.1rem;
  }

  .text-block h3 {
    font-size: 1.1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 1.45rem 1.8rem;
  }

  .nav-links {
    gap: 0.3rem 0.5rem;
    border-radius: 30px;
    padding: 0.3rem 0.6rem;
  }

  .header-content {
    padding: 0.8rem 0.8rem 0.8rem;
    gap: 0.4rem;
  }

  .text-block {
    padding: 0.6rem 0.8rem;
    border-radius: 24px;
  }
}

html {
  scroll-behavior: smooth;
}
nav li a img {
  vertical-align: middle;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0; /* erscheint beim Tab-Fokus */
}
.img-svg {
  width: 40px;
  height: 40px;
}
.h_text {
  color: #ffffff;
}
.text-block {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  color: #fff;
  text-align: center;
  padding-top: 40px;
  font-size: 2.5rem;
  font-weight: 500;
}
.sw-h3 {
  color: #000000 !important;
  font-size: 1.125rem !important;
  font-weight: 500;
}
.mobile-arrow {
  position: sticky;
  transform: translate(-50%, -50%); /* absolute Mitte */
  color: #2563eb;
  font-size: 2.5rem;
  font-weight: 700;
  pointer-events: none;
  z-index: 9999;
  text-align: center;
  font-family: "IBM Plex Sans";
}
.mobile-arrow {
  animation: arrow-bounce 1.2s infinite;
}

@keyframes arrow-bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
