/*
CSS VARIABLE PRIMARY COLOR
*/
:root {
  --color--primary: #d9000d;
  --color--secondary: #ffe800;
  --color--tertiary: #580c0c;
}

body,
html {
  background: #f5f5f5;
}

#wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

/* #wrapper:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 90%;
  background-image: url(../img/birne.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  transform: translate3d(-25%, 25%, 0);
  opacity: 0.1;
} */

.card {
  position: relative;
  z-index: 5;
  border: 0;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin: 3rem 0;
}

#logo {
  text-align: center;
  margin-bottom: 1rem;
}

#logo img {
  width: 100%;
  max-width: 420px;
}

hr:not([size]) {
  height: 2px;
}

hr {
  background-color: var(--color--primary);
  opacity: 1;
}

ul.leistungen {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 15px 30px;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}

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

ul.leistungen li,
ul.kontakt li {
  position: relative;
  padding-left: 25px;
}

ul.leistungen li:before,
ul.kontakt li:before {
  position: absolute;
  left: 0;
  top: 7px;
  content: "";
  width: 18px;
  height: 13px;
  background-image: url(../img/check.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

ul.kontakt li.adresse:before {
  background-image: url(../img/location.svg);
}
ul.kontakt li.telefon:before {
  background-image: url(../img/phone.svg);
}
ul.kontakt li.email:before {
  background-image: url(../img/mail.svg);
}

ul.kontakt {
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 768px) {
  ul.kontakt {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  ul.kontakt li {
    margin: 0.5rem auto;
  }
}

footer {
  width: 100%;
  height: 30px;
  background: var(--color--primary);
}

a {
  color: var(--color--primary);
}
a:hover {
  color: var(--color--tertiary);
}
