body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #333;
  font-size: 1.1em;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  background: white;
  border-bottom: 1px solid #ddd;
}

header img {
  max-height: 100px;
  height: auto;
  width: auto;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  margin-left: 1em;
}

main {
  max-width: 900px;
  margin: 2em auto;
  padding: 0 1em;
  line-height: 1.8;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h1, h2 {
  color: #2c3e50;
}

a {
  color: #0077cc;
}

form {
  margin-top: 2em;
}

form input, form textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}
form select {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  font-family: inherit;
}


iframe {
  width: 100%;
  height: 400px;
  border: none;
  margin-top: 1em;
  z-index: 1;
  position: relative;
}


.chatbox {
  background: #f1f1f1;
  padding: 1em;
  border-radius: 6px;
  margin-top: 2em;
}
.chatbox .msg {
  margin-bottom: 1em;
}
.chatbox .user { color: #0077cc; }
.chatbox .assistant { color: #2c3e50; }
.hinweis {
  font-size: 0.9em;
  color: #555;
  margin: 1em 0;
}
iframe {
  width: 100%;
  height: 600px;
  border: none;
  margin-top: 1em;
}
.meldung {
  color: red;
  font-weight: bold;
}




form button {
  background-color: #0077cc;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #005fa3;
}

/* Neu: allgemeine Buttons */
button {
  background-color: #0077cc;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background-color: #005fa3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}


.user-auth {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 0.85em;
  color: #555;
}

.user-auth a.auth-link {
  margin-left: 0.5rem;
  text-decoration: none;
  color: #0077cc;
  font-weight: normal;
}

.user-auth a.auth-link:hover {
  text-decoration: underline;
}
