@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #faf8f3;
  --sidebar: #f4f1e8;
  --surface: #ffffff;
  --line: #ebe6d8;
  --line-strong: #ddd6c3;
  --text: #17150f;
  --muted: #7d786b;
  --gold: #f5c518;
  --gold-dark: #b8900a;
  --gold-soft: #fdf3cc;
  --gold-tint: #fffaea;
  --black: #0f0f0f;
  --green: #1f9d63;
  --red: #d64545;
  --blue: #3b82f6;
  --orange: #d9822b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 21, 15, .04), 0 4px 16px rgba(23, 21, 15, .04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: 'Poppins', system-ui, sans-serif; font-size: 14.5px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); }
svg { flex-shrink: 0; }

/* ---------- Logo ---------- */
.logo { font-weight: 700; font-size: 17px; letter-spacing: -.2px; display: inline-flex; align-items: center; }
.logo .star { color: var(--gold); margin: 0 1px; font-size: 15px; }
.logo-sub { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); padding: 9px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500; transition: .15s; }
.btn:hover { border-color: #c9c0a8; }
.btn-dark { background: var(--black); color: #fff; border-color: var(--black); }
.btn-dark:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 600; }
.btn-gold:hover { filter: brightness(1.05); border-color: var(--gold); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link { color: var(--gold-dark); font-weight: 500; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; background: none; border: none; padding: 0; }
.link:hover { text-decoration: underline; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--sidebar); border-right: 1px solid var(--line); padding: 26px 18px 18px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .logo-block { padding: 0 10px 26px; }
.nav-label { font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; color: var(--muted); padding: 0 12px 10px; text-transform: uppercase; }
.nav { display: grid; gap: 3px; }
.nav button { background: none; border: none; color: #4d493f; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14px; display: flex; gap: 12px; align-items: center; }
.nav button:hover { background: rgba(0,0,0,.035); color: var(--text); }
.nav button.active { background: var(--gold-soft); color: var(--text); font-weight: 500; }
.nav button.active svg { color: var(--gold-dark); }
.nav .count { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }
.side-card { margin-top: auto; background: var(--gold-tint); border: 1px solid #f3e4a8; border-radius: 12px; padding: 16px; font-size: 12.5px; color: #5c5749; line-height: 1.55; }
.side-card b { display: block; color: var(--text); font-size: 14px; margin: 8px 0 4px; font-weight: 600; }
.side-card svg { color: var(--gold-dark); }
.side-foot { font-size: 11.5px; color: var(--muted); padding: 14px 10px 0; }

.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 62px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: var(--bg); position: sticky; top: 0; z-index: 20; gap: 12px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs b { color: var(--text); font-weight: 500; }
.biz-switch { position: relative; }
.biz-btn { display: flex; align-items: center; gap: 10px; background: none; border: 1px solid transparent; padding: 6px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; }
.biz-btn:hover { border-color: var(--line); background: var(--surface); }
.biz-ava { width: 26px; height: 26px; border-radius: 7px; background: var(--gold); color: var(--black); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.biz-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.1); min-width: 250px; padding: 6px; display: none; z-index: 30; }
.biz-menu.open { display: block; }
.biz-menu button { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: none; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; text-align: left; }
.biz-menu button:hover { background: var(--bg); }
.biz-menu .sel { margin-left: auto; color: var(--gold-dark); }
.biz-menu hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }
.biz-menu small { display: block; color: var(--muted); font-size: 11.5px; }

.preview-bar { background: var(--gold-tint); border-bottom: 1px solid #f3e4a8; padding: 9px 32px; font-size: 12.5px; color: #6b6553; display: flex; gap: 10px; align-items: center; }
.preview-tag { background: var(--gold); color: var(--black); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; padding: 3px 8px; border-radius: 5px; }

main { padding: 38px 32px 70px; max-width: 1080px; width: 100%; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; gap: 16px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--gold-dark); text-transform: uppercase; margin-bottom: 8px; }
.page-head h1 { font-size: 32px; font-weight: 600; letter-spacing: -.6px; }
.page-head p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.head-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-dark); }

