/* ====== 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 { margin: 0; height: 100%; }

/* ====== Seite ====== */
body {
  background: #000;
  color: #fff;
  font-family: "ABCSocialEdu", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  cursor: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ====== 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;
}

/* ====== Menü ====== */
.menue-flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  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;
}

/* ====== Linktree-Bereich ====== */
.linktree-wrap {
  width: min(480px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;

  flex: 1;
  justify-content: center;
  align-items: center;
  margin-top: 120px;
  padding-bottom: 60px;
}

/* ====== Buttons ====== */
.btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  width: 100%;
  text-decoration: none;
  color: #fff;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(6px);

  font-weight: 700;
  letter-spacing: 0.08em;

  transition: color .25s ease, border-color .25s ease, transform .25s ease;
  z-index: 1;
}

/* ====== Glow ====== */
.btn::after {
  content: "";
  position: absolute;
  inset: -48px;
  border-radius: 140px;
  background:
    radial-gradient(
      closest-side,
      rgba(225,255,0,0.18) 0%,
      rgba(225,255,0,0.18) 25%,
      rgba(225,255,0,0.10) 45%,
      rgba(225,255,0,0.04) 65%,
      rgba(225,255,0,0.0) 80%
    );
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: -1;
}

/* ====== Hover ====== */
.btn:hover,
.btn:focus-visible {
  color: #e1ff00;
  border-color: rgba(225,255,0,0.35);
  transform: translateY(-1px);
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 1;
}

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

:root {
  --ease-soft: cubic-bezier(.22,.61,.36,1);
}

/* ====== Footer-Link ====== */
.footer-link {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center center;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: color .25s ease, transform .25s ease;
  z-index: 15;
}

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

/* ====== Mobile ====== */
@media (max-width: 768px) {
  .menue-flex-container {
    padding: 0 6px; /* vorher 12px → jetzt halbiert */
    gap: clamp(6px, 1.6vw, 24px);
  }
}

/* ===== Disable custom cursor on touch devices ===== */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
}