/* Homepage – Dashboard-Look, ORBT-Pill-Navbar */

.kb-home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 5.5rem;
}

/* ---- Pill-Navbar (wie zuvor) ---- */
.kb-home-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 12px clamp(16px, 4vw, 32px) 0;
}

.kb-home-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 80rem;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.kb-brand {
  text-decoration: none;
  flex-shrink: 0;
}
.kb-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.kb-home-header.is-scrolled {
  padding-top: 8px;
}
.kb-home-header.is-scrolled .kb-home-nav-inner {
  padding: 8px 14px;
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.kb-home-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 4px;
}
.kb-home-nav-links::-webkit-scrollbar {
  display: none;
}

.kb-inline-link {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.kb-inline-link:hover {
  color: #e9d5ff;
}

/* Scroll-Reveal */
.kb-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.kb-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Modul-Suche & Accordion (Startseite) */
.kb-module-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.kb-module-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 420px;
  padding: 0 14px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.kb-module-search-wrap:focus-within {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
  color: #fff;
}
.kb-module-search-inp {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.kb-module-search-inp::placeholder {
  color: var(--muted2);
}
.kb-module-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kb-module-search-empty {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted2);
  text-align: center;
}
.kb-module-search-empty.hidden {
  display: none !important;
}

.kb-module-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-mod-acc {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}
.kb-mod-acc:hover {
  border-color: var(--glass-border-strong);
}
.kb-mod-acc.is-open,
.kb-mod-acc[open] {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
.kb-mod-acc.is-filtered-out {
  display: none !important;
}

button.kb-mod-acc-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.kb-mod-acc-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.kb-mod-acc-summary::-webkit-details-marker {
  display: none;
}

.kb-mod-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.33, 1, 0.68, 1);
}
.kb-mod-acc.is-open .kb-mod-acc-panel,
.kb-mod-acc[open] .kb-mod-acc-panel {
  grid-template-rows: 1fr;
}
.kb-mod-acc-panel > .kb-mod-acc-inner,
.kb-mod-acc-panel > .kb-mod-acc-body {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.32s ease,
    transform 0.38s cubic-bezier(0.33, 1, 0.68, 1),
    padding 0.38s cubic-bezier(0.33, 1, 0.68, 1);
}
.kb-mod-acc.is-open .kb-mod-acc-panel > .kb-mod-acc-inner,
.kb-mod-acc.is-open .kb-mod-acc-panel > .kb-mod-acc-body,
.kb-mod-acc[open] .kb-mod-acc-panel > .kb-mod-acc-body {
  opacity: 1;
  transform: none;
}
.kb-mod-acc-inner--rich {
  padding: 0 18px 0;
}
.kb-mod-acc.is-open .kb-mod-acc-inner--rich {
  padding: 0 18px 18px;
}

