/* ==========================================================
   Nordlicht Roleplay - Design v3
   ========================================================== */

@font-face { font-family: "Exo 2"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/exo2-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/exo2-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/exo2-600.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/exo2-800.woff2") format("woff2"); }

:root {
  --bg: #050814;
  --bg-alt: rgba(10, 17, 38, 0.72);
  --panel: rgba(14, 23, 50, 0.62);
  --panel-solid: #0e1732;
  --panel-border: rgba(96, 140, 255, 0.18);
  --panel-border-strong: rgba(96, 160, 255, 0.45);
  --text: #eaf2ff;
  --text-muted: #a3b3d6;
  --accent: #3d8bff;
  --accent-dark: #2566d8;
  --accent-soft: rgba(61, 139, 255, 0.14);
  --aurora: #2fe0b4;
  --aurora-soft: rgba(47, 224, 180, 0.14);
  --violet: #9a6bff;
  --success: #3ee39a;
  --error: #ff5d6c;
  --radius: 18px;
  --max-width: 1180px;
  --grad: linear-gradient(120deg, var(--aurora) 0%, var(--accent) 50%, var(--violet) 100%);
  --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: rgba(47, 224, 180, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }
p a, .content-section li a, .faq a { color: var(--aurora); text-decoration: underline; text-decoration-color: rgba(47, 224, 180, 0.4); text-underline-offset: 3px; }
code { font-family: "Cascadia Code", Consolas, monospace; }
.center { text-align: center; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Himmel ---------- */
#sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.sky-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(47, 224, 180, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 85% -5%, rgba(61, 139, 255, 0.16), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(154, 107, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #060a1a 0%, #050814 60%, #04060f 100%);
}
main, .site-footer, .navbar { position: relative; z-index: 1; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(47, 224, 180, 0.7);
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  background: rgba(5, 8, 20, 0.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.navbar.scrolled {
  padding: 10px 28px;
  background: rgba(5, 8, 20, 0.82);
  border-bottom-color: var(--panel-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; }
.logo-img { border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(96, 160, 255, 0.4), 0 0 18px rgba(61, 139, 255, 0.55); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 0 1px var(--aurora), 0 0 26px rgba(47, 224, 180, 0.7); }
.logo-sub { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 4px; flex-wrap: wrap; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--panel-border); }
.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: #fff; background: linear-gradient(120deg, rgba(47, 224, 180, 0.9), rgba(61, 139, 255, 0.9)); box-shadow: 0 4px 18px rgba(61, 139, 255, 0.4); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-discord, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover, .btn-discord:hover, .btn-secondary:hover { transform: translateY(-2px); }
.btn-primary:active, .btn-discord:active, .btn-secondary:active { transform: translateY(0); }

.btn-primary { background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 8px 26px rgba(61, 139, 255, 0.38); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 12px 34px rgba(47, 224, 180, 0.45); }

.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35); }
.btn-discord:hover { background: #6b77ff; box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5); }
.btn-discord .ico { width: 18px; height: 18px; }

.btn-secondary { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--panel-border-strong); backdrop-filter: blur(6px); }
.btn-secondary:hover { border-color: var(--aurora); color: var(--aurora); box-shadow: 0 0 24px rgba(47, 224, 180, 0.25); }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

.btn-glow { overflow: hidden; }
.btn-glow::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }

.nav-toggle-checkbox, .nav-burger { display: none; }

/* ---------- Hero (alle Seiten) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 80px;
  text-align: center;
  border-bottom: 1px solid var(--panel-border);
  background: radial-gradient(ellipse at 50% 0%, rgba(61, 139, 255, 0.14), transparent 65%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--grad);
  opacity: 0.6;
}
.hero > * { position: relative; }

.hero-aurora {
  position: absolute !important;
  inset: -40% -10% auto -10%;
  height: 90%;
  background: linear-gradient(100deg, transparent 20%, rgba(47, 224, 180, 0.18) 40%, rgba(61, 139, 255, 0.16) 55%, rgba(154, 107, 255, 0.12) 70%, transparent 85%);
  filter: blur(50px);
  animation: aurora 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  from { transform: translateX(-6%) skewY(-4deg); opacity: 0.7; }
  to { transform: translateX(6%) skewY(3deg); opacity: 1; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--aurora-soft);
  border: 1px solid rgba(47, 224, 180, 0.35);
  color: var(--aurora);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(47, 224, 180, 0.15);
}

.hero h1 { margin-bottom: 0.4em; text-shadow: 0 4px 40px rgba(61, 139, 255, 0.35); }
.hero .lead { max-width: 660px; margin: 0 auto 30px; font-size: 1.12rem; color: var(--text-muted); }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(62, 227, 154, 0.7);
  animation: pulse 1.8s infinite;
  display: inline-block;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 227, 154, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(62, 227, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 227, 154, 0); }
}

.accent-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shimmer { background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* Startseiten-Hero */
.hero-home {
  min-height: min(calc(100vh - 74px), 940px);
  display: flex;
  align-items: center;
  padding: 60px 24px 110px;
  background: none;
}
.hero-bg {
  position: absolute !important;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
  filter: blur(3px) saturate(130%);
  transform: scale(1.08);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero-text .hero-actions { justify-content: flex-start; }
.hero .hero-text .lead { margin-left: 0; }

.hero-title { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.02; margin-bottom: 0.35em; }
.hero-title .line { display: block; animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.hero-title .line:nth-child(2) { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) { animation-delay: 0.24s; }
.hero-text .lead, .hero-text .hero-actions, .hero-text .connect-info { animation: rise 0.9s 0.35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero-visual {
  position: relative;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
}
.hero-visual img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--panel-border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 90px rgba(61, 139, 255, 0.35), 0 0 160px rgba(47, 224, 180, 0.18);
}
.hero-ring {
  position: absolute;
  inset: -14px;
  border-radius: 36px;
  background: conic-gradient(from 0deg, var(--aurora), var(--accent), var(--violet), var(--aurora));
  filter: blur(18px);
  opacity: 0.55;
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.connect-info {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: 14px;
  background: rgba(8, 13, 30, 0.7);
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.connect-info:hover:not([disabled]) { border-color: var(--aurora); box-shadow: 0 0 22px rgba(47, 224, 180, 0.2); }
.connect-info[disabled] { cursor: default; }
.connect-label { padding: 3px 9px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.78rem; }
.connect-info code { color: var(--text); }
.connect-copy { font-size: 0.78rem; color: var(--aurora); font-weight: 700; }

.scroll-hint {
  position: absolute !important;
  left: 50%;
  bottom: 28px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 2px solid rgba(234, 242, 255, 0.35);
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--aurora);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

main > .hero + .section { padding-top: 60px !important; }

/* ---------- Laufband ---------- */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--panel-border);
  background: rgba(8, 13, 30, 0.6);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(234, 242, 255, 0.55); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--aurora); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 90px 24px; }
.section-alt {
  background: linear-gradient(180deg, rgba(10, 17, 38, 0.2), rgba(10, 17, 38, 0.75) 20%, rgba(10, 17, 38, 0.75) 80%, rgba(10, 17, 38, 0.2));
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--aurora);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid;
  border-image: var(--grad) 1;
}

.grid { display: grid; gap: 22px; max-width: var(--max-width); margin: 0 auto; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease, translate 0.7s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(61, 139, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--panel-border-strong); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(61, 139, 255, 0.12); }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 224, 180, 0.18), rgba(61, 139, 255, 0.18));
  border: 1px solid rgba(96, 160, 255, 0.3);
  color: var(--aurora);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.45rem;
  margin-bottom: 18px;
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.18);
  transition: transform 0.3s ease;
}
.card:hover .icon { transform: scale(1.1) rotate(-6deg); }
.card p:last-child { margin-bottom: 0; }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(.2,.7,.2,1), transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.js .reveal.visible { opacity: 1; translate: 0 0; }

