/* ================================================================
   hopemodell.ch – Modellbau-Ratgeber
   Palette  : craft-amber  #c4550e accent / #faf8f5 cream / #1c1917 dark warm
   Type     : DM Serif Display (headings) + Karla (body)
   Archetype: Magazine-editorial with feature strips (no hero+card-grid)
   ================================================================ */

/* --- Fonts -------------------------------------------------------- */
@font-face {
  font-family: 'DM Serif Display';
  src: url('/fonts/DMSerifDisplay-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('/fonts/DMSerifDisplay-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/Karla-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/Karla-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/Karla-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- Variables ---------------------------------------------------- */
:root {
  --bg:           #faf8f5;
  --bg-alt:       #f0ebe3;
  --ink:          #211d19;
  --ink-2:        #4a3f38;
  --ink-muted:    #7a6e67;
  --accent:       #c4550e;
  --accent-deep:  #983f08;
  --accent-light: #faeee5;
  --nav-bg:       #1c1917;
  --nav-text:     #faf8f5;
  --border:       #d8d0c6;
  --rule:         #cec4bb;
  --card-bg:      #ffffff;

  --ff-head: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Karla', -apple-system, 'Segoe UI', Arial, sans-serif;

  --max-w:     1160px;
  --content-w: 760px;
  --r:         3px;
}

/* --- Reset / Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 1.05rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 400;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 2.2rem; margin-bottom: .7rem; }
h3 { font-size: 1.22rem; margin-top: 1.6rem; margin-bottom: .4rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
li { margin-bottom: .35rem; }

strong  { font-weight: 700; }
em      { font-style: italic; }
address { font-style: normal; }

hr { border: none; border-top: 1px solid var(--rule); margin: 2rem 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Header / Nav ------------------------------------------------- */
.site-header {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 1.5rem;
}

/* Logo — inline SVG */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo svg { height: 38px; width: auto; }

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: .25rem;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  color: rgba(250,248,245,.82);
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .4px;
  padding: .38rem .78rem;
  border-radius: var(--r);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(196,85,14,.22);
  color: #fff;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--nav-text);
}
.nav-toggle svg { display: block; }

/* --- Site Hero (Homepage only) ------------------------------------ */
.site-hero {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 4rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.site-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1.2' fill='%23c4550e' opacity='.18'/%3E%3C/svg%3E");
  pointer-events: none;
}
.site-hero .container { position: relative; z-index: 1; }
.site-hero .kicker {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
  display: block;
}
.site-hero h1 {
  color: #fff;
  max-width: 680px;
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 5vw, 3rem);
}
.site-hero .lead {
  font-size: 1.12rem;
  color: rgba(250,248,245,.78);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  padding: .68rem 1.6rem;
  border-radius: var(--r);
  text-decoration: none;
  transition: background .15s;
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; text-decoration: none; }

/* --- Feature Strips (Homepage topic teasers) ---------------------- */
.feature-strips { padding: 3rem 0; }
.feature-strips-title {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  align-items: center;
}
.strip:first-of-type { border-top: 1px solid var(--border); }
.strip:nth-child(even) .strip-img  { order: 2; }
.strip:nth-child(even) .strip-text { order: 1; }

.strip-img {
  overflow: hidden;
  border-radius: var(--r);
}
.strip-img picture img,
.strip-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r);
  transition: transform .4s ease;
}
.strip:hover .strip-img img { transform: scale(1.03); }

.strip-text { padding: 0 2.5rem; }
.strip-text .cat-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .55rem;
}
.strip-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 0 0 .7rem;
}
.strip-text p { color: var(--ink-2); font-size: .98rem; margin-bottom: 1.1rem; }
.strip-link {
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
}
.strip-link::after { content: '→'; }
.strip-link:hover { color: var(--accent-deep); text-decoration: none; }

/* Editorial blurb section (homepage) */
.editorial-blurb {
  background: var(--bg-alt);
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}
.editorial-blurb .container { max-width: var(--content-w); }
.editorial-blurb h2 { margin-top: 0; margin-bottom: .9rem; }

