/* germanlegacy.net header + footer + green button, on every page (site-head.njk, site-foot.njk). Look: landing page
   design "Reconnect to Your Heritage" (2026-11-21). Own --hp-* names so it never clashes with site.css or home.css. */
:root {
  --hp-ivory: #F5F0E6; --hp-paper: #FBF8F2; --hp-ink: #302B25; --hp-muted: #5E554A; --hp-green: #304A3B;
  --hp-green-dark: #1F3328; --hp-stone: #D8CBB8; --hp-foot-text: #E9E1D3;
  --hp-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --hp-sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hp-menu: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;   /* main menu: the pre-2026-11-21 font, back on the user's order 2026-11-21 (fonts/fonts.css) */
}
.hp-wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); }

/* green button (also used in page content) */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 3px; background: var(--hp-green); color: var(--hp-paper); font-family: var(--hp-sans); font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.hp-btn:hover { background: var(--hp-green-dark); color: #FFFFFF; }
.hp-btn--nav { min-height: 44px; padding: 0 20px; font-family: var(--hp-menu); font-size: 16px; font-weight: 700; }
.hp-btn--big { min-height: 56px; padding: 0 34px; font-size: 18px; }

/* header */
.hp-head { position: relative; z-index: 20; border-bottom: 1px solid var(--hp-stone); background: var(--hp-ivory); font-family: var(--hp-sans); line-height: 1.5; }
.hp-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.hp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--hp-ink); text-decoration: none; font-family: var(--hp-serif); font-size: 24px; font-weight: 500; letter-spacing: .01em; }
.hp-brand:hover { color: var(--hp-ink); }
.hp-brand svg { width: 38px; height: 32px; stroke-width: 1.6; flex: none; }
.hp-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-family: var(--hp-menu); font-size: 16px; font-weight: 400; }
.hp-nav > a:not(.hp-btn), .hp-research summary { color: var(--hp-ink); text-decoration: none; padding: 10px 0; }
.hp-nav > a:not(.hp-btn):hover, .hp-research summary:hover { color: var(--hp-green); text-decoration: underline; text-underline-offset: 3px; }
.hp-nav > a[aria-current="page"]:not(.hp-btn), .hp-research summary.hp-current { color: var(--hp-green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hp-nav > .hp-btn { margin-left: 6px; }
.hp-nav > .hp-btn[aria-current="page"] { box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .35); }
.hp-research { position: relative; }
.hp-research summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.hp-research summary::-webkit-details-marker { display: none; }
.hp-research[open] summary svg { transform: rotate(180deg); }
.hp-menu { position: absolute; top: 46px; right: -16px; width: 300px; max-width: calc(100vw - 32px); background: var(--hp-paper); border: 1px solid var(--hp-stone); box-shadow: 0 12px 32px rgba(48, 43, 37, .12); padding: 8px; display: flex; flex-direction: column; font-weight: 400; }
.hp-menu a { color: var(--hp-ink); text-decoration: none; padding: 10px 12px; display: block; }
.hp-menu a:hover { color: var(--hp-green); background: var(--hp-ivory); }
.hp-menu a[aria-current="page"] b { color: var(--hp-green); }
.hp-menu b { display: block; font-weight: 500; }
.hp-menu span { display: block; font-size: 14px; color: var(--hp-muted); }
.hp-head :focus-visible, .hp-foot :focus-visible { outline: 2px solid var(--hp-green); outline-offset: 3px; }

/* footer */
.hp-foot { background: var(--hp-ink); color: var(--hp-foot-text); font-family: var(--hp-sans); line-height: 1.5; }
.hp-foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding-top: 48px; padding-bottom: 40px; }
.hp-foot-brand { color: var(--hp-ivory); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-family: var(--hp-serif); font-size: 22px; align-self: flex-start; }
.hp-foot-brand:hover { color: #FFFFFF; }
.hp-foot-brand svg { width: 34px; height: 28px; stroke-width: 1.6; }
.hp-foot-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.hp-foot-nav a { color: var(--hp-foot-text); padding: 6px 0; text-underline-offset: 3px; }
.hp-foot-nav a:hover { color: #FFFFFF; }
