/* =====================================================================
   Rechtstexte (Impressum, Datenschutz) — minimal .col text page in the
   token system; typography for the KirbyText body.
   ===================================================================== */

.legal {
  margin-top: 64px;
}

.legal__title {
  font-size: 24px;
}

.legal__text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

.legal__text h2 {
  font-size: 18px;
  color: var(--ink);
  margin: 36px 0 10px;
}

.legal__text h3 {
  font-size: 15.5px;
  color: var(--ink);
  margin: 28px 0 8px;
}

.legal__text h4 {
  font-size: 14px;
  color: var(--ink);
  margin: 24px 0 6px;
}

.legal__text p {
  margin: 0 0 14px;
}

.legal__text ul,
.legal__text ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal__text li {
  margin: 4px 0;
}

.legal__text strong {
  color: var(--ink);
}

.legal__text a {
  overflow-wrap: anywhere;
}

.legal__text hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

@media (max-width: 600px) {
  .legal {
    margin-top: 44px;
  }
}


/* kirbytag output ((image:…), (youtube:…)) inside review/legal text — the
   generic figure/consent styling lives in beitrag.css for the blog; these
   scoped equivalents keep embedded media styled on this page's column. */
.legal__text .figure {
  margin: 26px 0;
}

.legal__text .figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.legal__text .figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
}

.legal__text .video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  background: oklch(0.24 0.01 60);
}

.legal__text .video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.legal__text .video-container .consent-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}

.legal__text .video-container .consent-box p {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.legal__text .video-container .consent-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