/* --- Page Header (interior pages) --------------------------------- */
.page-hdr {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 2.5rem 1.5rem 2.2rem;
}
.page-hdr .container { max-width: var(--max-w); }
.page-hdr .breadcrumb {
  font-size: .8rem;
  color: rgba(250,248,245,.55);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.page-hdr .breadcrumb a { color: rgba(250,248,245,.55); }
.page-hdr .breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.page-hdr .breadcrumb span { color: rgba(250,248,245,.35); }
.page-hdr h1 { color: #fff; margin-bottom: .6rem; }
.page-hdr .page-desc {
  font-size: 1rem;
  color: rgba(250,248,245,.68);
  max-width: 580px;
  line-height: 1.6;
}

/* --- Article Layout ----------------------------------------------- */
.article-section { padding: 3rem 0; }

.article-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

/* Thumbnail block */
.thumb-block {
  margin-bottom: 2rem;
  border-radius: var(--r);
  overflow: hidden;
  line-height: 0;
}
.thumb-block picture img,
.thumb-block img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r);
}
.thumb-block figcaption {
  font-size: .8rem;
  color: var(--ink-muted);
  margin-top: .4rem;
  font-style: italic;
  line-height: 1.4;
}

/* Article typography */
.article-body h2 { border-bottom: 1px solid var(--border); padding-bottom: .4rem; }
.article-body h3 { color: var(--ink-2); }

/* Custom info box — werkzeug-hinweis — NOT the border-l-4 + stock-label pattern */
.werkzeug-hinweis {
  background: var(--accent-light);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--r) var(--r);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .7rem;
  align-items: start;
}
.werkzeug-hinweis .icon { margin-top: .15rem; flex-shrink: 0; }
.werkzeug-hinweis .icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.werkzeug-hinweis p { font-size: .94rem; color: var(--ink); margin: 0; }
.werkzeug-hinweis strong { color: var(--accent-deep); }

/* --- Comparison Table --------------------------------------------- */
.vergleich-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }
.vergleich-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.vergleich-tabelle th {
  background: var(--nav-bg);
  color: var(--nav-text);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .65rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.vergleich-tabelle td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-2);
}
.vergleich-tabelle tr:last-child td { border-bottom: none; }
.vergleich-tabelle tr:nth-child(even) td { background: var(--bg-alt); }
.tag-gut {
  display: inline-block;
  background: #e7f4ee;
  color: #1b6b3a;
  font-size: .74rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 99px;
  white-space: nowrap;
}
.tag-mitte {
  display: inline-block;
  background: #fef8e7;
  color: #7a5a0a;
  font-size: .74rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 99px;
  white-space: nowrap;
}

