:root {
  --primary-color: #000;
  --secondary-color: #b30000;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background-image: linear-gradient(to right, #b30000, black);
  color: #333;
  line-height: 1.6;
}

.chatbot-container {
  max-width: 600px;
  margin: 20px auto;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chatbot-header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.chatbot-header .status {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2ecc71;
  margin-right: 8px;
}

.chatbot-body {
  height: auto;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  position: relative;
  animation: fadeIn 0.3s ease;
}

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

.bot-message {
  background-color: var(--light-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background-color: var(--secondary-color);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  align-self: flex-start;
  max-width: 80%;
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #95a5a6;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.quick-action {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-action:hover {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.category {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 10px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.category:hover {
  background-color: var(--light-color);
  border-color: var(--secondary-color);
}

.category.active {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question:hover {
  background-color: var(--light-color);
  border-color: var(--secondary-color);
}

.question-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.question-link:hover {
  text-decoration: underline;
}

.chatbot-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chatbot-footer input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chatbot-footer input:focus {
  border-color: var(--secondary-color);
}

.chatbot-footer button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chatbot-footer button:hover {
  background-color: #2980b9;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.suggestion {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion:hover {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.response-content {
  line-height: 1.6;
}

.response-content a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.response-content a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .chatbot-container {
    margin: 10px;
    border-radius: 0;
  }

  .message {
    max-width: 90%;
  }

  .quick-actions,
  .categories {
    justify-content: center;
  }
}
@media screen and (max-width: 60000px) {
  .cc2 {
    display: none;
    font-size: 9px;
    color: #fff;
  }
}
/* Zurück Button */
.aaa2:link {
  display: inline-block;
  position: fixed;
  height: 56px;
  width: 56px;
  bottom: 20px;
  right: 20px;
  font-size: 26px;
  text-decoration: none;
  color: #fff;
  background-color: #e96e658b;
  text-align: center;
  border-radius: 50%;
  padding-top: 12px;
}

.aaa2:hover {
  background-color: #ec6258;
  color: transparent !important;
}
.icon {
  padding-left: 10px;
  padding-right: 10px;
}
.icon-2 {
  padding-left: 10px;
  padding-right: 10px;
  background-color: transparent;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: transparent;
}
