/* style.css – Selly Design */

/* ===== Globals (dunkle Basis, Sidebar/Landing) ===== */
body {
  margin: 0;
  background-color: #0e0b09;
  font-family: "Lato", sans-serif;
  color: #fcead8;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: #f7d089;
}

/* ===== Layout & Sidebar ===== */
.layout { display: flex; min-height: 100vh; overflow: hidden; }
.sidebar {
  width: 280px;
  background: #0e0b08;
  border-right: 1px solid #f7d089;
  padding: 20px;
  overflow-y: auto;
}
.sidebar h2 { color: #f7d089; font-size: 1.5rem; margin-bottom: 1.5rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li {
  margin-bottom: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  color: #fcead8;
}
.sidebar li:hover,
.sidebar li.active { background: #f7d089; color: #0e0b08; }
.sidebar li.subitem { padding-left: 28px; font-size: .95rem; opacity: .95; }
/* Links in der Sidebar (Profil/Einstellungen/Logout) */
.sidebar a { color: #fcead8; text-decoration: none; }
.sidebar a:hover { color: #0e0b08; background: #f7d089; padding: 6px 10px; border-radius: 8px; }

/* Rechte Scrollfläche */
.main { flex: 1; padding: 2rem; overflow-y: auto; }

/* ===== Hero/Landing (bestehendes Design) ===== */
.hero-logo {
  position: absolute;
  top: 20px;
  left: 220px;
  opacity: 0.06;
  max-width: 200px;
  pointer-events: none;
}

.hero {
  padding: 1.5rem 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.hero-text { max-width: 48%; text-align: center; }
.hero-text .sub { font-size: 1.2rem; color: #fcead8; }
.hero-image { max-width: 38%; }
.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 150, 0.25);
}

/* Options-Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.option-card {
  background: #1c1712;
  border: 1px solid #f7d089;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 0 12px rgba(255, 215, 150, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
}
.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(255, 215, 150, 0.3);
}
.option-card h2 {
  font-family: 'Playfair Display', serif;
  color: #f7d089;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.option-card p { font-size: 1rem; color: #fcead8; }

/* Chat-Bubble / Mini-Chat */
.chat-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 0.8rem;
  max-width: 280px;
  box-shadow: 0 0 10px rgba(255, 215, 150, 0.3);
  z-index: 1000;
  cursor: pointer;
}
.chat-avatar { width: 60px; height: 60px; border-radius: 50%; border: 2px solid #f7d089; }
.bubble-text { color: #fcead8; font-size: 0.95rem; }
.bubble-text b { color: #f7d089; }

.chat-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #1e1a17;
  border: 1px solid #f7d089;
  border-radius: 12px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1001;
  box-shadow: 0 0 15px rgba(255, 215, 150, 0.4);
  animation: slideIn 0.5s ease forwards;
}
@keyframes slideIn { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1); } }
.chat-display {
  height: 150px; overflow-y: auto; background: #2e2824; padding: 0.5rem; border-radius: 6px;
  font-size: 0.9rem; color: #fcead8;
}
.chat-display .message {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px; margin-bottom: 6px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255, 215, 150, 0.15);
}
.chat-form { display: flex; gap: 0.5rem; }
.chat-form input { flex: 1; padding: 0.5rem; border-radius: 6px; border: 1px solid #ccc; }
.chat-form button {
  background: #f7d089; color: #0e0b09; border: none; padding: 0.5rem 0.75rem; border-radius: 6px; cursor: pointer;
}

/* Animierte Selly */
#animatedSelly { position: fixed; bottom: 100px; left: -150px; width: 140px; transition: left 2s ease-in-out; z-index: 999; }
#animatedSelly.animate { animation: walk-across 12s linear forwards; }
@keyframes walk-across { 0%{ left:-150px; opacity:1; } 100%{ left:100vw; opacity:0; } }

/* Chat Labels */
.message .label-user  { color: #ffd089; font-weight: bold; margin-right: 5px; }
.message .label-selly { color: #89d0f7; font-weight: bold; margin-right: 5px; }

/* ====================================================================== */
/* === AI Business Suite – RECHTE CONTENT-SEITE (Cream + Gold Akzente) === */
/* ====================================================================== */

#moduleContent {
  background: #fdf7ee;               /* zartes Creme */
  color: #111;                        /* schwarze Schrift */
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  line-height: 1.65;
}

/* Typografie nur rechts überschreiben */
#moduleContent h1 { color: #111; margin: 0 0 .75rem; font-size: 2rem; }
#moduleContent h2,
#moduleContent h3 { color: #c9a227; }   /* Gold-Akzent */
#moduleContent a  { color: #c9a227; text-decoration: underline; }

#moduleContent ul,
#moduleContent ol { padding-left: 1.1rem; margin: .25rem 0 1rem; }
#moduleContent li { margin: .25rem 0; }
#moduleContent .muted { opacity: .85; }

/* Goldene „Glitzer“-Balken */
#moduleContent .module-balken {
  position: relative;
  background: linear-gradient(180deg,#fffaf2 0%, #fff4e6 100%);
  color: #111;
  padding: 18px;
  border-radius: 14px;
  margin: 14px 0;
  border: 2px solid transparent;
  border-image: linear-gradient(45deg,#f7e7b4,#d4af37,#f7e7b4) 1;
  box-shadow:
    0 0 0 1px rgba(212,175,55,.18) inset,
    0 10px 24px rgba(212,175,55,.18),
    0 0 18px rgba(249,231,185,.45);
}
#moduleContent .module-balken::after{
  content: "";
  position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; opacity: .35;
  background:
    radial-gradient(2px 2px at 18% 28%, rgba(255,255,255,.9),  transparent 60%),
    radial-gradient(1.6px 1.6px at 72% 62%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(2px 2px at 42% 82%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 88% 22%, rgba(255,255,255,.8),  transparent 60%);
}

/* Buttons im rechten Bereich */
#moduleContent .btn-gold {
  display: inline-block; padding: 12px 16px; border-radius: 10px; font-weight: 700;
  background: #c9a227; color: #0e0b09; text-decoration: none; border: none;
}
#moduleContent .btn-gold:hover { filter: brightness(.95); }

/* Eingebettete Frames (z. B. Agent) */
#moduleContent .embed-frame {
  width: 100%; height: 800px; border: none; border-radius: 12px; background: #fff;
}

/* ===== Bots im rechten Bereich – hell, Foto klickbar, Name darunter ===== */
#moduleContent .bot-category { margin-bottom: 2rem; }
#moduleContent .bot-category h2 {
  margin: 0 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px dashed rgba(201,162,39,.45);
}

#moduleContent .bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: .6rem;
}

