@import url("reset.css");

/*-----------FONTS-----------*/

/* montserrat-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-800 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/montserrat-v31-latin-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*-----------FONTGESTALTUNG-----------*/

body {
  font-family: 'Montserrat'
}

p {
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

a {
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

li {
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 25px
}


h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 70px;
  color: #c3c4c6;
}

h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 50px;
  color: #fff;
}

h3 {
  font-size: 30px;
  font-weight: 800;
  line-height: 50px;
  color: #c3c4c6;
}

h4 {
  font-size: 23px;
  font-weight: 700;
  line-height: 40px;
  color: #9e1925;
  margin-bottom: 30px;
}




/*-----------NAVI-----------*/

.top-nav {
  position: sticky;
  top: 0;
  background: white;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 95%;
  margin: auto;
  padding: 10px 5px;
}

/* STRUCTURE */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.nav-menu a.termin-buchen {
  background-color: #9e1925;
  padding: 10px;
  border-radius: 20px 0px 20px 0px;
  color: #fff;
}

.logo a {
  color: #9e1925;
}

/* LINKS */
.nav-menu a {
  color: #9e1925;
  text-decoration: none;
}

.nav-menu a:hover {
  text-decoration: underline;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-menu a {
  display: block;
  padding: 12px 15px;
  color: #054162;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* BURGER */
#burger-toggle {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: black;
}

.logo img {
  height: 70px;
  margin-left: -90px;
  width: auto;
  display: block;
}



/* MOBILE */
@media (max-width: 1200px) {
  .burger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background: white;
    padding: 20px 0;
  }

  #burger-toggle:checked~.nav-menu {
    display: flex;
  }

  .logo img {
    height: 70px;
    margin-left: 0px;
    width: auto;
    display: block;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    gap: 15px;
    text-align: center
  }

  .logo {
    order: -1;
    margin-bottom: 15px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }
}


/*-----------ASIDE-----------*/

aside img {
  position: fixed;
  background-color: #9e1925;
  width: 30px;
  z-index: 999;
  padding: 10px;
  border-radius: 20px 0px 20px 0px;
  right: 0;
  transition: 0.5s;
}

aside img:hover {
  background-color: #c3c4c6;
}

.phone {
  top: 300px;
}

.mail {
  top: 360px;
}

.Zeiten {
  top: 420px;
}


/*-----------SUBNAV-----------*/

.subnav {
  position: fixed;
  bottom: 0;
  color: #fff;
  z-index: 999;
  transition: 0.5s;
  width: 100%;
  text-align: right;
}

.subnav a {
  color: #fff;
  padding: 8px 15px;
  font-size: 13px;
  background-color: #fff;
  color: #9e1925;
  border-radius: 25px 0px 25px 0px;
  margin-left: 20px;
  line-height: 23px;
}

.subnav a:nth-of-type(2) {
  margin-right: 5%;
}

.subnav a:hover {
  background-color: #9e1925;
  color: #fff;
}


/*-----------HEADER-----------*/

.header1 {
  background: url("../images/header-ueberuns.png") no-repeat;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.header2 {
  background: url("../images/header-leistungen.jpeg") no-repeat;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.header3 {
  background: url("../images/galerie.jpeg") no-repeat;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.header4 {
  background: url("../images/besonderer-service.jpeg") no-repeat;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.header5 {
  background: url("../images/impressum.jpeg") no-repeat;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

#stoerer {
  position: absolute;
  left: 0px;
  bottom: 0px;
  right: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.66);
  padding: 20% 50px;
  text-align: center;
}



/*-----------AUFBAU-----------*/

html {
  scroll-behavior: smooth;
}


.btn {
  background-color: #9e1925;
  color: #fff;
  padding: 10px 30px;
  transition: 0.5s;
  border-radius: 30px 0px 30px 0px;
}

.btn:hover {
  background-color: #dc858c;
}

.btn.white {
  color: #fff;
}

@media (max-width: 1200px) {
  #stoerer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.83);
    padding: 30% 50px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  #stoerer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.83);
    padding: 35% 50px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  #stoerer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.83);
    padding: 50% 50px;
    text-align: center;
  }
}

@media (max-width: 500px) {
  #stoerer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.83);
    padding: 56% 50px;
    text-align: center;
  }
}

/*-----------ÜBERUNS-1-----------*/
#ueberuns, #ueberuns-alt {
  padding: 100px 100px;
}

