/* ============ TrendScout — Winning Product Radar ============ */

:root {
  --bg: #0a0d13;
  --panel: #0f131c;
  --card: #141927;
  --card-hover: #1a2032;
  --border: rgba(255, 255, 255, 0.07);
  --text: #e8ecf4;
  --muted: #8b93a7;
  --accent: #2ee884;
  --accent-dim: rgba(46, 232, 132, 0.12);
  --warn: #ffb648;
  --warn-dim: rgba(255, 182, 72, 0.12);
  --danger: #ff5e6c;
  --danger-dim: rgba(255, 94, 108, 0.12);
  --radius: 14px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ============ Login-Gate ============ */

.gate[hidden] { display: none; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(46, 232, 132, 0.08), transparent),
    var(--bg);
}

/* Cooler animierter Hintergrund hinterm Login (Selfmade.OS-Look): driftendes Tech-Grid + Neon-Glow */
.gate-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gate-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,232,132,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,232,132,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 36%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 36%, #000, transparent 80%);
  animation: gate-grid 24s linear infinite;
}
@keyframes gate-grid { to { background-position: 48px 48px; } }
.gate-bg::after {
  content: ''; position: absolute; left: 50%; top: 34%; transform: translate(-50%,-50%);
  width: min(620px, 150vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,232,132,.18), rgba(46,232,132,.05) 44%, transparent 64%);
  animation: gate-glow 5.5s ease-in-out infinite;
}
@keyframes gate-glow { 0%,100% { opacity:.65; transform: translate(-50%,-50%) scale(1); } 50% { opacity:1; transform: translate(-50%,-50%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .gate-bg::before, .gate-bg::after { animation: none; } }

.gate-card { margin: auto; position: relative; z-index: 1; }

.gate-card {
  width: 100%;
  max-width: 400px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 28px;
  animation: hype-pop 0.45s cubic-bezier(0.2, 1.2, 0.4, 1);
}

.gate-brand { margin-bottom: 26px; }

.gate-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.gate-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }

#gateForm, #gateRegisterForm { display: flex; flex-direction: column; gap: 10px; }
#gateRegisterForm[hidden], #gateForm[hidden] { display: none; }

#gateForm input,
#gateRegisterForm input {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.15s;
}

#gateForm input:focus,
#gateRegisterForm input:focus { border-color: rgba(46, 232, 132, 0.45); }
#gateForm input::placeholder,
#gateRegisterForm input::placeholder { color: var(--muted); }

.gate-switch { text-align: center; margin: 14px 0 0; }
.gate-link { background: none; border: none; color: var(--muted); font-family: var(--font-body); font-size: 13.5px; cursor: pointer; padding: 6px; }
.gate-link b { color: var(--accent); }
.gate-link:hover b { text-decoration: underline; }

.gate-btn { justify-content: center; padding: 13px 18px; font-size: 14.5px; margin-top: 4px; border: none; }
.gate-btn:disabled { opacity: 0.6; cursor: wait; }

.gate-error {
  background: var(--danger-dim);
  border: 1px solid rgba(255, 94, 108, 0.3);
  color: var(--danger);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
}

.gate-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* „Passwort vergessen?" unter dem Login-Button */
.gate-forgot { display: block; width: 100%; text-align: center; margin-top: 2px; font-size: 12.5px; }
.gate-forgot:hover { color: var(--text); text-decoration: underline; }

/* Gratis-Credits-Hinweis im Registrierformular */
.gate-bonus {
  background: var(--accent-dim);
  border: 1px solid rgba(46, 232, 132, 0.3);
  color: var(--accent);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  text-align: center;
  margin: 0 0 4px;
}
.gate-bonus b { color: var(--accent); }

/* Aktivierungs-Screen: Vorteils-Liste */
.activate-perks { list-style: none; margin: 4px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.activate-perks li { position: relative; padding-left: 26px; color: var(--text); font-size: 13.5px; line-height: 1.4; }
.activate-perks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

/* Erfolgs-Hinweise (grün) in den Gate-Formularen */
.gate-ok {
  background: var(--accent-dim);
  border: 1px solid rgba(46, 232, 132, 0.3);
  color: var(--accent);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.5;
}
.gate-error.gate-error-ok {
  background: var(--accent-dim);
  border-color: rgba(46, 232, 132, 0.3);
  color: var(--accent);
}

/* Honeypot: für Menschen unsichtbar (offscreen), aber im DOM/für Bots da.
   Bewusst nicht display:none — manche Bots überspringen ausgeblendete Felder. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* E-Mail-Bestätigungs-Banner über dem Hauptbereich */
.verify-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 182, 72, 0.14), rgba(255, 182, 72, 0.06));
  border: 1px solid rgba(255, 182, 72, 0.32);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--text);
}
.verify-banner .vb-ic { font-size: 18px; flex: none; }
.verify-banner .vb-text { flex: 1; line-height: 1.45; }
.verify-banner .vb-btn {
  flex: none;
  background: var(--accent);
  color: #06210f;
  border: none;
  border-radius: 9px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}
.verify-banner .vb-btn:disabled { opacity: 0.6; cursor: wait; }
.verify-banner .vb-close {
  flex: none;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.verify-banner .vb-close:hover { color: var(--text); }
@media (max-width: 560px) {
  .verify-banner { flex-wrap: wrap; }
  .verify-banner .vb-text { flex: 1 1 100%; order: 2; }
}

/* ============ Layout ============ */

.layout[hidden] { display: none; }

.layout { display: flex; min-height: 100vh; }

.main {
  flex: 1;
  min-width: 0;
  padding: 28px 32px 64px;
  max-width: 1320px;
}

/* ============ Sidebar ============ */

.sidebar {
  width: 252px;
  flex-shrink: 0;
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }

.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ee884, #0fa860);
  color: #06210f;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav { display: flex; flex-direction: column; gap: 4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; }
.nav::-webkit-scrollbar { height: 4px; width: 4px; }
.nav::-webkit-scrollbar-track { background: transparent; }
.nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}

.nav-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.nav-item.active { background: var(--accent-dim); color: var(--accent); }
.nav-item.active .nav-count { background: var(--accent); color: #06210f; }

.nav-emoji { font-size: 16px; width: 22px; text-align: center; }
.nav-label { flex: 1; }

.nav-count {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border-radius: 20px;
  padding: 1px 8px;
  min-width: 24px;
  text-align: center;
}

.sidebar-foot { margin-top: auto; padding: 0 8px; }

.update-info { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.update-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.update-label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.update-date { display: block; font-size: 13px; font-weight: 600; }
.update-next { display: block; font-size: 11.5px; color: var(--accent); margin-top: 2px; }
.update-hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.user-name { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.logout-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.logout-btn:hover { color: var(--danger); border-color: rgba(255, 94, 108, 0.4); }

/* ============ Countdown ============ */

.countdown[hidden] { display: none; }

.countdown {
  display: flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(90deg, rgba(46, 232, 132, 0.12), rgba(46, 232, 132, 0.02));
  border: 1px solid rgba(46, 232, 132, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.cd-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: cd-pulse 1.6s ease-in-out infinite;
}

@keyframes cd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 232, 132, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(46, 232, 132, 0); }
}

.cd-text b { color: var(--accent); font-family: var(--font-head); font-weight: 700; }

/* ============ Ecom News ============ */

.news[hidden] { display: none; }
.news { margin-bottom: 14px; }
.news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.news-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.news-updated { font-size: 11.5px; color: var(--muted); }

.news-row {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.news-row::-webkit-scrollbar { height: 5px; }
.news-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }

.news-card {
  flex: 0 0 230px; max-width: 230px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 15px; transition: border-color 0.18s, transform 0.18s;
}
.news-card:hover { border-color: rgba(46,232,132,0.3); transform: translateY(-2px); }
.news-cat { font-size: 10.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.news-card-title { font-family: var(--font-head); font-size: 14.5px; font-weight: 600; margin: 6px 0 5px; line-height: 1.3; }
.news-blurb { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.news-sep { height: 1px; margin: 0 0 20px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent); }

/* ============ Topbar ============ */

.topbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }

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

.search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--muted);
  pointer-events: none;
}

#search {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px 11px 40px;
  outline: none;
  transition: border-color 0.15s;
}

#search:focus { border-color: rgba(46, 232, 132, 0.45); }
#search::placeholder { color: var(--muted); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; }

.cat-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.cat-chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.18); }
.cat-chip.active { background: var(--accent-dim); border-color: rgba(46, 232, 132, 0.4); color: var(--accent); }

/* ============ Section-Header ============ */

.section-head { margin-bottom: 24px; }

.section-head h1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.section-head p { color: var(--muted); font-size: 14.5px; max-width: 640px; }

