@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/exo-2-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/static/fonts/exo-2-latin-wght-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/inter-latin-wght-normal.woff2) format("woff2"); }
/* =====================================================================
   87 SYSTEMS – Design-System (Neon-Lila, Kristalle, Glas)
   ===================================================================== */
:root {
  --bg: #05030c;
  --bg-2: #0b0717;
  --panel: rgba(22, 13, 44, .62);
  --panel-solid: #140c2a;
  --panel-2: rgba(36, 22, 70, .55);
  --line: rgba(139, 92, 246, .22);
  --line-strong: rgba(167, 139, 250, .5);
  --text: #f1edff;
  --muted: #a69bc9;
  --brand: #8b5cf6;
  --brand-2: #a855f7;
  --brand-3: #c4b5fd;
  --brand-deep: #5b21b6;
  --glow: rgba(139, 92, 246, .45);
  --glow-soft: rgba(139, 92, 246, .18);
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --gold: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Exo 2", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--text);
  font: 15px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(168, 85, 247, .22), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(91, 33, 182, .25), transparent 60%),
    radial-gradient(700px 500px at 50% 120%, rgba(124, 58, 237, .18), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
/* feine Sterne */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8, transparent 60%), radial-gradient(1px 1px at 72% 12%, #fff6, transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 64%, #c4b5fd88, transparent 60%), radial-gradient(1px 1px at 88% 72%, #fff5, transparent 60%),
    radial-gradient(1px 1px at 22% 88%, #fff5, transparent 60%), radial-gradient(1.5px 1.5px at 58% 34%, #a855f788, transparent 60%);
}
body > * { position: relative; z-index: 1; }

a { color: var(--brand-3); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; font-family: var(--font-display); }
h1 { font-size: 2rem; font-weight: 900; font-style: italic; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: 1.15rem; font-weight: 800; font-style: italic; letter-spacing: .01em; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
code { background: rgba(139, 92, 246, .15); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .88em; color: var(--brand-3); }
::selection { background: var(--brand); color: #fff; }

.title-grad {
  background: linear-gradient(180deg, #ffffff 0%, #ddd3ff 45%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, .35));
}
.accent { color: var(--brand-2); }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .35em; font-size: .75rem; color: var(--brand-3); font-weight: 600; }
.eyebrow .dot { color: var(--brand-2); margin: 0 .6em; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px; background: rgba(5, 3, 12, .72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 22px var(--glow); }
.logo-text { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; }
.logo-text span { color: var(--brand-3); }
.nav { display: flex; align-items: center; gap: 16px; }
.nav > a:not(.btn) { color: var(--muted); font-weight: 600; font-size: .92rem; }
.nav > a:not(.btn):hover { color: #fff; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--brand-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(36, 22, 70, .55);
  color: var(--text); font: inherit; font-weight: 700; transition: transform .15s, box-shadow .2s, border-color .2s, background .2s; white-space: nowrap;
}
.btn:hover { color: #fff; border-color: var(--brand-3); box-shadow: 0 0 18px var(--glow-soft); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 55%, #a855f7 100%); border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 8px 26px rgba(124, 58, 237, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-display); font-weight: 800;
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(139, 92, 246, .65), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1c1200; border-color: transparent; box-shadow: 0 8px 22px rgba(251, 191, 36, .3); }
.btn-gold:hover { color: #1c1200; }
.btn-danger { background: transparent; color: #fecaca; border-color: rgba(248, 113, 113, .4); }
.btn-danger:hover { border-color: var(--bad); box-shadow: 0 0 16px rgba(248, 113, 113, .25); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-sm { padding: 6px 12px; font-size: .82rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .discord { width: 22px; height: 22px; }
form.inline { display: inline; }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; color: #e4ddff; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: 3px; }
input[type=text], input[type=email], input[type=date], input[type=time], input[type=search], input[type=number], input[type=url], input[type=password], input[type=datetime-local], input[type=color], select, textarea {
  width: 100%; padding: 10px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(8, 5, 18, .7);
  color: var(--text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
input[type=color] { padding: 4px; height: 42px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand-3) 50%), linear-gradient(135deg, var(--brand-3) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select[multiple] { min-height: 120px; background-image: none; padding-right: 13px; }
select option { background: var(--panel-solid); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--glow-soft), 0 0 18px var(--glow-soft); }
.field { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }

.switch { position: relative; display: inline-block; width: 48px; height: 27px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: rgba(139, 92, 246, .15); border: 1px solid var(--line); border-radius: 999px; transition: .2s; cursor: pointer; }
.slider::before { content: ""; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: #cbbcff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: linear-gradient(135deg, #7c3aed, #a855f7); border-color: transparent; box-shadow: 0 0 16px var(--glow); }
.switch input:checked + .slider::before { transform: translateX(21px); background: #fff; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; }
.shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: calc(100vh - 61px); }
.sidebar { border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 8, 30, .85), rgba(8, 5, 18, .85)); padding: 20px 14px; position: sticky; top: 61px; height: calc(100vh - 61px); overflow-y: auto; }
.sidebar::-webkit-scrollbar { width: 6px; } .sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; }
.guild-head { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); }
.guild-icon { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #3b1d7a, #5b21b6); display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; font-family: var(--font-display); }
.guild-icon img { width: 100%; height: 100%; object-fit: cover; }
.side-label { text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; color: #8075a8; margin: 18px 12px 6px; font-weight: 700; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; color: #d8d0f5; font-weight: 500; font-size: .93rem; transition: background .15s, color .15s; border: 1px solid transparent; }
.side-link:hover { background: rgba(139, 92, 246, .1); color: #fff; }
.side-link.active { background: linear-gradient(90deg, rgba(139, 92, 246, .28), rgba(139, 92, 246, .06)); border-color: var(--line); color: #fff; box-shadow: inset 3px 0 0 var(--brand-2), 0 0 18px rgba(139, 92, 246, .12); }
.main { padding: 28px 34px 64px; min-width: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; }
.page-head .sub { color: var(--muted); margin-top: 2px; }

/* ---------- Karten ---------- */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px;
  backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.card::before { /* Lichtkante oben */
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .55), transparent);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.stat {
  position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--glow-soft), transparent 70%); }
.stat .v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; font-style: italic; letter-spacing: -.01em; }
.stat .l { color: var(--muted); font-size: .84rem; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(139, 92, 246, .14); border: 1px solid var(--line); color: var(--brand-3); }
.badge.free { color: var(--muted); }
.badge.premium { color: #1c1200; background: linear-gradient(135deg, #f59e0b, #fde68a); border-color: transparent; }
.badge.custom { color: #fff; background: linear-gradient(135deg, #7c3aed, #a855f7); border-color: transparent; box-shadow: 0 0 12px var(--glow); }
.badge.ok { color: #a7f3d0; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .35); }
.badge.bad { color: #fecaca; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .35); }
.badge.warn { color: #fde68a; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); }

.module { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(8, 5, 18, .5); transition: border-color .2s, box-shadow .2s; }
.module:hover { border-color: var(--line-strong); box-shadow: 0 0 20px var(--glow-soft); }
.module .ico { font-size: 1.4rem; width: 46px; height: 46px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(124, 58, 237, .35), rgba(168, 85, 247, .15)); border: 1px solid var(--line); border-radius: 13px; }
.module .txt { flex: 1; min-width: 0; }

details.box { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(8, 5, 18, .5); margin-bottom: 10px; }
details.box[open] { border-color: var(--line-strong); }
details.box > summary { cursor: pointer; padding: 13px 15px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
details.box > summary::-webkit-details-marker { display: none; }
details.box > summary::after { content: "▾"; color: var(--brand-3); }
details.box[open] > summary::after { content: "▴"; }
details.box > .body { padding: 0 15px 15px; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid rgba(139, 92, 246, .12); white-space: nowrap; }
th { color: #9a8fc4; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
tr:hover td { background: rgba(139, 92, 246, .06); }
.bar { height: 8px; background: rgba(139, 92, 246, .14); border-radius: 99px; overflow: hidden; min-width: 80px; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, #7c3aed, #c084fc); box-shadow: 0 0 10px var(--glow); }

/* ---------- Hinweise ---------- */
.flash { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; border: 1px solid; font-weight: 500; backdrop-filter: blur(8px); }
.flash.success { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #bbf7d0; }
.flash.error { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.flash.info { background: rgba(139, 92, 246, .12); border-color: var(--line-strong); color: var(--brand-3); }
.flash.premium { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .4); color: #fde68a; }
.lock { border: 1px dashed rgba(251, 191, 36, .45); background: linear-gradient(135deg, rgba(251, 191, 36, .07), rgba(139, 92, 246, .06)); border-radius: var(--radius-sm); padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.empty { text-align: center; color: var(--muted); padding: 22px; }
.empty img { width: 84px; height: 84px; border-radius: 20px; display: block; margin: 0 auto 10px; opacity: .9; box-shadow: 0 0 24px var(--glow-soft); }

/* =====================================================================
   Startseite
   ===================================================================== */
.hero-art { position: relative; max-width: 1400px; margin: 0 auto; padding: 18px 24px 0; }
.hero-art .frame { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 90px rgba(91, 33, 182, .45), 0 0 0 1px rgba(255, 255, 255, .03); }
.hero-art img { display: block; width: 100%; height: auto; }
/* klickbarer Bereich exakt über dem „GET STARTED“-Button im Bild */
.hero-cta {
  position: absolute; left: 9.1%; top: 86.6%; width: 25.2%; height: 9.3%;
  border-radius: 999px; transition: box-shadow .2s, background .2s;
}
.hero-cta:hover, .hero-cta:focus-visible { background: rgba(255, 255, 255, .08); box-shadow: 0 0 40px rgba(168, 85, 247, .8), inset 0 0 0 2px rgba(255, 255, 255, .5); outline: none; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 8px; }
.hero-stats { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-style: italic; color: #fff; }

.section { max-width: 1200px; margin: 0 auto; padding: 70px 24px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature {
  position: relative; padding: 24px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(91, 33, 182, .35); }
.feature .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(124, 58, 237, .5), rgba(168, 85, 247, .2)); border: 1px solid var(--line-strong); box-shadow: 0 0 22px var(--glow-soft); }
.feature .ico svg { width: 26px; height: 26px; fill: #e9e3ff; }
.feature h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }
.feature ul { margin: 10px 0 0; padding-left: 18px; color: #cfc6ee; font-size: .86rem; }

.mascots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mascot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform .2s, box-shadow .2s; }
.mascot:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 16px 40px rgba(91, 33, 182, .45); }
.mascot img { display: block; width: 100%; height: auto; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.split img { width: 100%; border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: 0 24px 70px rgba(91, 33, 182, .4); }
.checklist { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: #ddd5f7; }
.checklist li::before { content: "◆"; color: var(--brand-2); text-shadow: 0 0 10px var(--glow); flex: none; }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.plan.hl { border-color: rgba(196, 181, 253, .7); background: linear-gradient(180deg, rgba(91, 33, 182, .35), rgba(22, 13, 44, .7)); box-shadow: 0 0 0 1px rgba(168, 85, 247, .4), 0 24px 70px rgba(124, 58, 237, .45); }
.plan.hl::after { content: "BELIEBT"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; font: 800 .7rem var(--font-display); letter-spacing: .15em; background: linear-gradient(135deg, #7c3aed, #a855f7); box-shadow: 0 0 20px var(--glow); }
.plan h3 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.3rem; text-transform: uppercase; margin: 0; }
.plan .price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; font-style: italic; margin: 10px 0 16px; }
.plan .price small { font-size: .85rem; color: var(--muted); font-weight: 500; font-style: normal; font-family: "Inter", sans-serif; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 6px 0; color: #ddd5f7; font-size: .92rem; border-bottom: 1px dashed rgba(139, 92, 246, .14); }
.plan li::before { content: "✦"; color: var(--brand-2); margin-right: 9px; }

.cta-banner { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line-strong); margin-top: 70px; box-shadow: 0 24px 80px rgba(91, 33, 182, .45); }
.cta-banner img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center; filter: brightness(.55) saturate(1.1); }
.cta-banner .inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; text-transform: uppercase; }

footer.site { margin-top: 70px; border-top: 1px solid var(--line); background: rgba(5, 3, 12, .6); }
footer.site .inner { max-width: 1200px; margin: 0 auto; padding: 30px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
footer.site img { height: 54px; mix-blend-mode: screen; }

/* Serverliste */
.server-banner { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); margin-bottom: 26px; }
.server-banner img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: center 40%; filter: brightness(.6); }
.server-banner .inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 30px; background: linear-gradient(90deg, rgba(5, 3, 12, .92) 0%, rgba(5, 3, 12, .7) 45%, transparent 80%); }
.server-banner h1 { margin: 0 0 4px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.server { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px 16px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.server:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 40px rgba(91, 33, 182, .35); }
.server .guild-icon { width: 76px; height: 76px; border-radius: 22px; font-size: 1.4rem; box-shadow: 0 0 0 3px rgba(139, 92, 246, .25), 0 0 26px var(--glow-soft); }
.server .name { font-weight: 700; }
.server.off { opacity: .8; }

/* Fehlerseite */
.error-page { max-width: 560px; margin: 0 auto; text-align: center; padding: 70px 24px; }
.error-page img { width: 160px; height: 160px; border-radius: 34px; box-shadow: 0 0 50px var(--glow); margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mascots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; padding: 10px; }
  .sidebar .guild-head, .side-label { display: none; }
  .side-link { white-space: nowrap; }
  .main { padding: 20px 16px 48px; }
  .grid-2, .grid-3, .pricing { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat .v { font-size: 1.5rem; }
  .container { padding: 20px 16px 48px; }
  .topbar { padding: 10px 16px; }
  .logo-text { display: none; }
  .nav { gap: 8px; }
  .nav > a:not(.btn) { display: none; }
  .hero-art { padding: 10px 12px 0; }
  .hero-art .frame { border-radius: 16px; }
  .section { padding: 50px 16px 0; }
  .cta-banner img { height: 260px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .mascots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mascots .mascot:nth-child(n+7) { display: none; }
  .user-chip span { display: none; }
}

/* ---------- Shop ---------- */
.container.narrow { max-width: 820px; }
.topbar .nav-shop { margin: 0 auto 0 34px; }
.area-tag { margin-left: 10px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font: 700 .68rem/1.6 "Inter", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-3); }
.topbar.area-dashboard, .topbar.area-team { border-bottom-color: var(--line-strong); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); color: var(--text); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; --tone: var(--brand); }
.product.tier-premium, .product-hero.tier-premium { --tone: var(--gold); }
.product.tier-request, .product-hero.tier-request { --tone: #22d3ee; }
.product::before, .product-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 190px; background: radial-gradient(70% 100% at 50% 0, var(--tone), transparent 75%); opacity: .2; pointer-events: none; }
.product:hover, .product:focus-visible { transform: translateY(-5px); border-color: var(--tone); box-shadow: 0 22px 50px rgba(0, 0, 0, .45); color: var(--text); }
.product img { width: 132px; height: 132px; margin: 4px auto 16px; object-fit: contain; border-radius: 30px; position: relative; }
.product h3 { font-size: 1.4rem; font-weight: 900; font-style: italic; text-transform: uppercase; margin: 0 0 6px; }
.product p { color: var(--muted); flex: 1; }
.product-badge { position: absolute; top: 16px; right: 16px; z-index: 1; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--tone, var(--brand)); background: rgba(5, 3, 12, .6); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-badge.static { position: static; display: inline-block; margin-bottom: 12px; }
.product-price { margin-bottom: 18px; }
.product-price b { font-family: var(--font-display); font-size: 2rem; font-weight: 900; font-style: italic; }
.product-price.big b { font-size: 2.8rem; }
.product-price small { color: var(--muted); }
.product-price .note { display: block; }
.product .btn { justify-content: center; }
.product-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 28px; border: 1px solid var(--line-strong); background: var(--panel); --tone: var(--brand); }
.product-hero > * { position: relative; }
.product-art img { width: 100%; height: auto; border-radius: 40px; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .5)); }
.product-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lead { font-size: 1.08rem; color: #ddd5f7; }
.crumbs { margin-bottom: 16px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.step b { font: 900 italic 2.2rem/1 var(--font-display); color: var(--brand-2); }
.step h3 { margin: 10px 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }
.flow { padding-left: 22px; display: grid; gap: 10px; }
.code-buy { margin-top: 18px; border-color: var(--gold); }
.rank-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 8px rgba(255, 255, 255, .15); }
input[type=color] { width: 56px; cursor: pointer; }
.code-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 16px 22px; border-radius: var(--radius); border: 1px dashed var(--gold); background: rgba(251, 191, 36, .06); color: var(--text); }
.code-input { font-family: ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; }
.compare th, .compare td { text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--muted); }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: pointer; }
.pick:has(input:checked) { border-color: var(--brand-3); background: rgba(139, 92, 246, .16); }
.pick.off { opacity: .5; cursor: not-allowed; }
.pick input { width: auto; flex: none; }
.pick span span { display: block; }
.pick > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-weight: 400; }
.consent input { width: auto; margin-top: 4px; flex: none; }
.consent a { text-decoration: underline; }
.buy { width: 100%; justify-content: center; margin-top: 10px; }
.line { padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.line:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 12px 0 0; }
.legal { white-space: pre-wrap; overflow-wrap: anywhere; }
.shop-foot .foot-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; text-align: left; }
.shop-foot .foot-grid img { max-width: 170px; height: auto; }
.shop-foot .foot-grid a { display: block; padding: 3px 0; color: var(--muted); }
.shop-foot .foot-grid a:hover { color: #fff; }
.shop-foot h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.foot-copy { text-align: center; padding: 26px 16px 6px; }
@media (max-width: 1000px) { .topbar { flex-wrap: wrap; height: auto; } .topbar .nav-shop { order: 3; width: 100%; margin: 8px 0 0; overflow-x: auto; white-space: nowrap; } }
@media (max-width: 900px) {
  .products, .steps { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; padding: 26px; gap: 18px; }
  .product-art img { max-width: 170px; }
  .shop-foot .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .pick-grid { grid-template-columns: 1fr; } }
.product { padding-top: 58px; }
.nav-shop .only-mobile { display: none; }
@media (max-width: 1000px) {
  .nav.nav-shop > a:not(.btn) { display: inline-block; padding: 4px 0; }
  .nav.nav-shop > a.only-mobile { display: inline-block; }
}

/* ---------- Buttons oder Auswahlmenü ---------- */
.ui-mode-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ui-mode-head h2 { margin: 0; }
.ui-mode-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brand-3); outline-offset: -2px; }

/* Server-Bauplan */
.bp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bp-note { border-color: var(--gold); }
.bp-danger { border-color: rgba(248, 113, 113, .4); }
.bp-list { min-height: 12px; display: grid; gap: 4px; }
.bp-cat { margin-top: 14px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(139, 92, 246, .05); }
.bp-cat .bp-list { padding-left: 14px; margin-top: 4px; }
.bp-item, .bp-cat-head { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 10px; min-height: 44px; }
.bp-item:hover, .bp-cat-head:hover { background: rgba(139, 92, 246, .12); }
.bp-item.fixed { opacity: .7; }
.bp-grip { color: var(--muted); cursor: grab; width: 14px; flex: none; }
.bp-name { flex: 1; min-width: 0; color: inherit; overflow-wrap: anywhere; display: flex; gap: 8px; align-items: center; }
.bp-icon { color: var(--muted); width: 22px; text-align: center; flex: none; }
.bp-move { display: flex; gap: 2px; flex: none; }
.bp-arrow { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--muted); cursor: pointer; font-size: .7rem; }
.bp-arrow:hover { color: #fff; border-color: var(--line-strong); }
.bp-drag { opacity: .4; }
[data-locked] .bp-move, [data-locked] .bp-grip { display: none; }
.bp-save { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: #150c2b; }
.bp-save[hidden] { display: none; }
.bp-group { margin: 16px 0 8px; font-size: .95rem; color: var(--brand-3); }
.bp-perms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 6px 18px; }
.bp-perm { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; font-weight: 500; font-size: .9rem; }
.bp-perm select { width: 122px; flex: none; padding: 6px 8px; }
.bp-perm.allow span { color: #a7f3d0; }
.bp-perm.deny span { color: #fecaca; }
@media (max-width: 640px) { .bp-item > .btn, .bp-cat-head > .btn, .bp-grip { display: none; } .bp-cat .bp-list { padding-left: 4px; } }

/* Server-Vorlagen */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 16px; }
.tpl-card { display: flex; flex-direction: column; gap: 8px; color: inherit; margin: 0; transition: transform .15s, border-color .15s; }
.tpl-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.tpl-card h2, .tpl-card p { margin: 0; }
.tpl-card .btn { margin-top: auto; align-self: flex-start; }
.tpl-emoji { font-size: 2.2rem; line-height: 1; }
.tpl-dots { display: flex; gap: 5px; }
.tpl-dots i { width: 12px; height: 12px; border-radius: 50%; }
.tpl-show { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tpl-show .card { margin-top: 0; margin-bottom: 18px; }
.tpl-cat { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tpl-cat .check { flex-wrap: wrap; }
.tpl-ch { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 4px 0 4px 20px; color: #cfc6ea; }
.tpl-cat:has(input:not(:checked)) .tpl-ch { opacity: .35; text-decoration: line-through; }
@media (max-width: 900px) { .tpl-show { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tpl-card { transition: none; } }

/* Personal & Ränge */
.hire { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.hire .field { margin: 0; }
.rows { display: grid; }
.row-item { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.row-item:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; display: grid; overflow-wrap: anywhere; }
.row-avatar { width: 38px; height: 38px; border-radius: 50%; border: 2px solid; display: grid; place-items: center; font-weight: 700; flex: none; background: rgba(139, 92, 246, .12); }
.rank-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; white-space: nowrap; }
.btn[hidden] { display: none; }
.rank-dot.big { width: 16px; height: 16px; }
.row-meta { width: 110px; flex: none; }
.row-actions { width: 132px; flex: none; text-align: right; }
.rank-choice { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.rank-choice label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; }
.rank-choice label:has(input:checked) { border-color: var(--brand-2); background: rgba(139, 92, 246, .12); }
.perm-area { border: 1px solid var(--line); min-width: 0; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2px 28px; }
.perm-row { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 500; cursor: pointer; border-bottom: 1px solid rgba(139, 92, 246, .1); }
.perm-row.locked { opacity: .5; cursor: not-allowed; }
@media (max-width: 700px) {
  .hire { grid-template-columns: minmax(0, 1fr); }
  .row-item { flex-wrap: wrap; gap: 8px 12px; }
  .row-main { flex-basis: calc(100% - 60px); }
  .row-meta { display: none; }
  .row-actions { width: auto; margin-left: auto; }
}
