:root {
  --bg: #0d0f14;
  --surface: #1a1d26;
  --surface2: #242933;
  --border: #2f3440;
  --text: #e8eaf2;
  --muted: #9aa0b3;
  --accent: #ff7a18;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); }
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.45);
}

h1 { margin: 0; font-size: 1.6rem; letter-spacing: 0.5px; }
.badge { padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: var(--text); font-size: 0.9rem; }

.search { margin-top: 1rem; display: flex; gap: 0.75rem; }
.search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 1rem;
}

.category {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.category h2 { margin: 0 0 0.8rem 0; font-size: 1.25rem; }

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.command {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.command:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.command .name { font-weight: 700; font-size: 1.05rem; }
.command .desc { margin-top: 0.25rem; color: var(--muted); font-size: 0.95rem; line-height: 1.35; }

.command .example {
  margin-top: 0.8rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: monospace;
  font-size: 0.95rem;
  display: none; /* <--- versteckt */
}

.command.open .example {
  display: block; /* <--- wird sichtbar */
}