@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* ========================================== */
/* 🌐 Grundlayout & Typografie                */
/* ========================================== */

/* 🧱 Body-Grundlayout: Schriftart, Rand & Innenabstand */
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.2rem);
}

/* 📏 Einheitliche Zeilenhöhe und Silbentrennung für Fließtext */
body,
p,
li {
  line-height: 1.8;
  hyphens: auto;
 
}

/* 📍 Abstand zwischen Listeneinträgen */
li {
  margin-bottom: 0.5em;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}



/* 🏷️ Überschriften zentrieren */
h1, h2 {  
  text-align: center;
}

/* 🧹 Abstand unter h1 */
h1 {
  margin-bottom: 15px;
}

/* ========================================== */
/* 🖼️ Hintergrundbild                         */
/* ========================================== */

/* 📌 Vollflächiges, fixiertes Hintergrundbild (z. B. Blumenmuster) */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url("/images/hintergrund-komprimiert.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 50px;
}

/* 📱 Angepasste Darstellung für Mobilgeräte */
@media (max-width: 768px) {
  .background-image {
    background-image: url("/images/hintergrund-komprimiert.webp");
    margin-top: 50px;
  }
 
}
:target {
  scroll-margin-top: 140px;
}
h1[id], h2[id], h3[id], h4[id] {
  scroll-margin-top: 140px;
}

/* ========================================== */
/* 📂 Navigation: Hauptmenü                   */
/* ========================================== */

/* 📌 Sticky Navigation oben fixiert, mit Schatten */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #95B65A; /* grüner Hintergrund */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 🧭 Container für Navigationsinhalte */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 1em;
  flex-wrap: wrap;
}

/* 💬 Desktop-Branding (nicht sichtbar standardmäßig) */
.brand-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #2a2a2a;
  display: none;
}

/* 📱 Sichtbar auf Mobilgeräten */
@media (max-width: 768px) {
  .brand-title {
    display: block;
    flex: 1;
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
    color: #2a2a2a;
    padding: 0.5em 0;
  }
}

/* ========================================== */
/* 🔗 Links in der Hauptnavigation            */
/* ========================================== */

.nav-links {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #2a2a2a;
  font-weight: bold;
  transition: color 0.3s;
  padding: 0.75em 1em;
  display: block;
  font-size: 0.95em;
}

.nav-links a:hover {
  color: #666;
}

/* ========================================== */
/* 📋 Dropdown-Menüs (nur Desktop aktiv)      */
/* ========================================== */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  top: 100%;
  left: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;         /* Kein Zeilenumbruch im Menü */
  min-width: 220px;            /* Mindestbreite für Einträge */
  padding: 0.5em 0;
}

/* 🖱️ Dropdown aufklappen bei Hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5em 1.5em;
  color: #2a2a2a;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: normal;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

/* ========================================== */
/* 🍔 Hamburger-Menü (Mobilnavigation)        */
/* ========================================== */

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #2a2a2a;
  border-radius: 3px;
}
/* ========================================== */
/* 🐾 Logo unterhalb des Menüs                */
/* ========================================== */

.logo-container {
  text-align: center;
  padding: 1em;
}

.logo-container img {
  max-width: 100%;        /* Skalierung für kleine Geräte */
  width: 300px;           /* feste Breite für Desktop */
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ========================================== */
/* 📱 Responsive Verhalten Menü und Layout     */
/* ========================================== */

@media (max-width: 1024px) {
  /* 🔄 Navigation horizontal auf kleineren Screens */
  .nav-container {
    flex-direction: row;
  }

  /* 📱 Markenname wird sichtbar */
  .brand-title {
    display: block;
    flex: 1;
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
    color: #2a2a2a;
    padding: 0.5em 0;
  }

  /* 🍔 Hamburger sichtbar */
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  /* 📂 Menü vertikal bei aktivem Toggle */
  .nav-links {
    flex-direction: column;
    display: none;
    width: 100%;
    background-color: #ffffff;
  }

  .menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }

  /* ❌ Dropdowns deaktiviert bei Hover */
  .dropdown:hover .dropdown-menu,
  .dropdown .dropdown-menu {
    display: none;
  }

  /* ✅ Dropdown öffnet sich per Klick */
  .dropdown.open .dropdown-menu {
    display: block;
  }

  /* 🔄 Dropdown-Layout auf Mobil */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #ffffff;
  }

  /* 📦 Abstände bei Infoboxen verringern auf Mobil */
  .info-rahmen { 
    padding: 20px !important;
  }

  .themen-rahmen {
    padding: 15px !important;
    background-color: rgba(254,240,176,0.74);
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  }
}