.kb-mod-acc-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  color: #93c5fd;
}
.kb-mod-acc-ico--ai {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.28);
  color: #fde68a;
}
.kb-mod-acc-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}
.kb-mod-acc-badge {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  vertical-align: middle;
}
.kb-mod-acc-chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted2);
  border-bottom: 2px solid var(--muted2);
  transform: rotate(45deg);
  transition: transform 0.38s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.25s ease;
  flex-shrink: 0;
}
.kb-mod-acc.is-open .kb-mod-acc-chev,
.kb-mod-acc[open] .kb-mod-acc-chev {
  transform: rotate(-135deg) translateY(-2px);
  border-color: #93c5fd;
}
.kb-mod-acc-body {
  padding: 0 16px 16px 66px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.kb-mod-acc-body p {
  margin: 0;
}
.kb-mod-acc--premium {
  border-color: rgba(251, 191, 36, 0.22);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.05), rgba(255, 255, 255, 0.04));
}
.kb-mod-acc--premium.is-open {
  border-color: rgba(251, 191, 36, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .kb-mod-acc-panel,
  .kb-mod-acc-panel > .kb-mod-acc-inner,
  .kb-mod-acc-panel > .kb-mod-acc-body,
  .kb-mod-acc-chev,
  .kb-reveal {
    transition: none !important;
  }
}

@keyframes kb-acc-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kb-stat-card--enter {
  animation: kb-stat-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes kb-stat-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Footer */

.kb-nav-link {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.kb-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.kb-nav-link.is-active {
  color: #fff;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.kb-home-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.kb-home-cta {
  padding: 8px 14px !important;
  font-size: 0.84rem !important;
  white-space: nowrap;
}

.kb-home-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}
.kb-home-menu-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Sprache */
.kb-lang-wrap {
  position: relative;
}
.kb-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.kb-lang-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}
.kb-lang-chev {
  transition: transform 0.15s ease;
}
.kb-lang-btn[aria-expanded="true"] .kb-lang-chev {
  transform: rotate(180deg);
}
.kb-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(8, 14, 28, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 50;
}
.kb-lang-menu.hidden {
  display: none !important;
}
.kb-lang-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.kb-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.kb-lang-option.is-active {
  background: var(--accent-soft);
  color: #fff;
}

/* Mitteilungen + Profil (Startseite & öffentliche Seiten) */
.kb-home-auth {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.kb-notify-wrap {
  position: relative;
  flex: 0 0 auto;
}

.kb-notify-btn {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.kb-notify-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--glass-border-strong);
}

.kb-notify-btn svg {
  display: block;
  flex-shrink: 0;
}

.kb-home-auth .topnav-user-wrap {
  flex: 0 1 auto;
  min-width: 0;
}

.kb-home-auth .topnav-user-btn {
  height: 36px;
  border-radius: 10px;
}

/* ---- Main ---- */
.kb-home-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 40px) 48px;
  box-sizing: border-box;
}

.kb-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.kb-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.kb-hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}

.kb-hero-lead {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}

.kb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kb-hero-actions .btn-discord {
  padding: 12px 18px;
  font-size: 0.92rem;
}

/* Demo-Karte (Dashboard-Glas) */
.kb-demo-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.kb-demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.kb-demo-head-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #93c5fd;
}
.kb-demo-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.kb-demo-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--muted2);
  margin-top: 2px;
}

.kb-demo-input {
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #fff;
}

.kb-demo-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #fff;
  animation: kb-cursor-blink 0.85s step-end infinite;
}
@keyframes kb-cursor-blink {
  50% { opacity: 0; }
}

.kb-demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
}
.kb-demo-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.kb-demo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.kb-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.kb-demo-tag {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}
.kb-demo-tag.is-hot {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.12);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.3);
}
.kb-demo-tag.is-warn {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
}

/* Live-Statistiken */
.kb-stats-section {
  margin-bottom: 40px;
}

.kb-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.kb-stat-card {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: border-color 0.15s, transform 0.15s;
}

.kb-stat-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

