 /* ================== Angepasste Classen der BootstrapBibliothekKomponenten ======== */

  
  /* Eigene Alert Box Einstellungen */

:root {
  --success-bg-subtle: #94a189;
  --success-text-emphasis: #fff;
  --success-border-subtle: #55a505;
  /* Border */
  --border-width: 1px;
  --alert-border-radius: 0px;
}
.alert {
  --border-width: 0px;
  --alert-border-radius: 0px;
}


/* ====================== */



/* ================== TYPOGRAFIE – Roboto ================== */
/* Basis */
:root {
  --h1-size: 3rem;
  --h2-size: 2.4rem;
  --h3-size: 1.9rem;
  --h4-size: 1.5rem;
  --h5-size: 1.2rem;
  --h6-size: 1rem;

  --lh-tight: 1.2;
  --lh-normal: 1.35;
}

/* Headings */
h1 {
  font-family: "Roboto", sans-serif;
  font-size: var(--h1-size);
  font-weight: 300; /* Bold */
  line-height: var(--lh-tight);
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: var(--h2-size);
  font-weight: 300; /* SemiBold */
  line-height: var(--lh-tight);
}

h3 {
  font-family: "Roboto", sans-serif;
  font-size: var(--h3-size);
  font-weight: 300; /* Medium */
  line-height: var(--lh-normal);
}

h4 {
  font-family: "Roboto", sans-serif;
  font-size: var(--h4-size);
  font-weight: 300;
  line-height: var(--lh-normal);
}

h5 {
  font-family: "Roboto", sans-serif;
  font-size: var(--h5-size);
  font-weight: 400; /* Regular */
  line-height: var(--lh-normal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h6 {
  font-family: "Roboto", sans-serif;
  font-size: var(--h6-size);
  font-weight: 400;
  line-height: var(--lh-normal);
  letter-spacing: 0.02em;
  opacity: 0.8;
}



.header {
    background: #fff;
	}

.container-topbar {
  background: #54a505;
  font-color: #fff;
	}

/* TopBar oberer Rand */
.container-header nav {
  margin-top:0em;
  padding:0;
}

/* Topbar-Hintergrund über die ganze Seite */
.container-topbar {
    background: #c6c7c8;  /* Grau */
    width: 100%;          /* gesamte Breite */
    display: flex;
  justify-content: center; /* Inhalt horizontal zentrieren */
    
}

/* kleine Topbar */
.topbar-contacts {
  padding: 6px 20px;   /* leichtes Innenpadding oben/unten + seitlich */
}

.contact-wrapper {
  gap: 24px;           /* Abstand zwischen den Links */
}

.contact-link {
  padding: 4px 8px;    /* leichter Klickbereich */
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-wrapper {
    gap: 14px;
  }
}






/* Hauptmenü */
.container-header .mod-menu {
  color:#444;
  flex:1 0 100%;
  margin:0;
  padding:0;
  list-style:none
}

/* Kleines Menü top*/
.container-header .mod-menu1 {
  color:#fff;
  font-size: 0.1rem;
  flex:1 0 100%;
  margin:10;
  padding:10;
  list-style:none
}




/* ===== DETAILS FÜR DIE ANZEIGE DES HEADERS/MENÜS  =====*/ 


/* LOGO Abstand oben unten */
.container-header .container-nav {
  flex-wrap:wrap;
  justify-content:space-between;
  padding-bottom:1em;
  padding-top: 1.5em;
}

/* Toggle Button (Hamburger) */
.container-header .navbar-toggler {
  color: #54a505;              /* Farbe der Balken */
  cursor: pointer;

  /* Rahmen */
  border: 1px solid #54a505;   /* Rahmenfarbe & Stärke */
  border-radius: 0px;         /* Abrundung */

  /* Größe / Klickfläche */
  padding: 15px 19px;          /* Abstand um die Balken */
  
  /* Optional: Hintergrund */
  background: transparent;
  margin-right: 10px;
}

/* Hamburger-Icon selbst (die 3 Balken) */
.container-header .navbar-toggler-icon {
  width: 52px;                 /* Breite der Balken */
  height: 42px;                /* Gesamthöhe */
  background-size: 52px 42px;  /* wichtig für saubere Skalierung */
}

/* Hover / Fokus (optional, empfohlen) */
.container-header .navbar-toggler:hover,
.container-header .navbar-toggler:focus {
  background-color: rgba(84,165,5,0.1);
  outline: none;
}


/* ==================================================
   MOBILE NAV → RECHTS, TRANSPARENT, CLEAN
   ================================================== */

@media (max-width: 991.98px) {

  /* Drawer (rechts statt links) */
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;

    width: 85%;
    max-width: 320px;
    height: 100vh;

    background: rgba(220, 220, 220, 0.92);
    backdrop-filter: blur(0px);

    padding: 2.5rem 1.5rem 1.5rem;
    overflow-y: auto;

    transition: right 0.25s ease;
    z-index: 1050;
  }

  /* geöffnet */
  .navbar-collapse.show {

display: flex;
  flex-direction: column;      /* vertikal */
  justify-content: flex-start; /* oben */
  align-items: flex-start;     /* links */
  padding-top: 5rem;
  right: 0;
  }

  /* Menü oben beginnen */
  .navbar-nav {
    margin-top: 0;
  }

  /* Menüpunkte */
  .navbar-nav .nav-link {
    color: #000;
    font-size: 1.05rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .navbar-nav .nav-link:hover {
    color: #9be15d;
  }

  /* Aktiver Menüpunkt */
  .navbar-nav .active > .nav-link {
    font-weight: 600;
  }





  

  /* Overlay */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1000;
  }
}


/* ==================================================
   HAMBURGER → X
   ================================================== */

.navbar-toggler {
  z-index: 1100;
}

/* Hamburger Balken */
.navbar-toggler-icon {
  background-image: none;
  width: 26px;
  height: 18px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #54a505;
  transition: all .3s ease;
}

.navbar-toggler-icon::before {
  top: 0;
}

.navbar-toggler-icon span {
  top: 7px;
}

.navbar-toggler-icon::after {
  bottom: 0;
}

/* X-Zustand */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 7px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 8px;
}