/* ---------- Stats ---------- */
.stats-section { padding: 60px 24px; }
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.stat { padding: 34px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--panel-border); }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-flex; align-items: center; gap: 10px; }
.stat-online { background: none; color: var(--success); text-shadow: 0 0 24px rgba(62, 227, 154, 0.45); }
.stat-plus { font-size: 0.6em; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--panel-border); }
}

/* ---------- Regionen ---------- */
.regions { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.region {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.7s ease, translate 0.7s ease;
}
.region::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img) center / cover no-repeat;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
  filter: saturate(110%) brightness(0.85);
}
.region::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 8, 20, 0) 25%, rgba(5, 8, 20, 0.75) 60%, rgba(5, 8, 20, 0.97) 100%);
}
.region:hover { transform: translateY(-8px); border-color: var(--panel-border-strong); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(47, 224, 180, 0.18); }
.region:hover::before { transform: scale(1.1); filter: saturate(130%) brightness(1); }
.region-body { padding: 24px; }
.region-num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--aurora); letter-spacing: 0.15em; }
.region h3 { font-size: 1.45rem; margin: 6px 0 8px; }
.region p { font-size: 0.93rem; margin: 0; color: #c2cfea; }
@media (max-width: 960px) { .regions { grid-template-columns: repeat(2, 1fr); } .region { min-height: 340px; } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } .region { min-height: 300px; } }

