/* Legal pages (imprint.html, privacy.html), 2026-11-26: long text in the page's own system.
   Loads after fonts.css, base.css and site.css and uses their tokens (ink and coal bands, Bebas Neue headlines,
   Outfit text, Space Grotesk labels, yellow = look here, red = numbers). Only these two pages load it.
   Placeholders David still has to fill in carry class lg__todo (yellow block), so none can be missed. */

.lg-page { --lg-text: #BDBDBD; --lg-col: 760px; min-height: 100vh; display: flex; flex-direction: column; }
.lg { flex: 1; }
.lg__sec { padding-block: clamp(36px, 5.4vw, 80px) clamp(56px, 7vw, 104px); }
.lg__in { max-width: var(--lg-col); margin-inline: auto; }

/* ---------- top: back link, label, title, intro ---------- */
.lg__back { font-family: var(--label); font-size: .8125rem; line-height: 1.6; letter-spacing: 2px; text-transform: uppercase; }
.lg__back a { color: var(--bone-body); text-decoration: none; }
.lg__back a:hover { color: var(--bone); }
.lg__kicker { margin-top: clamp(28px, 4vw, 48px); }
.lg__title { margin-top: 10px; font-size: clamp(3.25rem, 2.5rem + 3.4vw, 5.5rem); line-height: .95; }
.lg__intro { margin-top: 18px; font-size: var(--txt); line-height: 1.55; color: var(--lg-text); }
.lg__date { margin-top: 14px; font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; color: var(--bone-dim); }

/* ---------- text ---------- */
.lg__p, .lg__ul li, .lg__v { font-size: var(--fs-body); line-height: 1.7; color: var(--lg-text); }
.lg__p { margin-top: 14px; }
.lg strong { font-weight: 600; color: var(--bone); }
.lg__in a:not(.lg__back a) {
  color: var(--bone); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 1px;
  text-underline-offset: 3px; overflow-wrap: anywhere;
}
.lg__in a:not(.lg__back a):hover { color: var(--yellow); }

.lg__h2 {
  margin-top: clamp(48px, 5vw, 68px); scroll-margin-top: 24px;
  font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.62rem + 1.5vw, 2.875rem); line-height: 1.05;
  letter-spacing: 1px; text-transform: uppercase; color: var(--bone); text-wrap: balance;
}
.lg__n { color: var(--red-hi); margin-right: .35em; }
.lg__h3 {
  margin-top: 28px; font-family: var(--label); font-weight: 600; font-size: .875rem; line-height: 1.5;
  letter-spacing: 2px; text-transform: uppercase; color: var(--yellow);
}
.lg__h3 + .lg__p { margin-top: 8px; }

/* bullet lists: a small red square, as the page's ticks */
.lg__ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.lg__ul li { position: relative; padding-left: 24px; }
.lg__ul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; background: var(--red); }

/* boxes: the summary at the top and the right to object (Art. 21(4) GDPR wants it set apart) */
.lg__box { margin-top: 24px; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 34px); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--yellow); border-radius: 5px; }
.lg__box > :first-child { margin-top: 0; }
.lg__box--red { border-left-color: var(--red-hi); }
.lg__box-t { font-family: var(--label); font-weight: 600; font-size: .875rem; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; color: var(--bone); }
.lg__box .lg__ul { margin-top: 12px; }

/* contents */
.lg__toc { margin: 24px 0 0; padding: 0 0 0 1.6em; color: var(--bone-dim); font-family: var(--label); font-size: .9375rem; line-height: 1.5; }
.lg__toc li { break-inside: avoid; padding: 0 0 6px 2px; }
.lg__toc li::marker { color: var(--red-hi); font-family: var(--label); }
.lg__in .lg__toc li a { text-decoration-color: var(--dim); }            /* calmer than the text links */
.lg__in .lg__toc li a:hover { text-decoration-color: var(--yellow); }
@media (min-width: 720px) { .lg__toc { columns: 2; column-gap: 48px; } }   /* fills column by column: 1-5 left, 6-9 right */

/* ---------- imprint: label left, value right; stacked on phones ---------- */
.lg__list { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.lg__row { display: grid; grid-template-columns: 200px 1fr; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lg__k { padding-top: 3px; font-family: var(--label); font-weight: 500; font-size: .8125rem; line-height: 1.6; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); }
.lg__v { color: var(--bone); }
.lg__v + .lg__v { margin-top: 6px; }
.lg__v--sub { color: var(--lg-text); }
@media (max-width: 640px) {
  .lg__row { grid-template-columns: 1fr; padding: 18px 0; }
  .lg__k { padding-top: 0; }
}

/* ---------- a fact David still has to give: impossible to miss ---------- */
.lg__todo {
  padding: 1px .35em; border-radius: 2px; background: var(--yellow); color: var(--ink); font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- footer links (the footer itself is site.css .foot) ---------- */
.lg-page .foot a { text-underline-offset: 3px; }
.lg-page .foot a:hover { color: var(--bone); }
