* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, p, a {
  font-family: Montserrat, serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: .1em;
  line-height: 1.5;
  text-decoration: none;
}

.main-wrapper {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 129px);
  position: relative;
}

.main-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 0;
}

.main-wrapper .inner {
  width: 100%;
  text-align: center;
}

.main-wrapper .inner h1 {
  font-size: 20px;
}

.main-wrapper img {
  object-fit: contain;
  width: 50%;
  height: 100%;
}

@media screen and (max-width: 922px) {
  .main-wrapper img {
    width: 90%;
  }
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 16px;
  background-color: #383838;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px 20px;
  transition: all .5s ease;
}

@media screen and (max-width: 992px) {
  #backToTopBtn {
    display: none !important;
  }
}

#backToTopBtn:hover {
  background-color: #45526e;
  color: #000;
}

.hero {
  position: relative;
}

#navbar {
  z-index: 1030;
}

.dropdown-menu {
  border: none;
  box-shadow: 0.5rem 1rem rgba(0,0,0,.15);
}

.dropdown-item {
  padding: 0.8rem 1.5rem;
  font-weight: 500;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgb(69,82,110);
  color: white;
}

h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

h3 {
  display: block;
  font-size: 1.17em;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.heizung-sanitaer-solar-title {
  font-weight: 400;
  font-size: 14px;
}

.schreiber-hss-title {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
}

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

p.span {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

.main-middle-span {
  content: '';
  height: 2px;
  width: 400px;
  background-color: #383838;
  display: block;
  margin-bottom: 10px;
}

.topbar a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #383838 !important;
  font-size: 14px;
  transition: all .5s ease;
}

.contact-infotext {
  padding: 25px;
  background-color: #45526e;
  color: #fff;
}

.contact-infotext h1 {
  font-size: 20px;
}

.contact-infotext p {
  margin-top: 18px;
  display: flex;
  align-items: center;
  font-optical-sizing: auto;
}

.contact-form button {
  color: #fff;
  background-color: #45526e;
}

