:root{
  --cyan: rgba(36,230,255,.95);
  --cyanSoft: rgba(36,230,255,.35);
  --text: rgba(232,238,247,.92);
  --muted: rgba(232,238,247,.70);
  --panel: rgba(0,0,0,.22);
  --line: rgba(255,255,255,.06);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  min-height:100vh;
  color: var(--text);
  background: #070a0f;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Hintergrund wie “Stealth” */
.bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(36,230,255,.10), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(36,230,255,.06), transparent 65%),
    radial-gradient(700px 420px at 50% 85%, rgba(255,255,255,.04), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.80));
  filter: blur(0px);
  opacity: 1;
}

.wrap{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 22px;
}

/* Panel wie Modal – aber als Seite */
.doc{
  width: min(860px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(36,230,255,.10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow:
    0 0 0 1px rgba(36,230,255,.30),
    0 0 40px rgba(36,230,255,.20),
    0 0 120px rgba(36,230,255,.16),
    0 40px 140px rgba(0,0,0,.75);
  overflow:hidden;
  position:relative;
}

/* Cyan Edge wie bei deinem Popup */
.doc::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:22px;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(36,230,255,.22), transparent 26%, transparent 74%, rgba(42,167,255,.12));
  opacity:.60;
  mask: linear-gradient(#000, transparent 78%);
}

/* Scroll NUR innen */
.doc__scroll{
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px 24px 18px;

  scrollbar-width: thin;
  scrollbar-color: rgba(36,230,255,.95) rgba(255,255,255,.06);
}

.doc__scroll::-webkit-scrollbar{ width: 10px; }
.doc__scroll::-webkit-scrollbar-track{
  background: rgba(255,255,255,.06);
  border-radius: 999px;
}
.doc__scroll::-webkit-scrollbar-thumb{
  background: rgba(36,230,255,.45);
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.35);
  transition: background .18s ease;
}
.doc__scroll::-webkit-scrollbar-thumb:hover{
  background: rgba(36,230,255,.28); /* dunkler/ruhiger beim Hover */
}

/* Header Typo */
.doc__header{
  padding: 6px 6px 10px;
}

.doc__h1{
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .2px;
  line-height: 1.08;
  color: rgba(232,238,247,.96);
}
.doc__h2{
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--cyan);
  letter-spacing:.2px;
}
.accent{ color: var(--cyan); }

.doc__lead{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 80ch;
}

/* Blocks */
.block{
  padding: 14px 6px 0;
}
.block__title{
  margin: 16px 0 10px;
  font-size: 28px;
  color: var(--cyan);
  letter-spacing:.2px;
}
.block__subtitle{
  margin: 6px 0 12px;
  font-size: 18px;
  color: rgba(232,238,247,.92);
}
.block__text{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Cards / Panels */
.card{
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px 16px;
  margin: 12px 0 14px;
  box-shadow: inset 0 0 0 1px rgba(36,230,255,.06);
}

.card__title{
  margin: 0 0 10px;
  font-size: 20px;
  color: rgba(232,238,247,.95);
}
.card__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.card__note{
  margin: 12px 0 0;
  color: rgba(232,238,247,.72);
  line-height: 1.7;
}

/* Listen */
.list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.list--tight{ gap: 8px; }

.list li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: rgba(232,238,247,.88);
  line-height: 1.3;
}

.tick{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display:inline-flex;
  place-items:center;
  font-weight: 900;
  margin-top: 2px;
  border: 1px solid rgba(36,230,255,.24);
  background: rgba(36,230,255,.10);
  color: rgba(36,230,255,.95);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}



/* nummerierte Liste */
.olist{
  margin: 0;
  padding-left: 18px;
  color: rgba(232,238,247,.88);
  line-height: 1.8;
}
.olist li{ margin: 4px 0; }

/* Divider wie in deinen Screens */
.divider{
  height: 1px;
  margin: 18px 6px 6px;
  background: linear-gradient(90deg, rgba(36,230,255,.18), rgba(255,255,255,.06), rgba(36,230,255,.08));
}

.thinrule{
  height: 2px;
  margin: 16px 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(36,230,255,.55), rgba(36,230,255,.22), rgba(36,230,255,.06));
  box-shadow: 0 0 14px rgba(36,230,255,.18);
}

/* Backlink */
.backlink{
  display:inline-block;
  margin-top: 10px;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  font-weight: 800;
  letter-spacing:.15px;
}

.doc__endspace{ height: 18px; }

/* Close Button – wie Original: oben rechts am Viewport */
.doc__close{
  position: fixed;         /* 👈 das ist der Gamechanger */
  top: 18px;
  right: 18px;
  z-index: 9999;

  width: 40px;
  height: 40px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  font-size: 18px;
  font-weight: 900;
  line-height: 1;

  color: rgba(232,238,247,.85);
  text-decoration: none;

  background: rgba(10,14,18,.80);
  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
    0 0 0 1px rgba(36,230,255,.20),
    0 10px 40px rgba(0,0,0,.85);

  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.doc__close:hover{
  color: #24e6ff;
  background: rgba(36,230,255,.10);
  box-shadow:
    0 0 0 1px rgba(36,230,255,.55),
    0 0 26px rgba(36,230,255,.35),
    0 14px 50px rgba(0,0,0,.85);
  transform: translateY(-1px);
}

.listtext {
  list-style: none;
  padding: 0;
  margin: 0;
}

.listtext li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: rgba(232,238,247,.9);

}

.listtext li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em; /* Das ist der Fix */
  color: rgba(36,230,255,.95); /* dein Cyan */
  font-size: 18px;
  line-height: 1;
}