/* ---------- Team-Vorschau ---------- */
.team-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; max-width: 900px; margin: 0 auto 36px; }
.team-bubble { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; text-align: center; }
.team-bubble img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  padding: 3px;
  background: var(--grad);
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.35);
  transition: transform 0.3s ease;
}
.team-bubble:hover img { transform: translateY(-4px) scale(1.08); }
.team-bubble span { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.25; }

/* ---------- Schritte ---------- */
.steps { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 44px; left: 16%; right: 16%;
  height: 2px;
  background: var(--grad);
  opacity: 0.45;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 20px 28px;
  transition: opacity 0.7s ease, translate 0.7s ease;
}
.step-num {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, rgba(47, 224, 180, 0.35), rgba(14, 23, 50, 0.95) 70%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px rgba(61, 139, 255, 0.5), 0 0 40px rgba(61, 139, 255, 0.35);
  position: relative;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 0 22px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] { border-color: var(--panel-border-strong); box-shadow: 0 0 30px rgba(61, 139, 255, 0.12); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--aurora); transition: transform 0.25s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- CTA ---------- */
.cta-band { padding: 40px 24px 110px; }
.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding: 70px 30px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border-strong);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(47, 224, 180, 0.25), transparent 70%),
    radial-gradient(600px 300px at 80% 100%, rgba(154, 107, 255, 0.25), transparent 70%),
    rgba(10, 17, 38, 0.8);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(61, 139, 255, 0.12);
}
.cta-inner p { font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Inhaltsseiten ---------- */
.content-section { max-width: 860px; margin: 0 auto; padding: 60px 24px 100px; }
.content-section h2 { margin-top: 2em; color: var(--text); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.content-section h2:first-of-type { margin-top: 0; }
.content-section ol, .content-section ul { color: var(--text-muted); padding-left: 1.3em; }
.content-section li { margin-bottom: 0.5em; }
.content-section li::marker { color: var(--aurora); font-weight: 700; }

.rule-block {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 24px 28px 24px 32px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease, translate 0.7s ease;
}
.rule-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.rule-block:hover { border-color: var(--panel-border-strong); box-shadow: 0 0 30px rgba(61, 139, 255, 0.1); }
.rule-block h3 { margin-bottom: 10px; color: var(--text); }
.rule-block ol, .rule-block ul { margin: 0; }

.legal-note { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img { box-shadow: 0 0 0 3px rgba(5, 8, 20, 1), 0 0 0 5px var(--accent), 0 0 30px rgba(61, 139, 255, 0.45) !important; border: none !important; transition: transform 0.3s ease; }
.team-card:hover img { transform: scale(1.08); }
.team-avatar { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: #fff; }
.team-role { font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Shop ---------- */
.price-tag { display: inline-block; margin-top: 16px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--aurora-soft); border: 1px solid rgba(47, 224, 180, 0.3); color: var(--aurora); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.notice-box {
  max-width: var(--max-width);
  margin: 40px auto 40px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(47, 224, 180, 0.1), rgba(61, 139, 255, 0.1));
  border: 1px solid var(--panel-border-strong);
  color: var(--text);
  font-size: 0.93rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* ---------- Formulare ---------- */
.form-wrapper { max-width: 700px; margin: 0 auto; padding: 50px 24px 90px; }
.form-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 38px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transition: opacity 0.7s ease, translate 0.7s ease;
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: var(--text); }
.form-group .hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

input[type="text"], input[type="number"], input[type="email"], textarea, input[type="password"], select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(5, 8, 20, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--aurora); box-shadow: 0 0 0 4px rgba(47, 224, 180, 0.14); }
textarea { resize: vertical; min-height: 120px; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.flash-container { max-width: 700px; margin: 24px auto 0; padding: 0 24px; }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; font-size: 0.92rem; font-weight: 600; backdrop-filter: blur(10px); }
.flash-error { background: rgba(255, 93, 108, 0.12); color: var(--error); border: 1px solid rgba(255, 93, 108, 0.5); }
.flash-success { background: rgba(62, 227, 154, 0.12); color: var(--success); border: 1px solid rgba(62, 227, 154, 0.5); }

/* ---------- Status-Seiten ---------- */
.status-page { text-align: center; max-width: 560px; margin: 100px auto; padding: 0 24px; }
.status-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47, 224, 180, 0.35), rgba(14, 23, 50, 0.95) 70%);
  box-shadow: 0 0 0 2px rgba(61, 139, 255, 0.5), 0 0 50px rgba(47, 224, 180, 0.35);
  color: var(--aurora);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 26px;
}

