/* CSS Dokument */
/* ../../../../css/ */
/* GLOBALE SEITENEINSTELLUNGEN */
html {
    font-size: 15px;  
    /* 123 */
}

body {
    color:#000000 ;
    font: 1rem Verdana,sans-serif;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; } 
    to { opacity: 1; }  
}

body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}
/* Wrapper-Stil für zentrierten Inhalt */
.wrapper {
    /* max-width: 1200px;  */
    margin: 0 auto; 
    padding: 0px; 
  }  
  
  /* Responsive Design */
  @media (min-width: 1200px) {
    .wrapper {
      /* width: 80%;  */
    }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    .wrapper {
      /* width: 85%; */
    }
  }
  @media (min-width: 768px) and (max-width: 991px) {
    .wrapper {
      /* width: 90%; */
    }
  }
  @media (max-width: 767px) {
    .wrapper {
      /* width: 100%; */
    }
  }
  @media (max-width: 575px) {
    .wrapper {
      /* width: 100%; */
    }
  }


/* GLOBALE TYPEINSTELLUNGEN */
a { 
    text-decoration: none;
    color:#272716;
    ;
}

a:hover {
    /* text-decoration: underline; */
    color:#4e4e2b;
}

h1 {
    font-size: 2.8rem;
    font-weight: normal;
    margin: 0;
    padding-top: 30px;
    /* padding-bottom: 20px; */
}
h2 {
    font-size: 1.6rem;
    font-weight: normal;
}
h3 {
    font-size: 1.2rem;
    font-weight: normal;
}
h4 {
    font-size: 1.0rem;
    font-weight: normal;
}
h5 {
    font-size: 0.7rem;
    font-weight: normal;
}
.kontakt-button{
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #64653a;
}



/* Dark */
.dark {
    color:#bbbbbb;
    background-color: #222b22; 
}
.dark a { 
    text-decoration: none;
    color: #bbbbbb;
    ;
}
.dark a:hover {
    /* text-decoration: underline; */
    color:#d4d877;
}
.dark h1 {
    font-size: 2.8rem;
    font-weight: normal;
    margin: 0;
    padding-top: 30px;
    /* padding-bottom: 20px; */
}
.dark h2 {
    font-size: 1.6rem;
    font-weight: normal;
}
.dark h3 {
    font-size: 1.2rem;
    font-weight: normal;
}
.dark h4 {
    font-size: 1.0rem;
    font-weight: normal;
}
.dark h5 {
    font-size: 0.7rem;
    font-weight: normal;
}
/* .dark .kontakt-button{
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #64653a;
} */






section {
    padding: 0px;
}
.hauptabschnitt{
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.limited-width {
    width: 60%;
    margin: 0 auto ;
}
.height800{
    min-height: 800px;
}



/* Header*/
header {
    background: #ffffff;
    /* z-index: 10; */
    /* height: 700px; */
    /* background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 25%), url("../pics/gruppenfoto.jpg");  */
    /* background-size: 100% auto;   */
    /* background-size: 100% auto;  
    background-attachment: scroll;
    background-repeat: no-repeat; */

}
.head-img-news {
    /* position: relative; */
    background-size: 100% auto;  
    background-position:top ;
    background-attachment: scroll;
    background-repeat: no-repeat;
    height: 700px;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 25%), url("../pics/gruppenfoto.jpg"); 
}


.bsg-logo {
    /* position: relative; */
    display: block; 
    max-width: 1400px;
    width: 100%; 
    height: auto; 
    margin: 0 auto; 
    /* top: -500px; */
    /* border-radius: 30px; */
}
.news-logo {
    display: block; 
    max-width: 200px;
    width: 100%; 
    height: auto; 
    /* margin: 0 auto;  */
    border-radius: 30px;
}
.footer-logo {
    display: block; 
    position: relative;
    max-width: 250px;
    width: 100%; 
    height: auto; 
    left: -0px;
    margin-bottom: 40px;
    /* margin: 0 auto;  */
    /* border-radius: 30px; */
}



/* Navi */
nav {
   
}

nav ul {
    background-color: white;
    transition: background-color 500ms, box-shadow 500ms;
    border-radius: 30px;
    border: 1px solid;
    border-color: #222b22;
    box-shadow: none;
    list-style: none; 
    /* left: 0; */
    padding: 0; 
    margin: 0; 
    display: flex; 
    justify-content: start; 
    align-items: center;
    width: auto;
    height: 80px;
    overflow: hidden;
}

/* Stil für jedes Listenelement */
nav li {
    margin: 0px;
    padding: 0px;
}

/* Stil für die Links in der Navigationsleiste */
nav a {
    color: #050404;
    transition: color 500ms; 
    text-decoration: none; 
    font-size: 1.0rem;
    padding: 8px 22px 8px 0px; 
    transition: all 0.3s ease;   
}
nav a.active{
    text-decoration: underline;
}
/* nav img {
    border-radius: 10px;
} */

/* nav a:active, nav a:focus, nav a:hover {
    text-decoration: underline;
} */

nav ul li:not(:first-child) {
    max-width: 0;
    opacity: 0;
    transition: max-width 600ms ease, opacity 600ms ease;
    white-space: nowrap; 
}

nav ul li:first-child:hover ~ li,
nav ul li.selected {
    max-width: 100px; /* oder spezifische Breite für Ihre Menüpunkte */
    opacity: 1;
}


/* Hover-Effekt für die Links */
/* nav a:hover {
    background-color: #2b5d2b; 
    color: inherit;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    transform: translateY(-2px); 
} */


/* Main   */
main {
    /* position: relative; */
    background: white;
    /* z-index: 2; */
    /* padding-top: 60px; */
}