/* ========================================== */
/* 🏷️ Titelbanner Desktop                     */
/* ========================================== */

.brand-title-desktop {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);  
  margin: 0.5em 0 1em 0;
  background-color: rgba(150, 214, 73, 0.76);
  padding: 20px;
}

.brand-title-desktop p {
  font-size: 1rem;
}

/* ========================================== */
/* 🟩 Rahmen & Inhalte: Info-Boxen             */
/* ========================================== */

.info-rahmen {
  background-color: transparent;
  padding: 20px 50px;
  margin: 10px auto;
  width: 95%;
  box-sizing: border-box;
}

/* 📄 Inhalt in weißer Box mit Schatten */
.info-box-inhalt {
  background-color: hsla(0, 7%, 97%, 0.75);
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 20px auto;
  box-sizing: border-box;
}
@media (max-width: 760px){	
	.info-box-inhalt{
		padding: 30px;
	}
}

/* 🧷 Zentrierte H2-Titel */
.info-box-inhalt h2 h3 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1em;
}

/* 📝 Fließtext linksbündig */
.info-box-inhalt p {
  text-align: left;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
}

/* 📚 Akkordeon-Titel linksbündig */
.accordion h2 {
  text-align: left;
}

/* 📄 Akkordeon-Textinhalte linksbündig */
.accordion-body p {
  text-align: left;
}


/* ========================================== */
/* 📦 Infoboxen mit zwei Spalten              */
/* ========================================== */

.themen-rahmen {
  background-color: rgba(254,240,176,0.74);
  padding: 20px;
  margin: 20px auto;
  width: 95%;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* 🧱 Einzelbox innerhalb Rahmen */
.themen-box {
  background-color: transparent;
  padding: 20px 40px;
  margin: 20px auto;
  box-sizing: border-box;
  max-width: 1000px;
   border-radius: 12px;
}
@media (max-width: 768px) {

  .themen-rahmen {
    width: 95%;
    max-width: 100%;
  }
  .themen-rahmen {background-color: rgba(254,240,176,0.74)!important;}
  .themen-box {background-color: transparent !important;
    padding:0 5px;}
}

/* 🏷️ Überschrift in Box */
.themen-box h3 {
  text-align: left;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1em;
}

/* 📃 Fließtext in Box */
.themen-box p {
  text-align: left;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
}

/* 🔃 Layout: Bild und Text untereinander (mobile) oder nebeneinander (ab Tablet) */
.themen-box-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* 📱 Ab Tablet: horizontaler Aufbau */
@media (min-width: 768px) {
  .themen-box-flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .themen-box-flex img {   
    max-width: 300px;
    flex-shrink: 0;
  }
}

/* 🖼️ Bilddarstellung in Box */
.themen-box-flex img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* 📄 Textinhalt rechts vom Bild */
.themen-box-flex .text {
  flex: 1;
}

/* ========================================== */
/* 🧱 Grid mit zwei Themenboxen nebeneinander  */
/* ========================================== */

@media (min-width: 768px) {
  .themen-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 90%;
    margin: 0 auto;
  }

  .themen-grid .themen-rahmen {
    width: 46%;
    background-color: rgba(254,240,176,0.74);
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  }
}
/* ========================================== */
/* 🎨 Hintergrund-Helferklassen                */
/* ========================================== */

/* Weißer Hintergrund halb durchsichtig (z. B. für Infoboxen) */
.hintergrund-weiss-durchsichtig {
  background-color: rgba(255, 255, 255, 0.82) !important;
}

/* Vollständig transparenter Hintergrund */
.hintergrund-transparent {
  background-color: transparent !important;
}

/* Fett-Markierung über Klassennamen */
.fett {
  font-weight: bold;
}

/* ========================================== */
/* 🖼️ Dreier-Bildreihe mit Boxen              */
/* ========================================== */

.dreier-bildreihe {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2em 0;
  flex-wrap: wrap; /* Umbruch bei kleiner Bildschirmbreite */
}