/* ======== SECTIONEN - ROWS – ab Tablet alles einspaltig====== */
@media (max-width: 991.98px) {
  .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ======== SECTIONEN - ROWS – Abstände über padding für Tablet====== */

@media (max-width: 991.98px) {
  .row {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ======== SECTIONEN - ROWS – Abstände über padding für Smartphones====== */

@media (max-width: 575.98px) {
  .row {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* ======== SECTIONEN - ROWS – Abstände über padding gezielt nur Spalten====== */
@media (max-width: 991.98px) {
  .row > [class*="col-"] {
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

















/* ===== GLOBAL FULLWIDTH SECTION OHNE RÄNDER =====*/ 
.no-padding-fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 !important;
  overflow-x: hidden;
}

/* Footer spezifisch */
#section-footer {
  background-color: #54a505;
  color: #fff;
  padding: 20px 0;
}

#section-footer .footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 40px;
}

/* Footer Links */
#section-footer a {
  color: #fff;
  text-decoration: none;
}

#section-footer a:hover {
  text-decoration: none;
}

/* Nav optimieren */
#section-footer .nav-link {
  padding: 0 10px;
  color: #fff;
}

/* Mobile: Logo oben, Navigation mittig */
@media (max-width: 767.98px) {
  #section-footer .footer-container {
    text-align: center;
  }
  #section-footer .footer-left {
    margin-bottom: 15px;
  }
  #section-footer .nav {
    flex-direction: column;
  }
  #section-footer .nav-link {
    padding: 5px 0;
  }
}


/* ===== Effekt Bildergalerie ===== */
.gallery-img {
    transition: transform .3s ease;
    border-radius: 2px;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.1);
    z-index: 2;
}


/* ===== Bildslider ===== */
/* Rahmenbox */
.slider-box {
    border: 4px solid #ffffff;
    padding: 0;
    overflow: hidden;
    border-radius: 4px;
}

/* Slider Grundlayout */
.slider {
    position: relative;
    width: 100%;
    height: 260px; /* kannst du anpassen */
    overflow: hidden;
}

.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    animation: sliderFade 8s infinite;
}

/* Bild 1 */
.slider img:nth-child(1) {
    animation-delay: 0s;
}

/* Bild 2 */
.slider img:nth-child(2) {
    animation-delay: 4s;
}

