body { margin:0; font-family:sans-serif; color:#333; } /* kein oberer Rand! */

.hero-small {
  height: 20vh;
  background-color: #99C733; /* = Hintergrundfarbe deines Bildes */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-small img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.text-container {
  max-width: 800px;     /* maximale Breite */
  margin: 0 auto;        /* horizontal zentriert */
  padding: 20px;         /* etwas Innenabstand */
  text-align: center;    /* optional: zentrierter Text */
}

.slideshow-container {
  position: relative;
  width: 100%; /* 100% der Breite des Elternelements */
  max-width: 800px; /* Optional – maximale Breite auf großen Bildschirmen */
  aspect-ratio: 16 / 9; /* Seitenverhältnis (optional, für gleichmäßige Höhe) */
  margin: auto;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* skaliert Bilder proportional, füllt den Container */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Pfeile */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  margin-top: -20px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  z-index: 2;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

body {
  text-align: justify;   /* Blocksatz */
  font-family: sans-serif; /* optional, für bessere Lesbarkeit */
  line-height: 1.6;       /* optional, verbessert die Lesbarkeit */
  margin: 0 20px;         /* etwas Abstand links/rechts */
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 600px) {
  body {
    text-align: left;
  }
}

.site-footer {
  background-color: #99C733;     /* dunkler Hintergrund */
  color: black;               /* Textfarbe */
  width: 100%;                /* volle Breite */
  padding: 20px 0;            /* vertikaler Abstand */
}

.footer-content {
  max-width: 1000px;          /* begrenze Textbreite */
  margin: 0 auto;             /* zentriere horizontal */
  padding: 0 20px;            /* etwas Rand links/rechts für kleine Bildschirme */
  text-align: center;
}
