/* ===================== Allgemeines Layout ===================== */
html {
  scroll-behavior: smooth;
}

section {
  margin: 40px auto;
  padding: 30px;
  max-width: 1000px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 60, 136, 0.05);
}

section h1,
section h2,
section h3 {
  color: #003c88;
  margin-bottom: 20px;
}

/* ===================== Einleitung ===================== */
.einleitung {
  background-color: #f9fbfe;
  text-align: left;
}

.einleitung h1 {
  font-size: 2rem;
  text-align: center;
}

.einleitung p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.einleitung ul {
  margin-left: 1.5rem;
  margin-bottom: 25px;
  list-style-type: disc;
  padding-left: 1rem;
  color: #333;
}

.einleitung ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.einleitung .btn {
  display: inline-block;
  background-color: #003c88;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.einleitung .btn:hover {
  background-color: #002d6c;
}

/* ===================== Inhaltsverzeichnis ===================== */
.inhaltsverzeichnis {
  background-color: #f4f8fc;
  text-align: center;
}

.inhaltsverzeichnis h2 {
  margin-bottom: 20px;
}

.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.toc-list li a {
  display: inline-block;
  background-color: #e3eefe;
  color: #003c88;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.toc-list li a:hover {
  background-color: #cdddf0;
}

/* ===================== Sektionen ===================== */
.vereins-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ===================== Veranstaltungshighlight ===================== */
.event-highlight-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #eef4fb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  gap: 20px;
}

.event-highlight-box .event-text {
  flex: 1;
  min-width: 250px;
}

.event-highlight-box .event-text h4 {
  margin-top: 0;
  color: #003c88;
}

.event-highlight-box .event-text p {
  margin-bottom: 12px;
}

.event-highlight-box .event-image {
  flex: 0 0 240px;
  max-width: 240px;
}

.event-highlight-box .event-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.event-highlight-box .event-image img:hover {
  transform: scale(1.02);
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .event-highlight-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-highlight-box .event-image {
    max-width: 100%;
  }

  .toc-list {
    flex-direction: column;
  }
}
