
/* =========================================================
   Fixe Positionierung
   ========================================================= */
.chat-window-wrapper {
  right: 24px !important;
  bottom: 24px !important;
  z-index: 2147483647 !important;
}

/* Fenster wie YUNEA-Card */
.chat-window {
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* =========================================================
   Intro / Marketing ausblenden
   ========================================================= */
.chat-header {
  background: #2E5F77 !important;
  background-image: url("https://www.yunea.ai/assets/img/yunea5.png") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;

  padding-left: 48px !important;   /* Platz für Logo */
  height: 84px !important;
  line-height: 40px !important;
}

  /* =========================
     TITEL (Yunea)
     ========================= */
.chat-header .chat-heading h1 {
    color: #fff !important;              /* Titel-Farbe */
    font-size: 34px !important;             /* Schriftgröße */
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    font-family: "Inter", "Segoe UI", sans-serif !important;
    margin: 0px !important;
	
  }
.chat-heading {
  margin-left: 92px;
}
  /* =========================
     SUBTITEL
     ========================= */
.chat-header > p {
    color: #66A0B6 !important;              /* Subtitel-Farbe */
    font-size: 14px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    margin-top: 0px !important;
	text-align: center !important;
  }

.chat-get-started,
.chat-powered-by,
.chat-get-started-footer {
  display: none;
}

/* =========================================================
   Nachrichten – Sprechblasenform
   ========================================================= */
.chat-message.chat-message-from-bot {
  border-bottom-left-radius: 12px !important;
}

.chat-message.chat-message-from-user {
  border-bottom-right-radius: 12px !important;
}

/* =========================================================
   Eingabebereich – wie Kontaktformular
   ========================================================= */
.chat-layout .chat-footer {
  background: #f9f9f9 !important;
  border-top: 1px solid #dde3e8 !important;
}

.chat-inputs textarea {
  border-radius: 14px !important;
  border: 1px solid #cfd6db !important;
  background: #ffffff !important;
  font-family: var(--font) !important;
}

.chat-inputs textarea:focus {
  border-color: var(--core-blue) !important;
  box-shadow: 0 0 6px rgba(46,95,119,.25) !important;
}

/* =========================================================
   n8n Chat – Launcher Button (YUNEA Style)
   ========================================================= */

/* Button selbst */
.chat-window-wrapper .chat-window-toggle {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;

  background: linear-gradient(
    135deg,
    #2E5F77,
    #66A0B6
  ) !important;

  box-shadow:
    0 10px 24px rgba(0,0,0,.22),
    inset 0 0 0 2px rgba(255,255,255,.18) !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease !important;
}

/* Hover */
.chat-window-wrapper .chat-window-toggle:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}

/* Icon */
.chat-window-wrapper .chat-window-toggle svg {
  fill: #ffffff !important;
  width: 26px !important;
  height: 26px !important;
}
/* =========================================================
   YUNEA Datenschutz-Overlay
   ========================================================= */

.consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 35, 45, 0.65);
  backdrop-filter: blur(6px);
  display: none;                /* bleibt hidden bis Klick */
  justify-content: center;
  align-items: center;
  z-index: 2147483648;
  animation: fadeIn .25s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.consent-box {
  background: linear-gradient(145deg, #ffffff, #f4f8fa);
  padding: 40px 36px;
  max-width: 520px;
  width: 92%;
  border-radius: 20px;
  text-align: center;
  font-family: "Inter", "Segoe UI", sans-serif;
  box-shadow:
    0 30px 80px rgba(0,0,0,.25),
    0 8px 20px rgba(46,95,119,.15);
  animation: slideUp .3s ease forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Titel */
.consent-box h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 700;
  color: #2E5F77;
  letter-spacing: 0.03em;
}

/* Text */
.consent-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #334e5c;
  margin-bottom: 24px;
}

/* Link */
.consent-box a {
  color: #66A0B6;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s ease;
}

.consent-box a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Button */
.consent-box button {
  background: linear-gradient(135deg, #2E5F77, #66A0B6);
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 6px 16px rgba(46,95,119,.35);
}

.consent-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46,95,119,.45);
}

.consent-box button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(46,95,119,.35);
}