/* 🖼️ Einzelbild innerhalb der Bildreihe */
.dreier-bildreihe img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 🏷️ Großes, zentriertes Bild z. B. für Plakette */
.centered-image {
  display: block;
  margin: 1em auto;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 📱 Mobile-Optimierung: Bilder untereinander */
@media (max-width: 1024px) {
  .dreier-bildreihe {
    flex-direction: column;
    align-items: center;
  }

  .dreier-bildreihe img {
    max-width: 90%;
  }
}

/* ========================================== */
/* 🧱 Dreier-Grid mit flexiblen Boxen         */
/* ========================================== */

.dreier-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 2em auto;
  max-width: 95%;
  padding: 0 1em;
  align-items: stretch; /* Sorgt für gleiche Höhe der Boxen */
}

/* 🧱 Rahmen für jede Box – mit Flex für gleiches Höhenverhalten */
.dreier-rahmen {
  flex: 1 1 300px;
  max-width: 100%;
  display: flex;
  border-radius: 12px;
}

/* 📦 Box-Styling für Inhalt (z. B. Text, Button) */
.dreier-box {
  background-color: rgba(254, 240, 176, 0.74);
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 1.6;
  width: 100%;
  display: flex;
  flex-direction: column;
  
}

/* 🔠 Überschrift in Dreierbox */
.dreier-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

/* 📄 Text in Dreierbox */
.dreier-box p {
  text-align: left;
}

/* 🎀 Titelband über Gridbereich */
.dreier-titelband {
  background-color: rgba(150, 214, 73, 0.76);
  padding: 2em 1em;
  text-align: left;
  margin: 2em auto 1em auto;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 🔠 Einheitliche Schriftgröße für Titelband-Überschriften */
.dreier-titelband h2, .dreier-titelband h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}



/* ========================================== */
/* 🧭 Zweispaltige Infoboxen (flexibel)       */
/* ========================================== */

.infobox-zweispaltig {
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(254, 240, 176, 0.74);
  color: #000;
  border-radius: 12px;
  padding: 2em;
  margin: 2em auto;
  gap: 20px;
  width: 75%;
}

.spalte-links,
.spalte-rechts {
  flex: 1 1 300px;
  min-width: 280px;
}

/* 🏷️ Titel in Infobox */
.infobox-zweispaltig h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  color: #000;
}

/* 📄 Textinhalt in Infobox */
.infobox-zweispaltig p {
  margin-bottom: 1em;
  line-height: 1.6;
  text-align: left;
}
.bild-neutral {
 display: block;
  margin: 1em auto;
  max-width: 300px;
  width: 95%;
}

.bild-neutral img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
  border-radius:12px;
}
@media (max-width: 768px) {
	.themen-rahmen {
		width: 95% !important;
	}
}
.accordion-button-gruen {
  background-color: #95B65A !important;
  color: #fff !important;
}

.accordion-button-gruen:not(.collapsed) {
  background-color: #7ca350 !important; /* etwas dunkler im offenen Zustand */
}

.accordion-button-gruen:focus {
  box-shadow: none; /* optional: Fokus-Ring entfernen */
}

@media (max-width: 767px) {
	
	.abstand-akordion-einzeln {
		margin: 1.5rem 0 !important ;
	}
}

/* 💪 Klasse für zentrierten Text */
.zentriert{
	text-align:center !important;
}

/* 💪 Klasse für fetten Text */
.fett {
  font-weight: bold;
}

/* ✅ Variante mit reduziertem Außenabstand (wirkt auf allen Geräten!) */
.info-rahmen.schmales-ende {
  margin-bottom: 0px;

  
}
.hintergrund-duchsi {
		background-color:transparent;
	}
	
.dreier-titelband h2 {
  margin-bottom: 0.5em; /* Abstand unter h2, z. B. 0.5em oder 1rem */
}

.dreier-titelband h5 {
  margin-top: 0.5em; /* zusätzlicher Abstand oberhalb von h5 */
}

.such-container {
  position: relative;
  max-width: 300px;
  margin: 5px 1px;
}

#suchfeld {
  font-size: 1rem;  
  width: 100%; 
  padding: 5px; 
  border-radius: 6px; 
  border: 1px solid #ccc;
}
#suchvorschlaege{
  position: absolute;
  width: 320px;
  background: white;
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
 border-left:border: 1px solid #ccc;
 border-right:border: 1px solid #ccc;
 border-bottom:border: 1px solid #ccc;
  max-height: 250px;
  border-radius:6px;
  overflow-y: auto;
}
/* Einzelne Vorschläge */
#suchvorschlaege li {
  padding: 0.15em 1em;
  border-bottom: 1px solid #87976F;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Letzter Vorschlag ohne Linie */
#suchvorschlaege li:last-child {
  border-bottom: none;
}

/* Hover-Effekt */
#suchvorschlaege li:hover {
  background-color: #FAD982;
}