#moduleContent .bot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  background: #fffaf0;
  border: 2px solid #d4af37;
  border-radius: 14px;
  padding: 1.1rem .9rem;
  text-align: center;
  text-decoration: none;
  color: #111;
  box-shadow: 0 4px 12px rgba(212,175,55,.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
#moduleContent .bot-card:hover {
  transform: translateY(-4px);
  background: #fff6e5;
  box-shadow: 0 10px 22px rgba(212,175,55,.28);
}

#moduleContent .bot-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2c96a;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.8) inset,
    0 6px 14px rgba(212,175,55,.25),
    0 0 18px rgba(249,231,185,.35);
}
#moduleContent .bot-card h4 {
  margin: 0;
  font-size: 1.02rem;
  color: #c9a227;
  font-weight: 700;
}

/* Modal-Titel schwarz */
.modal-header h2,
.modal-header .modal-title {
  color: #111 !important;
}
/* Überschriften in den hellen Modulen (rechte Seite, z.B. Die Agenten) */
#moduleContent h1,
#moduleContent h2,
#moduleContent h3 {
  color: #111;   /* Schwarz */
}
#moduleContent .module-balken h1,
#moduleContent .module-balken h2,
#moduleContent .module-balken h3 {
  color: #111;   /* falls module-balken extra Styles hätte */
}

