
/* Import a Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');


/* Global styles */
* {
  box-sizing: border-box;
}
 .thin-hr {
      border: 0;
      height: 1px;
      background-color: #ccc;
      margin: 10px 0;
      
    }

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin-bottom: 1rem;
}


h2 {
  text-align: center;
  color:#007bff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
h1, h2, h3 {
  margin-bottom: 0.5rem;
}


.logo-container {
  display: flex;
  align-items: center;
}

.logo-container {
  margin-bottom: 1rem;
  text-align: center;
}

.logo-container {
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  max-width: 100%;
  height: auto;
  max-height: 55px;
  margin-right: 1rem;
}


.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #012970;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  white-space: nowrap; 
}

.cta-button:hover {
  background-color: #1a3d7e;
  color: #ffffff;
}

.cta-button-center {
  display: inline-block;
  padding: 10px 20px;
  background-color: #012970;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  white-space: nowrap; 
  justify-content: space-between;
  align-items: center;
}

.cta-button-center:hover {
  background-color: #1a3d7e;
  color: #ffffff;
}

h2.title {
  margin: 0;
  padding: 0;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
  color: #001934;
}

h2.title::after {
  content: "";
  display: block;
  width: 155px;
  height: 1px;
  background-color: #31a0b6;
  margin: 10px auto 20px;
}


h3 {
  margin-top: 2rem;
}

/* Logo und allgemeine Navigation Styles */
.logo {
  max-width: 100%;
  height: auto;
  max-height: 55px;
}

.nav-item {
  transition: background-color 0.3s ease-in-out;
}

.nav-item:hover {
  background-color: #f5f5f5;
}

.nav-item.active {
  color: #31a0b6; /* Example: Change the text color for the active item */
  font-weight: bold;
}



nav {
 
  align-items: center;
}

nav ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  align-items: center;
}

nav li {
  display: inline;
  margin-right: 1rem;
  margin-left: 1rem;
}

nav a {
  text-decoration: none;
  color: #003062;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem;
}


/* Globale Navigationseinstellungen, sollten nicht für die mobile Navigation gelten */
.navigation ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.navigation li {
  margin-right: 1rem;
  margin-left: 1rem;
}

.navigation a {
  text-decoration: none;
  color: #003062;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem;
}

/* Mobile Navigation Styles */
.navbar-menu {
  position: fixed;
  top: 0;
  right: -100%; /* Menü startet außerhalb des Bildschirms */
  width: 250px;
  height: 100vh;
  background-color: #fff;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 1;
}

.navbar-menu.active {
  right: 0;
}

/* Stil für mobile Menü-Listenelemente */
.menu-listing {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left; /* Text linksbündig */
}

.menu-listing li {
  padding: 15px 20px; /* Vertikale Anordnung der Menüpunkte */
  border-bottom: 1px solid #ececec; /* Trennlinien zwischen den Menüpunkten */
}

.menu-listing li a {
  color: #262626;
  font-size: 1rem;
  text-decoration: none;
  display: block; /* Ermöglicht die volle Breite für Klicks */
}

.menu-listing li a:hover {
  background-color: #f8f8f8;
}

/* Burger-Menu Button Stile */
.menu {
  display: none; /* Standardmäßig ausblenden */
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  cursor: pointer;
  background: transparent;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 0.3s;
}

.menu.active {
  display: flex; /* Zeigen, wenn aktiv */
}
.menu span {
  position: absolute;
  height: 3px;
  width: 25px;
  background-color:  #012970;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: 0.3s;
}


.menu span {
  position: absolute;
  height: 3px;
  width: 25px;
  background-color:  #012970;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: 0.3s;
}

.menu span:before {
  content: '';
  position: absolute;
  top: -8px;
  background-color:  #012970;
  height: 3px;
  width: 25px;
  transition: 0.3s;
}

.menu span:after {
  content: '';
  position: absolute;
  top: 8px;
  background-color:  #012970;
  height: 3px;
  width: 25px;
  transition: 0.3s;
}

.menu.active span { background-color: transparent; }

.menu.active span:before { transform: rotate(45deg);top: 0; }

.menu.active span:after { transform: rotate(-45deg);top: 0; }

@media (max-width: 991px) {
  /* Zeigt den Burger-Menu Button auf mobilen Geräten */
  .menu {
    display: flex;
  }

  /* Styles, wenn das Menü aktiv ist */
  .navbar-menu.active {
    display: block; /* Zeigen, wenn aktiv */
  }
  /* Vertikale Anordnung der Menüpunkte */
  
  .menu-listing li {
    display: block !important;
    width: 100% !important; /* Ensure each menu item takes full width */
    padding: 15px 20px !important; /* Retain padding from previous rules */
  }
  

  /* Vertikale Anordnung der Menüpunkte im aktiven Zustand */
  .menu-listing li {
    display: block;
  }
}
.hero-slider {
  position: relative;
  max-height: calc(100vh - 80px);
  overflow: hidden;
}
/* ... */
/* Intro picture styles*/ 
.intro-picture {
  position: relative;
  overflow: hidden;
}