/* Überschriften */
#ueberuns h3, #ueberuns-alt h3{
  text-align: center;
}

.h4-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.h4-wrapper h4 {
  margin: 0;
  text-align: center;
}

.h4-wrapper .line {
  flex: 1;
  height: 3px;
  max-width: 110px;
  background: #c3c4c6;
}

/* Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Text */
.text {
  padding: 100px;
  text-align: left;
}

.btn {
  margin-top: 20px;
  border: none;
  display: inline-block;
  text-decoration: none;
}

/* Bilder */
.image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image img:hover {
  transform: scale(1.05);
}

/* WICHTIG:
     Untere linke Ecke vom oberen Bild
     trifft obere rechte Ecke vom unteren Bild */
.image-top {
  position: relative;
  z-index: 2;
}

.image-bottom {
  position: relative;
  margin-top: 0px;

}


/* Responsive */
@media (max-width: 1780px) {
  .text {
    padding: 70px;
    text-align: left;
  }
}

@media (max-width: 1630px) {
  .text {
    padding: 50px;
    text-align: left;
  }
}

@media (max-width: 1460px) {
  .text {
    padding: 30px;
    text-align: left;
  }
}

@media (max-width: 1375px) {
  .text {
    padding: 30px;
    text-align: left;
  }

  .text p {
    line-height: 20px;
  }

}

@media (max-width: 1150px) {

  .text p,
  a,
  .btn a,
  strong {
    font-size: 12px;
    line-height: 15px;
  }

  .btn {
    background-color: #9e1925;
    color: #fff;
    padding: 5px 16px;
    transition: 0.5s;
    border-radius: 30px 0px 30px 0px;
  }
}

@media (max-width: 900px) {
  #ueberuns,  #ueberuns-alt {
    padding: 60px 40px;
  }

  .text {
    padding: 30px 0px;
    text-align: left;
  }

  .h4-wrapper,
  #ueberuns h3,
  #ueberuns-alt h3 {
    padding: 0px 70px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .h4-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .image-bottom {
    margin: 0;
  }

  .image img {
    width: 70%;
    height: auto;
    display: block;
    gap: 20px;
    margin-bottom: 24px;
    margin-left: 12%;
    padding: 20px;
  }

}

@media (max-width: 800px) {
  #ueberuns,  #ueberuns-alt {
    padding: 60px 90px;
  }
}

@media (max-width: 700px) {

  .h4-wrapper,
  #ueberuns h3,
  #ueberuns-alt h3 {
    padding: 0px 10px;
  }

    .team-grid {
      grid-template-columns: 1fr;
    } 
}

@media (max-width: 600px) {
  #ueberuns,  #ueberuns-alt {
    padding: 60px 30px;
  }

  .image img {
    width: 80%;
    height: auto;
    display: block;
    gap: 20px;
    margin-bottom: 24px;
    margin-left: 7%;
    padding: 0px;
  }

  #mitarbeiter {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}


/*-----------MITARBEITER-----------*/

#mitarbeiter {
  padding: 90px 100px;
  background: linear-gradient(to bottom, #ccc 0%, #fff 100%);
  text-align: center;
}

/* Überschriften */
#mitarbeiter h3 {
  margin-top: 0;
  color: #fff;
}

.h4-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.h4-wrapper h4 {
  margin: 0;
}

.h4-wrapper .line {
  flex: 1;
  height: 2px;
  background: #fff;
}

.h4-wrapper .line.line-alt-color {
  background: #d8d8d8
}

/* Text & Button */
#mitarbeiter p {
  max-width: 1000px;
  margin: 0 auto 20px auto;
  /* padding: 30px 60px 30px 30px; */
}

