@charset "UTF-8";
/* CSS Document */

a:link,
a:visited {
  color: #333333;
  text-decoration: underline;
}
.white-link:link,
.white-link:visited {
  color: #DDDDDD;
  text-decoration: underline;
}


#language-selector {
   position: absolute;
   top: 10px;
   right: 40px;
   display: flex;
   gap: 0px;
   background-color: black;
}
#language-selector button {
   font-size: 20px;
   padding: 2px 2px;
   background: #0b477f;
   border: none;
   cursor: pointer;
   transition: transform 0.2s ease;
}
#language-selector button:hover {
   transform: scale(1.2);
}
#language-selector button.active {
  border: 1px solid #055BC2;
  border-radius: 4px;
  background-color: rgba(29,117,165,0.50);
}
header {
   background-color: #0b477f;
   color: #fff;
   padding: 20px;
   text-align: left;
   position: fixed;
   top: 0;
   width: 100%;
   z-index: 1000;
   box-shadow: 0 4px 2px -2px gray;
}
header h1 {
   margin: 0;
   font-size: 2.5em;
}
nav {
   display: flex;
   width: 100%;
   justify-content: center;
   background-color: #fff;
   padding: 10px 0;
   flex-wrap: wrap;
   position: fixed;
   top: 70px; /* Adjust based on the height of your header */
   z-index: 1000;
   box-shadow: 0 4px 2px -2px gray;
}
nav a {
   color: #000;
   text-decoration: none;
   margin: 5px 15px;
   font-size: 1em;
}
.hero {
   background-image: url('images/hero_1000x200.png');
   background-size: cover;
   background-position: center;
   height: 200px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   text-align: center;
}
.hero h2 {
   font-size: 3em;
   margin: 0;
}

strong {
      color: #005b9f;
    }
  address {
    font-style: normal;
    background-color: #eef4fa;
    padding: 15px;
    border-left: 4px solid #005b9f;
    margin-top: 20px;
    line-height: 1.6;
  }



.image_about {
   background-image: url('images/plan_1000x200.png');
   background-size: cover;
   background-position: center;
   height: 100px;
   display: flex;
   align-items: center;
   justify-content: center;
   max-width: 1200px;
   margin: 0 auto;
}
/*<div style="font-family: Arial, sans-serif; line-height: 1.6; max-width: 800px; margin: auto; padding: 20px;">*/

.content {
   padding: 10px 20px;
   max-width: 1200px;
   margin: 0 auto;
   scroll-margin-top: 120px; /* Adjust this value to match the combined height of your header and nav */
}
h3 {
      color: #444;
      font-style: italic;
         margin-left:40px;
    }


.content h2{
   font-size: 2em;
   margin-bottom: 20px;
   margin-left:40px;
}

.content p, .content ul {
   overflow: hidden;
   /*max-height: 4.5em; /* x lines of text */
   line-height: 1.5em;
   margin-bottom: 20px;
   margin-left:40px;
   position: relative;
}
.content p.more-content, .content ul.more-content {
   max-height: none;
}
.read-more-btn {
   display: inline-block;
   color: #25A51D;
   text-decoration: none;
   cursor: pointer;
   margin: 15px;
   text-align: right;
}
.read-more-content {
   /* max-height: 150px; /* Adjust this value based on how much content you want to show initially */
   overflow: hidden;
   transition: max-height 0.5s ease;
}
.read-more-content.more-content {
   max-height: none;
}
.table-container {
   overflow-x: auto;
}
table {
   width: 80%;
   border-collapse: collapse;
   margin: 25px 0;
   font-size: 16px;
   text-align: left;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
th, td {
   padding: 12px 15px;
}
th {
   background-color: #9A9898;
   color: #ffffff;
   text-transform: uppercase;
}
tr {
   border-bottom: 1px solid #dddddd;
}
tr:nth-of-type(even) {
   background-color: #f3f3f3;
}
tr:last-of-type {
   border-bottom: 2px solid #009879;
}
.show-button {
   display: block;
   margin: 20px auto;
   padding: 10px 20px;
   background-color: #009879;
   color: white;
   border: none;
   cursor: pointer;
   font-size: 16px;
   border-radius: 5px;
}
footer {
   background-color: #0b477f;
   color: #fff;
   text-align: center;
   padding: 20px 0;
}
/* CSS-Definitionen für abwechselnde Hintergrundfarben in Subsektionen */
.content:nth-child(even) {
   background-color: #f8f8f8; /* Weiße Hintergrundfarbe */
}
.content:nth-child(odd) {
   background-color: #f0f0f0; /* Graue Hintergrundfarbe */
}
.dummy-text {
   color: white;
}
body {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   margin: 0;
   color: #333;
   background-color: #f8f8f8;
   padding-top: 122px; /* Adjust based on the combined height of your header and nav */
}
.img-right.responsive-float {
   float: right;
   margin: 0 0 1em 1em;
   max-width: 40%;
   height: auto;
   border-radius: 6px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Schatten */
   position: relative;
   z-index: 2; /* Bild etwas in den Vordergrund holen */
}


/* *********************************************************************************************/
.galery {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   position: relative;  /* optional */
  z-index: 10;
}
.image-container {
   position: relative;
   display: inline-block;
   text-align: center;
}
.galery img {
   height: 100px;
   cursor: pointer;
   transition: transform 0.2s;
   display: block;
}
.galery img:hover {
   transform: scale(1.1);
     z-index: 5;
  position: relative; /* wichtig! aktiviert den stacking context */

}
.description {
   position: absolute;
   top: 0;
   width: 97%;
   color: white;
   background-color: rgba(0, 0, 0, 0.5);
   font-size: 12px;
   padding: 2px;
}
.modal {
   display: none;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.8);
   justify-content: center;
   align-items: center;
   overflow: hidden;
   transition: transform 0.5s ease, opacity 0.5s ease;
   opacity: 0;
   transform: scale(0.8);
  z-index: 1000;
}
.modal.show {
   opacity: 1;
   transform: scale(1);
}
.modal-content {
   position: relative;
   display: flex;
   align-items: center;
   z-index: 5;
}
.modal img {
   max-height: 90vh;
   max-width: 90vw;
   opacity: 0;
   transition: opacity 0.5s ease;
}
.modal img.visible {
   opacity: 1;
}
.nav-button {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background-color: rgba(0, 0, 0, 0.5);
   color: white;
   border: none;
   font-size: 24px;
   padding: 10px;
   cursor: pointer;
   z-index: 10;
   transition: transform 0.2s, background-color 0.2s;
}
.nav-button:hover {
   background-color: rgba(255, 255, 255, 0.5);
   color: black;
   transform: scale(1.2);
}
.nav-left {
   left: 10px;
}
.nav-right {
   right: 10px;
}
/* *********************************************************************************************/
/* *********************************************************************************************/
@media (max-width: 600px) {
   header h1 {
      font-size: 2em;
   }
   .hero {
      height: 200px;
      background-image: url('images/hero_1000x200.png');
   }
   .hero h2 {
      font-size: 2.5em;
   }
   .image_about {
      background-image: url('images/plan_768x200.png');
      height: 100px;
   }
   .content {
      padding: 20px 10px;
      scroll-margin-top: 120px; /* Adjust this value to match the combined height of your header and nav */
   }
   .content h2 {
      font-size: 1.5em;
   }
   .google_iframe {
      width: 100%;
      height: auto;
   }
   .img-right.responsive-float {
      float: none;
      display: block;
      margin: 1em auto;
      max-width: 70%;
   }
   nav a {
      color: #000;
      text-decoration: none;
      margin: 5px 15px;
      font-size: 0.7em;
   }
}