.kb-stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.kb-stat-value {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.kb-stat-card--skeleton .kb-stat-value {
  opacity: 0.35;
  animation: kb-stat-pulse 1.2s ease-in-out infinite;
}

.kb-stat-card--enter {
  animation: kb-stat-rise 0.5s cubic-bezier(0.22, 0.82, 0.24, 1) backwards;
}

@keyframes kb-stat-pulse {
  50% { opacity: 0.15; }
}

@keyframes kb-stat-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kb-stats-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Hero: Live-Status */
.kb-home-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.kb-home-status-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-strong);
  transform: translateY(-1px);
  color: #fff;
}
.kb-home-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--muted2);
  box-shadow: 0 0 0 0 transparent;
}
.kb-home-status-badge--operational .kb-home-status-dot {
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.55);
  animation: kb-status-pulse 2.5s ease-in-out infinite;
}
.kb-home-status-badge--degraded .kb-home-status-dot {
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}
.kb-home-status-badge--outage .kb-home-status-dot {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}
.kb-home-status-badge--unknown .kb-home-status-dot {
  background: var(--muted2);
}
.kb-home-status-badge--operational {
  border-color: rgba(74, 222, 128, 0.25);
}
.kb-home-status-badge--degraded {
  border-color: rgba(251, 191, 36, 0.28);
  color: #fde68a;
}
.kb-home-status-badge--outage {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
@keyframes kb-status-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

/* Vergleich */
.kb-home-compare {
  margin-bottom: 56px;
}
.kb-compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}
.kb-compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.kb-compare-table th,
.kb-compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.kb-compare-table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted2);
  background: rgba(255, 255, 255, 0.04);
}
.kb-compare-th--highlight {
  color: #93c5fd !important;
  background: rgba(96, 165, 250, 0.08) !important;
}
.kb-compare-table tbody th {
  font-weight: 700;
  color: #fff;
  width: 34%;
}
.kb-compare-table tbody tr:last-child th,
.kb-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.kb-compare-table tbody tr:hover td,
.kb-compare-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.02);
}
.kb-compare-yes {
  color: #a7f3d0;
  font-weight: 700;
}
.kb-compare-table td:last-child {
  color: var(--muted);
}
.kb-compare-table code {
  font-size: 0.9em;
  color: #93c5fd;
}
.kb-compare-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted2);
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* Feature-Wunsch */
.kb-home-feature-wish {
  margin-bottom: 40px;
}
.kb-home-feature-wish-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(74, 222, 128, 0.06));
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.kb-home-feature-wish-ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}
.kb-home-feature-wish-copy {
  flex: 1;
  min-width: 0;
}
.kb-home-feature-wish-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.kb-home-feature-wish-lead {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.kb-home-feature-wish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Dashboard-style UI (Startseite Team) ── */
.kb-dash-ui {
  --kb-dash-radius: 14px;
  --kb-dash-radius-lg: 16px;
  --kb-dash-surface: rgba(14, 14, 22, 0.88);
  --kb-dash-border: rgba(255, 255, 255, 0.09);
  --kb-dash-border-strong: rgba(255, 255, 255, 0.14);
  --kb-dash-accent: #3b82f6;
  --kb-dash-accent-soft: rgba(59, 130, 246, 0.16);
  --kb-dash-muted: rgba(255, 255, 255, 0.5);
  --kb-dash-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.kb-team-section.kb-dash-ui {
  margin-bottom: 40px;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.kb-dash-ui .kb-dash-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: var(--kb-dash-radius-lg);
  border: 1px solid var(--kb-dash-border);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: var(--kb-dash-shadow);
}

.kb-dash-ui .kb-dash-head-text {
  flex: 1;
  min-width: 0;
}

.kb-dash-ui .kb-dash-head-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--kb-dash-border-strong);
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.kb-dash-ui .kb-dash-head-title {
  margin: 0 0 6px;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.kb-dash-ui .kb-dash-head-lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--kb-dash-muted);
  max-width: 52ch;
}

.kb-dash-ui .kb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .kb-dash-ui .kb-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .kb-dash-ui .kb-team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.kb-dash-ui .kb-dash-card {
  border-radius: var(--kb-dash-radius);
  border: 1px solid var(--kb-dash-border);
  background: var(--kb-dash-surface);
  box-shadow: var(--kb-dash-shadow);
}

.kb-dash-ui .kb-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kb-dash-ui .kb-team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.kb-dash-ui .kb-team-card:hover::before {
  transform: scaleX(1);
}

.kb-dash-ui .kb-team-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.kb-dash-ui .kb-team-card-av {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25), 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.kb-dash-ui .kb-team-card:hover .kb-team-card-av {
  transform: scale(1.05);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.4), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.kb-dash-ui .kb-team-card-av--fallback,
.kb-dash-ui .kb-team-card-av--sk {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #93c5fd;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.25), rgba(0, 0, 0, 0.3));
}