.btn {
  margin-bottom: 60px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Karten */
.team-card {
  overflow: hidden;
  border-radius: 80px 0px 80px 0px;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-card img {
  width: 100%;
  height: 100%;  
  object-fit: cover;
  object-position: top;
}

.team-card .img-frame{
  aspect-ratio: 1;
  width: 100%;  
  overflow: hidden;
}

/* Roter Balken */
.team-card .overlay {
  width: 100%;
  background: #9e1925;
  padding: clamp(20px, 5%, 60px);
  box-sizing: border-box;
}

.team-card .overlay * {
  box-sizing: border-box;
}

.team-card .overlay p {
  margin: 0;
  color: #fff;
  text-align: center;
}

.pointer {
  cursor: pointer;
}

/* Responsive */

@media (max-width: 1580px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

}

@media (max-width: 1420px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

}

@media (max-width: 1295px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1150px) {
  #mitarbeiter p {
    font-size: 12px;
    line-height: 17px;
  }
}


@media (max-width: 900px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: 30px;
    margin-right: 40px;
  }
}

@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  #mitarbeiter {
    padding-left: 90px;
    padding-right: 90px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .image img {
    width: 80%;
    height: auto;
    display: block;
    gap: 20px;
    margin-bottom: 24px;
    margin-left: 4%;
    padding: 20px;
  }

  .text {
    padding: 30px 30px 0px 30px;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .team-grid {
    gap: 20px;
    margin-left: 30px;
    margin-right: 40px;
  }
}

@media (max-width: 600px) {
  #mitarbeiter {
    padding-left: 40px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

}

@media (max-width: 500px) {
  .team-grid {
    gap: 25px;
    margin-left: 10px;
    margin-right: 10px;
  }

  #mitarbeiter {
    padding-left: 25px;
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/*-------POPUP----------*/

.popup-btn {
  padding: 10px 30px;
  margin: 6px;
  border: none;
  border-radius: 30px 0px 30px 0px;
  background: #ffffff;
  color: #054162;
  text-decoration: none;
  cursor: pointer;
}

#popup-overlay {
  position: fixed;
  inset: 0;
  background: #054162d7;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#popup {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  position: relative;
}

#close-popup {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

.popup-content {
  display: none;
}

/*-----------Paralax1-----------*/
.parallax1 {
  width: 100%;
  height: 60vh;
  background-image: url("../images/para1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 1024px) {
  .parallax1 {
    height: 60vh;
  }
}

/* Mobile (Parallax-Fallback, da fixed dort schlecht läuft) */
@media (max-width: 768px) {
  .parallax1 {
    height: 50vh;
    background-attachment: scroll;
  }
}

/*-----------Leistungen-----------*/
#leistungen {
  max-width: 80%;
  margin: 0 auto;
  padding: 100px 0px 20px;
}

#leistungen h3,
#leistungen h4 {
  text-align: center;
}

