* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;

  /* Hintergrundbild */
  background: url("files/moneyhops_backround_2.jpg") no-repeat center center fixed;
  background-size: cover;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Overlay über Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5); /* Abdunklung */
  z-index: -1;
}

/* Inhalte-Wrapper */
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

/* Headline */
h1 {
  color: gold;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px black;
}

/* Chat-Container */
#chat-container {
  width: 500px;        /* feste Breite Desktop */
  max-width: 90vw;     /* begrenzt auf 90% Bildschirmbreite */
  height: 700px;
  max-height: 90vh;

  margin: 20px auto;   /* zentriert */
  display: flex;
  justify-content: center;
  align-items: center;

  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  position: relative;
}

/* Wichtig: ALLE Wrapper von Botpress anpassen */
#webchat,
#webchat > div,
#webchat .bpWebchat {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  height: 100% !important;
}

/* Bubble unten rechts ausblenden */
#webchat .bpFab {
  display: none;
}

/* CTA */
.cta {
  font-size: 1rem;
  color: #ccc;
  margin: 10px 0;
}
.cta span {
  color: gold;
  font-weight: bold;
}

/* Footer-Links */
.footer-links {
  margin-bottom: 20px;
}
.footer-links a {
  color: gold;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.9rem;
  border: 1px solid gold;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  background: gold;
  color: black;
}

/* Mobile */
@media (max-width: 600px) {
  #chat-container {
    width: 90%;
    height: 80vh;
  }

  h1 {
    font-size: 1.4rem;
  }
}
