* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: sans-serif;
  box-sizing: border-box;
}

header {
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  -webkit-box-shadow: 0px 5px 13px -2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 13px -2px rgba(0, 0, 0, 0.74);
}
.logo a {
  font-size: 28px;
  font-weight: bold;
  color: rgb(0, 0, 0);
}

.kontaktb {
  display: none;
}

.burger {
  display: none;
}

.kontakt a {
  color: rgb(255, 255, 255);
  font-size: 20px;
  padding: 5px 20px;
  border-radius: 50px;
  background-color: #4d648d;
}

.kontakt:hover {
  scale: 1.05;
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

.kontakt:active {
  scale: 0.95;
}

.nav-bar ul {
  list-style: none;
}
.nav-bar ul li a {
  color: rgb(0, 0, 0);
  font-size: 20px;
  padding: 5px 20px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 0 5px;
}

.nav-bar ul li a:hover {
  background-color: #4d648d;
  color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

.nav-bar ul li a.active {
  background-color: #4d648d;
  color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

@media only screen and (max-width: 1320px) {
  header {
    padding: 0 50px;
  }
}

@media only screen and (max-width: 1100px) {
  header {
    padding: 0 30px;
  }
}

@media only screen and (max-width: 900px) {
  .burger {
    display: block;
    cursor: pointer;
  }

  .burger .line {
    width: 30px;
    height: 3px;
    background: rgb(0, 0, 0);
    margin: 6px 0;
  }

  .nav-bar {
    height: 0px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #ffffff;
    transition: 0, 2s;
    overflow: hidden;
  }

  .nav-bar.active {
    height: auto;
  }

  .nav-bar ul li a {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    margin-bottom: 20px;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }

  .nav-bar.active ul li a {
    opacity: 1;
  }

  .kontaktb {
    display: block;
  }
  .kontakt {
    display: none;
  }
}

/*Hero*/

.hero {
  height: calc(100vh - 60px);
  background-image: url(img/hero.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  padding-left: 40px;
}

.hero h1 {
  width: 100%;
  font-size: 100px;
  font-weight: bold;
  color: white;
}

@media only screen and (max-width: 1320px) {
  .hero h1 {
    font-size: 95px;
  }
  .hero {
    padding-left: 40px;
  }
}

@media only screen and (max-width: 1100px) {
  .hero h1 {
    font-size: 90px;
  }
  .hero {
    padding-left: 40px;
  }
}

@media only screen and (max-width: 900px) {
  .hero h1 {
    font-size: 75px;
    text-align: center;
  }
  .hero {
    padding-left: 5px;
    padding-top: 50px;
    flex-direction: column;
  }
}

/*Section1*/
.section1 {
  margin-top: 100px;
  margin-bottom: 100px;
  width: 100vw;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  padding: 5%;
}

.section1-foto {
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
  background-image: url(img/gebäude.jpg);
  background-size: cover;
}

.section1-text {
  text-align: left;
  display: flex;
  align-items: center;
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
}

.section1-text span {
  font-size: 50px;
  font-weight: bold;
}

.section1-text p {
  font-size: 25px;
}

@media screen and (max-width: 1100px) {
  .section1 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    height: auto;
  }
  .section1-foto,
  .section1-text {
    width: 100vw;
    height: 56.25vw;
  }

  .section1-text span {
    font-size: 40px;
    text-align: center;
  }

  .section1-text p {
    font-size: 18px;
    text-align: center;
  }
}

/*section2*/
.section2-text {
  font-size: 50px;
  font-weight: bold;
}
.section2 {
  margin-top: 100px;
  margin-bottom: 100px;
  width: 100vw;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section2-map {
  width: calc(100vw * 0.5);
  height: calc(56.25vw * 0.5);
}

@media screen and (max-width: 1100px) {
  .section2 {
    align-items: center;
    gap: 20px;

    height: auto;
  }
  .section2-map {
    width: 100vw;
    height: 70vw;
  }
  .section2-text {
    font-size: 40px;
  }
}

/*Section3*/
.section3 {
  font-size: 50px;
  font-weight: bold;
  text-align: center;
}
.section3-1 {
  margin-top: 100px;
  margin-bottom: 100px;
  width: 100vw;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  padding: 5%;
}

.section3-1-foto {
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
  background-image: url(img/tisch.jpg);
  background-size: cover;
}

.section3-1-text {
  text-align: left;
  display: flex;
  align-items: center;
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
}

.section3-1-text span {
  font-size: 50px;
  font-weight: bold;
}

.section3-1-text p {
  font-size: 25px;
}

.section3-2-foto {
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
  background-image: url(img/tür-restauration.jpg);
  background-size: cover;
}

.section3-3-foto {
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
  background-image: url(img/Rezeption.jpg);
  background-size: cover;
}

.section3-4-foto {
  width: calc(100vw * 0.4);
  height: calc(56.25vw * 0.4);
  background-image: url(img/GartenMöbel.jpg);
  background-size: cover;
}

@media screen and (max-width: 1100px) {
  .section3 {
    font-size: 40px;
  }
  .section3-1 {
    flex-direction: column;
    height: 70vh;
    gap: 0px;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .section3-1-foto,
  .section3-2-foto,
  .section3-3-foto,
  .section3-4-foto {
    width: 100vw;
    height: 56.25vw;
    padding-top: 100px;
  }
  .section3-1-text {
    width: 100vw;
    text-align: center;
    padding-top: 200px;
    padding-bottom: 200px;
  }
}

.ref-button {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.ref-button ul {
  list-style: none;
}
.ref-button ul li a {
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 50px;
  background-color: #4d648d;
  color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

@media screen and (max-width: 1100px) {
  .ref-button ul li a {
    margin-top: 50px;
    padding: 5px 10px;
    font-size: 15px;
  }
}
@media screen and (max-width: 900px) {
  .ref-button ul li a {
    margin-top: 50px;
    padding: 5px 10px;
    font-size: 10px;
  }
}

/*Footer*/
footer {
  margin-top: 50px;
  width: 100vw;
  padding: 15px 0;
  background-color: #4d648d;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-size: 20px;
}

footer a {
  color: #ffffff;
}

@media screen and (max-width: 1100px) {
  footer {
    flex-direction: column;
  }
}