/* ---------- Admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; background: var(--panel-solid); border: 1px solid var(--panel-border); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--panel-border); font-size: 0.88rem; vertical-align: top; }
.admin-table th { background: rgba(5, 8, 20, 0.8); color: var(--aurora); }
.status-select { padding: 6px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--panel-border); color: var(--text); width: auto; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--panel-border);
  background: rgba(4, 6, 15, 0.85);
  padding: 64px 24px 28px;
  overflow: hidden;
}
.footer-aurora {
  position: absolute;
  left: -10%; right: -10%; top: -120px;
  height: 200px;
  background: linear-gradient(100deg, transparent 15%, rgba(47, 224, 180, 0.2) 40%, rgba(61, 139, 255, 0.18) 60%, rgba(154, 107, 255, 0.14) 75%, transparent 90%);
  filter: blur(60px);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--aurora); margin: 0 0 6px; }
.footer-col a:not(.btn-discord) { color: var(--text-muted); font-size: 0.93rem; transition: color 0.2s ease, translate 0.2s ease; }
.footer-col a:not(.btn-discord):hover { color: var(--text); translate: 4px 0; }
.footer-about p { font-size: 0.92rem; max-width: 380px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }
.footer-copy { position: relative; max-width: var(--max-width); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--panel-border); text-align: center; color: var(--text-muted); font-size: 0.8rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 12px; }
}
@media (max-width: 960px) {
  .navbar { padding: 12px 18px; }
  .navbar.scrolled { padding: 10px 18px; }
  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 4px;
    border-radius: 16px;
    padding: 8px;
    background: rgba(8, 13, 30, 0.95);
  }
  .nav-links a { display: block; padding: 12px 16px; }
  .nav-toggle-checkbox:checked ~ .nav-links { display: flex; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; order: 2; }
  .nav-actions { order: 1; }
  .logo { order: 0; }
  .nav-burger span { width: 24px; height: 2px; background: var(--text); display: block; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav-toggle-checkbox:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-checkbox:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle-checkbox:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-home { min-height: 0; padding: 50px 20px 100px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero-text .hero-actions { justify-content: center; }
  .hero .hero-inner .hero-text .lead { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .nav-actions .btn-discord span { display: none; }
  .nav-actions .btn-discord { padding: 10px; }
  .nav-actions .btn-primary { display: none; }
  .logo-text { font-size: 1.05rem; }
  .section { padding: 64px 18px; }
  .hero { padding: 60px 18px 56px; }
  .btn-lg { width: 100%; }
  .connect-info { max-width: 100%; }
  .connect-info code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .form-card { padding: 26px 20px; }
  .cta-inner { padding: 50px 20px; }
}

/* ==========================================================
   v5 - Intro, Maus-Leuchten, Unterseiten-Hero, Bewerbung
   ========================================================== */

