/*
 * Designsystem „Premium Dark Glassmorphism“ (UI-Redesign-Briefing 10.11.2026, docs/REDESIGN.md).
 * Alle Farben zentral als Tokens. Ältere Namen (--navy, --surface …) bleiben als Verweise erhalten.
 */
:root {
  /* Markenfarben laut Briefing 2.1 */
  --tl-bg: #050f34;
  --tl-surface: #101b35;
  --tl-cyan: #10e9fb;
  --tl-blue: #0b6fe9;
  --tl-violet: #6727e6;
  --tl-pink: #d25cf8;
  --tl-gold: #facd10;
  --tl-text: #f8f8fb;
  --tl-muted: #a3b4d0;
  /* Abgeleitet: helleres Blau für Text und Links (Kontrast über 4,5 : 1 auf --tl-bg) */
  --tl-blue-text: #4c9bff;
  --tl-glass: rgb(16 27 53 / 72%);
  --tl-glass-strong: rgb(16 27 53 / 88%);
  --tl-glass-border: rgb(255 255 255 / 12%);
  --tl-glass-border-strong: rgb(255 255 255 / 18%);
  --tl-glow: 0 14px 36px rgb(3 110 233 / 18%);
  --tl-shadow: 0 12px 32px rgb(0 0 0 / 22%);
  --tl-gradient-primary: linear-gradient(135deg, #10e9fb 0%, #4c9bff 100%);
  --tl-gradient-brand: linear-gradient(135deg, #10e9fb 0%, #0b6fe9 50%, #6727e6 100%);

  /* Bisherige Namen, auf die neuen Tokens umgestellt */
  --navy: var(--tl-bg);
  --surface: var(--tl-surface);
  --elevated: #182750;
  --blue: var(--tl-blue-text);
  --cyan: var(--tl-cyan);
  --success: #22c55e;
  --warning: #f5b70b;
  --danger: #ef4444;
  --text: var(--tl-text);
  --muted: var(--tl-muted);
  --border: var(--tl-glass-border);
  --radius-card: 16px;
  --radius-btn: 12px;
  --header-height: 72px;
  --content-width: 1240px;
  --motion: 180ms ease;
  --font: Inter, Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Scrollleiste immer anzeigen, sonst springt das Layout zwischen kurzen und langen Seiten. */
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 520px at 88% -8%, rgb(103 39 230 / 20%), transparent 62%),
    radial-gradient(760px 460px at -4% 2%, rgb(16 233 251 / 9%), transparent 60%),
    var(--tl-bg);
  background-attachment: fixed;
  color: var(--text);
  font: 400 16px/1.55 var(--font);
}

main { flex: 1; }
h1, h2 { font-weight: 700; line-height: 1.2; margin: 0; }
h1 { font-size: 40px; }
h2 { font-size: 24px; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--tl-cyan); outline-offset: 2px; border-radius: 6px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 8px 16px;
  background: var(--elevated);
  border-radius: var(--radius-btn);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--content-width) + 64px);
  margin-inline: auto;
  padding-inline: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--motion), border-color var(--motion), box-shadow var(--motion), filter var(--motion);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 16px; height: 16px; }
.btn--primary { background: var(--tl-gradient-primary); color: var(--tl-bg); }
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px rgb(16 233 251 / 35%), 0 8px 24px rgb(16 233 251 / 22%); }
.btn--ghost { background: rgb(255 255 255 / 3%); border-color: var(--tl-glass-border-strong); color: var(--text); }
.btn--ghost:hover { background: rgb(16 233 251 / 7%); border-color: rgb(16 233 251 / 45%); }
.btn:disabled, .btn[aria-disabled="true"] { background: rgb(255 255 255 / 6%); border-color: transparent; color: var(--muted); box-shadow: none; filter: none; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(5 15 52 / 74%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--tl-glass-border);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgb(5 15 52 / 97%); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: 32px;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 18px; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand { flex: none; }
.brand__logo { display: block; width: auto; height: 56px; }
@media (max-width: 560px) {
  .brand__logo { height: 40px; }
}

.search { position: relative; flex: 1; max-width: 420px; }
.search__icon { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search input, .hero__search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font: 400 16px var(--font);
}
input::placeholder { color: var(--muted); opacity: 1; }

.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav__link { padding: 8px 12px; color: var(--muted); font-size: 14px; font-weight: 500; border-radius: var(--radius-btn); }
.site-nav__link:hover { color: var(--text); text-decoration: none; }
.site-nav__link[aria-current="page"] { color: var(--tl-cyan); box-shadow: inset 0 -2px 0 var(--tl-cyan); border-radius: 0; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  cursor: pointer;
}

.user-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px; color: var(--text); font-size: 14px; font-weight: 600; }
.user-chip:hover { text-decoration: none; color: var(--cyan); }
.user-chip img { border-radius: 50%; }
.user-chip span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Anmeldung */
.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin-inline: auto;
  padding: 40px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.login-card h1 { font-size: 28px; }
.login-card__lead { color: var(--muted); }
.login-card__note { color: var(--muted); font-size: 13px; }
.login-card .alert { width: 100%; margin-bottom: 0; }

/* Startseite */
.hero { padding: 72px 0 56px; text-align: center; border-bottom: 1px solid var(--border); background: var(--surface); }
.hero__title { max-width: 760px; margin-inline: auto; }
.hero__lead { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 18px; }
.hero__search { position: relative; display: flex; gap: 8px; max-width: 640px; margin: 32px auto 0; }
.hero__search .search__icon { left: 14px; }
.hero__search input { flex: 1; height: 48px; background: var(--navy); }
.hero__search .btn { height: 48px; }

.section { padding-block: 40px; }
.section h2 { display: flex; align-items: center; gap: 8px; }
.section h2 .icon { color: var(--cyan); }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.section--split h2 { margin-bottom: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.link-more .icon { width: 16px; height: 16px; }

/* Alle Reihen gleich hoch: Bricht ein Name um, wachsen alle Kacheln mit, nicht nur die eine Reihe. */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.category-grid > li { display: flex; min-width: 0; }
.category-grid .category-card { flex: 1; min-width: 0; }
.category-card span { min-width: 0; overflow-wrap: anywhere; }
.category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--motion), border-color var(--motion);
}
.category-card:hover { background: var(--elevated); border-color: var(--blue); text-decoration: none; }
.category-card .icon { color: var(--cyan); }

.note { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.note p { margin-top: 8px; color: var(--muted); }

/* Inhaltsseiten */
.page { padding-block: 48px; }
.page__lead { margin-top: 8px; margin-bottom: 32px; color: var(--muted); }
.page__meta { margin-bottom: 16px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.page .category-grid { margin-top: 8px; }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 64px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
}
.empty--compact { padding: 32px 24px; }
.empty__icon { width: 40px; height: 40px; color: var(--muted); }
.empty__code { color: var(--cyan); font-size: 14px; font-weight: 700; }
.empty__title { font-size: 18px; font-weight: 600; }
.empty__text { max-width: 480px; color: var(--muted); font-size: 14px; }
.empty .btn { margin-top: 16px; }

.alert { padding: 12px 16px; margin-bottom: 24px; border: 1px solid; border-radius: var(--radius-btn); font-size: 14px; overflow-wrap: anywhere; }
.alert--warning { border-color: var(--warning); background: rgb(245 158 11 / 10%); }
.alert--danger { border-color: var(--danger); background: rgb(239 68 68 / 12%); }

/* Footer */
.site-footer { margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); }

/* Verzeichnis */
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin-bottom: 16px; }
.filters .field { margin-bottom: 0; }
.field select {
  width: 100%;
  height: 40px;
  padding: 0 8px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font: 400 16px var(--font);
}
.result-count { min-height: 24px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.bot-list { display: grid; gap: 12px; }

.bot-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.bot-row--compact { grid-template-columns: 56px minmax(0, 1fr); }
.bot-row__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; color: var(--muted); font-size: 13px; }
.hero__alt { margin-top: 16px; color: var(--muted); font-size: 14px; }
.section__head--tight { margin-bottom: 16px; }
.section__head--tight h2 { margin-bottom: 0; }
.section__head .result-count { margin-bottom: 0; }
.category-block + .category-block { margin-top: 40px; }

/* Entwicklerprofile: alle Karten gleich hoch, Beschreibung auf zwei Zeilen begrenzt */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.dev-grid > li { display: flex; min-width: 0; }
.dev-card { display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); color: var(--text); transition: background var(--motion), border-color var(--motion); }
.dev-card:hover { background: var(--elevated); border-color: var(--blue); text-decoration: none; }
.dev-card__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dev-card__name { display: flex; flex-direction: column; min-width: 0; }
.dev-card__name strong, .dev-card__name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-card__name small { color: var(--muted); font-size: 13px; }
.dev-card__bio { display: -webkit-box; min-height: calc(2 * 1.5em); overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.dev-card__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; color: var(--muted); font-size: 13px; }
.avatar { display: flex; flex: none; align-items: center; justify-content: center; overflow: hidden; background: var(--elevated); border-radius: 50%; color: var(--muted); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--48 { width: 48px; height: 48px; }
.avatar--96 { width: 96px; height: 96px; }
.avatar--96 .icon { width: 40px; height: 40px; }
.dev-hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; margin-bottom: 8px; }
.dev-hero__body { flex: 1 1 320px; min-width: 0; }
.dev-hero__body h1 { overflow-wrap: anywhere; }
.dev-hero__body p { margin-top: 8px; }
.dev-hero__bio { max-width: 720px; color: var(--muted); overflow-wrap: anywhere; }
.dev-hero__body a .icon { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }
.bot-hero__by { color: var(--muted); font-size: 14px; }
/* Drei Kennzahlen immer in einer Reihe, damit keine Kachel allein steht */
.stat-grid.stat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .stat-grid.stat-grid--3 { gap: 8px; }
  .stat-grid--3 .stat-tile { padding: 12px; }
  .stat-grid--3 .stat-tile dt { font-size: 12px; overflow-wrap: anywhere; }
  .stat-grid--3 .stat-tile dd { font-size: 22px; }
}
.category-block h2 { display: flex; align-items: center; gap: 8px; }
.category-block h2 .icon { color: var(--cyan); }
.project-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden; background: var(--elevated); border-radius: var(--radius-card); color: var(--muted); }
.project-icon img { width: 100%; height: 100%; object-fit: cover; }
.project-icon--large { width: 96px; height: 96px; flex: none; }
.project-icon--large .icon { width: 40px; height: 40px; }
.bot-row__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 600; }
.bot-row__title a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-row__text { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-row__stats { display: flex; gap: 16px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.stat { display: inline-flex; align-items: center; gap: 4px; }
.stat .icon { width: 16px; height: 16px; }
.verified { display: inline-flex; color: var(--cyan); }
.verified .icon { width: 16px; height: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; }
.pill { padding: 2px 8px; background: var(--elevated); border-radius: 999px; color: var(--muted); font-size: 12px; }
a.pill:hover { color: var(--text); text-decoration: none; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 14px; }

/* Bot-Detailseite */
.bot-banner { aspect-ratio: 16 / 5; overflow: hidden; margin-bottom: 24px; background: var(--surface); border-radius: var(--radius-card); }
.bot-banner img { width: 100%; height: 100%; object-fit: cover; }
.bot-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 32px; }
.bot-hero__body { flex: 1 1 320px; min-width: 0; }
.bot-hero__body h1 { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.bot-hero__body p { margin-top: 8px; color: var(--muted); }
.bot-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bot-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.bot-section h2 { margin: 0 0 12px; font-size: 22px; }
.bot-section + .bot-section { margin-top: 32px; }
.bot-description { color: var(--muted); overflow-wrap: anywhere; }
.command-list { display: grid; gap: 8px; }
.command-list li { padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn); }
.command-list code { color: var(--cyan); font-size: 14px; overflow-wrap: anywhere; }
.command-list p { color: var(--muted); font-size: 14px; }
.facts { margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); font-size: 14px; }
.facts dt { margin-top: 12px; color: var(--muted); }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.facts .pills { margin-top: 4px; }