.kb-dash-ui .kb-team-card-body {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kb-dash-ui .kb-team-card-name {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kb-dash-ui .kb-team-card-meta {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kb-dash-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-dash-ui .kb-team-card-meta::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.kb-dash-ui .kb-team-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.kb-dash-ui .kb-dash-badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #bfdbfe;
  background: var(--kb-dash-accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.28);
  transition: all 0.2s ease;
}

.kb-dash-ui .kb-team-card:hover .kb-dash-badge {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.45);
}

.kb-dash-ui .kb-dash-badge--gold {
  color: #fde68a;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08));
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.kb-dash-ui .kb-team-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--kb-dash-border);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.kb-dash-ui .kb-team-card:hover .kb-team-card-action {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: rgba(96, 165, 250, 0.6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.kb-dash-ui .kb-team-card--skeleton {
  pointer-events: none;
  min-height: 280px;
}

.kb-dash-ui .kb-team-card--skeleton .kb-team-card-av--sk {
  animation: kb-stat-pulse 1.2s ease-in-out infinite;
}

.kb-dash-ui .kb-team-sk-line {
  display: block;
  height: 12px;
  width: 55%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  animation: kb-stat-pulse 1.2s ease-in-out infinite;
}

.kb-dash-ui .kb-team-sk-line--lg {
  width: 70%;
  height: 14px;
}

.kb-dash-ui .kb-team-sk-badges {
  display: block;
  height: 26px;
  width: 85%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  animation: kb-stat-pulse 1.2s ease-in-out infinite;
}

/* ── Team V2 (neues modernes Design) ── */
.kb-team-v2 {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.kb-team-v2-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.kb-team-v2-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.kb-team-v2-glow--1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  top: -100px;
  left: -100px;
}

.kb-team-v2-glow--2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  bottom: -50px;
  right: -50px;
}

.kb-team-v2-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.kb-team-v2-label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.kb-team-v2-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.kb-team-v2-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.kb-team-v2-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .kb-team-v2-grid {
    gap: 24px;
  }
}

.kb-team-v2-card {
  position: relative;
  width: 280px;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.kb-team-v2-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.kb-team-v2-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.kb-team-v2-av {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 24px;
  object-fit: cover;
  border: 3px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.kb-team-v2-card:hover .kb-team-v2-av {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.kb-team-v2-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.02em;
}

.kb-team-v2-username {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px;
  font-family: ui-monospace, monospace;
}

.kb-team-v2-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.kb-team-v2-badge {
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #93c5fd;
  transition: all 0.3s ease;
}

.kb-team-v2-card:hover .kb-team-v2-badge {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
}

.kb-team-v2-badge--gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08));
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}

.kb-team-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.kb-team-v2-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.kb-team-v2-link svg {
  width: 18px;
  height: 18px;
}

/* Skeleton */
.kb-team-v2-skeleton {
  pointer-events: none;
}

.kb-team-v2-av--sk {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(0, 0, 0, 0.2));
  animation: kb-stat-pulse 1.4s ease-in-out infinite;
}

.kb-team-v2-sk {
  height: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin: 0 auto 12px;
  animation: kb-stat-pulse 1.4s ease-in-out infinite;
}

.kb-team-v2-sk--lg {
  width: 60%;
  height: 24px;
  margin-bottom: 16px;
}

.kb-team-v2-sk--sm {
  width: 40%;
  height: 12px;
}

/* Vertrauens-Server (Referenz-Layout) */
.kb-trusted-section {
  margin-bottom: 64px;
  padding-top: 8px;
}

.kb-trusted-head {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 52rem;
}

.kb-trusted-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22d3ee;
}

.kb-trusted-title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
}

.kb-trusted-lead {
  margin: 0 auto;
  max-width: 46rem;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.kb-trusted-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
}

.kb-trusted-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: min(160px, 100%);
  flex: 0 1 140px;
}