h2.section { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.section-sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
.kpi { position: relative; }
.kpi.featured { background: var(--gold-tint); border-color: #f0dc8e; }
.kpi .label { font-size: 13px; color: #4d493f; font-weight: 500; }
.kpi .ico { position: absolute; top: 18px; right: 18px; color: var(--muted); }
.kpi.featured .ico { color: var(--gold-dark); }
.kpi .value { font-size: 34px; font-weight: 600; margin-top: 16px; letter-spacing: -1px; }
.kpi .value small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.kpi .meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.kpi .meta .pos { color: var(--green); font-weight: 600; }
.kpi .meta a, .kpi .meta button { color: var(--gold-dark); font-weight: 500; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .off { color: #e2dccb; }

/* ---------- Banner (offene Anfragen) ---------- */
.banner { background: var(--gold-tint); border: 1px solid #f0dc8e; border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.banner .b-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; }
.banner b { font-weight: 600; }
.banner small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.banner .link { margin-left: auto; }

/* ---------- Lists ---------- */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list-tools { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--bg); color: var(--muted); }
.search input { border: none; background: none; outline: none; padding: 9px 0; width: 100%; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); color: #5c5749; padding: 6px 12px; border-radius: 20px; font-size: 12.5px; }
.chip.active { background: var(--black); border-color: var(--black); color: #fff; }

.row { display: flex; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; align-items: flex-start; }
.row:last-child { border-bottom: none; }
.row:hover { background: #fdfcf8; }
.row.selected { background: var(--gold-tint); }
.ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.ava-0 { background: #fde7d6; color: #b8642a; } .ava-1 { background: #dbe7fb; color: #3a66b0; }
.ava-2 { background: #e8e0f8; color: #6b4fb3; } .ava-3 { background: #d9f2e6; color: #23845a; }
.ava-4 { background: #fbe0e0; color: #b04040; } .ava-5 { background: #fdf0c4; color: #96740a; }
.row-body { flex: 1; min-width: 0; }
.row-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.row-top b { font-weight: 600; font-size: 14px; }
.row-top .when { color: var(--muted); font-size: 12.5px; }
.row-text { color: #4d493f; font-size: 13.5px; margin-top: 4px; line-height: 1.55; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.pill { font-size: 11.5px; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.blue { color: var(--blue); border-color: #cfe0fb; background: #f3f7fe; }
.pill.green { color: var(--green); border-color: #c6ebd7; background: #f1faf5; }
.pill.red { color: var(--red); border-color: #f3cccc; background: #fdf3f3; }
.pill.orange { color: var(--orange); border-color: #f4dcc1; background: #fdf6ee; }
.pill.gold { color: var(--gold-dark); border-color: #f0dc8e; background: var(--gold-tint); }
.file-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.fineprint { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 14px; }
.empty { text-align: center; color: var(--muted); padding: 46px 20px; font-size: 13.5px; }

/* ---------- Updates ---------- */
.update { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; box-shadow: var(--shadow); }
.update.highlight { border-left: 3px solid var(--gold); }
.update .eyebrow { margin-bottom: 6px; }
.update h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.update p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; max-width: 640px; }
.update .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.update .date { font-size: 12px; color: var(--muted); }

/* ---------- Shop ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product .stage { height: 190px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; margin-bottom: 16px; overflow: hidden; }
.product h3 { font-size: 15.5px; font-weight: 600; }
.product p { color: var(--muted); font-size: 13px; margin: 4px 0 14px; line-height: 1.5; }
.mock-stand { width: 92px; height: 120px; background: var(--gold); border-radius: 6px; transform: rotate(-6deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: 8px 12px 24px rgba(0,0,0,.12); font-size: 10px; font-weight: 700; }
.mock-card { width: 130px; height: 80px; background: #222; border-radius: 8px; transform: rotate(-8deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--gold); box-shadow: 8px 12px 24px rgba(0,0,0,.18); font-size: 10px; font-weight: 600; }
.mock-sticker { width: 96px; height: 96px; border-radius: 50%; background: #fde98a; display: grid; place-items: center; box-shadow: 6px 10px 22px rgba(0,0,0,.1); }

/* ---------- Profile ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-head { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.card-head svg { color: var(--gold-dark); }
.kv { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; gap: 12px; }
.kv:last-child { border-bottom: none; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { text-align: right; font-weight: 500; }
.biz-item { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.biz-item small { display: block; color: var(--muted); font-size: 12px; }
.biz-item .pill { margin-left: auto; }
.add-btn { display: flex; gap: 8px; align-items: center; color: #4d493f; background: none; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 12px; width: 100%; font-size: 13.5px; }
.add-btn:hover { border-color: var(--gold-dark); color: var(--text); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-dark); }

/* ---------- Drawer ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(23, 21, 15, .28); opacity: 0; pointer-events: none; transition: .2s; z-index: 40; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 440px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .25s ease; z-index: 41; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { padding: 26px 28px 18px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.drawer-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.drawer-close:hover { background: var(--bg); color: var(--text); }
.drawer-body { padding: 22px 28px 32px; overflow-y: auto; flex: 1; }
.d-section { margin-bottom: 26px; }
.d-label { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.d-author { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.d-text { font-size: 14px; line-height: 1.65; color: #3a362d; }
.reply-existing { background: var(--bg); border-left: 3px solid var(--gold); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; line-height: 1.6; color: #3a362d; }
.reply-area textarea { width: 100%; min-height: 130px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px; line-height: 1.55; resize: vertical; outline: none; background: var(--surface); }
.reply-area textarea:focus { border-color: var(--gold-dark); }
.tone { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.btn-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ai-btn svg { color: var(--gold-dark); }
.check-box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.check-box p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #4d493f; margin: 12px 0; line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--black); }
.facts { display: grid; gap: 0; }
.timeline { list-style: none; position: relative; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 18px; font-size: 13.5px; }
.timeline li::before { content: ''; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.current::before { border-color: var(--gold-dark); background: var(--gold-tint); }
.timeline li small { display: block; color: var(--muted); font-size: 12px; }
.timeline li.next { color: var(--muted); }

/* ---------- Login ---------- */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-hero { background: var(--sidebar); padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); gap: 40px; }
.login-hero h1 { font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -1px; max-width: 480px; }
.login-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--gold) 62%); }
.login-hero p { color: var(--muted); max-width: 440px; margin-top: 16px; line-height: 1.65; }
.feat { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.feat li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #3a362d; }
.feat .fi { width: 32px; height: 32px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--gold-dark); display: grid; place-items: center; }
.login-panel { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: 100%; max-width: 380px; }
.login-card h2 { font-size: 26px; font-weight: 600; letter-spacing: -.4px; margin-bottom: 6px; }
.login-card .sub { color: var(--muted); margin-bottom: 26px; font-size: 14px; }
.login-card .btn-dark { width: 100%; padding: 12px; font-size: 14.5px; }
.error { color: var(--red); font-size: 13px; min-height: 20px; margin-bottom: 6px; }
.demo-box { margin-top: 26px; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--muted); }
.demo-box b { color: var(--text); font-weight: 500; }
.demo-box .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 100px); background: var(--black); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 13.5px; z-index: 60; opacity: 0; transition: .25s; max-width: 90vw; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-hero { padding: 32px 20px; border-right: none; border-bottom: 1px solid var(--line); }
  .login-hero h1 { font-size: 28px; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -270px; width: 250px; z-index: 45; transition: left .2s; }
  .sidebar.open { left: 0; box-shadow: 10px 0 40px rgba(0,0,0,.12); }
  .menu-btn { display: inline-flex; }
  .topbar, .preview-bar { padding-left: 16px; padding-right: 16px; }
  main { padding: 26px 16px 60px; }
  .page-head h1 { font-size: 26px; }
  .two, .products { grid-template-columns: 1fr; }
  .kpi .value { font-size: 28px; }
  .crumbs .ws { display: none; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .ico { display: none; }
  .row-side { display: none; }
  .biz-btn .biz-name { display: none; }
}

/* ---------- v2: Live-Funktionen ---------- */
img.ava { object-fit: cover; background: var(--line); }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-tint); border: 1px solid #f0dc8e; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #5c5749; line-height: 1.55; margin-bottom: 16px; }
.note svg { margin-top: 3px; color: var(--gold-dark); }
.note .link { font-size: 13px; }
.muted-p { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
.reply-state { margin-top: 10px; }
.tl-note { font-size: 13px; color: #4d493f; background: var(--bg); border-radius: 8px; padding: 8px 10px; margin-top: 6px; line-height: 1.5; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; background: var(--bg); font-size: 13px; }
.icon-btn { background: none; border: none; color: var(--muted); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.icon-btn:hover { background: var(--bg); color: var(--red); }
.biz-item .pill { margin-left: auto; }
a.btn { text-decoration: none; }

/* ---------- Admin ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr { cursor: pointer; }
table.tbl tbody tr:hover { background: #fdfcf8; }
table.tbl td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.feature-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.status-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.status-btns .btn.current { border-color: var(--black); background: var(--black); color: #fff; }
@media (max-width: 1100px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.field > * { min-width: 0; }
@media (max-width: 520px) {
  .drawer-head { padding: 22px 18px 14px; }
  .drawer-body { padding: 18px 18px 28px; }
  .status-btns { grid-template-columns: 1fr; }
}

/* ---------- v3: Trustpilot + Unter-Navigation ---------- */
.stars.tp { color: #00b67a; }
.nav .sub { padding: 7px 10px 7px 36px; font-size: 13px; color: #6b665a; gap: 8px; white-space: nowrap; }
.nav .sub.active { background: transparent; color: var(--text); font-weight: 600; }
.nav .sub.active::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: -14px; }
.nav .sub svg { flex-shrink: 0; }
.ptag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: #4d493f; white-space: nowrap; }
.ptag.tp { border-color: #bfe8d8; background: #f0fbf6; color: #04754f; }
.kpi.tp-featured { background: #f0fbf6; border-color: #bfe8d8; }
.kpi.tp-featured .ico { color: #00b67a; }
.review-title { font-weight: 600; font-size: 13.5px; margin-top: 4px; }
.platform-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.platform-card { display: flex; gap: 14px; align-items: center; }
.platform-card .big { font-size: 26px; font-weight: 600; letter-spacing: -.5px; }
.platform-card .meta { font-size: 12.5px; color: var(--muted); }
.platform-card .link { margin-left: auto; }
@media (max-width: 860px) { .platform-split { grid-template-columns: 1fr; } }

/* ---------- v4: Unternehmen + Standorte + Analyse ---------- */
.sidebar { overflow-y: auto; }
.sidebar .logo-block { padding-bottom: 18px; }
.loc-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 20px; }
.loc-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 8px; }
.loc-head .nav-label { padding: 0; }
.loc-head .icon-btn { width: 24px; height: 24px; color: var(--gold-dark); }
.loc-head .icon-btn:hover { color: var(--text); background: var(--gold-tint); }
.loc-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; margin-bottom: 6px; color: var(--muted); background: var(--bg); }
.loc-search input { border: none; background: none; outline: none; padding: 6px 0; font-size: 12.5px; width: 100%; }
.loc-list { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; }
.loc-item { display: flex; align-items: center; gap: 8px; background: none; border: none; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: #4d493f; text-align: left; width: 100%; }
.loc-item:hover { background: var(--bg); color: var(--text); }
.loc-item.active { background: var(--gold-soft); color: var(--text); font-weight: 500; }
.loc-item .ln { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-item .lr { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.loc-item .lr b { color: var(--gold-dark); font-weight: 600; }
.loc-item .ldot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.loc-item .lall { width: 18px; height: 18px; border-radius: 5px; background: var(--black); color: #fff; font-size: 10px; display: grid; place-items: center; flex-shrink: 0; }
.loc-empty { font-size: 12.5px; color: var(--muted); padding: 6px 8px 8px; line-height: 1.5; }
.biz-btn .biz-name small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; text-align: left; }
.biz-btn .biz-name { text-align: left; line-height: 1.2; }
.lpill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #5c5749; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 2px 8px; white-space: nowrap; }
.crumbs .sep { color: #c9c0a8; margin: 0 2px; }

/* Analyse */
.an-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 16px; }
.chart-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.chart-card .sub { color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #4d493f; margin-bottom: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cols { display: flex; align-items: flex-end; gap: 14px; height: 190px; border-bottom: 1px solid var(--line); padding: 0 4px; }
.col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; cursor: default; }
.stack { width: 100%; max-width: 38px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stack span { display: block; width: 100%; }
.stack span:last-child { border-radius: 4px 4px 0 0; }
.col .cv { font-size: 11.5px; color: #4d493f; font-variant-numeric: tabular-nums; }
.col-labels { display: flex; gap: 14px; padding: 6px 4px 0; }
.col-labels span { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); }
.hbar { display: grid; grid-template-columns: 48px 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; margin-bottom: 10px; color: #4d493f; }
.hbar .track { height: 10px; background: var(--bg); border-radius: 0 5px 5px 0; overflow: hidden; }
.hbar .fill { height: 100%; background: var(--gold); border-radius: 0 4px 4px 0; }
.hbar .n { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl th.sortable { cursor: pointer; user-select: none; }
table.tbl th.sortable:hover { color: var(--text); }
table.tbl th.sorted { color: var(--text); }
table.tbl td.num, table.tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl tr.current td { background: var(--gold-tint); }
.minibar { display: inline-block; width: 46px; height: 6px; background: var(--bg); border-radius: 3px; margin-left: 8px; vertical-align: middle; overflow: hidden; }
.minibar b { display: block; height: 100%; background: var(--gold); border-radius: 0 3px 3px 0; }
.attn { display: grid; gap: 10px; }
.attn-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.attn-item:hover { border-color: var(--line-strong); }
.attn-item .n { width: 26px; height: 26px; border-radius: 8px; background: #fdf0e6; color: #b5531f; font-weight: 600; font-size: 12.5px; display: grid; place-items: center; flex-shrink: 0; }
.attn-item b { font-weight: 600; font-size: 13.5px; }
.attn-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.5; }
.tip { position: fixed; z-index: 70; pointer-events: none; background: var(--black); color: #fff; font-size: 12px; line-height: 1.5; padding: 8px 10px; border-radius: 8px; opacity: 0; transition: opacity .1s; max-width: 240px; white-space: pre-line; }
.tip.show { opacity: 1; }
.check-list { display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.check-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.check-row input { margin-top: 3px; accent-color: var(--black); }
.check-row small { display: block; color: var(--muted); font-size: 12px; }
.added { color: var(--green); font-size: 12.5px; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; }
@media (max-width: 1100px) { .an-grid { grid-template-columns: 1fr; } }

/* ---------- v5: Mobile App-Leiste (wie WhatsApp) ---------- */
.tabbar, .mobile-scope, .sheet, .sheet-bg, .seg { display: none; }
@media (max-width: 860px) {
  /* App-Gefühl: keine Seitenleiste, kein Hamburger */
  .app-page .sidebar { display: none; }
  .app-page .menu-btn { display: none; }
  .app-page main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .app-page .topbar { height: 56px; }
  .app-page .crumbs b { font-size: 16px; font-weight: 600; }
  .app-page .page-head { margin-bottom: 20px; }
  .app-page .page-head .eyebrow { display: none; }
  .app-page .page-head .head-icon { display: none; }
  .app-page .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar button {
    background: none; border: none; display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10.5px; font-weight: 500; color: #8a8576; padding: 4px 0; position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar button .ti { width: 56px; height: 30px; border-radius: 16px; display: grid; place-items: center; transition: background .15s; }
  .tabbar button.active { color: var(--text); }
  .tabbar button.active .ti { background: var(--gold-soft); color: var(--gold-dark); }
  .tabbar .tb-badge {
    position: absolute; top: 0; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700;
    display: grid; place-items: center; border: 2px solid #fff;
  }

  .mobile-scope { display: flex; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 56px; z-index: 19; overflow-x: auto; }
  .scope-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 20px; padding: 7px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--text); }
  .scope-chip .r { color: var(--gold-dark); font-weight: 600; }
  .scope-chip svg { color: var(--gold-dark); }

  .seg { display: flex; background: #efebe0; border-radius: 12px; padding: 3px; margin: -6px 0 20px; }
  .seg button { flex: 1; border: none; background: none; padding: 8px 4px; border-radius: 9px; font-size: 13px; font-weight: 500; color: #6b665a; display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
  .seg button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

  .sheet-bg { display: block; position: fixed; inset: 0; background: rgba(23, 21, 15, .35); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
  .sheet-bg.open { opacity: 1; pointer-events: auto; }
  .sheet {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: var(--surface);
    border-radius: 20px 20px 0 0; max-height: 80vh; overflow-y: auto; transform: translateY(100%); transition: transform .25s ease;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .sheet.open { transform: none; }
  .sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 4px auto 14px; }
  .sheet h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
  .sheet .sheet-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
  .sheet .loc-item { padding: 12px 10px; font-size: 15px; }
  .sheet .loc-search input { font-size: 15px; padding: 9px 0; }
  .sheet .loc-list { max-height: none; }
  .sheet-menu { display: grid; gap: 4px; }
  .sheet-menu button { display: flex; align-items: center; gap: 14px; background: none; border: none; padding: 13px 10px; border-radius: 12px; font-size: 15px; color: var(--text); text-align: left; }
  .sheet-menu button:active { background: var(--bg); }
  .sheet-menu button svg { color: var(--gold-dark); }
  .sheet-menu hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }

  .drawer { z-index: 55; }
  .drawer-bg { z-index: 54; }
}
@media (max-width: 860px) {
  .app-page .page-head h1 { display: none; }
  .app-page .page-head p { margin-top: 0; }
  .app-page .biz-switch { display: none; }
  .app-page .preview-bar { padding-top: 7px; padding-bottom: 7px; }
  .app-page .preview-bar .long { display: none; }
  .app-page .topbar .crumbs b { font-size: 19px; letter-spacing: -.3px; }
}

/* ---------- v6: Feste, kompakte Seitenleiste (Desktop) ---------- */
@media (min-width: 861px) {
  .app-page .sidebar { overflow: hidden; padding: 20px 14px 14px; }
  .app-page .sidebar .logo-block { padding: 0 8px 14px; }
  .app-page .sidebar .logo-sub { display: none; }
  .app-page .side-foot { display: none; }
  .app-page .loc-panel { padding: 8px; margin-bottom: 14px; }
  .app-page .loc-head { padding: 2px 4px 6px; }
  .app-page .loc-list { max-height: none; overflow: visible; }
  .app-page .loc-item { padding: 6px 8px; }
  .app-page .loc-more { display: block; width: 100%; background: none; border: none; text-align: left; padding: 6px 8px 2px; font-size: 12.5px; color: var(--gold-dark); font-weight: 500; }
  .app-page .loc-more:hover { text-decoration: underline; }
  .app-page .nav-label { padding-bottom: 6px; }
  .app-page .nav { gap: 1px; }
  .app-page .nav button { padding: 8px 12px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app-page .nav .sub { padding: 5px 10px 5px 38px; font-size: 12.5px; }
}
/* Sehr niedrige Bildschirme: noch etwas enger */
@media (min-width: 861px) and (max-height: 700px) {
  .app-page .loc-item { padding: 4px 8px; }
  .app-page .nav button { padding: 6px 12px; }
  .app-page .nav .sub { padding: 3px 10px 3px 38px; }
}
@media (min-width: 861px) {
  /* Fallback: falls es doch zu eng wird, scrollt die Leiste unsichtbar statt mit Balken */
  .app-page .sidebar { overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
  .app-page .sidebar::-webkit-scrollbar { display: none; }
}
@media (min-width: 861px) and (max-height: 760px) {
  .app-page .sidebar .logo-block { padding-bottom: 10px; }
  .app-page .nav-label { padding-top: 0; }
}

/* ---------- v6: Schwebende, abgerundete App-Leiste (Handy) ---------- */
@media (max-width: 860px) {
  .tabbar {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    border: 1px solid rgba(23, 21, 15, .06);
    border-radius: 28px;
    padding: 6px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 10px 30px rgba(23, 21, 15, .14), 0 2px 6px rgba(23, 21, 15, .06);
  }
  .tabbar button { padding: 6px 0 4px; border-radius: 22px; font-size: 10px; gap: 2px; }
  .tabbar button .ti { width: 46px; height: 28px; border-radius: 14px; }
  .tabbar button.active { color: var(--text); }
  .tabbar button.active .ti { background: var(--black); color: var(--gold); }
  .tabbar .tb-badge { top: 1px; left: calc(50% + 4px); border-color: #fff; }
  .app-page main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .app-page .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- v7: Benachrichtigungs-Badge nur für ungelesene Updates ---------- */
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #d9622b; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
@media (max-width: 860px) {
  .tabbar .ti { position: relative; }
  .tabbar .tb-badge {
    position: absolute; top: -3px; right: 4px; left: auto;
    min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
    background: #d9622b; color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
    display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box;
  }
}
@media (max-width: 860px) {
  .tabbar .tb-badge { display: flex; align-items: center; justify-content: center; width: max-content; top: -4px; right: 2px; left: auto; }
}
@media (max-width: 860px) {
  .tabbar .tb-badge { min-width: 14px; height: 14px; padding: 0 3px; font-size: 9.5px; border-width: 2px; top: -5px; right: 0; left: auto; }
}

/* ---------- v8: Breitere linke Spalte, nichts ragt mehr aus der Kachel ---------- */
@media (min-width: 861px) {
  .app-page .shell { grid-template-columns: 300px 1fr; }
  .app-page .sidebar { padding: 24px 18px 16px; }
  .app-page .sidebar .logo-block { padding: 0 8px 16px; }
  .app-page .loc-panel { overflow: hidden; }
  .app-page .loc-item { width: 100%; min-width: 0; box-sizing: border-box; }
  .app-page .loc-item .ln { min-width: 0; }
  .app-page .loc-item .lr, .app-page .loc-item .ldot, .app-page .loc-item svg { flex-shrink: 0; }
  .app-page .nav button { min-width: 0; }
}

/* ---------- v9: Shop-Bestseller mit Shopify-Bildern ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shop-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.shop-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23, 21, 15, .1); border-color: var(--line-strong); }
.shop-img { position: relative; aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.shop-card:hover .shop-img img { transform: scale(1.03); }
.shop-img.noimg img { display: none; }
.shop-img.noimg::after { content: '★'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 48px; color: var(--gold); }
.shop-badge { position: absolute; top: 12px; left: 12px; background: var(--black); color: var(--gold); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.shop-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.shop-body h3 { font-size: 15px; font-weight: 600; line-height: 1.35; }
.shop-body p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 6px 0 14px; flex: 1; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-price { font-weight: 600; font-size: 15px; }
.shop-cta { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--gold-dark); }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-body { padding: 12px; }
  .shop-body h3 { font-size: 13px; }
  .shop-body p { display: none; }
  .shop-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .shop-price { font-size: 14px; }
  .shop-cta { font-size: 12px; }
  .shop-badge { top: 8px; left: 8px; font-size: 10.5px; padding: 3px 8px; }
}
.page-head .btn { white-space: nowrap; }

/* ===================== v10: KI-Agent Rati ===================== */
.ai-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c6ebd7; background: #f1faf5; color: #17633f; font-size: 12.5px; padding: 6px 12px 6px 10px; border-radius: 20px; white-space: nowrap; cursor: pointer; transition: .15s; }
.ai-pill:hover { background: #e6f6ed; }
.ai-pill b { font-weight: 600; }
.ai-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31,157,99,.5); animation: aiPulse 2.4s infinite; }
.ai-pill .short { display: none; font-weight: 600; }
@keyframes aiPulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,99,.45); } 70% { box-shadow: 0 0 0 7px rgba(31,157,99,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,99,0); } }
@media (prefers-reduced-motion: reduce) { .ai-pill .dot { animation: none; } }
@media (max-width: 1100px) { .ai-pill .full { display: none; } .ai-pill .short { display: inline; } }

.agent-ava { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: radial-gradient(circle at 30% 25%, #ffe680, var(--gold) 60%, #e0ad00); color: var(--black); box-shadow: 0 2px 8px rgba(245,197,24,.35); }
.agent-ava.sm { width: 28px; height: 28px; }
.agent-ava.sm svg { width: 14px; height: 14px; }
.agent-ava.lg { width: 56px; height: 56px; }
.agent-ava.lg svg { width: 26px; height: 26px; }

.agent.card { padding: 20px 22px; margin-bottom: 22px; border-color: #f0dc8e; background: linear-gradient(180deg, var(--gold-tint), var(--surface) 140px); }
.agent-head { display: flex; gap: 12px; align-items: center; }
.agent-title { min-width: 0; flex: 1; }
.agent-title b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.agent-title small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.agent-clear { flex: none; }
.agent-report { margin-top: 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rep-text b { font-size: 14px; font-weight: 600; }
.rep-text small { display: block; color: var(--muted); font-size: 12.5px; }
.rep-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rep-ctl select, .rep-ctl input[type=date] { font: inherit; font-size: 13px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 10px; background: var(--surface); color: var(--text); }
.rep-custom { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.rep-custom[hidden] { display: none; }
.agent-msgs { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-height: 460px; overflow-y: auto; }
.agent-msgs:empty { display: none; }
.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg.me { justify-content: flex-end; }
.msg .bubble { max-width: min(680px, 88%); padding: 10px 14px; border-radius: 16px; font-size: 13.8px; line-height: 1.55; }
.msg.me .bubble { background: var(--black); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ai .bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.ai.err .bubble { border-color: #f3cccc; background: #fdf3f3; color: #8a2b2b; }
.md p { margin: 0 0 8px; }
.md p:last-child, .md ul:last-child { margin-bottom: 0; }
.md h4 { font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
.md h4:first-child { margin-top: 0; }
.md ul { margin: 0 0 8px 18px; }
.md li { margin: 3px 0; }
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #c9c0a8; animation: tdot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.agent-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.agent-chips .chip { cursor: pointer; text-align: left; }
.agent-chips .chip:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--text); }
.agent-input { display: flex; gap: 8px; margin-top: 14px; }
.agent-input input { flex: 1; min-width: 0; font: inherit; font-size: 14px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; background: var(--surface); color: var(--text); }
.agent-input input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.2); }
.agent-note { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 11.5px; margin-top: 10px; }

/* Report im Seitenfenster */
.rep-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.rep-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.rk { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
.rk span { display: block; font-size: 11.5px; color: var(--muted); }
.rk b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rk small { display: block; font-size: 11.5px; color: var(--muted); }
.rk small.up { color: var(--green); }
.rk small.down { color: var(--red); }
.report-body { font-size: 14px; line-height: 1.6; }
.report-body h4 { font-size: 15px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.report-body h4:first-child { border-top: none; padding-top: 0; }
.report-loading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 48px 12px; color: var(--muted); }
.report-loading b { color: var(--text); }

/* Erinnerungen */
.reminders { background: var(--surface); border: 1px solid #f0dc8e; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 8px; margin-bottom: 22px; }
.rem-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.rem-head b { font-size: 15.5px; font-weight: 600; }
.rem-head small { display: block; color: var(--muted); font-size: 12.5px; }
.rem-item { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: none; border-top: 1px solid var(--line); padding: 12px 4px; color: var(--text); cursor: pointer; font: inherit; }
.rem-head + .rem-item { border-top: none; }
.rem-item:hover .rem-cta { color: var(--text); }
.rem-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--gold-tint); color: var(--gold-dark); display: grid; place-items: center; }
.rem-ico svg { width: 17px; height: 17px; }
.rem-body { flex: 1; min-width: 0; }
.rem-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rem-top b { font-size: 14px; font-weight: 500; }
.rem-body small { display: block; color: var(--muted); font-size: 12.8px; line-height: 1.5; margin-top: 2px; }
.rem-cta { flex: none; display: inline-flex; gap: 6px; align-items: center; color: var(--gold-dark); font-size: 13px; font-weight: 500; }
.rem-empty { color: var(--muted); font-size: 13.5px; padding: 8px 4px 12px; }

/* Begrüßungs-Pop-up */
.agent-pop { position: fixed; right: 24px; bottom: 24px; width: min(420px, calc(100vw - 32px)); background: var(--surface); border: 1px solid #f0dc8e; border-radius: 18px; box-shadow: 0 18px 50px rgba(23,21,15,.18); padding: 18px 18px 14px; z-index: 60; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .25s, transform .25s; }
.agent-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.pop-head { display: flex; gap: 12px; align-items: center; }
.pop-head > div { flex: 1; min-width: 0; }
.pop-head b { font-size: 16px; font-weight: 600; }
.pop-head small { display: block; color: var(--muted); font-size: 12.5px; }
.pop-lead { font-size: 13.5px; margin: 12px 0 2px; }
.agent-pop .rem-item { padding: 10px 2px; }
.agent-pop .rem-cta { display: none; }
.pop-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .agent-pop { transition: none; } }

@media (max-width: 860px) {
  .app-page .ai-pill { padding: 5px 10px 5px 8px; font-size: 12px; }
  .agent.card { padding: 16px; }
  .agent-report { flex-direction: column; align-items: stretch; }
  .rep-ctl { width: 100%; }
  .rep-ctl select { flex: 1; }
  .agent-msgs { max-height: 380px; }
  .agent-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .agent-chips::-webkit-scrollbar { display: none; }
  .agent-chips .chip { white-space: nowrap; }
  .agent-pop { right: 12px; left: 12px; width: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .rem-cta { display: none; }
}
.agent-pop .rem-top .pill { display: none; }
.msg.ai .bubble.md ul { margin-left: 18px; }

/* ===================== v11: Keywords, Themen, Sammel-Antworten, Shop-Hinweis ===================== */
.nav .nl { display: flex; flex-direction: column; min-width: 0; }
.nav-hint { font-size: 11px; color: var(--gold-dark); font-weight: 500; line-height: 1.3; margin-top: 1px; }
.shop-hero { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--black); color: #e9e4d6; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-size: 13.5px; }
.shop-hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--black); font-weight: 600; border-radius: 20px; padding: 6px 14px; font-size: 13px; }
.shop-hero-tag svg { width: 15px; height: 15px; }

.kw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.kw-card { padding: 20px 22px; }
.kw-card h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kw-card h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.kw-card .sub { color: var(--muted); font-size: 12.5px; margin: 2px 0 12px; }
.kw { display: grid; grid-template-columns: minmax(90px, 34%) 1fr 32px; gap: 10px; align-items: center; width: 100%; background: none; border: none; padding: 5px 4px; border-radius: 8px; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.kw:hover { background: var(--gold-tint); }
.kw-w { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kw-bar { height: 8px; background: #f1ede2; border-radius: 4px; overflow: hidden; }
.kw-bar i { display: block; height: 100%; border-radius: 4px; }
.kw-n { font-size: 12.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.kw-empty { color: var(--muted); font-size: 13px; padding: 10px 0; }
.topics-card { padding: 20px 22px; margin-bottom: 28px; }
.topics-head { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.topics-head b { font-size: 15px; font-weight: 600; }
.topics-head small { display: block; color: var(--muted); font-size: 12.8px; }
.topics-loading { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.topics { margin-top: 16px; }
.tp-fazit { display: flex; gap: 10px; align-items: center; background: var(--gold-tint); border: 1px solid #f0dc8e; border-radius: 12px; padding: 10px 12px; font-size: 13.8px; margin-bottom: 14px; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tp-col { border: 1px solid var(--line); border-radius: 12px; padding: 14px; border-top: 3px solid var(--line-strong); }
.tp-col.good { border-top-color: #2b7bb9; }
.tp-col.bad { border-top-color: #d9622b; }
.tp-col.miss { border-top-color: var(--gold); }
.tp-col h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.tp-item { padding: 7px 0; border-top: 1px solid var(--line); }
.tp-col h4 + .tp-item { border-top: none; }
.tp-top { display: flex; justify-content: space-between; gap: 8px; }
.tp-item b { font-size: 13.5px; font-weight: 500; }
.tp-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tp-item q, .tp-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.tp-focus { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tp-focus h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.tp-focus ol { margin-left: 18px; }
.tp-focus li { padding: 4px 0; font-size: 13.5px; }
.tp-focus li small { display: block; color: var(--muted); font-size: 12.5px; }

.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bulk-btn .bulk-n { background: var(--black); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 11.5px; line-height: 18px; }
.bulk-opts { display: grid; gap: 8px; margin: 12px 0; }
.bulk-opt { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.bulk-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); }
.bulk-opt:has(input:disabled) { opacity: .5; cursor: default; }
.bulk-opt b { font-weight: 500; font-size: 14px; }
.bulk-opt small { display: block; color: var(--muted); font-size: 12.5px; }
.bulk-progress { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin: 6px 0 12px; position: sticky; top: -1px; background: var(--surface); padding: 8px 0; z-index: 1; }
.bulk-progress .bar { flex: 1; height: 6px; background: #f1ede2; border-radius: 3px; overflow: hidden; }
.bulk-progress .bar i { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.bulk-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.bulk-item.gen { border-color: var(--gold); }
.bulk-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.bulk-review { color: var(--muted); font-size: 12.8px; margin: 6px 0 8px; line-height: 1.5; }
.bulk-item textarea { width: 100%; font: inherit; font-size: 13.5px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; resize: vertical; color: var(--text); background: var(--surface); }
.bulk-item textarea:disabled { background: #f7f5ef; color: var(--muted); }
.bulk-check { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.bulk-err { color: var(--red); font-size: 12.5px; }
.bulk-actions { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; bottom: -1px; background: var(--surface); padding: 12px 0 4px; }
@media (max-width: 860px) {
  .kw-grid { grid-template-columns: 1fr; }
  .bulk-btn { width: 100%; }
}
.agent-ava { position: relative; overflow: hidden; }
.agent-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agent-ava.has-img { background: #fffaea; }
.agent-ava.has-img svg { opacity: 0; }
.ava-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ava-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 4px; cursor: pointer; font: inherit; color: var(--text); }
.ava-opt small { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.25; }
.ava-opt.active { border-color: var(--gold); background: var(--gold-tint); box-shadow: 0 0 0 2px rgba(245,197,24,.25); }
@media (max-width: 520px) { .ava-pick { grid-template-columns: repeat(3, 1fr); } }
.bulk-actions { border-top: 1px solid var(--line); box-shadow: 0 -8px 16px rgba(255,255,255,.9); margin-top: 4px; }

/* =====================================================================
   v12: Redesign „Gold Rush“ – Schimmer-Hintergrund, knallige Highlights,
   klarere Navigation. Logo bleibt unverändert.
   ===================================================================== */
:root {
  --gold: #ffc21a;
  --gold-hot: #ff9f0a;
  --gold-dark: #a87400;
  --gold-soft: #fff1c2;
  --gold-tint: #fff9e6;
  --ink: #0f0e0b;
  --black: #0f0e0b;
  --bg: #f6f1e6;
  --line: rgba(23, 21, 15, .08);
  --line-strong: rgba(23, 21, 15, .14);
  --radius: 18px;
  --glass: rgba(255, 255, 255, .72);
  --shadow: 0 1px 2px rgba(23, 21, 15, .04), 0 10px 30px -12px rgba(23, 21, 15, .14);
  --shadow-hi: 0 2px 4px rgba(23, 21, 15, .05), 0 18px 40px -14px rgba(23, 21, 15, .22);
  --hl: linear-gradient(100deg, #ffd23f 0%, #ffb100 55%, #ff8a00 100%);
}

/* Hintergrund: warme Farbflächen + langsamer Gold-Schimmer + feines Punktraster */
html, body { background: var(--bg); }
body.app-page { position: relative; isolation: isolate; }
body.app-page::before {
  content: ''; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 42% at 82% 8%, rgba(255, 194, 26, .30), transparent 70%),
    radial-gradient(34% 40% at 6% 92%, rgba(255, 138, 0, .16), transparent 70%),
    radial-gradient(30% 30% at 55% 55%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(40% 40% at 30% 10%, rgba(255, 236, 179, .45), transparent 70%);
  animation: rhDrift 26s ease-in-out infinite alternate;
}
body.app-page::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, rgba(255, 226, 140, .25) 52%, transparent 65%) 0 0 / 250% 100% no-repeat,
    radial-gradient(rgba(23, 21, 15, .07) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.25) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.25) 100%);
  animation: rhShimmer 9s ease-in-out infinite;
}
@keyframes rhDrift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
@keyframes rhShimmer { 0% { background-position: 130% 0, 0 0; } 60%, 100% { background-position: -40% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { body.app-page::before, body.app-page::after { animation: none; } }

/* Seitenleiste: Glas, kräftige Auswahl */
.app-page .sidebar { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-right: 1px solid rgba(255, 194, 26, .25); }
.app-page .nav-label { color: #8a826d; }
.app-page .nav { gap: 4px; }
.app-page .nav button { color: #2c2a24; font-weight: 500; font-size: 14.5px; position: relative; transition: background .15s, color .15s, transform .15s; }
.app-page .nav button svg { color: #8a826d; transition: color .15s; }
.app-page .nav button:hover { background: rgba(255, 255, 255, .9); color: var(--ink); }
.app-page .nav button:hover svg { color: var(--gold-dark); }
.app-page .nav button.active { background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 8px 20px -8px rgba(15, 14, 11, .55), 0 0 0 1px rgba(255, 194, 26, .35) inset; }
.app-page .nav button.active svg { color: var(--gold); }
.app-page .nav button.active::before { content: ''; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--hl); box-shadow: 0 0 12px rgba(255, 170, 0, .8); }
.app-page .nav button.sub { font-size: 13.5px; font-weight: 500; }
.app-page .nav button.sub.active { background: var(--gold-soft); color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 194, 26, .6) inset; }
.app-page .nav button.sub.active::before { background: var(--gold); box-shadow: none; }
.app-page .nav button.active .nav-hint { color: var(--gold); }
.app-page .nav-badge { background: var(--hl); color: var(--ink); font-weight: 700; box-shadow: 0 2px 8px rgba(255, 138, 0, .45); }

.app-page .loc-panel { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 194, 26, .3); border-radius: 16px; box-shadow: var(--shadow); }
.app-page .loc-item { color: #2c2a24; font-weight: 500; }
.app-page .loc-item:hover { background: var(--gold-tint); }
.app-page .loc-item.active { background: var(--hl); color: var(--ink); font-weight: 600; box-shadow: 0 6px 16px -6px rgba(255, 150, 0, .6); }
.app-page .loc-item.active .lr, .app-page .loc-item.active .lr b, .app-page .loc-item.active svg { color: var(--ink); }

/* Kopfzeile: Glas */
.app-page .topbar { background: rgba(246, 241, 230, .7); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255, 194, 26, .22); }
.app-page .crumbs b { font-weight: 600; }
.app-page .preview-bar { background: rgba(255, 241, 194, .7); border-bottom-color: rgba(255, 194, 26, .3); }
.app-page .biz-ava, .app-page .biz-menu .biz-ava { background: var(--hl); }

/* Typografie: große Überschriften mit Leuchtmarker */
.app-page .eyebrow { background: var(--hl); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; letter-spacing: 2.4px; }
.app-page .page-head h1 { display: inline; font-size: 40px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.15; padding: 0 4px; margin-left: -4px;
  background: linear-gradient(transparent 58%, rgba(255, 194, 26, .75) 58%, rgba(255, 170, 0, .75) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.app-page .page-head p { margin-top: 12px; font-size: 14.5px; color: #6b6553; }
.app-page .head-icon { background: var(--hl); border: none; color: var(--ink); box-shadow: 0 8px 20px -8px rgba(255, 150, 0, .7); }
.app-page h2.section { font-size: 21px; font-weight: 700; letter-spacing: -.4px; display: flex; align-items: center; gap: 10px; }
.app-page h2.section::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: var(--hl); box-shadow: 0 0 10px rgba(255, 170, 0, .5); }

/* Karten: Glas, weicher Schatten, Hover-Lift */
.app-page .card, .app-page .list, .app-page .update, .app-page .table-card, .app-page .reminders { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); border-radius: var(--radius); }
.app-page .kpi { transition: transform .18s, box-shadow .18s; }
.app-page .kpi:hover, .app-page .platform-card:hover, .app-page .shop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); }
.app-page .kpi .label { color: #4d493f; font-weight: 600; }
.app-page .kpi .value { font-size: 38px; font-weight: 700; letter-spacing: -1.4px; }
.app-page .kpi.featured { background: radial-gradient(120% 120% at 100% 0%, #3a2e0e 0%, #17140c 55%, #0f0e0b 100%); border: 1px solid rgba(255, 194, 26, .45); box-shadow: 0 16px 36px -14px rgba(15, 14, 11, .6), 0 0 0 1px rgba(255, 194, 26, .15) inset; }
.app-page .kpi.featured .label { color: #f3ead2; }
.app-page .kpi.featured .value { background: var(--hl); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-page .kpi.featured .value small, .app-page .kpi.featured .meta { color: #b9ae92; -webkit-text-fill-color: #b9ae92; }
.app-page .kpi.featured .ico { color: var(--gold); }
.app-page .kpi.featured .stars .off { color: #4a4232; }
.app-page .kpi.tp-featured { background: radial-gradient(120% 120% at 100% 0%, #0c3b2a 0%, #0b1f17 60%, #0a120e 100%); border-color: rgba(0, 182, 122, .45); }
.app-page .kpi.tp-featured .label, .app-page .kpi.tp-featured .value { color: #fff; }
.app-page .kpi.tp-featured .value small, .app-page .kpi.tp-featured .meta { color: #9cc7b5; }

/* Buttons */
.app-page .btn { border-radius: 12px; }
.app-page .btn-gold { background: var(--hl); border: none; color: var(--ink); font-weight: 700; box-shadow: 0 6px 16px -6px rgba(255, 140, 0, .7); position: relative; overflow: hidden; }
.app-page .btn-gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.app-page .btn-gold:hover::after { transform: translateX(120%); }
.app-page .btn-gold:hover { filter: none; }
.app-page .btn-dark { background: var(--ink); box-shadow: 0 6px 16px -8px rgba(15, 14, 11, .7); }
.app-page .link { color: #b46a00; font-weight: 600; }
.app-page .chip.active { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px rgba(255, 194, 26, .5); }
.app-page .update.highlight { border-left: 4px solid var(--gold); }
.app-page .row:hover { background: rgba(255, 249, 230, .8); }
.app-page .stars { color: #ffb800; }

/* Rati prominenter */
.agent-ava.has-img { background: #fff7df; box-shadow: 0 0 0 2px #fff, 0 4px 14px -4px rgba(255, 150, 0, .55); }
.app-page .agent.card { background: linear-gradient(135deg, rgba(255, 249, 230, .95), rgba(255, 255, 255, .85) 55%); border: 1px solid rgba(255, 194, 26, .55); position: relative; overflow: hidden; }
.app-page .agent.card::before { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 26, .35), transparent 70%); pointer-events: none; }
.app-page .agent-head .agent-ava { width: 48px; height: 48px; }
.app-page .agent-title b { font-size: 18px; font-weight: 700; }
.app-page .ai-pill { background: var(--ink); color: #fff; border-color: rgba(255, 194, 26, .5); box-shadow: 0 6px 16px -8px rgba(15, 14, 11, .7); }
.app-page .ai-pill b { color: var(--gold); }
.app-page .ai-pill .dot { background: #3ddc84; }
.pop-robot { position: absolute; right: 8px; top: -78px; width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(15, 14, 11, .18)); pointer-events: none; }
.agent-pop { overflow: visible; }
.agent-pop .pop-inner { max-height: calc(100vh - 140px); overflow-y: auto; }
.agent-pop .pop-head > .icon-btn { position: relative; z-index: 1; }

/* Mobile */
@media (max-width: 860px) {
  .app-page .page-head h1 { font-size: 30px; }
  .app-page .tabbar { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 194, 26, .3); }
  .app-page .tabbar button.active { color: var(--ink); font-weight: 600; }
  .app-page .tabbar button.active .ti { background: var(--ink); color: var(--gold); box-shadow: 0 6px 14px -6px rgba(15, 14, 11, .6); }
  .app-page .tb-badge { background: var(--hl); color: var(--ink); }
  .app-page .mobile-scope { background: rgba(246, 241, 230, .75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .app-page .scope-chip { background: rgba(255, 255, 255, .85); border-color: rgba(255, 194, 26, .45); }
  .pop-robot { width: 88px; height: 88px; top: -62px; }
}
:root { --hl-text: linear-gradient(100deg, #c26a00 0%, #e2560b 100%); }
.app-page .eyebrow { background: var(--hl-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agent-ava.xl { width: 64px; height: 64px; }
.app-page .agent-pop { border: 1px solid rgba(255, 194, 26, .6); background: linear-gradient(160deg, #fff9e6 0%, #fff 45%); box-shadow: 0 24px 60px -20px rgba(15, 14, 11, .35), 0 0 0 4px rgba(255, 194, 26, .12); }
.app-page .agent-pop .pop-head b { font-size: 18px; font-weight: 700; }
.agent-hero { position: absolute; right: 18px; top: 6px; width: 132px; height: 132px; mix-blend-mode: multiply; pointer-events: none; }
.app-page .agent.card .agent-head { padding-right: 130px; min-height: 70px; }
.app-page .agent.card .agent-report { position: relative; z-index: 1; }
@media (max-width: 860px) { .agent-hero { width: 92px; height: 92px; right: 6px; top: 4px; } .app-page .agent.card .agent-head { padding-right: 78px; } }
.agent-hero { mix-blend-mode: normal; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); filter: drop-shadow(0 8px 14px rgba(168, 116, 0, .25)); }
.pop-robot { right: 14px; top: -92px; width: 120px; height: 120px; object-fit: contain; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 96%); mask-image: linear-gradient(180deg, #000 72%, transparent 96%); filter: drop-shadow(0 8px 14px rgba(168, 116, 0, .25)); }
.agent-pop .pop-head { padding-right: 70px; }
@media (max-width: 860px) { .pop-robot { width: 100px; height: 100px; top: -76px; } }
body:has(.agent-pop.open) .agent-hero { opacity: 0; transition: opacity .2s; }

/* v13: kein Textmarker unter Titeln · Rati-Mini-Avatar überall */
.app-page .page-head h1 { background: none; display: block; padding: 0; margin-left: 0; }
.st-mini { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; background: #fff7df; box-shadow: 0 0 0 1.5px #fff, 0 2px 6px -1px rgba(168, 116, 0, .45); vertical-align: middle; }
.st-mini.lg { width: 30px; height: 30px; }
.st-mini.on-gold { box-shadow: 0 0 0 1.5px rgba(15, 14, 11, .85); }
.btn .st-mini { width: 20px; height: 20px; margin-left: -4px; }
.btn-sm .st-mini { width: 18px; height: 18px; }
.ai-pill .pill-ava { position: relative; display: inline-flex; margin-left: -4px; }
.ai-pill .pill-ava .st-mini { width: 22px; height: 22px; box-shadow: 0 0 0 1.5px var(--gold); }
.ai-pill .pill-ava .dot { position: absolute; right: -2px; bottom: -1px; width: 8px; height: 8px; border: 1.5px solid var(--ink); }
.eyebrow-st { display: flex; align-items: center; gap: 8px; }
.eyebrow-st .st-mini { width: 22px; height: 22px; }
.st-title { display: flex; align-items: center; gap: 12px; }
.topics-head .st-title .agent-ava { width: 40px; height: 40px; }
.card-head .st-mini { margin-right: 2px; }

/* v14: Eigene Kategorien mit Rati · Button-Abstand */
.section-row { align-items: center; margin-bottom: 16px; }
.section-row .section-sub { margin-bottom: 0; }
.section-row .bulk-btn { margin-top: 4px; }
.new-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; background: var(--hl); color: var(--ink); padding: 3px 9px; border-radius: 20px; box-shadow: 0 4px 12px -4px rgba(255, 140, 0, .7); }
.wsec { margin-bottom: 30px; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.wtile { padding: 18px 18px 16px; position: relative; border-top: 4px solid var(--line-strong) !important; }
.wtile.good { border-top-color: #2b7bb9 !important; }
.wtile.mid { border-top-color: var(--gold) !important; }
.wtile.bad { border-top-color: #d9622b !important; }
.wt-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.wt-head b { font-size: 16px; font-weight: 700; }
.wt-head small { display: block; color: var(--muted); font-size: 12px; }
.wt-tools { display: flex; gap: 2px; }
.wt-tools .icon-btn { width: 28px; height: 28px; color: var(--muted); }
.wt-tools .icon-btn:hover { color: var(--ink); background: var(--gold-tint); }
.wt-main { display: grid; grid-template-columns: auto 1fr 74px; gap: 14px; align-items: center; margin-top: 14px; }
.wt-score { text-align: center; }
.wt-big { display: block; font-size: 30px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.wtile.good .wt-big { color: #1f5f91; } .wtile.bad .wt-big { color: #b44a17; } .wtile.mid .wt-big { color: #9a6a00; }
.wt-score small { font-size: 11.5px; color: var(--muted); }
.wt-meta { font-size: 12.5px; color: #4d493f; line-height: 1.45; }
.wt-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #f1ede2; margin: 7px 0 5px; }
.wt-split i { display: block; height: 100%; }
.wt-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--muted); }
.wt-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.wt-trend { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.wt-trend span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.wt-trend i { display: block; width: 100%; border-radius: 2px 2px 0 0; }
.wt-fazit { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.wt-fazit .st-mini { margin-top: 1px; }
.wt-quotes { display: grid; gap: 6px; margin-top: 10px; }
.wt-quotes q { display: block; font-size: 12.5px; color: #4d493f; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .7); border-left: 3px solid; }
.wt-quotes q.pos { border-color: #2b7bb9; } .wt-quotes q.neg { border-color: #d9622b; }
.wt-tip { margin-top: 10px; font-size: 12.5px; background: var(--gold-tint); border: 1px solid rgba(255, 194, 26, .45); border-radius: 10px; padding: 8px 10px; }
.wt-open { margin-top: 10px; }
.wt-busy { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; padding: 26px 4px; }
.wt-empty { text-align: center; padding: 20px 6px 8px; color: var(--muted); font-size: 13px; }
.wt-empty p { margin-bottom: 10px; }
.wadd { padding: 18px; border: 2px dashed rgba(255, 170, 0, .55) !important; background: linear-gradient(160deg, rgba(255, 249, 230, .9), rgba(255, 255, 255, .7)) !important; display: grid; gap: 12px; }
.wadd-head { display: flex; gap: 10px; align-items: center; }
.wadd-head b { font-size: 15px; font-weight: 700; }
.wadd-head small { display: block; color: var(--muted); font-size: 12.5px; }
.wadd input { font: inherit; font-size: 14px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; background: #fff; }
.wadd input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 194, 26, .25); }
.wadd-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.wadd-sugg .chip { cursor: pointer; }
.wadd-sugg .chip:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--ink); }
.kf-chip { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .wgrid { grid-template-columns: 1fr; } .wt-main { grid-template-columns: auto 1fr; } .wt-trend { grid-column: 1 / -1; height: 36px; } }

/* v15: Abo & Lizenz */
.billing-card { margin-bottom: 18px; }
.billing-card .card-head .pill { font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.plan { position: relative; border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px; background: rgba(255, 255, 255, .85); display: flex; flex-direction: column; gap: 6px; }
.plan.best { border: 2px solid var(--gold); background: linear-gradient(160deg, #fff9e6, #fff 60%); box-shadow: 0 14px 30px -14px rgba(255, 150, 0, .55); }
.plan-badge { position: absolute; top: -12px; left: 18px; background: var(--hl); color: var(--ink); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.plan-name { font-weight: 700; font-size: 16px; }
.plan-price b { font-size: 34px; font-weight: 700; letter-spacing: -1px; }
.plan-price span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.plan-sub { color: var(--muted); font-size: 12.5px; }
.plan ul { list-style: none; margin: 10px 0 14px; display: grid; gap: 6px; font-size: 13px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.plan .btn, .plan .pill { margin-top: auto; align-self: stretch; justify-content: center; }
.paywall { max-width: 760px; margin: 20px auto; text-align: center; position: relative; padding-top: 110px; }
.paywall h1 { font-size: 36px; font-weight: 700; letter-spacing: -1px; margin: 6px 0 10px; }
.paywall > p { color: #6b6553; max-width: 520px; margin: 0 auto 10px; }
.paywall .plans { text-align: left; }
.pw-robot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 120px; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 96%); mask-image: linear-gradient(180deg, #000 72%, transparent 96%); }
.auth-tabs { display: flex; gap: 6px; background: rgba(23, 21, 15, .06); padding: 4px; border-radius: 12px; margin: 0 auto 16px; width: 100%; max-width: 400px; }
.auth-tabs button { flex: 1; border: none; background: none; padding: 9px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #6b6553; }
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(23, 21, 15, .1); }
.login-card[hidden] { display: none !important; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #4d493f; margin: 4px 0 10px; line-height: 1.45; }
.check input { margin-top: 2px; }
.login-panel { align-content: center; }
.paywall .fineprint { justify-content: center; }

/* v16: Free / Premium */
.pteaser { display: flex; gap: 16px; align-items: center; padding: 20px 22px; margin-bottom: 24px; border: 1px dashed rgba(255, 170, 0, .6) !important; background: linear-gradient(135deg, rgba(255, 249, 230, .95), rgba(255, 255, 255, .8)) !important; flex-wrap: wrap; }
.pt-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--hl); color: var(--ink); display: grid; place-items: center; flex: none; box-shadow: 0 8px 18px -8px rgba(255, 140, 0, .7); }
.pt-stella .pt-ico { background: #fff7df url('../icons/stella-face.webp') center / cover; }
.pt-stella .pt-ico svg { display: none; }
.pt-body { flex: 1; min-width: 220px; }
.pt-body b { display: block; font-size: 16px; font-weight: 700; margin-top: 4px; }
.pt-body p { color: #6b6553; font-size: 13.5px; margin-top: 2px; line-height: 1.5; }
.pt-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; background: var(--ink); color: var(--gold); padding: 2px 8px; border-radius: 20px; margin-right: 4px; }
.plan.free { background: rgba(255, 255, 255, .6); }
.plan.free .plan-price b { color: #6b6553; }
.app-page .ai-pill.locked { background: #fff; color: var(--ink); border-color: rgba(255, 170, 0, .6); }
.app-page .ai-pill.locked b { color: #b46a00; }
.app-page .ai-pill.locked .dot { background: #c9c0a8; }

/* v17: Analyse als frei anordbares Raster */
.dgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; grid-auto-flow: row dense; align-items: start; margin-bottom: 18px; }
.gt { grid-column: span var(--w, 12); min-width: 0; display: flex; flex-direction: column; position: relative; }
.gt > .card, .gt > .pteaser { flex: 1; margin-bottom: 0 !important; }
.gt > .agent.card { margin-bottom: 0; }
.gt .kpi { height: 100%; }
.gt .chart-card { height: 100%; }
.tile-h { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.tile-table { padding: 20px 20px 8px; }
.table-scroll { overflow-x: auto; margin: 0 -20px; }
.table-scroll .tbl { min-width: 640px; }
.app-page .gt .kw-card, .app-page .gt .topics-card { margin-bottom: 0; }
/* Bearbeiten-Modus */
.layout-bar { display: flex; gap: 14px; align-items: center; background: var(--ink); color: #f3ead2; border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; box-shadow: 0 14px 30px -14px rgba(15, 14, 11, .6); }
.layout-bar > svg { color: var(--gold); flex: none; }
.layout-bar > div { flex: 1; min-width: 0; }
.layout-bar b { color: #fff; font-size: 14.5px; }
.layout-bar small { display: block; color: #b9ae92; font-size: 12.5px; }
.lb-hidden { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12px; color: #b9ae92; }
.lb-hidden .chip { background: #2a261c; border-color: #4a4232; color: #f3ead2; cursor: pointer; }
.layout-bar .btn { background: transparent; color: #f3ead2; border-color: #4a4232; }
.dgrid.editing .gt { outline: 2px dashed rgba(255, 170, 0, .55); outline-offset: 3px; border-radius: 20px; }
.dgrid.editing .gt > :not(.gt-bar) { pointer-events: none; user-select: none; }
.gt-bar { display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 12px; padding: 5px 6px; margin-bottom: 8px; font-size: 12.5px; }
.gt-handle { cursor: grab; touch-action: none; background: var(--hl); color: var(--ink); border: none; border-radius: 8px; width: 34px; height: 30px; font-size: 16px; font-weight: 700; display: grid; place-items: center; }
.gt-handle:active { cursor: grabbing; }
.gt-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.gt-b { background: #2a261c; color: #fff; border: 1px solid #4a4232; border-radius: 8px; min-width: 30px; height: 30px; font-size: 14px; }
.gt-b:disabled { opacity: .35; }
.gt-w { font-size: 11px; color: #b9ae92; min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.gt.dragging { box-shadow: 0 30px 60px -20px rgba(15, 14, 11, .45); transform: rotate(-1deg); opacity: .96; }
.gt-ph { border: 2px dashed var(--gold); border-radius: 20px; background: rgba(255, 194, 26, .12); }
/* Ideen-Zeile */
.idea-card { padding: 20px 22px; border: 1px solid rgba(255, 170, 0, .55) !important; background: linear-gradient(135deg, rgba(255, 246, 214, .97), rgba(255, 255, 255, .88) 60%) !important; }
.idea-head { display: flex; gap: 14px; align-items: center; }
.idea-head b { font-size: 17px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.idea-head small { display: block; color: #6b6553; font-size: 13px; margin-top: 2px; max-width: 760px; }
.idea-bar { display: flex; align-items: center; gap: 10px; margin-top: 16px; background: #fff; border: 2px solid var(--gold); border-radius: 16px; padding: 6px 6px 6px 14px; box-shadow: 0 0 0 5px rgba(255, 194, 26, .16), 0 10px 26px -12px rgba(255, 150, 0, .5); }
.idea-bar:focus-within { box-shadow: 0 0 0 6px rgba(255, 194, 26, .3), 0 10px 26px -12px rgba(255, 150, 0, .6); }
.idea-spark { color: #e2860b; display: grid; place-items: center; }
.idea-bar input { flex: 1; min-width: 0; border: none; outline: none; font: inherit; font-size: 15px; padding: 10px 4px; background: transparent; color: var(--ink); }
.idea-bar .btn { white-space: nowrap; }
.idea-sugg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; font-size: 12.5px; color: #6b6553; }
.idea-sugg .chip { cursor: pointer; }
.idea-sugg .chip:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--ink); }
.idea-reply { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.idea-reply.no { border-color: rgba(217, 98, 43, .4); background: #fff8f3; }
.idea-alt { margin-top: 6px; }
/* Kennzahl-Kachel */
.kz-total { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kz-total small { color: var(--muted); font-size: 12.5px; }
.kz-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.kz-bars { display: grid; gap: 6px; margin-top: 12px; }
.kz-row { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; }
.kz-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kz-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .gt { grid-column: span max(6, var(--w)); } }
@media (max-width: 860px) {
  .dgrid { gap: 12px; }
  .gt { grid-column: span 12; }
  .gt[data-tile^="kpi-"] { grid-column: span 6; }
  .idea-bar { flex-wrap: wrap; padding: 8px; }
  .idea-bar input { flex-basis: calc(100% - 40px); }
  .idea-bar .btn { width: 100%; }
  .layout-bar { flex-wrap: wrap; }
}
.gt[data-tile^="kpi-"] { align-self: stretch; }
@media (max-width: 860px) { .gt-w { display: none; } .gt-bar { gap: 4px; } }

/* v18: Feste Raster-Plätze (klein · länglich · groß · mittel) */
.dgrid2 { display: grid; gap: 16px; margin-bottom: 18px; }
.grow { display: grid; gap: 16px; }
.row-S { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row-W { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-M { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-L { grid-template-columns: minmax(0, 1fr); }
.dgrid2 .gt { min-width: 0; display: flex; flex-direction: column; position: relative; }
.dgrid2 .gt > .card, .dgrid2 .gt > .pteaser { flex: 1; margin: 0 !important; min-height: 0; }
.dgrid2 .sz-S > .card { height: 178px; overflow: hidden; }
.dgrid2 .sz-M > .card, .dgrid2 .sz-W > .card, .dgrid2 .sz-M > .pteaser, .dgrid2 .sz-W > .pteaser { height: 430px; overflow-y: auto; scrollbar-width: thin; }
.dgrid2 .sz-L > .card { min-height: 220px; }
.dgrid2 .sz-M .kpi, .dgrid2 .sz-W .kpi, .dgrid2 .sz-L .kpi { display: flex; flex-direction: column; justify-content: center; }
.dgrid2 .sz-M .kpi .value, .dgrid2 .sz-W .kpi .value, .dgrid2 .sz-L .kpi .value { font-size: 52px; }
.dgrid2 .sz-M .agent-hero, .dgrid2 .sz-W .agent-hero { display: none; }
.dgrid2 .sz-M .agent.card .agent-head, .dgrid2 .sz-W .agent.card .agent-head { padding-right: 0; }
.dgrid2 .sz-M .agent-msgs, .dgrid2 .sz-W .agent-msgs { max-height: none; }
.dgrid2 .sz-M .wt-main { grid-template-columns: auto 1fr; }
.dgrid2 .sz-M .wt-trend { grid-column: 1 / -1; height: 36px; }
.dgrid2 .sz-M .idea-bar, .dgrid2 .sz-W .idea-bar { flex-wrap: wrap; }
.dgrid2 .sz-M .idea-bar input { flex-basis: 100%; }
.dgrid2 .sz-M .idea-bar .btn { width: 100%; }
.dgrid2 .sz-M .agent-report .rep-ctl { width: 100%; }
/* Kompakte Kachel */
.tmini { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.tm-top { display: flex; gap: 8px; align-items: center; color: #8a826d; }
.tm-top b { color: var(--ink); font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-top svg { color: var(--gold-dark); flex: none; }
.tm-val { font-size: 12.5px; color: #4d493f; line-height: 1.4; display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; }
.tm-big { font-size: 30px; font-weight: 700; letter-spacing: -1px; color: var(--ink); margin-right: 4px; }
.tm-open { margin-top: auto; }
.tm-stella { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.tm-stella > div { flex: 1; min-width: 0; }
.tm-stella b { display: block; font-size: 15px; font-weight: 700; }
.tm-stella small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.tm-stella .btn { width: 100%; }
/* Bearbeiten */
.dgrid2.editing .gt { outline: 2px dashed rgba(255, 170, 0, .5); outline-offset: 3px; border-radius: 20px; }
.dgrid2.editing .gt > :not(.gt-bar) { pointer-events: none; user-select: none; }
.dgrid2 .gt.empty { min-height: 60px; }
.slot-empty { flex: 1; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 194, 26, .07); color: #a08a55; font-size: 13px; font-weight: 500; }
.dgrid2 .sz-S .slot-empty { height: 178px; } .dgrid2 .sz-M .slot-empty, .dgrid2 .sz-W .slot-empty { height: 430px; } .dgrid2 .sz-L .slot-empty { height: 160px; }
.gt-kind { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; color: #b9ae92; padding: 0 6px; }
.gt.drop-target { outline: 3px solid var(--gold) !important; outline-offset: 3px; background: rgba(255, 194, 26, .15); border-radius: 20px; }
.gt.drag-src { opacity: .4; }
.gt-ghost { box-shadow: 0 30px 60px -20px rgba(15, 14, 11, .5); transform: rotate(-1.5deg); border-radius: 18px; overflow: hidden; opacity: .95; }
.tile-in-drawer .card { box-shadow: none; }
.tile-in-drawer .agent-hero { display: none; }
.tile-in-drawer .agent.card .agent-head { padding-right: 0; }
@media (max-width: 1100px) { .row-S { grid-template-columns: repeat(2, minmax(0, 1fr)); } .row-M { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .dgrid2, .grow { gap: 12px; }
  .row-W, .row-M { grid-template-columns: minmax(0, 1fr); }
  .dgrid2 .sz-M > .card, .dgrid2 .sz-W > .card { height: auto; max-height: 520px; }
  .dgrid2 .sz-S > .card { height: 160px; }
  .dgrid2 .sz-S .slot-empty { height: 160px; }
}
.dgrid2 .gt { grid-column: auto !important; }

/* v19: Rati als Chat-Button */
.stella-fab { position: fixed; right: 24px; bottom: 24px; z-index: 58; display: flex; align-items: center; gap: 10px; border: none; cursor: pointer; background: var(--ink); color: #fff; border-radius: 40px; padding: 6px 18px 6px 6px; font: inherit; font-weight: 600; font-size: 14px; box-shadow: 0 14px 34px -10px rgba(15, 14, 11, .55), 0 0 0 2px rgba(255, 194, 26, .7); transition: transform .15s, box-shadow .15s; }
.stella-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(15, 14, 11, .6), 0 0 0 3px var(--gold); }
.stella-fab img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff7df; box-shadow: 0 0 0 2px var(--gold); }
.stella-fab .fab-dot { position: absolute; top: 4px; left: 40px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--ink); animation: aiPulse 1.6s infinite; }
.stella-fab.open { opacity: 0; pointer-events: none; transform: scale(.9); }
body:has(.agent-pop.open) .stella-fab { opacity: 0; pointer-events: none; }
.stella-chat { position: fixed; right: 24px; bottom: 24px; z-index: 59; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 48px)); background: #fff; border-radius: 22px; border: 1px solid rgba(255, 194, 26, .6); box-shadow: 0 30px 80px -24px rgba(15, 14, 11, .45), 0 0 0 4px rgba(255, 194, 26, .12); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s; }
.stella-chat.open { opacity: 1; transform: none; pointer-events: auto; }
.sc-head { display: flex; gap: 10px; align-items: center; padding: 14px 14px 12px; background: linear-gradient(135deg, #fff6d6, #fff 70%); border-bottom: 1px solid var(--line); }
.sc-head > div { flex: 1; min-width: 0; }
.sc-head b { display: flex; gap: 6px; align-items: center; font-size: 15.5px; font-weight: 700; }
.sc-head small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-head .icon-btn { width: 32px; height: 32px; }
.sc-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fcfaf5; }
.sc-msgs .msg .bubble { max-width: 86%; font-size: 13.5px; }
.sc-hello { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.sc-hello p { background: #fff; border: 1px solid var(--line); border-radius: 16px; border-top-left-radius: 6px; padding: 10px 12px; }
.sc-chips { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.sc-chips .chip { cursor: pointer; text-align: right; }
.sc-chips .chip:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--ink); }
.sc-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.sc-input input { flex: 1; min-width: 0; font: inherit; font-size: 14px; border: 1px solid var(--line-strong); border-radius: 14px; padding: 10px 12px; }
.sc-input input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 194, 26, .25); }
.sc-input .btn { border-radius: 14px; padding: 0 14px; }
.sc-empty { padding: 14px; overflow-y: auto; }
@media (max-width: 860px) {
  .stella-fab { right: 14px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); padding: 5px; }
  .stella-fab .fab-label { display: none; }
  .stella-fab img { width: 50px; height: 50px; }
  .stella-chat { right: 8px; left: 8px; width: auto; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); height: min(70vh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .stella-chat, .stella-fab { transition: none; } }

/* v20: Rati-Zentrale mit Reitern */
.hub-tabs { display: flex; gap: 4px; margin-top: 16px; padding: 4px; background: rgba(15, 14, 11, .06); border-radius: 14px; overflow-x: auto; scrollbar-width: none; position: relative; z-index: 1; }
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tabs button { flex: 1; min-width: max-content; border: none; background: none; padding: 9px 14px; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 600; color: #6b6553; display: inline-flex; gap: 6px; align-items: center; justify-content: center; white-space: nowrap; }
.hub-tabs button:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.hub-tabs button.active { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -8px rgba(15, 14, 11, .7); }
.hub-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hl); color: var(--ink); font-size: 10.5px; font-weight: 700; display: inline-grid; place-items: center; }
.hub-body { margin-top: 14px; position: relative; z-index: 1; }
.hub-body .agent-msgs { margin-top: 0; }
.hub-body .agent-chips { margin-top: 0; }
.hub-body .agent-msgs:not(:empty) + .agent-input, .hub-body .agent-chips + .agent-input { margin-top: 12px; }
.hub-body .agent-report { margin-top: 10px; }
.hub-lead { color: #4d493f; font-size: 13.5px; line-height: 1.55; max-width: 720px; }
.hub-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hub-row .hub-lead { flex: 1; min-width: 240px; }
.hub-body .idea-bar { margin-top: 12px; }
.hub-body .topics { margin-top: 12px; }
.hub-body .agent-clear { margin-top: 8px; }
.stella-hub .agent-head { padding-right: 130px; }
.dgrid2 .sz-M .stella-hub .agent-head, .dgrid2 .sz-W .stella-hub .agent-head, .tile-in-drawer .stella-hub .agent-head { padding-right: 0; }

/* v21: Rati-Aktionen im Chat */
.act-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; margin-bottom: 12px; border-radius: 14px; background: linear-gradient(135deg, #17140c, #2a2312); color: #f3ead2; }
.act-label { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: #f3ead2; margin-right: 4px; width: 100%; }
.act-chip { border: 1px solid rgba(255, 194, 26, .45); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 20px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s; }
.act-chip:hover { background: rgba(255, 194, 26, .2); }
.act-chip.hot { background: var(--hl); color: var(--ink); border-color: transparent; box-shadow: 0 6px 16px -6px rgba(255, 140, 0, .8); }
.act-chip:disabled { opacity: .5; cursor: default; }
.stella-chat .act-bar { margin: 10px 10px 0; }
.msg-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.scr-why { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: #6b5a2a; background: var(--gold-tint); border-radius: 8px; padding: 6px 8px; margin-bottom: 8px; }
.bulk-item select { width: 100%; font: inherit; font-size: 13px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 10px; background: #fff; }
/* Chatfenster weicht dem Seitenfenster aus */
@media (min-width: 861px) { body:has(#drawer.open) .stella-chat { right: 464px; } body:has(#drawer.open) .stella-fab { right: 464px; } }
@media (min-width: 861px) and (max-width: 1000px) { body:has(#drawer.open) .stella-chat { opacity: 0; pointer-events: none; } }
@media (max-width: 860px) { body:has(#drawer.open) .stella-chat, body:has(#drawer.open) .stella-fab { opacity: 0; pointer-events: none; } }
.stella-chat .act-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 8px 10px; }
.stella-chat .act-bar::-webkit-scrollbar { display: none; }
.stella-chat .act-label { display: none; }
.act-chip { white-space: nowrap; flex: none; }
/* Ein Button: Alles in einem Zug */
.act-one { margin-bottom: 12px; }
.stella-chat .act-one { margin: 10px 10px 0; }
.act-go { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: none; cursor: pointer; font: inherit; color: var(--ink); background: var(--hl); border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 24px -10px rgba(255, 130, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .5); position: relative; overflow: hidden; transition: transform .15s; }
.act-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.act-go:hover { transform: translateY(-1px); }
.act-go:hover::after { transform: translateX(120%); }
.act-go:disabled { opacity: .55; cursor: default; transform: none; }
.act-go-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; font-size: 18px; flex: none; }
.act-go > span:nth-child(2) { flex: 1; min-width: 0; }
.act-go b { display: block; font-size: 15px; font-weight: 700; }
.act-go small { display: block; font-size: 12px; color: rgba(15, 14, 11, .7); }
.act-more { margin-top: 8px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.act-more .link { font-size: 12.5px; }
.act-one.slim .act-go { padding: 8px 12px; }
.act-one.slim .act-go small { display: none; }
.act-one.slim .act-go-ico { width: 30px; height: 30px; font-size: 15px; border-radius: 10px; }
.act-one.slim .act-go b { font-size: 14px; }
.plan-calc { margin-top: 6px; background: var(--gold-tint); border: 1px solid rgba(255, 194, 26, .45); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.plan-calc small { color: var(--muted); }
.plan .plan-sub b { color: var(--ink); }

/* v22: Vorlagen im Chat */
.st-grid-label { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #8a826d; margin: 4px 2px 2px; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1px solid rgba(255, 170, 0, .4); background: #fff; border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--ink); transition: transform .12s, box-shadow .12s, border-color .12s; }
.st-card:hover { transform: translateY(-1px); border-color: var(--gold); box-shadow: 0 8px 18px -10px rgba(255, 150, 0, .6); }
.st-card:disabled { opacity: .5; cursor: default; transform: none; }
.st-ico { font-size: 18px; line-height: 1; margin-bottom: 4px; }
.st-card b { font-size: 13.5px; font-weight: 700; }
.st-card small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.sc-msgs .sc-chips { align-items: stretch; }
.sc-msgs .sc-chips .chip { text-align: left; }
.chat-tools { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 10px 0; }
.chat-tools::-webkit-scrollbar { display: none; }
.ct-chip { flex: none; border: 1px solid var(--line-strong); background: #fff; border-radius: 20px; padding: 5px 10px; font: inherit; font-size: 12px; font-weight: 600; color: #4d493f; cursor: pointer; white-space: nowrap; }
.ct-chip:hover, .ct-chip.on { border-color: var(--gold); background: var(--gold-tint); color: var(--ink); }
.ct-chip:disabled { opacity: .5; }
.chat-mode { margin: 8px 10px 0; font-size: 12.5px; background: var(--gold-tint); border: 1px solid rgba(255, 194, 26, .55); border-radius: 10px; padding: 6px 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.chat-mode .link { margin-left: auto; font-size: 12px; }
.hub-body .chat-tools, .hub-body .chat-mode { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.hub-body .chat-tools { padding-top: 10px; }
.hub-starters { display: grid; gap: 8px; }
.hub-starters .st-grid { grid-template-columns: repeat(4, 1fr); }
.hub-starters .sc-chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 860px) { .hub-starters .st-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   v23: Designprofile – Hell (Standard) · Dunkel · Farbig
   ===================================================================== */
.theme-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.theme-opt { display: flex; flex-direction: column; gap: 8px; align-items: stretch; border: 2px solid var(--line); border-radius: 14px; padding: 10px; background: var(--surface); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); }
.theme-opt.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 194, 26, .25); }
.th-prev { height: 54px; border-radius: 10px; display: grid; grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; gap: 4px; padding: 6px; }
.th-prev i { border-radius: 5px; }
.th-prev i:first-child { grid-row: span 2; }
.th-light .th-prev { background: #f6f1e6; } .th-light .th-prev i { background: #fff; } .th-light .th-prev i:nth-child(2) { background: #ffc21a; }
.th-dark .th-prev { background: #0f0e0b; } .th-dark .th-prev i { background: #24211a; } .th-dark .th-prev i:nth-child(2) { background: #ffc21a; }
.th-color .th-prev { background: linear-gradient(135deg, #6d28d9, #ec4899 55%, #ff9f0a); } .th-color .th-prev i { background: rgba(255, 255, 255, .9); } .th-color .th-prev i:nth-child(2) { background: #ffc21a; }
.menu-theme { display: flex; gap: 6px; align-items: center; padding: 6px 8px; }
.menu-theme button { width: auto !important; flex: none; border: 1px solid var(--line) !important; border-radius: 10px !important; padding: 6px 10px !important; font-size: 14px !important; }
.menu-theme button.active { border-color: var(--gold) !important; background: var(--gold-tint) !important; }
.menu-theme span { font-size: 12px; color: var(--muted); margin-left: 4px; }
.sheet .menu-theme button { font-size: 13px !important; }

/* ---------- Dunkel ---------- */
html[data-rh-theme="dark"] {
  --bg: #0f0e0b; --sidebar: #15130f; --surface: #1b1914; --text: #f2efe6; --muted: #a39d8f;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .15);
  --gold-tint: #2a2414; --gold-soft: #3a3016; --gold-dark: #ffc21a; --glass: rgba(27, 25, 20, .82);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .6); --shadow-hi: 0 18px 40px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
html[data-rh-theme="dark"], html[data-rh-theme="dark"] body { background: var(--bg); color: var(--text); }
html[data-rh-theme="dark"] body.app-page::before { background: radial-gradient(38% 42% at 82% 8%, rgba(255, 194, 26, .16), transparent 70%), radial-gradient(34% 40% at 6% 92%, rgba(255, 138, 0, .1), transparent 70%); }
html[data-rh-theme="dark"] body.app-page::after { background: linear-gradient(115deg, transparent 35%, rgba(255, 220, 120, .07) 50%, transparent 65%) 0 0 / 250% 100% no-repeat, radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px) 0 0 / 22px 22px; }
html[data-rh-theme="dark"] .app-page .sidebar { background: rgba(21, 19, 15, .8); border-right-color: rgba(255, 194, 26, .15); }
html[data-rh-theme="dark"] .logo { color: #fff; }
html[data-rh-theme="dark"] .app-page .nav button { color: #d9d3c4; }
html[data-rh-theme="dark"] .app-page .nav button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html[data-rh-theme="dark"] .app-page .nav button.active { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(255, 194, 26, .5); }
html[data-rh-theme="dark"] .app-page .nav button.active svg { color: var(--ink); }
html[data-rh-theme="dark"] .app-page .nav button.sub.active { background: #3a3016; color: #fff; }
html[data-rh-theme="dark"] .app-page .loc-panel { background: rgba(27, 25, 20, .9); border-color: rgba(255, 194, 26, .2); }
html[data-rh-theme="dark"] .app-page .loc-item { color: #d9d3c4; }
html[data-rh-theme="dark"] .app-page .loc-item:hover { background: rgba(255, 255, 255, .06); }
html[data-rh-theme="dark"] .app-page .topbar { background: rgba(15, 14, 11, .75); border-bottom-color: rgba(255, 194, 26, .15); }
html[data-rh-theme="dark"] .app-page .preview-bar { background: rgba(58, 48, 22, .6); color: #e6dcc0; }
html[data-rh-theme="dark"] .crumbs b, html[data-rh-theme="dark"] .page-head h1, html[data-rh-theme="dark"] h2.section, html[data-rh-theme="dark"] .card-head, html[data-rh-theme="dark"] .tile-h { color: #fff; }
html[data-rh-theme="dark"] .app-page .page-head p, html[data-rh-theme="dark"] .section-sub, html[data-rh-theme="dark"] .muted-p, html[data-rh-theme="dark"] .hub-lead { color: #b9b2a2; }
html[data-rh-theme="dark"] .app-page .card, html[data-rh-theme="dark"] .app-page .list, html[data-rh-theme="dark"] .app-page .update, html[data-rh-theme="dark"] .app-page .table-card, html[data-rh-theme="dark"] .app-page .reminders, html[data-rh-theme="dark"] .plan, html[data-rh-theme="dark"] .tmini { background: var(--glass) !important; border-color: rgba(255, 255, 255, .07) !important; color: var(--text); }
html[data-rh-theme="dark"] .app-page .kpi .label, html[data-rh-theme="dark"] .row-text, html[data-rh-theme="dark"] .wt-meta, html[data-rh-theme="dark"] .tm-val, html[data-rh-theme="dark"] .bulk-review, html[data-rh-theme="dark"] .rem-body small, html[data-rh-theme="dark"] .kz-row { color: #c9c2b2; }
html[data-rh-theme="dark"] .app-page .kpi .value, html[data-rh-theme="dark"] .tm-big, html[data-rh-theme="dark"] .wt-big, html[data-rh-theme="dark"] .row-top b, html[data-rh-theme="dark"] .rem-top b, html[data-rh-theme="dark"] .tm-top b, html[data-rh-theme="dark"] .plan-name, html[data-rh-theme="dark"] .plan-price b { color: #fff; }
html[data-rh-theme="dark"] .agent.card, html[data-rh-theme="dark"] .idea-card, html[data-rh-theme="dark"] .pteaser, html[data-rh-theme="dark"] .plan.best, html[data-rh-theme="dark"] .wadd { background: linear-gradient(135deg, rgba(58, 48, 22, .9), rgba(27, 25, 20, .92) 60%) !important; border-color: rgba(255, 194, 26, .35) !important; }
html[data-rh-theme="dark"] .agent-title b, html[data-rh-theme="dark"] .idea-head b, html[data-rh-theme="dark"] .pt-body b, html[data-rh-theme="dark"] .topics-head b, html[data-rh-theme="dark"] .rep-text b, html[data-rh-theme="dark"] .tp-col h4, html[data-rh-theme="dark"] .tp-focus h4, html[data-rh-theme="dark"] .kw-card h3, html[data-rh-theme="dark"] .chart-card h3, html[data-rh-theme="dark"] .wt-head b { color: #fff; }
html[data-rh-theme="dark"] .pt-body p, html[data-rh-theme="dark"] .idea-head small, html[data-rh-theme="dark"] .agent-title small { color: #b9b2a2; }
html[data-rh-theme="dark"] .agent-report, html[data-rh-theme="dark"] .tp-col, html[data-rh-theme="dark"] .tp-focus, html[data-rh-theme="dark"] .rk, html[data-rh-theme="dark"] .attn-item, html[data-rh-theme="dark"] .bulk-item, html[data-rh-theme="dark"] .bulk-opt, html[data-rh-theme="dark"] .idea-reply, html[data-rh-theme="dark"] .st-card, html[data-rh-theme="dark"] .wt-quotes q, html[data-rh-theme="dark"] .msg.ai .bubble, html[data-rh-theme="dark"] .sc-hello p { background: #24211a; border-color: rgba(255, 255, 255, .08); color: var(--text); }
html[data-rh-theme="dark"] .msg.me .bubble { background: var(--gold); color: var(--ink); }
html[data-rh-theme="dark"] .hub-tabs { background: rgba(255, 255, 255, .06); }
html[data-rh-theme="dark"] .hub-tabs button { color: #b9b2a2; }
html[data-rh-theme="dark"] .hub-tabs button.active { background: var(--gold); color: var(--ink); }
html[data-rh-theme="dark"] input, html[data-rh-theme="dark"] select, html[data-rh-theme="dark"] textarea, html[data-rh-theme="dark"] .search, html[data-rh-theme="dark"] .idea-bar, html[data-rh-theme="dark"] .sc-input, html[data-rh-theme="dark"] .agent-input input, html[data-rh-theme="dark"] .sc-input input, html[data-rh-theme="dark"] .bulk-item textarea { background: #24211a !important; color: var(--text) !important; border-color: rgba(255, 255, 255, .14) !important; }
html[data-rh-theme="dark"] .idea-bar input { background: transparent !important; }
html[data-rh-theme="dark"] .chip, html[data-rh-theme="dark"] .ct-chip, html[data-rh-theme="dark"] .pill, html[data-rh-theme="dark"] .btn:not(.btn-gold):not(.btn-dark), html[data-rh-theme="dark"] .lpill, html[data-rh-theme="dark"] .ptag { background: #24211a; color: #e6dfcd; border-color: rgba(255, 255, 255, .14); }
html[data-rh-theme="dark"] .chip.active { background: var(--gold); color: var(--ink); }
html[data-rh-theme="dark"] .btn-dark, html[data-rh-theme="dark"] .app-page .btn-dark { background: #f2efe6; color: var(--ink); border-color: #f2efe6; }
html[data-rh-theme="dark"] .tbl th, html[data-rh-theme="dark"] .tbl td { border-color: rgba(255, 255, 255, .07); color: var(--text); }
html[data-rh-theme="dark"] .tbl tr:hover td, html[data-rh-theme="dark"] .row:hover, html[data-rh-theme="dark"] .kw:hover { background: rgba(255, 255, 255, .04); }
html[data-rh-theme="dark"] .kw { color: var(--text); }
html[data-rh-theme="dark"] .kw-bar, html[data-rh-theme="dark"] .hbar .track, html[data-rh-theme="dark"] .wt-split, html[data-rh-theme="dark"] .bulk-progress .bar { background: rgba(255, 255, 255, .08); }
html[data-rh-theme="dark"] .drawer, html[data-rh-theme="dark"] .sheet, html[data-rh-theme="dark"] .biz-menu, html[data-rh-theme="dark"] .agent-pop, html[data-rh-theme="dark"] .stella-chat { background: #17150f !important; color: var(--text); border-color: rgba(255, 194, 26, .3) !important; }
html[data-rh-theme="dark"] .drawer-head, html[data-rh-theme="dark"] .sc-head { background: #1f1c15; border-color: rgba(255, 255, 255, .08); }
html[data-rh-theme="dark"] .sc-msgs { background: #121009; }
html[data-rh-theme="dark"] .sc-head b, html[data-rh-theme="dark"] .drawer h2, html[data-rh-theme="dark"] .pop-head b { color: #fff; }
html[data-rh-theme="dark"] .bulk-progress, html[data-rh-theme="dark"] .bulk-actions { background: #17150f; }
html[data-rh-theme="dark"] .rem-item { color: var(--text); }
html[data-rh-theme="dark"] .app-page .tabbar { background: rgba(23, 21, 15, .85); border-color: rgba(255, 194, 26, .25); }
html[data-rh-theme="dark"] .app-page .tabbar button.active .ti { background: var(--gold); color: var(--ink); }
html[data-rh-theme="dark"] .app-page .mobile-scope { background: rgba(15, 14, 11, .8); }
html[data-rh-theme="dark"] .app-page .scope-chip { background: #24211a; color: #fff; }
html[data-rh-theme="dark"] .app-page .ai-pill { background: var(--gold); color: var(--ink); }
html[data-rh-theme="dark"] .app-page .ai-pill b { color: var(--ink); }
html[data-rh-theme="dark"] .col-labels span, html[data-rh-theme="dark"] .cv, html[data-rh-theme="dark"] .legend, html[data-rh-theme="dark"] .hbar span { color: #b9b2a2; }
html[data-rh-theme="dark"] .fineprint, html[data-rh-theme="dark"] .agent-note { color: #8f887a; }
html[data-rh-theme="dark"] .note, html[data-rh-theme="dark"] .check-box { background: #24211a; color: #d9d3c4; border-color: rgba(255, 255, 255, .08); }
html[data-rh-theme="dark"] .shop-card { background: var(--glass); border-color: rgba(255, 255, 255, .07); color: var(--text); }
html[data-rh-theme="dark"] .shop-card h3 { color: #fff; }

/* ---------- Farbig ---------- */
html[data-rh-theme="color"] { --bg: var(--k-bg); --gold-tint: #fff4dc; --hl: linear-gradient(100deg, #ffb703 0%, #fb5607 50%, #ff006e 100%); --hl-text: linear-gradient(100deg, var(--k-a) 0%, var(--k-b) 60%, var(--k-c) 100%); }
html[data-rh-theme="color"], html[data-rh-theme="color"] body { background: var(--bg); }
html[data-rh-theme="color"] body.app-page::before { background: radial-gradient(40% 45% at 85% 5%, rgba(var(--k-b-rgb), .28), transparent 70%), radial-gradient(40% 45% at 5% 95%, rgba(var(--k-a-rgb), .25), transparent 70%), radial-gradient(35% 35% at 55% 50%, rgba(255, 183, 3, .22), transparent 70%), radial-gradient(35% 40% at 30% 10%, rgba(56, 189, 248, .18), transparent 70%); }
html[data-rh-theme="color"] .app-page .sidebar { background: linear-gradient(180deg, var(--k-dark) 0%, var(--k-deep) 55%, var(--k-end) 100%); border-right: none; }
html[data-rh-theme="color"] .app-page .sidebar .logo { color: #fff; }
html[data-rh-theme="color"] .app-page .sidebar .nav-label, html[data-rh-theme="color"] .app-page .sidebar .side-foot { color: rgba(255, 255, 255, .6); }
html[data-rh-theme="color"] .app-page .nav button { color: rgba(255, 255, 255, .88); }
html[data-rh-theme="color"] .app-page .nav button svg { color: rgba(255, 255, 255, .7); }
html[data-rh-theme="color"] .app-page .nav button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
html[data-rh-theme="color"] .app-page .nav button.active { background: #fff; color: var(--k-dark); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
html[data-rh-theme="color"] .app-page .nav button.active svg { color: var(--k-b2); }
html[data-rh-theme="color"] .app-page .nav button.sub.active { background: rgba(255, 255, 255, .2); color: #fff; box-shadow: none; }
html[data-rh-theme="color"] .app-page .nav-hint { color: var(--k-pale); }
html[data-rh-theme="color"] .app-page .loc-panel { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
html[data-rh-theme="color"] .app-page .loc-item { color: #fff; }
html[data-rh-theme="color"] .app-page .loc-item .lr { color: rgba(255, 255, 255, .7); }
html[data-rh-theme="color"] .app-page .loc-item .lr b { color: #ffd166; }
html[data-rh-theme="color"] .app-page .loc-item:hover { background: rgba(255, 255, 255, .12); }
html[data-rh-theme="color"] .app-page .loc-head .icon-btn { color: #ffd166; }
html[data-rh-theme="color"] .app-page .loc-empty { color: rgba(255, 255, 255, .75); }
html[data-rh-theme="color"] .app-page .topbar { background: rgba(var(--k-bg-rgb), .7); border-bottom-color: rgba(var(--k-a-rgb), .18); }
html[data-rh-theme="color"] .app-page .kpi.featured { background: linear-gradient(135deg, var(--k-deep), var(--k-b3) 70%, var(--k-c)) !important; border-color: transparent !important; }
html[data-rh-theme="color"] .app-page .kpi.featured .value { background: none; -webkit-text-fill-color: #fff; color: #fff; }
html[data-rh-theme="color"] .app-page .kpi.featured .label, html[data-rh-theme="color"] .app-page .kpi.featured .meta, html[data-rh-theme="color"] .app-page .kpi.featured .value small { color: rgba(255, 255, 255, .85); -webkit-text-fill-color: rgba(255, 255, 255, .85); }
html[data-rh-theme="color"] .app-page .kpi.featured .stars { color: #ffd166; }
html[data-rh-theme="color"] .app-page .head-icon { background: linear-gradient(135deg, var(--k-a), var(--k-b)); color: #fff; }
html[data-rh-theme="color"] .app-page h2.section::before { background: linear-gradient(180deg, var(--k-a), var(--k-b)); }
html[data-rh-theme="color"] .agent.card, html[data-rh-theme="color"] .idea-card { background: linear-gradient(135deg, rgba(var(--k-soft1-rgb), .95), rgba(var(--k-soft2-rgb), .9) 50%, rgba(255, 247, 237, .9)) !important; border-color: var(--k-line) !important; }
html[data-rh-theme="color"] .hub-tabs button.active, html[data-rh-theme="color"] .app-page .ai-pill, html[data-rh-theme="color"] .stella-fab, html[data-rh-theme="color"] .gt-bar, html[data-rh-theme="color"] .layout-bar { background: linear-gradient(135deg, var(--k-deep), var(--k-b3)); }
html[data-rh-theme="color"] .app-page .ai-pill b, html[data-rh-theme="color"] .app-page .ai-pill { color: #fff; }
html[data-rh-theme="color"] .msg.me .bubble { background: linear-gradient(135deg, var(--k-a), var(--k-b2)); }
html[data-rh-theme="color"] .act-bar, html[data-rh-theme="color"] .act-go-ico { background: linear-gradient(135deg, var(--k-dark), var(--k-end)); }
html[data-rh-theme="color"] .app-page .tabbar button.active .ti { background: linear-gradient(135deg, var(--k-a), var(--k-b)); color: #fff; }
html[data-rh-theme="color"] .chip.active, html[data-rh-theme="color"] .app-page .btn-dark { background: var(--k-deep); border-color: var(--k-deep); color: #fff; }
html[data-rh-theme="color"] .stella-chat, html[data-rh-theme="color"] .agent-pop { border-color: var(--k-line); }
html[data-rh-theme="color"] .sc-head { background: linear-gradient(135deg, var(--k-soft1), var(--k-soft2) 70%); }
html[data-rh-theme="dark"] .app-page .loc-item.active, html[data-rh-theme="dark"] .app-page .loc-item.active .lr, html[data-rh-theme="dark"] .app-page .loc-item.active .lr b { color: var(--ink) !important; }
html[data-rh-theme="dark"] .app-page .tabbar button.active { color: var(--gold); }

/* v26: Schnellmenü oben rechts entfernt, KI-Badge sitzt rechts; Firmenwechsel über den Namen in der Pfadzeile */
.app-page .topbar .biz-switch { display: none !important; }
.app-page .topbar .ai-pill { margin-left: auto; }
.crumb-co { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; padding: 2px 6px; margin-left: -6px; color: inherit; }
.crumb-co:hover, .crumb-co:focus-visible { background: rgba(255, 194, 26, .18); }
.crumb-co svg { opacity: .6; }
.co-block { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.co-cur { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; background: var(--gold-tint); }
.co-cur:hover, .co-cur:focus-visible { background: var(--gold-soft); }
.co-cur .ln { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-cur svg { transition: transform .15s; opacity: .7; }
.co-block .biz-ava { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--gold); color: var(--ink); flex: none; }
.co-list { margin-top: 4px; display: grid; gap: 2px; }
.co-add { color: var(--muted); }
html[data-rh-theme="dark"] .co-cur { background: #2a2414; color: #fff; }
html[data-rh-theme="color"] .co-cur { background: rgba(255, 255, 255, .14); color: #fff; }
html[data-rh-theme="color"] .co-block { border-bottom-color: rgba(255, 255, 255, .18); }
html[data-rh-theme="color"] .co-add { color: rgba(255, 255, 255, .75); }

/* v29: Unternehmen & Standorte zusammen, Standorte entfernbar */
.two > .span2 { grid-column: 1 / -1; }
.org { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.org.active { border-color: rgba(255, 194, 26, .7); box-shadow: 0 0 0 3px rgba(255, 194, 26, .15); }
.org-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--gold-tint); }
.org-head .biz-ava { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; background: var(--gold); color: var(--ink); flex: none; }
.org-name { flex: 1; min-width: 0; font-weight: 600; }
.org-name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.org-locs { padding: 6px 14px 12px 28px; border-left: 2px solid rgba(255, 194, 26, .45); margin-left: 28px; }
.org-loc { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.org-loc .ol-main { flex: 1; min-width: 0; font-size: 14px; }
.org-loc .ol-main small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-empty { color: var(--muted); font-size: 13px; padding: 10px 0; }
.org-locs .add-btn { margin-top: 8px; }
.loc-item { position: relative; }
.loc-x { display: none; width: 20px; height: 20px; border-radius: 6px; place-items: center; margin-left: 4px; color: var(--muted); flex: none; }
.loc-x svg { width: 12px; height: 12px; }
.loc-item:hover .loc-x, .loc-item:focus-visible .loc-x { display: grid; }
.loc-item:hover .lr { display: none; }
.loc-x:hover { background: rgba(220, 38, 38, .12); color: #dc2626; }
.loc-item.active .loc-x { color: var(--ink); }
@media (hover: none) { .loc-x { display: none !important; } }
html[data-rh-theme="dark"] .org { background: #1b1914; border-color: rgba(255, 255, 255, .08); }
html[data-rh-theme="dark"] .org-head { background: #2a2414; }
html[data-rh-theme="color"] .loc-x { color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .org-locs { margin-left: 14px; padding-left: 14px; } }

/* v30: Shop – Alle-Produkte-Button hervorgehoben, kein Banner, keine Badges */
.shop-all { background: var(--hl, linear-gradient(100deg, #ffd23f, #ff9f0a)) !important; color: #17150f !important; border: none !important; font-weight: 700; padding: 12px 20px !important; font-size: 15px !important; border-radius: 12px !important; box-shadow: 0 10px 24px -10px rgba(255, 159, 10, .8); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.shop-all:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(255, 159, 10, .9); }
.shop-all svg { width: 18px; height: 18px; }
.shop-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: var(--gold-tint); border: 1px solid rgba(255, 194, 26, .45); }
.shop-more b { display: block; font-size: 16px; }
.shop-more span { color: var(--muted); font-size: 13.5px; }
html[data-rh-theme="dark"] .shop-more { background: #2a2414; }
html[data-rh-theme="dark"] .shop-more b { color: #fff; }

/* v30: Erwähnungen im Web */
.mention-row { align-items: flex-start; }
.m-sent { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.m-positiv { background: #e7f7ee; color: #1f9d55; }
.m-neutral { background: #f1ede2; color: #7d786b; }
.m-negativ { background: #fde8e8; color: #dc2626; }
.m-title { font-weight: 600; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.m-title:hover { text-decoration: underline; }
.m-title svg { width: 13px; height: 13px; opacity: .6; }
.m-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.m-pill-positiv { background: #e7f7ee !important; color: #1f9d55 !important; border-color: #bfe8cf !important; }
.m-pill-negativ { background: #fde8e8 !important; color: #dc2626 !important; border-color: #f7c4c4 !important; }
.list-tools { padding: 12px 16px; border-bottom: 1px solid var(--line); }
html[data-rh-theme="dark"] .m-title { color: #fff; }
html[data-rh-theme="dark"] .m-positiv, html[data-rh-theme="dark"] .m-pill-positiv { background: rgba(31, 157, 85, .18) !important; }
html[data-rh-theme="dark"] .m-negativ, html[data-rh-theme="dark"] .m-pill-negativ { background: rgba(220, 38, 38, .18) !important; }
html[data-rh-theme="dark"] .m-neutral { background: #24211a; }
.co-row { display: flex; align-items: center; gap: 4px; }
.co-row .co-cur { flex: 1; min-width: 0; }
.co-edit { flex: none; opacity: .55; }
.co-edit:hover { opacity: 1; }
html[data-rh-theme="color"] .co-edit { color: #fff; }
.plan li b { display: block; font-weight: 600; font-size: 13.5px; }
.plan li small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.plan li { margin-bottom: 8px; }
html[data-rh-theme="dark"] .plan li b { color: #fff; }

/* v33: Kopfzeilen ohne Stichwort/Icon, Hinweis auf eigene Kacheln */
.page-head .eyebrow, .page-head .head-icon { display: none; }
.tile-hint { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed rgba(255, 159, 10, .65); background: rgba(255, 194, 26, .1); font-size: 13.5px; line-height: 1.45; position: relative; z-index: 1; }
.tile-hint > span { flex: 1; min-width: 0; }
.tile-hint .th-go { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-dark, #b07800); font-size: 13px; }
.tile-hint .th-go svg { width: 14px; height: 14px; }
.tile-hint:hover { background: rgba(255, 194, 26, .18); }
html[data-rh-theme="dark"] .tile-hint { color: #f2efe6; }
html[data-rh-theme="dark"] .tile-hint .th-go { color: var(--gold); }
@media (max-width: 600px) { .tile-hint { flex-wrap: wrap; } }
@media (min-width: 861px) { .agent .tile-hint { width: calc(100% - 130px); } }

/* v33: Farbig in mehreren Farbwelten (data-rh-accent) */
html[data-rh-theme="color"] { --k-dark:#2a1458; --k-deep:#4c1d95; --k-end:#831843; --k-a:#7c3aed; --k-b:#ec4899; --k-b2:#db2777; --k-b3:#be185d; --k-c:#f97316; --k-bg:#f7f2ff; --k-soft1:#ede9fe; --k-soft2:#fce7f3; --k-line:rgba(167,139,250,.6); --k-pale:#fbcfe8; --k-a-rgb:124,58,237; --k-b-rgb:236,72,153; --k-bg-rgb:247,242,255; --k-soft1-rgb:237,233,254; --k-soft2-rgb:252,231,243; }
html[data-rh-theme="color"][data-rh-accent="ozean"] { --k-dark:#0b2545; --k-deep:#13315c; --k-end:#0e7490; --k-a:#2563eb; --k-b:#06b6d4; --k-b2:#0891b2; --k-b3:#0e7490; --k-c:#22d3ee; --k-bg:#eff8ff; --k-soft1:#dbeafe; --k-soft2:#cffafe; --k-line:rgba(96,165,250,.6); --k-pale:#a5f3fc; --k-a-rgb:37,99,235; --k-b-rgb:6,182,212; --k-bg-rgb:239,248,255; --k-soft1-rgb:219,234,254; --k-soft2-rgb:207,250,254; }
html[data-rh-theme="color"][data-rh-accent="sunset"] { --k-dark:#431407; --k-deep:#9a3412; --k-end:#be123c; --k-a:#ea580c; --k-b:#f43f5e; --k-b2:#e11d48; --k-b3:#be123c; --k-c:#f59e0b; --k-bg:#fff5ed; --k-soft1:#ffedd5; --k-soft2:#ffe4e6; --k-line:rgba(251,146,60,.6); --k-pale:#fecdd3; --k-a-rgb:234,88,12; --k-b-rgb:244,63,94; --k-bg-rgb:255,245,237; --k-soft1-rgb:255,237,213; --k-soft2-rgb:255,228,230; }
html[data-rh-theme="color"][data-rh-accent="wald"] { --k-dark:#052e16; --k-deep:#14532d; --k-end:#115e59; --k-a:#16a34a; --k-b:#14b8a6; --k-b2:#0d9488; --k-b3:#0f766e; --k-c:#84cc16; --k-bg:#f0fdf4; --k-soft1:#dcfce7; --k-soft2:#ccfbf1; --k-line:rgba(74,222,128,.6); --k-pale:#bbf7d0; --k-a-rgb:22,163,74; --k-b-rgb:20,184,166; --k-bg-rgb:240,253,244; --k-soft1-rgb:220,252,231; --k-soft2-rgb:204,251,241; }
html[data-rh-theme="color"][data-rh-accent="nacht"] { --k-dark:#0f172a; --k-deep:#1e1b4b; --k-end:#312e81; --k-a:#6366f1; --k-b:#8b5cf6; --k-b2:#7c3aed; --k-b3:#4f46e5; --k-c:#38bdf8; --k-bg:#f1f5ff; --k-soft1:#e0e7ff; --k-soft2:#ede9fe; --k-line:rgba(129,140,248,.6); --k-pale:#c7d2fe; --k-a-rgb:99,102,241; --k-b-rgb:139,92,246; --k-bg-rgb:241,245,255; --k-soft1-rgb:224,231,255; --k-soft2-rgb:237,233,254; }
.accent-pick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.accent-pick .acc { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text); }
.accent-pick .acc i { width: 40px; height: 40px; border-radius: 12px; display: block; border: 2px solid transparent; box-shadow: 0 0 0 2px var(--surface) inset; }
.accent-pick .acc.active i { border-color: var(--ink); }
.acc-lila i { background: linear-gradient(135deg, #2a1458, #7c3aed 50%, #ec4899); }
.acc-ozean i { background: linear-gradient(135deg, #0b2545, #2563eb 50%, #06b6d4); }
.acc-sunset i { background: linear-gradient(135deg, #431407, #ea580c 50%, #f43f5e); }
.acc-wald i { background: linear-gradient(135deg, #052e16, #16a34a 50%, #14b8a6); }
.acc-nacht i { background: linear-gradient(135deg, #0f172a, #6366f1 50%, #8b5cf6); }
.accent-label { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
html[data-rh-theme="color"]:not([data-rh-accent="lila"]) { --hl: linear-gradient(100deg, var(--k-c) 0%, var(--k-b) 55%, var(--k-a) 100%); }
.sc-tile-hint { margin: 10px 12px 0; width: calc(100% - 24px); padding: 10px 12px; font-size: 12.5px; gap: 10px; }
.sc-tile-hint .th-go { font-size: 12px; }

/* v35: Mikrofon / Spracheingabe */
.mic-btn { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); background: var(--surface); transition: .15s; }
.mic-btn:hover, .mic-btn:focus-visible { color: var(--text); border-color: var(--gold); }
.mic-btn.rec { background: #dc2626; border-color: #dc2626; color: #fff; animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); } 50% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); } }
@media (prefers-reduced-motion: reduce) { .mic-btn.rec { animation: none; } }
.agent-input, .sc-input, .idea-bar { gap: 8px; }
.idea-bar .mic-btn { width: 36px; height: 36px; border: none; background: transparent; }
.mic-wrap { position: relative; }
.mic-wrap textarea { padding-right: 52px; }
.mic-wrap .mic-btn { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; }
html[data-rh-theme="dark"] .mic-btn { background: #24211a; border-color: rgba(255, 255, 255, .14); }

/* v37: schlanker Rati-Chat */
.quick-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 10px; }
.stella-chat .quick-row { padding: 0 12px 10px; }
.qr-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-strong, #ddd5c2); background: var(--surface); color: var(--text); transition: .15s; }
.qr-btn:hover, .qr-btn:focus-visible { border-color: var(--gold); background: var(--gold-tint); }
.qr-btn span { font-size: 14px; }
.qr-btn.qr-go { background: var(--hl, linear-gradient(100deg, #ffd23f, #ff9f0a)); border-color: transparent; color: #17150f; }
.qr-btn[disabled] { opacity: .5; cursor: default; }
.stella-chat .sc-hello { padding: 18px 16px 8px; }
html[data-rh-theme="dark"] .qr-btn:not(.qr-go) { background: #24211a; color: #f2efe6; border-color: rgba(255,255,255,.14); }

/* v38: Tiefenanalyse – Was gut läuft / Was schiefläuft */
.ins-card { display: flex; flex-direction: column; min-height: 100%; }
.ins-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.ins-head h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ins-head .sub { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.ins-list { display: grid; gap: 10px; overflow: auto; }
.ins-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.ins-item.good { border-left: 4px solid #1f9d55; }
.ins-item.bad { border-left: 4px solid #dc2626; }
.ins-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ins-top b { font-size: 14.5px; }
.ins-n { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--chip, #f1ede2); padding: 2px 8px; border-radius: 99px; }
.ins-item p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; }
.ins-item .ins-sub { color: var(--muted); font-size: 12.5px; }
.ins-item q { display: block; margin-top: 6px; font-size: 12.5px; font-style: italic; color: var(--muted); padding-left: 10px; border-left: 2px solid var(--line); }
.ins-locs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ins-fix { margin-top: 8px; font-size: 12.5px; background: rgba(255, 194, 26, .14); border-radius: 8px; padding: 7px 10px; }
.sev { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; text-transform: uppercase; letter-spacing: .4px; }
.sev-hoch { background: #fde8e8; color: #b91c1c; } .sev-mittel { background: #fff4dc; color: #a16207; } .sev-gering { background: #f1ede2; color: #7d786b; }
.ins-empty { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.ins-empty b { display: block; font-size: 15px; } .ins-empty p { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.ins-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .ins-two > div { display: grid; gap: 10px; align-content: start; }
@media (max-width: 860px) { .ins-two { grid-template-columns: 1fr; } }
.rep-fazit { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-tint); border-radius: 12px; padding: 12px 14px; margin: 14px 0 6px; }
.rep-fazit p { margin: 0; font-weight: 500; line-height: 1.5; }
.rep-basis { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.rep-h { font-size: 16px; margin: 20px 0 10px; }
.drawer .ins-item + .ins-item { margin-top: 10px; }
.rep-locs { display: grid; gap: 8px; } .rep-locs > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 3px; font-size: 13px; }
.rep-steps { padding-left: 20px; display: grid; gap: 8px; } .rep-steps li span { display: block; color: var(--muted); font-size: 13px; }
.qr-go em { font-style: normal; display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.qr-go em small { font-weight: 500; font-size: 11px; opacity: .8; }
.quick-row .qr-go { flex: 1 1 100%; justify-content: flex-start; border-radius: 14px; padding: 9px 14px; }
.stella-chat .quick-row { padding-top: 8px; border-top: 1px solid var(--line); }
html[data-rh-theme="dark"] .ins-item { background: #1b1914; border-color: rgba(255,255,255,.08); }
html[data-rh-theme="dark"] .rep-fazit { background: #2a2414; }

/* v39: Google-Profil, Werkzeuge */
.gp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gp-grid > .span2 { grid-column: 1 / -1; }
@media (max-width: 1000px) { .gp-grid { grid-template-columns: 1fr; } }
.gp-check { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; }
.gp-check .gp-items { grid-column: 1 / -1; display: grid; gap: 6px; }
.gp-score { width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.gp-score > div { width: 88px; height: 88px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; align-content: center; }
.gp-score b { font-size: 32px; line-height: 1; } .gp-score small { color: var(--muted); font-size: 12px; }
.gp-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 10px; background: rgba(255, 194, 26, .06); }
.gp-item.ok { background: transparent; }
.gp-item b { font-size: 14px; font-weight: 600; } .gp-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.gp-pts { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ck-ok { background: #e7f7ee; color: #1f9d55; } .ck-part { background: #fff4dc; color: #b45309; } .ck-no { background: #fde8e8; color: #dc2626; } .ck-u { background: var(--chip, #f1ede2); color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 600px) { .two-col { grid-template-columns: 1fr; } }
.cnt { float: right; font-weight: 400; color: var(--muted); font-size: 12px; }
.gp-ro { display: grid; gap: 10px; margin: 14px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.gp-ro > div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; font-size: 13.5px; } .gp-ro span { color: var(--muted); } .gp-ro b { font-weight: 500; }
.gp-post { display: grid; grid-template-columns: 1fr 260px; gap: 16px; } @media (max-width: 800px) { .gp-post { grid-template-columns: 1fr; } }
.gp-img img { width: 100%; border-radius: 12px; display: block; margin-bottom: 6px; }
.gp-img-empty { border: 2px dashed var(--line); border-radius: 12px; min-height: 200px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); font-size: 28px; text-align: center; padding: 14px; }
.gp-img-empty span { font-size: 13px; }
.gp-posts { display: grid; gap: 10px; } .gp-postrow { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.gp-postrow img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; } .gp-postrow p { margin: 0 0 4px; font-size: 13.5px; } .gp-postrow small { color: var(--muted); font-size: 12px; }
.gp-pick { display: grid; gap: 4px; max-width: 520px; }
.tool-tabs { margin-bottom: 16px; }
.goal-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.goal-now span { display: block; font-size: 12px; color: var(--muted); } .goal-now b { font-size: 30px; } .goal-now small { display: block; color: var(--muted); font-size: 12px; }
.goal-now select { font-size: 22px; font-weight: 700; padding: 6px 10px; border-radius: 10px; }
.goal-arrow { font-size: 26px; color: var(--muted); }
.goal-bar { height: 12px; border-radius: 99px; background: var(--chip, #f1ede2); overflow: hidden; margin: 16px 0 10px; } .goal-bar i { display: block; height: 100%; background: var(--hl, linear-gradient(90deg, #ffd23f, #ff9f0a)); border-radius: 99px; }
.goal-res { font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
.goal.compact .goal-now b { font-size: 22px; } .goal.compact .goal-now select { font-size: 16px; } .goal.compact .goal-res { font-size: 13.5px; }
.goal-tips { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--gold-tint); } .goal-tips ul { margin: 8px 0 12px; padding-left: 18px; font-size: 13.5px; line-height: 1.6; }
.widget-preview { border: 1px dashed var(--line); border-radius: 14px; padding: 14px; background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,.015) 12px 24px); }
.social { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; } @media (max-width: 900px) { .social { grid-template-columns: 1fr; } }
.social-prev canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); display: block; }
.seg-pick { display: flex; gap: 8px; flex-wrap: wrap; }
html[data-rh-theme="dark"] .gp-score > div { background: #1b1914; }
html[data-rh-theme="dark"] .goal-tips { background: #2a2414; }
.mic-wrap textarea { width: 100%; box-sizing: border-box; }

/* v40: Profil-Editor */
.gp-tabs { margin-bottom: 16px; }
.gp-tabs .hub-badge { background: var(--gold); color: var(--ink); }
.cat-list { display: grid; gap: 6px; }
.cat-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.cat-row span { font-size: 12px; color: var(--muted); width: 110px; flex: none; } .cat-row b { flex: 1; font-weight: 600; }
.cat-row.main { background: var(--gold-tint); border-color: rgba(255, 194, 26, .5); }
.cat-res { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cat-opt { all: unset; cursor: pointer; font-size: 13px; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.cat-opt:hover { border-color: var(--gold); background: var(--gold-tint); }
.hours { display: grid; gap: 4px; margin-bottom: 12px; }
.hrow { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hrow.closed .hday { color: var(--muted); }
.hday { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.hslots { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.hslot { display: inline-flex; align-items: center; gap: 6px; }
.hslot input[type=time], .sp-row input { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); font: inherit; font-size: 13.5px; background: var(--surface); color: var(--text); }
.special { display: grid; gap: 8px; margin-bottom: 10px; }
.sp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; }
@media (max-width: 600px) { .hrow { grid-template-columns: 1fr; } }
.ph-up { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.ph-up select { padding: 8px 10px; border-radius: 10px; }
.ph-up label.btn { cursor: pointer; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ph-grid figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.ph-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ph-grid figcaption { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; font-size: 12px; color: var(--muted); }
.gp-img-empty label.btn { cursor: pointer; }
html[data-rh-theme="dark"] .cat-row.main { background: #2a2414; }

/* Persönliche Daten */
.acc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 14px}
.acc-grid .span-2{grid-column:span 2}
.acc-grid .field{margin-bottom:10px}
.acc-pw{margin-top:6px;border-top:1px solid var(--line,rgba(0,0,0,.08));padding-top:12px}
.acc-pw summary{cursor:pointer;font-weight:600;font-size:14px}
.acc-cur{margin-top:12px;max-width:420px}
.acc-cur small{display:block;margin-top:6px}
@media (max-width:820px){.acc-grid{grid-template-columns:1fr 1fr}.acc-grid>div:empty{display:none}}
@media (max-width:520px){.acc-grid{grid-template-columns:1fr}.acc-grid .span-2{grid-column:auto}}

/* Abo-Verwaltung */
.sub-box{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:18px 20px;border-radius:16px;background:linear-gradient(135deg,rgba(245,180,0,.12),rgba(255,140,0,.06));border:1px solid rgba(245,180,0,.35)}
.sub-name{font-weight:700;font-size:19px}
.sub-price{margin-top:4px;font-size:15px;color:var(--muted)}
.sub-price b{color:var(--ink,inherit);font-size:20px}
.sub-meta{margin-top:6px;font-size:13.5px;color:var(--muted)}
.sub-actions{display:flex;gap:8px;flex-wrap:wrap}
.sub-h{margin:22px 0 10px;font-size:15px}
.plan.is-current{outline:2px solid #2e9d5b;outline-offset:-2px}
.plan .btn-plain{background:transparent;border:1px solid var(--line,rgba(0,0,0,.15));color:inherit}
.billing-card{margin-top:18px}
.acc-cur[hidden]{display:none!important}

/* ===== Umfragen & Links ===== */
.ana-tabs { margin: 0 0 18px; max-width: 460px; }
.sv-flow { padding: 18px; }
.sv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sv-steps > div { display: flex; flex-direction: column; gap: 4px; position: relative; }
.sv-steps span { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--black, #17150f); display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.sv-steps b { font-size: 14px; }
.sv-steps small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.sv-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.sv-tpls.one { grid-template-columns: 1fr; }
.sv-tpl { text-align: left; display: flex; flex-direction: column; gap: 8px; cursor: pointer; border: 1.5px solid transparent; font: inherit; color: inherit; padding: 16px; }
.sv-tpl:hover { border-color: var(--gold); }
.sv-tpl b { font-size: 15px; } .sv-tpl small { color: var(--muted); line-height: 1.45; }
.sv-tpl .btn { align-self: flex-start; margin-top: 4px; }
.sv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin: 16px 0; }
.sv-card { display: flex; flex-direction: column; gap: 12px; }
.sv-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sv-card-head b { font-size: 16px; display: block; } .sv-card-head small { color: var(--muted); font-size: 12.5px; }
.sv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-kpis div { background: rgba(15,14,11,.04); border-radius: 12px; padding: 10px; }
.sv-kpis b { font-size: 20px; display: block; } .sv-kpis small { color: var(--muted); font-size: 12px; }
.sv-links-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-links-mini .chip { cursor: default; }
.sv-check .copy-field { gap: 8px; }
.sv-vres { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.sv-vres.ok { background: rgba(31,157,85,.1); border: 1px solid rgba(31,157,85,.35); }
.sv-vres.used { background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.3); }
.sv-vres small { color: var(--muted); }
.sv-ed-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sv-name { flex: 1; min-width: 200px; font-size: 18px !important; font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line, #ebe6d8); background: var(--card, #fff); }
.sw { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; user-select: none; }
.sw input { width: 18px; height: 18px; accent-color: var(--gold-dark, #b8900a); }
.sv-ed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.sv-ed-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sv-ed-main .card { margin: 0; }
.sv-ed-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 10px; }
.sv-phone { width: 100%; height: 640px; border-radius: 34px; border: 10px solid #17150f; overflow: hidden; background: #faf8f3; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.sv-phone iframe { width: 100%; height: 100%; border: 0; }
.sv-q { display: flex; flex-direction: column; gap: 10px; }
.sv-q-head { display: flex; gap: 10px; align-items: center; }
.sv-q-n { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--gold-soft, #fdf3cc); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.sv-q-head input { flex: 1; font-weight: 600; }
.sv-q-btns { display: flex; gap: 2px; }
.sv-q-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sv-q-row select, .sv-q-row input { flex: 1; min-width: 180px; }
.sv-q input, .sv-q select, .sv-q textarea, .sv-add input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line, #ebe6d8); background: var(--card, #fff); width: 100%; }
.sv-q textarea { resize: vertical; }
.sv-lbl { font-size: 12.5px; color: var(--muted); }
.sv-add .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sv-add small { display: block; margin-top: 8px; }
.sv-colors { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sv-color { width: 34px; height: 34px; border-radius: 10px; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.sv-color.active { border-color: var(--ink, #17150f); outline: 2px solid #fff; outline-offset: -4px; }
.sv-color-custom { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; border: 1px dashed var(--muted); display: grid; place-items: center; cursor: pointer; }
.sv-color-custom input { width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer; }
.sv-links { display: flex; flex-direction: column; gap: 12px; }
.sv-link { display: flex; gap: 16px; align-items: center; }
.sv-link-qr { flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--line, #ebe6d8); line-height: 0; }
.sv-link-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sv-link-body > input { font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line, #ebe6d8); background: var(--card, #fff); }
.sv-link .btn-row { margin: 0; flex-wrap: wrap; }
.sv-res-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.sv-res-bar select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line, #ebe6d8); background: var(--card, #fff); }
.sv-res-bar .btn { margin-left: auto; }
.sv-ltable { display: flex; flex-direction: column; }
.sv-lrow { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line, #ebe6d8); align-items: center; font-size: 14px; }
.sv-lrow.head { font-size: 12px; color: var(--muted); font-weight: 600; }
.sv-lrow span:not(:first-child) { text-align: right; }
.sv-lbar { display: block; height: 6px; background: rgba(15,14,11,.06); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.sv-lbar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.sv-days { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 10px; }
.sv-day { flex: 1; height: 100%; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.sv-day i, .sv-day b { position: absolute; bottom: 0; width: 70%; border-radius: 4px 4px 0 0; }
.sv-day i { background: var(--gold-soft, #fdf3cc); }
.sv-day b { background: var(--gold); width: 40%; }
.sv-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.sv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sv-legend i.a { background: var(--gold-soft, #fdf3cc); } .sv-legend i.b { background: var(--gold); }
.sv-answers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 18px; }
.sv-ans { margin: 0; }
.sv-ans-h { margin-bottom: 12px; } .sv-ans-h b { display: block; font-size: 15px; } .sv-ans-h small { color: var(--muted); font-size: 12px; }
.hbars { display: flex; flex-direction: column; gap: 8px; }
.hb { display: grid; grid-template-columns: minmax(90px, 1.1fr) 2fr auto; gap: 10px; align-items: center; font-size: 13px; }
.hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-t { height: 10px; background: rgba(15,14,11,.06); border-radius: 99px; overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 99px; }
.hb-v { font-weight: 600; min-width: 64px; text-align: right; } .hb-v small { color: var(--muted); font-weight: 400; }
.sv-avg { font-size: 13px; color: var(--muted); margin-bottom: 10px; } .sv-avg b { font-size: 26px; color: var(--ink, #17150f); }
.sv-texts { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sv-texts div { font-size: 13.5px; padding: 8px 10px; background: rgba(15,14,11,.04); border-radius: 10px; }
.sv-texts small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
@media (max-width: 1100px) { .sv-ed { grid-template-columns: 1fr; } .sv-ed-side { position: static; max-width: 360px; margin: 0 auto; width: 100%; } }
@media (max-width: 760px) { .sv-steps { grid-template-columns: 1fr 1fr; } .sv-link { flex-direction: column; align-items: stretch; } .sv-link-qr { align-self: center; } .sv-lrow { grid-template-columns: minmax(0,1.6fr) 1fr 1fr 1fr; font-size: 13px; } .sv-res-bar .btn { margin-left: 0; } }
[data-rh-theme="dark"] .sv-kpis div, [data-rh-theme="dark"] .sv-texts div { background: rgba(255,255,255,.05); }
[data-rh-theme="dark"] .hb-t, [data-rh-theme="dark"] .sv-lbar { background: rgba(255,255,255,.08); }
.sv-q .sw input, .sv-q-row .sw input { flex: none; width: 18px !important; min-width: 0 !important; padding: 0; }
.sv-q-row select { flex: 0 1 260px; }
.sv-q-row .sw { flex: none; }
.sv-vlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sv-link-top { display: flex; gap: 8px; }
.sv-link-top input { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line, #ebe6d8); background: var(--card, #fff); }
.sv-link-top select { flex: 0 0 auto; max-width: 45%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line, #ebe6d8); background: var(--card, #fff); }
.sv-target { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: rgba(31,157,85,.08); border: 1px solid rgba(31,157,85,.25); flex-wrap: wrap; }
.sv-target span { flex: 1; min-width: 160px; }
.sv-target a { font-size: 12.5px; color: inherit; display: inline-flex; gap: 4px; align-items: center; }
.sv-target.warn { background: rgba(245,180,0,.1); border-color: rgba(245,180,0,.4); }
.sv-target.off { background: rgba(15,14,11,.04); border-color: transparent; color: var(--muted); }
.sv-link-stats { font-size: 12.5px; color: var(--muted); }
.sv-tlist { display: flex; flex-direction: column; gap: 8px; }
.sv-tlist > div { display: flex; flex-direction: column; gap: 4px; }
.sv-bloc { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.sv-locgrp { margin: 0; }
.sv-locgrp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.sv-locgrp-h b { font-size: 15px; }
.sv-locgrp-h span { margin-left: auto; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 99px; }
.sv-locgrp-h span.ok { background: rgba(31,157,85,.1); color: #1f7a45; }
.sv-locgrp-h span.warn { background: rgba(245,180,0,.14); color: #8a6a00; }
.sv-locgrp .sv-lrow span:nth-child(2) { text-align: left; }
.sv-locgrp .sv-lrow .link { padding: 0; text-align: left; }
.sv-url { display: block; color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .sv-link-top { flex-direction: column; } .sv-link-top select { max-width: none; } }

/* Mehr Luft um Abschnitts-Überschriften */
.app-page h2.section { margin-top: 40px; margin-bottom: 6px; }
.app-page h2.section:first-child, .page-head + h2.section { margin-top: 8px; }
.app-page .section-sub { margin-bottom: 20px; }
.sv-flow { margin-bottom: 8px; }
.sv-list { margin: 0 0 32px; }
.sv-bloc { gap: 16px; }
.sv-check { margin-top: 8px; }
.sv-ed-head { margin-bottom: 4px; }
.sv-ed { margin-top: 20px; }
.sv-ed-main { gap: 16px; }
.ana-tabs { margin-bottom: 24px; }
.sv-res-bar { margin-bottom: 22px; }
.sv-answers { gap: 18px; }
.billing-card { margin-top: 28px; }

/* Widget-Designs zur Auswahl */
.wstyles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wstyle { text-align: left; border: 2px solid var(--line, #ebe6d8); background: var(--card, #fff); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.wstyle:hover { transform: translateY(-2px); }
.wstyle.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.25); }
.wstyle b { font-size: 14px; margin-top: 6px; } .wstyle small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.wstyle-prev { height: 150px; overflow: hidden; border-radius: 10px; background: rgba(15,14,11,.04); position: relative; pointer-events: none; }
.wstyle-scale { width: 250%; transform: scale(.4); transform-origin: top left; padding: 14px; }
@media (max-width: 900px) { .wstyles { grid-template-columns: 1fr 1fr; } }
.wstyle-prev { height: 170px; }
.wstyle-scale { width: 200%; transform: scale(.5); padding: 12px; }
.wstyle-prev.badge { display: flex; align-items: center; }
.wstyle-prev.badge .wstyle-scale { width: 150%; transform: scale(.66); padding: 10px; }
.tool-card .d-label { font-weight: 700; font-size: 13.5px; color: var(--ink, #17150f); margin: 14px 0 10px; text-transform: none; letter-spacing: 0; }

/* Social-Media-Bilder */
.soc-tpls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.soc-tpl { border: 2px solid transparent; border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.soc-tpl span { font-size: 12px; letter-spacing: 1px; }
.soc-tpl b { font-size: 12.5px; }
.soc-tpl.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.3); }
.soc-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 4px 0 14px; }
.soc-acc input[type=color] { width: 30px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; }
.social-prev.wide canvas { aspect-ratio: 1200/628; }
@media (max-width: 600px) { .soc-tpls { grid-template-columns: repeat(2, 1fr); } }

/* Startseite: Kreislauf Aufsteller → Umfrage → Gutschein → Google */
.loop { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loop li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.loop li > b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #17150f; display: grid; place-items: center; font-size: 13px; }
.loop li span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.loop li strong { display: block; color: var(--ink, #17150f); font-size: 13.5px; margin-bottom: 2px; }
.login-hero .feat { margin-top: 20px; }
@media (max-width: 600px) { .loop { grid-template-columns: 1fr; } }
/* Pro-Paket: Umfragen hervorheben */
.plan li.feat-hl { background: linear-gradient(135deg, rgba(245,197,24,.16), rgba(255,140,0,.08)); border: 1px solid rgba(245,180,0,.45); border-radius: 12px; padding: 10px 10px 10px 34px !important; background-position: 10px 12px; }
.feat-new { display: inline-block; background: var(--gold); color: #17150f; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 2px; }
.plan li.feat-hl { padding: 10px 10px 10px 34px !important; }
.plan li.feat-hl::before { left: 10px; top: 12px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-cta .btn { padding: 12px 20px; font-size: 14.5px; text-decoration: none; }
