.chat-cta {
  position: fixed;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 9999;
}

.chat-cta img {
  height: 100px;
  transition: transform 0.3s ease;
}

.chat-cta img:hover {
  transform: scale(1.2);
}
.display-none{
  display: none;
}
.display-flex{
  display: flex;
}
.divyWindow{
  position: fixed;
  bottom: 20px;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
  z-index: 9999;
  cursor: pointer;
}
.chat-container {
  display: flex;
  flex-direction: column;
  width: 25rem;
  height: 500px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
/* Header */
.chat-header {
  background-color: #B89663;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.chat-logo {
  height: 50px;
  margin-right: 10px;
}

.chat-title {
  font-weight: bold;
  color: white;
  font-size: 1.75rem;
}

.chat-close-btn {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  margin-left: auto;
  cursor: pointer;
  color: black;
}

/* Body */
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  max-height: 400px !important; /* oder eine andere fixe Höhe */
}


/* Beispiel-Message */
.bot-message {
  background-color: #2d2d2d;
  color: white;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
  margin-bottom: 10px;
  cursor: pointer;
}
.chat-message-box {
  display: flex;
  padding: 0.75rem;
  background-color: #B89663;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.chat-input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem; 
}


.chat-send-button {
  background-color: white;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin-left: 0.5rem;
  cursor: pointer;
  font-weight: bold;
}
.user-message {
  background-color: #c4a060;
  color: white;
  padding: 10px 15px;
  border-radius: 15px;
  margin-bottom: 10px;
  align-self: flex-end;
  max-width: 80%;
  margin-left: auto;
}
.chat-link {
  color: #B89663 !important;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.chat-link:hover {
  color: #8a6c3c;
  text-decoration: none;
}

.dot-loader {
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.dot-loader span {
  width: 8px;
  height: 8px;
  background-color: #D30145;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dot-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.dot-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-8px); opacity: 0.5; }
}

/* Slide-Fade Animation für Container */
.animate-in {
  animation: slideFadeIn 0.4s ease-out;
}

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

.divy-hint {
  position: fixed;
  bottom: 130px;
  right: 20px;
  background: #fff8e1;
  color: #333;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  font-size: 1rem;
  z-index: 9999;
  max-width: 280px;
  animation: fadeIn 0.4s ease;
}

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

/* Responsive Anpassung für Chatbreite */
@media screen and (max-width: 768px) {
  .chat-container {
    width: 85vw;
  }
}

@media screen and (max-width: 480px) {
  .chat-container {
    width: 91vw;

  }

  .chat-message-box {
    padding: 2rem; /* statt 0.75rem – mehr Platz fürs Tippen */
  }

  .chat-input {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
  }

  .chat-send-button {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
}