.kb-trusted-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kb-trusted-avatar--img {
  display: block;
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.kb-trusted-avatar--fallback {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #93c5fd;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(96, 165, 250, 0.2));
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.kb-trusted-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-trusted-meta {
  margin: -6px 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.kb-trusted-item--skeleton {
  pointer-events: none;
  opacity: 0.45;
}

.kb-trusted-item--skeleton .kb-trusted-avatar {
  background: rgba(255, 255, 255, 0.06);
  animation: kb-stat-pulse 1.2s ease-in-out infinite;
}

.kb-trusted-item--skeleton .kb-trusted-name,
.kb-trusted-item--skeleton .kb-trusted-meta {
  width: 80%;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: transparent;
}

/* Partner-Server (Startseite) */
.kb-partners-section {
  padding-top: 2rem;
}
.kb-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 80rem;
  margin: 0 auto;
}
.kb-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.kb-partner-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(96, 165, 250, 0.2);
}
.kb-partner-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #e9d5ff;
}
.kb-partner-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.kb-partner-code {
  margin: 0;
  font-size: 0.78rem;
  color: #93c5fd;
}
.kb-partner-code code {
  font-weight: 800;
  color: #e9d5ff;
}
.kb-partner-save {
  margin: 0;
  font-size: 0.72rem;
  color: #86efac;
  font-weight: 600;
}
.kb-partner-card--skeleton .kb-partner-avatar {
  animation: kb-pulse 1.4s ease-in-out infinite;
}
.kb-partners-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted2);
  font-size: 0.9rem;
}
.kb-partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.kb-partner-ext-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #93c5fd;
  text-decoration: none;
}
.kb-partner-ext-link:hover {
  text-decoration: underline;
}
/* Discovery (öffentlich + Dashboard) */
.kb-discovery-toolbar {
  max-width: 52rem;
  margin: 0 auto 16px;
}

.kb-discovery-toolbar .kb-discovery-search {
  max-width: none;
  width: 100%;
}

.kb-discovery-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 52rem;
  margin: 0 auto;
}
.kb-discovery-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}
.kb-discovery-card--bumped {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.06);
}
.kb-discovery-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(96, 165, 250, 0.15);
}
.kb-discovery-icon--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #e9d5ff;
}
.kb-discovery-body {
  flex: 1;
  min-width: 0;
}
.kb-discovery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.kb-discovery-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.kb-discovery-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.45);
  flex-shrink: 0;
}
.kb-discovery-meta {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--muted2);
}
.kb-discovery-desc {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kb-discovery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.kb-discovery-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}
.kb-discovery-bump {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted2);
}
.kb-discovery-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.kb-discovery-card a.kb-discovery-join,
a.kb-discovery-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 10px;
  background: #5865f2;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.kb-discovery-card a.kb-discovery-join:hover,
a.kb-discovery-join:hover {
  background: #4752c4;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  filter: none;
}
.kb-discovery-card a.kb-discovery-join:focus-visible,
a.kb-discovery-join:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.kb-discovery-empty {
  text-align: center;
  color: var(--muted2);
  font-size: 0.9rem;
  padding: 24px;
}
@media (max-width: 640px) {
  .kb-discovery-card {
    flex-wrap: wrap;
  }
  .kb-discovery-actions {
    width: 100%;
  }
  .kb-discovery-card a.kb-discovery-join,
  a.kb-discovery-join {
    width: 100%;
    justify-content: center;
  }
}

.kb-partner-shop-btn {
  margin-top: 4px;
  font-size: 0.82rem !important;
  padding: 8px 14px !important;
}
.kb-partners-apply-card {
  max-width: 80rem;
  margin: 0 auto 48px;
  padding: 24px 16px;
  display: flex;
  justify-content: center;
}
.kb-partners-page .kb-page-hero {
  max-width: 80rem;
  margin: 0 auto 24px;
}

