:root {
  --braun: #af976d;
  --black: black;
  --white: white;
}

body {
  color: var(--braun);
  font-family: Inter, sans-serif;
  font-size: 14vw;
  line-height: 20px;
}

h1 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 2.18rem;
  font-weight: 600;
  line-height: 1.1;
}

h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
  line-height: 30px;
}

p {
  color: var(--black);
  margin-bottom: 0;
  font-size: 1.0625rem;
  line-height: 1.45;
}

a {
  font-size: 1rem;
  text-decoration: underline;
}

.header {
  grid-row-gap: 5vw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 5vw;
  padding-top: 3vw;
  display: flex;
}

.logo {
  width: 200px;
}

.section {
  margin-bottom: 5.017rem;
}

.outside-wrapper {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-flex {
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  flex-direction: row;
  justify-content: space-between;
  display: flex;
}

.container-flex.mirrow {
  flex-direction: row-reverse;
}

.container-flex.footer-settings {
  width: 73%;
  max-width: 1100px;
  padding-top: 5.017rem;
  padding-bottom: 5.017rem;
}

.container-content {
  width: 50%;
  grid-row-gap: 2rem;
  text-align: center;
  flex-direction: column;
  align-self: center;
  align-items: center;
  display: flex;
}

.container-content.footer {
  align-self: flex-start;
}

.btn-primary {
  border: 1px solid var(--braun);
  color: var(--braun);
  background-color: #fff;
  border-radius: .625rem;
  padding: .81rem 2rem;
  font-size: .9375rem;
  transition: all .325s cubic-bezier(.165, .84, .44, 1);
}

.btn-primary:hover {
  background-color: var(--braun);
  color: var(--white);
  transform: scale(1.06);
}

.img-xl {
  object-fit: cover;
  border-radius: .625rem;
}

.firma-logo {
  max-width: 19rem;
}

.firma-logo.wohnraum {
  max-width: 12rem;
}

.footer {
  background-color: var(--braun);
  color: var(--white);
  flex-direction: column;
  align-items: center;
  display: flex;
}

.p-footer {
  color: var(--white);
  text-align: left;
}

.footer--meta-nav {
  opacity: .5;
  color: var(--white);
  margin-bottom: 50px;
  font-size: .75rem;
  text-decoration: none;
  display: inline-block;
}

.footer--meta-nav:hover {
  text-decoration: underline;
}

.paragraph {
  line-height: 1.5625rem;
}

.p-centered {
  text-align: center;
}

.text-link {
  color: var(--braun);
  border-bottom: 1px solid rgba(175, 151, 109, .5);
  text-decoration: none;
}

.link-footer {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  font-size: 1.0625rem;
  text-decoration: none;
  transition: all .2s;
}

.link-footer:hover {
  border-bottom-color: var(--white);
}

@media screen and (min-width: 1280px) {
  h3 {
    font-weight: 600;
  }

  .outside-wrapper {
    padding-left: 4.5rem;
    padding-right: 4.5rem;
  }

  .container-flex {
    grid-column-gap: 5vw;
    grid-row-gap: 5vw;
  }

  .impressum-content {
    max-width: 860px;
  }

  .text-link {
    color: var(--braun);
  }

  .highlight {
    font-weight: 600;
  }
}

@media screen and (max-width: 991px) {
  .container-flex {
    align-items: stretch;
  }

  .container-flex.footer-settings {
    width: 100%;
  }

  .container-content {
    align-self: auto;
  }

  .container-content.footer {
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .img-xl {
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
  }

  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .header {
    margin-bottom: 8vw;
  }

  .container-flex {
    grid-row-gap: 30px;
    flex-direction: column;
  }

  .container-flex.mirrow {
    flex-direction: column;
  }

  .container-content {
    width: 100%;
  }

  .container-content.footer {
    align-items: flex-start;
  }

  .footer {
    align-items: flex-start;
    padding-left: 2rem;
  }

  .heading {
    font-size: 5vw;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 9vw;
  }

  .header {
    grid-row-gap: 11vw;
    margin-bottom: 16vw;
    padding-top: 15vw;
  }

  .logo {
    width: 150px;
  }

  .outside-wrapper {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .p-footer {
    font-size: .85rem;
  }

  .paragraph {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .heading {
    font-size: 9vw;
    line-height: 1px;
  }
}