/* ---------- Intro ---------- */
.intro { display: none; }
.js:not(.intro-seen) .intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #0b1733 0%, #03050d 70%);
  animation: introOut 0.7s 1.5s cubic-bezier(.7,0,.3,1) forwards;
  cursor: pointer;
}
.intro-inner { text-align: center; }
.intro img {
  width: 128px; height: 128px;
  margin: 0 auto 22px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(96, 160, 255, 0.5), 0 0 60px rgba(61, 139, 255, 0.7), 0 0 120px rgba(47, 224, 180, 0.4);
  animation: introLogo 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.intro-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: 0.04em; animation: rise 0.9s 0.25s cubic-bezier(.2,.7,.2,1) both; }
.intro-bar { width: 220px; height: 3px; margin: 22px auto 0; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.intro-bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; animation: introBar 1.3s 0.2s cubic-bezier(.6,0,.2,1) both; box-shadow: 0 0 14px rgba(47, 224, 180, 0.8); }
@keyframes introLogo { from { opacity: 0; transform: scale(0.6) rotate(-12deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: scale(1.06); pointer-events: none; } }

/* ---------- Maus-Leuchten ---------- */
.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.10) 0%, rgba(47, 224, 180, 0.05) 35%, transparent 65%);
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* ---------- Unterseiten-Hero ---------- */
.hero:not(.hero-home)::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 120%;
  background: linear-gradient(100deg, transparent 20%, rgba(47, 224, 180, 0.16) 40%, rgba(61, 139, 255, 0.16) 55%, rgba(154, 107, 255, 0.12) 70%, transparent 85%);
  filter: blur(50px);
  animation: aurora 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero:not(.hero-home) h1 { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
.hero:not(.hero-home) .lead { animation: rise 0.8s 0.12s cubic-bezier(.2,.7,.2,1) both; }
.hero-sub { padding: 80px 24px 70px; }

/* ---------- Bewerbung ---------- */
.apply-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; animation: rise 0.8s 0.24s cubic-bezier(.2,.7,.2,1) both; }
.apply-chips span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
}

.apply-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px 24px 100px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.apply-side { position: sticky; top: 96px; }
.apply-progress-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 26px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.apply-ring { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; }
.apply-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.apply-ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: rgba(255, 255, 255, 0.07); }
.ring-fg { stroke-linecap: round; transition: stroke-dashoffset 0.6s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 0 6px rgba(47, 224, 180, 0.6)); }
.apply-ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.apply-ring-label strong { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apply-ring-label span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-top: 4px; }
.apply-ring.complete { animation: ringPop 0.6s ease; }
.apply-ring.complete .ring-fg { filter: drop-shadow(0 0 12px rgba(47, 224, 180, 0.95)); }
@keyframes ringPop { 50% { transform: scale(1.08); } }

.apply-nav { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.apply-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.93rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.apply-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.apply-nav a.current { background: var(--accent-soft); color: var(--text); }
.apply-nav .dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--panel-border-strong);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}
.apply-nav a.done .dot { background: var(--grad); border-color: transparent; box-shadow: 0 0 12px rgba(47, 224, 180, 0.6); }
.apply-nav a.done .dot::after { content: "✓"; color: #fff; font-weight: 800; }
.apply-nav a.done { color: var(--text); }
.apply-tip { font-size: 0.83rem; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--aurora-soft); border: 1px solid rgba(47, 224, 180, 0.25); color: var(--text); }