/* einfache Fade-Animation */
@keyframes sliderFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    45%  { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Optional: Typografie */
.two-cols-sliders h3 {
    font-size: 1.6rem;
    margin-top: 1rem;
}

.two-cols-sliders ul {
    padding-left: 1.2rem;
}




/* Wechselbildslider Startseite */


.home-slider-wrapper {
  margin: 0;
  padding: 0;
}

.home-slider-wrapper .carousel-item img {
  height: 600px;
  object-fit: cover;
}

.home-slider-wrapper .carousel-caption {
  bottom: 20%;
  text-align: left;
  background: rgba(0,0,0,0.35);
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 650px;
}

.home-slider-wrapper .carousel-caption h2 {
  font-size: 42px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.home-slider-wrapper .carousel-caption p {
  font-size: 20px;
  margin: 0;
  color: #ffffff;
}

@media (max-width: 991px) {
  .home-slider-wrapper .carousel-item img {
    height: 420px;
  }

  .home-slider-wrapper .carousel-caption {
    bottom: 10%;
    max-width: 90%;
    padding: 18px 20px;
  }

  .home-slider-wrapper .carousel-caption h2 {
    font-size: 28px;
  }

  .home-slider-wrapper .carousel-caption p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .home-slider-wrapper .carousel-item img {
    height: 320px;
  }

  .home-slider-wrapper .carousel-caption {
    display: none;
  }
}


.home-slider-wrapper .carousel-caption {
  bottom: 20%;
  text-align: left;
  padding: 25px 30px;
  border-radius: 0px;
  max-width: 650px;
  z-index: 2;
}

.home-slider-wrapper .carousel-caption::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* Transparenz */
  border-radius: 0px;
  z-index: -1;
}

.home-slider-wrapper .carousel-item {
  transition: opacity 1.2s ease-in-out;
}

.home-slider-wrapper .carousel-fade .active.carousel-item-start,
.home-slider-wrapper .carousel-fade .active.carousel-item-end {
  transition: opacity 1.2s ease-in-out;
}


.home-slider-wrapper .carousel-caption {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s ease;
}

.home-slider-wrapper .carousel-item.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}





body {
  background: linear-gradient(252deg,rgba(76, 133, 20, 1) 0%, rgba(255, 255, 255, 1) 100%);
  background-attachment: fixed;
}




/* Footer-Info-Bereich */
.footer-info {
    background-color: #404043; /*  */
    padding: 2rem 0; /* vertikale Abstände */
    font-size: 1.0rem;
    color: #fff; /* gruen */
}

/* Überschriften der Spalten */
.footer-info h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #54a505; /* gruen */
}

/* Links */
.footer-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #888; /* Akzentfarbe beim Hover*/
    text-decoration: underline;
}

/* Abstand zwischen Links */
.footer-info .mb-1 {
    margin-bottom: 0.25rem !important;
}

/* Mobile: Text zentrieren, ab Medium links */
@media (max-width: 767.98px) {
    .footer-info .text-center {
        text-align: center !important;
    }
}


/* Primärer Button */

.btn-primary {
  background: #55a505;
  border-radius: 0px;
  border: none;
}

.btn-primary:hover {
  background: #ddd;
  border-radius: 0px;
  border: none;
}

/* Formularfelder */
.form-control {
  border-radius: 0px;
  border: none;
}



/* HERO WRAPPER */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* VIDEO */
.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.25)
  );
  
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-video {
    height: 85vh;
  }

  .hero-overlay {
    justify-content: flex-start;
    padding-top: 3rem;
  }
}


/* ===== Feature-Bereich Modul ===== */




/* ===== BACKTOTOP ===== */


.back-to-top-link {
  /* eigene Farb-Variablen */
  --cassiopeia-color-hover: #000;
  --link-hover-color: #000;

  z-index: 10;
  color: #fff;
  background: #54a505;
  pointer-events: all;
  border: 0;
  opacity: 1;
  inset-inline-end: 1rem;
  border-radius: 0;
  padding: 20px;
  position: fixed;
  bottom: 1rem;

  transition:
    background-color .2s ease,
    transform .2s ease,
    opacity .2s ease;
}

/* Hover */
.back-to-top-link:hover {
  background-color: var(--cassiopeia-color-hover);
  transform: scale(1.05);
  opacity: 1;
}






/* ---------------------------------------------------
   ICON BARRIEREFREIHEIT 
--------------------------------------------------- */





i._access-icon._access {

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  

    background-image: url('/images/svg/barrierefrei.svg'); 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    display: inline-block;
    width: 50px;
    height: 50px;

    transform: none !important;
}

































/* ---------------------------------------------------
   LOGIN 
--------------------------------------------------- */

