body {
  margin: 0;
  color: #555;
  font-family: "Open Sans", sans-serif;
}
  
a { color: #97bf1f; font-weight: none }
a:hover { color: #97bf1f; font-weight: none }
a:link { color: #97bf1f; }
:visited { color: #97bf1f; }
:link:active, :visited:active { color: #97bf1f; }
:link, :visited { text-decoration: none; cursor: pointer; }
  
li:hover { color: #97bf1f; font-weight: none }

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

header {
  height: 120px;  
}

.grid-container {
  padding-right: 0;
  padding-left: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden; /* Versteckt ggf. überstehende Inhalte */
}

.cell {
  padding-right: 1rem;
  padding-left: 1rem;  
}
  
.dark-bg {
  background-color: rgba(59,67,71,.9)
}

.dark-bg h2 {
  font-family: "Open Sans", sans-serif;
  color: #ffffff;
  text-align: center;
  font-weight: 300;
}

.dark-bg .lead {
  color: #ffffff;
  letter-spacing: 0.04em;
  text-align: center;
}

.section-title-block {
  margin-bottom: 35px;
  padding: 0 10px;
}

@media (min-width: 40em) {
  .section-title-block {
    padding: 0;
    margin-bottom: 80px;
  }
}

.section-title-block:after {
  content: "";
  display: block;
  width: 40px;
  border-top: 2px solid #111;
}

.section-title-block .title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

.section-title-block.text-center:after {
  margin: 30px auto 0;
}

.full_size {
  background-size:cover;
}

.title {
  font-size: 20px;  
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}
  
.lead {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 0;

}

.lead-sm {
  font-size: 18px;
  color: #ffffff; 
  text-align: center; 
}

.lead-info {
  font-size: 10px;
  color: #ffffff; 
  text-align: center; 
}

.info {
  padding: 80px;
}

.box-space {
  padding: 80px;  
}

.centered-div {
  text-align: center;
}

.img_blog {
  border: 2px solid #f1f1f1;
  padding: 5px;
  margin-right: 10px;
  border-radius: 10px;
  color: #c2c2c2;
  margin-bottom: 10px;
  height: 250px;
}

/*********************************************************************************************
** Layout -> Galerie-Container 
*********************************************************************************************/
.gallery-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;       /* WICHTIG: Inhalt abschneiden */
  background-color: #3d3d3d;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  gap: 10px;
  flex-shrink: 1;         /* Verhindert das „Aufblähen“ des Containers */
}
  
.gallery {
  white-space: nowrap; /* Verhindert Umbruch von Flex-Items */
  display: flex;
  gap: 10px;
  overflow-x: auto;       /* Horizontales Scrollen */
  overflow-y: hidden;
  scroll-behavior: smooth;
  flex: 1 1 auto;         /* Flexibles Verhalten */
  min-width: 0;           /* Verhindert unendliches Ausdehnen */
  max-width: 100%;        /* WICHTIG: Bleibt immer im Container */
  box-sizing: border-box;
  scrollbar-width: none;
}

.gallery > div {
  flex-shrink: 0;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  width: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05); 
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 30px;
  height: 30px;
  border: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn.left {
  left: 1px;
}

/* Rechter Button */
.scroll-btn.right {
  right: 1px;
}

i.fa, i.fab, i.far, i.fas {
  color: #97bf1f;
  font-size: 22px;
  background: transparent;
  opacity: 0.5; 
  z-index: -10; 
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #333;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease;
}
  
.back-to-top:hover {
  background-color: #333;
}

@media (max-width: 768px) {
  body {
    font-size: 11pt;
  }  
  .standard-logo {
    display: none;
  } 
  .box-space {
    padding: 50px 20px 50px 20px; 
  }
  .gallery-item {
    width: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

@media only screen and (device-width: 320px) and (orientation: portrait) {
  .standard-logo {
    display: none;
  } 
  .box-space {
    padding: 50px 20px 50px 20px; 
  }
  .gallery-item {
    width: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

@media only screen and (max-width: 410px) and (orientation: landscape) {
  .standard-logo {
    display: none;
  } 
  .box-space {
    padding: 50px 20px 50px 20px; 
  }
  .gallery-item {
    width: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}
  