* {
  box-sizing: border-box;
}


/* ------------------------------------------------------- Basis-Layout */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: DarkGreen;
  color: white;
  padding: 25px 0;
  text-align: center;
}

/* Navigation */
nav {
  border-top: solid 1px;
  border-color: white;
  background-color: DarkGreen;
  position: sticky;
  top: 0px;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  padding: 15px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 8px 0;
}

.menu li {
  position: relative;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  background-color: DarkGreen;
  border-radius: 0px;
}

.menu a:hover {
  background-color: Green;
}

/* Submenu */
.submenu, .sidemenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: DarkGreen;
  list-style: none;
  min-width: 180px;
  border-radius: 0 0 5px 5px;
  padding-left: 0px;
  margin: 0;
}

.sidemenu {
  top: -4px;
  left: 150px;
  z-index: 2;
}

.dropdown:hover .submenu {
  display: block;
}

.dropside:hover .sidemenu {
  display: block;
}

.submenu li a {
  padding: 10px 15px;
}

/* Breadcrumbs */

.breadcrumbs {
  font-size: 0.9rem;
  margin: 10px 0 5px 0;
  color: DarkGreen;
/*  text-transform: uppercase;  /* Kapitälchen */
  text-align: center;        /* zentriert */
}

.breadcrumbs a {
  text-decoration: none;
  color: DarkGreen;          /* gleiche Farbe */
}

.breadcrumbs a:hover {
  text-decoration: underline;
}


/*  ----------------------- Main */
main {
  flex: 1;
  padding: 20px 0 10px 0;
  line-height: 1.5;
  background-color: white;
  color: rgb(18, 71, 18);
}

/*  ----------------------- Footer */
footer {
  background-color: DarkGreen;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 24px;
  }
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: DarkGreen;
    gap: 5px;
  }

  .menu.open {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .menu li a {
    background-color: DarkGreen;
    border-radius: 0;
    padding: 7px;
  }

  .submenu, .sidemenu {
    position: static;
    background-color: DarkGreen;
    padding-left: 8px;
  }
}

h1 {
  font-size: 25pt; /* Schriftgröße auf 48 Punkt setzen */
  color: DarkGreen; /* Schriftfarbe auf rot setzen */
  text-align: center; /* Text in der Mitte ausrichten */
}

h2 {
  font-size: 16pt; /* Schriftgröße auf 25 Punkt setzen */
  color: DarkGreen; /* Schriftfarbe auf grün setzen */
  text-align: left; /* Text links ausrichten */
  scroll-margin-top: 75px; /* damit Sprungziele nicht hinter dem Sticky Menu verschwinden */
  margin-top: 15px;      /* Abstand nach oben */
  margin-bottom: 0px;    /* Abstand nach unten reduziert */
}

h3 {
  font-size: 14pt; /* Schriftgröße auf 25 Punkt setzen */
  color: DarkGreen; /* Schriftfarbe auf grün setzen */
  text-align: left; /* Text links ausrichten */
  scroll-margin-top: 75px; /* damit Sprungziele nicht hinter dem Sticky Menu verschwinden */
  margin-top: 15px;      /* Abstand nach oben */
  margin-bottom: 0px;    /* Abstand nach unten reduziert */
}

h4 {
  font-size: 12pt; /* Schriftgröße auf 25 Punkt setzen */
  font-weight: bold; /* Fett */
  color: DarkGreen; /* Schriftfarbe auf grün setzen */
  text-align: left; /* Text links ausrichten */
  scroll-margin-top: 75px; /* damit Sprungziele nicht hinter dem Sticky Menu verschwinden */
  margin-top: 15px;      /* Abstand nach oben */
  margin-bottom: 0px;    /* Abstand nach unten reduziert */
}

.date {
  font-size: 13px;     /* kleinere Schriftgröße */
  /* color: #555;          dezente Farbe */
  font-weight: bold; /* Fett*/
  line-height: 1.4;     /* angenehmer Zeilenabstand */
  margin: 5px 0;       /* etwas Abstand oben und unten */
  margin-bottom: -10px;    /* Abstand nach unten reduziert */

}



hr {
  border: none;               /* Standardrahmen entfernen */
  height: 1px;                /* sehr dünner Strich */
  background-color: #ccc;     /* dezente Farbe */
  margin: 30px 0;             /* Abstand oben und unten */
  opacity: 0.5;               /* optional: etwas Transparenz */
}

/* Linkliste ohne Unterstreichungen */

.article-list {
  list-style: none;              /* Standardpunkte entfernen */
  padding: 0;
  margin: 0 0 20px 0;            /* Abstand zu den nächsten Bereichen */
}

/* --- Abstand zwischen den Listenelementen --- */
.article-list li {
  margin-bottom: 8px;           /* mehr Luft zwischen Links */
  line-height: 1.3;              /* bessere Lesbarkeit */
}

/* --- Links selbst --- */
.article-list li a {
  display: inline-block;
  color: darkgreen;                   /* neutrale Farbe */
  text-decoration: none;         /* Unterstreichung weg */
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ------------------------------------------- Gimmicks Startseite ---------------------------------------------------*/



/*----------------- Start Feature-Gallery */

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  padding: 16px;
}

