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

html {
  min-height: 100%;
  background: #020408;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(58,123,213,.26), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(215,180,106,.18), transparent 28%),
    radial-gradient(circle at 50% 110%, rgba(24,58,112,.38), transparent 45%),
    #020408;
  color: #f0ede8;
  font-family: Arial, system-ui, sans-serif;
}

.space-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(240,237,232,.86);
  box-shadow:
    40px 80px rgba(240,237,232,.55),
    130px 190px rgba(240,237,232,.7),
    260px 120px rgba(240,237,232,.45),
    420px 300px rgba(240,237,232,.65),
    670px 140px rgba(240,237,232,.4),
    860px 280px rgba(240,237,232,.6),
    980px 70px rgba(240,237,232,.45);
  opacity: .75;
}

.s1 { top: 8%; left: 12%; }
.s2 { top: 24%; left: 65%; transform: scale(1.4); }
.s3 { top: 60%; left: 32%; transform: scale(.8); }
.s4 { top: 78%; left: 76%; transform: scale(1.2); }

.planet {
  position: absolute;
  border-radius: 50%;
  filter: blur(.2px);
}

.p1 {
  width: 180px;
  height: 180px;
  right: -70px;
  top: 130px;
  background: radial-gradient(circle at 35% 30%, rgba(215,180,106,.42), rgba(12,28,60,.28), transparent 72%);
  border: 1px solid rgba(215,180,106,.12);
}

.p2 {
  width: 120px;
  height: 120px;
  left: -48px;
  bottom: 120px;
  background: radial-gradient(circle at 50% 40%, rgba(58,123,213,.38), rgba(10,15,26,.24), transparent 72%);
  border: 1px solid rgba(58,123,213,.12);
}

.comet {
  position: absolute;
  top: 18%;
  left: -120px;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,237,232,.9), rgba(215,180,106,.75));
  transform: rotate(-18deg);
  animation: cometMove 9s linear infinite;
}

@keyframes cometMove {
  0% { transform: translateX(0) rotate(-18deg); opacity: 0; }
  15% { opacity: .9; }
  45% { opacity: 0; }
  100% { transform: translateX(130vw) rotate(-18deg); opacity: 0; }
}

.hub-topbar {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand-mini {
  color: #f0ede8;
  text-decoration: none;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .86;
}

.hub-auth-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

button,
.hub-auth-btn,
.admenia-entry {
  border: 1px solid rgba(215,180,106,.42);
  background: rgba(10,15,26,.74);
  color: #f0ede8;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
}

.hub-auth-btn:hover,
.admenia-entry:hover,
button:hover {
  border-color: rgba(215,180,106,.82);
  background: rgba(30,39,61,.82);
}

.ghost {
  color: #d7b46a;
}

.admenia-entry {
  color: #020408;
  background: linear-gradient(135deg, #f1d894, #b88a35);
  font-weight: 700;
}

.hub-user-pill {
  border: 1px solid rgba(215,180,106,.34);
  color: #d7b46a;
  background: rgba(10,15,26,.62);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 84px;
}

.hero {
  min-height: 42vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px 0 18px;
}

.brand-orb {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(240,237,232,.98), rgba(215,180,106,.28) 31%, rgba(58,123,213,.18) 58%, rgba(5,9,18,.98) 72%),
    #05070f;
  border: 1px solid rgba(215,180,106,.38);
  box-shadow:
    0 0 0 12px rgba(215,180,106,.035),
    0 0 0 26px rgba(58,123,213,.035),
    0 28px 90px rgba(0,0,0,.65),
    0 0 80px rgba(58,123,213,.18);
}

.brand-orb span {
  display: block;
  color: #020408;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-orb small {
  display: block;
  color: rgba(2,4,8,.72);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: -46px;
}

.eyebrow {
  color: #d7b46a;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 10px;
}

.eyebrow.small {
  margin: 0 0 6px;
  font-size: 11px;
}

h1 {
  font-size: clamp(32px, 7vw, 70px);
  line-height: .96;
  max-width: 870px;
  letter-spacing: -.05em;
  text-shadow: 0 22px 80px rgba(0,0,0,.6);
}

.intro {
  margin-top: 18px;
  max-width: 650px;
  color: rgba(240,237,232,.78);
  font-size: clamp(16px, 2.8vw, 20px);
  line-height: 1.5;
}

.modules-section {
  display: none;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(215,180,106,.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10,15,26,.72), rgba(5,8,16,.56)),
    rgba(3,5,12,.62);
  box-shadow: 0 30px 100px rgba(0,0,0,.42);
  backdrop-filter: blur(16px);
}