/* Footer*/
footer {
    padding-bottom: 50px; 
    padding-top: 140px;
    margin: 0 auto;
}

.footer-columns-container{
    display: flex;
    justify-content: space-between; 
}

.footer-column{
}

.footer-column h3 {
    margin-top: 0; 
}

.footer-column ul {
    list-style: none;
    padding: 0; 
    margin-bottom: 30px;
    margin-top: 0;
}


.footer-column a {
    width: 85%;
    display: inline-block;
    font-size: 0.8rem;
    padding: 5px;
}

.footer-column.wide{
    min-width: 265px;
}



/* ... */
/* ...    impressum.php */
/* ... */

.info div {
    display: flex;
}

.title {
    width: 140px; 
    display: inline-block;
}

ul {
    padding: 0;
    list-style: none;
}

/* ... */
/* ...    datenschutz.php */
/* ... */


#Datenschutz h4{
    font-weight: bolder;
}



/* Cookies Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 10px;
    box-shadow: 0px -2px 5px rgba(0,0,0,0.2);
    display: none; /* Versteckt das Banner zunächst */
}

.cookie-consent-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
}

/* article */
/*  */
/*  */

article {
    margin: auto; /* Zentriert den Artikel */
    /* padding-top: 40px;  */
    /* padding-bottom: 40px;  */
}

article h1 {
    font-size: 2em; /* Größe der Hauptüberschrift */
    margin-bottom: 0.5em; /* Abstand nach der Hauptüberschrift */
}

article h2 {
    font-size: 1.5em; /* Größe der zweiten Überschrift */
    margin-bottom: 0.5em; /* Abstand nach der zweiten Überschrift */
}

.textabschnitt p {
    /* text-align: justify;  */
    margin-bottom: 1em; /* Abstand zwischen Absätzen */
}

.textabschnitt img {
    max-width: 100%; /* Stellt sicher, dass Bilder nicht über den Container hinausgehen */
    height: auto; /* Behält das Seitenverhältnis bei */
    padding: 10px; /* Fügt Abstand um das Bild hinzu */
}

.left {
    float: left; /* Bild links im Text */
    margin-right: 20px; /* Abstand zum Text */
}

.right {
    float: right; /* Bild rechts im Text */
    margin-left: 20px; /* Abstand zum Text */
}

.center {
    display: block;
    margin: 10px auto; /* Zentriert das Bild */
}

/* Vorstand */
.vorstand-column {
    /* display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    scroll-behavior: smooth; */

}

.persoenliches img {
    display: block;
    width: 200px;
    height: 200px;
    margin-bottom: 25px;
    /* padding: 20px; */
}
.persoenliches .name {
    margin: 0;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.persoenliches .amt {
    margin: 0;
    font-size: 0.9rem;
}  


.carousel-container {
    /* display: flex; */
    /* overflow-x: auto;
    scroll-behavior: smooth; */
}

.slick-prev, .slick-next {
    font-size: 0; /* Entfernt den Standardtext */
    line-height: 0;
    position: absolute;
    top: 35% ; /* Zentriert die Schaltflächen vertikal */
    width: 30px;
    height: 30px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev {
    left: -40px; /* Position links vom Carousel */
}

.slick-next {
    right: -40px; /* Position rechts vom Carousel */
}
.slick-prev:before, .slick-next:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgb(0, 0, 0);
    border-top: 2px solid rgb(0, 0, 0);
}

.slick-prev:before {
    transform: rotate(-135deg); /* Pfeil nach links */
}

.slick-next:before {
    transform: rotate(45deg); /* Pfeil nach rechts */
}




/* MENU  */
/* Logo-Menü-Icon-Styles */
.logo-menu-icon {
    cursor: pointer;
    position: fixed; 
    top: 20px; 
    right: 35px; 
    z-index: 100; 
}
/* Seitenmenü-Styles */
.side-menu {
    height: 100%;
    width: 330px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: transparent;
    overflow-x: hidden;
    /* transition: 0.5s; */
    transform: translateX(100%); 
    transition: all 0.3s ease;
    padding-top: 60px;
    z-index: 1;
}

.side-menu .nav-link {
    cursor: pointer;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}
.side-menu .nav-link:hover {
    color: rgb(246, 249, 73);
}

/* Menü öffnen */
.side-menu.open {
    transform: translateX(0);  
    background-color: #000000;
}

/* Wrapper um das Logo */
#logo-wrapper {
    position: relative;
    width: 50px; 
    height: 50px; 
}

#logo {
    position: fixed; 
    display: block;
    width: 50px; 
    height: 50px; 
    padding: 5px;
    transition: all 0.3s ease; 
    overflow: hidden; 
    opacity: 0.9;
}
#logo.on-dark-background{
    filter: invert(100%);
}

#logo-wrapper::before, #logo-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 4px; 
    background-color: rgb(255, 255, 255); 
    transform-origin: center;
    transition: all 0.3s ease;
    opacity: 0;
}

#logo-wrapper::before, #logo-wrapper::after {
    transform: translate(-50%, -50%) rotate(0deg);    
}
#logo-wrapper.transformed #logo {
    transform: scale(0) rotate(45deg); 
    opacity: 0; 
}
#logo-wrapper.transformed::before{
    transform: translate(-50%, -50%) rotate(45deg); 
    opacity: 1;
}
#logo-wrapper.transformed::after {
    transform: translate(-50%, -50%) rotate(-45deg); 
    opacity: 1;
}



/* Nach Oben */
.nach-oben {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.nach-oben:hover {
    background-color: #dadada;
}

