/* Basis-Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f2f2f2;
    color: #333;
    line-height: 1.6;
  }
  
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  header {
    background-color: #1A936F;
    padding: 10px 0;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
  }
  
  nav ul li {
    margin: 0 20px;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
  }
  
  .hero {
    background-color: #3A506B;
    color: white;
    text-align: center;
    padding: 100px 20px;
  }
  
  .hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  button {
    background-color: #1A936F;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s ease;
  }
  
  button:hover {
    background-color: #178e5b;
  }
  
  section {
    padding: 40px 40px;
    max-width: 1140px;
    margin: 0 auto;
  }
  
  h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #1A936F;
    text-align: center;
  }
  
  p {
    font-size: 18px;
    line-height: 1.6;
  }
  
  textarea, input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
  }
  
  .features ul {
    list-style: none;
    padding: 0;
  }
  
  .features ul li {
    background: #EAEAEA;
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
  }
  
  .chat-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
  }
  
  footer {
    background-color: #1A936F;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }
  
  /* Testimonials */
  .testimonials {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .testimonial {
    margin-bottom: 2rem;
  }
  
  .testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    margin-bottom: 5px;
  }
  
  .testimonial span {
    font-size: 0.9rem;
    color: #888;
  }
  
  /* FAQ */
  .faq-item {
    text-align: left;
    margin-bottom: 20px;
  }
  
  .faq-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1A936F;
    font-weight: 500;
  }
  
  .faq-item p {
    font-size: 1rem;
    color: #333;
  }
  
  /* Erfolgsmeldung */
  #success-message {
    font-size: 1rem;
    font-weight: 500;
    color: #1A936F;
    text-align: center;
    margin-top: 1rem;
    display: none;
  }
  
  /* Responsive */
  @media only screen and (max-width: 768px) {
    .hero h1 {
      font-size: 28px;
    }
  
    .hero p {
      font-size: 18px;
    }
  
    nav ul {
      flex-direction: column;
    }
  
    .about, .features, .contact {
      padding: 20px;
    }
  }

  .cta-modal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 24px;
    width: 300px;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
  }
  
  .cta-content h3 {
    margin-top: 0;
    color: #1A936F;
  }
  
  .cta-content p {
    margin-bottom: 1em;
    font-size: 15px;
    color: #333;
  }
  
  .cta-content .close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
/* Chat-Verlauf begrenzen und scrollbar machen */
.chatbox {
  max-height: 45vh;       /* 45 % der sichtbaren Höhe */
  overflow-y: auto;       /* vertikales Scrollen */
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

/* etwas Abstand zwischen Nachrichten */
.bot-message p,
.user-message p {
  margin-bottom: 0.75rem;
}