/* Schritt 14: Gestaltung nur für Impressum und Datenschutzerklärung. */
#rechtliches .legal-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 104px) clamp(24px, 6vw, 84px);
}

#rechtliches .legal-eyebrow {
  margin: 0 0 20px;
  color: #49a2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.5;
}

#rechtliches h1 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

#rechtliches .legal-intro {
  max-width: 900px;
  margin: 0 0 22px;
  color: #bdcadb;
  font-size: 18px;
  line-height: 1.75;
}

#rechtliches .legal-date {
  margin: 0 0 28px;
  color: #bdcadb;
  font-size: 13px;
  line-height: 1.6;
}

#rechtliches .legal-content,
#rechtliches .legal-toc,
#rechtliches .legal-draft {
  max-width: 960px;
}

#rechtliches .legal-content section {
  margin-top: 36px;
  scroll-margin-top: 24px;
}

#rechtliches h2 {
  margin: 0 0 16px;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.35;
}

#rechtliches h3 {
  margin: 24px 0 12px;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.4;
}

#rechtliches .legal-content p,
#rechtliches .legal-content address,
#rechtliches .legal-details {
  margin: 0 0 18px;
  color: #bdcadb;
  font-size: 16px;
  font-style: normal;
  line-height: 1.8;
}

#rechtliches strong {
  color: var(--text);
  font-weight: 750;
}

#rechtliches a {
  color: #49a2ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#rechtliches a:hover {
  text-decoration-thickness: 2px;
}

#rechtliches .legal-details > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

#rechtliches .legal-details dt {
  font-weight: 750;
}

#rechtliches .legal-details dd {
  margin: 0;
}

#rechtliches .legal-draft,
#rechtliches .legal-rights-note {
  padding: 20px 24px;
  border-left: 3px solid #49a2ff;
  background: #0b1e34;
  color: #bdcadb;
  font-size: 15px;
  line-height: 1.75;
}

#rechtliches .legal-draft p {
  margin: 8px 0 0;
}

#rechtliches .legal-rights-note {
  margin: 24px 0;
}

#rechtliches .legal-rights-note h3 {
  margin-top: 0;
}

#rechtliches .legal-rights-note p:last-child {
  margin-bottom: 0;
}

#rechtliches .legal-toc {
  padding: 24px 0;
  margin: 32px 0 40px;
  border-top: 1px solid #254363;
  border-bottom: 1px solid #254363;
}

#rechtliches .legal-toc p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}

#rechtliches .legal-toc ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 36px;
  padding-left: 24px;
  margin: 0;
  color: #bdcadb;
  font-size: 15px;
  line-height: 1.6;
}

#rechtliches .legal-toc li {
  padding-left: 4px;
}

#rechtliches .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 32px;
  color: #49a2ff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

#rechtliches .legal-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#rechtliches a:focus-visible {
  outline: 2px solid #49a2ff;
  outline-offset: 5px;
}

@media (max-width: 820px) {
  #rechtliches .legal-inner {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 620px) {
  #rechtliches .legal-inner {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  #rechtliches .legal-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  #rechtliches .legal-draft,
  #rechtliches .legal-rights-note {
    padding: 18px;
  }

  #rechtliches .legal-details > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 12px;
  }
}

@media (pointer: coarse) {
  #rechtliches .legal-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