/* ============ Grid & Cards ============ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s, background 0.18s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 232, 132, 0.35);
  background: var(--card-hover);
}

.card-tile {
  position: relative;
  height: 130px;
  display: grid;
  place-items: center;
  font-size: 52px;
}

/* Kategorie-Gradients */
.g-beauty   { background: linear-gradient(135deg, #3d1f47, #6b2d5c); }
.g-home     { background: linear-gradient(135deg, #1f3047, #2d4a6b); }
.g-fitness  { background: linear-gradient(135deg, #1f4734, #2d6b4a); }
.g-pets     { background: linear-gradient(135deg, #47351f, #6b522d); }
.g-tech     { background: linear-gradient(135deg, #25204d, #3d3580); }
.g-kids     { background: linear-gradient(135deg, #47201f, #6b3a2d); }
.g-fashion  { background: linear-gradient(135deg, #401f47, #5c2d6b); }
.g-outdoor  { background: linear-gradient(135deg, #1f4740, #2d6b60); }
.g-auto     { background: linear-gradient(135deg, #2e333d, #4a5266); }

.badge-new {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #06210f;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 6px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.badge-score {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-score .dot { width: 7px; height: 7px; border-radius: 50%; }
.score-high .dot { background: var(--accent); }
.score-mid .dot { background: var(--warn); }
.score-low .dot { background: var(--danger); }

.card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card-name { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }

.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.chip {
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}

.chip-cat { background: rgba(255, 255, 255, 0.07); color: var(--muted); }

.chip-sat-low  { background: var(--accent-dim); color: var(--accent); }
.chip-sat-medium { background: var(--warn-dim); color: var(--warn); }
.chip-sat-high { background: var(--danger-dim); color: var(--danger); }

.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-buy { font-size: 12.5px; color: var(--muted); }
.price-sell { font-size: 16px; font-weight: 700; color: var(--accent); font-family: var(--font-head); }

.card-platforms { display: flex; gap: 5px; flex-wrap: wrap; }

.pf {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
}

/* ============ Empty State ============ */

.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty span { font-size: 40px; display: block; margin-bottom: 12px; }

/* ============ Modal ============ */

.modal-backdrop[hidden] { display: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.modal {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin-right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
}

.modal-close:hover { background: var(--danger); border-color: var(--danger); }

.m-head {
  padding: 36px 32px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.m-emoji {
  width: 84px; height: 84px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 44px;
  flex-shrink: 0;
}

.m-title h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.m-title .card-meta { gap: 7px; }

.m-section { padding: 0 32px 24px; }

.m-section h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.m-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
}

.stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 3px; }
.stat-value { font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.stat-value.green { color: var(--accent); }
.stat-value.amber { color: var(--warn); }
.stat-value.red { color: var(--danger); }

.m-desc { color: var(--text); font-size: 14.5px; }

.info-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }

.info-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-row .ico { font-size: 18px; flex-shrink: 0; }
.info-row b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.info-row span { font-size: 13.5px; }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.benefit-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

.benefit-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.benefit-list.warn li::before { content: '⚠'; color: var(--danger); }

.m-links { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.15s;
}

.btn-primary { background: var(--accent); color: #06210f; border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: var(--card); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }
.btn-disabled { background: var(--card); color: var(--muted); cursor: default; pointer-events: none; }

.creative {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.creative-format {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: inline-block;
  background: var(--accent-dim);
  border-radius: 5px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.creative-hook { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.creative-angle { font-size: 13px; color: var(--muted); }

.m-why {
  background: var(--accent-dim);
  border: 1px solid rgba(46, 232, 132, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
}

.m-why.warn { background: var(--danger-dim); border-color: rgba(255, 94, 108, 0.3); }

.m-sources { font-size: 12px; color: var(--muted); padding-bottom: 32px; }

/* ============ Admin-Panel ============ */

.nav-divider { height: 1px; background: var(--border); margin: 8px 6px; }

/* Dezente, transparente Trennlinie (Produkte ↔ Community/Guide) */
.nav-sep {
  height: 1px;
  margin: 12px 12px 10px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
}

.nav-admin .nav-emoji { filter: saturate(1.2); }
.nav-admin.active { background: rgba(120, 160, 255, 0.14); color: #9cc0ff; }

#adminView { max-width: 980px; }

.admin-create {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}

.admin-create h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.admin-create-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.admin-create-form input,
.admin-create-form select {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s;
}

.admin-create-form input:focus,
.admin-create-form select:focus { border-color: rgba(46, 232, 132, 0.45); }
.admin-create-form input::placeholder { color: var(--muted); }
.admin-create-form .btn { border: none; padding: 11px 20px; }

.admin-error {
  margin-top: 12px;
  background: var(--danger-dim);
  border: 1px solid rgba(255, 94, 108, 0.3);
  color: var(--danger);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
}

.pw-reveal[hidden] { display: none; }

.pw-reveal {
  margin-top: 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(46, 232, 132, 0.3);
  border-radius: 10px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pw-reveal-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pw-reveal code { font-size: 16px; font-weight: 700; color: var(--accent); font-family: ui-monospace, Menlo, monospace; word-break: break-all; }
.pw-reveal .btn { border: none; flex-shrink: 0; padding: 9px 16px; }

.admin-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr.is-banned { opacity: 0.55; }
.admin-table .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--muted); }
.admin-loading { text-align: center; color: var(--muted); padding: 28px; }

.you-tag { color: var(--accent); font-size: 12px; }

.role-select {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 6px 10px;
  cursor: pointer;
}
.role-select:disabled { opacity: 0.5; cursor: not-allowed; }

.status-badge {
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 9px;
}
.status-badge.active { background: var(--accent-dim); color: var(--accent); }
.status-badge.banned { background: var(--danger-dim); color: var(--danger); }

.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.mini-btn {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 11px;
  cursor: pointer;
  transition: all 0.15s;
}
.mini-btn:hover { border-color: rgba(255, 255, 255, 0.25); }
.mini-btn.ban:hover { color: var(--warn); border-color: rgba(255, 182, 72, 0.4); }
.mini-btn.unban:hover { color: var(--accent); border-color: rgba(46, 232, 132, 0.4); }
.mini-btn.danger:hover { color: var(--danger); border-color: rgba(255, 94, 108, 0.4); }

@media (max-width: 760px) {
  .admin-create-form { grid-template-columns: 1fr; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 620px; }
}

/* ============ Hype-Popup ============ */

.hype-backdrop[hidden] { display: none; }

.hype-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hype {
  position: relative;
  background: linear-gradient(160deg, #101826, #0c1410);
  border: 2px solid rgba(46, 232, 132, 0.55);
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(46, 232, 132, 0.25), 0 0 120px rgba(46, 232, 132, 0.1);
  padding: 56px 48px 44px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  animation: hype-pop 0.55s cubic-bezier(0.18, 1.4, 0.4, 1);
}

@keyframes hype-pop {
  0% { transform: scale(0.4) rotate(-4deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.hype-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
}

.hype-close:hover { background: var(--danger); border-color: var(--danger); transform: rotate(90deg); }

.hype-emoji {
  font-size: 64px;
  animation: hype-bounce 1s ease-in-out infinite;
}

@keyframes hype-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hype-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  background: linear-gradient(100deg, #2ee884 20%, #d6ffe9 50%, #2ee884 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hype-shine 2.2s linear infinite;
}

@keyframes hype-shine {
  to { background-position: 200% center; }
}

.hype-sub { color: var(--muted); font-size: 15px; }

@media (max-width: 880px) {
  .hype { padding: 44px 24px 36px; }
}

/* ============ Sidebar-Avatar / Identität ============ */

.user-id { display: flex; align-items: center; gap: 9px; min-width: 0; }

.avatar-mini {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #333;
  overflow: hidden;
}

/* ============ Login-Marketing (Verknappung) ============ */

.join-cta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.join-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }

.join-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--warn);
  background: var(--warn-dim);
  border-radius: 20px;
  padding: 4px 11px;
  letter-spacing: 0.02em;
}

.join-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.join-sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; line-height: 1.5; }

.join-scarcity { margin-bottom: 14px; }
.join-bar { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 20px; overflow: hidden; margin-bottom: 6px; }
.join-bar-fill {
  display: block; height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--warn), var(--danger));
  border-radius: 20px;
  transition: width 0.6s ease;
}
.join-spots { font-size: 12.5px; color: var(--text); }
.join-spots b { color: var(--warn); }

.join-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.price-new { font-size: 26px; font-weight: 800; font-family: var(--font-head); color: var(--accent); }
.price-tag { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-dim); border-radius: 6px; padding: 3px 8px; }

.join-btn { width: 100%; justify-content: center; border: none; padding: 13px; font-size: 14.5px; }
.join-btn:hover { transform: translateY(-1px); }
.join-fine { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ============ Mein Konto ============ */

#accountView { max-width: 880px; }

.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.account-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.account-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 16px; }

.avatar-row { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }

.avatar-big {
  width: 76px; height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  background: #333;
  overflow: hidden;
}

.avatar-actions { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.avatar-actions .btn { padding: 8px 14px; }
.account-hint { font-size: 12px; color: var(--accent); margin-top: 2px; }

.field-label { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 5px; text-transform: uppercase; letter-spacing: 0.04em; }

.account-card input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s;
}
.account-card input:focus { border-color: rgba(46, 232, 132, 0.45); }
.account-card .btn { margin-top: 16px; border: none; }

.account-msg { margin-top: 12px; font-size: 13px; border-radius: 9px; padding: 9px 12px; }
.account-msg.ok { background: var(--accent-dim); color: var(--accent); }
.account-msg.err { background: var(--danger-dim); color: var(--danger); }

/* ============ Rollen-Badges ============ */

.role-ceo { color: #ffcf33 !important; }
.role-pro { color: var(--accent); }
.role-member { color: var(--muted); }

.chat-rolebadge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 5px;
  padding: 1px 6px;
}
.chat-rolebadge.role-ceo { background: rgba(255, 207, 51, 0.16); color: #ffcf33; }
.chat-rolebadge.role-pro { background: var(--accent-dim); color: var(--accent); }
.chat-rolebadge.role-member { background: rgba(255, 255, 255, 0.07); color: var(--muted); }

/* ============ Community-Chat ============ */

#chatView { max-width: 820px; }

.chat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 230px);
  min-height: 380px;
  overflow: hidden;
}

.chat-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.chat-loading { text-align: center; color: var(--muted); padding: 28px; font-size: 14px; }

.chat-msg { display: flex; gap: 11px; align-items: flex-start; }
.chat-msg.mine { flex-direction: row-reverse; }

.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.chat-bubble {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 13px;
  max-width: 76%;
}
.chat-msg.mine .chat-bubble { background: var(--accent-dim); border-color: rgba(46, 232, 132, 0.25); }

.chat-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; flex-wrap: wrap; }
.chat-author { font-size: 13px; font-weight: 600; }
.chat-author.role-ceo { font-weight: 800; }
.chat-time { font-size: 11px; color: var(--muted); }
.chat-del {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.5;
  transition: all 0.15s;
}
.chat-del:hover { color: var(--danger); opacity: 1; }
.chat-text { font-size: 14px; line-height: 1.5; word-break: break-word; white-space: pre-wrap; }

.chat-input-row { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }
.chat-input-row input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
}
.chat-input-row input:focus { border-color: rgba(46, 232, 132, 0.45); }
.chat-input-row input:disabled { opacity: 0.6; cursor: not-allowed; }
.chat-input-row .btn { border: none; flex-shrink: 0; min-width: 92px; }
.chat-input-row .btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ============ Chat: Online, Ränge, Reply, Punkte ============ */

.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ranks-btn { flex-shrink: 0; padding: 9px 15px; white-space: nowrap; }

.chat-mybar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(46,232,132,0.1), transparent);
  border: 1px solid rgba(46,232,132,0.22);
  border-radius: 12px; padding: 10px 15px; margin-bottom: 14px; font-size: 13px;
}
.mybar-rank { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.mybar-pts { color: var(--muted); }
.mybar-pts b { color: var(--text); }

.chat-avatar { position: relative; }
.chat-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--muted); border: 2px solid var(--card);
}
.chat-dot.on { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

.online-tag {
  font-size: 10px; font-weight: 700; color: var(--accent);
  background: var(--accent-dim); border-radius: 5px; padding: 1px 6px; text-transform: uppercase; letter-spacing: 0.04em;
}

.chat-tier {
  font-size: 11px; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,0.07); border-radius: 5px; padding: 1px 7px;
}

.chat-reply-quote {
  border-left: 3px solid rgba(46,232,132,0.5);
  background: rgba(255,255,255,0.04);
  border-radius: 0 8px 8px 0;
  padding: 5px 10px; margin-bottom: 6px; font-size: 12.5px; color: var(--muted);
}
.chat-reply-quote b { color: var(--text); }

.chat-actions { display: flex; gap: 12px; margin-top: 5px; opacity: 0; transition: opacity 0.15s; }
.chat-msg:hover .chat-actions { opacity: 1; }
.chat-reply, .chat-del {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 11.5px; color: var(--muted); padding: 0;
}
.chat-reply:hover { color: var(--accent); }
.chat-del:hover { color: var(--danger); }

.reply-bar {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border); padding: 10px 14px;
  background: rgba(46,232,132,0.05);
}
.reply-bar[hidden] { display: none; }
.reply-bar-inner { flex: 1; min-width: 0; font-size: 12.5px; }
.reply-bar-label { color: var(--accent); }
.reply-bar-text { color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply-cancel { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.reply-cancel:hover { color: var(--danger); }

.point-toast {
  position: fixed; bottom: 28px; left: 50%; z-index: 250;
  background: var(--accent); color: #06210f; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 30px;
  box-shadow: 0 8px 30px rgba(46,232,132,0.4);
  opacity: 0; transform: translateX(-50%) translateY(20px); transition: all 0.3s;
}
.point-toast.warn { background: var(--warn); color: #2a1c00; box-shadow: 0 8px 30px rgba(255,182,72,0.4); }
.point-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Ränge-Modal ============ */

.ranks-modal { max-width: 560px; }
.ranks-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.ranks-intro { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.ranks-rules { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ranks-rules li { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.ranks-rules b { color: var(--accent); }
.ranks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rank-cell {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; text-align: center; position: relative;
}
.rank-emoji { font-size: 30px; display: block; margin-bottom: 4px; }
.rank-name { font-family: var(--font-head); font-weight: 700; display: block; font-size: 14px; }
.rank-min { font-size: 11.5px; color: var(--muted); }
.rank-mod { position: absolute; top: 8px; right: 8px; font-size: 9.5px; font-weight: 700; color: #ffcf33; background: rgba(255,207,51,0.16); border-radius: 5px; padding: 1px 6px; text-transform: uppercase; }
.ranks-foot { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ============ Ecom Winner Guide (Promo-Section) ============ */

#guideView { max-width: 1000px; }

.guide-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46,232,132,0.12), transparent),
    var(--card);
  border: 1px solid rgba(46,232,132,0.25);
  border-radius: 20px; padding: 40px 32px; text-align: center; margin-bottom: 30px;
}
.guide-flag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-dim); border-radius: 20px; padding: 6px 14px; margin-bottom: 16px; }
.guide-h1 { font-family: var(--font-head); font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.guide-lead { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 640px; margin: 0 auto 24px; }
.guide-deal { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 14px 22px; margin-bottom: 22px; }
.guide-deal-text { color: var(--muted); font-size: 13.5px; }
.guide-cta { padding: 15px 28px; font-size: 15.5px; border: none; }
.guide-cta:hover { transform: translateY(-2px); }
.guide-fine { font-size: 12px; color: var(--muted); margin-top: 14px; }

.guide-modules-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 18px; text-align: center; }
.guide-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 32px; }
.guide-module { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; transition: border-color 0.18s, transform 0.18s; }
.guide-module:hover { border-color: rgba(46,232,132,0.35); transform: translateY(-3px); }
.guide-module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.guide-module-emoji { font-size: 30px; }
.guide-module-num { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; background: var(--accent-dim); border-radius: 6px; padding: 3px 9px; }
.guide-module h4 { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.guide-module p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.guide-bottom { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 34px 28px; text-align: center; }
.guide-bottom h3 { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.guide-bottom p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 560px; margin: 0 auto 22px; }

.nav-guide.active { background: rgba(46,232,132,0.14); color: var(--accent); }

/* ============ Admin: Aktivität ============ */

.activity-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
.activity-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.activity-head h3 { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.activity-head select {
  background: var(--panel); border: 1px solid var(--border); border-radius: 9px; color: var(--text);
  font-family: var(--font-body); font-size: 13px; padding: 7px 11px; cursor: pointer;
}
.activity-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.activity-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.activity-id { display: flex; align-items: center; gap: 9px; min-width: 0; }
.activity-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.activity-dot.on { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.activity-name { font-size: 13.5px; font-weight: 500; }
.activity-badge { font-size: 11.5px; color: var(--muted); }
.activity-right { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ============ VIP-Rolle ============ */

.role-vip { color: #b07cff !important; }
.chat-rolebadge.role-vip { background: rgba(176, 124, 255, 0.16); color: #b07cff; }
.nav-guide.active { background: rgba(46, 232, 132, 0.14); color: var(--accent); }

/* ============ Guide: Verkaufsseite mit Schlössern ============ */

.guide-module.locked { position: relative; opacity: 0.85; }
.guide-module.locked .guide-module-top { justify-content: space-between; }
.guide-lock { font-size: 20px; }

.vip-bonus {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(176,124,255,0.14), transparent),
    var(--card);
  border: 1px solid rgba(176,124,255,0.35);
  border-radius: 18px; padding: 26px 28px; margin-bottom: 24px;
}
.vip-bonus-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; color: #d3b4ff; background: rgba(176,124,255,0.16); border-radius: 20px; padding: 5px 13px; margin-bottom: 12px; }
.vip-bonus h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.vip-grad { background: linear-gradient(100deg, #b07cff, #e0ccff, #b07cff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vip-bonus > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.vip-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vip-perks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.vip-perks li span { font-size: 18px; flex-shrink: 0; }
.vip-perks b { color: var(--text); }

.unlock-hint {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(120deg, rgba(255,182,72,0.1), transparent);
  border: 1px solid rgba(255,182,72,0.3);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 30px;
  font-size: 14px; line-height: 1.6;
}
.unlock-hint-ico { font-size: 26px; flex-shrink: 0; }
.unlock-hint b { color: var(--warn); }

/* ============ Guide: Kursbereich ============ */

#guideCourse { max-width: 920px; }
.course-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.course-progress-overall { flex-shrink: 0; text-align: right; min-width: 180px; }
.cpo-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); display: block; margin-bottom: 6px; }
.cpo-bar { height: 10px; background: rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; }
.cpo-bar span { display: block; height: 100%; background: linear-gradient(90deg, #0fa860, #2ee884); border-radius: 20px; transition: width 0.5s ease; }
.cpo-pct { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 14px; }

.course-modules { display: flex; flex-direction: column; gap: 14px; }

.course-module { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.course-module.complete { border-color: rgba(46,232,132,0.4); }
.course-module.locked { opacity: 0.6; }

.cm-head { display: flex; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; }
.course-module.locked .cm-head { cursor: not-allowed; }
.cm-emoji { font-size: 32px; flex-shrink: 0; }
.cm-titles { flex: 1; min-width: 0; }
.cm-num { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.cm-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin: 2px 0; }
.cm-summary { font-size: 13px; color: var(--muted); }
.cm-right { flex-shrink: 0; }
.cm-prog { display: flex; align-items: center; gap: 9px; }
.cm-prog-bar { width: 70px; height: 7px; background: rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; }
.cm-prog-bar span { display: block; height: 100%; background: var(--accent); border-radius: 20px; transition: width 0.3s; }
.cm-prog-txt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cm-locktag { font-size: 12px; color: var(--warn); white-space: nowrap; }

.cm-body { padding: 4px 20px 20px; border-top: 1px solid var(--border); }

/* Loftfilm-Erklärfilm: mehrszeniger Flat-Design-Player */
.film { position: relative; border-radius: 16px; overflow: hidden; margin: 16px 0; border: 1px solid var(--border); background: #0f131c; }
.film-stage { position: relative; }
.film-svg { width: 100%; height: auto; max-height: 318px; display: block; margin: 0 auto; }
/* SVG-Elemente, die per Beat-Engine nacheinander erscheinen */
.film-svg .beat { opacity: 0; transform-box: fill-box; transform-origin: center; }
.film-svg .beat.beat-in { animation: beatIn .5s cubic-bezier(.2,1.35,.4,1) forwards; }
@keyframes beatIn { from { opacity: 0; transform: translateY(12px) scale(.88); } to { opacity: 1; transform: translateY(0) scale(1); } }
/* Karaoke-Untertitel: jedes Wort erscheint, sobald es gesprochen wird */
.film-caption .capw { display: inline-block; opacity: 0; }
.film-caption .capw.capw-in { animation: capwIn .24s ease forwards; }
@keyframes capwIn { from { opacity: 0; transform: translateY(5px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.film-caption {
  position: absolute; left: 0; right: 0; bottom: 30px;
  text-align: center; padding: 0 40px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(15px, 2.6vw, 20px);
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(10px);
}
.film-caption.show { animation: filmCap .5s ease forwards; }
@keyframes filmCap { to { opacity: 1; transform: translateY(0); } }
.film:not(.playing):not(.done) .film-caption { display: none; }

.film-play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  display: flex; align-items: center; gap: 10px;
  background: rgba(46,232,132,0.95); color: #06210f; border: none; border-radius: 30px;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px; padding: 13px 24px;
  cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.4); transition: transform .15s;
}
.film-play:hover { transform: scale(1.05); }
.film-tri { font-size: 12px; }
.film.playing .film-play { display: none; }
.film.done .film-play { display: flex; background: rgba(255,255,255,0.92); }

.film-dots { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.film-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: background .2s; }
.film-dot.on { background: var(--accent); }

.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.08); }
.film-bar span { display: block; height: 100%; width: 0; background: var(--accent); }

.film-tag { position: absolute; left: 14px; bottom: 102px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); border-radius: 20px; padding: 4px 11px; }

/* Szenen-Einblend-Animationen (laufen einmal bei Szenenwechsel) */
.fi-pop { transform-box: fill-box; transform-origin: center; animation: fiPop .5s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes fiPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.fi-rise { animation: fiRise .55s ease both; }
@keyframes fiRise { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.fi-fade { opacity: 0; animation: fiFade .5s ease forwards; }
@keyframes fiFade { to { opacity: .9; } }
.fi-fly { transform-box: fill-box; transform-origin: center; animation: fiFly 1.5s ease-in-out infinite alternate; }
@keyframes fiFly { from { transform: translateY(7px); } to { transform: translateY(-11px); } }
.fi-drop { transform-box: fill-box; animation: fiDrop 1.7s ease-in infinite; }
@keyframes fiDrop { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(90px); opacity: 0; } }
.fi-conv { transform-box: fill-box; animation: fiConv 2.6s linear infinite; }
@keyframes fiConv { from { transform: translateX(0); } to { transform: translateX(280px); } }
.mentor-arm { transform-box: fill-box; transform-origin: top center; animation: fiWave 0.8s ease-in-out infinite; }
@keyframes fiWave { 0%,100% { transform: rotate(-30deg); } 50% { transform: rotate(8deg); } }
.mentor-bubble { transform-box: fill-box; transform-origin: left center; animation: fiPop .5s cubic-bezier(.2,1.3,.4,1) .2s both; }
.fi-flow { transform-box: fill-box; opacity: 0; animation: fiFlow 1.6s ease-in infinite; }
@keyframes fiFlow { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(150px); opacity: 0; } }
.fi-pulse { transform-box: fill-box; transform-origin: center; animation: fiPulse 1.3s ease-in-out infinite; }
@keyframes fiPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .72; } }
.fi-draw { stroke-dasharray: 380; stroke-dashoffset: 380; animation: fiDraw 1.5s ease forwards; }
@keyframes fiDraw { to { stroke-dashoffset: 0; } }
.fi-click { transform-box: fill-box; transform-origin: top left; animation: fiClick 1.4s ease-in-out infinite; }
@keyframes fiClick { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-3px,-3px) scale(.85); } }

/* ----- Sprechender Mentor + Player-Steuerung ----- */
.film-screen { position: relative; padding-bottom: 118px; }
/* Narration als aufploppende Sprechblase (kein Textband mehr über dem Bild) */
.film.playing .film-caption, .film.done .film-caption {
  left: 50%; right: auto; top: auto; bottom: 14px; transform: translateX(-50%);
  width: max-content; max-width: 86%; padding: 13px 22px; text-align: center;
  background: rgba(12,16,24,0.96); border: 1.5px solid rgba(46,232,132,0.5);
  border-radius: 18px; box-shadow: 0 12px 34px rgba(0,0,0,.5);
  font-size: clamp(13px, 2.2vw, 18px); line-height: 1.42; color: #fff; text-shadow: none; z-index: 5;
}
.film.playing .film-caption::after, .film.done .film-caption::after {
  content: ''; position: absolute; top: -8px; left: 50%; margin-left: -8px; width: 15px; height: 15px;
  background: rgba(12,16,24,0.96); border-left: 1.5px solid rgba(46,232,132,0.5); border-top: 1.5px solid rgba(46,232,132,0.5);
  transform: rotate(45deg); border-radius: 3px 0 0 0;
}
.film-caption.show { animation: capPop .42s cubic-bezier(.2,1.3,.4,1) forwards; }
@keyframes capPop { from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(.9); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
.film-narrator { position: absolute; left: 14px; bottom: 124px; width: 66px; z-index: 4; animation: fiRise .5s ease both; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); }
.film-svg .beat.beat-in.beat-slidel { animation: fiSlideL .5s cubic-bezier(.2,1.2,.4,1) forwards; }
.film-narrator.hidden { display: none; }
.mentor-av { width: 100%; height: auto; display: block; }
.mentor-eye { transform-box: fill-box; transform-origin: center; animation: mentorBlink 4.2s infinite; }
@keyframes mentorBlink { 0%,93%,100% { transform: scaleY(1); } 96% { transform: scaleY(.12); } }
.mentor-mouth { transform-box: fill-box; transform-origin: center; }
.film-screen.talking:not(.lipsync) .mentor-mouth { animation: mentorTalk .26s ease-in-out infinite alternate; }
@keyframes mentorTalk { from { transform: scaleY(.45); } to { transform: scaleY(1.3); } }
/* Lip-Sync: Mund folgt der echten Audio-Lautstärke (Web Audio) */
.film-screen.lipsync .mentor-mouth { animation: none; transform: scaleY(var(--mouth, 0.5)); }
/* Intro-Flourish */
.fi-crownfly { transform-box: fill-box; transform-origin: center bottom; animation: fiCrown .9s cubic-bezier(.2,1.4,.4,1) .25s both; }
@keyframes fiCrown { 0% { transform: translateY(-46px) scale(.7) rotate(-12deg); opacity: 0; } 60% { transform: translateY(4px) rotate(4deg); opacity: 1; } 100% { transform: translateY(0) rotate(0); opacity: 1; } }
.fi-spark { transform-box: fill-box; transform-origin: center; animation: fiSparkle 1.9s ease-in-out infinite both; }
@keyframes fiSparkle { 0%,100% { transform: scale(.2); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }
.fi-spin { transform-box: fill-box; transform-origin: center; animation: fiSpin 9s linear infinite; }
@keyframes fiSpin { to { transform: rotate(360deg); } }

/* ===== Erweitertes Bewegungs-Toolkit (Motion-Graphics-Gefühl) ===== */
.fi-grow { transform-box: fill-box; transform-origin: center bottom; animation: fiGrow .65s cubic-bezier(.2,1,.3,1) both; }
@keyframes fiGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.fi-slidel { animation: fiSlideL .55s cubic-bezier(.2,1,.3,1) both; }
@keyframes fiSlideL { from { transform: translateX(-26px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.fi-glow { animation: fiGlow 2.2s ease-in-out infinite; }
@keyframes fiGlow { 0%,100% { filter: drop-shadow(0 0 1px rgba(46,232,132,.2)); } 50% { filter: drop-shadow(0 0 7px rgba(46,232,132,.75)); } }
.fi-float2 { transform-box: fill-box; animation: fiFloat2 3.2s ease-in-out infinite; }
@keyframes fiFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.fi-feed { transform-box: fill-box; animation: fiFeed 4s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes fiFeed { 0%,8% { transform: translateY(0); } 42%,100% { transform: translateY(-92px); } }
.fi-thumb { transform-box: fill-box; animation: fiThumb 4s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes fiThumb { 0%,8% { transform: translateY(34px); opacity: .9; } 42%,72% { transform: translateY(-44px); opacity: 1; } 100% { transform: translateY(-44px); opacity: .9; } }
.fi-stamp { transform-box: fill-box; transform-origin: center; animation: fiStamp .6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes fiStamp { 0% { transform: scale(2.4); opacity: 0; } 60% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1); } }
.fi-coin { transform-box: fill-box; animation: fiCoinDrop 1.4s ease-in infinite; }
@keyframes fiCoinDrop { 0% { transform: translateY(-74px); opacity: 0; } 18% { opacity: 1; } 58% { transform: translateY(0); } 68% { transform: translateY(-7px); } 100% { transform: translateY(0); opacity: 1; } }
.fi-cursor2 { transform-box: fill-box; animation: fiCursor 2.6s ease-in-out infinite; }
@keyframes fiCursor { 0% { transform: translate(34px,30px); } 40% { transform: translate(0,0); } 50% { transform: translate(0,0) scale(.82); } 60% { transform: translate(0,0); } 100% { transform: translate(34px,30px); } }
.fi-flame { transform-box: fill-box; transform-origin: bottom center; animation: fiFlame .5s ease-in-out infinite alternate; }
@keyframes fiFlame { from { transform: scaleY(.78) translateY(2px); opacity: .85; } to { transform: scaleY(1.18); opacity: 1; } }
.fi-drive { transform-box: fill-box; animation: fiDrive 4.2s linear infinite; }
@keyframes fiDrive { 0% { transform: translateX(-150px); } 100% { transform: translateX(330px); } }
.fi-belt { transform-box: fill-box; animation: fiBelt 3.6s linear infinite; }
@keyframes fiBelt { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(300px); opacity: 0; } }
.fi-roll { transform-box: fill-box; transform-origin: center; animation: fiSpin 1.6s linear infinite; }
.fi-ringdraw { stroke-dasharray: 366; stroke-dashoffset: 366; animation: fiRingDraw 1.1s ease forwards; }
@keyframes fiRingDraw { to { stroke-dashoffset: 0; } }
.fi-grow2 { transform-box: fill-box; transform-origin: left center; animation: fiGrowX 1s ease .15s both; }
@keyframes fiGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Sanfter Szenen-Übergang */
.film-stage.swap { animation: sceneSwap .5s ease; }
@keyframes sceneSwap { 0% { opacity: .15; transform: translateY(10px) scale(.985); } 100% { opacity: 1; transform: none; } }

.film-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: #11151f; border-top: 1px solid var(--border); }
.film:not(.playing):not(.done) .film-controls { display: none; }
.film-ctrl { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border); border-radius: 20px; font: 600 12.5px var(--font-body); padding: 7px 13px; cursor: pointer; transition: background .15s, border-color .15s; }
.film-ctrl:hover { background: rgba(255,255,255,0.12); border-color: var(--accent); }
.film-mute.off { color: var(--muted); }
.film-voicewrap { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.film-voice { max-width: 200px; padding: 7px 10px; cursor: pointer; appearance: none; -webkit-appearance: none; }
.film-voice:hover { border-color: var(--accent); }
.film-hint { font-size: 11.5px; color: var(--muted); margin-left: auto; }
@media (max-width: 680px) { .film-hint { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .fi-fly,.fi-drop,.fi-conv,.mentor-arm,.fi-flow,.fi-pulse,.fi-click,.mentor-eye,.fi-crownfly,.fi-spark,.fi-spin,
  .fi-glow,.fi-float2,.fi-feed,.fi-thumb,.fi-coin,.fi-cursor2,.fi-flame,.fi-drive,.fi-belt,.fi-roll { animation: none; }
  .film-screen.talking:not(.lipsync) .mentor-mouth { animation: none; }
  .film-stage.swap { animation: none; }
  .film-svg .beat { opacity: 1; }
  .film-svg .beat.beat-in { animation: none; }
  .film-caption .capw { opacity: 1; }
  .film-caption .capw.capw-in { animation: none; }
}

.lesson { margin-bottom: 22px; }
.lesson-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lesson-h { font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.lesson-p { font-size: 14.5px; line-height: 1.7; color: var(--text); margin-bottom: 10px; }
.lesson-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 8px 0 12px; }
.lesson-list li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; line-height: 1.55; }
.lesson-list li::before { content: '▸'; color: var(--accent); flex-shrink: 0; }
.lesson-tip { background: var(--accent-dim); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 12px 15px; font-size: 13.5px; line-height: 1.6; margin: 12px 0; }
.lesson-warn { background: rgba(255,94,108,0.10); border-left: 3px solid var(--warn); border-radius: 0 10px 10px 0; padding: 12px 15px; font-size: 13.5px; line-height: 1.6; margin: 12px 0; }
.lesson-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 10px; margin: 12px 0 14px; padding: 0; }
.lesson-steps li { counter-increment: step; position: relative; padding: 2px 0 2px 42px; font-size: 14px; line-height: 1.6; color: var(--text); }
.lesson-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.lesson-steps li::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: -8px; width: 2px; background: var(--border); }
.lesson-steps li:last-child::after { display: none; }

.cm-checklist { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin: 18px 0; }
.cm-check { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; font-size: 14px; line-height: 1.5; }
.cm-check input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; margin-top: 1px; }
.cm-check.on span { color: var(--muted); text-decoration: line-through; }
.cm-pdf { padding: 10px 16px; font-size: 13px; }

/* ============ Errungenschafts-Overlay ============ */

.ach-backdrop[hidden] { display: none; }
.ach-backdrop { position: fixed; inset: 0; z-index: 400; background: rgba(4,6,10,0.85); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; overflow: hidden; }
.ach-card {
  position: relative; background: linear-gradient(160deg, #14241a, #0c1410);
  border: 2px solid rgba(46,232,132,0.5); border-radius: 24px; padding: 44px 40px; text-align: center;
  max-width: 460px; width: 100%;
  box-shadow: 0 0 60px rgba(46,232,132,0.3);
  animation: hype-pop 0.55s cubic-bezier(0.18,1.4,0.4,1);
}
.ach-trophy { font-size: 72px; animation: ach-bounce 0.8s ease-in-out infinite; }
@keyframes ach-bounce { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.ach-title { font-family: var(--font-head); font-size: 30px; font-weight: 800; margin: 8px 0 12px; background: linear-gradient(100deg,#2ee884,#d6ffe9,#2ee884); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hype-shine 2.2s linear infinite; }
.ach-sub { color: var(--text); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.ach-sub b { color: var(--accent); }
.ach-card .btn { border: none; }

.ach-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: 24px; }
.ach-confetti span { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: confetti-fall 2.4s linear infinite; }
@keyframes confetti-fall { 0% { transform: translateY(-20px) rotate(0); opacity: 1; } 100% { transform: translateY(440px) rotate(540deg); opacity: 0; } }

@media (max-width: 760px) {
  .course-head { flex-direction: column; }
  .course-progress-overall { text-align: left; width: 100%; }
}

/* ============ Checkout-Platzhalter ============ */

.checkout-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(46, 232, 132, 0.08), transparent), var(--bg);
}

.checkout-card {
  width: 100%;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  position: relative;
}

.checkout-back { position: absolute; top: 24px; left: 24px; color: var(--muted); font-size: 13px; text-decoration: none; }
.checkout-back:hover { color: var(--text); }
.checkout-brand { justify-content: center; margin-bottom: 22px; }

.checkout-flag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--warn); background: var(--warn-dim);
  border-radius: 20px; padding: 5px 12px; margin-bottom: 14px;
}
.checkout-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.checkout-lead { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

.checkout-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.checkout-list li { display: flex; gap: 9px; font-size: 14px; }
.checkout-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

.checkout-price {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 18px;
}
.checkout-btn { width: 100%; justify-content: center; border: none; padding: 15px; font-size: 15px; }
.checkout-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.checkout-note.show { color: var(--warn); }
.checkout-fine { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 14px; }

@media (max-width: 760px) {
  .account-grid { grid-template-columns: 1fr; }
  .chat-box { height: calc(100vh - 280px); }
}

/* ============ Responsive ============ */

/* ============ Responsive / Mobile-Schicht (additiv) ============
   Breakpoints: ≤820px (Handy/Tablet) → Sidebar wird Drawer; ≤480px (kleines Handy) Feinschliff.
   Mobile-only Elemente (Hamburger, Drawer-Backdrop) auf Desktop ausblenden. */
.hamburger-btn { display: none; }
.drawer-backdrop { display: none; }

@media (max-width: 820px) {
  /* ---- Sidebar → Slide-in-Drawer ---- */
  .sidebar {
    position: fixed; left: 0; top: 0;
    width: 256px; max-width: 84vw;
    height: 100vh; height: 100dvh;
    z-index: 400;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.2, .6, .3, 1);
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 16px 18px;
    border-right: 1px solid var(--border);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .sidebar.mobile-open { transform: translateX(0); box-shadow: 8px 0 32px rgba(0, 0, 0, 0.5); }
  .nav { flex-direction: column; gap: 4px; overflow-x: visible; }
  .nav-item { width: 100%; white-space: normal; flex-shrink: 1; }
  .nav-sep, .nav-divider { width: 100%; height: 1px; margin: 8px 0; align-self: stretch; background: var(--border); }
  .update-hint { display: none; }

  /* Drawer-Backdrop + Hamburger */
  .drawer-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 399; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .drawer-backdrop.show { opacity: 1; pointer-events: auto; }
  .hamburger-btn {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 12px;
    width: 44px; height: 44px; z-index: 401;
    background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
    color: var(--text); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }
  .hamburger-btn:active { background: var(--card-hover); }
  .hamburger-icon { width: 20px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
  .hamburger-icon span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .2s; }
  .hamburger-btn.active .hamburger-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger-btn.active .hamburger-icon span:nth-child(2) { opacity: 0; }
  .hamburger-btn.active .hamburger-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* ---- Main: volle Breite, Platz oben für den Hamburger ---- */
  .main { max-width: none; padding: calc(env(safe-area-inset-top, 0px) + 62px) 16px 56px; }

  /* ---- Produkt-Ansicht ---- */
  .topbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .search-wrap { max-width: 100%; min-width: 0; }
  .cat-filter { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .cat-chip { flex-shrink: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .news-card { flex: 0 0 170px; max-width: 170px; }
  .section-head h1 { font-size: 23px; }

  /* ---- Modals / Overlays / Gate ---- */
  .modal-backdrop { padding: 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .modal { max-width: 100%; max-height: 92vh; }
  .modal-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; font-size: 22px; z-index: 10; }
  .m-head { padding: 24px 18px 16px; flex-direction: column; align-items: flex-start; }
  .m-section { padding: 0 18px 18px; }
  .m-stats { grid-template-columns: 1fr 1fr; }
  .hype { padding: 44px 22px 32px; max-width: 100%; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .hype-close { width: 44px; height: 44px; }
  .ach-card { max-width: 92vw; padding: 32px 22px; }
  .ach-card .btn { width: 100%; justify-content: center; }
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
  .gate { padding: 20px 16px; }
  .gate-card { max-width: 100%; padding: 28px 22px 22px; }
  #gateForm input, #gateRegisterForm input { font-size: 16px; }

  /* ---- Admin / Konto ---- */
  .account-grid { grid-template-columns: 1fr; }
  .admin-create-form { grid-template-columns: 1fr; }
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 600px; }
  .activity-list { max-height: 300px; }

  /* ---- Chat ---- */
  .chat-box { height: calc(100dvh - 220px); }
  .chat-messages { -webkit-overflow-scrolling: touch; }
  .chat-head { flex-wrap: wrap; gap: 10px; }

  /* ---- Guide ---- */
  .course-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .course-progress-overall { width: 100%; }
  .guide-hero { padding-left: 4px; padding-right: 4px; }

  /* ---- Creative Studio ---- */
  .studio-head { flex-direction: column; align-items: flex-start; }
  .fmt-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .sp-phone { width: 100%; max-width: 260px; }
  .studio-consent { padding: 16px; }
  .studio-consent .studio-check { gap: 11px; padding: 8px 0; }
  .studio-consent .studio-check input { width: 20px; height: 20px; }
  .studio-form select, .studio-form input[type=text], .studio-avform input, .studio-avform select { font-size: 16px; }
}

@media (max-width: 480px) {
  .main { padding: calc(env(safe-area-inset-top, 0px) + 58px) 12px 48px; }
  .grid { grid-template-columns: 1fr; }
  .card-tile { height: 120px; font-size: 46px; }
  .section-head h1 { font-size: 20px; }
  .section-head p { font-size: 13px; }
  #search { height: 44px; font-size: 15px; }
  .news-card { flex: 0 0 150px; max-width: 150px; }
  .countdown { padding: 10px 12px; }
  .modal-close { top: 12px; right: 12px; }
  .hype-text { font-size: clamp(24px, 6vw, 34px); }
  .hype-emoji { font-size: 48px; }
  .ach-trophy { font-size: 56px; }
  .gate-btn, .ach-card .btn { min-height: 46px; }
  /* Konto: Avatar-Zeile stapeln */
  .avatar-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .avatar-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  /* Studio-Animation: enger packen */
  .sp-phone { max-width: 220px; }
  .pl-nodes { gap: 3px; }
  .pl-node-dot { width: 32px; height: 32px; }
  .pl-node-dot svg { width: 16px; height: 16px; }
  .pl-pct { font-size: 24px; }
}

/* ===================== Creative Studio ===================== */
.nav-studio .nav-label { font-weight: 600; }
.nav-badge-new { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .06em; background: var(--accent); color: #06210f; padding: 2px 6px; border-radius: 6px; }
.nav-studio.active .nav-badge-new { background: #06210f; color: var(--accent); }

.studio-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.studio-credits { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 8px 8px 8px 16px; }
.sc-ico { font-size: 15px; }
.sc-bal { font-size: 14px; color: var(--text); } .sc-bal b { color: var(--accent); font-size: 16px; }
.sc-eur { font-size: 12px; color: var(--muted); margin-left: 2px; }
.sc-held { font-size: 11px; color: var(--warn); background: var(--warn-dim); padding: 2px 8px; border-radius: 999px; }
.sc-buy { padding: 6px 12px !important; font-size: 12.5px !important; }

.studio-section { margin: 22px 0; }
.studio-h2 { font-family: var(--font-head); font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.studio-step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-dim); color: var(--accent); font-size: 13px; font-weight: 800; }
.studio-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.studio-loading, .studio-empty { color: var(--muted); font-size: 14px; padding: 18px 0; }
.studio-cost-tag { font-size: 12px; background: var(--accent-dim); color: var(--accent); padding: 3px 9px; border-radius: 999px; }

.studio-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.studio-prod { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: .15s; color: var(--text); }
.studio-prod:hover { background: var(--card-hover); border-color: var(--accent); transform: translateY(-2px); }
.sp-emoji { font-size: 24px; } .sp-name { font-weight: 600; font-size: 14px; line-height: 1.25; } .sp-cat { font-size: 11.5px; color: var(--muted); }
.studio-prod-custom { border-style: dashed; border-color: var(--accent); }
.studio-prod-custom .sp-name { color: var(--accent); }

/* Prominenter „Eigenes Produkt / Shop"-Einstieg über dem Produktraster */
.studio-own-banner { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer; color: var(--text);
  background: linear-gradient(100deg, var(--accent-dim), var(--card)); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 16px 18px; margin: 4px 0 16px; transition: .15s; }
.studio-own-banner:hover { transform: translateY(-2px); box-shadow: 0 8px 26px -12px var(--accent); }
.sown-ic { font-size: 30px; flex: 0 0 auto; }
.sown-txt { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
.sown-txt > b { font-size: 15px; } .sown-txt > span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sown-go { flex: 0 0 auto; font-weight: 700; font-size: 13px; color: var(--accent); white-space: nowrap; }
@media (max-width: 560px) { .studio-own-banner { flex-wrap: wrap; } .sown-go { width: 100%; } }

/* Eigenes-Produkt-Block im Brief-Formular */
.own-block { background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius); padding: 16px 16px 18px; margin-bottom: 18px; }
.own-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.own-head-ic { font-size: 18px; }
.own-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
  border: 2px dashed var(--border); border-radius: 12px; padding: 18px 14px; transition: .15s; background: var(--bg); }
.own-drop:hover, .own-drop.drag { border-color: var(--accent); background: var(--accent-dim); }
.own-drop-ic { font-size: 26px; } .own-drop-t { font-weight: 600; font-size: 13.5px; } .own-drop-s { font-size: 11.5px; color: var(--muted); }
.own-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.own-thumb { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.own-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.own-thumb-x { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px; text-align: center;
  border-radius: 50%; border: none; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-size: 13px; padding: 0; }
.own-thumb-x:hover { background: #d33; }

/* ---- Qualitäts-Stufen: Picker-Karten ---- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-card { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; cursor: pointer; position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 12px 12px; color: var(--text); transition: .15s; }
.tier-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.tier-card.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: var(--accent-dim); }
.tier-card.tier-recommended { border-color: var(--accent); }
.tier-badge { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; background: var(--border); color: var(--muted); }
.tier-badge-popular { background: rgba(80,150,255,.16); color: #7db0ff; }
.tier-badge-recommended { background: var(--accent-dim); color: var(--accent); }
.tier-name { font-size: 15px; font-weight: 700; }
.tier-price { font-family: var(--font-head, inherit); font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.tier-credits { font-size: 11px; color: var(--muted); }
.tier-blurb { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---- Qualitäts-Stufen: Info-Panel rechts ---- */
.tier-info { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.tier-info-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.tier-info-eyebrow { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.tier-info-name { font-size: 17px; font-weight: 700; }
.tier-info-price { font-size: 18px; font-weight: 800; color: var(--accent); }
.tier-example { position: relative; background: #000; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 10px; min-height: 60px; }
.tier-vid { display: block; width: 100%; max-height: 300px; object-fit: contain; background: #000; }
.tier-example.novid .tier-vid { display: none; }
.tier-example-badge { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 11px; font-weight: 700; color: var(--accent); background: rgba(0,0,0,.7); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 9px; }
.tier-example-ph { display: none; align-items: center; gap: 10px; padding: 14px; background: var(--bg); }
.tier-example.novid .tier-example-ph { display: flex; }
.tier-example-play { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tier-example-txt { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.tier-example-sub { font-weight: 400; color: var(--muted); font-size: 11px; }

/* TikTok/IG-Reel-Chrome über dem Video (rein dekorativ, blockiert die Steuerung nicht) */
.reel-ui { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tier-example.novid .reel-ui { display: none; }
.reel-bar { position: absolute; top: 8px; left: 10px; right: 10px; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.reel-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 35%; background: #fff; border-radius: 2px; animation: reelProg 7s linear infinite; }
@keyframes reelProg { 0% { width: 4%; } 100% { width: 100%; } }
.reel-actions { position: absolute; right: 9px; bottom: 58px; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.reel-ic { font-size: 21px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.reel-heart { color: #ff4060; animation: reelHeart 1.8s ease-in-out infinite; }
@keyframes reelHeart { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.reel-foot { position: absolute; left: 11px; right: 52px; bottom: 42px; }
.reel-handle { display: block; font-size: 13px; font-weight: 700; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.reel-cap { display: block; font-size: 11px; color: rgba(255,255,255,.9); filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); margin-top: 2px; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .reel-bar i, .reel-heart { animation: none; } }

/* Premium-Upsell-Dialog (positiv, nur Basic/Standard) */
.studio-upsell-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.studio-upsell { position: relative; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--accent); border-radius: 16px; padding: 24px 22px; text-align: center; }
.upsell-x { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.upsell-crown { font-size: 34px; }
.upsell-h { font-size: 18px; margin: 6px 0 8px; }
.upsell-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.upsell-list { list-style: none; padding: 0; margin: 0 0 12px; text-align: left; }
.upsell-list li { font-size: 13px; line-height: 1.5; padding-left: 22px; position: relative; margin-bottom: 6px; }
.upsell-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.upsell-perks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.upsell-perk { font-size: 11px; background: var(--accent-dim); color: var(--accent); border-radius: 999px; padding: 4px 10px; }
.upsell-actions { display: flex; flex-direction: column; gap: 8px; }
.upsell-go { width: 100%; }
.upsell-actions .btn-ghost { width: 100%; }
.tier-anchor { font-size: 12px; color: var(--warn); background: var(--warn-dim); border-radius: 8px; padding: 7px 10px; margin-bottom: 10px; }
.tier-pro-h { font-size: 12px; font-weight: 700; color: var(--accent); margin: 8px 0 4px; }
.tier-con-h { font-size: 12px; font-weight: 700; color: var(--muted); margin: 10px 0 4px; }
.tier-pro, .tier-con { font-size: 12px; line-height: 1.45; padding-left: 16px; position: relative; margin-bottom: 4px; color: var(--text); }
.tier-pro::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier-con { color: var(--muted); } .tier-con::before { content: "–"; position: absolute; left: 0; }
.tier-perks { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.tier-perk { font-size: 12px; line-height: 1.4; display: flex; gap: 8px; }
.tier-perk-ic { flex: 0 0 auto; }
.tier-perk b { color: var(--text); }
.tier-gloss { margin-top: 10px; font-size: 11px; line-height: 1.5; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 9px 10px; }
.tier-gloss b { color: var(--text); }
.tier-gloss-row { margin-top: 6px; }
.tier-gloss-row:first-of-type { margin-top: 5px; }

/* ---- Direktvergleich der 3 Stufen ---- */
.tier-compare { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 12px 6px; margin: 12px 0 4px; }
.tier-compare-h { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.tcmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tcmp th, .tcmp td { padding: 7px 6px; font-size: 11.5px; line-height: 1.35; text-align: center; vertical-align: top; border-bottom: 1px solid var(--border); }
.tcmp tbody tr:last-child td { border-bottom: 0; }
.tcmp th { font-weight: 800; font-size: 12px; color: var(--text); }
.tcmp .tcmp-lbl { text-align: left; color: var(--muted); font-weight: 600; width: 30%; white-space: nowrap; }
.tcmp .tcmp-c { color: var(--text); }
/* hervorgehobene (gewählte) Spalte */
.tcmp .tcmp-sel { background: var(--accent-dim); }
.tcmp th.tcmp-sel { color: var(--accent); border-radius: 7px 7px 0 0; }
.tcmp tbody tr:last-child td.tcmp-sel { border-radius: 0 0 7px 7px; }

/* ---- Längen-Regler ---- */
.len-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0 4px; }
.len-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.len-label { font-size: 13px; font-weight: 600; }
.len-readout { font-size: 13px; color: var(--muted); } .len-readout b { color: var(--accent); font-size: 15px; }
.len-slider { width: 100%; accent-color: var(--accent); height: 22px; cursor: pointer; }
.len-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }

.studio-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.studio-creatives { display: flex; flex-direction: column; gap: 8px; }
.studio-cr { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; cursor: pointer; color: var(--text); text-align: left; }
.studio-cr:hover { background: var(--card-hover); } .cr-title { font-weight: 600; font-size: 14px; } .cr-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.studio-avatars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.studio-av { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.av-info b { font-size: 14px; } .av-info span { display: block; font-size: 12px; color: var(--muted); }

.studio-brief { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.studio-back { margin-bottom: 6px; }
.studio-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.studio-form .field-label { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 12px 0 5px; }
.studio-form input[type=text], .studio-form select, .studio-avform input, .studio-avform select {
  width: 100%; background: var(--panel); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; color: var(--text); font-family: var(--font-body); font-size: 14px; }
.studio-form input:focus, .studio-form select:focus, .studio-avform input:focus { outline: none; border-color: var(--accent); }
.studio-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.studio-radio { display: flex; flex-direction: column; gap: 8px; }
.studio-radio label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.studio-radio span { color: var(--muted); font-size: 12px; }
.studio-hooks { display: flex; flex-direction: column; gap: 8px; }
.studio-hook { text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; color: var(--text); font-size: 13.5px; cursor: pointer; transition: .12s; }
.studio-hook:hover { border-color: var(--accent); } .studio-hook.sel { border-color: var(--accent); background: var(--accent-dim); }
.studio-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; margin-top: 12px; cursor: pointer; }
.studio-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.studio-actions .btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.studio-preview { position: sticky; top: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.sp-phone { aspect-ratio: 9/16; max-height: 360px; margin: 0 auto 14px; width: 200px; border-radius: 18px; background: linear-gradient(160deg, #1a2032, #0a0d13); border: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.sp-phone-top { font-size: 10.5px; color: var(--muted); text-align: center; padding: 6px; border-bottom: 1px solid var(--border); }
.sp-phone-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; }
.sp-phone-emoji { font-size: 38px; opacity: .5; } .sp-phone-play { font-size: 30px; color: var(--accent); }
.sp-phone-script { font-size: 12.5px; line-height: 1.4; color: var(--text); }
.sp-phone-cc { background: var(--accent); color: #06210f; font-weight: 700; font-size: 11.5px; text-align: center; padding: 7px; }
.sp-meta { display: flex; flex-direction: column; gap: 7px; }
.sp-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.sp-row span { color: var(--muted); } .sp-row b { text-align: right; }
.sp-tts, .sp-comp { flex-direction: column; } .sp-tts em { color: var(--accent); font-style: normal; font-size: 12px; margin-top: 3px; }

.job-bar { height: 8px; background: var(--panel); border-radius: 999px; overflow: hidden; margin: 14px 0 18px; }
.job-bar span { display: block; height: 100%; background: var(--accent); transition: width .6s ease; }
.job-stages { display: flex; flex-direction: column; gap: 9px; }
.job-stage { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.job-stage.done { color: var(--text); }
.job-result { display: grid; grid-template-columns: 200px 1fr; gap: 20px; margin-top: 22px; align-items: start; }
.job-result-side h3 { font-family: var(--font-head); margin-bottom: 8px; }
.job-note { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.job-result-side .btn { margin-top: 10px; width: 100%; }
.sp-phone.done { border-color: var(--accent); }

@media (max-width: 860px) {
  .studio-cols, .studio-brief, .job-result { grid-template-columns: 1fr; }
  .studio-preview { position: static; }
}

/* ===================== Creative Studio — Untertitel-Picker ===================== */
.field-help { font-size: 11.5px; color: var(--muted); margin: 5px 0 0; line-height: 1.45; }
.custom-in { width: 100%; margin-top: 8px; animation: cs-fade .2s ease; }
@keyframes cs-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 6px; }
.cap-card { position: relative; text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 12px 10px; cursor: pointer; transition: .14s; color: var(--text); overflow: hidden; }
.cap-card:hover { border-color: rgba(46, 232, 132, .45); transform: translateY(-1px); }
.cap-card.sel { border-color: var(--accent); background: var(--accent-dim); }
.cap-card.sel::after { content: '✓'; position: absolute; top: 8px; right: 10px; color: var(--accent); font-weight: 800; font-size: 13px; }
.cap-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.cap-tag { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; margin-bottom: 10px; min-height: 30px; }
.cap-demo { height: 42px; border-radius: 8px; background: linear-gradient(160deg, #23304a, #0b0f17); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; overflow: hidden; }
.cap-demo .cap-line { font-size: 11px; }
.cap-demo .cap-line.cs- { /* placeholder */ }

/* Untertitel-Look-Rendering (Karten + Handy-Vorschau teilen sich diese Klassen) */
.cap-line { font-family: var(--font-head); font-size: 14px; text-align: center; line-height: 1.18; display: inline-block; max-width: 94%; }
.cap-line .w { display: inline-block; padding: 0 1px; border-radius: 5px; transition: color .18s, background .18s, transform .18s; }
.cs-bold-pop-hormozi .cap-line { font-weight: 800; text-transform: uppercase; color: #fff; -webkit-text-stroke: 3px #000; paint-order: stroke fill; letter-spacing: .01em; }
.cs-bold-pop-hormozi .cap-demo .cap-line, .cap-demo.cs-bold-pop-hormozi .cap-line { -webkit-text-stroke-width: 1.6px; }
.cap-card.cs-bold-pop-hormozi .cap-demo .cap-line { -webkit-text-stroke-width: 1.6px; }
.cs-bold-pop-hormozi .cap-line .w.on { color: var(--accent); transform: scale(1.12); }
.cs-karaoke-highlight .cap-line { font-weight: 700; color: rgba(232, 236, 244, .6); text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.cs-karaoke-highlight .cap-line .w.on { color: var(--accent); }
.cs-karaoke-highlight .cap-line .w.done { color: #fff; }
.cs-highlight-box-beasty .cap-line { font-weight: 600; color: #e8ecf4; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.cs-highlight-box-beasty .cap-line .w.on { color: #fff; background: var(--accent); box-shadow: 0 0 0 3px var(--accent); border-radius: 5px; }
.cs-clean-minimal .cap-line { font-family: var(--font-body); font-weight: 400; color: #f3f6fb; letter-spacing: .01em; text-shadow: 0 1px 5px rgba(0, 0, 0, .6); }
.cs-clean-minimal .cap-line .w.on { color: var(--accent); }

/* ===================== Creative Studio — Handy-Vorschau (Live-Untertitel) ===================== */
.sp-phone { aspect-ratio: 9/16; max-height: 430px; margin: 0 auto; width: 242px; border-radius: 22px; background: linear-gradient(165deg, #26344f 0%, #161d2c 45%, #0a0d13 100%); border: 1px solid var(--border); position: relative; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.sp-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 54px; height: 5px; border-radius: 99px; background: rgba(0, 0, 0, .4); z-index: 5; }
.sp-grain { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 6px 6px; opacity: .5; pointer-events: none; }
.sp-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.sp-scene-emoji { font-size: 46px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.sp-scene-label { font-size: 11px; color: rgba(255, 255, 255, .55); letter-spacing: .06em; text-transform: uppercase; }
.sp-ui-top { position: absolute; top: 20px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: 10px; color: rgba(255, 255, 255, .6); z-index: 4; }
.sp-ui-right { position: absolute; right: 9px; bottom: 118px; display: flex; flex-direction: column; gap: 15px; align-items: center; z-index: 4; }
.sp-ui-ic { font-size: 19px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.sp-cap-zone { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; justify-content: center; padding: 0 16px; z-index: 4; min-height: 24px; }
.sp-cap-zone .cap-line { font-size: 15px; }
.sp-foot { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 4; }
.sp-foot-handle { font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 4px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.sp-foot-bar { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .25); }
.sp-foot-bar span { display: block; height: 100%; width: 38%; border-radius: 99px; background: #fff; }
.cap-empty { font-size: 11px; color: rgba(255, 255, 255, .42); }
.sp-cap-hint { text-align: center; color: var(--muted); font-size: 11.5px; margin: 12px 0 14px; }
.sp-cap-hint b { color: var(--text); }

/* ===================== Creative Studio — Generierungs-Animation „Pipeline Pulse+" ===================== */
.studio-job { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 20px; overflow: hidden; min-height: 220px; }
.pl-aurora { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 18% 0%, rgba(46, 232, 132, .12), transparent 60%); opacity: .6; animation: pl-drift 9s ease-in-out infinite; }
.pl-aurora::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 22px 22px; }
@keyframes pl-drift { 0%, 100% { background-position: 0% 0%; opacity: .45; } 50% { background-position: 30% 12%; opacity: .7; } }
.pl-loader { position: relative; z-index: 1; }
.pl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 14px; }
.pl-stagelabel { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); }
.pl-eyebrow { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.pl-pct { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(46, 232, 132, .3); }
.pl-pct-sign { font-size: 16px; color: var(--muted); margin-left: 1px; }
.pl-bar { position: relative; margin: 0 0 26px; padding-top: 6px; }
.pl-track { display: flex; gap: 5px; height: 13px; }
.pl-seg { flex: 1; border-radius: 3px; background: var(--card-hover); transition: background .3s, box-shadow .3s; }
.pl-seg.on { background: linear-gradient(180deg, var(--accent), #1d9e75); box-shadow: 0 0 7px rgba(46, 232, 132, .45); }
.pl-tip { position: absolute; top: 3px; width: 15px; height: 19px; border-radius: 5px; background: var(--accent); box-shadow: 0 0 16px 3px rgba(46, 232, 132, .7); transition: left .35s cubic-bezier(.4, 0, .2, 1); transform: translateX(-50%); }
.pl-nodes { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 18px; }
.pl-node { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.pl-node-dot { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); transition: all .4s cubic-bezier(.34, 1.56, .64, 1); }
.pl-node-dot svg { width: 18px; height: 18px; stroke: var(--muted); transition: opacity .2s, stroke .3s; }
.pl-node-dot .pl-ic-check { position: absolute; opacity: 0; stroke: var(--accent); }
.pl-node.active .pl-node-dot { background: var(--accent-dim); border-color: var(--accent); transform: scale(1.1); }
.pl-node.active .pl-node-dot svg { stroke: var(--accent); }
.pl-node.active .pl-node-dot::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; animation: pl-pulse 1.8s ease-out infinite; }
@keyframes pl-pulse { 0% { box-shadow: 0 0 0 3px rgba(46, 232, 132, .28); } 100% { box-shadow: 0 0 0 9px rgba(46, 232, 132, 0); } }
.pl-node.done .pl-node-dot { background: var(--accent-dim); border-color: var(--accent); animation: pl-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
.pl-node.done .pl-node-dot .pl-ic-main { opacity: 0; }
.pl-node.done .pl-node-dot .pl-ic-check { opacity: 1; }
@keyframes pl-pop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
.pl-node-label { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.2; }
.pl-node.active .pl-node-label, .pl-node.done .pl-node-label { color: var(--text); }
/* QA-Tönung (bernstein = „streng geprüft") */
.pl-loader.is-qa .pl-seg.on { background: linear-gradient(180deg, var(--warn), #c9842a); box-shadow: 0 0 7px rgba(255, 182, 72, .45); }
.pl-loader.is-qa .pl-tip { background: var(--warn); box-shadow: 0 0 16px 3px rgba(255, 182, 72, .7); }
.pl-loader.is-qa .pl-pct { color: var(--warn); text-shadow: 0 0 18px rgba(255, 182, 72, .3); }
.pl-loader.is-qa .pl-eyebrow { color: var(--warn); }
.pl-loader.is-qa .pl-eq i { background: linear-gradient(180deg, var(--warn), #c9842a); }
/* Fehler-Fall (klassenbasiert, sauber rücksetzbar) */
.pl-loader.is-failed .pl-seg.on { background: var(--danger); box-shadow: 0 0 7px rgba(255, 94, 108, .45); }
.pl-loader.is-failed .pl-tip { background: var(--danger); box-shadow: 0 0 16px 3px rgba(255, 94, 108, .7); }
.pl-loader.is-failed .pl-pct, .pl-loader.is-failed .pl-eyebrow { color: var(--danger); }
.pl-loader.is-failed .pl-eq i { background: var(--danger); }
/* QA-Agenten-Punkte */
.pl-agents { display: flex; align-items: center; gap: 10px; justify-content: center; margin: -6px 0 16px; padding: 10px; border-radius: 10px; background: var(--warn-dim); border: 1px solid rgba(255, 182, 72, .22); animation: cs-fade .3s ease; }
.pl-agents[hidden] { display: none; }
.pl-agents-label { font-size: 11.5px; color: var(--warn); font-weight: 600; }
.pl-agents-dots { display: flex; gap: 7px; }
.pl-adot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 182, 72, .3); transition: .3s; }
.pl-adot.lit { background: var(--warn); box-shadow: 0 0 8px rgba(255, 182, 72, .8); transform: scale(1.3); }
/* Status-Karte: Equalizer + rotierender Spruch */
.pl-status { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.pl-eq { display: flex; align-items: flex-end; gap: 3px; height: 32px; width: 58px; flex-shrink: 0; }
.pl-eq i { flex: 1; background: linear-gradient(180deg, var(--accent), #1d9e75); border-radius: 2px; height: 30%; transition: height .12s ease; }
.pl-quip-wrap { min-width: 0; }
.pl-quip { font-size: 13.5px; color: var(--text); font-weight: 500; transition: opacity .35s, transform .35s; }
.pl-quip.swap { opacity: 0; transform: translateY(6px); }
.pl-reassure { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px dashed var(--border); font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pl-reassure b { color: var(--text); font-weight: 600; }
.pl-reassure-ic { font-size: 15px; flex-shrink: 0; }
.pl-longwait { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--accent-dim); border: 1px solid rgba(46, 232, 132, .28); font-size: 12.5px; color: var(--text); line-height: 1.5; animation: cs-fade .4s ease; }
.pl-longwait[hidden] { display: none; }
.pl-longwait b { color: var(--accent); font-weight: 700; }
.pl-longwait-ic { font-size: 15px; flex-shrink: 0; }
/* Ergebnis-Karte */
.pl-result { display: none; gap: 16px; align-items: center; margin-top: 18px; background: var(--card); border: 1px solid var(--accent); border-radius: 12px; padding: 16px; }
.pl-result.show { display: flex; animation: cs-fade .4s ease; flex-wrap: wrap; }
.pl-result-ic { font-size: 30px; }
.pl-result-body { flex: 1; min-width: 160px; }
.pl-result-body h4 { margin: 0 0 3px; font-family: var(--font-head); font-size: 16px; }
.pl-result-body p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.pl-result-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.pl-result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
  .pl-aurora, .pl-node.active .pl-node-dot::after, .pl-eq i, .pl-tip { animation: none !important; transition: none !important; }
  .pl-node.done .pl-node-dot { animation: none; }
}
@media (max-width: 520px) {
  .cap-grid { grid-template-columns: 1fr; }
  .pl-node-label { display: none; }
  .pl-nodes { gap: 4px; }
  .pl-pct { font-size: 24px; }
}

/* ===================== Creative Studio — Einverständnis & Fehler-/Support-Box ===================== */
.studio-consent { margin-top: 16px; padding: 14px 15px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--border); }
.studio-consent-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.studio-consent-note b { color: var(--text); font-weight: 600; }
.scn-ic { color: var(--accent); }
.studio-consent .studio-check { margin-top: 9px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.studio-consent .studio-check input { margin-top: 2px; flex-shrink: 0; }
.studio-consent .studio-check span { flex: 1; min-width: 0; }

.pl-result.is-fail { border-color: var(--danger); align-items: stretch; }
.pl-failbox { display: flex; gap: 14px; align-items: flex-start; flex: 1; }
.pl-failbox-ic { font-size: 26px; flex-shrink: 0; }
.pl-failbox-body { flex: 1; min-width: 0; }
.pl-failbox-body h4 { margin: 0 0 4px; font-family: var(--font-head); font-size: 15px; }
.pl-failbox-body p { margin: 0 0 11px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pl-failbox-body p b { color: var(--text); }
.pl-failbox-ok { color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.45; }

/* ===================== Creative Studio — Format-Picker (3 UGC-Formate, bildlich + Mini-Animation + Aufschlag) ===================== */
.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.fmt-card { position: relative; text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 13px 13px 12px; cursor: pointer; transition: .15s; color: var(--text); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.fmt-card:hover { border-color: rgba(46, 232, 132, .45); transform: translateY(-2px); }
.fmt-card.sel { border-color: var(--accent); background: var(--accent-dim); }
.fmt-card.fmt-soon { opacity: .5; filter: grayscale(.65); cursor: not-allowed; }
.fmt-card.fmt-soon:hover { border-color: var(--border); transform: none; }
.fmt-card.fmt-soon .fmt-surcharge { color: var(--muted); border-top-color: var(--border); }
.amode-soon { opacity: .5; cursor: not-allowed; }
.amode-soon input { cursor: not-allowed; }
.studio-soon-tag { font-size: 10.5px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .06); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.studio-check-rec { font-size: 10.5px; font-weight: 700; color: var(--accent); background: var(--accent-dim); padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.studio-ai-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.55; }
.fmt-card.sel::after { content: '✓'; position: absolute; top: 10px; left: 12px; width: 18px; height: 18px; display: grid; place-items: center; background: var(--accent); color: #06210f; border-radius: 50%; font-weight: 800; font-size: 11px; z-index: 4; }
.fmt-badge { position: absolute; top: 9px; right: 9px; font-size: 9px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; z-index: 4; white-space: nowrap; }
.fmt-badge-premium { background: var(--warn-dim); color: var(--warn); border: 1px solid rgba(255, 182, 72, .4); }
.fmt-badge-mid { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--border); }
.fmt-badge-free { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(46, 232, 132, .4); }
.fmt-name { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; }
.fmt-desc { font-size: 11px; color: var(--muted); line-height: 1.42; flex: 1; }
.fmt-surcharge { font-size: 11px; font-weight: 700; padding-top: 7px; border-top: 1px dashed var(--border); }
.fmt-surcharge-premium { color: var(--warn); }
.fmt-surcharge-mid { color: var(--text); }
.fmt-surcharge-free { color: var(--accent); }
/* erklärende Mini-Animationen */
.fa { height: 82px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(160deg, #1a2032, #0a0d13); border: 1px solid var(--border); position: relative; overflow: hidden; }
.fa-phone { position: relative; width: 48px; height: 66px; border-radius: 9px; background: linear-gradient(165deg, #26344f, #0a0d13); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.th-head { position: relative; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #d8e0ee, #9fb0c8); z-index: 2; }
.th-head.sm { width: 18px; height: 18px; }
.th-eye { position: absolute; top: 9px; width: 3px; height: 3px; border-radius: 50%; background: #1a2032; animation: th-blink 3.4s ease-in-out infinite; }
.th-eye.l { left: 7px; } .th-eye.r { right: 7px; }
.th-mouth { position: absolute; bottom: 6px; left: 50%; width: 9px; height: 3px; border-radius: 2px; background: #28324a; transform: translateX(-50%); transform-origin: center; animation: th-talk .5s ease-in-out infinite; }
.th-head.sm .th-mouth { bottom: 4px; width: 7px; }
@keyframes th-talk { 0%, 100% { transform: translateX(-50%) scaleY(.4); } 50% { transform: translateX(-50%) scaleY(1.7); } }
.th-ring { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; border: 2px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; animation: th-ring 1.8s ease-out infinite; }
.th-ring.d2 { animation-delay: .9s; }
@keyframes th-ring { 0% { transform: translate(-50%, -50%) scale(.45); opacity: .55; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.fa-frame { position: relative; width: 60px; height: 66px; border-radius: 9px; background: linear-gradient(165deg, #26344f, #0a0d13); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vo-prod { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #1d9e75); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.vo-prod.sm { width: 15px; height: 15px; border-radius: 4px; }
.vo-tag { position: absolute; top: 5px; right: 5px; font-size: 8px; font-weight: 800; color: #06210f; background: var(--accent); border-radius: 4px; padding: 1px 4px; z-index: 3; }
.vo-eq { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 16px; }
.vo-eq i { width: 3px; background: var(--accent); border-radius: 2px; height: 30%; animation: vo-eq 1s ease-in-out infinite; }
.vo-eq i:nth-child(2) { animation-delay: .15s; } .vo-eq i:nth-child(3) { animation-delay: .3s; } .vo-eq i:nth-child(4) { animation-delay: .45s; } .vo-eq i:nth-child(5) { animation-delay: .6s; }
@keyframes vo-eq { 0%, 100% { height: 20%; } 50% { height: 85%; } }
.fa-frame.fhy { padding: 0; }
.hy-l, .hy-r { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.hy-l { border-right: 1px solid var(--border); }
.hy-r { overflow: hidden; }
.hy-shine { position: absolute; top: 0; left: -45%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(46, 232, 132, .4), transparent); animation: hy-shine 1.8s linear infinite; }
@keyframes hy-shine { 0% { left: -45%; } 100% { left: 120%; } }
@media (max-width: 680px) { .fmt-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .th-mouth, .th-ring, .vo-eq i, .hy-shine, .th-eye, .fa-rec, .th-cap { animation: none !important; } }

/* ---- Format-Animationen: erweitert (Aufnahme-Punkt, Untertitel-Balken, Blinzeln) ---- */
.fa-rec { position: absolute; top: 8px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 8px rgba(255, 90, 90, .8); animation: th-rec 1.4s ease-in-out infinite; z-index: 5; }
.th-cap { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); height: 5px; width: 28px; border-radius: 3px; background: var(--accent); opacity: .85; animation: th-cap 1.25s steps(1, end) infinite; z-index: 3; }
@keyframes th-blink { 0%, 90%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
@keyframes th-rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes th-cap { 0%, 100% { width: 28px; } 33% { width: 16px; } 66% { width: 23px; } }

/* ---- Express-Flow: Schritt-Header, Auswahl-Chips, KI-Auto-Karte, Feintuning ---- */
.ex-step { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); margin: 22px 0 7px; }
.ex-step-n { width: 22px; height: 22px; min-width: 22px; display: grid; place-items: center; background: var(--accent); color: #06210f; border-radius: 50%; font-size: 12px; font-weight: 800; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 9px; }
.opt-chip { font-size: 14px; padding: 9px 17px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); color: var(--text); cursor: pointer; transition: .15s; }
.opt-chip:hover { border-color: rgba(46, 232, 132, .45); transform: translateY(-1px); }
.opt-chip.sel { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); font-weight: 700; }
.ai-auto { background: var(--accent-dim); border: 1px solid rgba(46, 232, 132, .32); border-radius: 14px; padding: 14px 16px; margin: 4px 0 2px; }
.ai-auto-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 9px; }
.ai-auto-ic { font-size: 16px; }
.ai-auto-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ai-auto-list li { position: relative; padding-left: 23px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ai-auto-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.ai-auto-list b { color: var(--text); font-weight: 700; }
.studio-tuning { margin: 16px 0 2px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); overflow: hidden; }
.studio-tuning > summary { list-style: none; cursor: pointer; padding: 13px 15px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text); user-select: none; }
.studio-tuning > summary::-webkit-details-marker { display: none; }
.studio-tuning > summary::after { content: '⌄'; margin-left: auto; font-size: 17px; color: var(--muted); transform: translateY(-3px); transition: transform .2s; }
.studio-tuning[open] > summary::after { transform: translateY(1px) rotate(180deg); }
.st-tune-hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.st-tune-body { padding: 2px 15px 16px; border-top: 1px solid var(--border); }
.st-opt-tag { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; }

/* ===================== Credits kaufen (Pakete) ===================== */
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 10px; }
.buy-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px 16px; text-align: center; display: flex; flex-direction: column; gap: 7px; transition: .15s; }
.buy-card:hover { border-color: rgba(46, 232, 132, .4); transform: translateY(-2px); }
.buy-card-best { border-color: var(--accent); background: var(--accent-dim); }
.buy-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.buy-tag-best { background: var(--accent); color: #06210f; }
.buy-tag-pop { background: var(--warn-dim); color: var(--warn); border: 1px solid rgba(255, 182, 72, .4); }
.buy-credits { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--text); line-height: 1.1; }
.buy-credits span { font-size: 13px; font-weight: 600; color: var(--muted); }
.buy-reels { font-size: 12px; color: var(--muted); }
.buy-price { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--accent); margin-top: 4px; }
.buy-save { font-size: 11px; color: var(--accent); margin-top: 2px; } .buy-save-none { color: var(--muted); }
.buy-btn { width: 100%; justify-content: center; margin-top: 8px; }
.buy-note { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }

.pl-failbox-ticket { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.pl-failbox-ticket b { color: var(--accent); font-family: var(--font-head); letter-spacing: .02em; }

/* ============ Reel-Feedback: Auto-QA-Banner + grün/rot-Gate ============ */
.btn-sm { padding: 8px 14px; font-size: 12.5px; border-radius: 9px; }

.reel-autoqa {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 14px 0 4px; padding: 13px 15px;
  background: var(--warn-dim); border: 1px solid rgba(255, 182, 72, .35); border-radius: 12px;
}
.reel-autoqa-ic { font-size: 20px; line-height: 1.2; flex-shrink: 0; }
.reel-autoqa-body b { display: block; color: var(--warn); font-family: var(--font-head); font-size: 13.5px; margin-bottom: 3px; }
.reel-autoqa-body p { font-size: 13px; color: var(--text); margin: 0 0 10px; }

.reel-feedback {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  text-align: center; transition: opacity .25s;
}
.reel-feedback.rf-sent { opacity: .35; pointer-events: none; }
.rf-q { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.rf-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rf-btn {
  flex: 1 1 200px; max-width: 280px; justify-content: center;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 12px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  border: 1.5px solid var(--border); background: var(--card); color: var(--text);
  transition: transform .12s, border-color .15s, background .15s;
}
.rf-btn:hover { transform: translateY(-2px); }
.rf-yes { border-color: rgba(46, 232, 132, .5); }
.rf-yes:hover { background: var(--accent-dim); border-color: var(--accent); }
.rf-no { border-color: rgba(255, 94, 108, .45); }
.rf-no:hover { background: var(--danger-dim); border-color: var(--danger); }

/* ============ Feedback-Modal (Wizard + Danke-Popup) ============ */
.fb-backdrop[hidden] { display: none; }
.fb-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 6, 10, 0.82); backdrop-filter: blur(7px);
  display: grid; place-items: center; padding: 24px; overflow-y: auto;
}
.fb-modal {
  position: relative; overflow: hidden;
  width: 100%; max-width: 460px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px 28px 26px;
  animation: hype-pop 0.4s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.fb-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(0, 0, 0, .35); color: var(--text);
  font-size: 19px; line-height: 1; cursor: pointer; z-index: 3;
}
.fb-close:hover { background: var(--danger); border-color: var(--danger); }
.fb-head { margin-bottom: 18px; }
.fb-kicker { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.fb-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.fb-sub b { color: var(--accent); }

.fb-dots { display: flex; gap: 7px; margin-bottom: 20px; }
.fb-dot { flex: 1; height: 4px; border-radius: 999px; background: var(--border); transition: background .2s; }
.fb-dot.done { background: rgba(46, 232, 132, .5); }
.fb-dot.on { background: var(--accent); }

.fb-step { min-height: 96px; }
.fb-q { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; margin-bottom: 12px; }
.fb-select, .fb-textarea {
  width: 100%; background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 13px; font-family: var(--font-body); font-size: 14px;
}
.fb-select:focus, .fb-textarea:focus { outline: none; border-color: var(--accent); }
.fb-textarea { resize: vertical; min-height: 92px; }
.fb-select.shake { animation: fb-shake .4s; border-color: var(--danger); }
@keyframes fb-shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(6px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)} }

.fb-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.fb-actions .btn { flex: 1; justify-content: center; }

.fb-thanks { text-align: center; padding: 14px 4px 6px; }
.fb-thanks-emoji { font-size: 56px; line-height: 1; margin-bottom: 12px; animation: hype-pop .5s cubic-bezier(.2,1.4,.4,1); }
.fb-thanks h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.fb-thanks p { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.fb-thanks p b { color: var(--accent); }
.fb-thanks .btn { width: 100%; justify-content: center; }

/* Konfetti im Lob-Popup */
.fb-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.fb-confetti i { position: absolute; top: -14px; width: 8px; height: 13px; border-radius: 2px; opacity: 0; }
.fb-confetti.go i { animation: confetti-fall 2.2s ease-in forwards; }

/* ============ Admin · Reports ============ */
.rep-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.rep-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--card); color: var(--muted);
  font-family: var(--font-body); font-size: 13px; font-weight: 600; transition: all .15s;
}
.rep-tab:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.rep-tab.on { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.rep-tab-n { font-size: 11px; background: rgba(255,255,255,.08); padding: 1px 7px; border-radius: 999px; }
.rep-tab.on .rep-tab-n { background: var(--accent); color: #06210f; }

.rep-list { display: flex; flex-direction: column; gap: 14px; }
.rep-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.rep-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.rep-praise { background: var(--accent-dim); border-color: rgba(46,232,132,.3); }
.rep-praise-row { font-size: 14px; }

.rep-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rep-ticket { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: .02em; }
.rep-status { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.rs-open { background: var(--danger-dim); color: var(--danger); }
.rs-prog { background: var(--warn-dim); color: var(--warn); }
.rs-done { background: var(--accent-dim); color: var(--accent); }
.rs-praise { background: var(--accent-dim); color: var(--accent); }
.rep-src { font-size: 11.5px; color: var(--muted); }
.rep-src-auto { color: var(--warn); }
.rep-when { margin-left: auto; font-size: 11.5px; color: var(--muted); }

.rep-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 9px; }
.rep-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rep-format { font-size: 11.5px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.05); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.rep-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rep-chip { font-size: 11.5px; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; }
.rep-msg { font-size: 13.5px; color: var(--text); font-style: italic; margin: 0 0 12px; padding-left: 11px; border-left: 2px solid var(--border); }

.rep-fix { background: rgba(46,232,132,.06); border: 1px solid rgba(46,232,132,.22); border-radius: 11px; padding: 11px 13px; margin-bottom: 12px; }
.rep-fix-h { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.rep-fix p { font-size: 12.5px; color: var(--text); margin: 0; line-height: 1.5; }
.rep-redo { font-size: 12.5px; color: var(--warn); margin-bottom: 12px; }
.rep-redo b { font-family: var(--font-head); }

.rep-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rep-from-user { font-size: 12px; color: var(--muted); margin: -4px 0 10px; }
.rep-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); margin: -2px 0 11px; padding: 8px 11px; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 9px; }
.rep-contact b { color: var(--text); font-weight: 600; }

/* „Profil vervollständigen"-Hinweis (Konto) */
.contact-nudge[hidden] { display: none; }
.contact-nudge { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 13px 15px; background: var(--warn-dim); border: 1px solid rgba(255,182,72,.35); border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.contact-nudge-ic { font-size: 18px; line-height: 1.3; flex-shrink: 0; }
.contact-nudge b { color: var(--warn); }

/* „neu/ungelesen"-Markierung */
.rep-new { font-size: 11px; font-weight: 700; color: var(--accent); }
.rep-card.rep-unread { border-color: rgba(46,232,132,.35); box-shadow: 0 0 0 1px rgba(46,232,132,.12); }

/* Verlauf (Thread) — Chat-Bubbles */
.th-wrap { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; padding: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 12px; }
.th-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; }
.th-msg p { font-size: 13.5px; margin: 2px 0 0; white-space: pre-wrap; }
.th-from { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; opacity: .7; }
.th-mine { align-self: flex-end; background: var(--accent-dim); border: 1px solid rgba(46,232,132,.25); }
.th-other { align-self: flex-start; background: var(--card); border: 1px solid var(--border); }

/* Antwort-Box (Admin + Kunde) */
.rep-reply { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 12px; }
.rep-reply textarea { flex: 1; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; font-family: var(--font-body); font-size: 13.5px; resize: vertical; min-height: 40px; }
.rep-reply textarea:focus { outline: none; border-color: var(--accent); }
.rep-reply .btn { white-space: nowrap; }

/* Kunden-Support: Neue-Anfrage-Formular */
.sup-new { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 16px; margin-bottom: 22px; }
.sup-new h3 { font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.sup-input { width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; font-family: var(--font-body); font-size: 14px; margin: 8px 0; }
.sup-input:focus { outline: none; border-color: var(--accent); }
textarea.sup-input { resize: vertical; min-height: 96px; }
.sup-list-h { font-family: var(--font-head); font-size: 16px; margin: 4px 0 14px; display: flex; align-items: center; gap: 8px; }
.sup-count { font-size: 12px; font-weight: 700; background: var(--accent-dim); color: var(--accent); padding: 1px 9px; border-radius: 999px; }

@media (max-width: 560px) {
  /* Endkunden-Gate: grün/rot sauber untereinander, volle Breite */
  .rf-btns { flex-direction: column; }
  .rf-btn { flex: 1 1 auto; max-width: none; }
  .reel-autoqa { padding: 12px 13px; }

  /* Feedback-Modal: etwas weniger Rand, mehr Platz auf kleinen Screens */
  .fb-modal { padding: 26px 18px 20px; }
  .fb-kicker { font-size: 16px; }
  .fb-step { min-height: 84px; }

  /* Reports: Tabs als ordentliches 2-Spalten-Raster, kompaktere Karte */
  .rep-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rep-tab { justify-content: center; }
  .rep-card { padding: 14px 15px; }
  .rep-top { gap: 8px; }
  .rep-when { width: 100%; margin-left: 0; }
  .rep-actions .btn { flex: 1 1 auto; justify-content: center; }
  .rep-reply { flex-direction: column; align-items: stretch; }
  .rep-reply .btn { width: 100%; justify-content: center; }
  .th-msg { max-width: 100%; }
}

/* ============ Footer (Login-Gate + App) ============ */
.site-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; padding: 14px 16px; }
.site-foot a { color: var(--muted); font-size: 12px; text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.site-foot .site-foot-copy { color: var(--muted); font-size: 12px; }
.gate-foot { margin-top: 16px; }
.sidebar-foot .site-foot { justify-content: flex-start; padding: 10px 0 0; gap: 4px 12px; }

/* ============ Rechtsseiten (Impressum / Datenschutz / AGB / Widerruf) ============ */
.legal-page { max-width: 820px; margin: 0 auto; padding: 40px 22px 90px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.legal-top .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.legal-back { color: var(--accent); font-size: 13.5px; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal-page h1 { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal-updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal-page h2 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 30px 0 8px; }
.legal-page h3 { font-size: 15px; font-weight: 700; margin: 18px 0 6px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 14.5px; line-height: 1.7; }
.legal-page ul { margin: 8px 0 10px 22px; }
.legal-page a { color: var(--accent); }
.legal-warn { background: var(--warn-dim); border: 1px solid rgba(255, 182, 72, 0.35); border-radius: 12px; padding: 14px 16px; margin-bottom: 30px; font-size: 14px; line-height: 1.6; }
.legal-warn b { color: var(--warn); }
.legal-ph { color: var(--accent); font-weight: 600; }
.legal-foot { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-foot a { color: var(--muted); font-size: 13px; margin-right: 16px; text-decoration: none; }
.legal-foot a:hover { color: var(--text); }

/* KI-Kennzeichnung im Reel-Ergebnis */
.pl-ai-label { color: var(--accent); font-weight: 600; }
.pl-ai-note { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
