@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(../fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw0aXpsog.woff2) format('woff2');
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #f1f1f1;
}

body {
  font-family: 'Montserrat' , sans-serif;
  margin: 0;
  width: 100%;
  padding: 0;
}
.logo-bar {
color: #000;
text-align: center;
padding-bottom: 25px;
position: sticky;
top: 50px;
background-color: #FFF;
left: 0;
z-index: 999;
font-size: large;
display: flex;
flex-direction: row;
justify-content: space-around;
}

nav {
  height: 40px;
  color: #000;
  text-align: center;
  padding: 10px;
  position: sticky;
  top: 0;
  background-color: #FFF;
  left: 0;
  z-index: 1000;
  padding: 10px;
}
.desktop-nav {
  font-size: large;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-end;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: #a2a2a2;
  text-decoration: none;
}

nav a:hover {
  color: #000;
}

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

.section {
  margin-bottom: 35px;
}

/* Media Query für kleinere Bildschirme */
@media screen and (max-width: 768px) {
  .section-grid-first {
align-items: end;
  }
  .section-grid-second {
  align-items: end;
  }
  .full-column {
    text-align: left;
  }  
h2 {
  font-size: medium;
}
.logo-bar {
  height: 80px;
}
.logo img {
width: 190px;
}
.main {
padding-top: 140px; /* Die Höhe der Navbar */
}
  .section-grid-first, .section-grid-second {
    grid-template-columns: 1fr; /* Einzelne Spalte auf kleineren Bildschirmen */
  }
  .media-grid {
    grid-template-columns: 1fr; /* Einzelne Spalte auf kleineren Bildschirmen */
  }
  
  .one-third-column {
    width: 100%; /* Volle Breite auf kleineren Bildschirmen */
  }

  .one-third-column img {
    padding: 7%;
    width: 130px;
    height: auto;
  }
  .full-w {
    width: 100%;
  }
   .m-lr-medium {
    margin-left: 12%;
    margin-right: 12%;
   }
   .m-lr-large {
    margin-left: 17%;
    margin-right: 17%;
   }
}
/* Media Query für mittlere Bildschirme */
@media screen and (min-width: 769px) {
  .section-grid-first {
    align-items: center;
      }
      .section-grid-second {
        align-items: center;
        }
  .full-column {
    text-align: left;
  }  
  .desktop-nav {
    width: 100%;
}
.logo-bar {
  height: 95px;
}
.logo img {
  width: 250px;
  }
.main {
  padding-top: 180px; /* Die Höhe der Navbar */
  }
.media-grid {
  grid-template-columns: 1fr 1fr;
}
.m-lr-medium {
  margin-left: 7%;
  margin-right: 7%;
 }
 .m-lr-large {
  margin-left: 16%;
  margin-right: 16%;
 }
}
/* Media Query für größere Bildschirme */
@media screen and (min-width: 1300px) {
  .section-grid-first {
    align-items: center;
      }
  .section-grid-second {
    align-items: center;
      }
  .full-column {
    text-align: justify;
  }  
.media-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr ;
}
.logo-bar {
  height: 110px;
}
.logo img {
  width: 300px;
  }
.main {
  padding-top: 188px; /* Die Höhe der Navbar */
  }
.m-lr-medium {
  margin-left: 12%;
  margin-right: 12%;
 }
 .m-lr-large {
  margin-left: 30%;
  margin-right: 30%;
 }
}
.section-grid-first {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}
.section-grid-second {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}

.media-grid {
  text-align: center;
  display: grid;
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.one-third-column {
  width: 100%;
  display: inline-grid;
  justify-content: center;
  justify-items: center;
}
.one-third-column img {
  padding: 7%;
  margin: 3%;
  max-width: 500px;
  height: auto;
}

.full-column {
  grid-column: 1 / span 2;
}

/* Responsive Hero-Bild */
.hero {
  position: relative;
  background: url('../img/hero-image.jpg') no-repeat center center;
  background-size: cover;
  height: 75vh;
}

/* Überschrift im Hero-Bild */
.hero-content {
  position: absolute;
  left: 15%; /* Abstand vom linken Rand */
  top: 15%;
  transform: translateY(-50%);
  padding: 10px;
}

.hero-content h1 {
  margin: 0;
  font-size: x-large;
  color: #FFF;
  text-align: left;
}
.light-brown {
  background-color: #9ca08f;
}
.light-grey {
background-color: #c8c4c3;
}

.footer
{ text-align: center;
  width: 100%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.txt-lrg {
  font-size: large;
}

.plr-5 {
  padding-left: 3%;
  padding-right: 3%;
}

.mb-5 {
  margin-bottom: 2%;
}
.mt-5 {
  margin-top: 2%;
}
.right-radius {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}

.left-radius {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.pddng-5 {
  padding: 5%;
}

.pb-5 {
  padding-bottom: 5%;
}

.pt-5 {
  padding-top: 5%;
}

.pb-3 {
  padding-bottom: 3%;
}

.pt-3 {
  padding-top: 3%;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.p-l-3 {
  padding-left: 6%;
}
.p-r-3 {
  padding-right: 3%;
}
.pagewrap {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