.modules-section.modules-auth-visible {
  display: block;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: -.03em;
}

.section-pill {
  flex: 0 0 auto;
  color: #d7b46a;
  border: 1px solid rgba(215,180,106,.3);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  background: rgba(215,180,106,.07);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px;
}

.module-card,
.loading-card {
  min-height: 124px;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  color: #f0ede8;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215,180,106,.23);
  background:
    radial-gradient(circle at top right, rgba(215,180,106,.14), transparent 38%),
    linear-gradient(145deg, rgba(12,20,38,.96), rgba(5,9,18,.94));
  box-shadow: 0 18px 46px rgba(0,0,0,.34);
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(240,237,232,.05), transparent);
  transform: translateX(-100%);
  transition: transform .45s ease;
}

.module-card:hover::before {
  transform: translateX(100%);
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215,180,106,.66);
}

.module-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.module-card p,
.loading-card {
  color: rgba(240,237,232,.72);
  font-size: 13px;
  line-height: 1.38;
}

.module-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #020408;
  background: linear-gradient(135deg, #f1d894, #b88a35);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.module-badge.maintenance {
  background: #8ca0c7;
}

.module-card-locked {
  opacity: .45;
  pointer-events: none;
}

.footer-links {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 28px));
  margin: -48px auto 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(240,237,232,.64);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: #d7b46a;
}

.cookie-notice {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(215,180,106,.24);
  border-radius: 18px;
  background: rgba(5,8,16,.92);
  color: rgba(240,237,232,.82);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
  backdrop-filter: blur(16px);
}

.cookie-notice span {
  font-size: 12px;
  line-height: 1.35;
}

.cookie-notice button {
  padding: 7px 12px;
  min-width: 52px;
}

@media (max-width: 720px) {
  .hub-topbar {
    align-items: flex-start;
  }

  .brand-mini {
    padding-top: 10px;
  }

  .hub-auth-nav {
    max-width: 72%;
  }

  .page-shell {
    width: min(100% - 22px, 1120px);
    padding-top: 8px;
  }

  .hero {
    min-height: 38vh;
    padding-top: 8px;
  }

  .brand-orb {
    width: 132px;
    height: 132px;
    margin-bottom: 16px;
  }

  .brand-orb span {
    font-size: 27px;
  }

  .brand-orb small {
    font-size: 10px;
    margin-top: -35px;
  }

  .modules-section {
    padding: 12px;
    border-radius: 22px;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .section-pill {
    display: none;
  }

  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .module-card,
  .loading-card {
    min-height: 108px;
    padding: 13px;
    border-radius: 17px;
  }

  .module-name {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .module-card p {
    font-size: 12px;
  }

  .footer-links {
    margin-top: -54px;
    padding-bottom: 70px;
  }
}

/* DeQr Titel muschelweiß mit 3D Effekt */
.brand-orb span,
.hero h1,
#heroTitle {
  color: #f0ede8 !important;
  text-shadow:
    0 1px 0 #cfc7b8,
    0 2px 0 #9f9482,
    0 3px 0 #675f54,
    0 8px 18px rgba(0,0,0,.75),
    0 0 28px rgba(240,237,232,.22) !important;
}

/* Sternschnuppe komplett entfernen */
.shooting-star,
.shootingstar,
.meteor,
.comet,
[class*="shooting"],
[class*="meteor"],
[class*="comet"] {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

/* Universum unter DeQr exakt wie Titel */
.brand-orb small,
.hero-sub,
#heroSub,
.subtitle,
.subline {
  color: #f0ede8 !important;
  text-shadow:
    0 1px 0 #cfc7b8,
    0 2px 0 #9f9482,
    0 3px 0 #675f54,
    0 6px 14px rgba(0,0,0,.7),
    0 0 18px rgba(240,237,232,.2) !important;
}

.module-release-date{
  display:block;
  margin-top:8px;
  font-size:12px;
  color:#c8a96b;
  opacity:.92;
  letter-spacing:.04em;
}