.kb-trusted-empty {
  width: 100%;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.kb-section {
  margin-bottom: 48px;
}
.kb-section-head {
  margin-bottom: 20px;
}
.kb-section-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.kb-section-lead {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 52ch;
}

.kb-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.kb-feature-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: border-color 0.15s, transform 0.15s;
}
.kb-feature-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}
.kb-feature-ico {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.kb-feature-ico--svg {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  color: #93c5fd;
}
.kb-feature-ico--svg svg {
  display: block;
}
.kb-feature-ico--ai {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(96, 165, 250, 0.2));
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde68a;
}
.kb-feature-ico--more {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
  color: var(--muted);
}
.kb-feature-card--premium {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.06), rgba(255, 255, 255, 0.04));
}
.kb-feature-card--more {
  border-style: dashed;
  opacity: 0.92;
}
.kb-feature-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.kb-feature-card code {
  font-size: 0.8em;
  color: #93c5fd;
}
.kb-feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.kb-feature-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.kb-cta-card {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--accent-border);
}
.kb-cta-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.kb-cta-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn-cta-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #5865f2 0%, #7289da 45%, #60a5fa 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 24px rgba(88, 101, 242, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.15s;
}
.btn-cta-login:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 8px 32px rgba(88, 101, 242, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  color: #fff;
}
.btn-cta-login-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.btn-cta-login-arrow {
  opacity: 0.85;
  transition: transform 0.15s;
}
.btn-cta-login:hover .btn-cta-login-arrow {
  transform: translateX(3px);
}

