/* Schriften lokal gehostet (wie auf msd-webdesign.at) – keine externen Requests. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/outfit-v15-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/outfit-v15-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/outfit-v15-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/outfit-v15-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); }

/* Farbwelt von msd-webdesign.at: Navy-Blau mit Gold, cremefarbener Text. */
:root {
  color-scheme: dark;
  --bg: #0a1428;
  --surface: #0d1e3a;
  --panel: #0f1f3c;
  --raised: #1a3557;
  --blue: #2a4a7d;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #a08030;
  --cream: #f5f0e8;
  --muted: rgba(245, 240, 232, .74);
  --faint: rgba(245, 240, 232, .6);
  --line: rgba(201, 168, 76, .2);
  --line-md: rgba(201, 168, 76, .4);
  --line-lg: rgba(201, 168, 76, .55);
  --success: #5ac882;
  --warning: #f0b549;
  --danger: #ff6b6b;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  color: var(--cream);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(1100px 560px at 88% -12%, rgba(42, 74, 125, .38), transparent 62%), var(--bg); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(201, 168, 76, .35); color: var(--cream); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.rail { position: sticky; top: 0; height: 100vh; padding: 25px 18px 20px; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); border-right: 1px solid var(--line); color: var(--cream); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 3px 8px; }
.brand-logo { display: block; width: auto; height: 40px; }
.rail .brand { flex-direction: column; align-items: flex-start; gap: 8px; }
.rail .brand-logo { width: 150px; height: auto; }
.brand-name { color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; }
.rail-rule { height: 1px; background: var(--line); margin: 26px 7px 24px; }
.rail-caption, .eyebrow { margin: 0; color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase; }
.rail-caption { padding: 0 10px 11px; }
.nav-item { min-height: 42px; padding: 0 11px; display: flex; align-items: center; gap: 11px; color: var(--muted); text-decoration: none; border-radius: 2px; font-size: 13px; transition: background .2s, color .2s; }
.nav-item:hover, .nav-item.active { background: rgba(255, 255, 255, .06); color: var(--cream); }
.nav-item.active { box-shadow: inset 2px 0 var(--gold); }
.nav-glyph { width: 16px; color: var(--gold); font-size: 15px; text-align: center; }
.rail-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 13px 9px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.rail-version { margin-left: auto; color: var(--faint); font-size: 10px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: 0 0 auto; }
.workspace { width: min(100%, 1440px); margin: 0 auto; padding: 0 48px 22px; }
.topbar { min-height: 72px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.crumb { display: flex; gap: 10px; align-items: center; color: var(--faint); font-size: 12px; }
.crumb-slash { color: var(--line-lg); }
.crumb strong { color: var(--cream); font-weight: 500; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.mode-pill { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--line-md); padding: 7px 11px; border-radius: 99px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 11px; }
.mode-pill .status-dot { width: 6px; height: 6px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 50px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%); color: var(--bg); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 18px rgba(201, 168, 76, .3); transition: transform .2s, box-shadow .2s; }
.topbar-link:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(201, 168, 76, .45); }
.topbar-link span { margin-left: 2px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 44px 0 28px; }
h1 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(36px, 3.6vw, 52px); line-height: 1.06; letter-spacing: 0; font-weight: 400; color: var(--cream); }
h1 em { color: var(--gold-light); font-family: var(--serif); font-style: italic; font-weight: 400; }
.intro-copy { max-width: 360px; margin: 0 1px 4px 0; color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.8; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .8fr); gap: 18px; align-items: stretch; }
.chat-panel { min-height: 552px; max-height: 660px; display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.chat-head { min-height: 68px; display: flex; align-items: center; padding: 0 19px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--panel)); }
.assistant-avatar, .mini-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 1; overflow: hidden; border: 1px solid var(--line-lg); border-radius: 50%; background: var(--bg); color: var(--cream); font-family: var(--serif); font-weight: 600; }
.assistant-avatar { width: 40px; height: 40px; padding-bottom: 2px; font-size: 22px; }
.assistant-avatar.has-image { padding: 0; border-color: var(--gold); }
.assistant-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mini-mark span { color: var(--gold); }
.assistant-avatar span { display: none; }
.assistant-meta { display: grid; gap: 4px; padding-left: 12px; }
.assistant-meta strong { color: var(--cream); font-size: 13px; font-weight: 500; }
.assistant-meta > span { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 11px; }
.assistant-meta .status-dot { width: 5px; height: 5px; }
.reset-button { width: 32px; height: 32px; margin-left: auto; border: 1px solid var(--line-md); border-radius: 50%; background: transparent; color: var(--gold-light); font-size: 18px; cursor: pointer; transition: background .2s, border-color .2s; }
.reset-button:hover { background: rgba(201, 168, 76, .08); border-color: var(--gold); }
.messages { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 20px 9px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(201, 168, 76, .35) transparent; }
.message-row { display: flex; margin: 0 0 15px; animation: rise-in .24s ease both; }
.message-row.user { justify-content: flex-end; }
.bubble { max-width: min(87%, 430px); padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .05); border-radius: 3px 12px 12px 12px; background: var(--raised); color: var(--cream); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.user .bubble { border-color: transparent; border-radius: 12px 3px 12px 12px; background: var(--gold); color: var(--bg); }
.message-row.user + .message-row.assistant .bubble { margin-top: 1px; }
.option-row { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 17px 0; padding-left: 0; animation: rise-in .32s ease both; }
.option-button { min-height: 34px; max-width: 100%; padding: 7px 12px; border: 1px solid var(--line-md); border-radius: 2px; background: transparent; color: var(--gold-light); font: inherit; font-size: 12px; line-height: 1.35; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.option-button:hover { background: rgba(201, 168, 76, .08); border-color: var(--gold); transform: translateY(-1px); }
.option-button.primary { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 500; }
.option-button.primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.typing-indicator { height: 21px; display: flex; align-items: center; gap: 4px; padding-left: 21px; }
.typing-indicator[hidden] { display: none; }
.typing-indicator span:not(.sr-only) { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; animation: pulse 1s infinite ease-in-out; }
.typing-indicator span:nth-child(2) { animation-delay: .12s; }
.typing-indicator span:nth-child(3) { animation-delay: .24s; }
.composer { display: flex; gap: 9px; align-items: center; margin: 9px 15px 0; padding: 6px 7px 6px 13px; border: 1px solid var(--line-md); border-radius: 4px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.composer:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, .15); }
.composer input { width: 100%; min-width: 0; height: 32px; border: 0; outline: 0; background: transparent; color: var(--cream); font-size: 13px; }
.composer input::placeholder { color: var(--faint); }
.composer input:focus-visible { outline: 0; }
.send-button { width: 32px; height: 32px; flex: 0 0 auto; border: 0; border-radius: 2px; background: var(--gold); color: var(--bg); font-size: 18px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .2s; }
.send-button:hover { background: var(--gold-light); }
.chat-foot { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 17px; color: var(--faint); font-size: 10px; }
.chat-foot a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
#feedback-note { text-align: right; }
.knowledge-feedback { display: flex; justify-content: flex-end; padding: 0 18px 9px; }
.knowledge-feedback button { padding: 0; border: 0; background: transparent; color: var(--faint); font-size: 10px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.knowledge-feedback button:hover { color: var(--gold-light); }
.knowledge-suggestion { display: grid; gap: 8px; margin: 0 15px 12px; padding: 12px; border: 1px solid var(--line-md); border-radius: 4px; background: var(--raised); }
.knowledge-suggestion > label:first-child { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.knowledge-suggestion textarea { width: 100%; min-height: 64px; padding: 8px; resize: vertical; border: 1px solid var(--line-md); border-radius: 2px; background: var(--bg); color: var(--cream); font: inherit; font-size: 12px; }
.suggestion-consent { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.suggestion-consent input { flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--gold); }
.knowledge-suggestion > button { min-height: 34px; border: 0; border-radius: 2px; background: var(--gold); color: var(--bg); font-size: 11px; font-weight: 600; cursor: pointer; }
.knowledge-suggestion > button:hover { background: var(--gold-light); }
.lead-form { display: grid; gap: 10px; width: min(100%, 440px); margin: 2px 0 17px; padding: 16px; border: 1px solid var(--line-md); border-radius: 8px; background: var(--raised); animation: rise-in .24s ease both; }
.lead-form > strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--cream); }
.lead-form > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.lead-form > label:not(.lead-consent) { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.lead-form input:not([type="checkbox"]), .lead-form select { width: 100%; min-width: 0; min-height: 36px; padding: 6px 9px; border: 1px solid var(--line-md); border-radius: 2px; background: var(--bg); color: var(--cream); font-size: 12px; }
.lead-form input::placeholder { color: var(--faint); }
.lead-form input[type="checkbox"] { accent-color: var(--gold); }
.lead-consent { display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.lead-consent input { flex: 0 0 auto; margin: 2px 0 0; }
.lead-consent a { color: var(--gold-light); }
.lead-submit { min-height: 40px; border: 0; border-radius: 2px; background: var(--gold); color: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.lead-submit:hover { background: var(--gold-light); }
.lead-submit:disabled { opacity: .6; cursor: wait; }
.lead-form input:disabled { background: rgba(255, 255, 255, .04); color: var(--faint); }
.lead-error { margin: 0; color: var(--danger); font-size: 11px; line-height: 1.5; }
.insight-panel { display: flex; flex-direction: column; padding: 24px 20px 18px; background: linear-gradient(180deg, var(--panel) 0%, var(--surface) 100%); border: 1px solid var(--line); border-radius: 8px; }
.insight-section h2 { margin: 12px 0 22px; font-family: var(--serif); font-size: 27px; line-height: 1.2; letter-spacing: 0; font-weight: 400; color: var(--cream); }
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 9px; }
.step-number { padding-top: 0; color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.1; }
.step b { display: block; margin: 0 0 4px; color: var(--cream); font-size: 12px; font-weight: 500; }
.step small { display: block; color: var(--muted); font-size: 11px; line-height: 1.6; }
.insight-divider { height: 1px; margin: 22px 0 18px; background: var(--line); }
.privacy-copy { margin: 10px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.privacy-section > a { color: var(--gold-light); font-size: 11px; font-weight: 500; text-decoration: none; }
.privacy-section > a:hover { text-decoration: underline; text-underline-offset: 2px; }
.insight-bottom { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; color: var(--faint); font-size: 10px; line-height: 1.5; }
.mini-mark { width: 28px; height: 28px; font-size: 14px; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; padding: 19px 0 0; color: var(--faint); font-size: 11px; }
.page-footer a { text-decoration: none; color: var(--gold-light); }

/* Wissensprüfung (/admin) */
.review-admin { min-height: 100vh; }
.review-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 980px) / 2)); background: linear-gradient(180deg, var(--bg), var(--surface)); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.review-header .brand { padding: 0; }
.review-main { width: min(100% - 36px, 860px); margin: 0 auto; padding: 42px 0 70px; }
.review-intro { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.review-intro h1 { margin: 12px 0; font-size: 42px; }
.review-intro > p:last-child { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.review-login { max-width: 410px; padding: 21px 0; }
.review-login label, .new-knowledge label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 500; }
.login-row { display: flex; gap: 8px; }
.login-row input, .new-knowledge textarea { min-width: 0; width: 100%; padding: 10px 11px; border: 1px solid var(--line-md); border-radius: 2px; background: var(--panel); color: var(--cream); font: inherit; font-size: 13px; }
.login-row button, .new-knowledge button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 2px; background: var(--gold); color: var(--bg); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s; }
.login-row button:hover, .new-knowledge button:hover { background: var(--gold-light); }
.review-status { min-height: 20px; margin: 0; color: var(--success); font-size: 12px; }
.review-status.error { color: var(--danger); }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.summary-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.1rem; }
.summary-label { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.summary-card strong { display: block; margin-top: .35rem; font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.4rem); font-weight: 600; color: var(--cream); }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .85rem; }
.filter-button { border: 1px solid var(--line-md); background: transparent; color: var(--muted); border-radius: 999px; padding: .45rem .8rem; font: inherit; font-size: .8rem; cursor: pointer; }
.filter-button:hover { color: var(--cream); border-color: var(--gold); }
.filter-button.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.filter-button.is-active[data-entry-filter="pending"], .filter-button.is-active[data-lead-filter="pending"] { background: var(--warning); border-color: var(--warning); }
.filter-button.is-active[data-entry-filter="approved"] { background: var(--success); border-color: var(--success); }
.filter-button.is-active[data-entry-filter="rejected"], .filter-button.is-active[data-lead-filter="failed"] { background: var(--danger); border-color: var(--danger); }
.review-actions { display: flex; gap: .5rem; }
.review-actions button { border: 1px solid var(--line-md); border-radius: 999px; background: transparent; color: var(--gold-light); padding: .45rem .8rem; font: inherit; font-size: .8rem; cursor: pointer; }
.review-actions button:hover { background: rgba(201, 168, 76, .08); }
.lead-entry { transition: border-color .2s ease, box-shadow .2s ease; }
.lead-entry.is-expanded { border-color: var(--line-lg); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.lead-detail-panel { margin-top: .7rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.lead-detail-panel dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem 1rem; margin: 0; }
.lead-detail-panel div { display: flex; flex-direction: column; gap: .15rem; }
.lead-detail-panel dt { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.lead-detail-panel dd { margin: 0; color: var(--cream); white-space: pre-wrap; }
.lead-detail-panel .full-width { grid-column: 1 / -1; }
.lead-toggle { align-self: flex-start; border: 1px solid var(--line-md); border-radius: 999px; background: transparent; color: var(--gold-light); padding: .35rem .7rem; margin-top: .35rem; cursor: pointer; }
.review-section { padding: 25px 0 27px; border-bottom: 1px solid var(--line); }
.review-section-head { display: flex; align-items: center; justify-content: space-between; }
.review-section h2 { margin: 8px 0 17px; font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: 0; color: var(--cream); }
.review-section-head h2 { margin-bottom: 0; }
.review-section-head > button { width: 36px; height: 36px; border: 1px solid var(--line-md); border-radius: 50%; background: transparent; color: var(--gold-light); font-size: 18px; cursor: pointer; }
.entry-list { display: grid; gap: 10px; margin-top: 17px; }
.knowledge-entry { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.knowledge-entry p { margin: 12px 0 0; color: var(--cream); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.knowledge-entry-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 11px; }
.entry-state { color: var(--warning); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.entry-state.lead-sent, .state-approved .entry-state { color: var(--success); }
.entry-state.lead-failed, .state-rejected .entry-state { color: var(--danger); }
.entry-actions { display: flex; gap: 7px; margin-top: 14px; }
.entry-actions button { min-height: 32px; padding: 0 11px; border: 1px solid var(--line-md); border-radius: 2px; background: transparent; color: var(--cream); font-size: 11px; cursor: pointer; }
.entry-actions .approve-entry { border-color: rgba(90, 200, 130, .5); background: rgba(90, 200, 130, .1); color: var(--success); }
.entry-actions .reject-entry, .retry-lead { border-color: rgba(255, 107, 107, .45); color: var(--danger); }
.retry-lead { min-height: 32px; margin-top: 12px; padding: 0 11px; border: 1px solid rgba(255, 107, 107, .45); border-radius: 2px; background: transparent; font-size: 11px; cursor: pointer; }
.entry-actions button:disabled, .new-knowledge button:disabled { opacity: .55; cursor: wait; }
.empty-entries, .new-knowledge form > p { color: var(--faint); font-size: 12px; line-height: 1.6; }
.new-knowledge textarea { display: block; resize: vertical; }
.new-knowledge form > p { margin: 6px 0 11px; }
.new-knowledge button { min-height: 36px; }
.sales-settings form { display: grid; gap: 4px; }
.sales-settings form > label, .sales-grid label { margin: 10px 0 6px; }
.sales-settings input[type="text"], .sales-settings input[type="date"] { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--line-md); border-radius: 2px; background: var(--panel); color: var(--cream); font: inherit; font-size: 13px; }
.sales-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
.sales-settings .sales-toggle { display: flex; align-items: flex-start; gap: 9px; color: var(--cream); font-weight: 400; line-height: 1.5; }
.sales-toggle input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--gold); }
.sales-settings button { justify-self: start; margin-top: 4px; }
@media (max-width: 520px) { .review-main { width: calc(100% - 28px); padding-top: 30px; } .review-header { padding: 0 14px; } .review-header .brand-logo { height: 32px; } .review-intro h1 { font-size: 34px; } .login-row { align-items: stretch; flex-direction: column; } .login-row button { align-self: flex-start; } }

/* Einbettung per iframe (?embed=1): nur das Chatfenster. */
body.embed { min-height: 100dvh; overflow: hidden; background: var(--panel); }
body.embed .shell { min-height: 100dvh; display: block; }
body.embed .rail, body.embed .topbar, body.embed .intro, body.embed .insight-panel, body.embed .page-footer { display: none; }
body.embed .workspace { width: 100%; padding: 0; }
body.embed .demo-layout { display: block; }
body.embed .chat-panel { width: 100%; height: 100dvh; min-height: 0; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes rise-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

@media (min-width: 1450px) { .workspace { padding-right: 70px; padding-left: 70px; } }
@media (max-width: 1000px) { .shell { grid-template-columns: 196px minmax(0,1fr); } .rail .brand-logo { width: 132px; } .workspace { padding-right: 28px; padding-left: 28px; } .demo-layout { grid-template-columns: minmax(0,1.5fr) minmax(215px,.8fr); gap: 12px; } .insight-panel { padding-right: 15px; padding-left: 15px; } }
@media (max-width: 760px) { .shell { display: block; } .rail { position: static; width: 100%; height: 60px; flex-direction: row; align-items: center; padding: 0 17px; border-right: 0; border-bottom: 1px solid var(--line); } .rail .brand { flex-direction: row; align-items: center; gap: 10px; padding: 0; } .rail .brand-logo { width: auto; height: 36px; } .rail-rule, .rail-caption, .nav-item, .rail-bottom { display: none; } .workspace { padding: 0 17px 20px; } .topbar { min-height: 58px; } .topbar-right { gap: 10px; } .topbar-link { padding: 8px 12px; font-size: 11px; } .intro { padding: 29px 0 19px; display: block; } h1 { font-size: 38px; } .intro-copy { margin-top: 12px; max-width: 450px; font-size: 12px; } .demo-layout { grid-template-columns: 1fr; } .chat-panel { min-height: min(64vh, 575px); max-height: 680px; } .insight-panel { display: none; } }
@media (max-width: 420px) { .workspace { padding-right: 12px; padding-left: 12px; } .crumb { gap: 6px; font-size: 11px; } .mode-pill { padding: 6px 8px; font-size: 10px; } .topbar-link { max-width: 112px; white-space: normal; text-align: center; line-height: 1.3; } .messages { padding-right: 13px; padding-left: 13px; } .chat-head { padding-right: 13px; padding-left: 13px; } .chat-foot { padding-right: 12px; padding-left: 12px; font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.review-nav{display:flex;gap:16px;align-items:center}.review-nav a{color:inherit;text-decoration:underline;text-underline-offset:3px}.review-nav [aria-current]{font-weight:600}
