/* === Grundlayout === */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.content-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 1em;
}

/* === Header === */
.site-header {
  background-color: #4d7c0f;
  color: white;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}

.header-logo,
.header-image {
  width: 150px;
  height: 80px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
}

.header-logo img,
.header-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.site-header h1 {
  font-size: 2rem;
  margin: 0;
  flex: 1;
  text-align: center;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  background-color: #3c610a;
  padding: 0.5em;
}

nav.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

nav.main-nav a:hover {
  text-decoration: underline;
}

/* === Hero === */
.hero {
  background: white;
  text-align: center;
}

.hero strong {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.5em;
}

/* === News === */
.hof-news {
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.hof-news h2 {
  color: #4d7c0f;
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}

.hof-news p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0.5em 0;
}

/* === Kultur-Block mit Diagramm === */
.kultur-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-top: 2em;
}

.kultur-liste {
  flex: 1;
  min-width: 250px;
}

.kultur-diagramm {
  flex-shrink: 0;
  max-width: 300px;
}

.kultur-diagramm img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.icon-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
  font-size: 1.1rem;
}

.icon-list li {
  margin-bottom: 0.4em;
}

/* === Galerie === */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: white;
}

.gallery-item {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.close, .prev, .next {
  position: absolute;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}

.close { top: 20px; right: 30px; }
.prev { top: 50%; left: 20px; transform: translateY(-50%); }
.next { top: 50%; right: 20px; transform: translateY(-50%); }

/* === Footer === */
.site-footer {
  position: relative;
  background-color: #ffffff;
  height: 150px;
  overflow: hidden;
  font-size: 0.9rem;
  margin-top: 2em;
}

.wheat-footer-img {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-text {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
}

/* === Responsive === */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .header-logo,
  .header-image {
    width: 100px;
    height: 60px;
  }

  nav.main-nav {
    flex-direction: column;
    gap: 10px;
  }

  .gallery-item {
    width: 120px;
    height: 120px;
  }

  .kultur-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }

  .kultur-diagramm {
    max-width: 80%;
  }
}
