.legal-doc { --legal-side: minmax(15rem, 19rem); --legal-gap: clamp(2rem, 5vw, 5rem); }

.legal-hero { padding-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.legal-hero .title { margin-bottom: 1rem; }
.legal-hero .sub-underline { margin-bottom: 1.2rem; }
@media (min-width: 901px) {
  .legal-hero.has-aside { grid-template-columns: minmax(0, 1fr) var(--legal-side); column-gap: var(--legal-gap); align-items: end; }
}
.legal-hero .sub-hero__aside { margin-top: 1.2rem; }

.legal-stand { margin: 0; }
.legal-stand strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 650;
}

.legal-meta { padding: 1rem 0 1.1rem; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.legal-meta p + p { margin-top: 0.75rem; }
.legal-meta a { color: var(--red); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.legal-body { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(2rem, 5vh, 3rem); }
.legal-toc--side { display: none; }
@media (min-width: 1100px) {
  .legal-body { grid-template-columns: minmax(0, 1fr) var(--legal-side); column-gap: var(--legal-gap); align-items: start; }
  .legal-text { grid-column: 1; grid-row: 1; }
  .legal-toc--side {
    display: block;
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--hdr) + 1.8rem);
    max-height: calc(100vh - var(--hdr) - 3.6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .legal-toc--fold { display: none; }
}
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc a {
  display: block;
  padding: 0.34rem 0 0.34rem 1rem;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.38;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.legal-toc a:hover { border-left-color: var(--red); color: var(--red); }
.legal-toc a:focus-visible { outline-offset: 0; }
.legal-toc--side ol { border-left: 1px solid var(--line); }
.legal-toc--side a { margin-left: -1px; }
.legal-toc__title { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }

@media (max-width: 1099px) {
  .legal-body::before { display: none; }
  .legal-body { padding-top: clamp(1rem, 3vh, 1.6rem); }
}
@media (max-width: 900px) {
  .legal-meta { border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: 0; }
  .legal-hero { padding-bottom: 0.4rem; }
}

.legal-toc--fold { max-width: var(--measure); margin-bottom: clamp(1.6rem, 4vh, 2.4rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-toc--fold > summary {
  position: relative;
  padding: 0.95rem 2.4rem 0.95rem 0;
  font-weight: 680;
  list-style: none;
  cursor: pointer;
}
.legal-toc--fold > summary::-webkit-details-marker { display: none; }
.legal-toc--fold > summary::after { position: absolute; right: 0.3rem; top: 50%; color: var(--red); font-size: 1.4rem; font-weight: 400; line-height: 1; content: "+"; content: "+" / ""; transform: translateY(-50%); }
.legal-toc--fold[open] > summary::after { content: "–"; content: "–" / ""; }
.legal-toc--fold nav { padding: 0 0 1rem; }
.legal-toc--fold a { padding-left: 0.85rem; }

.legal-text { max-width: var(--measure); }
.legal-text > h2 {
  margin: clamp(2.4rem, 6vh, 3.4rem) 0 0;
  padding-top: clamp(1.6rem, 4vh, 2.2rem);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.legal-text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-text > h2 + p { margin-top: 0.8rem; }

.legal-text p { overflow-wrap: break-word; text-wrap: wrap; }
.legal-text > .sub-notice { margin-top: 1.2rem; margin-bottom: 1.2rem; }

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: clamp(2.4rem, 6vh, 3.4rem);
  color: var(--ink);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.legal-text a.legal-back { color: var(--ink); font-weight: 680; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.legal-text a.legal-back:hover { color: var(--red); }

.lb-subtitle { display: block; margin-top: 0.3em; font-size: 0.5em; line-height: 1.1; }

@media print {
  .legal-toc { display: none !important; }
  .legal-body { display: block; break-inside: auto; padding-bottom: 0 !important; }
  .legal-page { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  /* Rechtstexte müssen vollständig und tintensparend aufs Papier (§ 11 ECG). */
  html, body, .legal-page { background: #fff !important; }
  .legal-page .ftr, .legal-page ~ .ftr { display: none !important; }
  .legal-hero { min-height: 0 !important; padding: 0 0 1rem !important; }
  .legal-hero .sub-hero__copy > *, .legal-hero .title > * { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

.nl-title span { display: block; }

.nl-hero { padding-bottom: clamp(1rem, 3vh, 2rem); }

.newsletter-page__grid { padding-top: clamp(2rem, 6vh, 4rem); }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.nl-page .nl-h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, min(3.1vw, 5.6vh), 2.6rem); }
.newsletter-page__copy .sub-prose ul { margin-top: 0; }

.nl-steps { margin-top: clamp(2rem, 5vh, 2.8rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.nl-steps .kicker { margin-bottom: 1.2rem; }
.nl-steps .sub-rows { gap: 1.2rem; }
.nl-steps .sub-row { grid-template-columns: 2.7rem minmax(0, 1fr); align-items: center; }
.nl-steps .sub-row__n { width: 2.7rem; height: 2.7rem; font-size: 0.86rem; }
.nl-steps .sub-row__body { padding-top: 0; }
.nl-steps .sub-row__title { display: block; font-size: 1.1rem; font-weight: 680; }
html.no-js .nl-steps .sub-timeline::before { left: 1.35rem; top: 1.35rem; bottom: 1.35rem; }

.nl-intro { max-width: 34rem; color: var(--ink-2); }

.nl-form { margin-top: 1.6rem; }
.nl-form form { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.nl-form .newsletter-form__field { display: grid; gap: 0.45rem; align-content: start; font-weight: 650; }
.nl-form .newsletter-form__field > span { font-size: 0.95rem; }
.nl-form .newsletter-form__field small { margin-left: 0.3rem; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.nl-form .newsletter-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.2rem; }
.nl-form .newsletter-form__fields > .field__error { grid-column: 1 / -1; margin-top: -0.85rem; }
.nl-form .newsletter-form__consent { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 500; line-height: 1.5; cursor: pointer; }
.nl-form .newsletter-form__consent input { flex: none; width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--red); cursor: pointer; }
.nl-form .newsletter-form__consent input:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.nl-form .newsletter-form__consent a { color: var(--red); font-weight: 650; }

.nl-form .newsletter-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.nl-form .newsletter-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 0.6rem;
  min-height: 52px;
  margin-top: 0.4rem;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(180, 30, 35, 0.24);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.nl-form .newsletter-form__submit::after { content: "→"; content: "→" / ""; }
.nl-form .newsletter-form__submit:hover:not(:disabled) { background: var(--red-deep); }
.nl-form .newsletter-form__submit:disabled { opacity: 0.5; box-shadow: none; cursor: not-allowed; }
.nl-form .newsletter-form__hint { margin-top: -0.4rem; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.nl-form .newsletter-form__status, .nl-form .newsletter-form__fallback {
  padding: 1.05rem 1.3rem 1.1rem;
  border-left: 3px solid var(--red);
  background: var(--mist);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

.nl-back { margin-top: clamp(2.5rem, 7vh, 4.5rem); }

@media (max-width: 900px) {
  .nl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .nl-form .newsletter-form__fields { grid-template-columns: minmax(0, 1fr); }
}

.nl-done { display: flex; flex-direction: column; justify-content: center; min-height: min(80vh, 760px); }
.nl-done .title { margin-bottom: 1rem; }
.nl-done .lead { margin-bottom: 0.4rem; }

.nl-done .sub-frame { margin-top: 0.8rem; }

.check-list { padding-top: clamp(1.5rem, 4vh, 2.5rem); }
.check-list .sub-timeline, .check-list .sub-rows { max-width: 54rem; }
.check-list .sub-row__body { padding-top: 0.15rem; }

.check-list .check-label { display: block; margin: 0; color: var(--muted); font-size: 0.76rem; letter-spacing: 0.14em; }
.check-list .sub-row__body > .sub-row__title { margin-top: 0.3rem; font-size: clamp(1.3rem, 2vw, 1.65rem); text-wrap: balance; }
.check-list .sub-row__text { margin-top: 0.55rem; }

.check-list .sub-row:nth-child(4) { margin-top: 3rem; }

@media (min-width: 1100px) {
  .check-list .sub-timeline, .check-list .sub-rows, .check-list .sub-row__body { max-width: none; }
  .check-list .sub-row__body { display: grid; grid-template-columns: minmax(17rem, 0.5fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
  .check-list .sub-row__body > .sub-row__text { grid-column: 2; grid-row: 1 / span 2; max-width: var(--measure); margin-top: 0; }
}

@media (max-width: 760px) {
  .check-hero .sub-hero__media { height: min(34vh, 280px); }
  .check-list .sub-row__body { padding-top: 0.05rem; }
}

/* Leistungsbedingungen: Unterpunkte tragen die Nummer im Text (3.1, 3.2 …), weil die Seite selbst darauf verweist. */
.lb-text ol { padding-left: 0; list-style: none; }
.lb-text ol li + li { margin-top: .6rem; }
.lb-text ol li strong:first-child { margin-right: .35em; color: var(--red); font-family: var(--f-mono); font-size: .86em; }