.intro-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 380px; /* Oder eine Höhe, die Ihren Inhalt gut darstellt */
  position: relative;
  overflow: hidden;

  background-repeat: no-repeat; /* This will prevent the image from repeating */
  
}


/* Add this to create an overlay */
.overlay {
  background: rgba(0, 0, 0, 0.4); /* Adjust the opacity (0.4) to darken/lighten the image */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-container {
  position: absolute;
  top: 50%;
  left: 16.67%; /* Place the text in the middle of the left third of the website */
  transform: translateY(-50%);
  text-align: left;
  padding: 1rem;
  color: white; /* Change the text color as needed */
  z-index: 10; /* Set a higher z-index value for the text container */
}

/* Apply the imported font to the h1 and p elements */
.hero-container h1,
.hero-container p {
  font-family: 'Lato', sans-serif;
}

.hero-container h1 {
  /*white-space: nowrap; /* Prevent line breaks */
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}



.hero-container p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-container a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #012970; /* Set the button background color */
  color: white; /* Set the button text color */
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
}

.hero-container a:hover {
  background-color: #1a3d7e; /* Set the hover background color */
  color: white; /* Set the hover text color */
}

/* ... */
.title {
  background-color: white;
  padding: 40px;
  text-align: center;
}

.title h2 {
  font-size: 2.1rem;
  font-weight: bold;
  margin: 0;
  position: relative;
  display: inline-block;
  color: #001934;
}

.title h2:after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -10px;
  width: calc(100% - 10px);
  height: 2px;
  background-color: #31a0b6;
  align-items: center;
}

.title p {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1.5;
  color: rgb(58, 59, 59)939;
}



.slider-container {
  margin-top: 2rem;
  overflow: hidden;
}

.slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.3s;
}

.slider img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  margin-right: 1rem;
}

/* Common styles for product and feature items */

/* Common styles for product and feature items */
.product-list, .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.product, .feature {
  flex: 1;
  max-width: 350px;
  margin: 1rem;
  text-align: center;
  background-color: #fbfdfe;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Specific styles for product items */
.product img {
  max-width: 100%;
  height: auto;
}

.product ul {
  list-style: none;
  padding: 0;
}

.product a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #012970; /* Set the button background color */
  color: #ffffff; /* Set the button text color */
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
}
.product a:hover {
  background-color: #1a3d7e; /* Set the hover background color */
  color: #ffffff; /* Set the hover text color */
}

/* Specific styles for feature items */
.feature {
  display: inline-block;
  vertical-align: top;
  width: calc(33.333% - 20px);
  margin-right: 10px;
  margin-left: 10px;
  box-sizing: border-box;
}

.feature p {
  margin-top: 1rem;
}

.feature img {
  max-width: 100%;
  height: auto;
}


.map-container {
  height: 400px;
  margin-top: 4rem;
}

.contact {
  background-color: #ffffff;
  padding: 4rem 0;
  overflow: hidden;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-details {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background-color: #fbfdfe;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.contact-details h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-details p {
  margin: 0.5rem 0;
}

.contact-form-container {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  background-color: #fbfdfe;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.contact-form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form-container p {
  margin-bottom: 2rem;
}

.contact-form-container form {
  display: flex;
  flex-wrap: wrap;
}

.contact-form-container label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  width: 100%;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
}

.contact-form-container input[type="submit"] {
  background-color: #012970;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
}

.contact-form-container input[type="submit"]:hover {
  background-color: #013ba1;
}

.contact-form-container .form-field {
  width: 100%;
  margin-bottom: 1rem;
}

.contact-form-container .form-field label {
  font-size: 1rem;
}

.contact-form-container .form-field input[type="checkbox"] {
  margin-right: 0.5rem;
}

.map-container {
  position: relative;
  width: 100%;
  height: 350px; /* Adjust based on the desired map height */
  border-radius: 10px; /* Rounded corners to match container */
  overflow: hidden; /* Ensure nothing spills out from the rounded edges */
}

/* Remove any space inside the map container */
.map-container gmp-map {
  width: 100%;
  height: 100%;
  display: block;
}


footer {
  background-color: #09203B;
  color: white;
  padding: 1rem;
  margin-top: 1rem;
}

footer a {
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(auto, 1fr) 2fr minmax(auto, 1fr);
  align-items: center;
}

.footer-image {
  width: 50px;
  height: 50px;
}

