/* @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap'); */
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/*1680 x 916 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  background: url("./img/dachdecker-auf-dach.webp") no-repeat center center/cover;
  height: 850px;
  color: white;
  position: relative;
}

header img {
  width: 350px;
  position: absolute;
  left: 50rem;
  top: 2rem;
}

header div {
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
}

.herotext1,
.herotext2 {
  background-color: #bd1622;
  position: absolute;
  padding-left: 25px;
  padding-right: 25px;
}

.herotext1 {
  bottom: 4rem;
}

.herotext2 {
  bottom: 0;
}

h1 {
  font-size: 3.5rem;
  color: #bd1622;
  text-align: center;
  margin-top: 15rem;
  margin-bottom: 5rem;
}

.container {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.maincontainer {
    margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.intro,
.leistungen {
  max-width: 1000px;
}

.intro,
.leistungen,
.kontakt {
  margin: 2rem 0;
}

.intro h2 {
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.introcontent {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.introtexte {
  max-width: 420px;
}

.introcontent img {
  max-width: 402px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.intro p,
.leistungen p {
  margin: 1rem 0;
  line-height: 1.5;
}

.leistungen,
.kontakt,
footer {
  margin-top: 15rem;
}

.leistungen h2 {
  margin-bottom: 1.2rem;
  margin-left: 38.9rem;
}

.leistungencontent {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.leistungenliste {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.leistungenliste ul {
  list-style: none;
  padding: 0;
  padding-top: 1rem;
  margin: 0;
}

.leistungenliste li {
  padding-bottom: 15px;
  font-size: 20px;
}

.leistungenliste li::before {
  display: inline-block;
  content: "-";
  color: #bd1622;
  font-weight: 900;
  width: 15px;
  margin-right: 15px;
}

.leistungen img {
  width: 593px;
  height: 428px;
}

.leistungenbutton {
  margin-top: 2.5rem;
  padding: 15px;
  background-color: #bd1622;
  color: white;
  font-weight: 400;
  font-size: 18px;
  border: 3px transparent solid;
  border-radius: 0;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.leistungenbutton:hover {
  color: #bd1622;
  background-color: white;
  border: 3px solid #bd1622;
}

.kontakt {
  background-color: #bd1622;
  height: 55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.kontakt h2 {
  color: white;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  margin: 3rem 0;
}

a {
  color: #bd1622;
}

a:hover {
  background-color: #bd1622;
  color: white;
}

/* form label,
form input,
form textarea {
  display: block;
  width: 45vh;
  padding: 0.5rem;
  border: none;
  background: #bd1622;
  text-align: left;
  color: white;
}

form input,
form textarea {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid white;
}

form button {
  background: white;
  border: 3px solid transparent;
  color: #c00000;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin: 3rem 0;
  font-weight: 400;
  font-size: 18px;
}

form button:hover {
  background-color: #bd1622;
  border: 3px solid white;
  color: white;
}

form p {
  color: white;
  font-weight: 200;
  margin-top: 2rem;
} */

footer {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 5rem;
}

.footerbox {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footerbox img {
  width: 12rem;
}

.footertextbox {
  text-align: right;
}

.footername {
  font-size: 20px;
}
.footername,
.footeradresse,
.footeremail {
  margin-bottom: 15px;
}

/*impressum/datenschutz*/
.container img {
    width: 150px;
    margin-top: 2rem;

}

.h2impressum {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}
.containerimpressum {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: 12rem;
  width: 70%;
}

.containerdatenschutz {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  max-width: 70%;
  margin-left: 12rem;
}

.containerdatenschutz p {
  padding-bottom: 15px;
  line-height: 1.5;
}

.ulds {
  list-style: none;
}
.h1datenschutz {
  margin-top: 4rem;
}

.h2datenschutz {
  margin-bottom: 1rem;
  margin-top: 2rem;
}

@media only screen and (max-width: 756px) {
  header {
    background: url("./img/dachdecker-auf-dach.webp");
    height: 577px;
    color: white;
    position: relative;
    background-size: cover;
    background-position: -292px 0px;
    background-repeat: no-repeat;
  }

  header img {
    width: 249px;
    position: absolute;
    left: 5rem;
    top: 1rem;
  }

  header div {
    font-size: 2.5rem;
  }

  .herotext1 {
    bottom: 5.8rem;
  }

  h1 {
    margin-top: 2rem;
    font-size: 2.5rem;
    padding: 27px;
    text-align: left;
  }

  .intro {
    margin-left: 1rem;
  }

  .intro h2 {
    max-width: 50vh;
    padding-right: 60px;
    padding-left: 15px;
    margin-top: -3rem;
  }

  .introcontent {
    display: flex;
    flex-wrap: wrap;
    padding-right: 30rem;
    padding-left: 19px;
  }

  .intro p {
    width: 70%;
  }

  .introcontent img {
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    height: 350px;
  }

  .leistungen h2 {
    margin-left: 0;
    padding-right: 40rem;
    margin-top: -12rem;
    width: auto;
  }

  .leistungen img {
    max-width: 350px;
    height: 300px;
  }

  .leistungenliste ul {
    padding-right: 11rem;
  }

  .leistungenbutton {
    max-width: 37vh;
    text-align: center;
  }
  .kontakt form,
  .kontakt label,
  .kontakt input,
  .kontakt textarea {
    width: 100%;
  }

  .footerbox {
    flex-wrap: wrap;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footertextbox {
    text-align: center;
    padding-right: 7rem;
    padding-left: 101px;
  }

  .containerdatenschutz,
  .containerimpressum {
    margin-left: 2rem;
  }

  .containerdatenschutz ul {
    padding-left: 25px;
  }

  .containerdatenschutz ul li {
    margin-bottom: 15px;
  }

  .h1datenschutz {
    margin-top: 2rem;
    text-align: left;
    word-wrap: anywhere;
    padding-left: 17px;
    letter-spacing: 1px;
  }
}

@media only screen and (min-width: 1695px) {
  header img {
    width: 350px;
    position: absolute;
    left: 60rem;
    top: 2rem;
  }
}
