/* ============================================================================
   KI AKADEMIE – App-Rahmen (Seitenleiste, Handy-Leisten, Blätter, Bausteine)
   Gilt für alle Seiten. Der Rahmen selbst wird von app-rahmen.js gebaut.
   ============================================================================ */

[hidden] { display: none !important; }

body.app-body {
  display: block;
  background-image: none;
}

/* ---------- Icons (Linien-Stil) ---------- */
.i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-lg { width: 20px; height: 20px; }
.i-sm { width: 14px; height: 14px; }

/* ---------- Seitenleiste (PC) ---------- */
.app-side {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: var(--bg-1);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  z-index: 60;
  overflow-y: auto;
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 14px;
  color: #FFF;
}
.side-brand img { width: 28px; height: 28px; border-radius: 8px; }
.side-brand strong { font-family: var(--font-display); font-size: 14px; letter-spacing: -0.01em; }
.side-brand strong span { color: var(--orange-light); }
.side-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 10px 6px;
}
.side-nav { display: grid; gap: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.045); color: #FFF; }
.nav-item.active { background: rgba(255, 106, 0, 0.11); color: #FFF; }
.nav-item.active .i { color: var(--orange-light); }
.nav-count {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: rgba(245, 158, 11, 0.18);
  color: #FCD34D;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.side-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 14px; }
.side-discord {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(88, 101, 242, 0.08);
  color: #C7D2FE;
  font-size: 12.5px;
  text-decoration: none;
}
.side-discord:hover { border-color: rgba(88, 101, 242, 0.5); }
.side-discord strong { color: #FFF; }
.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
}
.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.side-user-text { min-width: 0; flex: 1; }
.side-user-text strong {
  display: block;
  font-size: 13px;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-user-text span { font-size: 11.5px; color: var(--text-muted); }
.side-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side-auth .btn-dark-bar, .side-auth .btn-orange-bar { height: 34px; padding: 0 8px; font-size: 12.5px; }

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: #FFF; }

/* ---------- Hauptbereich ---------- */
.app-main {
  margin-left: 236px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-content {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 28px 48px;
  flex: 1;
  animation: appFadeIn 0.16s ease-out;
}
.app-content.wide { max-width: 1060px; }
@keyframes appFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .app-content { animation: none; }
}

/* ---------- Obere Leiste (Handy) ---------- */
.app-top {
  display: none;
  position: sticky;
  top: 0;
  z-index: 60;
  height: 54px;
  padding: 0 14px 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(6, 6, 9, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.app-top-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-top-left img { width: 26px; height: 26px; border-radius: 7px; }
.app-top-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-top-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.app-top-right .btn-dark-bar, .app-top-right .btn-orange-bar { height: 32px; padding: 0 11px; font-size: 12.5px; }

/* ---------- Leiste unten (Handy) ---------- */
.tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
  background: rgba(9, 9, 14, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0 4px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
.tab-item .i { width: 20px; height: 20px; }
.tab-item.active { color: #FFF; }
.tab-item.active .i { color: var(--orange-light); }

/* ---------- Footer-Zeile ---------- */
.app-legal {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}
.app-legal button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
}
.app-legal button:hover { color: #FFF; }

/* ---------- Avatar ---------- */
.ava {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #14141E;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava-lg { width: 64px; height: 64px; font-size: 24px; }
button.ava { cursor: pointer; padding: 0; }

/* ---------- Bausteine ---------- */
.page-head { margin-bottom: 6px; }
.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 26px; font-weight: 800; }
.page-head p { margin-top: 4px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.eyebrow.brand { color: var(--orange-light); }
.hl { color: var(--orange-light); }

.stack { display: grid; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  min-width: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.card-head h3 { font-size: 14.5px; font-weight: 700; }
.card-head p { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.card-body { padding: 16px 18px; }
.card-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.card-foot a { color: var(--orange-light); font-weight: 600; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--border-subtle);
  min-width: 0;
}
.row:first-child { border-top: 0; }
button.row, a.row {
  width: 100%;
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  color: inherit;
  font-family: var(--font-sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
button.row:first-child, a.row:first-child { border-top: 0; }
button.row:hover, a.row:hover { background: rgba(255, 255, 255, 0.025); }
.card.row { border: 1px solid var(--border-subtle) !important; border-radius: 12px; }
.card.row:hover { border-color: var(--border-strong) !important; }
.set-head + .row { border-top: 0; }
.row-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.row-main { flex: 1; min-width: 0; }
.row-main strong { display: block; font-size: 13.5px; font-weight: 600; color: #FFF; }
.row-main span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.row-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.row-main .pill { display: inline-flex; margin-top: 0; font-size: 11.5px; }
.row-main .pill:not(.ok):not(.warn):not(.brand):not(.admin) { color: var(--text-secondary); }
.row-chev { color: var(--text-muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.ok { background: rgba(16, 185, 129, 0.13); color: #6EE7B7; }
.pill.warn { background: rgba(245, 158, 11, 0.14); color: #FCD34D; }
.pill.brand { background: rgba(255, 106, 0, 0.13); color: var(--orange-light); }
.pill.admin { background: rgba(244, 63, 94, 0.13); color: #FDA4AF; }

.btn-sm { height: 32px !important; padding: 0 12px !important; font-size: 12.5px !important; }
.btn-block { width: 100%; }
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #FDA4AF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.btn-danger:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-discord {
  background: #5865F2 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
  color: #FFF !important;
}
.btn-discord:hover { background: #4752C4 !important; }

.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.field-hint { font-size: 11.5px; color: var(--text-muted); }
.field-row { display: flex; gap: 8px; }
.field-row > .ui-input, .field-row > .pw-field-wrap { flex: 1; min-width: 0; }
.app-body .ui-input { height: 38px; }
.app-body select.ui-input { padding: 0 10px; }
.form-grid { display: grid; gap: 14px; }
.mono { font-family: var(--font-mono); }

.seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.seg button {
  height: 28px;
  padding: 0 11px;
  border-radius: 6px;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.seg button:hover { color: #FFF; }
.seg button.active { background: #20202C; color: #FFF; }
.seg.scroll { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg.scroll::-webkit-scrollbar { display: none; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.kpi {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  min-width: 0;
}
.kpi-l { font-size: 12px; color: var(--text-muted); }
.kpi-v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.kpi-s { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

.muted { color: var(--text-muted); }
.small { font-size: 12.5px; }
.empty {
  padding: 22px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.check-rows { display: grid; gap: 9px; }
.check-rows li {
  list-style: none;
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check-rows li .i { color: #6EE7B7; margin-top: 2px; }
.check-rows li strong { color: #FFF; }

.switch { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #2A2A36;
  cursor: pointer;
  transition: background 0.15s;
}
.switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFF;
  transition: transform 0.15s;
}
.switch input:checked + span { background: var(--orange); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--orange-light); outline-offset: 2px; }

.set-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.set-head .row-ic { width: 32px; height: 32px; }
.set-head h3 { font-size: 14.5px; font-weight: 700; }
.set-head p { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.set-body { padding: 18px; display: grid; gap: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: #FFF;
  font-size: 11.5px;
}

/* Hervorgehobene Karte (nächster Schritt, Hero) */
.next-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--orange-border);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.13) 0%, rgba(255, 106, 0, 0.02) 62%), var(--bg-card);
}
.next-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 106, 0, 0.16);
  border: 1px solid var(--orange-border);
  color: var(--orange-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.next-main { flex: 1; min-width: 0; }
.next-main h2 { font-size: 18px; font-weight: 800; }
.next-main p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }
.next-card .btn-orange-bar { flex-shrink: 0; }

/* Schritte (1–2–3) */
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.14);
  border: 1px solid var(--orange-border);
  color: var(--orange-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FAQ */
.faq-row { border-top: 1px solid var(--border-subtle); }
.faq-row:first-child { border-top: 0; }
.faq-row summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFF;
  cursor: pointer;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary .i { color: var(--text-muted); transition: transform 0.15s; }
.faq-row[open] summary .i { transform: rotate(90deg); }
.faq-row p { padding: 0 18px 14px; font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* Bewertungen */
.stars { color: #FBBF24; letter-spacing: 1px; }
.rev-bars { display: grid; gap: 6px; }
.rev-bar { display: grid; grid-template-columns: 34px 1fr 36px; align-items: center; gap: 8px; font-size: 12px; }
.rev-bar-track { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.rev-bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange), #FBBF24); border-radius: 99px; }
.rev-card { padding: 16px 18px; border-top: 1px solid var(--border-subtle); }
.rev-card:first-child { border-top: 0; }
.rev-card h4 { font-size: 14px; color: #FFF; margin: 6px 0 4px; }
.rev-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.rev-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--text-muted); margin-top: 8px; }
.star-pick { display: flex; gap: 6px; }
.star-pick button {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: #3F3F4A;
  font-size: 18px;
  cursor: pointer;
}
.star-pick button.active { color: #FBBF24; border-color: rgba(251, 191, 36, 0.45); }

/* Produkt-Zeilen im Shop */
.prod-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
}
.prod-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  background: var(--bg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
}
.price {
  font-family: var(--font-display);
  font-weight: 800;
  color: #FFF;
  letter-spacing: -0.02em;
}
.price s { color: var(--text-muted); font-weight: 600; font-size: 0.7em; margin-left: 6px; }

/* Bilder-Galerie zum Wischen */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 34%);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #2A2A36 transparent;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: #2A2A36; border-radius: 99px; }
.gallery::-webkit-scrollbar-track { background: transparent; }
.gallery button {
  scroll-snap-align: start;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: var(--bg-2);
  cursor: zoom-in;
}
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* Fester Kaufknopf (Handy) */
.buy-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(62px + env(safe-area-inset-bottom));
  z-index: 65;
  padding: 10px 14px;
  background: rgba(9, 9, 14, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  align-items: center;
  gap: 12px;
}
.buy-bar .price { font-size: 18px; }

/* Chat (Support) */
.chat-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  min-height: 260px;
  max-height: 56vh;
  overflow-y: auto;
}
.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.bubble small { display: block; font-size: 10.5px; opacity: 0.7; margin-bottom: 2px; }
.bubble.me { align-self: flex-end; background: var(--orange); color: #FFF; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #1A1A25; color: #E4E4E7; border-bottom-left-radius: 4px; }
.chat-hint { align-self: center; font-size: 12px; color: var(--text-muted); text-align: center; max-width: 340px; }
.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
}
.chat-input .ui-input { flex: 1; height: 40px; border-radius: 99px; padding: 0 16px; }
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Blatt von unten / Fenster ---------- */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 4200;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.sheet {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: #0B0B11;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  color: var(--text-main);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
  animation: sheetIn 0.18s ease-out;
}
.sheet-close { position: absolute; top: 14px; right: 14px; }
.sheet-grab { display: none; }
.sheet h3 { font-size: 20px; font-weight: 800; }
.sheet-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
@keyframes sheetIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Installations-Hinweis */
.install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  top: calc(62px + env(safe-area-inset-top));
  z-index: 75;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  background: #12121B;
  border: 1px solid var(--orange-border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.install-banner img { width: 38px; height: 38px; border-radius: 10px; }
.install-banner strong { display: block; font-size: 13.5px; color: #FFF; }
.install-banner span { font-size: 12px; color: var(--text-muted); }

/* ---------- Handy ---------- */
@media (max-width: 959px) {
  .app-side { display: none; }
  .app-main { margin-left: 0; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .app-top { display: flex; }
  .tabbar { display: grid; }
  .app-content { padding: 20px 16px 30px; }
  .page-head h1 { font-size: 22px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .app-legal { padding: 14px 16px; }
  .app-body .ka-toast-stack { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; left: 12px; }
  .app-body .back-to-top-btn { display: none !important; }
  .buy-bar { display: flex; }
  .has-buy-bar .app-main { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
  .gallery { grid-auto-columns: 72%; }

  .sheet-overlay { align-items: flex-end; padding: 0; }
  .sheet {
    max-width: none;
    margin: 0;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    padding: 12px 18px calc(22px + env(safe-area-inset-bottom));
    max-height: 92vh;
    overflow-y: auto;
    animation: sheetUp 0.22s ease-out;
  }
  .sheet-grab {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 99px;
    background: #33333F;
    margin: 0 auto 14px;
  }
  @keyframes sheetUp {
    from { transform: translateY(40px); opacity: 0.6; }
    to { transform: none; opacity: 1; }
  }
}
@media (max-width: 620px) {
  .next-card { flex-direction: column; align-items: stretch; }
  .next-card .btn-orange-bar { width: 100%; }
  .next-ic { width: 40px; height: 40px; }
  .kpi-v { font-size: 19px; }
  .kpis.three { gap: 8px; }
  .kpis.three .kpi { padding: 12px 10px; }
  .kpis.three .kpi-v { font-size: 17px; }
  .kpis.three .kpi-l, .kpis.three .kpi-s { font-size: 11px; }
  .field-row { flex-wrap: wrap; }
  .field-row > .ui-input:not(select), .field-row > .pw-field-wrap { flex-basis: 100%; }
  .field-row > .btn-dark-bar, .field-row > .btn-orange-bar, .field-row > .btn-danger { flex: 1; }
  .card-head { flex-wrap: wrap; }
}

/* ============================================================================
   Shop-Rahmen (öffentliche Seiten): Kopfleiste, Separate Studio-Seitenleisten, Footer
   ============================================================================ */
body.shop-layout {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shop-layout .app-main {
  flex: 1;
  min-height: 0;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: margin 0.2s ease;
}
body.shop-layout[data-page="studio"] .app-main {
  margin-left: 284px;
  margin-right: 284px;
}
body.ka-left-collapsed.shop-layout[data-page="studio"] .app-main {
  margin-left: 0;
}
body.ka-right-collapsed.shop-layout[data-page="studio"] .app-main {
  margin-right: 0;
}
.shop-layout .app-content { padding: 34px 28px 28px; }
.app-content.shop-wide { max-width: 1180px; }

.shop-top {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  flex-shrink: 0;
}
.shop-announce {
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(90deg, #E85A00, #FF6A00 40%, #FF8A2A);
  color: #FFF;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.shop-announce .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); flex-shrink: 0; }
.shop-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  background: rgba(6, 6, 9, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

/* 3-Spalten-Header im KI-Studio (284px | 1fr | 284px): Exakt bündig mit den beiden Seitenleisten darunter */
.shop-header-studio {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.ka-studio-head-left {
  width: 284px;
  flex: 0 0 284px;
  height: 64px;
  padding: 0 10px;
  background: #06060A;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-sizing: border-box;
  transition: margin 0.2s ease;
}
.ka-studio-head-left .shop-logo img {
  width: 30px;
  height: 30px;
}
.ka-studio-head-left .shop-logo strong {
  font-size: 15px;
}
.ka-studio-head-left .shop-studio-cta {
  margin-left: 0;
  height: 34px;
  padding: 0 11px;
  font-size: 12.5px;
}
.ka-studio-head-center {
  flex: 1;
  min-width: 0;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
}
.ka-studio-head-right {
  width: 284px;
  flex: 0 0 284px;
  height: 64px;
  padding: 0 10px;
  background: #06060A;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  transition: margin 0.2s ease;
}
.ka-studio-head-right .shop-actions {
  width: 100%;
  justify-content: flex-end;
  gap: 6px;
}
.ka-studio-head-right .shop-discord-btn,
.ka-studio-head-right .btn-dark-bar,
.ka-studio-head-right .btn-orange-bar {
  height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
}

/* Identischer Button-Stil („Desktop App herunterladen“) */
.ka-wing-action-btn,
.ka-desktop-header-btn {
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #F4F4F6;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.12s, color 0.15s;
}
.ka-wing-action-btn {
  width: 100%;
}
.ka-wing-action-btn .i,
.ka-desktop-header-btn .i {
  color: #A1A1AA;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.ka-wing-action-btn:hover,
.ka-desktop-header-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFF;
  transform: translateY(-1px);
}
.ka-wing-action-btn:hover .i,
.ka-desktop-header-btn:hover .i {
  color: #FFF;
}
.shop-header-in {
  flex: 1;
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  box-sizing: border-box;
}

/* Linke & rechte Seitenleiste im separaten KI-Studio (284px exakt bündig mit dem Header) */
.gpt-sidebar {
  position: fixed;
  top: 96px;
  bottom: 0;
  width: 284px;
  background: #06060A;
  display: flex;
  flex-direction: column;
  z-index: 45;
  transition: transform 0.2s ease;
}
.gpt-sidebar-left {
  left: 0;
  border-right: 1px solid var(--border-subtle);
}
.gpt-sidebar-right {
  right: 0;
  border-left: 1px solid var(--border-subtle);
}
body.ka-left-collapsed .gpt-sidebar-left {
  transform: translateX(-100%);
}
body.ka-right-collapsed .gpt-sidebar-right {
  transform: translateX(100%);
}
.gpt-side-top {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
  flex-shrink: 0;
}
.gpt-right-title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 4px;
}
.gpt-new-btn {
  flex: 1;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ECECF1;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s;
}
.gpt-new-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFF;
}
.ka-ws-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  scrollbar-width: thin;
  scrollbar-color: #222230 transparent;
}
.gpt-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.14s, color 0.14s;
}
.gpt-icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
}
.gpt-side-section {
  padding: 6px 12px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #7E8292;
  letter-spacing: 0.02em;
}
.ka-side-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.ka-sec-plus-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.ka-sec-plus-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
}
.ka-sec-mini-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 3px 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ka-sec-mini-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

/* Projekte-Liste im linken Arbeitsbereich (Startzustand: „Starte jetzt mit einem Projekt“) */
.ka-projects-list {
  padding: 2px 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ka-proj-empty-start {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.ka-proj-empty-start:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFF;
}
.ka-proj-row {
  display: flex;
  align-items: center;
  border-radius: 7px;
  transition: background 0.12s;
}
.ka-proj-row:hover {
  background: rgba(255, 255, 255, 0.055);
}
.ka-proj-row.active {
  background: rgba(255, 255, 255, 0.09);
}
.ka-proj-main {
  flex: 1;
  min-width: 0;
  height: 31px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}
.ka-proj-row:hover .ka-proj-main,
.ka-proj-row.active .ka-proj-main {
  color: #FFF;
}
.ka-proj-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ka-proj-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ka-proj-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}
.ka-proj-actions,
.ka-chat-row-actions {
  display: none;
  align-items: center;
  gap: 2px;
  padding-right: 4px;
  flex-shrink: 0;
}
.ka-proj-row:hover .ka-proj-actions,
.gpt-history-row:hover .ka-chat-row-actions,
.ka-slim-tool-row:hover .ka-chat-row-actions {
  display: inline-flex;
}
.ka-mini-ic {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.ka-mini-ic:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}
.ka-mini-ic.del:hover {
  background: rgba(244, 63, 94, 0.18);
  color: #FDA4AF;
}

/* Chats-Liste im linken Arbeitsbereich (schlicht wie ChatGPT) */
.gpt-history {
  padding: 2px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.gpt-history-empty {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.gpt-history-row {
  display: flex;
  align-items: center;
  border-radius: 7px;
  transition: background 0.12s;
}
.gpt-history-row:hover {
  background: rgba(255, 255, 255, 0.055);
}
.gpt-history-row.active {
  background: rgba(255, 255, 255, 0.09);
}
.gpt-history-item {
  height: 31px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  flex: 1;
  min-width: 0;
  text-align: left;
  cursor: pointer;
}
.gpt-history-row:hover .gpt-history-item,
.gpt-history-row.active .gpt-history-item {
  color: #FFF;
}
.ka-chat-item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

/* Rechte Tool-Seitenleiste: Schlank, kompakt, schlicht & ohne dicke bunte Boxen */
.gpt-right-options {
  padding: 2px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #222230 transparent;
}
.ka-slim-tool-row {
  display: flex;
  align-items: center;
  border-radius: 7px;
  transition: background 0.12s;
}
.ka-slim-tool-row:hover {
  background: rgba(255, 255, 255, 0.06);
}
.ka-slim-tool-btn {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  flex: 1;
}
.ka-slim-tool-row:hover .ka-slim-tool-btn {
  color: #FFF;
}
.ka-slim-tool-ic {
  width: 18px;
  height: 18px;
  color: #8E929F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ka-slim-tool-row:hover .ka-slim-tool-ic {
  color: #ECECF1;
}
.ka-slim-tool-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.ka-slim-tool-add {
  margin-top: 6px;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ka-slim-tool-add:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFF;
}
.ka-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s;
}
.ka-color-swatch.active {
  border-color: #FFF;
  transform: scale(1.12);
}
.ka-proj-pick-btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
.ka-proj-pick-btn:hover,
.ka-proj-pick-btn.active {
  border-color: rgba(255, 107, 0, 0.5);
  background: rgba(255, 107, 0, 0.1);
}
.gpt-side-foot {
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Schwebende Reopen-Buttons falls eine Seitenleiste eingeklappt wurde */
.ka-side-reopen {
  position: fixed;
  top: 108px;
  z-index: 44;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(18, 18, 26, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ka-side-reopen:hover {
  color: #FFF;
  border-color: var(--border-strong);
}
.ka-side-reopen.left { left: 12px; }
.ka-side-reopen.right { right: 12px; }
body.ka-left-collapsed .ka-side-reopen.left { display: inline-flex; }
body.ka-right-collapsed .ka-side-reopen.right { display: inline-flex; }

@media (max-width: 1180px) {
  .ka-header-wing { display: none !important; }
  .shop-layout .app-main { margin-left: 0 !important; margin-right: 0 !important; }
  .gpt-sidebar-left { transform: translateX(-100%); }
  .gpt-sidebar-right { transform: translateX(100%); }
  body.ka-mobile-left-open .gpt-sidebar-left { transform: translateX(0); }
  body.ka-mobile-right-open .gpt-sidebar-right { transform: translateX(0); }
}
.shop-logo { display: inline-flex; align-items: center; gap: 10px; color: #FFF; text-decoration: none; flex-shrink: 0; }
.shop-logo img { width: 34px; height: 34px; }
.shop-logo strong { font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: -0.02em; white-space: nowrap; }
.shop-logo strong span { color: var(--orange-light); }
/* KI-Studio-Button direkt zwischen KI AKADEMIE Logo und Start (Header-Auswahlleiste) */
.shop-studio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 108px;
  height: 36px;
  padding: 0 13px;
  margin-left: 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 106, 0, 0.42);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(255, 106, 0, 0.08));
  color: #FFF;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.shop-studio-cta .i {
  width: 14px;
  height: 14px;
  color: var(--orange-light);
  transition: color 0.15s;
}
.shop-studio-cta:hover,
.shop-studio-cta.active {
  background: linear-gradient(135deg, #FF6A00, #E04800);
  border-color: #FF8A2A;
  color: #FFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.28);
}
.shop-studio-cta:hover .i,
.shop-studio-cta.active .i {
  color: #FFF;
}
.shop-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; white-space: nowrap; flex-shrink: 0; }
.shop-nav-link {
  position: relative;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.12s, background 0.12s;
}
.shop-nav-link:hover { color: #FFF; background: rgba(255, 255, 255, 0.045); }
.shop-nav-link.active { color: #FFF; }
.shop-nav-link.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -13px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.shop-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.shop-actions .btn-dark-bar, .shop-actions .btn-orange-bar { height: 36px; }
.shop-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(88, 101, 242, 0.38);
  background: rgba(88, 101, 242, 0.12);
  color: #E0E7FF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.14s, border-color 0.14s, color 0.14s;
}
.shop-discord-btn .i {
  width: 15px;
  height: 15px;
  color: #818CF8;
  transition: color 0.14s;
}
.shop-discord-btn:hover {
  background: #5865F2;
  border-color: #5865F2;
  color: #FFF;
}
.shop-discord-btn:hover .i {
  color: #FFF;
}
.shop-text-btn {
  background: none;
  border: 0;
  padding: 8px 10px;
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.shop-text-btn:hover { color: var(--orange-light); }
.shop-burger, .shop-show-sm { display: none !important; }

/* Menü am Handy */
.shop-drawer { position: fixed; inset: 0; z-index: 4100; pointer-events: none; }
.shop-drawer-bg { position: absolute; inset: 0; background: rgba(5, 5, 7, 0.72); opacity: 0; transition: opacity 0.18s; }
.shop-drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(320px, 86vw);
  background: var(--bg-1);
  border-right: 1px solid var(--border-subtle);
  padding: 12px 12px calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-100%);
  transition: transform 0.2s ease-out;
  overflow-y: auto;
}
.shop-drawer.open { pointer-events: auto; }
.shop-drawer.open .shop-drawer-bg { opacity: 1; }
.shop-drawer.open .shop-drawer-panel { transform: none; }
.shop-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px 6px; }
.shop-drawer-nav { display: grid; gap: 2px; }
.shop-drawer .nav-item { height: 42px; font-size: 14.5px; }

/* Footer */
.shop-footer { margin-top: 28px; border-top: 1px solid var(--border-subtle); background: var(--bg-1); }
.shop-footer-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 30px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 28px;
}
.shop-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.shop-footer-brand p { font-size: 13px; line-height: 1.6; color: var(--text-muted); max-width: 330px; }
.shop-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.shop-footer-col strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.shop-footer-col a, .shop-footer-col button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.shop-footer-col a:hover, .shop-footer-col button:hover { color: #FFF; }
.shop-footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 28px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}
.shop-pay { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Kopier-Icon ---------- */
.copy-ic {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  padding: 0;
}
.copy-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-ic:hover { color: #FFF; border-color: var(--orange-border); }

/* ---------- Produkt-Karten (Start + Shop) ---------- */
.pc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
a.pc:hover { border-color: var(--orange-border); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); }
.pc-img { position: relative; display: block; aspect-ratio: 1; background: var(--bg-1); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
a.pc:hover .pc-img img { transform: scale(1.03); }
.pc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  background: rgba(6, 6, 9, 0.78);
  border: 1px solid var(--border-strong);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(6px);
}
.pc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pc-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
}
.pc-rating { font-family: var(--font-sans); letter-spacing: 0; text-transform: none; color: #FBBF24; font-size: 12px; font-weight: 600; }
.pc-rating span { color: var(--text-muted); font-weight: 500; }
.pc-title { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: #FFF; line-height: 1.25; }
.pc-short { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); flex: 1; }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.pc-price .price { font-size: 19px; }
.pc-note { font-size: 11.5px; color: var(--text-muted); }
.pc-btn { width: 100%; margin-top: 8px; }
.pc-soon { border-style: dashed; }
.pc-soon .pc-img img { opacity: 0.85; }
.pc-soon .pc-title { color: var(--text-secondary); }

/* ---------- Startseite (Shop) ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 44px 0 44px 46px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(80% 90% at 85% 10%, rgba(255, 106, 0, 0.22), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(255, 106, 0, 0.08), transparent 60%),
    linear-gradient(160deg, #12121A, #08080C 70%);
  overflow: hidden;
}
.hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.hero p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); max-width: 470px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-cta .btn-orange-bar, .hero-cta .btn-dark-bar { height: 46px; padding: 0 20px; font-size: 14px; }
.hero-points { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 22px; font-size: 12.5px; color: var(--text-muted); }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .i { color: var(--orange-light); }
.hero-img { align-self: stretch; display: flex; align-items: center; justify-content: center; margin: -20px 0; }
.hero-img img { width: 112%; max-width: none; height: auto; display: block; }

.usp-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.usp { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border-subtle); min-width: 0; }
.usp .row-ic { color: var(--orange-light); background: var(--orange-subtle); border-color: var(--orange-border); }
.usp strong { display: block; font-size: 13px; color: #FFF; }
.usp span { display: block; font-size: 11.5px; color: var(--text-muted); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.sec-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sec-head p { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--orange-light); text-decoration: none; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 26px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature.flip .feature-img { order: 2; }
.feature-img img { width: 100%; border-radius: 12px; display: block; border: 1px solid var(--border-subtle); }
.feature h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.feature p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--text-secondary); }
.feature .check-rows { margin-top: 14px; }
.feature .btn-orange-bar, .feature .btn-dark-bar { margin-top: 18px; }

.banner-wide { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-subtle); }
.banner-wide img { width: 100%; display: block; }

.design-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 19%); gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #2A2A36 transparent; }
.design-strip a { scroll-snap-align: start; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-subtle); display: block; }
.design-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 0.25s; }
.design-strip a:hover img { transform: scale(1.03); }

/* ---------- Shop-Seite ---------- */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: #FFF; }
.crumbs .i { width: 12px; height: 12px; }

/* ---------- Produktseite ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pdp-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-2);
  padding: 0;
  cursor: zoom-in;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(6, 6, 9, 0.75);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  z-index: 1;
}
.pdp-arrow.prev { left: 12px; }
.pdp-arrow.next { right: 12px; }
.pdp-arrow.prev .i { transform: rotate(180deg); }
.pdp-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 99px; background: rgba(6, 6, 9, 0.75); color: #FFF; font-family: var(--font-mono); font-size: 11px; }
.pdp-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 66px; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: #2A2A36 transparent; }
.pdp-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg-2); cursor: pointer; opacity: 0.65; transition: opacity 0.12s, border-color 0.12s; }
.pdp-thumbs button.active, .pdp-thumbs button:hover { opacity: 1; }
.pdp-thumbs button.active { border-color: var(--orange); }
.pdp-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.pdp-info { position: sticky; top: 116px; display: grid; gap: 14px; }
.pdp-info h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.pdp-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.pdp-rating .stars { color: #FBBF24; letter-spacing: 1px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp-price .price { font-size: 32px; }
.pdp-lead { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); }
.pdp-buy { display: grid; gap: 8px; }
.pdp-buy .btn-orange-bar, .pdp-buy .btn-dark-bar { height: 50px; font-size: 15px; width: 100%; }
.trust-list { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border-subtle); list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.trust-list .i { color: var(--orange-light); }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.incl div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border-subtle); min-width: 0; }
.incl .i { color: var(--orange-light); }
.incl strong { display: block; font-size: 12.5px; color: #FFF; }
.incl span { display: block; font-size: 11px; color: var(--text-muted); }
.pdp-tabs { margin-top: 18px; }

/* ---------- Responsive Anpassung zwischen beiden Seitenleisten + Handy ---------- */
@media (max-width: 1460px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp-bar { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .hero { padding: 36px 0 36px 34px; }
}
@media (max-width: 1100px) {
  .shop-nav-link { padding: 8px 9px; }
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .shop-top { height: 88px; min-height: 88px; max-height: 88px; }
  .shop-header { height: 56px; min-height: 56px; max-height: 56px; }
  .gpt-sidebar { top: 88px; }
  .shop-layout .app-main { padding-bottom: 0; }
  .shop-layout .app-content { padding: 18px 16px 20px; }
  .shop-layout.has-buy-bar .app-main { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .shop-layout .buy-bar { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .shop-layout .install-banner { top: calc(100px + env(safe-area-inset-top)); }
  .shop-layout .ka-toast-stack { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .shop-layout.has-buy-bar .ka-toast-stack { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .shop-nav, .shop-hide-sm { display: none !important; }
  .shop-burger, .shop-show-sm { display: inline-flex !important; }
  .shop-header-in { height: 56px; min-height: 56px; max-height: 56px; padding: 0 10px; gap: 6px; }
  .shop-logo img { width: 30px; height: 30px; }
  .shop-logo strong { font-size: 15px; }
  .shop-actions { margin-left: auto; }
  .shop-discord-btn, .shop-studio-btn { height: 32px; padding: 0 10px; font-size: 12.5px; gap: 5px; }
  .shop-footer-in { grid-template-columns: 1fr 1fr; padding: 30px 16px 22px; gap: 24px; }
  .shop-footer-brand { grid-column: 1 / -1; }
  .shop-footer-bottom { padding-left: 16px; padding-right: 16px; }

  .hero { grid-template-columns: 1fr; padding: 28px 20px 0; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 14.5px; }
  .hero-img { margin: 0 -20px; }
  .hero-img img { width: 100%; }
  .usp-bar { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .feature.flip .feature-img { order: 0; }
  .feature h3 { font-size: 20px; }
  .design-strip { grid-auto-columns: 46%; }

  .pdp { grid-template-columns: 1fr; gap: 18px; }
  .pdp-info { position: static; }
  .pdp-info h1 { font-size: 24px; }
  .pdp-price .price { font-size: 26px; }
  .pdp-info .pdp-buy { display: none; }
}
@media (max-width: 520px) {
  .pc-grid { grid-template-columns: 1fr; }
  .usp { padding: 12px; gap: 10px; }
  .usp .row-ic { width: 30px; height: 30px; }
  .incl { grid-template-columns: 1fr; }
  .shop-announce { font-size: 11px; gap: 7px; }
}

.feature-img { display: flex; justify-content: center; align-items: center; }
.feature-img img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: 14px; }
@media (max-width: 959px) { .feature-img img { max-width: 100%; } }
@media (max-width: 520px) {
  .pc-img { aspect-ratio: 16 / 11; }
  .pc-img img { object-fit: contain; }
}
.pdp > div { min-width: 0; }
@media (max-width: 959px) { .pdp { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bereichs-Leiste in „Mein Bereich“ ---------- */
.acc-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}
.acc-nav::-webkit-scrollbar { display: none; }
.acc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.acc-link:hover { color: #FFF; background: rgba(255, 255, 255, 0.045); }
.acc-link.active { color: #FFF; background: rgba(255, 106, 0, 0.13); }
.acc-link.active .i { color: var(--orange-light); }
.acc-link .nav-count { margin-left: 2px; }
.shop-actions .btn-dark-bar.is-here { border-color: rgba(255, 255, 255, 0.14); color: #FFF; box-shadow: none; }
@media (max-width: 959px) {
  .acc-nav { margin: -4px -16px 14px; border-radius: 0; border-left: 0; border-right: 0; padding: 6px 12px; }
  .acc-link { height: 34px; padding: 0 12px; font-size: 13px; }
}

/* Vorteils-Leiste: Icon-Kachel nicht als Textzeile behandeln */
.usp .row-ic { display: inline-flex; margin: 0; flex-shrink: 0; }
.usp > div { min-width: 0; }

/* ---------- Profil-Menü (oben rechts) ---------- */
.pm-wrap { position: relative; }
.pm-trigger { cursor: pointer; padding: 0; }
.pm-trigger[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--orange); }
.pm {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #0E0E15;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
  z-index: 80;
  animation: sheetIn 0.14s ease-out;
}
.pm::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 11px;
  width: 10px;
  height: 10px;
  background: #0E0E15;
  border-left: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
  transform: rotate(45deg);
}
.pm-head { display: flex; gap: 14px; align-items: center; padding: 16px; }
.pm-ava { position: relative; cursor: pointer; flex-shrink: 0; }
.pm-ava .ava-lg { width: 56px; height: 56px; font-size: 21px; }
.pm-cam {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #FFF;
  border: 2px solid #0E0E15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pm-cam .i { width: 12px; height: 12px; }
.pm-who { display: flex; flex-direction: column; min-width: 0; }
.pm-who strong { font-size: 14.5px; color: #FFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-who > span:not(.pill) { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-sec { border-top: 1px solid var(--border-subtle); padding: 10px; display: grid; gap: 8px; }
.pm-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pm-btn:hover { color: #FFF; border-color: var(--orange-border); }
.pm-name { display: flex; gap: 6px; }
.pm-name .ui-input { height: 32px; font-size: 13px; flex: 1; min-width: 0; }
.pm-set { display: flex; align-items: center; gap: 10px; padding: 4px 4px; }
.pm-set .row-main strong { font-size: 13px; }
.pm-set .row-main span { font-size: 11.5px; }
.pm-links { gap: 2px; }
.pm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.pm-item:hover { background: rgba(255, 255, 255, 0.05); color: #FFF; }
.pm-out:hover { color: #FDA4AF; }
@media (max-width: 959px) {
  .pm { position: fixed; top: 96px; left: 10px; right: 10px; width: auto; }
  .pm::before { right: 20px; }
}

.btn-orange-bar.is-locked, .btn-orange-bar:disabled.is-locked {
  background: #1A1A25;
  color: var(--text-muted);
  border-color: var(--border-strong);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================================
   Professionelles Support-Center & Live-Ticket-System (kontakt.html)
   ============================================================================ */
.sup-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sup-head-bar h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.sup-head-bar p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.55;
}
.sup-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6EE7B7;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.sup-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  animation: supPulse 2.2s infinite ease-in-out;
}
@keyframes supPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06); }
}

.sup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}
.sup-main, .sup-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* Ticket-Umschalter (Mehrere Tickets auf dem Gerät + Neues Ticket) */
.sup-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.sup-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.sup-tabs::-webkit-scrollbar { display: none; }
.sup-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.sup-tab:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.045);
}
.sup-tab.active {
  color: #FFF;
  background: var(--orange-subtle);
  border-color: var(--orange-border);
}
.sup-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
}
.sup-tab-dot.closed {
  background: var(--text-muted);
}
.sup-tab-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange-light);
}

/* Neues Ticket Formular */
.sup-form-body {
  padding: 20px;
  display: grid;
  gap: 18px;
}
.sup-step-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.sup-step-label span {
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--text-muted);
}

.sup-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sup-cat {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s, background 0.14s, transform 0.12s;
}
.sup-cat:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #FFF;
}
.sup-cat.active {
  border-color: var(--orange);
  background: rgba(255, 106, 0, 0.09);
  color: #FFF;
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.25);
}
.sup-cat-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.sup-cat.active .sup-cat-ic {
  background: var(--orange-subtle);
  border-color: var(--orange-border);
  color: var(--orange-light);
}
.sup-cat-txt {
  min-width: 0;
}
.sup-cat-txt strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.25;
}
.sup-cat-txt span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

/* Absender-Zeile (Eingeloggt vs. Gast) */
.sup-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.sup-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sup-user-info strong {
  display: block;
  font-size: 13.5px;
  color: #FFF;
}
.sup-user-info span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.sup-textarea {
  width: 100%;
  min-height: 128px;
  max-height: 300px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-1);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.sup-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14);
}
.sup-textarea::placeholder {
  color: var(--text-muted);
}

.sup-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  flex-wrap: wrap;
}
.sup-form-foot-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-muted);
}
.sup-form-foot-note .i {
  color: var(--orange-light);
}

/* Aktives Live-Ticket (Konversations-Ansicht) */
.sup-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  flex-wrap: wrap;
}
.sup-ticket-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.sup-ticket-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  color: var(--orange-light);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.sup-ticket-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}
.sup-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 10px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
  font-size: 11.5px;
  font-weight: 600;
}
.sup-live-pill.closed {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: var(--text-muted);
}
.sup-ticket-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sup-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  min-height: 320px;
  max-height: 540px;
  overflow-y: auto;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 106, 0, 0.04), transparent 70%),
    #09090E;
}
.sup-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 86%;
}
.sup-msg.me {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.sup-msg.them {
  align-self: flex-start;
}
.sup-msg-ava {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.sup-msg.me .sup-msg-ava {
  background: rgba(255, 106, 0, 0.16);
  border-color: var(--orange-border);
  color: var(--orange-light);
}
.sup-msg.them .sup-msg-ava {
  background: linear-gradient(135deg, #FF6A00, #E04800);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFF;
}
.sup-msg-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.sup-msg.me .sup-msg-col {
  align-items: flex-end;
}
.sup-msg-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.sup-msg-meta strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.sup-msg-role {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sup-msg-bubble {
  padding: 11px 14px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.sup-msg.me .sup-msg-bubble {
  background: linear-gradient(135deg, #FF6A00, #E85A00);
  color: #FFF;
  border-top-right-radius: 4px;
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.18);
}
.sup-msg.them .sup-msg-bubble {
  background: #151520;
  border: 1px solid var(--border-strong);
  color: #F4F4F6;
  border-top-left-radius: 4px;
}

.sup-sys-card {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.5;
}
.sup-sys-card .i {
  color: var(--orange-light);
  margin-top: 2px;
}
.sup-sys-card strong {
  display: block;
  color: #FFF;
  font-size: 13px;
  margin-bottom: 2px;
}

/* Antwort-Leiste unten im Ticket */
.sup-composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.sup-composer textarea {
  flex: 1;
  min-height: 42px;
  max-height: 140px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-1);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
  resize: none;
  outline: none;
  transition: border-color 0.14s;
}
.sup-composer textarea:focus {
  border-color: var(--orange);
}
.sup-composer textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sup-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 12px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* Discord Direkt-Karte in der Seitenleiste */
.sup-discord-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(88, 101, 242, 0.35);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(88, 101, 242, 0.2), transparent 65%),
    var(--bg-card);
  display: grid;
  gap: 12px;
}
.sup-discord-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sup-discord-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #A5B4FC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sup-discord-head strong {
  display: block;
  font-size: 14.5px;
  color: #FFF;
}
.sup-discord-head span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 959px) {
  .sup-grid { grid-template-columns: 1fr; }
  .sup-head-bar h1 { font-size: 24px; }
  .sup-ticket-title { max-width: 220px; }
}
@media (max-width: 620px) {
  .sup-cats { grid-template-columns: 1fr; }
  .sup-form-body { padding: 16px; }
  .sup-stream { padding: 14px; min-height: 260px; }
  .sup-msg { max-width: 94%; }
  .sup-form-foot .btn-orange-bar { width: 100%; }
}

/* ============================================================================
   Ultra-HD Produkt- & Werbebilder-Einbindung (Sektionen, Promo-Kit, Lightbox)
   ============================================================================ */
.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.split-card.reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.split-card.reverse .split-media {
  order: -1;
}
.split-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.split-media button, .split-media a {
  display: block;
  width: 100%;
  max-width: 340px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-1);
  cursor: zoom-in;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.split-media button:hover, .split-media a:hover {
  transform: translateY(-2px);
  border-color: var(--orange-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.split-media img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-kit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.promo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.promo-card:hover {
  border-color: var(--orange-border);
  transform: translateY(-2px);
}
.promo-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #08080C;
  cursor: zoom-in;
  overflow: hidden;
}
.promo-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s;
}
.promo-card:hover .promo-thumb img {
  transform: scale(1.025);
}
.promo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(6, 6, 9, 0.82);
  border: 1px solid var(--border-strong);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.promo-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.promo-body strong {
  font-size: 12.5px;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-body span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.buy-sheet-prod {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
}
.buy-sheet-prod img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

@media (max-width: 959px) {
  .split-card, .split-card.reverse {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 16px;
  }
  .split-card.reverse .split-media {
    order: 0;
  }
  .promo-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .promo-kit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .promo-body {
    flex-direction: column;
    align-items: stretch;
  }
  .promo-body .btn-dark-bar {
    width: 100%;
  }
}

/* ---------- Alleinstehender KI-Studio Header-Button (exakt gleiche Dimensionen wie .shop-discord-btn) ---------- */
.shop-studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 0, 0.38);
  background: rgba(255, 107, 0, 0.12);
  color: #FFF3E8;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.14s, border-color 0.14s, color 0.14s;
}
.shop-studio-btn .i {
  width: 15px;
  height: 15px;
  color: var(--orange-light);
  transition: color 0.14s;
}
.shop-studio-btn:hover,
.shop-studio-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFF;
}
.shop-studio-btn:hover .i,
.shop-studio-btn.active .i {
  color: #FFF;
}