/* Footer */
.kb-home-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(20px, 4vw, 40px) 28px;
  border-top: 1px solid var(--glass-border);
  background: rgba(7, 7, 15, 0.85);
  font-size: 0.8rem;
  color: var(--muted2);
}
.kb-home-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.kb-home-footer-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.kb-home-footer-nav a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .kb-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .kb-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .kb-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kb-hero-copy {
    text-align: center;
  }
  .kb-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .kb-hero-actions {
    justify-content: center;
  }
  .kb-home-status-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .kb-home-feature-wish-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .kb-home-feature-wish-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .kb-nav-link {
    font-size: 0.84rem;
    padding: 8px 12px;
  }
  .kb-module-toolbar-actions .btn {
    font-size: 0.78rem;
    padding: 6px 10px;
  }
  .kb-mod-acc-body {
    padding-left: 16px;
  }
  .kb-home-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(12, 10, 24, 0.98);
    backdrop-filter: blur(16px);
  }
  .kb-home-nav-links.is-open {
    display: flex;
  }
  .kb-home-nav-inner {
    position: relative;
    flex-wrap: wrap;
  }
  .kb-home-menu-btn {
    display: flex;
  }
  .kb-home-cta {
    display: none !important;
  }
  .kb-stats-grid {
    grid-template-columns: 1fr;
  }
  .kb-trusted-avatar {
    width: 96px;
    height: 96px;
  }
  .kb-dash-ui .kb-team-grid {
    grid-template-columns: 1fr;
  }

  .kb-dash-ui .kb-team-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .kb-dash-ui .kb-team-card-action {
    width: 100%;
    justify-content: center;
  }

  .kb-compare-table-wrap {
    margin: 0 -4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .kb-compare-table {
    min-width: 520px;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   SERVER SELECTION V3 (sv3-*) - Grid Cards with Icon Glow Background
   ──────────────────────────────────────────────────────────────────────────── */

.sv3-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 32px 64px;
}

/* Hero + toolbar */
.sv3-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.sv3-hero-text {
  min-width: 0;
}

.sv3-title {
  margin: 0 0 6px;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.sv3-subtitle {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.sv3-view-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.sv3-view-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sv3-view-btn:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.sv3-view-btn.is-active {
  color: #fff;
  background: rgba(124, 58, 237, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sv3-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.sv3-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 420px;
}

.sv3-search input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: #fff;
  transition: all 0.2s ease;
}

.sv3-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.sv3-search input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.sv3-search svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.sv3-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sv3-filter {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sv3-filter:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.sv3-filter.is-active {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(124, 58, 237, 0.35);
}

/* Grid */
.sv3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

/* Section Titles */
.sv3-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.sv3-section-title:first-child {
  margin-top: 0;
}

.sv3-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   SERVER VIEW CARDS (SVC) - Verbesserte Server-Auswahl
   ═══════════════════════════════════════════════════════════ */

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(30,14,60,0.82) 0%, rgba(10,8,22,0.96) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 3px 16px rgba(0,0,0,0.38);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 65% at 25% 0%, rgba(90,30,180,0.32) 0%, transparent 70%);
}

.svc:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 10px 28px rgba(0,0,0,0.5);
}

.svc.is-focus {
  border-color: var(--accent-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 10px 28px rgba(0,0,0,0.5), 0 0 0 2px rgba(96,165,250,0.3);
}

/* Premium Variant */
.svc--premium {
  border-color: rgba(251,191,36,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(251,191,36,0.12);
}

.svc--premium::before {
  background: radial-gradient(ellipse 90% 70% at 25% 0%, rgba(251,191,36,0.14) 0%, transparent 70%);
}

.svc--premium:hover {
  border-color: rgba(251,191,36,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 40px rgba(251,191,36,0.2);
}

/* Invite Variant */
.svc--invite {
  border-style: dashed;
  border-color: rgba(255,255,255,0.12);
  opacity: 0.9;
}

.svc--invite:hover {
  opacity: 1;
  border-color: rgba(124,58,237,0.4);
  background: linear-gradient(160deg, rgba(40,18,80,0.75) 0%, rgba(12,9,25,0.92) 100%);
}

/* Header */
.svc-header {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.svc-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.svc:hover .svc-icon {
  transform: scale(1.05);
}

.svc-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-icon-text {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255,220,160,0.9);
  background: linear-gradient(135deg, rgba(96,165,250,0.2), rgba(59,130,246,0.15));
}

.svc-status {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(10,8,22,0.95);
}

.svc-status--active {
  background: #10b981;
  box-shadow: 0 0 0 1px rgba(16,185,129,0.3), 0 0 12px rgba(16,185,129,0.5);
  animation: svc-pulse 2s ease-in-out infinite;
}

@keyframes svc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Body */
.svc-body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.svc-name {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.svc-status-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ok);
  margin-bottom: 6px;
}

.svc-status-text svg {
  flex-shrink: 0;
}

.svc-status-text--inactive {
  color: rgba(255,255,255,0.45);
}

.svc-owner {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* Footer */
.svc-footer {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.svc-btn {
  width: 100%;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.svc-btn:hover {
  background: rgba(124,58,237,0.4);
  border-color: rgba(96,165,250,0.5);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.svc-btn:active {
  transform: translateY(0);
}

/* Empty State */
.sv3-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  font-size: 1rem;
}

/* Animation */
.svc.card-enter {
  animation: svc-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes svc-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* List view */
.home-servers--list .sv3-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-servers--list .svc {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}

.home-servers--list .svc-header {
  margin-bottom: 0;
  flex-shrink: 0;
}

.home-servers--list .svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.home-servers--list .svc-body {
  flex: 1;
  min-width: 0;
}

.home-servers--list .svc-name {
  margin: 0 0 4px;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.home-servers--list .svc-status-text {
  margin-bottom: 0;
}

.home-servers--list .svc-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex-shrink: 0;
}

.home-servers--list .svc-btn {
  width: auto;
  min-width: 110px;
}

/* Responsive */
@media (max-width: 1200px) {
  .sv3-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .sv3-wrap {
    padding: 24px 16px 48px;
  }

  .sv3-hero {
    flex-wrap: wrap;
  }

  .sv3-title {
    font-size: 1.4rem;
  }

  .sv3-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .sv3-search {
    max-width: none;
    width: 100%;
  }

  .sv3-filters {
    width: 100%;
  }

  .sv3-filter {
    flex: 1;
    text-align: center;
  }

  .sv3-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-servers--list .svc {
    flex-wrap: wrap;
  }

  .home-servers--list .svc-footer {
    width: 100%;
  }

  .home-servers--list .svc-btn {
    width: 100%;
  }
  
  .svc {
    padding: 20px;
  }
  
  .svc-icon {
    width: 56px;
    height: 56px;
  }
  
  .svc-icon-text {
    font-size: 1.4rem;
  }
  
  .svc-name {
    font-size: 1.05rem;
  }
  
  .svc-status-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .sv3-grid {
    grid-template-columns: 1fr;
  }
  
  .svc {
    padding: 18px;
  }
}