.feature-item {
  width: 100px;                  /* kleine Symbole */
  height: 100px;
  position: relative;           /* für z-index beim Hover */
  overflow: visible;            /* wichtig, dass das Symbol rauswachsen kann */
}

.feature-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
}


.feature-item:hover img {
  transform: scale(1.5);          /* Symbol wächst doppelt */
  position: relative;
  z-index: 10;                  /* überlappt andere Symbole */
}

.features-w {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  padding: 16px;
}

/*----------------- Ende Feature-Gallery */

/* ----------- Start Highlights Symbol-Galerie */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0; /* Kein äußerer Abstand, wir nutzen padding intern */
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px;
}

/* Styling für Bilder ohne Links */
.highlights img {
  box-sizing: border-box;
  padding: 30px;
  width: 20%; /* 5 in eine Reihe */
  height: auto;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.highlights img:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

/* Styling für Links in Highlights */
.highlights a {
  display: inline-block;
  text-decoration: none;
  width: 20%; /* Gleiche Breite wie .highlights img */
  box-sizing: border-box;
  padding: 30px;
}

/* Styling für Bilder innerhalb von Links */
.highlights a img {
  width: 100%; /* Das Bild füllt den Link vollständig aus */
  height: auto;
  padding: 0; /* Kein Padding für das Bild, da der Link bereits Padding hat */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.highlights a:hover img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
  .highlights img, 
  .highlights a {
    width: 25%; /* 4 pro Reihe */
  }
}

@media (max-width: 600px) {
  .highlights img, 
  .highlights a {
    width: 50%; /* 2 pro Reihe */
  }
}

@media (max-width: 400px) {
  .highlights img, 
  .highlights a {
    width: 100%; /* 1 pro Reihe */
  }
}

/* ------------------------------------------ Content-Seiten --------------------------------------------------/*

/* -------------Bilder mit Untertitel */

.content-img {
  max-width: 100%;             /* Bild passt sich an die Containerbreite an */
  display: block;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  height: auto;                /* Bildhöhe im Verhältnis zur Breite */
}

.content-img-title {
  max-width: 100%;             /* Bild passt sich an die Containerbreite an */
  text-align: center;
  font-style: italic;
  margin: auto;
  height: auto;                /* Bildhöhe im Verhältnis zur Breite */
}



/* ---------------Links im Inhaltsbereich (nicht im Menü) */

main a,
footer a,
.highlights a {
  color: #006400;              /* Dunkelgrün */
  text-decoration: underline;
  transition: color 0.3s ease;
}

main a:hover,
footer a:hover,
.highlights a:hover {
  color: #059e00;              /* Helleres Grün beim Hover */
  text-decoration: none;
}

main a:visited,
footer a:visited,
.highlights a:visited {
/*color: #4B8F4B;              /* Dezenter Olivton für besuchte Links */
}

main p {
  margin-top: 10px;          /* Kein zusätzlicher Abstand oberhalb */
  margin-bottom: 4px;    /* Weniger Abstand unterhalb */
}




/* ------------- Video-Seite Layout */

/*Bild und Text in Spalten */

.video-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

/* Container für Bild + Text */

.video-item {
  display: flex;
  gap: 20px;               /* Abstand zwischen Bild und Text */
  flex-wrap: wrap;          /* erlaubt Umbruch bei kleinen Bildschirmen */
  align-items: flex-start;
}

/* Bild-Link */
.video-item > a {
  flex: 1 1 45%;           /* Basisbreite ca. 45%, kann schrumpfen/grow */
  max-width: 450px;        /* maximale Breite für große Bildschirme */
  min-width: 200px;        /* minimale Breite für kleine Bildschirme */
  display: block;
}

/* Bild selbst */
.video-item > a img {
  display: block;
  width: 100%;             /* Bild füllt Link-Container */
  height: auto;            /* proportional bleiben */
}

/* Text */
.video-text {
  flex: 1 1 50%;           /* nimmt den restlichen Platz */
  min-width: 0;             /* verhindert Überlaufen bei langen Texten */
}

/* Responsiv: untereinander bei schmalen Bildschirmen */
@media (max-width: 768px) {
  .video-item {
    flex-direction: column;
  }

  .video-item > a,
  .video-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



/* ------------- Button */

.btn-readmore-arrow {
  display: inline-block;
  padding: 2px 4px;
  background-color: Green; 
  color: white;                
  font-size: 14px;
  font-weight: 520;
  border: 1px solid darkgreen;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Normales Hover */
.btn-readmore-arrow:hover,
.btn-readmore-arrow:focus {
  background-color: white;
  color: darkgreen;
  border: 1px solid darkgreen;
  transform: translateY(-2px);
}

/* Hover über besuchten Link explizit */
.btn-readmore-arrow:visited:hover,
.btn-readmore-arrow:visited:focus {
  background-color: white;
  color: darkgreen;
  border: 1px solid darkgreen;
  transform: translateY(-2px);
}

/* Besucht-Zustand, ohne Hover */
.btn-readmore-arrow:visited {
  color: white;  
}

/* Nach oben Button*/
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}