@font-face {
  font-family: FielmannSans;
  src: url("assets/FielmannSans-Regular.ttf") format("truetype");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  width: 100%;
  height: 100%;
  font-size: 62%;
  font-family: FielmannSans, Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 750px), (min-width: 1280px) {
  html {
    font-size: 63%;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: FielmannSans, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1rem;
  line-height: normal;
  color: #000;
  background: #fff;
}

.page {
  position: relative;
  min-height: 100vh;
}

.background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #dcdce0;
  opacity: 0.5;
}

.background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% 30%;
}

.page-datenschutz .background img {
  height: auto;
  object-fit: unset;
  object-position: 0 0;
}

.content {
  position: relative;
  z-index: 1;
  padding: 0 0 140px;
}

.logo {
  display: block;
  width: 200px;
  height: 100px;
  margin: 0 0 0 70px;
  overflow: visible;
}

.logo img {
  display: block;
  width: 200px;
  height: 150px;
  object-fit: contain;
  object-position: left center;
}

.letter {
  width: 91.666%;
  max-width: none;
  margin: 48px 36px 36px;
  padding: 20px;
  letter-spacing: 0.1rem;
  line-height: normal;
}

h1 {
  margin: 10px 0;
  padding: 0 12px;
  font-size: 72px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: -1.2px;
}

.letter h2,
.letter p {
  margin: 10px 0;
  padding: 0 12px;
  font-size: 24px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: -0.1px;
}

.letter a {
  color: #000;
  font-weight: 400;
  letter-spacing: normal;
  line-height: normal;
}

.legal {
  width: 41.666%;
  max-width: 594px;
  margin: 24px 36px 36px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal a,
.legal li {
  overflow-wrap: anywhere;
}

.legal h1 {
  margin: 10px 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.legal h2 {
  margin: 10px 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.legal p,
.legal li {
  margin: 10px 0;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0.1rem;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

.legal a {
  color: #337ab8;
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 36px;
  background: #fff;
  font-size: 18px;
}

.footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: #000;
  font-size: 18px;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  font-size: 18px;
}

@media (max-width: 551px) {
  .logo {
    width: 170px;
    height: 100px;
    margin-left: 40px;
  }

  .logo img {
    width: 170px;
    height: 130px;
    object-fit: contain;
    object-position: left center;
  }

  .letter {
    width: auto;
    max-width: none;
    margin: 10px 20px 36px 18px;
    padding: 20px 12px;
  }

  .legal {
    width: auto;
    max-width: none;
    margin: 10px 18px 36px;
    padding: 20px 16px;
  }

  h1 {
    margin-top: 0;
    font-size: 48px;
  }

  .legal h1,
  .legal h2 {
    font-size: 24px;
  }

  .footer {
    padding: 24px;
  }
}
