body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.container {
  width: 1202px;
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  column-gap: 22px;
  margin: 0 auto;
  grid-auto-rows: auto;
}

.logo {
  width: 353px;
  height: auto;
  grid-column: col-start / span 3;
  margin-top: 60px;
  margin-left: 65px;
}

.container .title-container {
  grid-column: col-start / span 12;
}

.container .title-container h1 {
  text-align: center;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0.02em;
  color: #d32e3f;
  font-weight: 300;
  padding-top: 5vh;
}

.contact-info {
  background-color: #efefef;
  width: 100%;
  min-height: 25vh;
  display: flex;
  align-items: center;
  gap: 16px;
  position: fixed;
  bottom: 23vh;
  height: auto;
  padding: 45px 0;
}

.contact-info h2 {
  grid-column: col-start 2 / span 10;
  color: #000000;
  font-size: 25px;
  line-height: 35px;
  letter-spacing: 0.03em;
  margin: 0;
  font-weight: 300;
  margin-bottom: 16px;
}

.contact-info p {
  color: #000000;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.03em;
  margin: 0;
}

.contact-info a {
  display: block;
  color: #000000;
  text-decoration: none;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.03em;
  margin: 0;
}

.contact-info .address-rickenbach {
  grid-column: col-start 2 / span 4;
}

.contact-info .address-eschlikon {
  grid-column: col-start 6 / span 4;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  height: 23vh;
  position: fixed;
  bottom: 0;
}

.tel {
  width: 61%;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  background-color: #ffffff;
}

.tel a {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 22px;
  text-decoration: none;
}

.download {
  width: 39%;
  background-color: #d0d0d0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.download a {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 22px;
  padding-left: 63px;
  text-decoration: none;
}

h3 {
  font-weight: 400;
  font-size: 35px;
  line-height: 40px;
  letter-spacing: 0.03em;
  color: #000000;
}

a {
  cursor: pointer;
}

@media (min-width: 1201px) {
  footer {
    position: static;
    display: grid;
    grid-template-columns: 61% 39%;
    grid-template-rows: auto auto;
    height: auto;
  }
  .contact-info {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .tel {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 23vh;
    justify-content: flex-start;
    padding-left: calc((100vw - 1202px) / 2 + 102px);
  }
  .download {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 23vh;
  }
}

@media (min-width: 800px) and (max-width: 1200px) {
  .container {
    width: 90%;
    row-gap: 20px;
  }
  .container .title-container h1 {
    font-size: 32px;
    line-height: 40px;
    padding-top: 40px;
  }
  .logo {
    width: 40%;
    margin: 0;
    margin: 30px 0 0 30px;
  }
  .contact-info {
    position: static;
    padding: 20px 0;
    height: auto;
  }
  .contact-info h2 {
    font-size: 22px;
    line-height: 28px;
  }
  .contact-info .container {
    flex-direction: row;
    height: auto;
  }
  .contact-info .address-rickenbach {
    grid-column: col-start 2 / span 5;
  }

  .contact-info .address-eschlikon {
    grid-column: col-start 7 / span 4;
  }
  footer {
    position: static;
    flex-direction: column;
    height: auto;
  }
  .tel {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0px 10px calc(5vw + (90vw - 242px) / 12 + 22px);
  }
  .download {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0px 10px calc(5vw + (90vw - 242px) / 12 + 22px);
  }

  .download a {
    padding: 0;
  }
}

@media (max-width: 800px) {
  body {
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  .main-content {
    flex: 1;
  }
  .container {
    width: 100%;
    row-gap: 10px;
  }
  .container .title-container h1 {
    font-size: 28px;
    line-height: 36px;
    padding: 30px 30px 0;
  }
  .container .title-container h1 br {
    display: none;
  }
  .logo {
    width: 60%;
    margin: 0;
    margin: 30px 0 0 30px;
  }
  .contact-info {
    padding: 20px 0;
    height: auto;
    position: static;
  }
  .contact-info h2 {
    font-size: 22px;
    line-height: 28px;
  }
  .contat-info .container {
    flex-direction: column;
    height: auto;
  }
  .contact-info .address-rickenbach,
  .contact-info .address-eschlikon {
    grid-column: col-start 2 / span 10;
    margin: 0;
  }
  .contact-info p,
  .contact-info a {
    font-size: 16px;
    line-height: 24px;
  }
  footer {
    flex-direction: column;
    position: static;
    height: auto;
  }
  body {
    padding-bottom: 0;
  }
  .tel {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 10px 0px 10px calc((100vw - 242px) / 12 + 22px);
  }
  .download {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 10px 0px 10px calc((100vw - 242px) / 12 + 22px);
  }
  .download a {
    padding: 0;
  }
  .tel img,
  .download img {
    width: 46px;
    height: 46px;
  }
  h3 {
    font-size: 20px;
    line-height: 25px;
    margin: 10px 0;
  }
}
