/**
 * R.E.SET „AGB" (Rechtsseite) — seitenspezifische Klassen (Handoff „AGB / LEGAL").
 * Basis: landingpage-master.css (Tokens, .wrap, .section, .section--paper, .eyebrow(-row),
 * .dash, .h-display, .lede, .rsm-progress). Hier: .lhero, .legal__grid, .toc, .lsec, .lbody
 * (+ .cl/.llist/h3), .lnote, .lstatus, .laddr.
 */

.lhero { padding: 150px 0 var(--rhythm-sm); }
.lhero h1 { margin: 22px 0 22px; max-width: 18ch; }
.lhero h1 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; color: var(--brass); }
.lhero .lede { max-width: 60ch; margin: 0; }
.lhero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-dim);
}
.lhero__meta .dot { width: 4px; height: 4px; background: var(--brass); border-radius: 999px; align-self: center; }

/* Layout: sticky TOC + content */
.legal__grid { display: grid; grid-template-columns: 264px 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 940px) { .legal__grid { grid-template-columns: 1fr; gap: 32px; } }

.toc { position: sticky; top: 104px; }
@media (max-width: 940px) { .toc { position: static; border: 1px solid var(--line); padding: 20px 22px; background: var(--paper); } }
.toc__label {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; padding-left: 16px;
}
@media (max-width: 940px) { .toc__label { padding-left: 0; } }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list a {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: baseline;
  padding: 8px 0 8px 16px; text-decoration: none; border-left: 1px solid var(--line);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
@media (max-width: 940px) { .toc__list a { border-left: 0; padding-left: 0; } }
.toc__list a .tn { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim); }
.toc__list a .tt { font-family: 'Inter Tight', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.35; }
.toc__list a:hover { border-left-color: var(--brass); }
.toc__list a:hover .tt { color: var(--ink); }
.toc__list a.active { border-left-color: var(--brass); }
.toc__list a.active .tn { color: var(--brass-ink); }
[data-mode="dark"] .toc__list a.active .tn { color: var(--brass-soft); }
.toc__list a.active .tt { color: var(--ink); font-weight: 500; }

/* Legal sections */
.lsec { padding-top: clamp(28px, 3.5vw, 44px); margin-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.lsec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lsec__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.lsec__n {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .1em;
  color: var(--brass-ink); padding-top: 4px; white-space: nowrap;
}
[data-mode="dark"] .lsec__n { color: var(--brass-soft); }
.lsec h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1; letter-spacing: -.01em; color: var(--ink);
}
.lbody { max-width: 70ch; }
.lbody p { font-size: 15px; line-height: 1.72; color: var(--text-mid); margin-bottom: 16px; }
.lbody p:last-child { margin-bottom: 0; }
.lbody strong { color: var(--ink); font-weight: 600; }
.lbody em { font-style: italic; }
.lbody h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink);
  margin: 24px 0 10px; letter-spacing: .005em;
}
.lbody .cl {
  display: grid; grid-template-columns: 42px 1fr; gap: 8px 16px; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); align-items: baseline;
}
.lbody .cl:last-of-type { border-bottom: 0; }
.lbody .cl .cln { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--brass-ink); padding-top: 2px; }
[data-mode="dark"] .lbody .cl .cln { color: var(--brass-soft); }
.lbody .cl p { margin: 0; }
.lbody a { color: var(--brass-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
[data-mode="dark"] .lbody a { color: var(--brass-soft); }
.lbody ul.llist { list-style: none; margin: 8px 0 16px; padding: 0; }
.lbody ul.llist li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.7; color: var(--text-mid); margin-bottom: 6px; }
.lbody ul.llist li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--brass); }

/* Callout / Hinweis box */
.lnote { border: 1px solid var(--line); border-left: 2px solid var(--brass); background: var(--paper-warm); padding: 18px 22px; margin: 18px 0; }
.lnote__label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass-ink); margin-bottom: 8px;
}
[data-mode="dark"] .lnote__label { color: var(--brass-soft); }
.lnote p { font-size: 14px; line-height: 1.65; color: var(--text-mid); margin: 0; }
.lnote p + p { margin-top: 10px; }

/* Status entries (Treuepunkte timeline) */
.lstatus { border-left: 1px solid var(--line); padding-left: 20px; margin: 14px 0 18px; }
.lstatus__date { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; color: var(--brass-ink); margin-bottom: 6px; }
[data-mode="dark"] .lstatus__date { color: var(--brass-soft); }
.lstatus p { font-size: 15px; line-height: 1.72; color: var(--text-mid); margin: 0; }
.lstatus p + p { margin-top: 10px; }

/* Imprint / address card */
.laddr { border: 1px solid var(--line); background: var(--paper); padding: 22px 24px; margin: 4px 0 16px; }
.laddr__name { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.laddr p { font-size: 14px; line-height: 1.6; color: var(--text-mid); margin: 0; }