/* Einreichung und Projektliste */
.form-page { max-width: 760px; }
.form-page h1 { margin-bottom: 16px; overflow-wrap: anywhere; }
.steps { margin-bottom: 24px; }
.steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps__item { display: block; padding: 8px 4px; border-bottom: 2px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.steps__item:hover { color: var(--text); text-decoration: none; }
.steps__item[aria-current="step"] { border-color: var(--cyan); color: var(--text); }
.field textarea {
  width: 100%;
  padding: 8px 12px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  resize: vertical;
}
fieldset.field { padding: 0; border: 0; }
fieldset.field legend { margin-bottom: 4px; padding: 0; font-size: 14px; font-weight: 500; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 12px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.howto { margin: 0 0 12px; padding-left: 20px; color: var(--muted); }
.howto li { margin-bottom: 4px; }
.code-box { margin-bottom: 12px; padding: 12px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); overflow-wrap: anywhere; }
.code-box code { color: var(--cyan); font-size: 15px; }
.danger-zone { margin-top: 8px; color: var(--muted); font-size: 14px; }
.danger-zone summary { cursor: pointer; }
.danger-zone form { margin-top: 12px; }
.panel .btn { margin-top: 4px; }
.bot-row--project { grid-template-columns: 56px minmax(0, 1fr) auto auto; }
.project-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.status { padding: 4px 10px; background: var(--elevated); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.status--published { color: var(--success); }
.status--rejected, .status--suspended { color: #fca5a5; }
.status--submitted, .status--in_review, .status--changes_review { color: var(--warning); }

/* Administration */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.stat-tile { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.stat-tile dt { color: var(--muted); font-size: 14px; }
.stat-tile dd { margin: 4px 0 0; font-size: 28px; font-weight: 700; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.tabs__item { margin-bottom: -1px; padding: 8px 12px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.tabs__item:hover { color: var(--text); text-decoration: none; }
.tabs__item[aria-current="page"] { border-color: var(--cyan); color: var(--text); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table small, .facts small, .history small { color: var(--muted); }
.urgent { color: #fca5a5 !important; font-weight: 600; }
.check-list { display: grid; gap: 4px; margin-bottom: 12px; }
.history { margin-top: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); font-size: 14px; }
.history h2 { margin: 0 0 8px; font-size: 18px; }
.history li + li { margin-top: 12px; }
.history span { color: var(--muted); overflow-wrap: anywhere; }
.report-link { margin-top: 12px; font-size: 13px; text-align: center; }
.report-link a { color: var(--muted); }

/* Rechtstexte */
.prose { max-width: 760px; }
.prose h2 { margin: 32px 0 8px; font-size: 22px; }
.prose p { margin-bottom: 12px; color: var(--muted); }
.prose ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; color: var(--muted); }
.prose li { margin-bottom: 4px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font-size: 14px; color: var(--text); }
.prose address { font-style: normal; color: var(--text); margin-bottom: 12px; }

/* Installer */
.minimal__main { width: 100%; max-width: 640px; margin-inline: auto; padding: 48px 16px; }
.minimal__logo { margin-bottom: 24px; }
.minimal h1 { font-size: 32px; }
.panel { margin-bottom: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.panel h2 { margin: 24px 0 16px; font-size: 18px; }
.panel h2:first-of-type { margin-top: 0; }
.checks { display: grid; gap: 8px; font-size: 14px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks__ok .icon { color: var(--success); }
.checks__fail { color: var(--danger); }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.field input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font: 400 16px var(--font);
}
.field__hint { margin-top: 4px; color: var(--muted); font-size: 13px; }
.field__error { margin-top: 4px; color: #fca5a5; font-size: 13px; }
.field--error input:not([type="checkbox"]):not([type="radio"]) { border-color: var(--danger); }
.field label.check { display: flex; margin-bottom: 0; font-weight: 400; }

@media (max-width: 860px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .container, .site-header__inner { padding-inline: 16px; }
  .site-header__inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 12px; min-height: 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav form .btn { width: 100%; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .bot-row { grid-template-columns: 56px minmax(0, 1fr); }
  .bot-row__stats { grid-column: 1 / -1; flex-wrap: wrap; }
  .bot-row > .btn { grid-column: 1 / -1; }
  .bot-layout { grid-template-columns: minmax(0, 1fr); }
  .bot-row--project { grid-template-columns: 56px minmax(0, 1fr); }
  .bot-row--project .status { justify-self: start; }
  .bot-row--project .project-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .hero { padding: 40px 0; }
  .hero__search { flex-direction: column; }
  .hero__search input { flex: none; }
  .hero__search .search__icon { top: 24px; }
  .section--split { grid-template-columns: minmax(0, 1fr); }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Kontosicherheit und Zwei-Faktor-Anmeldung */
.section__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-setup { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 8px; }
.qr { width: 200px; height: 200px; padding: 0; background: #fff; border-radius: var(--radius-btn); overflow: hidden; }
.qr svg { display: block; width: 100%; height: 100%; }
.secret { letter-spacing: .08em; word-spacing: .3em; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.recovery-codes code { color: var(--cyan); font-size: 17px; letter-spacing: .06em; }
.pill--warning { margin-left: 8px; color: var(--warning); }
.otp-form { width: 100%; text-align: left; }
.otp-form input { font-size: 20px; letter-spacing: .15em; text-align: center; }
.inline-form { margin-top: 16px; }
@media (max-width: 560px) {
    .qr-setup { grid-template-columns: 1fr; justify-items: start; }
    .recovery-codes { grid-template-columns: 1fr; }
}

/* Votes und Bewertungen */
.alert--success { border-color: var(--success); background: rgb(34 197 94 / 10%); }
.btn--large { padding: 14px 28px; font-size: 17px; }
.btn--small { padding: 6px 12px; font-size: 13px; }
.btn.is-active { border-color: var(--success); color: var(--success); }
.vote-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.vote-card h1 { margin: 0; }
.vote-card .alert { width: 100%; margin-bottom: 0; }
.vote-card p { margin: 0; }
.vote-card__count { color: var(--muted); }
.vote-card__count strong { color: var(--text); font-size: 24px; }
.rules { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: 14px; }
.rules ul { margin-top: 6px; padding-left: 18px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars .icon { width: 16px; height: 16px; }
.star--on { color: var(--warning); fill: currentColor; }
.star--off { color: var(--muted); opacity: .45; }
.rating-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 24px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.rating-summary__score { display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.rating-summary__score strong { color: var(--text); font-size: 36px; line-height: 1; }
.rating-bars { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.rating-bars li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.rating-bars .icon { width: 12px; height: 12px; }
.rating-bars__bar { width: 100%; height: 8px; appearance: none; border: 0; background: var(--elevated); border-radius: 999px; overflow: hidden; }
.rating-bars__bar::-webkit-progress-bar { background: var(--elevated); border-radius: 999px; }
.rating-bars__bar::-webkit-progress-value { background: var(--warning); border-radius: 999px; }
.rating-bars__bar::-moz-progress-bar { background: var(--warning); border-radius: 999px; }
.review-form h3 { margin: 0 0 12px; font-size: 18px; }
.rating-input { margin: 0 0 16px; padding: 0; border: 0; }
.rating-input legend { margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 14px; }
.rating-input__options { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-input__options label { position: relative; cursor: pointer; }
.rating-input__options input { position: absolute; opacity: 0; }
.rating-input__options span { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; background: var(--elevated); border: 1px solid var(--border); border-radius: var(--radius-btn); font-size: 14px; }
.rating-input__options .icon { width: 14px; height: 14px; color: var(--warning); }
.rating-input__options small { color: var(--muted); }
.rating-input__options input:checked + span { border-color: var(--warning); background: rgb(245 158 11 / 12%); }
.rating-input__options input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.review-delete { margin: -12px 0 24px; }
.review-list { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.review { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.review__head small { color: var(--muted); }
.review__author { display: inline-flex; align-items: center; gap: 8px; }
.review__author img { border-radius: 50%; }
.review__body { margin: 12px 0 0; overflow-wrap: anywhere; }
.review__reply { margin-top: 12px; padding: 12px; background: var(--elevated); border-left: 3px solid var(--cyan); border-radius: var(--radius-btn); font-size: 14px; }
.review__reply small { color: var(--muted); }
.review__reply p { margin: 6px 0 0; overflow-wrap: anywhere; }
.review__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; }
.review__actions small, .review__report { color: var(--muted); }
.review-quote { margin: 0 0 24px; padding: 12px 16px; border-left: 3px solid var(--border); color: var(--muted); overflow-wrap: anywhere; }
.vote-list li + li { margin-top: 4px; }
@media (max-width: 560px) {
    .rating-summary { grid-template-columns: 1fr; }
}

/* Entwicklerbereich: Statistiken, Webhooks, API */
.project-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.project-picker label { font-weight: 600; font-size: 14px; }
.project-picker select { min-width: 260px; height: 44px; padding: 0 12px; background: rgb(5 15 52 / 62%); border: 1px solid var(--tl-glass-border-strong, var(--border)); border-radius: var(--tl-radius-sm, var(--radius-btn)); color: var(--text); font: 400 15px var(--font); transition: border-color var(--motion), box-shadow var(--motion); }
.project-picker select:focus { border-color: rgb(16 233 251 / 60%); box-shadow: 0 0 0 3px rgb(16 233 251 / 16%); outline: none; }
.project-picker .btn { min-height: 44px; }
.project-picker label { color: var(--tl-text, var(--text)); }
@media (max-width: 560px) {
  .project-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .project-picker label { grid-column: 1 / -1; }
  .project-picker select { min-width: 0; width: 100%; }
}
.secret-once { border-color: var(--warning); }
.secret-once .code-box code { user-select: all; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chart svg { display: block; width: 100%; height: 120px; }
.chart__bar { fill: var(--cyan); }
.chart__bar:hover { fill: var(--warning); }
.chart__axis { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.docs pre { margin: 12px 0 20px; padding: 12px 16px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); overflow-x: auto; font-size: 13px; line-height: 1.5; }
.docs pre code { color: var(--text); white-space: pre; }
.prose.docs { max-width: none; }
.docs > :not(pre) { max-width: 760px; }
.docs pre { width: max-content; min-width: min(760px, 100%); max-width: 100%; }
.docs h3 { margin: 24px 0 8px; font-size: 17px; }
.docs h3 code { color: var(--cyan); }
.docs__toc { margin-bottom: 24px; font-size: 14px; }
.scope-list { margin: 0 0 16px; padding: 0; border: 0; }
.scope-list legend { margin-bottom: 8px; padding: 0; font-weight: 600; font-size: 14px; }
.scope-list small { color: var(--muted); }

/* Nutzerverwaltung */
.user-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.user-head img { border-radius: 50%; }
.user-head h1 { margin: 0; overflow-wrap: anywhere; }
.user-head .page__meta { margin: 4px 0 0; }
.tabs__badge { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; background: var(--warning); border-radius: 999px; color: #111; font-size: 12px; font-weight: 700; text-align: center; }

/* Bilder und Änderungen */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn); }
.media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0 0 16px; padding: 0; list-style: none; }
.media-list img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: contain; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); }
.media-list--icon { grid-template-columns: repeat(auto-fill, minmax(140px, 180px)); }
.media-list--banner { grid-template-columns: minmax(0, 1fr); }
.media-list__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 13px; }
.media-list__meta small { color: var(--muted); }
.upload-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.upload-form input[type="file"] { max-width: 100%; font-size: 14px; color: var(--muted); }
.upload-form input[type="file"]::file-selector-button { margin-right: 10px; padding: 8px 14px; background: var(--elevated); border: 1px solid var(--border); border-radius: var(--radius-btn); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.inline-action { display: inline-block; margin-left: 8px; }
.diff-table td { overflow-wrap: anywhere; }
.diff-table del { color: #fca5a5; text-decoration: line-through; }
.diff-table ins { color: var(--success); text-decoration: none; }

/* Server-Verzeichnis */
.project-icon--round, .project-icon--round img { border-radius: 50%; }
.online-dot { display: inline-block; width: 8px; height: 8px; margin-right: 2px; background: var(--success); border-radius: 50%; }
.steps--3 ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Sammlungen, Merken, Vergleich */
.btn--block { display: flex; width: 100%; }
.muted { color: var(--muted); }
.ok-text { color: var(--success); }
.save-box { display: grid; gap: 8px; margin-top: 12px; }
.save-box p { margin: 0; }
.save-box form { display: grid; gap: 8px; }
.save-box select { width: 100%; height: 40px; padding: 0 8px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); color: var(--text); font: 400 15px var(--font); }
.save-box__saved { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.btn--block .icon { width: 16px; height: 16px; }
.collection-icons { display: flex; gap: 6px; min-height: 32px; }
.collection-icons__item { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; overflow: hidden; background: var(--elevated); border-radius: 8px; color: var(--muted); }
.collection-icons__item img { width: 100%; height: 100%; object-fit: cover; }
.collection-icons__item .icon { width: 16px; height: 16px; }
.collection-description { max-width: 760px; overflow-wrap: anywhere; }
.collection-entry { display: grid; gap: 4px; }
.collection-entry__note { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 4px 16px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.collection-entry__note .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.remove-list { display: grid; gap: 8px; }
.remove-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.remove-list span { min-width: 0; overflow-wrap: anywhere; }
.compare-add { position: relative; display: flex; gap: 8px; max-width: 640px; margin-bottom: 12px; }
.compare-add input[type="search"] { flex: 1; min-width: 0; height: 40px; padding: 0 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn); color: var(--text); font: 400 16px var(--font); }
.compare-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--muted); font-size: 14px; }
/* Gleich breite Spalten für alle Bots, Merkmalsspalte fest */
.compare-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.compare-table--1 { min-width: 400px; } .compare-table--2 { min-width: 560px; } .compare-table--3 { min-width: 760px; } .compare-table--4 { min-width: 960px; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compare-table thead th:first-child, .compare-table tbody th { width: 160px; color: var(--muted); font-weight: 600; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table small { color: var(--muted); }
.compare-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.compare-head > a:not(.compare-remove) { color: var(--text); font-size: 16px; font-weight: 600; }
.compare-remove { color: var(--muted); font-size: 13px; font-weight: 400; }

/* Changelog Radar */
.changelog { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.changelog__entry { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.changelog__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.changelog__kind { padding: 2px 8px; background: var(--elevated); border-radius: 999px; color: var(--text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.changelog__kind--release { color: var(--cyan); }
.changelog__kind--security { color: #fca5a5; }
.changelog__kind--status { color: var(--warning); }
.changelog__kind--commands { color: var(--success); }
.changelog__version { color: var(--text); font-weight: 600; }
.changelog__auto { font-style: italic; }
.changelog__title { margin: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.changelog__body { margin: 6px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.changelog__entry form { margin-top: 8px; }
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--muted); border-radius: var(--radius-btn); }
.bell:hover { color: var(--text); background: var(--elevated); }
.bell__badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--danger); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.notice-list { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn); font-size: 14px; }
.notice--unread { border-color: var(--blue); }
.notice__title { overflow-wrap: anywhere; }
.notice__time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.section-title { margin: 32px 0 12px; font-size: 22px; }
.follow-list { display: grid; gap: 12px; }
.follow-item { display: grid; gap: 8px; margin-bottom: 0; }
.follow-item h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.check-row { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
@media (max-width: 560px) {
  .notice { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Permission Lens: vier gleich breite Kacheln, Farbe je Risikostufe */
.lens--critical { --lens: var(--danger); }
.lens--high { --lens: #fb923c; }
.lens--medium { --lens: var(--warning); }
.lens--low { --lens: var(--success); }
.lens-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.lens-summary__item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--lens); border-radius: var(--radius-btn); text-align: center; }
.lens-summary__item strong { font-size: 22px; line-height: 1.1; }
.lens-summary__item span { color: var(--muted); font-size: 12px; }
.lens-summary__item--empty { opacity: .8; }
.lens-list { display: grid; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.lens-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn); }
.lens-item summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; }
.lens-item summary::-webkit-details-marker { display: none; }
.lens-item summary::after { content: "+"; margin-left: auto; color: var(--muted); }
.lens-item[open] summary::after { content: "–"; }
.lens-item p { margin: 0; padding: 0 12px 10px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.lens-item__label { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.lens-item__has-note { display: inline-flex; color: var(--cyan); }
.lens-item__has-note .icon { width: 16px; height: 16px; }
.lens-item__note { color: var(--text) !important; }
.lens-item__tech { font-family: ui-monospace, monospace; font-size: 12px !important; }
.lens-badge { flex: none; min-width: 64px; padding: 2px 8px; border: 1px solid var(--lens); border-radius: 999px; color: var(--lens); font-size: 12px; font-weight: 600; text-align: center; }


/* Redaktions-Sammlungen */
.editorial-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--cyan); font-weight: 600; }
.editorial-badge .icon { width: 14px; height: 14px; }
.dev-card--editorial { border-color: rgb(32 197 216 / 45%); }
.dev-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.editorial-new { margin-top: 24px; }
.section__head h2 .icon { color: var(--cyan); }
/* Zweite Zeile der Karten immer gleich hoch, egal ob „von …“ oder Abzeichen „Redaktion“ */
.dev-card__name small { display: block; height: 20px; line-height: 20px; }
.dev-card__name small .editorial-badge { height: 20px; vertical-align: top; }


/* Bot Health Monitor */
.status-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status-dot--online { background: var(--success); }
.status-dot--degraded { background: var(--warning); }
.status-dot--offline { background: var(--danger); }
.status-dot--maintenance { background: var(--blue); }
.health-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.health-head .page__meta { margin: 0; }
.health-state { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-weight: 600; }
.health-availability { margin: 0 0 12px; }
.health-bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end; gap: 3px; height: 40px; margin-bottom: 8px; }
.health-bar { display: block; height: 100%; background: var(--success); border-radius: 2px; }
.health-bar--none { height: 8%; background: var(--border); }
.health-bar--0 { height: 8%; background: var(--danger); }
.health-bar--1 { height: 10%; background: var(--danger); } .health-bar--2 { height: 20%; background: var(--danger); } .health-bar--3 { height: 30%; background: #fb923c; }
.health-bar--4 { height: 40%; background: #fb923c; } .health-bar--5 { height: 50%; background: var(--warning); } .health-bar--6 { height: 60%; background: var(--warning); }
.health-bar--7 { height: 70%; background: var(--warning); } .health-bar--8 { height: 80%; } .health-bar--9 { height: 90%; } .health-bar--10 { height: 100%; }

/* Alle Dashboard-Reiter gleich breit (volle Inhaltsbreite wie „Projekte“); Eingaben bleiben lesbar schmal */
.dashboard-page h1 { margin-bottom: 16px; overflow-wrap: anywhere; }
.dashboard-page .field,
.dashboard-page .check-row,
.dashboard-page .field__hint,
.dashboard-page .page__lead { max-width: 720px; }

/* Badges und Projektkarten einbinden */
.embed-item h2 { margin-bottom: 12px; }
.embed-preview { display: flex; align-items: center; min-height: 52px; margin-bottom: 16px; padding: 16px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); overflow-x: auto; }
.embed-preview--card { min-height: 146px; }
.embed-preview img { display: block; max-width: none; }
.embed-label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.embed-code-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.embed-code-row:last-child { margin-bottom: 0; }
.embed-code { flex: 1; min-width: 0; height: 80px; padding: 8px 12px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); color: var(--text); font: 400 13px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; resize: none; }
.embed-code-row .btn { flex: none; min-width: 104px; margin-top: 0; }
@media (max-width: 560px) {
  .embed-code-row { flex-direction: column; align-items: stretch; }
}

/* Bot-Finder */
.finder-form textarea { display: block; width: 100%; min-height: 84px; margin-bottom: 12px; padding: 10px 12px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); color: var(--text); font: 400 16px/1.5 var(--font); resize: vertical; }
.finder-form .check-row { margin-bottom: 16px; }
.finder-form .btn .icon { width: 16px; height: 16px; }
.finder-examples { margin: -8px 0 24px; color: var(--muted); font-size: 14px; }
.finder-understood { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.finder-understood .pills { margin: 0; }
.finder-understood__label { color: var(--muted); font-size: 14px; }
.pill--need { background: rgb(79 124 255 / 18%); color: var(--text); }
.pills--center { justify-content: center; max-width: 640px; }
.pill--link { display: inline-block; color: var(--text); }
.pill--link:hover { background: var(--border); text-decoration: none; }
.finder-hit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.finder-hit .bot-row { background: none; border: 0; border-radius: 0; }
.finder-why { padding: 12px 16px 16px 88px; border-top: 1px solid var(--border); }
.finder-why__list { display: grid; gap: 4px; margin: 0 0 8px; }
.finder-why__item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted); }
.finder-why__item strong { color: var(--text); font-weight: 600; }
.finder-why__item .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.finder-why__item--ok .icon { color: var(--success); }
.finder-why__item--missing .icon { color: var(--danger); }
.finder-why__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 13px; }
.finder-combo { display: grid; gap: 6px; margin: 0 0 8px; padding-left: 20px; list-style: decimal; color: var(--muted); }
.finder-combo a { font-weight: 600; }
.finder-note { margin-top: 16px; }
.finder-how { margin-top: 32px; color: var(--muted); font-size: 14px; }
.finder-how summary { color: var(--text); cursor: pointer; font-weight: 500; }
.finder-how p { max-width: 760px; margin-top: 8px; }
@media (max-width: 640px) {
  .finder-why { padding-left: 16px; }
}

/* Alternativen-Finder (Bot-Seite) */
.alt-intro { margin: -4px 0 12px; }
.alt-why { padding-top: 10px; padding-bottom: 12px; }
.alt-why__shared { margin-bottom: 8px; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alt-why__shared span { color: var(--text); font-weight: 600; }
.alt-why__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.alt-why__foot .pills { margin: 0; flex-wrap: nowrap; overflow: hidden; }
.alt-why__foot .pill { white-space: nowrap; }
.alt-why__foot .link-more { flex: none; }
.pill--good { background: rgb(34 197 94 / 14%); color: #86efac; }
.pill--bad { background: rgb(239 68 68 / 14%); color: #fca5a5; }
@media (max-width: 640px) {
  .alt-why__foot { flex-direction: column; align-items: flex-start; }
  .alt-why__foot .pills { flex-wrap: wrap; }
}

/* Trust & Freshness Score */
.trust-score { flex: none; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.trust-score strong { color: var(--text); font-size: 16px; }
.trust-score--good { border-color: rgb(34 197 94 / 50%); }
.trust-score--good strong { color: var(--success); }
.trust-score--ok { border-color: rgb(245 158 11 / 50%); }
.trust-score--ok strong { color: var(--warning); }
.trust-score--bad { border-color: rgb(239 68 68 / 50%); }
.trust-score--bad strong { color: var(--danger); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: stretch; }
.trust-box { margin-bottom: 0; padding: 20px; }
.trust-box h3 { margin-bottom: 12px; font-size: 16px; }
.trust-box h3 small { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.trust-list { display: grid; gap: 10px; }
.trust-item { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.trust-item__label small, .trust-item__date small { display: block; color: var(--muted); font-size: 12px; }
.trust-item__date { text-align: right; white-space: nowrap; }
.trust-item__state--failed, .trust-item__state--stale { color: #fca5a5 !important; }
.trust-item__state--aging { color: var(--warning) !important; }
.status-dot--fresh-fresh { background: var(--success); }
.status-dot--fresh-aging { background: var(--warning); }
.status-dot--fresh-stale, .status-dot--fresh-failed { background: var(--danger); }
.status-dot--fresh-pending, .status-dot--fresh-none { background: var(--border); }
.trust-check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.trust-check .icon { flex: none; width: 16px; height: 16px; }
.trust-check--yes { color: var(--text); }
.trust-check--yes .icon { color: var(--success); }
.trust-how { margin-top: 12px; }
.stat--stale { color: var(--warning); }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.stale-checks { margin: 12px 0 16px; padding: 16px; background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-btn); }

/* Developer Growth Lab */
.growth-lead { max-width: 760px; }
.growth-funnel { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.growth-funnel .stat-tile { display: flex; flex-direction: column; }
.stat-tile .growth-rate { margin: auto 0 0; padding-top: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.growth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 24px; }
.growth-box { margin-bottom: 0; }
.growth-box h2 { margin-bottom: 16px; }
.growth-box h3 { margin: 20px 0 8px; font-size: 15px; }
.growth-bars { display: grid; gap: 12px; }
.growth-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 14px; }
.growth-bars__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.growth-bars__value { color: var(--muted); white-space: nowrap; }
.growth-bars__track { grid-column: 1 / -1; height: 6px; background: var(--elevated); border-radius: 999px; overflow: hidden; }
.growth-bars__fill { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.growth-list { display: grid; gap: 8px; }
.growth-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.growth-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.growth-list li span:last-child { color: var(--muted); }
.growth-tips { display: grid; gap: 12px; }
.growth-tip { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.growth-tip h3 { margin-bottom: 4px; font-size: 16px; }
.growth-tip p { color: var(--muted); font-size: 14px; }
.growth-tip__badge { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--elevated); color: var(--muted); font-size: 12px; font-weight: 600; }
.growth-tip__badge--1 { background: rgb(239 68 68 / 14%); color: #fca5a5; }
.growth-tip__badge--2 { background: rgb(245 158 11 / 14%); color: #fcd34d; }
.growth-privacy { margin-top: 24px; max-width: 760px; }
.growth-w-0 { width: 0%; }
.growth-w-5 { width: 5%; }
.growth-w-10 { width: 10%; }
.growth-w-15 { width: 15%; }
.growth-w-20 { width: 20%; }
.growth-w-25 { width: 25%; }
.growth-w-30 { width: 30%; }
.growth-w-35 { width: 35%; }
.growth-w-40 { width: 40%; }
.growth-w-45 { width: 45%; }
.growth-w-50 { width: 50%; }
.growth-w-55 { width: 55%; }
.growth-w-60 { width: 60%; }
.growth-w-65 { width: 65%; }
.growth-w-70 { width: 70%; }
.growth-w-75 { width: 75%; }
.growth-w-80 { width: 80%; }
.growth-w-85 { width: 85%; }
.growth-w-90 { width: 90%; }
.growth-w-95 { width: 95%; }
.growth-w-100 { width: 100%; }
@media (max-width: 860px) {
  .growth-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-grid { grid-template-columns: 1fr; }
  .growth-tip { grid-template-columns: 1fr; gap: 8px; }
}

/* Community Match */
.match-form .check-grid { margin-top: 8px; }
.match-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.match-score { margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.match-score strong { color: var(--cyan); font-size: 16px; }
@media (max-width: 640px) {
  .match-selects { grid-template-columns: 1fr; gap: 0; }
}

/* Konto löschen */
.account-delete { margin-top: 24px; padding: 16px 20px; background: var(--surface); border: 1px solid rgb(239 68 68 / 40%); border-radius: var(--radius-card); }
.account-delete summary { color: #fca5a5; font-size: 15px; font-weight: 600; }
.account-delete[open] summary { margin-bottom: 12px; }
.account-delete p { max-width: 720px; color: var(--text); }
.account-delete .field__hint, .account-delete .page__meta { color: var(--muted); }
.account-delete__list { margin: 8px 0 12px; padding-left: 20px; list-style: disc; color: var(--muted); }
.account-delete__list li { margin-bottom: 4px; }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn--danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; text-decoration: none; }

/* ==========================================================================
   Redesign „Premium Dark Glassmorphism“ – gemeinsame Bausteine (Briefing 3, 9, 10)
   Blur nur dort, wo es wirkt (Kopfzeile, Startbereich, Menü); Karten nur halbtransparent.
   ========================================================================== */
h1 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.01em; }
h2 { letter-spacing: -0.005em; }
.section { padding-block: 48px; }

/* Glasflächen */
.panel, .bot-row, .category-card, .dev-card, .stat-tile, .note, .login-card, .facts, .table-wrap,
.command-list li, .history, .finder-hit, .growth-tip, .empty {
  background: var(--tl-glass);
  border-color: var(--tl-glass-border);
  box-shadow: var(--tl-shadow);
}
.empty { border-style: dashed; border-color: var(--tl-glass-border-strong); box-shadow: none; }
.finder-hit .bot-row { box-shadow: none; }

/* Interaktive Karten: leicht anheben, Kontur heller, dezenter Glow */
.category-card, .dev-card {
  transition: transform var(--motion), border-color var(--motion), box-shadow var(--motion), background var(--motion);
}
.category-card:hover, .dev-card:hover {
  transform: translateY(-2px);
  background: rgb(16 27 53 / 86%);
  border-color: rgb(16 233 251 / 34%);
  box-shadow: var(--tl-shadow), var(--tl-glow);
}
.category-card .icon { color: var(--tl-cyan); }
.dev-card--editorial { border-color: rgb(16 233 251 / 26%); }

/* Formularfelder */
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea,
.search input, .hero__search input, .finder-form textarea, .embed-code {
  background: rgb(5 15 52 / 62%);
  border-color: var(--tl-glass-border-strong);
  transition: border-color var(--motion), box-shadow var(--motion);
}
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus, .field textarea:focus,
.search input:focus, .hero__search input:focus, .finder-form textarea:focus {
  border-color: rgb(16 233 251 / 60%);
  box-shadow: 0 0 0 3px rgb(16 233 251 / 16%);
  outline: none;
}
.check input { accent-color: var(--tl-cyan); }

/* Kleinteile */
.pill { background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 6%); }
.project-icon, .avatar { background: rgb(255 255 255 / 6%); }
.tabs { border-bottom-color: var(--tl-glass-border); }
.tabs__item[aria-current="page"] { border-color: var(--tl-cyan); color: var(--tl-text); }
.data-table th { color: var(--tl-muted); }
.data-table tbody tr:hover td { background: rgb(255 255 255 / 3%); }
.status { background: rgb(255 255 255 / 6%); }
.site-footer { border-top-color: var(--tl-glass-border); background: rgb(5 15 52 / 55%); }
.bell:hover, .menu-toggle:hover { background: rgb(16 233 251 / 8%); }
.menu-toggle { border-color: var(--tl-glass-border-strong); }
/* Gold nur für Auszeichnungen und Bewertungssterne (Briefing 2.2) */
.stars, .rating-stars { color: var(--tl-gold); }

/* Mobil: aufgeklapptes Menü als Glasfläche */
@media (max-width: 860px) {
  .site-nav.is-open { padding: 12px; background: var(--tl-glass-strong); border: 1px solid var(--tl-glass-border); border-radius: var(--radius-card); }
  .site-nav__link { min-height: 44px; display: flex; align-items: center; }
  .site-nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--tl-cyan); padding-left: 14px; }
  body { background-attachment: scroll; }
}

/* Weniger Bewegung, wenn gewünscht (Briefing 3 und 10) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .category-card:hover, .dev-card:hover { transform: none; }
}

/* Startseite (Briefing 5) */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; text-align: left; background: none; border-bottom: 1px solid var(--tl-glass-border); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(520px 360px at 78% 46%, rgb(16 233 251 / 16%), transparent 70%),
    radial-gradient(560px 380px at 92% 20%, rgb(103 39 230 / 22%), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero--mascot .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hero__eyebrow { margin-bottom: 12px; color: var(--tl-cyan); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__title { max-width: 640px; margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; }
.hero__accent { background: var(--tl-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .hero__accent { color: var(--tl-cyan); } }
.hero__lead { max-width: 560px; margin: 16px 0 0; font-size: 18px; }
.hero__search { max-width: 600px; margin: 28px 0 0; padding: 6px; background: var(--tl-glass); border: 1px solid var(--tl-glass-border-strong); border-radius: 16px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--tl-shadow); }
.hero__search input { height: 48px; background: transparent; border-color: transparent; }
.hero__search .search__icon { left: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__actions .btn { min-height: 48px; padding-inline: 20px; font-size: 15px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0 0; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { color: var(--tl-muted); font-size: 13px; }
.hero__stats dd { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.1; }
.hero__alt { margin-top: 20px; }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(circle, rgb(16 233 251 / 22%), rgb(103 39 230 / 12%) 55%, transparent 72%); filter: blur(8px); }
.hero__visual img { position: relative; width: min(100%, 440px); height: auto; filter: drop-shadow(0 18px 40px rgb(0 0 0 / 35%)); }

.category-card__text { display: flex; flex-direction: column; min-width: 0; }
.category-card__name { overflow-wrap: anywhere; }
.category-card__count { color: var(--tl-muted); font-size: 12px; font-weight: 500; }

.glass-section { min-width: 0; }
.glass-section .bot-list { gap: 10px; }

.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.method-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--tl-glass); border: 1px solid var(--tl-glass-border); border-radius: var(--radius-card); }
.method-card .icon { width: 24px; height: 24px; color: var(--tl-cyan); }
.method-card h3 { margin: 0; font-size: 16px; }
.method-card p { color: var(--tl-muted); font-size: 14px; }

@media (max-width: 1100px) {
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { padding: 36px 0 32px; }
  .hero--mascot .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: -1; }
  .hero__visual img { width: 180px; }
  .hero__search { flex-direction: row; }
  .hero__search .search__icon { top: 50%; }
  .hero__actions .btn { flex: 1 1 160px; }
}
@media (max-width: 560px) {
  .hero__search { flex-direction: column; }
  .hero__search .search__icon { top: 30px; }
  .method-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Kopfzeile: nur Profilbild statt Name (Name bleibt für Screenreader und als Hinweis) */
.user-chip { justify-content: center; width: 40px; padding: 0; border-radius: 50%; }
.user-chip img { width: 34px; height: 34px; box-shadow: 0 0 0 2px var(--tl-glass-border-strong); transition: box-shadow var(--motion); }
.user-chip:hover img, .user-chip:focus-visible img { box-shadow: 0 0 0 2px var(--tl-cyan); }

/* Startseite: Bot- und Server-Zeilen nebeneinander gleich hoch */
.glass-section .bot-row--compact { min-height: 88px; }

/* Aktive Filter als Chips (Briefing 6) */
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px 0 12px; background: rgb(16 233 251 / 8%); border: 1px solid rgb(16 233 251 / 30%); border-radius: 999px; color: var(--tl-text); font-size: 13px; font-weight: 500; }
.filter-chip .icon { width: 14px; height: 14px; color: var(--tl-muted); }
.filter-chip:hover { text-decoration: none; border-color: rgb(16 233 251 / 60%); }
.filter-chip:hover .icon { color: var(--tl-text); }
.filter-chips__reset { margin-left: 4px; font-size: 13px; font-weight: 600; }

/* Detailseiten: Profilkopf als Glasfläche, Informationsleiste (Briefing 7) */
.bot-hero { padding: 24px; margin-bottom: 16px; background: var(--tl-glass); border: 1px solid var(--tl-glass-border); border-radius: var(--radius-card); box-shadow: var(--tl-shadow); }
.bot-hero .project-icon--large { box-shadow: 0 0 0 1px var(--tl-glass-border-strong), 0 10px 26px rgb(16 233 251 / 12%); }
.info-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 0 0 32px; overflow: hidden; background: var(--tl-glass-border); border: 1px solid var(--tl-glass-border); border-radius: var(--radius-card); }
.info-bar__item { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--tl-glass-strong); }
.info-bar dt { color: var(--tl-muted); font-size: 12px; }
.info-bar dd { margin: 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.bot-section h2 { font-size: 22px; }

/* Dashboard: Reiter als linke Seitenleiste (Briefing 8), Inhalt auf allen Reitern gleich breit */
.dash-shell { position: relative; padding-left: 248px; min-height: 560px; }
.dash-shell > .tabs {
  position: absolute; left: 0; top: 0; width: 224px;
  flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 8px;
  background: var(--tl-glass); border: 1px solid var(--tl-glass-border); border-radius: var(--radius-card); box-shadow: var(--tl-shadow);
}
.dash-shell > .tabs .tabs__item { display: flex; align-items: center; min-height: 40px; margin: 0; padding: 8px 12px; border-bottom: 0; border-left: 3px solid transparent; border-radius: 10px; }
.dash-shell > .tabs .tabs__item:hover { background: rgb(255 255 255 / 4%); }
.dash-shell > .tabs .tabs__item[aria-current="page"] { border-left-color: var(--tl-cyan); background: rgb(16 233 251 / 9%); color: var(--tl-text); }
@media (max-width: 960px) {
  .dash-shell { padding-left: 0; min-height: 0; }
  .dash-shell > .tabs { position: static; width: auto; flex-direction: row; overflow-x: auto; margin-bottom: 20px; padding: 6px; scrollbar-width: thin; }
  .dash-shell > .tabs .tabs__item { flex: none; min-height: 44px; border-left: 0; border-bottom: 2px solid transparent; }
  .dash-shell > .tabs .tabs__item[aria-current="page"] { border-bottom-color: var(--tl-cyan); }
}

/* Tablet (bis 1180 px): Navigation verdichten (Briefing 4), sonst läuft die Kopfzeile über */
@media (max-width: 1180px) {
  .site-header__inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; min-height: 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
  .site-nav.is-open { display: flex; padding: 12px; background: var(--tl-glass-strong); border: 1px solid var(--tl-glass-border); border-radius: var(--radius-card); }
  .site-nav form .btn { width: 100%; }
  .site-nav__link { min-height: 44px; display: flex; align-items: center; }
  .site-nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--tl-cyan); padding-left: 14px; }
  .user-chip { width: auto; justify-content: flex-start; gap: 10px; padding: 0 12px; border-radius: var(--radius-btn); }
  .user-chip .sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: nowrap; }
}
/* Überschriften mit Link oder Knopf daneben dürfen umbrechen (320 px) */
.section__head { flex-wrap: wrap; row-gap: 8px; }

/* Maskottchen in leeren Zuständen, Hinweisen und Fehlerseiten (GRAFIKEN/toplisten-mascot-*.png) */
.empty::before {
  content: "";
  flex: none;
  width: 128px;
  height: 160px;
  background: url("../img/brand/toplisten-mascot-leer.webp") center / contain no-repeat;
  background-image: image-set(url("../img/brand/toplisten-mascot-leer.webp") 1x, url("../img/brand/toplisten-mascot-leer@2x.webp") 2x);
  filter: drop-shadow(0 10px 24px rgb(16 233 251 / 14%));
}
.empty > .empty__icon { display: none; }
.empty--compact::before { width: 77px; height: 96px; }
.empty--help::before {
  background-image: url("../img/brand/toplisten-mascot-hilfe.webp");
  background-image: image-set(url("../img/brand/toplisten-mascot-hilfe.webp") 1x, url("../img/brand/toplisten-mascot-hilfe@2x.webp") 2x);
}
.empty--error::before {
  background-image: url("../img/brand/toplisten-mascot-fehler.webp");
  background-image: image-set(url("../img/brand/toplisten-mascot-fehler.webp") 1x, url("../img/brand/toplisten-mascot-fehler@2x.webp") 2x);
}
.minimal__logo { width: auto; height: 56px; }

/* ==========================================================================
   Feinschliff "Toplisten 2.0" (2026-11-10): Aurora, echtes Glas, Hero, Kategorien,
   Karten, Sammlungen. Baut auf dem Redesign oben auf, aendert keine Struktur.
   ========================================================================== */
:root {
  --tl-blur: 14px;
  --tl-glass-highlight: inset 0 1px 0 rgb(255 255 255 / 6%);
  --tl-hover-glow: 0 0 0 1px rgb(16 233 251 / 10%), 0 16px 40px rgb(16 233 251 / 12%);
  --tl-text-soft: #c3cfe4;
}

/* 1. Aurora: feste, ruhige Lichtflaechen hinter allem (keine Animation) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 40vh at 12% 0%, rgb(16 233 251 / 10%), transparent 70%),
    radial-gradient(50vw 45vh at 55% -6%, rgb(11 111 233 / 13%), transparent 70%),
    radial-gradient(55vw 50vh at 100% 8%, rgb(103 39 230 / 16%), transparent 70%),
    radial-gradient(70vw 50vh at 85% 100%, rgb(103 39 230 / 8%), transparent 70%),
    radial-gradient(60vw 45vh at 0% 92%, rgb(11 111 233 / 7%), transparent 70%);
}

/* 2. Glas: halbtransparent, Unschaerfe nur wo unterstuetzt, sonst kraeftigerer Hintergrund */
.panel, .bot-row, .category-card, .dev-card, .stat-tile, .note, .login-card, .facts, .table-wrap,
.history, .finder-hit, .growth-tip, .method-card, .bot-hero, .dash-shell > .tabs {
  background: var(--tl-glass-strong);
  border-color: var(--tl-glass-border);
  box-shadow: var(--tl-shadow), var(--tl-glass-highlight);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .panel, .bot-row, .category-card, .dev-card, .stat-tile, .note, .login-card, .facts, .table-wrap,
  .history, .growth-tip, .method-card, .bot-hero, .dash-shell > .tabs {
    background: rgb(16 27 53 / 58%);
    -webkit-backdrop-filter: blur(var(--tl-blur)) saturate(130%);
    backdrop-filter: blur(var(--tl-blur)) saturate(130%);
  }
}
.finder-hit .bot-row { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
.bot-row { transition: border-color var(--motion), box-shadow var(--motion), background var(--motion); }
.bot-row:hover { border-color: rgb(16 233 251 / 28%); box-shadow: var(--tl-shadow), var(--tl-glass-highlight), var(--tl-hover-glow); }
.category-card:hover, .dev-card:hover {
  background: rgb(16 27 53 / 72%);
  border-color: rgb(16 233 251 / 34%);
  box-shadow: var(--tl-shadow), var(--tl-glass-highlight), var(--tl-hover-glow);
}

/* 3. Hero: Maskottchen etwas groesser, Lichtschein, klarere Gewichtung */
.hero--mascot .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; }
.hero__title { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.02em; }
.hero__lead { color: var(--tl-text-soft); }
.hero__search { max-width: 620px; padding: 8px; border-color: rgb(16 233 251 / 22%); box-shadow: var(--tl-shadow), 0 0 0 1px rgb(16 233 251 / 6%), 0 18px 48px rgb(11 111 233 / 18%); }
.hero__search:focus-within { border-color: rgb(16 233 251 / 50%); box-shadow: var(--tl-shadow), 0 0 0 4px rgb(16 233 251 / 12%), 0 18px 48px rgb(16 233 251 / 16%); }
.hero__search input { height: 52px; font-size: 16px; }
.hero__visual { isolation: isolate; }
.hero__visual::before {
  inset: 4% 2% 6%;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgb(16 233 251 / 30%), rgb(11 111 233 / 16%) 55%, transparent 100%),
    radial-gradient(closest-side at 70% 30%, rgb(103 39 230 / 30%), transparent 100%);
  filter: blur(28px);
}
.hero__visual::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 3%;
  height: 22px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(16 233 251 / 35%), transparent);
  filter: blur(6px);
}
.hero__visual img { width: min(100%, 520px); filter: drop-shadow(0 24px 48px rgb(0 0 0 / 38%)) drop-shadow(0 0 24px rgb(16 233 251 / 14%)); }

/* 4. Kategorien: Symbol in eigener Kachel, gleiche Groessen und Abstaende */
.category-card { gap: 14px; min-height: 76px; padding: 14px 16px; }
.category-card > .icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--tl-cyan);
  background: linear-gradient(135deg, rgb(16 233 251 / 16%), rgb(103 39 230 / 16%));
  border: 1px solid rgb(16 233 251 / 18%);
  border-radius: 12px;
  transition: background var(--motion), border-color var(--motion), box-shadow var(--motion);
}
.category-card:hover > .icon { background: linear-gradient(135deg, rgb(16 233 251 / 26%), rgb(103 39 230 / 26%)); border-color: rgb(16 233 251 / 40%); box-shadow: 0 0 18px rgb(16 233 251 / 22%); }
.category-card__count { margin-top: 2px; }

/* 5. Bot- und Server-Zeilen: Logo mit feinem Rand, Beschreibung zweizeilig und heller */
.bot-row { gap: 16px; padding: 16px 18px; }
.bot-row .project-icon { box-shadow: 0 0 0 1px var(--tl-glass-border-strong), 0 6px 16px rgb(0 0 0 / 25%); border-radius: 14px; }
.bot-row .project-icon--round { border-radius: 50%; }
.bot-row__title { font-size: 16.5px; font-weight: 650; letter-spacing: -0.005em; }
.bot-row__text {
  display: -webkit-box;
  margin-top: 3px;
  min-height: calc(2 * 1.45em);
  color: var(--tl-text-soft);
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.bot-row__stats .stat { color: var(--tl-muted); }
.bot-row__stats .stat .icon { color: var(--tl-gold); }
.bot-row__stats .stat--stale .icon { color: inherit; }
.bot-row .pills { margin-top: 8px; }
/* Kurzform: Server-Zeilen haben zusaetzlich die Mitgliederzahl, dort Beschreibung einzeilig, damit alle Zeilen gleich hoch bleiben */
.bot-row--compact .bot-row__text:has(+ .bot-row__meta) { min-height: 1.45em; -webkit-line-clamp: 1; line-clamp: 1; }
.glass-section .bot-row--compact { min-height: 108px; }

/* 6. Sammlungen: Vorschau-Leiste oben, Redaktion deutlich gekennzeichnet */
.collection-card { position: relative; overflow: hidden; gap: 14px; padding: 14px 14px 16px; }
.collection-cover {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgb(16 233 251 / 14%), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgb(103 39 230 / 18%), transparent 60%),
    rgb(5 15 52 / 55%);
  border: 1px solid var(--tl-glass-border);
  border-radius: 12px;
}
.collection-card .collection-icons { gap: 0; min-height: 48px; }
.collection-card .collection-icons__item {
  width: 48px;
  height: 48px;
  margin-left: -10px;
  background: var(--tl-surface);
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgb(5 15 52 / 90%), 0 8px 18px rgb(0 0 0 / 30%);
  transition: transform var(--motion);
}
.collection-card .collection-icons__item:first-child { margin-left: 0; }
.collection-card:hover .collection-icons__item { transform: translateY(-2px); }
.collection-card .dev-card__name strong { font-size: 16.5px; }
.collection-card .dev-card__bio { color: var(--tl-text-soft); }
.dev-card--editorial.collection-card { border-color: rgb(16 233 251 / 30%); }
.dev-card--editorial.collection-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--tl-gradient-brand);
}
.dev-card--editorial .collection-cover {
  background:
    radial-gradient(120% 160% at 0% 0%, rgb(16 233 251 / 24%), transparent 60%),
    radial-gradient(120% 160% at 100% 100%, rgb(103 39 230 / 30%), transparent 60%),
    rgb(5 15 52 / 55%);
  border-color: rgb(16 233 251 / 22%);
}
.collection-card .editorial-badge {
  height: 22px;
  padding: 0 8px;
  background: rgb(16 233 251 / 10%);
  border: 1px solid rgb(16 233 251 / 30%);
  border-radius: 999px;
  font-size: 12px;
  line-height: 20px;
}
.collection-card .dev-card__name small { height: 22px; line-height: 22px; margin-top: 4px; }

/* 7. Mobil und Tablet: weniger Unschaerfe und leichtere Schatten (Leistung) */
@media (max-width: 860px) {
  :root {
    --tl-blur: 8px;
    --tl-shadow: 0 8px 22px rgb(0 0 0 / 20%);
    --tl-hover-glow: 0 0 0 1px rgb(16 233 251 / 10%);
  }
  .hero--mascot .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* Symbol-Kachel braucht Platz: auf dem Tablet hoechstens drei Spalten statt vier */
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .hero__visual img { width: 210px; }
  .hero__visual::before { filter: blur(20px); }
  .category-card:hover, .dev-card:hover { transform: none; }
}
@media (max-width: 560px) {
  :root { --tl-blur: 6px; }
  .bot-row { padding: 14px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  /* Handy: Symbol ueber dem Namen, damit lange Woerter wie "Automatisierung" nicht mitten im Wort brechen */
  .category-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 64px; padding: 12px; font-size: 14px; }
  .category-card__name { overflow-wrap: normal; hyphens: auto; }
  .category-card > .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-card:hover .collection-icons__item { transform: none; }
}

/* ==========================================================================
   Toplisten 2.1 "Premium UI Refinement" (2026-11-10, Erweiterung.txt)
   Baut auf Redesign und Feinschliff oben auf. Gliederung:
   Schrift, Tokens, Aurora, Glas-Ebenen, Knoepfe, Kopfzeile, Hero, Methode,
   Karten, Server, Sammlungen, Bewegung, Footer, Responsive.
   ========================================================================== */

/* Schrift: Inter (SIL Open Font License, public/assets/fonts/Inter-LICENSE.txt), selbst gehostet, variabel 100-900 */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body { font-feature-settings: "cv11", "ss01"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

:root {
  --tl-bg-2: #080f29;
  /* Glas-Ebenen: 1 Karten in Listen, 2 Panels und Profilkopf, 3 Kopfzeile und Menue */
  --tl-glass-1: rgb(16 27 53 / 68%);
  --tl-glass-2: rgb(16 27 53 / 76%);
  --tl-glass-3: rgb(8 15 41 / 82%);
  --tl-radius-sm: 12px;
  --tl-lift: translateY(-2px);
  --tl-ease: cubic-bezier(.2, .7, .2, 1);
  --tl-btn-primary: linear-gradient(135deg, #10e9fb 0%, #4c9bff 100%);
}

/* Aurora: sehr langsame Bewegung, bei "weniger Bewegung" still */
body::before { animation: tl-aurora 48s ease-in-out infinite alternate; will-change: transform; }
@keyframes tl-aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
}
/* (Abschnitts-Verlauf entfernt: auf den schmaleren .container-Abschnitten erzeugte er sichtbare senkrechte Kanten) */

/* Glas-Ebenen: deckender als vorher (65-85 %), damit Text immer gut lesbar bleibt */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bot-row, .category-card, .dev-card, .method-card, .stat-tile { background: var(--tl-glass-1); }
  .panel, .note, .login-card, .facts, .table-wrap, .history, .growth-tip, .bot-hero, .dash-shell > .tabs { background: var(--tl-glass-2); }
  .site-header { background: var(--tl-glass-3); }
}
.panel, .bot-hero, .login-card { border-radius: 18px; }

/* Knoepfe: Haupt (Verlauf), Neben (Kontur), schlicht (.btn--plain) */
.btn { position: relative; overflow: hidden; isolation: isolate; letter-spacing: 0.005em; transition: background var(--motion), border-color var(--motion), box-shadow var(--motion), filter var(--motion), transform var(--motion); }
.btn:focus-visible { outline: 2px solid var(--tl-cyan); outline-offset: 2px; }
.btn--primary { background: var(--tl-btn-primary); color: #041033; font-weight: 700; box-shadow: 0 6px 18px rgb(16 233 251 / 18%), inset 0 1px 0 rgb(255 255 255 / 35%); }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 35%) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 600ms var(--tl-ease);
}
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgb(16 233 251 / 40%), 0 10px 28px rgb(16 233 251 / 28%), inset 0 1px 0 rgb(255 255 255 / 35%); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgb(255 255 255 / 4%); border-color: rgb(255 255 255 / 16%); color: var(--tl-text); }
.btn--ghost:hover { background: rgb(16 233 251 / 8%); border-color: rgb(16 233 251 / 50%); box-shadow: 0 0 18px rgb(16 233 251 / 14%); }
.btn--plain { background: transparent; border-color: transparent; color: var(--tl-text); }
.btn--plain:hover { background: rgb(255 255 255 / 6%); }
.btn:active { transform: translateY(1px); }
.btn--danger::after, .btn:disabled::after { display: none; }

/* Kopfzeile: Glas, aktive Seite auch auf Unterseiten, Profilbild mit Verlaufsring */
.site-header { box-shadow: 0 8px 24px rgb(0 0 0 / 18%); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgb(16 233 251 / 35%), rgb(103 39 230 / 35%), transparent); pointer-events: none; }
.site-nav__link { transition: color var(--motion), background var(--motion); }
.site-nav__link:hover { background: rgb(255 255 255 / 5%); }
.site-nav__link[aria-current] { color: var(--tl-cyan); box-shadow: inset 0 -2px 0 var(--tl-cyan); border-radius: 0; }
.user-chip img { box-shadow: 0 0 0 2px var(--tl-bg), 0 0 0 4px rgb(16 233 251 / 45%); }
.user-chip:hover img, .user-chip:focus-visible img { box-shadow: 0 0 0 2px var(--tl-bg), 0 0 0 4px var(--tl-cyan), 0 0 16px rgb(16 233 251 / 35%); }
.bell { transition: color var(--motion), background var(--motion); }
.site-nav.is-open { animation: tl-drop 220ms var(--tl-ease); }

/* Hero: Kennzahlen als kleine Glas-Kacheln, Zahl mit Markenverlauf */
.hero__title { line-height: 1.06; max-width: 15ch; text-wrap: balance; }
.hero__lead { max-width: 52ch; line-height: 1.6; }
.hero__stats { gap: 12px; }
.hero__stats div {
  min-width: 104px;
  padding: 10px 16px;
  background: rgb(16 27 53 / 55%);
  border: 1px solid var(--tl-glass-border);
  border-radius: var(--tl-radius-sm);
  box-shadow: var(--tl-glass-highlight);
}
.hero__stats dd { background: var(--tl-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .hero__stats dd { color: var(--tl-cyan); } }
.hero__stats dt { font-weight: 500; }

/* "So entsteht die Reihenfolge": jede Karte mit eigener Akzentfarbe */
.method-card { position: relative; overflow: hidden; gap: 10px; padding: 22px 20px 20px; transition: transform var(--motion), border-color var(--motion), box-shadow var(--motion); }
.method-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent, var(--tl-cyan)); opacity: 0.8; }
.method-card > .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  color: var(--accent, var(--tl-cyan));
  background: color-mix(in srgb, var(--accent, #10e9fb) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #10e9fb) 30%, transparent);
  border-radius: var(--tl-radius-sm);
}
.method-card:nth-child(1) { --accent: #10e9fb; }
.method-card:nth-child(2) { --accent: #4c9bff; }
.method-card:nth-child(3) { --accent: #9b6dff; }
.method-card:nth-child(4) { --accent: #d25cf8; }
.method-card p { color: var(--tl-text-soft); line-height: 1.55; }

/* Karten: leichtes Anheben, Logos vollstaendig sichtbar */
.project-icon img { object-fit: contain; }
.pill--category { background: rgb(16 233 251 / 9%); border-color: rgb(16 233 251 / 28%); color: var(--tl-text); font-weight: 600; }
.bot-row, .category-card, .dev-card, .method-card { transition: transform 220ms var(--tl-ease), border-color var(--motion), box-shadow var(--motion), background var(--motion); }
@media (hover: hover) {
  .bot-row:hover, .method-card:hover { transform: var(--tl-lift); }
  .category-card:hover, .dev-card:hover { transform: translateY(-3px); }
  .category-card:hover > .icon { filter: saturate(1.25) brightness(1.1); }
}
.finder-hit .bot-row:hover { transform: none; }

/* Server-Zeilen: eigener Community-Charakter (violetter Schimmer, runder Logo-Ring) */
.bot-row--server {
  background-image: linear-gradient(100deg, rgb(103 39 230 / 14%), rgb(11 111 233 / 6%) 38%, transparent 62%);
}
.bot-row--server .project-icon { box-shadow: 0 0 0 2px rgb(5 15 52 / 90%), 0 0 0 4px rgb(155 109 255 / 45%), 0 8px 18px rgb(0 0 0 / 28%); }
.bot-row--server:hover { border-color: rgb(155 109 255 / 45%); box-shadow: var(--tl-shadow), var(--tl-glass-highlight), 0 0 0 1px rgb(155 109 255 / 12%), 0 16px 40px rgb(103 39 230 / 18%); }
.bot-row--server .online-dot { box-shadow: 0 0 6px rgb(34 197 94 / 70%); }

/* Sammlungen: sanfter Zoom der Vorschau, violetter Rahmen beim Ueberfahren */
.collection-cover { overflow: hidden; }
.collection-card .collection-icons { transition: transform 320ms var(--tl-ease); transform-origin: left center; }
.collection-card:hover .collection-icons__item { transform: none; }
.collection-card:hover .collection-icons { transform: scale(1.06); }
.collection-card:hover { border-color: rgb(155 109 255 / 45%); }
.dev-card--editorial.collection-card:hover { border-color: rgb(16 233 251 / 55%); }

/* Weiche Aufklapper und Einblenden */
details > summary { cursor: pointer; }
details[open] > :not(summary) { animation: tl-fade 200ms var(--tl-ease); }
@keyframes tl-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes tl-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Footer: mehrspaltig, Links gruppiert */
.site-footer { position: relative; margin-top: 64px; padding-block: 48px 0; background: linear-gradient(180deg, rgb(8 15 41 / 40%), rgb(8 15 41 / 92%)); border-top: 1px solid var(--tl-glass-border); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgb(16 233 251 / 40%), rgb(103 39 230 / 40%), transparent); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand p { max-width: 34ch; margin-top: 12px; color: var(--tl-muted); line-height: 1.6; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: auto; height: 48px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h2 { margin: 0 0 4px; color: var(--tl-text); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer__col a { color: var(--tl-muted); font-size: 14px; transition: color var(--motion); }
.site-footer__col a:hover { color: var(--tl-cyan); text-decoration: none; }
.site-footer__bottom { margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--tl-glass-border); color: var(--tl-muted); font-size: 13px; }

/* Formulare und Tabellen auf Unterseiten: gleiche Radien, ruhige Flaechen */
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { border-radius: var(--tl-radius-sm); }
.data-table thead th { background: rgb(5 15 52 / 45%); font-weight: 600; }
.tabs__item { transition: color var(--motion), border-color var(--motion), background var(--motion); }

/* Responsive */
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .btn { min-height: 44px; }
  .hero__stats div { min-width: 0; flex: 1 1 0; }
  .site-footer { margin-top: 48px; padding-top: 36px; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .site-footer__col a { display: flex; align-items: center; min-height: 36px; }
  .hero__title { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .btn--primary::after { display: none; }
  .bot-row:hover, .method-card:hover, .category-card:hover, .dev-card:hover, .collection-card:hover .collection-icons { transform: none; }
}

/* Bot- und Server-Seite: Profil beginnt direkt unter der Navigation (24 px), kein Standard-Banner mehr */
.page--detail { padding-top: 24px; }

/* ==========================================================================
   Bot-Vergleich (2026-11-10): Kopfkarten, Abschnitte, Pillen, bester Wert
   ========================================================================== */
.compare-add { position: relative; max-width: 680px; margin-bottom: 14px; padding: 6px; background: var(--tl-glass-2); border: 1px solid rgb(16 233 251 / 22%); border-radius: 16px; box-shadow: var(--tl-shadow); }
.compare-add:focus-within { border-color: rgb(16 233 251 / 50%); box-shadow: var(--tl-shadow), 0 0 0 4px rgb(16 233 251 / 12%); }
.compare-add__icon { position: absolute; left: 20px; top: 50%; translate: 0 -50%; color: var(--tl-muted); pointer-events: none; }
.compare-add input[type="search"] { height: 44px; padding-left: 40px; background: transparent; border-color: transparent; }
.compare-add input[type="search"]:focus { outline: none; }
.compare-suggest { margin-bottom: 28px; }

.compare-wrap { padding: 0; overflow-x: auto; background: var(--tl-glass-2); border-radius: 18px; }
.compare-table { font-size: 14px; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid rgb(255 255 255 / 6%); }
.compare-table tbody th[scope="row"], .compare-table tfoot th { width: 172px; color: var(--tl-muted); font-size: 13px; font-weight: 600; }
.compare-table td { color: var(--tl-text); line-height: 1.5; }
.compare-table td + td, .compare-table thead th + th { border-left: 1px solid rgb(255 255 255 / 5%); }
.compare-table tbody tr:not(.compare-group__head):hover td, .compare-table tbody tr:not(.compare-group__head):hover th { background: rgb(255 255 255 / 2.5%); }

/* Kopf: je Bot eine kleine Karte */
.compare-table thead th { padding: 18px 16px; vertical-align: bottom; background: linear-gradient(180deg, rgb(16 233 251 / 6%), transparent); border-bottom: 1px solid var(--tl-glass-border); }
/* Ecke oben links: gleicher Hintergrund wie die Kopfkarten, mit Zähler statt leerer Fläche */
.compare-corner { vertical-align: bottom; }
.compare-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; text-align: center; }
.compare-card__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 2px rgb(5 15 52 / 90%), 0 0 0 4px rgb(16 233 251 / 35%), 0 10px 24px rgb(0 0 0 / 30%); }
.compare-card__name { display: inline-flex; align-items: center; gap: 4px; color: var(--tl-text); font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.compare-card__name:hover { color: var(--tl-cyan); text-decoration: none; }
.compare-card__name .verified .icon { width: 16px; height: 16px; }
.compare-card__meta { display: inline-flex; align-items: center; gap: 4px; color: var(--tl-muted); font-size: 13px; font-weight: 500; }
.compare-card__meta .icon { width: 14px; height: 14px; color: var(--tl-gold); }
.compare-remove { position: absolute; top: -6px; right: -6px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--tl-muted); border: 1px solid transparent; border-radius: 10px; transition: color var(--motion), background var(--motion), border-color var(--motion); }
.compare-remove .icon { width: 16px; height: 16px; }
.compare-remove:hover, .compare-remove:focus-visible { color: #fca5a5; background: rgb(239 68 68 / 10%); border-color: rgb(239 68 68 / 30%); text-decoration: none; }

/* Abschnitte */
.compare-group__head th { padding: 12px 16px 8px; background: rgb(5 15 52 / 40%); border-bottom: 1px solid var(--tl-glass-border); color: var(--tl-cyan); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-group__head .icon { width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; }
.compare-table tbody.compare-group + tbody.compare-group .compare-group__head th { border-top: 1px solid var(--tl-glass-border); }

/* Werte */
.compare-value { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.compare-note { display: block; margin-top: 2px; color: var(--tl-muted); font-size: 12px; }
.compare-table .stars { display: inline-flex; vertical-align: -2px; margin-left: 4px; }
.compare-table .stars .icon { width: 14px; height: 14px; }
.compare-table .pills { margin: 0; gap: 6px; }
.compare-table .pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.compare-table .pill .icon { width: 13px; height: 13px; }
.pill--warn { background: rgb(245 183 11 / 12%); border-color: rgb(245 183 11 / 30%); color: #fcd34d; }
.compare-table .pill--good { border: 1px solid rgb(34 197 94 / 30%); }
.compare-table .pill--bad { border: 1px solid rgb(239 68 68 / 35%); }
.compare-commands { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.compare-commands code { padding: 2px 6px; background: rgb(5 15 52 / 60%); border: 1px solid var(--tl-glass-border); border-radius: 6px; color: var(--tl-text-soft); font-size: 12px; }

/* Bester Wert: zarter Cyan-Hintergrund und Hinweis */
.compare-table td.is-best { background: linear-gradient(180deg, rgb(16 233 251 / 7%), rgb(16 233 251 / 3%)); box-shadow: inset 2px 0 0 rgb(16 233 251 / 55%); }
.compare-best { display: flex; align-items: center; gap: 4px; width: fit-content; margin-top: 6px; color: var(--tl-cyan); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.compare-best .icon { width: 12px; height: 12px; }

.compare-table tfoot td, .compare-table tfoot th { padding: 16px; border-bottom: 0; background: rgb(5 15 52 / 30%); }
.compare-foot { margin-top: 12px; }

@media (max-width: 860px) {
  /* Erste Spalte bleibt beim Wischen sichtbar */
  .compare-table tbody th[scope="row"], .compare-table tfoot th, .compare-corner { position: sticky; left: 0; z-index: 1; width: 128px; background: #0d1733 !important; }
  .compare-group__head th { position: static; }
  .compare-table th, .compare-table td { padding: 12px; }
}

/* ==========================================================================
   Meldestelle (DSA), 2026-11-10
   ========================================================================== */
.notice-form h2 { margin: 8px 0 12px; font-size: 18px; }
.notice-form h2:not(:first-of-type) { margin-top: 28px; }
.notice-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice-form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.notice-form__note { margin: -4px 0 12px; }
.check--top { align-items: flex-start; }
.check--top input { margin-top: 3px; flex: none; }
.notice-reference { font-size: 20px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; color: var(--tl-cyan); }
.notice-facts { margin-bottom: 20px; }
.notice-link { width: 100%; margin-top: 8px; }
.notice-actions { margin-top: 12px; }
.notice-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: step; }
.notice-steps__item { position: relative; padding: 10px 12px 10px 40px; background: var(--tl-glass-1); border: 1px solid var(--tl-glass-border); border-radius: 12px; color: var(--tl-muted); font-size: 14px; font-weight: 600; counter-increment: step; }
.notice-steps__item::before { content: counter(step); position: absolute; left: 12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--tl-glass-border-strong); border-radius: 50%; font-size: 12px; }
.notice-steps__item.is-done { color: var(--tl-text); border-color: rgb(16 233 251 / 35%); }
.notice-steps__item.is-done::before { background: var(--tl-cyan); border-color: var(--tl-cyan); color: var(--tl-bg); }
.notice-redress p { color: var(--tl-text-soft); }
.status--danger { color: #fca5a5; font-weight: 700; }
@media (max-width: 560px) {
  .notice-form__pair { grid-template-columns: minmax(0, 1fr); }
  .notice-steps { grid-template-columns: minmax(0, 1fr); }
}

/* Discord-Community der Plattform (Startseite und Footer) */
.community-cta { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 32px; overflow: hidden; background: radial-gradient(120% 160% at 0% 0%, rgb(16 233 251 / 14%), transparent 55%), radial-gradient(120% 160% at 100% 100%, rgb(103 39 230 / 24%), transparent 55%), var(--tl-glass-2); border: 1px solid rgb(16 233 251 / 26%); border-radius: 20px; box-shadow: var(--tl-shadow), var(--tl-glass-highlight); }
.community-cta__icon { display: grid; place-items: center; width: 64px; height: 64px; background: linear-gradient(135deg, rgb(16 233 251 / 20%), rgb(103 39 230 / 28%)); border: 1px solid rgb(16 233 251 / 35%); border-radius: 18px; color: var(--tl-cyan); box-shadow: 0 0 24px rgb(16 233 251 / 18%); }
.community-cta__icon .icon { width: 30px; height: 30px; }
.community-cta__text h2 { margin: 0 0 6px; font-size: 22px; }
.community-cta__text p { max-width: 62ch; color: var(--tl-text-soft); line-height: 1.6; }
.community-cta__button { min-height: 48px; padding-inline: 22px; font-size: 15px; }
.site-footer__discord { margin-top: 16px; }
@media (max-width: 760px) {
  .community-cta { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 20px; }
  .community-cta__icon { width: 52px; height: 52px; }
  .community-cta__button { width: 100%; }
}

/* Admin → Einstellungen: Felder wie Straße/Hausnummer, PLZ/Ort, Telefon/Erreichbarkeit nebeneinander */
.settings-form { max-width: 760px; }
.settings-form__group { margin: 8px 0 12px; }
.settings-form__group h2 { margin: 0 0 2px; font-size: 15px; }
.settings-form__row { display: grid; gap: 0 12px; }
.settings-form__row--street { grid-template-columns: minmax(0, 1fr) 200px; }
.settings-form__row--city { grid-template-columns: 200px minmax(0, 1fr); }
.settings-form__row--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.settings-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) {
  .settings-form__row--street { grid-template-columns: minmax(0, 1fr) 96px; }
  .settings-form__row--city { grid-template-columns: 110px minmax(0, 1fr); }
  .settings-form__row--half { grid-template-columns: minmax(0, 1fr); }
}

/* Impressum: Telefon und USt-ID so hell wie der Anschriften-Block darüber */
.prose .legal-line { margin: -4px 0 12px; color: var(--text); }

/* Postfach: Nachrichten an Eigentümer und Bewertende (Moderation, Bewertung, Status) */
.notice { align-items: start; }
.notice__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.notice__body { color: var(--tl-text-soft); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.changelog__kind--moderation { color: #9b6dff; }
.changelog__kind--review { color: var(--tl-gold); }
.changelog__kind--health { color: #fca5a5; }
.notify-settings { display: grid; gap: 10px; }
.notify-settings .btn { justify-self: start; }
@media (max-width: 560px) {
  .notice { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* Beispielabläufe („Sandbox-Demo“): Discord-ähnliche Chat-Vorschau, Reiter ohne JavaScript */
.demo-chat { display: grid; gap: 14px; padding: 18px; background: #1e2130; border: 1px solid var(--tl-glass-border); border-radius: 14px; font-size: 15px; }
.demo-chat__msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.demo-chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; background: rgb(255 255 255 / 8%); border-radius: 50%; color: var(--tl-muted); }
.demo-chat__avatar img { width: 100%; height: 100%; object-fit: cover; }
.demo-chat__avatar .icon { width: 20px; height: 20px; }
.demo-chat__content { min-width: 0; }
.demo-chat__author { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--tl-text); font-weight: 600; }
.demo-chat__tag { padding: 1px 5px; background: var(--tl-blue); border-radius: 4px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.demo-chat__input code { padding: 2px 6px; background: rgb(16 233 251 / 10%); border-radius: 4px; color: #a5f3fc; font-size: 14px; overflow-wrap: anywhere; }
.demo-chat__embed { max-width: 520px; padding: 10px 14px; background: #2a2e40; border-left: 4px solid var(--tl-cyan); border-radius: 4px; }
.demo-chat__title { margin: 0 0 4px; color: var(--tl-text); font-weight: 700; overflow-wrap: anywhere; }
.demo-chat__text { margin: 0; color: #d6deeb; line-height: 1.5; overflow-wrap: anywhere; }

.demo-tabs { display: grid; gap: 12px; }
.demo-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.demo-tabs__labels { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tabs__label { padding: 6px 12px; background: rgb(255 255 255 / 4%); border: 1px solid var(--tl-glass-border); border-radius: 999px; color: var(--tl-muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: color var(--motion), border-color var(--motion), background var(--motion); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-tabs__label:hover { color: var(--tl-text); }
.demo-tabs__panel { display: none; }
.demo-tabs__caption { margin: 0 0 8px; color: var(--tl-text-soft); font-weight: 600; }
.demo-tabs__radio:nth-of-type(1):checked ~ .demo-tabs__panels .demo-tabs__panel:nth-of-type(1),
.demo-tabs__radio:nth-of-type(2):checked ~ .demo-tabs__panels .demo-tabs__panel:nth-of-type(2),
.demo-tabs__radio:nth-of-type(3):checked ~ .demo-tabs__panels .demo-tabs__panel:nth-of-type(3),
.demo-tabs__radio:nth-of-type(4):checked ~ .demo-tabs__panels .demo-tabs__panel:nth-of-type(4),
.demo-tabs__radio:nth-of-type(5):checked ~ .demo-tabs__panels .demo-tabs__panel:nth-of-type(5) { display: block; }
.demo-tabs__radio:nth-of-type(1):checked ~ .demo-tabs__labels .demo-tabs__label:nth-of-type(1),
.demo-tabs__radio:nth-of-type(2):checked ~ .demo-tabs__labels .demo-tabs__label:nth-of-type(2),
.demo-tabs__radio:nth-of-type(3):checked ~ .demo-tabs__labels .demo-tabs__label:nth-of-type(3),
.demo-tabs__radio:nth-of-type(4):checked ~ .demo-tabs__labels .demo-tabs__label:nth-of-type(4),
.demo-tabs__radio:nth-of-type(5):checked ~ .demo-tabs__labels .demo-tabs__label:nth-of-type(5) { color: var(--tl-text); background: rgb(16 233 251 / 10%); border-color: rgb(16 233 251 / 45%); }
.demo-tabs__radio:focus-visible ~ .demo-tabs__labels { outline: 2px solid var(--tl-cyan); outline-offset: 4px; border-radius: 12px; }

/* Dashboard und Moderation */
.form-page--wide { max-width: 900px; }
.demo-admin-list { display: grid; gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.demo-admin { display: grid; gap: 12px; }
.demo-admin__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.demo-admin__actions, .demo-review__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.demo-review { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--tl-glass-border); }
.demo-review h3 { margin: 0; font-size: 15px; }
.demo-review__reject { display: flex; flex: 1 1 320px; gap: 8px; }
.demo-review__reject input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; background: rgb(5 15 52 / 62%); border: 1px solid var(--tl-glass-border-strong); border-radius: var(--tl-radius-sm); color: var(--tl-text); font: inherit; font-size: 14px; }
@media (max-width: 560px) {
  .demo-chat { padding: 14px; gap: 12px; }
  .demo-chat__msg { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .demo-chat__avatar { width: 32px; height: 32px; }
}

/* Transparenzbericht */
.tp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 8px; }
.tp-head .page__lead { max-width: 70ch; margin-bottom: 0; }
.tp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; margin: 28px 0; }
.tp-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--tl-glass-1); border: 1px solid var(--tl-glass-border); border-radius: 16px; box-shadow: var(--tl-shadow), var(--tl-glass-highlight); }
.tp-tile dt { color: var(--tl-muted); font-size: 13px; font-weight: 600; }
.tp-tile dd { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; background: var(--tl-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.tp-tile dd.tp-tile__note { margin-top: auto; background: none; color: var(--tl-muted); font-size: 13px; font-weight: 400; line-height: 1.5; }
.tp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tp-section .muted { font-size: 14px; }
.tp-section { margin-bottom: 0; }
.tp-section h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 19px; }
.tp-section h2 .icon { width: 20px; height: 20px; color: var(--tl-cyan); }
.tp-section h3 { margin: 18px 0 8px; color: var(--tl-text-soft); font-size: 14px; font-weight: 700; }
.tp-section--wide { margin-top: 16px; }
.tp-note { color: var(--tl-text-soft); font-size: 14px; line-height: 1.6; }
.tp-bars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tp-bars li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 48px; align-items: center; gap: 12px; font-size: 13.5px; }
.tp-bars__label { overflow-wrap: anywhere; }
.tp-bars__track { display: block; width: 100%; height: 8px; background: rgb(255 255 255 / 6%); border-radius: 999px; overflow: hidden; }
.tp-bars__fill { fill: var(--tl-cyan); }
.tp-bars__value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.tp-auto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; margin: 16px 0 0; }
.tp-auto div { padding: 16px; background: rgb(5 15 52 / 45%); border: 1px solid var(--tl-glass-border); border-radius: 12px; }
.tp-auto dt { color: var(--tl-cyan); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tp-auto dd { margin: 6px 0 0; color: var(--tl-text-soft); font-size: 13.5px; line-height: 1.55; }
.tp-auto dd strong { color: var(--tl-text); }
.tp-method { margin-top: 32px; max-width: 820px; }
.tp-method h2 { font-size: 18px; margin-bottom: 8px; }
.tp-method ul { margin: 0; padding-left: 20px; list-style: disc; color: var(--tl-muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 1024px) {
  .tp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-grid, .tp-auto { grid-template-columns: minmax(0, 1fr); }
  .tp-auto { grid-auto-rows: auto; }
}
@media (max-width: 560px) {
  .tp-tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tp-bars li { grid-template-columns: minmax(0, 1fr) 40px; }
  .tp-bars__track { grid-column: 1 / -1; grid-row: 2; }
}

/* Aufgeklappte Auswahllisten: Chrome übernimmt sonst den halbtransparenten Feldhintergrund (helles Grau) */
select option, select optgroup { background-color: #101b35; color: #f8f8fb; }
select option:checked { background-color: #0b6fe9; color: #ffffff; }
select option:disabled { color: #6b7a99; }

/* Server-Vergleich: runde Logos wie in den Server-Listen */
.compare-card__icon--round { border-radius: 50%; }

/* Vergleich: Ecke oben links */
.compare-corner__box { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }
.compare-corner__label { color: var(--tl-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-corner__count { color: var(--tl-text); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.compare-corner__hint { color: var(--tl-muted); font-size: 12px; font-weight: 500; }
@media (max-width: 860px) {
  .compare-corner__count { font-size: 17px; }
  .compare-corner__hint { display: none; }
}

/* Dashboard „Bewertungen“ und Hinweis „nach der Antwort geändert“ */
.review-filter { align-items: center; margin: 8px 0 16px; }
.review-filter__project { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.review-filter__project select { height: 36px; padding: 0 10px; background: rgb(5 15 52 / 62%); border: 1px solid var(--tl-glass-border-strong); border-radius: var(--tl-radius-sm); color: var(--tl-text); font: inherit; font-size: 14px; }
.owner-reviews { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.owner-review { display: grid; gap: 10px; margin-bottom: 0; }
.owner-review--open { border-color: rgb(245 183 11 / 35%); }
.owner-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.owner-review__head .stars .icon { width: 14px; height: 14px; }
.owner-review__body { color: var(--tl-text-soft); line-height: 1.55; overflow-wrap: anywhere; }
.owner-review__reply { display: grid; gap: 6px; }
.owner-review__reply label { color: var(--tl-muted); font-size: 13px; font-weight: 600; }
.owner-review__reply textarea { width: 100%; padding: 10px 12px; background: rgb(5 15 52 / 62%); border: 1px solid var(--tl-glass-border-strong); border-radius: var(--tl-radius-sm); color: var(--tl-text); font: inherit; font-size: 14px; resize: vertical; }
.owner-review__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review__edited { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0; color: var(--tl-muted); font-size: 12.5px; }
.review__edited .icon { width: 13px; height: 13px; }
@media (max-width: 560px) {
  .review-filter__project { margin-left: 0; width: 100%; }
  .review-filter__project select { flex: 1; min-width: 0; }
}

/* Im Aufwind */
.trend-intro { margin: -8px 0 16px; }
.trend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.trend-grid .trend-hit { height: 100%; }
.trend-hit { display: flex; flex-direction: column; }
.trend-hit .trend-why { margin-top: auto; }
.pill--trend { display: inline-flex; align-items: center; gap: 5px; background: rgb(34 197 94 / 12%); border-color: rgb(34 197 94 / 32%); color: #86efac; font-weight: 700; }
.pill--trend .icon { width: 13px; height: 13px; }
.trend-split { margin-top: 8px; }
@media (max-width: 860px) {
  .trend-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
}

/* Kategorieseite: Kopf mit Symbol, „Worauf achten?“ */
.cat-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.cat-head__icon { display: grid; place-items: center; width: 72px; height: 72px; background: linear-gradient(135deg, rgb(16 233 251 / 18%), rgb(103 39 230 / 24%)); border: 1px solid rgb(16 233 251 / 30%); border-radius: 20px; color: var(--tl-cyan); box-shadow: 0 0 28px rgb(16 233 251 / 14%); }
.cat-head__icon .icon { width: 34px; height: 34px; }
.cat-head__text .page__lead { max-width: 70ch; margin-bottom: 12px; }
.cat-head__stats { margin-top: 0; }
.cat-tips { margin-bottom: 32px; }
.cat-tips h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 18px; }
.cat-tips h2 .icon { width: 20px; height: 20px; color: var(--tl-cyan); }
.cat-tips ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cat-tips li { position: relative; padding: 12px 14px 12px 34px; background: rgb(5 15 52 / 40%); border: 1px solid var(--tl-glass-border); border-radius: 12px; color: var(--tl-text-soft); font-size: 14px; line-height: 1.55; }
.cat-tips li::before { content: ""; position: absolute; left: 14px; top: 18px; width: 8px; height: 8px; background: var(--tl-cyan); border-radius: 50%; box-shadow: 0 0 8px rgb(16 233 251 / 60%); }
@media (max-width: 960px) {
  .cat-tips ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cat-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cat-head__icon { width: 56px; height: 56px; border-radius: 16px; }
  .cat-head__icon .icon { width: 26px; height: 26px; }
}

/* Vorschläge beim Tippen (Kopfzeile) */
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; max-height: 360px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; background: #0d1733; border: 1px solid var(--tl-glass-border-strong); border-radius: 14px; box-shadow: 0 18px 40px rgb(0 0 0 / 45%); }
.search-suggest[hidden] { display: none; }
.search-suggest a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--tl-text); }
.search-suggest a:hover, .search-suggest [aria-selected="true"] a { background: rgb(16 233 251 / 10%); text-decoration: none; }
.search-suggest img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.search-suggest__dot { display: block; width: 28px; height: 28px; background: linear-gradient(135deg, rgb(16 233 251 / 25%), rgb(103 39 230 / 30%)); border-radius: 8px; }
.search-suggest__text { display: flex; flex-direction: column; min-width: 0; }
.search-suggest__text strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest__text small { color: var(--tl-muted); font-size: 12px; }
.search-fix { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; border-color: rgb(16 233 251 / 35%); background: rgb(16 233 251 / 7%); color: var(--tl-text); }
.search-fix .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--tl-cyan); }

/* Bot-Liste: zusätzliche Filter in einer zweiten Zeile */
.filters__more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 4px; }
.filters__more .field--inline { display: flex; align-items: center; gap: 8px; margin: 0; }
.filters__more .field--inline label { margin: 0; color: var(--tl-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.filters__more .field--inline select { width: auto; min-width: 150px; height: 36px; }
@media (max-width: 560px) {
  .filters__more { flex-direction: column; align-items: stretch; }
  .filters__more .field--inline { justify-content: space-between; }
  .filters__more .field--inline select { flex: 1; min-width: 0; }
}

/* Bewertungen: Sortierung, Sternfilter, Blättern */
.review-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 20px 0 12px; }
.review-tools__sort { margin: 0; }
.review-tools__sort .filter-chip[aria-current] { background: rgb(16 233 251 / 16%); border-color: rgb(16 233 251 / 60%); }
.review-tools__stars { display: flex; flex-wrap: wrap; gap: 6px; }
.review-tools__stars .pill { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.review-tools__stars .pill .icon { width: 12px; height: 12px; color: var(--tl-gold); }
.review-tools__stars .pill.is-active { background: rgb(16 233 251 / 14%); border-color: rgb(16 233 251 / 50%); color: var(--tl-text); }
.review-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }

/* Founders & Quality Program */
.quality-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; background: rgb(250 205 16 / 10%); border: 1px solid rgb(250 205 16 / 40%); border-radius: 999px; color: #fde68a; font-size: 13px; font-weight: 700; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.quality-badge .icon { width: 14px; height: 14px; color: var(--tl-gold); }
.quality-badge--founder { background: linear-gradient(135deg, rgb(250 205 16 / 18%), rgb(210 92 248 / 16%)); border-color: rgb(250 205 16 / 55%); }
a.quality-badge:hover { text-decoration: none; border-color: var(--tl-gold); }
.bot-hero__body h1 .quality-badge { margin-left: 4px; }
.quality-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-bottom: 24px; }
.quality-hero img, .quality-state img { filter: drop-shadow(0 10px 24px rgb(250 205 16 / 18%)); }
.quality-state { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; margin-bottom: 20px; padding: 18px 22px; background: linear-gradient(135deg, rgb(250 205 16 / 8%), rgb(103 39 230 / 12%)); border: 1px solid rgb(250 205 16 / 35%); border-radius: 18px; }
.quality-state h2 { margin: 0 0 6px; font-size: 18px; }
.quality-criteria { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.quality-criteria__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; background: rgb(5 15 52 / 40%); border: 1px solid var(--tl-glass-border); border-radius: 12px; font-size: 14px; }
.quality-criteria__item small { color: var(--tl-muted); }
.quality-criteria__mark { display: grid; place-items: center; width: 24px; height: 24px; background: rgb(239 68 68 / 14%); border-radius: 50%; color: #fca5a5; }
.quality-criteria__mark .icon { width: 14px; height: 14px; }
.quality-criteria__item.is-ok .quality-criteria__mark { background: rgb(34 197 94 / 16%); color: #86efac; }
.quality-list { margin: 0; padding-left: 20px; list-style: disc; color: var(--tl-text-soft); font-size: 14px; line-height: 1.8; }
.quality-entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); grid-auto-rows: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.quality-entry { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; background: var(--tl-glass-1); border: 1px solid var(--tl-glass-border); border-radius: 14px; color: var(--tl-text); }
.quality-entry:hover { border-color: rgb(250 205 16 / 45%); text-decoration: none; }
.quality-entry__icon { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.quality-entry__icon--round { border-radius: 50%; }
.quality-entry__text { display: flex; flex-direction: column; min-width: 0; }
.quality-entry__text small { overflow: hidden; color: var(--tl-muted); text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .quality-hero { grid-template-columns: minmax(0, 1fr); }
  .quality-hero img { display: none; }
  .quality-state { grid-template-columns: minmax(0, 1fr); }
  .quality-state img { display: none; }
  .quality-entry { grid-template-columns: 48px minmax(0, 1fr); }
  .quality-entry .quality-badge { grid-column: 2; justify-self: start; }
}

/* Einstellungen: E-Mail-Versand (SMTP) */
.settings-mail { margin-top: 24px; scroll-margin-top: 96px; }
.settings-mail__state { margin: 0 0 12px; }
.pill--success { background: rgb(34 197 94 / 16%); border-color: rgb(34 197 94 / 30%); color: var(--success); }
.pill--muted { color: var(--muted); }
.settings-mail__test { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

/* Admin → Kennzahlen */
.metrics-state .stat-tile dd { font-size: 22px; }
.metrics-totals .stat-tile, .metrics-state .stat-tile { display: flex; flex-direction: column; }
.stat-tile dd.metrics-change { margin-top: auto; padding-top: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.metrics-change--up { color: var(--success) !important; }
.metrics-change--down { color: var(--danger) !important; }
.metrics-charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; margin-bottom: 16px; }
.metrics-charts .chart { margin: 0; }
.metrics-charts .chart h3 { margin: 0 0 8px; font-size: 15px; }
.newsletter-preview__subject { margin: 0 0 12px; }
.newsletter-preview__body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--text); }

/* Dashboard → Benachrichtigungen → Per E-Mail, Newsletter, Bestätigen */
.notify-email { display: grid; gap: 12px; scroll-margin-top: 96px; }
.notify-email p { margin: 0; }
.notify-email__choices { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.notify-email__address { display: grid; gap: 8px; }
.notify-email__address .btn, .notify-email form .btn { justify-self: start; }
#email { scroll-margin-top: 96px; }
.newsletter-form, .mail-confirm { display: grid; gap: 12px; }
.newsletter-form .btn, .mail-confirm .btn { justify-self: start; }
.mail-confirm p { margin: 0; }
.stat-grid.metrics-state { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .stat-grid.metrics-state { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-grid.metrics-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .stat-grid.metrics-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-charts { grid-template-columns: minmax(0, 1fr); }
}

/* Footer: Newsletter und RSS als kleine Zeile unter dem Discord-Knopf */
.site-footer__brand .site-footer__follow { margin-top: 14px; font-size: 13px; }
.site-footer__follow a { color: var(--tl-muted); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__follow a:hover { color: var(--tl-cyan); }

/* Tag-Seiten */
.pills > li:not([class]) { display: contents; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; padding: 0; list-style: none; }
.tag-cloud__item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 14px; }
.tag-cloud__count { color: var(--tl-muted); font-size: 12px; }

/* Vote-Erinnerungen */
.vote-reminder h2 { display: flex; align-items: center; gap: 8px; }
.vote-reminder p { margin: 0 0 12px; }
.reminder-list { display: grid; gap: 0; margin: 0 0 8px; padding: 4px 16px; list-style: none; }
.reminder-list__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--border); }
.reminder-list__item:last-child { border-bottom: 0; }
.reminder-list__item form { margin: 0; }
#erinnerungen, #erinnerung { scroll-margin-top: 96px; }

/* Abstand nach „So läuft es ab“ (Qualitätssiegel) und ähnlichen Erklärblöcken */
.tp-method + .category-block { margin-top: 40px; }
.category-block > h2 { margin-bottom: 16px; }

/* Hilfe & häufige Fragen */
.help-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.help-nav .pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 14px; }
.help-section { margin-top: 32px; scroll-margin-top: 96px; }
.help-section h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.help-section h2 .icon { color: var(--cyan); }
.help-list { display: grid; gap: 8px; max-width: 900px; }
.help-item { padding: 0; }
.help-item summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style-position: inside; }
.help-item p { margin: 0; padding: 0 16px 16px; color: var(--tl-muted); line-height: 1.7; }
.site-footer__brand .site-footer__follow + .site-footer__follow { margin-top: 4px; }

/* Mitgliederverlauf und Teilen */
.member-history__chart svg { height: 140px; }
.member-history__members { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.share-box { margin-top: 8px; }
.share-box > summary { list-style: none; cursor: pointer; }
.share-box > summary::-webkit-details-marker { display: none; }
.share-box__body { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.share-box__qr { justify-self: center; border-radius: 8px; background: #fff; }
.share-box .field__hint { margin: 0; }

/* Qualitätssiegel als Bild */
.quality-badge .quality-seal { width: 22px; height: 22px; margin: -5px 0 -5px -7px; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 35%)); }
.quality-seals { display: flex; gap: 20px; }
.quality-seals figure { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.quality-seals .quality-seal { width: 140px; height: 140px; filter: drop-shadow(0 12px 28px rgb(16 233 251 / 18%)); }
.quality-seals figure + figure .quality-seal { filter: drop-shadow(0 12px 28px rgb(250 205 16 / 22%)); }
.quality-seals figcaption { display: flex; flex-direction: column; align-items: center; color: var(--tl-text); font-size: 14px; font-weight: 700; text-align: center; }
.quality-seals figcaption small { color: var(--tl-muted); font-size: 12px; font-weight: 400; }
.quality-state .quality-seal { width: 120px; height: 120px; }
@media (max-width: 860px) {
  .quality-seals { justify-content: center; }
  .quality-seals .quality-seal { width: 110px; height: 110px; }
}
@media (max-width: 560px) {
  .quality-hero .quality-seal, .quality-state .quality-seal { display: block; }
  .quality-seals .quality-seal { width: 96px; height: 96px; }
  .quality-state .quality-seal { width: 96px; height: 96px; }
}

/* Teilen-Box: QR-Code, Link in normaler Schrift, zwei gleich breite Knöpfe */
.share-box__body { gap: 12px; }
.share-box__qr { width: 168px; height: 168px; padding: 0; }
.share-box__link { width: 100%; min-width: 0; height: 38px; padding: 0 12px; overflow: hidden; background: rgb(5 15 52 / 45%); border: 1px solid var(--border); border-radius: var(--tl-radius-sm, 10px); color: var(--tl-muted); font-family: inherit; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.share-box__link:focus { color: var(--tl-text); }
.share-box__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share-box__actions .btn { min-height: 38px; padding: 6px 10px; font-size: 13px; justify-content: center; white-space: nowrap; }

/* Werkzeuge: Berechtigungs-Check, Befehlssuche, Neuigkeiten, Statusübersicht */
.tool-form { display: grid; gap: 12px; margin-bottom: 20px; }
.tool-form .btn { justify-self: start; }
.tool-form--inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: 720px; }
.tool-form--inline .field { margin: 0; }
.tool-result { display: grid; gap: 12px; }
.tool-result .bot-section { margin-top: 0; }
.tool-result__summary { margin: 0; color: var(--tl-muted); }
mark { padding: 0 2px; background: rgb(16 233 251 / 22%); border-radius: 3px; color: var(--tl-text); }
.command-hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.command-hit { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.command-hit__head { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--tl-text); }
.command-hit__head:hover { text-decoration: none; }
.command-hit__head img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.command-hit__head span { display: flex; flex-direction: column; min-width: 0; }
.command-hit__head small { overflow: hidden; color: var(--tl-muted); text-overflow: ellipsis; white-space: nowrap; }
.command-hit__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.command-hit__list span { color: var(--tl-muted); }
.command-hit .link-more { margin-top: auto; }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.news-filter .pill { padding: 6px 12px; font-size: 13px; }
.pill--active { background: rgb(16 233 251 / 16%); border-color: rgb(16 233 251 / 45%); color: var(--tl-text); }
.news-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; max-width: 900px; }
.news-item { display: grid; gap: 6px; margin: 0; }
.news-item__project { display: inline-flex; align-items: center; gap: 8px; color: var(--tl-text); font-weight: 600; }
.news-item__project img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.news-item__project img.is-round { border-radius: 50%; }
.news-item .changelog__meta { margin: 0; }
.news-item__title { margin: 0; font-size: 17px; }
.news-item__title a { color: var(--tl-text); }
.news-item__body { margin: 0; color: var(--tl-muted); line-height: 1.6; }
.status-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.status-counts__item { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--tl-glass-1, var(--surface)); border: 1px solid var(--border); border-radius: 12px; color: var(--tl-muted); font-size: 13px; }
.status-counts__item strong { color: var(--tl-text); font-size: 20px; }
.status-dot--unknown { background: var(--muted); }
.status-table__bot { display: inline-flex; align-items: center; gap: 10px; color: var(--tl-text); font-weight: 600; }
.status-table__bot img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.status-table__state { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 860px) {
  .status-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tool-form--inline { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .status-counts__item:last-child { grid-column: 1 / -1; }
}

/* Ankündigungsbanner */
.site-banner { border-bottom: 1px solid var(--border); background: rgb(79 124 255 / 14%); }
.site-banner--success { background: rgb(34 197 94 / 14%); }
.site-banner--warning { background: rgb(250 204 21 / 14%); }
.site-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.site-banner p { margin: 0; color: var(--tl-text); font-size: 14px; line-height: 1.5; }
.site-banner a { font-weight: 600; }
.site-banner__close { display: grid; flex: none; place-items: center; width: 32px; height: 32px; padding: 0; background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--tl-muted); cursor: pointer; }
.site-banner__close:hover { border-color: var(--border); color: var(--tl-text); }
.site-banner__close .icon { width: 16px; height: 16px; }

/* Monatsrangliste und Abzeichen „Platz N im Monat“ */
.news-filter .pill--link { display: inline-flex; align-items: center; gap: 6px; }
.news-filter .pill--link .icon { width: 14px; height: 14px; }
.ranking-table td:first-child, .ranking-table th:first-child { width: 72px; }
.ranking-table__place { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ranking-table__top .ranking-table__place { border-color: rgb(250 205 16 / 55%); background: rgb(250 205 16 / 12%); color: #fde68a; }
.ranking-archive { margin-top: 32px; }
.ranking-archive h2 { margin: 0 0 12px; font-size: 22px; }
.rank-badge { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 3px 10px; background: rgb(250 205 16 / 10%); border: 1px solid rgb(250 205 16 / 40%); border-radius: 999px; color: #fde68a; font-size: 13px; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.rank-badge .icon { width: 14px; height: 14px; color: var(--tl-gold); }
a.rank-badge:hover { text-decoration: none; border-color: var(--tl-gold); }

/* API-Schlüssel: Vorlagen und letzte Ablehnung */
.key-presets { margin: 0 0 16px; }
.key-presets__label { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.key-presets .pills { margin: 0 0 8px; }
.key-error { color: #fca5a5; }
.key-error--resolved { color: var(--muted); }

/* Einbau-Assistent */
.setup-code ul { margin: 0 0 12px; padding-left: 20px; }
.setup-code ul li + li { margin-top: 6px; }
.setup-code__lang { margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius-btn); }
.setup-code__lang summary { padding: 10px 14px; cursor: pointer; font-weight: 600; }
.setup-code__lang[open] summary { border-bottom: 1px solid var(--border); }
.setup-code__lang pre { margin: 0; padding: 12px 16px; background: var(--navy); overflow-x: auto; font-size: 13px; line-height: 1.5; }
.setup-code__lang pre code { color: var(--text); white-space: pre; }
.setup-code__lang .field__hint { margin: 0; padding: 10px 14px; }
.setup-code, .setup-code__lang { min-width: 0; max-width: 100%; }
.setup-code p code, .setup-code li code, .setup-code__lang .field__hint code { overflow-wrap: anywhere; word-break: break-word; }
.setup-code__lang pre { max-width: 100%; }
.ranking-table td { vertical-align: middle; }

/* Statusseite je Bot */
.status-page__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.status-page__head img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.status-page__head h1 { margin: 0; }
.status-page__head .hero__eyebrow { margin: 0 0 4px; }
.health-bars--days { grid-template-columns: repeat(30, minmax(0, 1fr)); height: 56px; }
.status-days-table { margin-top: 16px; }
.status-days-table summary { cursor: pointer; font-weight: 600; }
.health-more { margin: 8px 0 0; }

/* Webhook: Bewertungen */
.webhook-reviews { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.webhook-reviews h3 { margin: 0 0 8px; font-size: 17px; }
a.status-table__state { color: var(--tl-text); }
a.status-table__state:hover { text-decoration: underline; }

/* Sprachumschalter */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-btn); color: var(--tl-text); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.lang-switch:hover { border-color: var(--cyan); text-decoration: none; }
.site-footer__lang { margin: 0; color: var(--tl-muted); font-size: 13px; }

/* Fußzeile „Cookie-Einstellungen“: öffnet Googles Einwilligungsabfrage erneut */
.site-footer__consent { padding: 0; background: none; border: 0; color: var(--tl-muted); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: color var(--motion); }
.site-footer__consent:hover { color: var(--tl-cyan); }
@media (max-width: 720px) {
  .site-footer__consent { min-height: 36px; }
}

/* Admin → Besucher (Google Analytics) */
.visitors-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.visitors-head .page__meta { margin: 0; }
.visitors-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
.visitors-list h2 { margin-top: 0; font-size: 18px; }
.visitors-list .data-table td { overflow-wrap: anywhere; }
.visitors-list .num { width: 1%; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.visitors-bar { display: block; width: 100%; height: 4px; margin-top: 6px; }
.visitors-bar rect { fill: var(--tl-cyan); opacity: 0.7; }
@media (max-width: 860px) { .visitors-lists { grid-template-columns: minmax(0, 1fr); } }

/* Datei-Felder in Formularen: Auswahlknopf wie .btn--ghost, Text daneben mittig */
.field input[type="file"]:not([type="checkbox"]):not([type="radio"]) { display: block; width: 100%; height: auto; min-height: 48px; padding: 6px; color: var(--tl-muted); font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin: 0 12px 0 0; padding: 8px 16px; background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--tl-radius-sm, 10px); color: var(--tl-text); font: inherit; font-weight: 600; cursor: pointer; transition: background var(--motion), border-color var(--motion); }
.field input[type="file"]:hover::file-selector-button { background: rgb(255 255 255 / 8%); border-color: var(--tl-cyan); }
.field input[type="file"]:focus-visible { outline: 2px solid var(--tl-cyan); outline-offset: 2px; }

/* Einbinden: Sprache der Bilder */
.embed-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; }
.embed-lang__label { color: var(--muted); font-size: 14px; }
.embed-lang .pills { margin: 0; }
.embed-lang .field__hint { flex-basis: 100%; margin: 0; }

/* Fußzeile unten: Copyright links, Sprachwahl rechts; schmal untereinander */
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-footer__bottom p { margin: 0; }
.site-footer__lang a { color: var(--tl-muted); }
.site-footer__lang a:hover { color: var(--tl-cyan); }
.site-footer__lang strong { color: var(--tl-text); }

/* Plattform in Zahlen */
.numbers-grid { margin-bottom: 32px; }
.numbers-heading { margin: 0 0 12px; font-size: 22px; }
.numbers-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.numbers-charts .chart h3 { margin: 0 0 10px; font-size: 16px; }
@media (max-width: 900px) { .numbers-charts { grid-template-columns: 1fr; } }

/* Website-Nachweis und Kategorien folgen */
.website-verified { display: inline-flex; margin-left: 4px; color: var(--success); }
.website-verified .icon { width: 16px; height: 16px; }
.webv-state { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.webv-state p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.cat-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.cat-follow form { margin: 0; }
.cat-follow-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.cat-follow-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; }
.cat-follow-item form { margin: 0; }
.webv-state .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 13px; }
.webv-state .pill .icon { flex: none; width: 14px; height: 14px; }

/* Handy-Korrekturen (Hinweise des Nutzers 11.11.2026) */
/* Bot-/Serverkopf: Name nicht mitten im Wort trennen, Abzeichen nicht stauchen, notfalls in die nächste Zeile */
.bot-hero__body h1 { flex-wrap: wrap; overflow-wrap: break-word; }
.bot-hero__body h1 .quality-badge, .bot-hero__body h1 .rank-badge, .bot-hero__body h1 .verified { flex: none; }
/* Infoleiste: Felder füllen jede Zeile, auch bei ungerader Anzahl kein leeres Feld */
.info-bar { display: flex; flex-wrap: wrap; }
.info-bar__item { flex: 1 1 140px; }
/* Statusübersicht: Botname nicht umbrechen (Tabelle scrollt seitlich), Abstand zum Text darunter */
.status-table__bot { white-space: nowrap; min-width: max-content; }
.table-wrap + .page__meta { margin-top: 12px; }
.status-alerts { margin: 0 0 16px; }

/* Kontosicherheit: angemeldete App-Geräte */
.app-devices { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.app-devices__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border, rgba(255,255,255,.12)); border-radius: 12px; }
.app-devices__item > div { display: grid; gap: 2px; min-width: 0; }
.app-devices__item strong { overflow-wrap: anywhere; }

/* Feste Werbeflächen (AdSense): dezent, klar als Anzeige gekennzeichnet, höchstens eine je Seite.
   Liefert Google keine Anzeige, verschwindet die Fläche ganz (keine leeren Kästen). */
.ad-slot { margin: 16px 0; padding: 8px 12px 12px; background: rgb(255 255 255 / 2%); border: 1px solid var(--tl-glass-border); border-radius: var(--tl-radius-sm, 10px); overflow: hidden; }
.ad-slot__label { display: block; margin-bottom: 6px; color: var(--tl-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ad-slot__ins { display: block; width: 100%; min-height: 90px; }
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
.bot-list > .ad-slot { margin: 0; }
.section--ad { padding-block: 0; }
.section--ad .ad-slot { margin-block: 8px; }
@media (max-width: 720px) { .ad-slot__ins { min-height: 50px; } }

/* Zwei-Faktor-Code in sechs Kästchen (app.js) */
.otp-boxes { display: flex; justify-content: center; gap: 8px; }
.otp-boxes[hidden] { display: none; }
.field input.otp-box:not([type="checkbox"]):not([type="radio"]) { width: 48px; height: 56px; padding: 0; flex: 0 0 auto; text-align: center; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; caret-color: var(--tl-cyan); }
.field input.otp-box:not([type="checkbox"]):not([type="radio"]):focus { border-color: var(--tl-cyan); box-shadow: 0 0 0 3px rgb(16 233 251 / 18%); }
.otp-boxes .otp-box:nth-child(3) { margin-right: 8px; }
.otp-toggle { display: block; margin: 10px auto 0; padding: 0; background: none; border: 0; color: var(--tl-blue-text); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.otp-toggle:hover { color: var(--tl-cyan); }
@media (max-width: 430px) { .field input.otp-box:not([type="checkbox"]):not([type="radio"]) { width: 40px; height: 50px; font-size: 20px; } .otp-boxes { gap: 6px; } }
.app-devices__item .pill { white-space: nowrap; }
