/* Impressum, Datenschutz, AGB – angelehnt an andresen-immobilien.de */

/* layout.css setzt .txt_copy auf Sans – hier durchgehend Portrait */
.page-legal .txt_copy p,
.page-legal .txt_copy h2,
.page-legal .txt_copy h3,
.page-legal .txt_copy li {
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
}

#impressumstext .outer_wrapper,
#datenschutztext .outer_wrapper,
#agbtext .outer_wrapper {
  padding-top: 140px;
  padding-bottom: clamp(1.875rem, -1.94rem + 10.19vw, 8.75rem);
}

#impressumstext .outer_wrapper .title > *,
#datenschutztext .outer_wrapper .title > *,
#agbtext .outer_wrapper .title > * {
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(3.125rem, 1.04rem + 6.94vw, 9.375rem);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: center;
  color: #2a2a2a;
}

#impressumstext .outer_wrapper:last-of-type,
#datenschutztext .outer_wrapper:last-of-type,
#agbtext .outer_wrapper:last-of-type {
  padding-top: 0;
  padding-bottom: clamp(1.875rem, -0.56rem + 6.48vw, 6.25rem);
}

#impressumstext .outer_wrapper:last-of-type h1,
#impressumstext .outer_wrapper:last-of-type h2,
#impressumstext .outer_wrapper:last-of-type h3,
#impressumstext .outer_wrapper:last-of-type h4,
#datenschutztext .outer_wrapper:last-of-type h1,
#datenschutztext .outer_wrapper:last-of-type h2,
#datenschutztext .outer_wrapper:last-of-type h3,
#datenschutztext .outer_wrapper:last-of-type h4,
#agbtext .outer_wrapper:last-of-type h1,
#agbtext .outer_wrapper:last-of-type h2,
#agbtext .outer_wrapper:last-of-type h3,
#agbtext .outer_wrapper:last-of-type h4 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(1.5rem, 1.1rem + 1.33vw, 2.5rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #3b3a39;
}

#impressumstext .outer_wrapper:last-of-type h5,
#impressumstext .outer_wrapper:last-of-type h6,
#datenschutztext .outer_wrapper:last-of-type h5,
#datenschutztext .outer_wrapper:last-of-type h6,
#agbtext .outer_wrapper:last-of-type h5,
#agbtext .outer_wrapper:last-of-type h6 {
  margin-top: 24px;
  margin-bottom: 0;
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(1.125rem, 0.975rem + 0.5vw, 1.5rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #3b3a39;
}

#impressumstext .outer_wrapper:last-of-type p,
#impressumstext .outer_wrapper:last-of-type li,
#datenschutztext .outer_wrapper:last-of-type p,
#datenschutztext .outer_wrapper:last-of-type li,
#agbtext .outer_wrapper:last-of-type p,
#agbtext .outer_wrapper:last-of-type li {
  margin-bottom: 16px;
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(1rem, 0.63rem + 0.77vw, 1.5rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #3b3a39;
}

#impressumstext .outer_wrapper:last-of-type a,
#datenschutztext .outer_wrapper:last-of-type a,
#agbtext .outer_wrapper:last-of-type a {
  color: inherit;
  text-decoration: underline;
}

#agbtext .outer_wrapper:last-of-type ol {
  padding-left: 1.25rem;
  list-style-type: decimal-leading-zero;
}

@media (max-width: 960px) {
  #impressumstext .outer_wrapper,
  #datenschutztext .outer_wrapper,
  #agbtext .outer_wrapper {
    padding-top: 110px;
  }
}
