/* ====== Font ====== */
@font-face {
  font-family: "ABCSocialEdu";
  src: url("./fonts/ABCSocialEdu-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ====== Reset ====== */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* ====== Base ====== */
body {
  font-family: "ABCSocialEdu", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  cursor: none;
  overflow: hidden;
  text-transform: uppercase;
}

/* ====== Menu Center ====== */
header,
.header--center {
  position: fixed;
  top: calc(50% + 16px); /* Platz für Banner */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

/* ====== MENU ====== */
/* ====== Header oben, immer einzeilig ====== */
.header--top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  background: transparent;
  padding: 20px 0;
}

.menue-flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;      /* niemals auf 2 Zeilen */
  white-space: nowrap;    /* kein Umbruch in den Links */
  gap: clamp(8px, 2vw, 30px);
  padding: 0 12px;
  max-width: 100vw;
  overflow: hidden;
}

.menue-flex-container a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(0.72rem, 1.1vw, 1.2rem);
  line-height: 1;
  transition: color .25s ease, transform .25s ease;
}

.menue-flex-container a:hover,
.menue-flex-container a:focus-visible {
  color: #e1ff00;
  transform: scale(1.08);
}

.nav-active {
  color: #e1ff00;
}

/* ====== Custom Cursor ====== */
.custom-cursor {
  width: 25px;
  height: 25px;
  background-color: #e1ff00;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transition: transform 0.1s ease;
}

/* Cursor auf Touchgeräten aus */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ====== Newsletter + Footer Links ====== */
a.newsletter-link,
a.footer-link {
  color: #fff !important;
  font-family: "ABCSocialEdu", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  -webkit-text-fill-color: #fff;
  transition: color 0.25s ease, transform 0.25s ease;
}

a.newsletter-link:visited,
a.footer-link:visited {
  color: #fff !important;
}

a.newsletter-link:hover,
a.newsletter-link:focus-visible,
a.footer-link:hover,
a.footer-link:focus-visible {
  color: #e1ff00 !important;
  transform: translateX(-50%) scale(1.08);
}

/* ====== Impressum credits ====== */
.impressum-credits {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  z-index: 30;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  pointer-events: auto;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.impressum-credits a,
.impressum-credits span {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.impressum-credits a:hover,
.impressum-credits a:focus-visible {
  color: #e1ff00;
  text-shadow: 0 0 10px rgba(225,255,0,0.6);
}

/* ====== Banner ====== */
.mobile-banner {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 21px;
  overflow: hidden;
  z-index: 50;
  background: #c876fe;
  color: #e1ff00;
}

.mobile-banner-track {
  display: flex;
  width: max-content;
  animation: bannerScroll 22s linear infinite;
}

.mobile-banner-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1;
  padding-right: 36px;
}

.mobile-banner-content .sep {
  display: inline-block;
  width: 28px;
}

@keyframes bannerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ====== MOBILE BREAKPOINT ====== */
/* KEIN Zwischenzustand – direkt Mobile Menü */
@media (max-width: 1100px) {

  header,
  .header--center {
    top: calc(50% + 16px);
  }

  .menue-flex-container {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .menue-flex-container a {
    font-size: 1.35rem;
    line-height: 1.05;
    letter-spacing: 0.07em;
    color: #e1ff00;
  }

  /* Impressum Modal Scroll */
  #impressum-modal .modal {
    max-height: calc(100dvh - 48px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 48px;
  }

  #impressum-modal .modal-close {
    position: sticky;
    top: 10px;
    margin-left: auto;
    display: block;
    z-index: 2;
  }
}

/* ====== Background Images ====== */
.stage--base img {
  object-fit: cover;
}

