/* Shared additions for Astro pages. Original campaign styles remain independent. */
.lang-switch {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.lang-switch a {
  font-size: 11px;
  color: #a7a7a9;
  letter-spacing: .06em;
}
.lang-switch a[aria-current='page'] { color: var(--amber); }
.lang-switch a:hover { color: var(--white); }
.footer nav a[aria-current='page'] { color: var(--amber); }
.legal-page {
  min-height: calc(100vh - 180px);
  padding: 102px 0 120px;
  color: var(--white);
  background:
    radial-gradient(ellipse 54% 26% at 93% 12%, rgba(255,182,43,.09),transparent),
    var(--flow-canvas);
}
.legal-page h1 {
  max-width: 1040px;
  font-size: clamp(48px, 7.2vw, 102px);
  line-height: .95;
  letter-spacing: -.075em;
  margin: 12px 0 26px;
}
.legal-page .legal-intro { font-size: clamp(18px,2vw,23px); color: #d0d0d4; max-width: 750px; }
.legal-page .legal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 44px 70px; margin-top: 75px; }
.legal-page .legal-grid a {
  display: block;
  padding: 24px 0;
  border-top: 1px solid #ffffff34;
  transition: border-color .2s;
}
.legal-page .legal-grid a:hover { border-color: var(--amber); }
.legal-page .legal-grid strong { display: block; font: 900 clamp(25px,3vw,43px)/1 'Arial Black',sans-serif; letter-spacing: -.065em; text-transform: uppercase; }
.legal-page .legal-grid p { color: #aaaab0; font-size: 15px; max-width: 360px; margin: 14px 0; }
.legal-page .legal-grid span { color: var(--amber); font-size: 12px; font-weight: 900; }
.legal-content { max-width: 850px; margin-top: 55px; }
.legal-content section { padding: 28px 0; border-top: 1px solid #ffffff22; }
.legal-content h2 { font-size: clamp(24px,3.1vw,37px); line-height: 1.04; letter-spacing: -.055em; margin: 0 0 18px; }
.legal-content p, .legal-content li { color: #d0d0d4; line-height: 1.65; font-size: 16px; }
.legal-content p { margin: 0 0 13px; overflow-wrap: anywhere; }
.legal-content a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { color: #aaaab0; font-size: 16px; margin-top: 18px; }
.legal-back { display: inline-block; color: var(--amber); margin: 35px 0 0; font-size: 13px; letter-spacing: .03em; font-weight: 800; }
/* German words are wider than English. Preserve the same layout, not the same font size. */
html[lang='de'] .hero h1 { font-size: clamp(83px,9vw,139px); }
html[lang='de'] .problem .display { font-size: clamp(52px,6.7vw,102px); }
html[lang='de'] .methods h2 { font-size: clamp(48px,6.8vw,98px); }
html[lang='de'] .method-text strong { font-size: clamp(31px,3.5vw,54px); }
html[lang='de'] .time h2 { font-size: clamp(54px,7.1vw,100px); }
html[lang='de'] .pace h2 { font-size: clamp(60px,7.9vw,114px); }
@media (max-width:760px) {
  .nav-links { gap: 11px; }
  .nav-links .nav-how { display:none; }
  .nav-cta { padding:10px 9px; font-size:9px; }
  .lang-switch { gap:6px; padding-left:9px; }
  .lang-switch a { font-size:10px; }
  .legal-page { padding: 65px 0 75px; }
  .legal-page .legal-grid { grid-template-columns: 1fr; margin-top: 45px; gap: 14px; }
  .legal-content { margin-top: 40px; }
  html[lang='de'] .hero h1 { font-size: clamp(65px,17vw,105px); }
  html[lang='de'] .problem .display { font-size: clamp(49px,10.5vw,78px); }
  html[lang='de'] .methods h2 { font-size: clamp(51px,11vw,78px); }
  html[lang='de'] .time h2 { font-size: clamp(50px,10.5vw,78px); }
  html[lang='de'] .pace h2 { font-size: clamp(59px,12.5vw,90px); }
  html[lang='de'] .method-text strong { font-size: clamp(32px,8vw,49px); }
}

