/* Styles for AIV static site without subfolders */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f8fa;
  color: #333;
}

/* Hero section on the start page */
/* Hero section on the start page */
.hero {
  background: linear-gradient(135deg, #e7f0fa, #f7fafc);
  padding: 60px 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.hero-text {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  margin-top: 0;
  font-size: 2.2rem;
  color: #292e34;
  font-weight: 700;
}
.tagline {
  font-size: 1.3rem;
  color: #1976d2;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Intro section on the start page */
.intro {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}
header {
  background-color: #292e34;
  color: #fff;
  padding: 10px 0;
}
.navbar {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}
.nav-list li a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
}
h1, h2, h3 {
  color: #292e34;
}
.btn {
  display: inline-block;
  background-color: #1976d2;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #125ea6;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form-group input[type="checkbox"] {
  margin-right: 5px;
}
.slider-group {
  margin-bottom: 20px;
}
.slider-group label {
  display: block;
  margin-bottom: 5px;
}
.slider-group input[type="range"] {
  width: 70%;
}
.value-display {
  margin-left: 10px;
  font-weight: 600;
}
.belief-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap;
}
.belief-item label {
  flex: 1 1 60%;
}
.belief-slider {
  display: flex;
  align-items: center;
  flex: 1 1 35%;
  gap: 5px;
}
.area-section {
  margin-bottom: 30px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.area-section legend {
  font-weight: 600;
}
.summary-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 15px;
}

/* Stil für die Einführung zur Zusammenfassung */
.summary-intro {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}
.summary-intro ul {
  margin-left: 20px;
  list-style: disc;
}
.area-description {
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Skalenbeschreibung für Schieberegler */
.scale-description {
  font-size: 0.8rem;
  color: #777;
  margin-top: 2px;
  margin-bottom: 8px;
}

/* Aktionen im Admin-Dashboard */
.admin-actions {
  margin-top: 30px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.admin-actions h2 {
  margin-top: 0;
}
.admin-actions p {
  margin-top: 0;
  font-size: 0.9rem;
  color: #555;
}

/* Bereich für nur Afformationen auf der Zusammenfassungsseite */
.aff-only-area {
  margin-bottom: 20px;
}
.aff-only-area h3 {
  margin-bottom: 5px;
  color: #1976d2;
  font-weight: 600;
}
.aff-only-area ul {
  margin-left: 20px;
  list-style: disc;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.admin-table th,
.admin-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
.admin-table th {
  background-color: #f0f0f0;
  font-weight: 600;
}

/* Stil für Skalenbeschreibungen bei Slidern und Glaubenssätzen */
.scale-description {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 3px;
  margin-bottom: 5px;
}

/* Druckansicht: Blende Navigationsleisten und Buttons aus und optimiere für PDF */
@media print {
  header,
  footer,
  .btn {
    display: none !important;
  }
  body {
    background-color: #fff;
    color: #000;
  }
  .container {
    margin: 0;
    max-width: none;
  }
}
.messages {
  margin-bottom: 20px;
}
.messages .alert {
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.messages .error {
  background-color: #f8d7da;
  color: #721c24;
}
.messages .success {
  background-color: #d4edda;
  color: #155724;
}
footer {
  background-color: #292e34;
  color: #fff;
  padding: 10px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  justify-content: center;
}