.apply-form { display: grid; gap: 22px; min-width: 0; }
.apply-sec { scroll-margin-top: 100px; position: relative; transition: border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.7s ease, translate 0.7s ease; }
.apply-sec::after {
  content: "✓";
  position: absolute;
  top: 22px; right: 22px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(47, 224, 180, 0.6);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(.3,1.6,.5,1);
}
.apply-sec.complete { border-color: rgba(47, 224, 180, 0.45); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 40px rgba(47, 224, 180, 0.1); }
.apply-sec.complete::after { transform: scale(1); }
.apply-sec-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; padding-right: 40px; }
.apply-sec-head h3 { margin: 2px 0 4px; font-size: 1.35rem; }
.apply-sec-head p { margin: 0; font-size: 0.92rem; }
.apply-num {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(47, 224, 180, 0.3), rgba(61, 139, 255, 0.3));
  border: 1px solid var(--panel-border-strong);
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.25);
}
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-group label em { font-style: normal; font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-left: 6px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--panel-border); }

.char-count { display: block; text-align: right; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-top: 6px; transition: color 0.2s ease; }
.char-count.ok { color: var(--success); }
.form-group .hint + .char-count, .char-count + .hint { margin-top: 4px; }

.scenario-box {
  position: relative;
  padding: 22px 24px;
  margin-bottom: 18px;
  border-radius: 16px;
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(154, 107, 255, 0.2), transparent 70%),
    rgba(5, 8, 20, 0.6);
  border: 1px dashed rgba(154, 107, 255, 0.5);
}
.scenario-box p { margin: 8px 0 0; color: var(--text); font-size: 1.02rem; font-weight: 600; }
.scenario-tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--violet); }

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin: 6px 0 24px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(5, 8, 20, 0.5);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}
.check-card:hover { border-color: var(--panel-border-strong); }
.check-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 8px;
  border: 2px solid var(--panel-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  margin-top: 1px;
}
.check-card input:checked + .check-box { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px rgba(47, 224, 180, 0.6); }
.check-card input:checked + .check-box::after { content: "✓"; color: #fff; font-weight: 800; font-size: 0.85rem; }
.check-card input:focus-visible + .check-box { outline: 2px solid var(--aurora); outline-offset: 2px; }
.check-card:has(input:checked) { border-color: rgba(47, 224, 180, 0.5); background: rgba(47, 224, 180, 0.06); }

.apply-submit { width: 100%; border: none; font-size: 1.1rem; padding: 18px; }
.apply-submit.loading { opacity: 0.75; pointer-events: none; }
.draft-note { margin-bottom: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 960px) {
  .apply-layout { grid-template-columns: 1fr; padding-top: 30px; }
  .apply-side { position: static; }
  .apply-progress-card { display: flex; align-items: center; gap: 20px; padding: 18px; }
  .apply-ring { width: 96px; height: 96px; margin: 0; flex: none; }
  .apply-ring-label strong { font-size: 1.4rem; }
  .apply-ring-label span { font-size: 0.6rem; }
  .apply-nav { margin: 0; flex: 1; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .apply-nav a { padding: 6px 8px; font-size: 0.85rem; }
  .apply-tip { display: none; }
}
@media (max-width: 560px) {
  .apply-grid { grid-template-columns: 1fr; }
  .apply-progress-card { flex-direction: column; }
  .apply-nav { grid-template-columns: 1fr 1fr; width: 100%; }
  .apply-sec-head { gap: 12px; }
  .apply-num { width: 42px; height: 42px; font-size: 1rem; }
}

/* ==========================================================
   v6 - Support-Bewerbung, animierte Leuchtränder
   ========================================================== */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.perks-section { padding: 50px 24px 0; }
.perks { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perk, .glow-card {
  position: relative;
  isolation: isolate;
}
.perk {
  padding: 28px;
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease, translate 0.7s ease;
}
.perk h3 { margin: 0 0 8px; }
.perk p { margin: 0; font-size: 0.93rem; }
.perk-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(47, 224, 180, 0.25), rgba(154, 107, 255, 0.25));
  box-shadow: 0 0 30px rgba(61, 139, 255, 0.3);
}
.perk:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(47, 224, 180, 0.15); }

