/* ==========================================================================
   Allgemeine Stile
   ========================================================================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 20px 20px;
  border-bottom: 2px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 20px;
}

header .logo img {
  height: 20px;
  width: auto;
}

header .logo-text {
  display: flex;
  flex-direction: column;
}

header .logo-text .drk {
  font-size: 24px;
  color: black;
  font-weight: bold;
}

header .logo-text .ortsverein {
  font-size: 18px;
  color: red;
  font-weight: bold;
}

.toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  background-color: #fff;
  border-bottom: 2px solid #ccc;
}

.main-menu__list {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.main-menu__link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.main-menu__link:hover {
  color: #d00;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
main {
  flex: 1;
  width: 85%;
  padding: 20px;
  min-height: calc(100vh - 160px); /* Passt die Höhe des Inhalts an, um Header und Footer Platz zu lassen */
  box-sizing: border-box;
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 40px auto;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* ==========================================================================
   Navigationsleiste
   ========================================================================== */


nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #d00;
}

.main-menu__link.active {
  color: red; /* Setzt die Textfarbe auf rot */
  font-weight: bold; /* Optional: macht den Text fett */
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: #d00;
  color: white;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

footer p {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar-Styling für WebKit */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
  background-color: #c03030;
  border-radius: 5px;
  border: 2px solid #f4f4f4;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a62828;
}

/* Für Firefox */
body {
  scrollbar-width: thin;
  scrollbar-color: #c03030 #f4f4f4;
}
