:root {
  --sc-gold: #b8985a;
  --sc-gold-light: #d4b47a;
  --sc-dark: #0e0e12;
  --sc-dark2: #16161c;
  --sc-dark3: #1e1e26;
  --sc-dark4: #26262f;
  --sc-text: #e8e4dc;
  --sc-muted: #0c0c0c;
  --sc-border: rgba(184,152,90,0.18);
  --sc-user-bg: #1f2035;
  --sc-bot-bg: #1a1a22;
  --sc-radius: 18px;
}

.smartchat-wrapper {
  position: relative;
  width: 100%;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Chat Container ── */
.sc-chat-container {
  background: var(--sc-dark2);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(184,152,90,0.08), 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* ── Header ── */
.sc-header {
  /* Header-Hintergrund abhängig von Variablen:
     - bei "Einfarbig": dark3-2 = dark3 => Gradient wird optisch zu einer Farbe */
  background: linear-gradient(
    var(--sc-header-angle, 135deg),
    var(--sc-dark3, #1e1e26),
    var(--sc-dark3-2, var(--sc-dark3, #1e1e26))
  );
  border-bottom: 1px solid var(--sc-border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sc-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(
    var(--sc-header-angle, 135deg),
    var(--sc-dark3, #1e1e26),
    var(--sc-dark3-2, var(--sc-dark3, #1e1e26))
  );
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: var(--sc-dark);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(184,152,90,0.2);
}
.sc-header-info .sc-name {
  font-size: var(--sc-header-title-size, 16px); font-weight: 600;
  color: var(--sc-header-text-color, var(--sc-text)); line-height: 1.2;
}
.sc-header-info .sc-subtitle {
  color: var(--sc-header-text-color, var(--sc-text)); opacity: 0.82; margin-top: 2px;
}
.sc-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; margin-left: auto;
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
  animation: sc-pulse 2s infinite;
  flex-shrink: 0;
}
.sc-status-dot.offline {
  background: #f87171;
  box-shadow: 0 0 8px rgba(248,113,113,0.4);
  animation: none;
}
@keyframes sc-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ── Messages ── */
.sc-messages {
  flex: 1; overflow-y: auto;
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
  position: relative;
}
.sc-messages::-webkit-scrollbar { width: 4px; }
.sc-messages::-webkit-scrollbar-track { background: transparent; }
.sc-messages::-webkit-scrollbar-thumb { background: var(--sc-border); border-radius: 4px; }

/* ── Message Rows ── */
.sc-msg { display: flex; gap: 8px; animation: sc-fadeup 0.3s ease; }
@keyframes sc-fadeup { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.sc-msg.user { flex-direction: row-reverse; }

.sc-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-top: 2px;
}
.sc-msg.bot  .sc-msg-avatar {
  background: linear-gradient(
    var(--sc-header-angle, 135deg),
    var(--sc-dark3, #1e1e26),
    var(--sc-dark3-2, var(--sc-dark3, #1e1e26))
  );
  color: var(--sc-dark);
}
.sc-msg.user .sc-msg-avatar {
  background: var(--sc-user-avatar-bg, var(--sc-dark4));
  color: var(--sc-user-avatar-text, var(--sc-text));
}

/* ── Bubbles ── */
.sc-bubble {
  max-width: 80%;
  padding: 11px 14px;
  border-radius: var(--sc-radius);
  font-size: 14px; line-height: 1.6;
  color: var(--sc-text);
}
.sc-msg.bot  .sc-bubble { background: var(--sc-bot-bg); border: 1px solid rgba(255,255,255,0.05); border-top-left-radius: 4px; }
.sc-msg.user .sc-bubble {
  background: var(--sc-user-bg);
  color: var(--sc-user-avatar-text, var(--sc-text));
  border: 1px solid rgba(184,152,90,0.15);
  border-top-right-radius: 4px;
}
/* .sc-bubble a { color: var(--sc-gold-light); text-decoration: none; border-bottom: 1px solid rgba(212,180,122,0.3); } */
.sc-bubble a:hover { border-bottom-color: var(--sc-gold-light); }
.sc-bubble ul { padding-left: 16px; margin-top: 5px; }
.sc-bubble li { margin-bottom: 3px; }
.sc-bubble strong, 
.sc-message strong {
    color: var(--sc-primary) !important;
    font-weight: 600;
}
.sc-bubble p { margin-bottom: 5px; }
.sc-bubble p:last-child { margin-bottom: 0; }

/* ── Quick Reply Chips ── */
.sc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.sc-chip {
  background: transparent;
  border: 1px solid var(--sc-border);
  color: var(--sc-gold-light);
  font-family: inherit; font-size: 12px;
  padding: 5px 12px; border-radius: 100px;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.sc-chip:hover { background: rgba(184,152,90,0.1); border-color: var(--sc-gold); transform: translateY(-1px); }

/* ── Typing Indicator ── */
.sc-typing {
  display: flex; align-items: center; gap: 4px;
  padding: 11px 14px;
  background: var(--sc-bot-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--sc-radius); border-top-left-radius: 4px;
  width: fit-content;
}
.sc-dot { width:6px; height:6px; border-radius:50%; background:var(--sc-muted); animation: sc-bounce 1.2s infinite; }
.sc-dot:nth-child(2){animation-delay:0.2s} .sc-dot:nth-child(3){animation-delay:0.4s}
@keyframes sc-bounce { 0%,60%,100%{transform:translateY(0);opacity:0.4} 30%{transform:translateY(-5px);opacity:1} }

/* ── Input Area ── */
.sc-input-area {
  border-top: 1px solid var(--sc-border);
  padding: 12px 16px;
  display: flex; gap: 9px; align-items: flex-end;
  background: var(--sc-dark2); flex-shrink: 0;
}
.sc-input {
  flex: 1;
  background: var(--sc-dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--sc-text);
  font-family: inherit; font-size: 14px;
  resize: none; outline: none;
  max-height: 110px; min-height: 42px;
  line-height: 1.5;
  transition: border-color 0.2s;
}
.sc-input:focus { border-color: rgba(184,152,90,0.35); }
.sc-input::placeholder { color: var(--sc-placeholder, var(--sc-muted)); }
.sc-input:disabled { opacity: 0.4; cursor: not-allowed; }

.sc-send-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(
    var(--sc-header-angle, 135deg),
    var(--sc-dark3, #1e1e26),
    var(--sc-dark3-2, var(--sc-dark3, #1e1e26))
  );
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
  color: var(--sc-send-icon, #ffffff);
}
/* stroke="currentColor" + helles Theme/Theme-button-Regeln → Icon weg; Stroke direkt setzen */
.smartchat-wrapper .sc-send-btn svg {
  stroke: var(--sc-send-icon, #ffffff);
  fill: none;
  display: block;
  flex-shrink: 0;
  opacity: 1;
}
.sc-send-btn:hover { transform: scale(1.05); box-shadow: 0 4px 14px rgba(184,152,90,0.3); }
.sc-send-btn:active { transform: scale(0.97); }
.sc-send-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.sc-disclaimer {
  text-align: center; font-size: 10px; color: var(--sc-muted);
  padding: 7px 16px 10px; opacity: 0.5; line-height: 1.4;
}
.sc-disclaimer a {
  color: inherit;
  text-decoration: underline;
}
.sc-disclaimer a:hover {
  opacity: 0.85;
}

/* ── Offline Banner ── */
.sc-offline {
  position: absolute; inset: 0;
  background: var(--sc-dark2);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px; text-align: center;
}
.sc-offline-icon { font-size: 40px; margin-bottom: 14px; }
.sc-offline-title { font-size: 18px; font-weight: 600; color: var(--sc-text); margin-bottom: 8px; }
.sc-offline-text { font-size: 13px; color: var(--sc-muted); }

/* ── Welcome Header ── */
.sc-welcome-header { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.sc-gold-line { height:1px; background: linear-gradient(to right, var(--sc-gold), transparent); width:28px; flex-shrink:0; }
.sc-welcome-label { font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:var(--sc-gold); font-weight:600; }

/* ── Pro Feature Notice ── */
.smartchat-pro-notice {
  padding: 12px 16px;
  background: rgba(184,152,90,0.1);
  border: 1px solid rgba(184,152,90,0.3);
  border-radius: 8px;
  color: #b8985a;
  font-size: 14px;
}

/* ════════════════════════════════════════════════════════════
   FLOATING BUTTON LAYOUT
   ════════════════════════════════════════════════════════════ */

/* Floating Chat-Fenster – standardmäßig versteckt */
.sc-layout-floating {
  position: fixed;
  bottom: 90px;
  max-height: calc(100dvh - 110px);
  z-index: 99998;
  display: none;  /* wird per JS geöffnet */
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
}
.sc-layout-floating.sc-pos-right  { right: 20px; }
.sc-layout-floating.sc-pos-left   { left: 20px; }
.sc-layout-floating.sc-pos-center { left: 50%; transform: translateX(-50%) translateY(16px) scale(0.97); }

.sc-layout-floating.sc-open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.sc-layout-floating.sc-pos-center.sc-open {
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Der runde Toggle-Button unten rechts/links */
.sc-float-btn {
  position: fixed;
  bottom: 20px;
  z-index: 99999;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #fff;
}
.sc-float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,0.4); }
.sc-float-btn:active { transform: scale(0.95); }
.sc-float-right { right: 20px; }
.sc-float-left  { left: 20px; }

/* Pulse-Animation beim ersten Laden */
.sc-float-btn.sc-pulse {
  animation: sc-float-pulse 2s ease-in-out 3;
}
@keyframes sc-float-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.1); }
  50%      { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 10px rgba(184,152,90,0.2); }
}

/* Unread Badge */
.sc-float-badge {
  position: absolute; top: -4px; right: -4px;
  background: #ef4444; color: #fff;
  font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  animation: sc-badge-pop 0.3s ease;
}
@keyframes sc-badge-pop { from{transform:scale(0)} to{transform:scale(1)} }

/* ════════════════════════════════════════════════════════════
   POPUP LAYOUT
   ════════════════════════════════════════════════════════════ */
.sc-layout-popup {
  position: fixed;
  bottom: 90px;
  max-height: calc(100dvh - 110px);
  z-index: 99998;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
}
.sc-layout-popup.sc-pos-right  { right: 20px; }
.sc-layout-popup.sc-pos-left   { left: 20px; }
.sc-layout-popup.sc-pos-center { left: 50%; transform: translateX(-50%) translateY(16px) scale(0.97); }

.sc-layout-popup.sc-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.sc-layout-popup.sc-pos-center.sc-open {
  transform: translateX(-50%) translateY(0) scale(1);
}

.sc-layout-floating .sc-chat-container,
.sc-layout-popup .sc-chat-container {
  height: 100%;
}

.sc-layout-floating .sc-header {
  cursor: move;
}

body.sc-dragging-chat,
body.sc-dragging-chat * {
  user-select: none !important;
}

/* Popup Trigger Button (inline auf der Seite) */
.sc-popup-trigger-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; border-radius: 100px;
  padding: 12px 20px; color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sc-popup-trigger-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* Overlay-Hintergrund beim Popup */
.sc-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99997;
  display: none; opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.sc-overlay.sc-open { display: block; opacity: 1; }

/* Mobile: Vollbild */
@media (max-width: 500px) {
  .sc-layout-floating,
  .sc-layout-popup {
    top: 0 !important;
    bottom: 0 !important; right: 0 !important; left: 0 !important;
    width: 100% !important; height: 100dvh !important;
    border-radius: 0 !important;
    z-index: 100000 !important;
  }
  .sc-float-btn { bottom: 14px; right: 14px; }
}

/* ── Responsive (Fix 3) ─────────────────────────────────── */
@media (max-width: 768px) {
  .smartchat-wrapper,
  .sc-layout-inline {
    height: 100% !important;
    min-height: 400px;
    max-height: 70vh;
  }
  .sc-bubble { max-width: 92%; font-size: 13.5px; }
  .sc-header { padding: 12px 14px; }
  .sc-messages { padding: 14px 12px; gap: 10px; }
  .sc-input-area { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .sc-layout-floating,
  .sc-layout-popup {
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    border-radius: 16px 16px 0 0 !important;
  }
  .sc-float-btn { bottom: 12px; right: 12px; }
}

/* ── Professional: remove emoji-like styling ── */
.sc-welcome-label { display: none; }
.sc-gold-line { display: none; }
.sc-welcome-header { margin-bottom: 0; }

/* ── Links im Chat (Fix 7) ── */
.sc-bubble a, 
.sc-chat-link {
    color: var(--sc-link) !important; 
	/* color: #000 !important;*/
    text-decoration: underline !important;
}
.sc-bubble a strong {
    color: inherit !important; 
}
.sc-bubble a:hover { opacity: 0.8; }

/* ── Memory Hint ─────────────────────────────────────────── */
.sc-memory-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  margin: 0 0 8px;
  background: rgba(184,152,90,0.08);
  border: 1px solid rgba(184,152,90,0.2);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--sc-muted);
}
.sc-clear-memory {
  background: transparent;
  border: none;
  color: var(--sc-muted);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s;
}
.sc-clear-memory:hover { color: #f87171; }
.sc-bubble a:hover { opacity: 0.8; text-decoration: underline; }
/* ── Input field custom styling (Fix 3) ── */
.sc-input-area { background: var(--sc-input-bg, var(--sc-dark3, #1e1e26)); }
.sc-input-area textarea,
.sc-input-area input[type="text"],
#smartchat-floating-input {
  background: var(--sc-input-bg, var(--sc-dark3, #1e1e26)) !important;
  color:       var(--sc-input-text, var(--sc-text, #e8e4dc)) !important;
  border-color:var(--sc-input-border, rgba(184,152,90,0.35)) !important;
}
/* ── Header text styling (Fix 4) ── */
.sc-name    { color: var(--sc-header-text-color, var(--sc-text, #e8e4dc)); font-size: var(--sc-header-title-size, 18px); font-weight: 600; }
.sc-subtitle{ color: var(--sc-header-text-color, var(--sc-text, #e8e4dc)); opacity: 0.75; }

/* ── Welcome Screen ─────────────────────────────────────── */
.sc-welcome-screen {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--sc-radius, 20px);
  overflow: hidden;
  padding: 32px 24px;
  box-sizing: border-box;
  text-align: center;
  gap: 0;
}
.sc-welcome-screen.sc-welcome-hidden {
  display: none !important;
  pointer-events: none;
}

.sc-welcome-img-wrap {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
}

.sc-welcome-img {
/*   width: 100%;
  height: 100%; */
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.sc-welcome-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.sc-welcome-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.sc-welcome-subtitle {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
  line-height: 1.5;
}

.sc-welcome-start-btn {
  margin-top: 8px;
  padding: 13px 36px;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 260px;
}

.sc-welcome-start-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════ */
.sn-landing-page {
  width: 100%;
  font-family: inherit;
  position: relative; /* needed for subtle inline close button positioning */
}

/* Header action buttons (Reopen + Inline Close) */
.sc-lp-reopen-btn,
.sc-lp-inline-close-btn {
  background: var(--sc-lp-reopen-btn-bg, #7c3aed);
  border: 1px solid var(--sc-border);
  color: var(--sc-lp-reopen-btn-text, #ffffff);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  margin-left: 8px;
  transition: all 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}
.smartchat-wrapper .sc-header .sc-lp-reopen-btn {
  background: var(--sc-lp-reopen-btn-bg, #7c3aed);
  color: var(--sc-lp-reopen-btn-text, #ffffff);
}
.smartchat-wrapper .sc-header .sc-lp-inline-close-btn {
  background: var(--sc-lp-reopen-btn-bg, #7c3aed);
  color: var(--sc-lp-reopen-btn-text, #ffffff);
}
.sc-lp-reopen-btn:hover,
.sc-lp-inline-close-btn:hover {
  border-color: rgba(184,152,90,0.8);
  opacity: 0.92;
  transform: translateY(-1px);
}
.sc-lp-reopen-btn:active,
.sc-lp-inline-close-btn:active { transform: translateY(0); }

/* Hero */
.sn-hero {
  width: 100%;
  padding: 0px 10px;
  box-sizing: border-box;
}

.sn-hero-inner {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 600px;
  margin: 0 auto;
/*   flex-wrap: wrap; */
}

.sn-hero-img-wrap {
  flex: 0 0 auto;
  width: 140px;
}

.sn-hero-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

.sn-hero-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sn-hero-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.sn-hero-subtitle {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
  line-height: 1.6;
}

.sn-hero-btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.sn-hero-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Features */
.sn-features {
  padding: 0px 20px;
  box-sizing: border-box;
}

.sn-features-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 20px !important;
  text-align: left;
}

.sn-features-grid {
  display: grid;
  grid-template-columns: repeat(var(--sn-cols, 2), 1fr);
  gap: 16px;
}

.sn-feature-card {
  border-radius: 14px;
  overflow: hidden;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none !important;
  color: inherit !important;
  cursor: default;
  justify-content: space-between;
}

a.sn-feature-card { cursor: pointer; }
a.sn-feature-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.sn-card-img-wrap {
  width: 100%;
  height: 80px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.sn-card-icon {
  font-size: 28px;
  line-height: 1;
  text-align:center;
}

.sn-card-body { display: flex; flex-direction: column; gap: 6px;text-align: center; }

.sn-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.sn-card-text {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 400px) {
  .sn-features-grid { grid-template-columns: 1fr 1fr !important; }
  .sn-hero-title { font-size: 20px !important; }
}

/* ── Landing Page INSIDE Chat ────────────────────────────── */
.sc-landing-messages {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sc-has-landing {
  padding: 0 !important;
}

.sc-has-landing .sn-landing-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Landing als Overlay im Chat (z.B. Reopen via Header-Button) */
.sc-messages.sc-landing-overlay-open {
  position: relative;
  overflow: hidden;
}

.sc-messages.sc-landing-overlay-open .sn-landing-page {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  background: var(--sc-landing-overlay-bg, rgba(14,14,18,0.72));
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  overflow-y: auto;
}

/* Wenn Landing-Overlay aktiv ist, normale Chat-Inhalte im Messages-Bereich ausblenden */
.sc-messages.sc-landing-overlay-open > *:not(.sn-landing-page.sc-overlay-mode) {
  display: none !important;
}

/* Fallback: direkte Overlay-Klasse auf Landing */
.sn-landing-page.sc-overlay-mode {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  display: flex !important;
  flex-direction: column;
  background: var(--sc-landing-overlay-bg, rgba(14,14,18,0.72));
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  overflow: hidden;
}

/* Im Overlay nur Features zeigen (Hero ausblenden) */
.sn-landing-page.sc-overlay-mode .sn-hero {
  display: none !important;
}

/* Features sollen den gesamten Overlay-Bereich nutzen */
.sn-landing-page.sc-overlay-mode .sn-features {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 16px;
  overflow-y: auto;
}

.sn-landing-page.sc-overlay-mode .sn-features-grid {
  align-content: start;
}

/* Hero inside chat – kompakter */
.sc-has-landing .sn-hero {
  padding: 20px 16px;
}

.sc-has-landing .sn-hero-inner {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  max-width: 100%;
}

.sc-has-landing .sn-hero-img-wrap {
  width: 100px;
  flex-shrink: 0;
}

.sc-has-landing .sn-hero-img {
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
}

.sc-has-landing .sn-hero-title {
  font-size: 18px !important;
}

.sc-has-landing .sn-hero-subtitle {
  font-size: 12px;
}

.sc-has-landing .sn-hero-btn {
  font-size: 13px;
  padding: 9px 20px;
  width: 100%;
  text-align: center;
}

/* Features inside chat – kompakter */
.sc-has-landing .sn-features {
  padding: 16px;
  flex: 1;
}

.sc-has-landing .sn-features-title {
  font-size: 16px !important;
  margin-bottom: 12px !important;
}

.sc-has-landing .sn-features-grid {
  display: grid;
  grid-template-columns: repeat(var(--sn-cols, 2), minmax(0, 1fr));
  gap: 10px;
}

.sc-has-landing .sn-feature-card {
  padding: 12px 10px;
  border-radius: 10px;
  gap: 6px;
}

.sc-has-landing .sn-card-icon {
  font-size: 22px;
}

.sc-has-landing .sn-card-img-wrap {
  height: 60px;
}

@media (max-width: 400px) {
  .sc-has-landing .sn-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.sc-has-landing .sn-card-title {
  font-size: 12px !important;
}

.sc-has-landing .sn-card-text {
  font-size: 11px;
}

/* "Chat starten" button hides landing, shows chat */
.sn-start-chat-btn {
  cursor: pointer;
  width: 100%;
}
