/* Shared legal pages: AGB, privacy and imprint. */
.oh-legal-hero {
  padding: 16px 0 36px;
  border-bottom: 1px solid var(--oh-color6);
}

.oh-content-overline {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oh-content-lead {
  font-size: 17px;
  line-height: 1.7;
}

.oh-legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.oh-legal-toc {
  position: sticky;
  top: 24px;
}

.oh-legal-toc > p {
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--oh-color6);
}

.oh-legal-toc a {
  color: var(--oh-color4);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.oh-legal-toc a:hover {
  color: var(--oh-primary);
}

.oh-legal-section {
  scroll-margin-top: 120px;
  margin-bottom: 44px;
}

.oh-legal-section:last-child {
  margin-bottom: 0;
}

.oh-legal-number {
  display: block;
  margin-bottom: 6px;
  color: var(--oh-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.oh-legal-section > h2 {
  padding-bottom: 15px;
}

.oh-content-richtext {
  max-width: 780px;
  line-height: 1.75;
}

.oh-content-richtext ul,
.oh-content-richtext ol {
  padding-left: 20px;
}

.oh-content-richtext li::marker {
  color: var(--oh-primary);
}

.oh-legal-inline-card {
  padding: 24px;
  border: 1px solid var(--oh-color6);
  border-radius: 8px;
  background: var(--oh-color7);
}

.oh-legal-facts {
  margin: 0;
}

.oh-legal-facts > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--oh-color6);
}

.oh-legal-facts > div:first-child {
  padding-top: 0;
}

.oh-legal-facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.oh-legal-facts dt {
  color: var(--oh-color5);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.oh-legal-facts dd {
  margin: 0;
}

.oh-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oh-legal-meta span {
  display: inline-flex;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--oh-color6);
  border-radius: 40px;
  color: var(--oh-color5);
  font-size: 12px;
}

.oh-content-cta {
  padding: 40px 48px;
}

.oh-content-cta p {
  opacity: 0.85;
}

@media only screen and (max-width: 900px) {
  .oh-legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .oh-legal-toc {
    position: static;
  }

  .oh-legal-toc > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .oh-legal-hero {
    padding-top: 0;
  }

  .oh-legal-toc > div {
    grid-template-columns: 1fr;
  }

  .oh-legal-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .oh-content-cta {
    padding: 32px 24px;
  }

  .oh-content-cta .btn {
    width: 100%;
  }
}