/* Rotierender Farbverlauf-Rand beim Hovern */
.perk::after, .glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 0deg, var(--aurora) 60deg, var(--accent) 120deg, var(--violet) 180deg, transparent 240deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderSpin 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.perk:hover::after, .glow-card:hover::after { opacity: 1; }
@keyframes borderSpin { to { --angle: 360deg; } }

.hero-apply::after { height: 2px; opacity: 0.9; }
.hero-apply h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }

/* Szenario-Karten in der Bewerbung etwas kompakter */
.apply-sec .scenario-box + .form-group { margin-bottom: 26px; }
.apply-sec .form-group:last-child { margin-bottom: 0; }
.check-card a { color: var(--aurora); text-decoration: underline; }

@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } }

/* ==========================================================
   v7 - Bento, Guides/Artikel, Über uns, Kontakt
   ========================================================== */

/* ---------- Bento-Grid ---------- */
.bento {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 18px;
}
.bento-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.7s ease, translate 0.7s ease;
}
.bento-item:hover { transform: translateY(-6px); border-color: var(--panel-border-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(61, 139, 255, 0.14); }
.bento-item p:last-child { margin-bottom: 0; }
.bento-item .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(47, 224, 180, 0.18), rgba(61, 139, 255, 0.18));
  border: 1px solid rgba(96, 160, 255, 0.3);
}
.bento-hero { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; display: flex; align-items: center; gap: 26px; }
.bento-wideimg { grid-column: span 2; }
.bento-hero, .bento-wideimg { display: flex; align-items: flex-end; padding: 0; }
.bento-hero { min-height: 440px; }
.bento-wideimg { min-height: 260px; }
.bento-hero::before, .bento-wideimg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img) center / cover no-repeat;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.bento-hero::after, .bento-wideimg::after { z-index: 2; }
.bento-hero .bento-body, .bento-wideimg .bento-body {
  position: relative;
  padding: 30px;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 20, 0.85) 35%, rgba(5, 8, 20, 0.97));
}
.bento-hero .bento-body { padding-top: 120px; }
.bento-wideimg .bento-body { padding-top: 70px; background: linear-gradient(90deg, rgba(5, 8, 20, 0.95) 0%, rgba(5, 8, 20, 0.75) 55%, rgba(5, 8, 20, 0.2) 100%); }
.bento-wideimg::before { background-position: center 35%; }
.bento-hero:hover::before, .bento-wideimg:hover::before { transform: scale(1.08); }
.bento-hero h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bento-kicker { display: inline-block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--aurora); margin-bottom: 10px; }
.bento-link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--aurora); }
.bento-link:hover { text-decoration: underline; }
.bento-stat { flex: none; text-align: center; }
.bento-stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; }
.bento-stat > span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; }
.bento-item p a { color: var(--aurora); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .bento-wideimg { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-hero, .bento-wide, .bento-wideimg { grid-column: auto; }
  .bento-wide { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bento-stat { text-align: left; }
}

/* ---------- Intro-Text ---------- */
.intro-text { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.eyebrow-plain { display: block; color: var(--aurora); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.intro-text h2 { font-size: clamp(2rem, 4vw, 3rem); }
.intro-copy p { font-size: 1.05rem; line-height: 1.8; }
@media (max-width: 860px) { .intro-text { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Guide-Karten ---------- */
.guide-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.guide-grid-lg { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease, translate 0.7s ease;
}
.guide-card:hover { transform: translateY(-6px); border-color: var(--aurora); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(47, 224, 180, 0.15); }
.guide-icon { font-size: 2rem; margin-bottom: 14px; }
.guide-card h3 { font-size: 1.15rem; line-height: 1.3; }
.guide-card p { font-size: 0.92rem; flex: 1; }
.guide-more { font-weight: 700; color: var(--aurora); font-size: 0.9rem; display: flex; justify-content: space-between; gap: 10px; }
.guide-more em { font-style: normal; color: var(--text-muted); font-weight: 600; }

/* ---------- Artikel ---------- */
.article-hero { padding-bottom: 60px; }
.breadcrumbs { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--aurora); }
.article-icon { font-size: 3rem; margin-bottom: 10px; }
.article-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.article-meta span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--panel-border); font-size: 0.85rem; color: var(--text-muted); }

.article-layout { max-width: 1100px; margin: 0 auto; padding: 60px 24px 90px; display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.article-toc { position: sticky; top: 96px; }
.toc-card { padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--panel-border); backdrop-filter: blur(10px); }
.toc-card strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--aurora); margin-bottom: 10px; }
.toc-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc-card a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 0.88rem; color: var(--text-muted); border-left: 2px solid transparent; transition: all 0.2s ease; }
.toc-card a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc-card a.current { color: var(--text); border-left-color: var(--aurora); background: var(--aurora-soft); }

