/* flyerarchiv.org – mobile first */
:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6b6b70;
  --line: #e4e4e7;
  --band: #ededee;
  --soft: #f5f5f6;
  --dark: #2a2a2a;
  --dark-2: #3a3a3a;
  --red: #d7191f;
  --red-dark: #b3141a;
  --green: #1f7a3a;
  --amber: #a15c00;
  --radius: 6px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
body.no-scroll { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; }
code { background: var(--soft); padding: 1px 4px; border-radius: 3px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.red { color: var(--red); }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ic.sm { width: 16px; height: 16px; vertical-align: -3px; }
.ic.lg { width: 32px; height: 32px; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; flex: none; }
.logo-mark { width: 32px; height: 32px; color: #fff; }
.logo-text { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.mainnav { display: none; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tagline { display: none; font-style: italic; font-size: .9rem; color: #ddd; }
.tb-btn { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; padding: 8px;
          border-radius: var(--radius); min-height: 40px; }
.tb-btn span { display: none; }
.tb-btn:hover { background: var(--dark-2); }
.tb-red { background: var(--red); }
.tb-red:hover { background: var(--red-dark); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #f6f6f7, #ececee); border-bottom: 1px solid var(--line); }
.hero-in { padding-top: 24px; padding-bottom: 24px; }
.hero h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: 1.05rem; margin: 0 0 12px; }
.redline { display: block; width: 64px; height: 3px; background: var(--red); margin-bottom: 18px; }
.hero-features { display: none; list-style: none; margin: 0; padding: 0; }
.hero-features li { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; }
.hero-features strong { display: block; font-size: 1.15rem; }
.hero-features span { color: var(--muted); }
.listhead { background: var(--soft); border-bottom: 1px solid var(--line); padding: 12px 0; }

/* ---------- Suche ---------- */
.search { display: flex; background: #fff; border: 1px solid #d4d4d8; border-radius: var(--radius);
          box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; }
.search-field { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); min-width: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--text); padding: 12px 0; background: none; }
.search button { border: 0; background: var(--red); color: #fff; font: inherit; font-weight: 600; padding: 0 18px; cursor: pointer; }
.search button:hover { background: var(--red-dark); }
.search-big input { padding: 14px 0; font-size: 1.05rem; }

/* ---------- Kategorien-Leiste ---------- */
.catbar { background: var(--band); border-bottom: 1px solid var(--line); }
.catbar-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.catbar-in::-webkit-scrollbar { display: none; }
.catbar a { flex: none; display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 12px;
            border-radius: 999px; white-space: nowrap; font-size: .95rem; }
.catbar a:hover { background: #e0e0e2; }
.catbar a.active { background: var(--dark); color: #fff; }

/* ---------- Inhalt ---------- */
.content { display: grid; gap: 24px; padding-top: 20px; padding-bottom: 40px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-title { position: relative; padding-left: 14px; font-size: 1.35rem; }
.sec-title::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 4px; background: var(--red); }
.sec-title small { font-size: .9rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.more { color: var(--red); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.empty { color: var(--muted); padding: 16px 0; }

/* Flyer-Zeilen */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px 1fr 20px; gap: 4px 14px; align-items: center; padding: 12px 0;
       border-bottom: 1px solid var(--line); text-decoration: none; }
.row:hover h3 { color: var(--red); }
.thumb { width: 56px; height: 76px; object-fit: cover; background: var(--band); border-radius: 3px;
         box-shadow: 0 1px 3px rgba(0,0,0,.25); grid-row: span 2; }
.row h3 { font-size: 1.08rem; margin: 0 0 2px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .9rem; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.row-sum { grid-column: 2; margin: 0; font-size: .92rem; color: #444; display: -webkit-box; -webkit-line-clamp: 2;
           -webkit-box-orient: vertical; overflow: hidden; }
.row .chev { grid-column: 3; grid-row: 1 / span 2; color: var(--muted); }
.cat-chip { display: inline-block; font-size: .78rem; padding: 1px 8px; border-radius: 999px; background: var(--band);
            color: var(--text); text-decoration: none; }

/* Seitenleiste */
.side-col .box { background: var(--soft); border: 1px solid var(--line); padding: 18px; margin-bottom: 16px; border-radius: 2px; }
.side-col .box p { margin: 0 0 12px; }
.checks { list-style: none; margin: 0 0 8px; padding: 0; }
.checks li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.checks .ic { color: var(--red); }

/* Filter */
.filters { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; background: #fff; }
.filters summary { cursor: pointer; padding: 12px 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "▾"; margin-left: auto; color: var(--muted); }
.filters[open] summary::after { content: "▴"; }
.badge { background: var(--red); color: #fff; border-radius: 999px; font-size: .75rem; padding: 0 7px; }
.filter-form { display: grid; gap: 12px; padding: 0 14px 14px; }
.filter-actions { display: flex; gap: 8px; }

/* Formulare & Buttons */
label { display: grid; gap: 4px; font-size: .92rem; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #cfcfd4; border-radius: var(--radius);
                          background: #fff; color: var(--text); width: 100%; min-height: 44px; }
input:focus, select:focus { outline: 2px solid var(--red); outline-offset: -1px; }
.form { display: grid; gap: 14px; margin: 16px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; min-height: 44px;
       border: 1px solid #cfcfd4; background: #fff; color: var(--text); border-radius: var(--radius); font: inherit;
       font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--soft); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-danger { color: var(--red); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line);
            background: #fff; border-radius: var(--radius); cursor: pointer; color: var(--text); }
.icon-btn:disabled { opacity: .35; }
.icon-btn.danger { color: var(--red); }
.icon-btn.light { background: transparent; border-color: #555; color: #fff; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.inline-form select { width: auto; }

.flash { background: #eaf6ee; border: 1px solid #b9e0c5; color: var(--green); padding: 10px 14px; border-radius: var(--radius); margin-top: 12px; }
.flash a { color: inherit; font-weight: 600; }
.error { background: #fdecec; border: 1px solid #f3c2c3; color: var(--red-dark); padding: 10px 14px; border-radius: var(--radius); }

/* Seiten */
.page { padding-top: 20px; padding-bottom: 48px; }
.narrow { max-width: 640px; }
.prose p, .prose li { max-width: 68ch; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 20px 0; }
.pager a { color: var(--red); text-decoration: none; font-weight: 600; }

/* Detailseite */
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; margin-bottom: 12px; }
.dhead { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.thumb-lg { width: 96px; height: auto; max-height: 128px; object-fit: contain; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.25); flex: none; background: var(--band); }
.dhead h1 { margin: 6px 0; }
.dsum { font-size: 1.08rem; }
.dgrid { display: grid; gap: 4px 32px; }
.dsec { border-top: 1px solid var(--line); padding: 12px 0; }
.dsec h2 { font-size: 1.05rem; display: flex; gap: 8px; align-items: center; }
.dsec h2 .ic { color: var(--red); }
.dsec ul { list-style: none; margin: 0; padding: 0; }
.dsec li { padding: 3px 0; overflow-wrap: anywhere; }
.dsec a { color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0; color: var(--muted); }
.tags a { background: var(--band); text-decoration: none; color: var(--text); padding: 3px 10px; border-radius: 999px; font-size: .9rem; }
.tags a:hover { background: #e0e0e2; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fff7e6; border: 1px solid #f1d39b;
          color: #6b4500; padding: 12px 14px; border-radius: var(--radius); }
.note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
.adminbox { margin-top: 24px; border: 1px dashed #c8c8cc; padding: 16px; border-radius: var(--radius); background: var(--soft); }
.adminbox h2 { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
pre.ocr { white-space: pre-wrap; font-size: .85rem; background: #fff; border: 1px solid var(--line); padding: 10px; max-height: 400px; overflow: auto; }

/* Kategorien-Seite */
.catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.catgrid a { display: grid; gap: 4px; justify-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
             text-decoration: none; background: var(--soft); }
.catgrid a:hover { border-color: var(--red); }
.catgrid .ic { color: var(--red); }
.catgrid span { color: var(--muted); font-size: .9rem; }

/* Verwaltung */
.status { display: inline-block; font-size: .78rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--band); }
.st-neu { background: #e7effc; color: #1d4fa3; }
.st-in_arbeit { background: #fff3dc; color: var(--amber); }
.st-fertig { background: #e4f4e9; color: var(--green); }
.st-fehler { background: #fdecec; color: var(--red-dark); }
.st-hidden { background: #eee; color: #555; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 12px 0; }
.tabs a { padding: 10px 12px; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a.active { border-color: var(--red); font-weight: 600; }
.tabs span { color: var(--muted); font-size: .85rem; }
.arow { display: grid; grid-template-columns: 56px 1fr; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.arow h3 { font-size: 1rem; margin: 0 0 4px; }
.arow h3 a { text-decoration: none; }
.arow .thumb { grid-row: span 2; }
.arow .error { margin: 6px 0 0; padding: 6px 10px; }
.arow-actions { grid-column: 2; display: flex; gap: 6px; }

/* Einsenden */
.pick { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin: 16px 0; }
.pick-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 10px;
            border: 2px dashed #c8c8cc; border-radius: 10px; cursor: pointer; font-weight: 600; text-align: center; background: var(--soft); }
.pick-main { background: var(--red); border: 0; color: #fff; }
.pages { list-style: none; margin: 0; padding: 0; }
.page-item { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.page-item img { width: 64px; height: 84px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.25); grid-row: span 2; }
.page-info { display: grid; }
.page-actions { display: flex; gap: 6px; }
.progress { height: 8px; background: var(--band); border-radius: 4px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--red); transition: width .2s; }

.cropper-modal { position: fixed; inset: 0; z-index: 100; background: #111; color: #fff; display: flex; flex-direction: column; }
.cropper-modal[hidden] { display: none; }
.crop-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); }
.crop-top strong { flex: 1; text-align: center; font-weight: 600; }
.crop-stage { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.crop-stage img { display: block; max-width: 100%; }
.crop-tools { display: flex; justify-content: space-around; gap: 4px; padding: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); overflow-x: auto; }
.crop-tools button { background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px;
                     font: inherit; font-size: .75rem; padding: 6px; min-width: 52px; cursor: pointer; }
.crop-tools button span { white-space: nowrap; }

/* Untere Navigationsleiste (Handy) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; background: #fff;
          border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 6px;
            text-decoration: none; color: var(--muted); font-size: .7rem; min-width: 0; }
.tabbar a.active { color: var(--red); }
.tabbar .ic { width: 22px; height: 22px; }
.page-upload .tabbar { display: none; }

/* Schwebender Kamera-Knopf (Admin, mobil) */
.fab { position: fixed; right: 16px; bottom: calc(70px + env(safe-area-inset-bottom)); width: 60px; height: 60px; border-radius: 50%;
       background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); z-index: 40; }
.fab .ic { width: 28px; height: 28px; }
.page-upload .fab { display: none; }

/* ---------- Kalender ---------- */
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cal-head h1 { margin: 0; flex: 1; text-align: center; font-size: 1.4rem; }
.cal-today { min-height: 40px; padding: 6px 12px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--band); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.chips a.active { background: var(--dark); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-wd { font-size: .75rem; font-weight: 600; color: var(--muted); text-align: center; padding: 6px 0; border-right: 1px solid var(--line);
          border-bottom: 1px solid var(--line); background: var(--soft); }
.cal-day { min-height: 52px; padding: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
           display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cal-day.other { background: #fafafa; color: #bbb; }
.cal-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
           font-size: .9rem; text-decoration: none; }
.cal-day.has .cal-num { background: var(--band); font-weight: 700; }
.cal-day.today .cal-num { background: var(--red); color: #fff; }
.cal-dots { display: flex; gap: 3px; }
.cal-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.cal-ev { display: none; list-style: none; margin: 0; padding: 0; width: 100%; }
.cal-ev li { font-size: .78rem; line-height: 1.25; margin-top: 3px; }
.cal-ev a { display: block; text-decoration: none; background: #fdecec; border-left: 3px solid var(--red); padding: 2px 4px;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev a:hover { background: #f9d8d9; }
.cal-ev .more-ev a { background: none; border: 0; color: var(--muted); }
.cal-section { margin-top: 28px; }
.cal-date { font-size: 1rem; margin: 20px 0 0; padding: 8px 0; color: var(--muted); scroll-margin-top: 70px; }
.cal-date.is-today { color: var(--red); }

/* ---------- Karte ---------- */
.map-filter { display: flex; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.map-filter select { flex: 1; min-height: 40px; padding: 6px 10px; }
.map { position: relative; height: calc(100vh - 56px - 62px - 60px); height: calc(100dvh - 56px - 62px - 60px); min-height: 340px;
       background: #e8eef1; z-index: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
               gap: 12px; padding: 24px; text-align: center; max-width: 520px; margin: 0 auto; }
.map-consent .ic { color: var(--red); }
.map-consent p { margin: 0; font-size: .92rem; }
.map-remember { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.map-remember input { width: 20px; min-height: 20px; }
.map-info { padding-top: 8px; padding-bottom: 8px; }
.pin span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg);
            border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.pin-approx span { background: #f08a8d; }
.leaflet-popup-content { font: 14px/1.4 var(--font); margin: 10px 14px; }
.pop-title { display: block; font-weight: 700; font-size: 15px; color: var(--text) !important; text-decoration: none; margin-bottom: 4px; }
.pop-title:hover { color: var(--red) !important; }
.pop-meta { color: var(--muted); }
.pop-cat { display: inline-block; margin-top: 6px; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--band); }
.pop-note { margin-top: 4px; font-size: 12px; color: var(--amber); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(215, 25, 31, .25) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: var(--red) !important; color: #fff; font-weight: 700; }
.page-map .footer { display: none; }
.map-link { display: inline-flex; align-items: center; gap: 4px; color: var(--red); }

/* ---------- Fußzeile ---------- */
.footer { background: var(--dark); color: #fff; padding: 20px 0 calc(150px + env(safe-area-inset-bottom)); }
.side-links { display: grid; gap: 10px; }
.side-links a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; }
.side-links .ic { color: var(--red); }
.footer-in { display: grid; gap: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer nav a { text-decoration: none; color: #eee; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-claim { margin: 0; font-style: italic; color: #ccc; font-size: .9rem; }

/* ---------- ab Tablet ---------- */
@media (min-width: 720px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.6rem; }
  .catgrid { grid-template-columns: repeat(3, 1fr); }
  .filter-form { grid-template-columns: repeat(3, 1fr); align-items: end; }
  .filter-actions { grid-column: 1 / -1; }
  .dgrid { grid-template-columns: 1fr 1fr; }
  .tb-btn span { display: inline; }
  .thumb-lg { width: 128px; max-height: 172px; }
  .cal-day { min-height: 110px; align-items: stretch; }
  .cal-num { align-self: flex-start; }
  .cal-dots { display: none; }
  .cal-ev { display: block; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .topbar-in { min-height: 72px; gap: 20px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: 1.55rem; }
  .logo { padding-right: 20px; border-right: 1px solid #555; }
  .mainnav { display: flex; gap: 2px; }
  .mainnav a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 22px 12px; border-bottom: 3px solid transparent; }
  .mainnav a.active { border-color: var(--red); }
  .mainnav a:hover { background: var(--dark-2); }
  .tabbar { display: none; }
  .hero-in { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 44px; padding-bottom: 40px; }
  .hero h1 { font-size: 3.2rem; }
  .lead { font-size: 1.3rem; }
  .hero-features { display: block; border-left: 1px solid #ccc; padding-left: 32px; }
  .catbar-in { justify-content: space-between; }
  .catbar a { border-radius: 0; padding: 12px 16px; }
  .content { grid-template-columns: 1fr 360px; gap: 48px; padding-top: 32px; }
  .row { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 20px; gap: 0 24px; padding: 14px 0; }
  .row .thumb { width: 64px; height: 84px; grid-row: auto; }
  .row-sum { grid-column: 3; }
  .row .chev { grid-column: 4; grid-row: auto; }
  .row h3 { font-size: 1.25rem; }
  .footer { padding-bottom: 24px; }
  .page-upload .footer { padding-bottom: 24px; }
  .footer-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .footer nav a { padding: 0 16px; border-left: 1px solid #555; }
  .fab { display: none; }
  .map { height: calc(100vh - 72px - 60px); min-height: 480px; }
  .page-map .footer { display: block; }
}

@media (min-width: 1360px) {
  .tagline { display: inline; }
}