.infobox-zweispaltig h3,
.themen-box h3,
.info-box-inhalt h3 {
  font-weight: 600; /* Standard ist meist 600 – hier bewusst etwas fetter */
}
/* Button-Layout */
.icon-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Logo-Icons */
.icon {
  width: 24px;
  height: 24px;
}

/* Neuer Themen-Footer oberhalb vom bisherigen Footer */
.hintergundbild-footer{
	
  background-image: url('/images/hintergrund-footer.jpg');
    background-size: cover;

  background-repeat: no-repeat;
}
.info-footer {
  background-color:rgba(150, 214, 73, 0.80); 

  padding: 40px 20px 10px;
  border-top: 4px solid #2A6B3F;
  position: relative;
  z-index: 1;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-column h4 {
  font-size: 1.3em;
  margin-bottom: 0.75em;
  font-weight:bold;
  color: #2a2a2a;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5em;
  
}

.footer-column a {
  text-decoration: none;
  color: black;
  transition: color 0.3s;
  font-size:1em;
}

.footer-column a:hover {
  color: #666;
}


/* Responsive Anpassung */
@media (max-width: 768px) {
  .footer-column a {

  font-size:1.2em;
}
.footer-column h4{
 
  font-size:1.3em;
}

  .footer-column {
    margin-bottom: 20px;
  }
  .hintergundbild-footer{
	
 
  background-position: center;
 
}
.info-footer{ background-color:#ffffffd0 !important;}
}

/* ========================================== */
/* 👣 Footer-Stil (unten auf der Seite)       */
/* ========================================== */

.main-footer {
  background-color: #ffffffd0;
  color: #2a2a2a;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  padding-bottom: 0.8em;
  padding-right:0.8em;
  padding-left:0.8em;
  padding-top:0.1;
  border-top: 4px solid #2A6B3F;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 🔗 Footer-Navigationslinks */
.footer-links {
  margin: 1em 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.footer-links a {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #666;
}

/* 📝 Copyright-Text im Footer */
.footer-copy {
  margin-top: 1em;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
}

/* 🔆 Hintergrundfarbe für gelbe Bereiche */
.hintergund-gelb {
  background-color: rgba(254, 240, 176, 0.74);
}
/* Schatten für bestimmte Seiten entfernen */
.no-shadow {
  box-shadow: none !important;
}
.hintergund-weiss {
  background-color: hsla(0, 7%, 97%, 0.75);
}

.hochformat-klein {
  max-height: 280px;
  max-width: 100%;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  object-fit: contain;
}
.carousel-hochformat {
  max-height: 280px;
  
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.schrift-h3{
  font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
  font-weight: bold;
  line-height: 1.2;
  color: var(--bs-heading-color);
}
.social-follow-box {

  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  background-color: #ccc; /* wird berschrieben durch Farbe */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  margin: 0.5em auto;
}

.social-btn:hover {
  transform: scale(1.05);
}

/* Nur Farbe */
.social-btn.instagram {
  background-color: #E1306C;
}
.social-btn.instagram:hover {
  background-color: #c1245a;
}

.social-btn.facebook {
  background-color: #1877F2;
}
.social-btn.facebook:hover {
  background-color: #0f5ec7;
}

/* Icon-Gre & Farbe */
.social-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.accordion-button{
  font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem)!important;
}
.accordion-body {

  font-size: clamp(1rem, 2vw + 0.5rem, 1.2rem);
  padding-bottom: 1em;
}
p{
  font-size: clamp(1.1rem, 2.2vw, 1.2rem);
}
.btn-mehr-erfahren {
  display: inline-block;
  margin: 1em auto 0 auto;
  padding: 0.4em 1.2em;
  background-color: #2a6b3f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95rem;
  text-align: center;
  transition: background-color 0.3s;
}

/* Button bei Hover etwas dunkler */
.btn-mehr-erfahren:hover {
  background-color: #1f4d2e;
}
.accordion-item {
  
  border-radius: 8px;
  overflow: hidden;
}
.site-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;                /* dunkles Grau fr Lesbarkeit */
  background-color: transparent; /* kein blauer Hintergrund */
  padding: 5px 10px;
}
/*Desktop (ab 992px Breite) -> Titel unsichtbar */
@media (min-width: 992px) {
  .site-title {
    display: none;
  }
}

/*Auf kleineren Bildschirmen bleibt er sichtbar */
@media (max-width: 991px) {
  .site-title {
    display: block;
  }
}