.footer-left {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-right {
  position: relative;
  right: 1rem;
}
/* Responsive Styles für kleine Bildschirme (max-width: 1000px und 991px) */
@media (max-width: 1000px) {
  .hero-container {
    font-size: 1.2rem;
  }
  .hero-container h1 {
    font-size: 2rem;
  }
  .hero-container p {
    font-size: 1rem;
  }

  /* Weitere Styles speziell für Bildschirme unter 1000px Breite */
}


/* Responsive Styles */

@media (max-width: 991px) {
  .burger-menu {
      display: block; /* Burger-Menü wird sichtbar */
  }

  .navigation {
      display: none; /* Desktop-Navigation wird ausgeblendet */
  }

  .mobile-navigation {
      display: none; /* Mobile Navigation bleibt zunächst verborgen */
      position: fixed;
      top: 0;
      right: -100%; /* Startposition außerhalb des Bildschirms */
      width: 250px;
      height: 100%;
      background-color: #fff;
      transition: right 0.3s ease;
      z-index: 1;
  }

  .mobile-navigation.show {
      right: 0; /* Bewegt das mobile Menü auf den Bildschirm */
  }

  /* Styles für die Elemente in der mobilen Navigation */
  .mobile-navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .mobile-navigation li {
    padding: 15px;
    border-bottom: 1px solid #ececec;
  }

  .mobile-navigation a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .mobile-navigation a:hover {
    background-color: #f8f8f8;
  }
}

/* Responsive Styles für größere Bildschirme (min-width: 992px) */
@media (min-width: 992px) {
  .navigation {
      display: block; /* Desktop-Navigation wird sichtbar */
  }

  .burger-menu,
  .mobile-navigation {
      display: none; /* Burger-Menü und mobile Navigation werden ausgeblendet */
  }

  /* Weitere Styles speziell für Bildschirme über 992px Breite */
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
  }

  .nav-active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav a:hover {
   /* background-color: #003062; /* Set background color for hover effect to dark blue */
    color: #0071BC; /* Set text color for hover effect to white */
    border-radius: 5px;
  }


  
  .impressum {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 1.5;
    text-align: justify;
  }
  
  .impressum h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .impressum h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  
  .impressum p {
    margin-bottom: 20px;
  }
  
  .impressum hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
  }
  
  .impressum ul {
    margin-left: 40px;
  }
  
  .impressum li {
    margin-bottom: 10px;
  }
  
  

  header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  


  /***/

  .product-list, .features {
    flex-direction: column;
    align-items: center;
  }

  header h1 {
    margin-top: 1rem;
  }

  .slider img {
    max-height: 200px;
  }
  .product-list {
    flex-direction: column;
    align-items: center;
  }
  .products {
    padding-top: 0; /* Adjust this value to the height of your hero container or as needed */
    width: 90%;
    margin-bottom: 2rem;
  }
  .feature {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: center; /* Fügt zentrierten Text in den Feature-Elementen hinzu */
  }

  .feature-list {
    text-align: left; /* Setzt den Text in der Feature-Liste wieder auf linksbündig zurück */
  }

  .map-container {
    height: 300px;
  }
  
  
  .contact-details p {
    flex: 0 0 100%; /* Make the contact detail paragraphs take the full width on small devices */
  }
  .contact-form-container {
    max-width: 800px;
    margin: 0 auto;
  }
  .impressum {
    padding: 20px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-details {
    max-width: 100%;
  }

  .contact-form-container {
    max-width: 100%;
  }
  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .footer-left {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.6em;
    order: 2;
  }

  .footer-links {
    margin-top: 1rem;
    order: 1;
  }

  .footer-right {
    position: absolute;
    top: 0;
    right: 1rem;
  }

  .footer-image {
    display: none;
  }

  .title {
    padding: 20px; /* Reducing the padding to decrease the space around the text */
    margin: 0 auto;
    margin-bottom: 30px; 
  }
  .title h2 {
    font-size: 1.8rem;
  }
  .title h2:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%; /* Full width of the element */
    height: 2px;
    background-color: #31a0b6;
  }
  
  .title p {
    font-size: 1rem; /* Adjust the font size if required */
    margin-top: 10px; /* Reducing the top margin between paragraphs */
    margin-bottom: 10px; 
  }
}

@media (max-width: 768px) {
  .hero-slider {
    margin: 0;
    padding: 0;
    /* Let's not specify a height and let it be determined by content */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .intro-image-container {
    /* Reset any specific height to avoid extra space */
    height: auto; /* Or 'min-height' to a value that fits your design */
    position: relative; /* Ensure that it's relative for absolute children positioning */
    padding: 0; /* Make sure padding is not adding space */
  }

  .hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* Or a specific width if needed, but 'auto' should allow content to dictate size */
    padding: 10px; /* Adjusted padding, can be changed per design */
    z-index: 2; /* Ensure it is above the background but below any potential overlays */
  }

  .hero-container h1 {
    font-size: 1.6rem; /* Adjust as needed */
  }

  .hero-container p {
    font-size: 1rem; /* Adjust as needed */
    display: block; /* Ensure it's not being hidden */
  }

  /* Adjusting the button style */
  .hero-container a {
    display: inline-block; /* Use 'inline-block' for button alignment */
    margin: 20px 0; /* Provides space above and below */
    padding: 10px 20px; /* Button padding */
  }
  
  /* This rule will remove any unwanted space due to invisible pseudo-elements */
  .intro-image-container::before,
  .intro-image-container::after {
    content: none; /* This will not render pseudo-elements */
  }
}