/* --- Sidebar ------------------------------------------------------ */
.article-sidebar {}
.sidebar-widget {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-widget-title {
  background: var(--bg-alt);
  font-family: var(--ff-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--border); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1rem;
  color: var(--ink-2);
  font-size: .92rem;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.sidebar-nav a:hover { background: var(--accent-light); color: var(--accent); text-decoration: none; }
.sidebar-nav a[aria-current="page"] { background: var(--accent-light); color: var(--accent); font-weight: 700; }
.sidebar-nav .nav-arrow { margin-left: auto; opacity: .45; font-size: .8rem; }

/* --- FAQ Accordion ------------------------------------------------ */
.faq-section { padding: 2.5rem 0; border-top: 1px solid var(--rule); margin-top: 1rem; }
.faq-section h2 { margin-top: 0; margin-bottom: 1.2rem; }

.faq-block details {
  border-bottom: 1px solid var(--border);
}
.faq-block details:first-of-type { border-top: 1px solid var(--border); }

.faq-block summary {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  padding: 1rem 2.5rem 1rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after {
  content: '';
  position: absolute;
  right: .1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  transition: transform .2s;
}
.faq-block details[open] > summary::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-block .faq-answer {
  padding: .2rem 0 1.1rem;
  color: var(--ink-2);
  font-size: .97rem;
}
.faq-block .faq-answer p:last-child { margin-bottom: 0; }

/* --- SVG Infographic wrapper -------------------------------------- */
.infographic-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  margin: 2rem 0;
}
.infographic-wrap figcaption {
  font-size: .82rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: .8rem;
  font-style: italic;
}

/* --- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--nav-bg);
  color: rgba(250,248,245,.65);
  padding: 2.8rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .88rem; line-height: 1.65; margin-top: .7rem; max-width: 300px; }
.footer-col h3 {
  font-family: var(--ff-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250,248,245,.4);
  margin: 0 0 .9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a {
  color: rgba(250,248,245,.65);
  font-size: .88rem;
  text-decoration: none;
  transition: color .12s;
}
.footer-col ul a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(250,248,245,.35);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(250,248,245,.35); }
.footer-bottom a:hover { color: rgba(250,248,245,.65); text-decoration: none; }

/* --- Page Hero (interior pages) ----------------------------------- */
.page-hero {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
}
.page-hero .container { max-width: var(--max-w); position: relative; }
.page-hero .kicker {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .65rem;
  display: block;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  margin-bottom: .7rem;
}
.page-hero .lead {
  font-size: 1.04rem;
  color: rgba(250,248,245,.74);
  max-width: 640px;
  line-height: 1.65;
  margin: 0;
}

/* --- Page thumbnail ----------------------------------------------- */
.page-thumb {
  display: block;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  line-height: 0;
}
.page-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 450px;
}

/* --- Content layout (prose + sidebar, interior pages) ------------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* --- Prose (article typography) ----------------------------------- */
.prose { min-width: 0; }
.prose h2 { border-bottom: 1px solid var(--border); padding-bottom: .35rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink-2); }
.prose p  { color: var(--ink-2); }
.prose ul, .prose ol { color: var(--ink-2); }

/* --- Table styles (generic, used in prose) ------------------------ */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  border: 1px solid var(--border);
}
.table-wrap th {
  background: var(--nav-bg);
  color: var(--nav-text);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .6rem .9rem;
  text-align: left;
  white-space: nowrap;
}
.table-wrap td {
  padding: .55rem .9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-2);
}
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tr:nth-child(even) td { background: var(--bg-alt); }

/* --- Sidebar FAQ -------------------------------------------------- */
.sidebar-faq {
  position: sticky;
  top: 74px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem 1.2rem;
  align-self: start;
}
.sidebar-faq h2 {
  font-family: var(--ff-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-faq .faq-block details:first-of-type { border-top: none; }
.sidebar-faq .faq-block summary { font-size: .92rem; padding: .7rem 2rem .7rem 0; }
.sidebar-faq .faq-block .faq-answer { font-size: .88rem; padding-bottom: .8rem; }

/* --- Infographic image inside figure ----------------------------- */
.infographic-wrap img { width: 100%; height: auto; }

/* --- Responsive (content-layout) --------------------------------- */
@media (max-width: 860px) {
  .content-layout { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .sidebar-faq { position: static; }
}

/* --- Legal pages -------------------------------------------------- */
.legal-section { padding: 3rem 0; }
.legal-section .container { max-width: var(--content-w); }
.legal-section h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: .5rem; }
.legal-section h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.legal-section /* address already in legal-section – add global reset below */

/* --- 404 ---------------------------------------------------------- */
.not-found {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  gap: 1rem;
}
.not-found .code {
  font-family: var(--ff-head);
  font-size: 5rem;
  color: var(--border);
  line-height: 1;
}
.not-found h1 { font-size: 1.7rem; margin-bottom: .3rem; }
.not-found p { color: var(--ink-muted); margin-bottom: 1.2rem; }

/* --- Responsive --------------------------------------------------- */
@media (max-width: 820px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { order: -1; }
  .strip { grid-template-columns: 1fr; gap: 1.2rem; }
  .strip:nth-child(even) .strip-img  { order: unset; }
  .strip:nth-child(even) .strip-text { order: unset; }
  .strip-text { padding: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: .75rem 1.5rem 1rem;
    gap: .1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .footer-inner { grid-template-columns: 1fr; }
  .site-hero { padding: 2.5rem 1.5rem 2rem; }
}