/* Gesamtmodul — Rahmen entfernen */
.mod-login {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Labels */
.mod-login label {
    font-weight: 500;
    color: #333;
}

/* Input-Felder */
.mod-login input[type="text"],
.mod-login input[type="password"] {
    background: #cccccc !important; /* grey */
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 10px !important;
    width: 100%;
    box-shadow: none !important;
}

/* Username + Icon Wrapper */
.mod-login .mod-login_username {
    display: flex;
}
.mod-login .mod-login_username input {
    border-right: none !important;
}
.mod-login .mod-login_username .input-group-text {
    background: #e0e0e0 !important;
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    border-left: none !important;
}

/* Password + Icon Wrapper */
.mod-login .mod-login_password {
    display: flex;
}
.mod-login .mod-login_password input {
    border-right: none !important;
}
.mod-login .mod-login_password .input-group-text {
    background: #e0e0e0 !important;
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    border-left: none !important;
}

/* Passkey Button */
.mod-login .passkey-login-btn {
    background: #e0e0e0 !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 10px 12px !important;
    color: #111 !important;
    width: 100%;
}

/* Login Button */
.mod-login button[type="submit"] {
    width: 100%;
    background: #666 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px !important;
    color: #fff !important;
    font-weight: 600;
}

/* Checkbox */
.mod-login input[type="checkbox"] {
    accent-color: #444 !important;
}

/* Links */
.mod-login a {
    color: #444 !important;
    text-decoration: underline;
}


/* ---------------------------------------------------
   LOGIN Ende
--------------------------------------------------- */

/* Entfernt Firefox-Autofill-Hintergrund */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    background-color: #cccccc !important; /* oder gewünschte Farbe */
    color: inherit !important;               /* Schriftfarbe beibehalten */
    
}




/* ---------------------------------------------------
   Sectionen + Sectionen Faden
--------------------------------------------------- */

.section-structure {
  background-color: #d1d1d1;
  border-top: 0px solid rgba(0,0,0,.05);
}

.section-spacing {
  padding-left: 3rem;
  padding-right: 2rem;

  }






/* Smooth Scroll für Anker */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Abstand wegen Header */
section {
  scroll-margin-top: 120px; /* ggf. an Headerhöhe anpassen */
}











/* ===== ANIMATIONEN ===== */
[data-animate] {
  opacity: 1;
  transform: none;

  .js [data-animate] {
  opacity: 0;
  transform: translateY(140px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(.2,.6,.2,1);
}

.js [data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}




  















/* ===== ACCORDION ===== */

.accordion-button::after {
  content: '+';
  font-size: 1.4rem;
  color: #ddd;
  margin-left: auto;
  transform: none !important;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  transform: none !important;
}

.accordion-button {
  font-weight: 400;
  background-color: #fff;
  color: #888;
  border-radius: 0 !important;
  transition: background-color 0.3s ease;
}


/* entfernt das Standard-Pfeil-Symbol */
.accordion-button::after {
  content: '+' !important;
  font-size: 1.5rem;
  color: #888;
  margin-left: auto;
  background-image: none !important;
  transform: none !important;
}

/* wenn aufgeklappt: Minuszeichen anzeigen */
.accordion-button:not(.collapsed)::after {
  content: '−' !important;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 0 !important;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.accordion-body {
  padding: 1rem;
  background-color: #f9f9f9;
}



@media (min-width: 769px) and (max-width: 1024px) {
  /* Accordion-Spalten untereinander */
  .accordion-columns {
    flex-direction: column;
    gap: 20px;
  }

  /* Inhalt im geöffneten Accordion untereinander */
  .accordion-body .row {
    flex-direction: column;
  }

  .accordion-body .col-text,
  .accordion-body .col-image {
    width: 100%;
    padding: 0 !important;
    margin-bottom: 1rem;
    text-align: center;
  }

  .accordion-body .col-image img {
    max-width: 100%;
    height: auto;
  }
}



@media (max-width: 768px) {
  /* Accordion-Spalten untereinander */
  .accordion-columns {
    flex-direction: column;
    gap: 20px;
  }

  /* Inhalt im geöffneten Accordion untereinander */
  .accordion-body .row {
    flex-direction: column;
  }

  .accordion-body .col-text,
  .accordion-body .col-image {
    width: 100%;
    padding: 0 !important;
    margin-bottom: 1rem;
    text-align: center;
  }

  .accordion-body .col-image img {
    max-width: 100%;
    height: auto;
  }
}







  // X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) { ... }


  














