/* ============================================================
 * 法律页（Impressum / Datenschutz）页面级样式 — 两页共享
 * 全局 tokens / .container / topbar / footer 在 site.css。
 * 源：design/claude-design/impressum.html <style>
 * ============================================================ */

/* ---------- Page hero (compact) ---------- */
.page-hero {
  background: var(--brand-navy);
  color: var(--text-on-dark);
  padding: 56px 0 56px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 320px; height: 280px;
  background-image: radial-gradient(rgba(217, 178, 94, .22) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  display: inline-block;
  color: var(--brand-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.2px;
  margin-top: var(--s-3);
}
.page-hero p {
  margin-top: var(--s-4);
  color: var(--text-on-dark-muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 680px;
}

/* Legal sub-nav (between Impressum / Privacy) */
.legalnav {
  display: inline-flex;
  gap: 4px;
  margin-top: var(--s-6);
  padding: 4px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(217, 178, 94, .25);
  border-radius: var(--radius-pill);
}
.legalnav a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .2px;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.legalnav a:hover { color: #fff; }
.legalnav a[aria-current="page"] {
  background: var(--brand-gold);
  color: var(--brand-navy-ink);
}

/* ---------- Article body ---------- */
.article { padding: 40px 0 80px; }
.article-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* Notice bar — prototype placeholder warning */
.notebar {
  margin-bottom: 32px;
  padding: 16px 20px;
  border-left: 4px solid var(--brand-gold);
  background: #FFF7E6;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #5C4516;
  font-size: 14.5px;
  line-height: 1.7;
}
.notebar b { color: #3D2D0E; font-weight: 700; }

/* Prose */
.prose {
  color: var(--text);
  font-size: 16px;
  line-height: 1.85;
}
.prose p { margin-top: 16px; }
.prose p:first-child { margin-top: 0; }
.prose .lead-p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--brand-navy);
  font-weight: 500;
}
.prose h2 {
  color: var(--brand-navy);
  font-size: 22px;
  font-weight: 750;
  margin-top: 0;
  line-height: 1.35;
  position: relative;
  padding-left: 18px;
  margin-bottom: var(--s-4);
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: var(--brand-gold);
}
.prose h3 {
  color: var(--brand-navy);
  font-size: 17px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.prose ul {
  margin-top: 8px;
  padding-left: 22px;
}
.prose li {
  margin-top: 6px;
  line-height: 1.75;
}
.prose li::marker { color: var(--brand-gold); }
.prose a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: rgba(46, 109, 180, .35);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: currentColor; }

/* Legal definition list */
.legaldl {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}
.legaldl dt,
.legaldl dd {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.legaldl dt {
  color: var(--text-muted);
  font-weight: 600;
  padding-right: 24px;
}
.legaldl dd {
  color: var(--brand-navy);
  font-weight: 500;
}
.legaldl dd small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
}

/* TODO flag */
.todo {
  color: var(--text-muted) !important;
  font-style: italic;
  position: relative;
}
.todo::before {
  content: "待补";
  display: inline-block;
  background: #FFE8A8;
  color: #6B4E10;
  font-size: 10.5px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 880px) {
  .page-hero { padding: 40px 0 48px; }
  .legaldl { grid-template-columns: 1fr; }
  .legaldl dt {
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .legaldl dd { padding-top: 4px; }
}