.prose { min-width: 0; max-width: 740px; font-size: 1.06rem; }
.prose p, .prose li, .prose dd { color: #c0cde8; line-height: 1.85; }
.prose-lead { font-size: 1.2rem; color: var(--text) !important; line-height: 1.75 !important; padding-bottom: 10px; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2.2em 0 0.7em; scroll-margin-top: 100px; }
.prose h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 14px; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--aurora); }
.prose a { color: var(--aurora); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(47, 224, 180, 0.4); }
.prose code, .prose kbd { font-size: 0.88em; padding: 2px 7px; border-radius: 6px; background: rgba(5, 8, 20, 0.8); border: 1px solid var(--panel-border); color: var(--text); }
.prose kbd { border-bottom-width: 3px; }
.callout { margin: 1.6em 0; padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, rgba(47, 224, 180, 0.1), rgba(61, 139, 255, 0.08)); border: 1px solid rgba(47, 224, 180, 0.35); color: var(--text); }
.glossary { display: grid; grid-template-columns: 180px 1fr; gap: 12px 20px; margin: 0 0 1.4em; }
.glossary dt { font-weight: 800; color: var(--text); font-family: var(--font-display); }
.glossary dd { margin: 0; }
.article-cta { margin-top: 3em; padding: 28px; border-radius: 22px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: radial-gradient(400px 200px at 0% 0%, rgba(47, 224, 180, 0.2), transparent 70%), var(--panel); border: 1px solid var(--panel-border-strong); }
.article-cta h3 { margin: 0 0 6px; }
.article-cta p { margin: 0; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
  .article-toc { position: static; }
  .glossary { grid-template-columns: 1fr; gap: 4px; }
  .glossary dd { margin-bottom: 12px; }
}

/* ---------- Über uns ---------- */
.about h2 { margin-top: 2.2em; }
.about-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.about-split img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--panel-border-strong); box-shadow: 0 0 60px rgba(61, 139, 255, 0.3); }
.about-split h2 { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value { padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--panel-border); transition: opacity 0.7s ease, translate 0.7s ease, border-color 0.3s ease; }
.value:hover { border-color: var(--panel-border-strong); }
.value span { font-size: 1.6rem; }
.value h3 { margin: 8px 0 6px; }
.value p { margin: 0; font-size: 0.93rem; }
@media (max-width: 700px) { .about-split, .values { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border-radius: 24px; background: var(--panel); border: 1px solid var(--panel-border); backdrop-filter: blur(10px); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease, translate 0.7s ease; }
.contact-card:hover { transform: translateY(-6px); border-color: var(--panel-border-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.contact-ico { font-size: 2.2rem; margin-bottom: 14px; }
.contact-card p { flex: 1; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Navigation mit mehr Punkten etwas kompakter */
@media (max-width: 1240px) and (min-width: 961px) {
  .nav-links a { padding: 8px 11px; font-size: 0.9rem; }
  .logo-text { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}
