/* style.css */

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
  color: #111;
}

header {
  background: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
  color: #e60023;
}

.section {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.cta {
  display: inline-block;
  background: #e60023;
  color: white;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 1rem;
}

footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Footer-Links: normal grau, besucht rot (statt lila) */
footer a {
  color: #bdbdbd;
  text-decoration: none;
}

footer a:visited {
  color: #e60023;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

  #chatIcon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 9999;
    object-fit: cover;
  }



#chatWindow {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: min(400px, 92vw);
  height: min(500px, 70vh);
  background: white;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  padding: 14px;
  box-sizing: border-box;
  flex-direction: column;
}

#chatHeader {
  font-weight: bold;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatLog {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  background: #f9f9f9;
  font-size: 14px;
  margin-bottom: 12px;
}

#userInput {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 8px;
}

#chatInputContainer {
  display: flex;
  align-items: center;
}

#chatSend {
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  background-color: #e60023;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 600px){
  #chatWindow{
    left: calc(12px + env(safe-area-inset-left)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
  }
}