.leistungen-text {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.leistungen-text p {
  flex: 1;
}


/* Responsive */
@media (max-width: 768px) {
  .leistungen-text {
    flex-direction: column;
    gap: 20px;
  }
}

/*----------- produkte - leistungen -----------*/

.produkte {
  padding-top: 90px ;
  max-width: 80%;
  margin: 0 auto;
}

.produkte h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.produkte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.produkt-karte {
  position: relative;
  text-align: center;
}

.produkt-karte img {
  width: 100%;
  border-radius: 70px 0px;
}

.produkt-karte p {
  margin: 1rem 0;
}

.plus-btn {
  width: 48px;
  height: 48px;
  border-radius: 50% 0px;
  border: none;
  background: #9e1925;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 600px) {
  .plus-btn {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
}

/*-----------Leistungen - Auflistung -----------*/
/* LEISTUNGEN NEU */

.overview-wrapper {
  max-width: 80%;
  margin: 20px auto;
  padding: 0 20px;
  
}

.overview-title {
  text-align: center;
  margin-bottom: 40px;
  color: #9e1925;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.overview-item {
  position: relative;
  background: #c3c4c6;
  padding: 20px;
  color: #fff;
  text-align: center;
  border-radius: 30px 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 30px;          /* klein im geschlossenen Zustand */
  overflow: hidden;
  transition: all 0.3s ease;
}

.overview-item.active {
  height: auto;           /* wächst passend zum Inhalt */
  padding-bottom: 70px;   /* Platz für Button */
}

.overview-item > p {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
}

.toggle-text {
  display: none;
  margin-top: 14px;
}

.toggle-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #9e1925;
  color: #fff;
  border: none;
  border-radius: 15px 0px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

.toggle-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Button Preise */


.overview-button-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 130px;
}

.preise-button {
  display: inline-block;
  padding: 12px 28px;
  background: #9e1925;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px 0px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

.preise-button:hover {
  background: #c3c4c6;
  transform: translateY(-2px);
}




/*-----------Galerie-----------*/


.gallery-section {
  padding: 0 0 90px;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Seitenweite Verdunkelung */
.gallery-section::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #05416283;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;

}

/* Aktiviert Seitenverdunkelung */
.gallery-section:has(.gallery-item:hover)::before {
  opacity: 1;
}

.gallery {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* ← Abstand zwischen den Bildern */
  position: relative;
  overflow: visible;
  z-index: 6;
}

.gallery-item {
  position: relative;
  z-index: 6;
  max-height: 450px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 150px 0px;
  transition:
    transform 0.9s ease,
    border-radius 0.9s ease,
    filter 0.9s ease;
}

/* 🔥 NUR NICHT-GEHOVERTE BILDER DUNKLER */
.gallery:has(.gallery-item:hover) .gallery-item:not(:hover) img {
  filter: brightness(0.4);
}

/* Hover-Bild */
.gallery-item:hover {
  z-index: 20;
}

.gallery-item:hover img {
  filter: brightness(1);
  transform: scale(1.05);
  border-radius: 0;
  width: 100%;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item {
    height: 350px;
  }

}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item img {
    border-radius: 150px 0px;
  }
}

@media (max-width: 600px) {
  .gallery-item {
    height: 250px;
  }

  .gallery-item img {
    border-radius: 120px 0px;
  }
}

@media (max-width: 400px) {
  .gallery-item {
    height: 150px;
  }

  .gallery-item img {
    border-radius: 80px 0px;
  }
}

/*-----------FOOTER-----------*/

.footer {
  background-color: #054162;
  color: #ffffff;
  padding: 90px 80px;
}

.footer-head {
  text-align: center;
  margin-bottom: 40px;
}

.footer-col a {
  margin-left: 3px;
  color: #ffffff;
}

.footer-head h3 {
  color: #ffffff;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  margin: 0 auto;
}

.footer-col p {
  margin-bottom: 15px;
}

/* Icon-Listen */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.icon-list img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .icon-list li {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer {
    background-color: #054162;
    color: #ffffff;
    padding: 90px 40px;
  }
}

/*-----------RESPONSIVE-----------*/

@media screen and (max-width: 1366px) {

  .header1,
  .header2,
  .header3,
  .header4,
  .header5 {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 25px;
    line-height: 30px;
  }

  .logo {
    position: absolute;
  }

  .header1,
  .header2,
  .header3,
  .header4,
  .header5 {
    height: 95vh;
  }

  nav {
    background: none;
    box-shadow: 0 0 0;
  }

  nav ul {
    display: none;
  }

  .navi {
    display: block;
  }

  .nav-left {
    flex-direction: column;
    gap: 15px;
    Margin-top: 80px;
  }

  .nav-right {
    margin-top: 15px;
  }
}


@media screen and (max-width: 700px) {
  main {
    text-align: center;
  }
}

@media screen and (max-width: 500px) {
  h2 {
    font-size: 25px;
    line-height: 35px;
  }

  h1 {
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 30px;
  }

  h4 {
    font-size: 15px;
    line-height: 25px;
  }

  h3 {
    font-size: 23px;
    line-height: 28px;
  }

  aside img {
    width: 20px;
  }

  .mail {
    top: 200px
  }

  .phone {
    top: 250px
  }

  .Zeiten {
    top: 300px
  }

  #stoerer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.83);
    padding: 47% 33px;
    text-align: center;
  }

}