/* ==========================================================================
   Gemeinde Wiesing — Design System
   A place to breathe. A place to belong.
   --------------------------------------------------------------------------
   1. Fonts
   2. Tokens
   3. Reset & base
   4. Layout
   5. Typography helpers
   6. Header & navigation
   7. Search & accessibility dialogs
   8. Hero
   9. Home sections
   10. Components
   11. Interior pages
   12. Forms
   13. Footer
   14. Utilities, print, preferences
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --paper: #f7f3eb;
  --paper-2: #efe8da;
  --paper-3: #e6ddcc;
  --ink: #1c241e;
  --ink-2: #3f4941;
  --stone: #64625a;
  --forest: #1e3a2b;
  --forest-2: #14281e;
  --sage: #8ca089;
  --sage-2: #c7d2c0;
  --clay: #94573a;
  --line: rgba(28, 36, 30, 0.16);
  --line-soft: rgba(28, 36, 30, 0.09);
  --light-line: rgba(247, 243, 235, 0.22);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* 3. Reset & base --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html[data-textsize="lg"] { font-size: 112.5%; }
html[data-textsize="xl"] { font-size: 125%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 3.05rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.3; }

p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(28, 36, 30, 0.38);
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
a:hover { text-decoration-color: currentColor; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }
li::marker { color: var(--stone); }

strong, b { font-weight: 650; }
small { font-size: 0.86em; }
em { font-style: italic; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection { background: var(--forest); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 1px;
}

:target { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--forest);
  color: var(--paper);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 940px; }
.wrap--wide { max-width: 1480px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--cream { background: var(--paper-2); }
.section--forest { background: var(--forest); color: var(--paper); }
.section--forest a { text-decoration-color: var(--light-line); }
.section--forest .eyebrow,
.section--forest .muted { color: rgba(247, 243, 235, 0.66); }
.section--forest ::selection { background: var(--paper); color: var(--forest); }

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

/* 5. Typography helpers --------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clay);
}
.section--forest .eyebrow .num { color: var(--sage-2); }

.display { font-family: var(--serif); font-weight: 400; }
.display em { font-style: italic; }

.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--stone); }
.small { font-size: 0.86rem; line-height: 1.5; }
.tiny { font-size: 0.74rem; letter-spacing: 0.06em; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 26px;
  margin-bottom: clamp(34px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.section-head h2 { max-width: 18ch; }
.section-head .aside-link { flex: none; padding-bottom: 6px; }
.section--forest .section-head { border-color: var(--light-line); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.arrow-link svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.arrow-link:hover { border-color: currentColor; }
.arrow-link:hover svg { transform: translateX(4px); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* 6. Header & navigation -------------------------------------------------- */
.topbar {
  background: var(--forest-2);
  color: rgba(247, 243, 235, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 34px;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar li { margin: 0; }
.topbar .sep { width: 1px; height: 12px; background: rgba(247, 243, 235, 0.3); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 243, 235, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-compact { box-shadow: 0 1px 0 rgba(28, 36, 30, 0.04), 0 12px 30px -24px rgba(28, 36, 30, 0.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.site-header.is-compact .header-inner { min-height: 66px; }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 34px; height: auto; }
.brand-text { display: grid; line-height: 1; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.72rem;
  letter-spacing: -0.02em;
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.site-header.is-compact .brand-word { font-size: 1.5rem; }

.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: relative; margin: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 11px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-radius: 2px;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(28, 36, 30, 0.05); }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.32em; text-decoration-thickness: 2px; }
.nav-link .chev {
  width: 10px; height: 10px;
  margin-top: 1px;
  transition: transform 0.2s var(--ease);
}
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: max-content;
  max-width: min(760px, calc(100vw - 40px));
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(20, 40, 30, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.2s;
  z-index: 70;
}
.nav-item.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 4px 26px;
}
.nav-panel a {
  display: block;
  padding: 9px 10px;
  text-decoration: none;
  border-radius: 2px;
}
.nav-panel a:hover { background: var(--paper-2); }
.nav-panel .np-title { display: block; font-weight: 650; font-size: 0.95rem; }
.nav-panel .np-desc { display: block; font-size: 0.78rem; color: var(--stone); margin-top: 2px; line-height: 1.35; }
.nav-panel .np-all {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-panel .np-all svg { width: 18px; height: 18px; flex: none; }

.header-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; }
.lang-btn {
  min-width: 30px !important;
  padding: 0 4px !important;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.lang-btn.is-current { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.lang-btn:hover { color: var(--ink); }
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  border-radius: 2px;
}
.tool-btn:hover { background: rgba(28, 36, 30, 0.06); }
.tool-btn svg { width: 19px; height: 19px; }
.tool-btn .aa { font-family: var(--serif); font-size: 1.05rem; letter-spacing: -0.02em; }

.menu-btn { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  overflow-y: auto;
  padding: 0 0 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 8px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.mobile-nav { padding: 8px var(--gutter) 0; }
.mobile-group { border-bottom: 1px solid var(--line); }
.mobile-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  cursor: pointer;
  list-style: none;
}
.mobile-group > summary::-webkit-details-marker { display: none; }
.mobile-group > summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--stone);
  transition: transform 0.2s var(--ease);
}
.mobile-group[open] > summary::after { content: "−"; }
.mobile-sub { padding: 0 0 18px; display: grid; gap: 2px; }
.mobile-sub a {
  display: block;
  padding: 11px 0 11px 14px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  font-size: 1.02rem;
}
.mobile-sub a:hover { border-color: var(--forest); background: var(--paper-2); }
.mobile-direct {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
}
.mobile-utility {
  display: grid;
  gap: 10px;
  padding: 26px var(--gutter) 0;
  font-size: 0.95rem;
}
.mobile-utility a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 0; }
.mobile-util-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.mobile-util-btn:hover { text-decoration: underline; }
.mobile-utility svg { width: 18px; height: 18px; }

.noscript-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 0.9rem;
}

/* 7. Dialogs -------------------------------------------------------------- */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: 100vw;
  max-height: 100vh;
}
dialog::backdrop {
  background: rgba(15, 26, 19, 0.62);
  backdrop-filter: blur(3px);
}
.dialog-card {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 40px);
  margin: 20px auto;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.5);
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.dialog-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  border-radius: 2px;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 20px; height: 20px; }

.search-form { display: flex; gap: 10px; }
.search-input {
  flex: 1;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--ink);
  border-radius: 0;
}
.search-input:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.search-hint { margin: 10px 0 0; font-size: 0.8rem; color: var(--stone); }
.search-results { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.search-results li { margin: 0; }
.search-results a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}
.search-results a:hover, .search-results a:focus-visible { background: var(--paper-2); }
.search-results .sr-title { display: block; font-weight: 650; }
.search-results .sr-meta { display: block; font-size: 0.78rem; color: var(--stone); margin-top: 2px; }
.search-results .sr-desc { display: block; font-size: 0.86rem; color: var(--ink-2); margin-top: 4px; }
.search-empty { padding: 18px 4px; color: var(--stone); font-size: 0.95rem; }
.search-all { margin-top: 18px; display: inline-flex; }

.a11y-grid { display: grid; gap: 28px; }
.a11y-group { border-top: 1px solid var(--line); padding-top: 18px; }
.a11y-group h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.95rem;
  background: #fff;
}
.segmented input { accent-color: var(--forest); }
.segmented label:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }

/* 8. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 880px);
  color: var(--paper);
  overflow: hidden;
  background: var(--forest-2);
}
.hero--video { background: #000; }
.hero--video::after { display: none; }
.hero--video .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video .hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,16,0.35) 0%, rgba(12,22,16,0.1) 40%, rgba(12,22,16,0.7) 100%); pointer-events: none; z-index: 1; }
.hero--video .hero-inner { position: relative; z-index: 2; }
.video-block { position: relative; }
.video-block video { width: 100%; height: auto; display: block; background: #000; border-radius: 2px; }
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(12,22,16,0.25) 0%, rgba(12,22,16,0.55) 100%);
  pointer-events: none;
  padding: 24px;
}
.video-overlay h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--paper); margin: 8px 0; }
.video-overlay .hero-eyebrow { color: rgba(247,243,235,0.9); }
  background: var(--forest-2);
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center 55%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 22, 16, 0.32) 0%, rgba(12, 22, 16, 0.04) 35%, rgba(12, 22, 16, 0.18) 62%, rgba(12, 22, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 22, 16, 0.42) 0%, rgba(12, 22, 16, 0) 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  padding-bottom: clamp(44px, 7vh, 84px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.9);
}
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.75; }
.hero h1 {
  font-size: clamp(3rem, 7.6vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.028em;
  max-width: 15ch;
  color: #fbf8f1;
  text-shadow: 0 1px 40px rgba(10, 20, 14, 0.18);
}
.hero h1 em { font-style: italic; }
.hero-inner h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.95; letter-spacing: -0.02em; margin: 0; color: #fbf8f1; font-weight: 400; font-family: var(--serif); font-style: italic; text-shadow: 0 1px 40px rgba(10, 20, 14, 0.18); }
.hero-sub {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.9vw, 1.34rem);
  line-height: 1.5;
  color: rgba(247, 243, 235, 0.92);
}
.hero-fact {
  margin: 16px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.62);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.hero .arrow-link { color: var(--paper); border-color: rgba(247, 243, 235, 0.55); font-size: 1.02rem; }
.hero .arrow-link:hover { border-color: var(--paper); }
.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 3;
  max-width: 320px;
  text-align: right;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: rgba(251, 248, 241, 0.95);
  background: rgba(12, 22, 16, 0.55);
  padding: 6px 9px;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 64px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.7);
}
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: rgba(247, 243, 235, 0.5);
  animation: scrollcue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollcue {
  0% { transform: scaleY(0.2); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Quick access rail */
.quickbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.quickbar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.quickbar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.quickbar-item:first-child { border-left: 0; padding-left: 0; }
.quickbar-item:last-child { padding-right: 0; }
.quickbar-item:hover { background: var(--paper-2); }
.quickbar-item .qb-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 3px;
}
.quickbar-item .qb-title { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; }
.quickbar-item svg { width: 18px; height: 18px; flex: none; color: var(--stone); transition: transform 0.25s var(--ease); }
.quickbar-item:hover svg { transform: translateX(4px); color: var(--ink); }

/* 9. Home sections -------------------------------------------------------- */
.intro-grid { align-items: start; }
.intro-copy { grid-column: 1 / span 6; }
.intro-copy h2 { max-width: 15ch; margin-bottom: 26px; }
.intro-copy .lead { margin-bottom: 22px; }
.intro-copy p { color: var(--ink-2); }
.intro-media { grid-column: 8 / span 5; margin-top: 8px; }
.intro-media .figure img { border: 1px solid var(--line-soft); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(44px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt {
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.fact dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.fact dd small { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0; color: var(--stone); margin-top: 6px; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr) 20px;
  gap: 14px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  align-items: start;
}
.service-row .idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clay);
  padding-top: 5px;
}
.service-row h3 { font-size: clamp(1.3rem, 2vw, 1.62rem); }
.service-row p { margin: 5px 0 0; font-size: 0.95rem; color: var(--stone); max-width: 48ch; }
.service-row .go { width: 18px; height: 18px; margin-top: 8px; color: var(--stone); transition: transform 0.25s var(--ease); }
.service-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.service-row:hover .go { transform: translateX(4px); color: var(--ink); }

.hours-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.hours-panel h3 { margin-bottom: 6px; }
.hours-panel .hp-sub { font-size: 0.8rem; color: var(--stone); margin-bottom: 18px; }
.hours-list { list-style: none; margin: 0 0 20px; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; margin: 0; }
.hours-list li span:first-child { color: var(--stone); }
.hours-list li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours-panel .note { font-size: 0.8rem; color: var(--stone); margin-top: 12px; }
.hours-panel .arrow-link { margin-top: 4px; }

.notice-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 14px 0 22px;
  font-size: 0.9rem;
}
.notice-bar .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.notice-bar .dot { width: 6px; height: 6px; background: var(--clay); border-radius: 50%; flex: none; }
.notice-bar a { font-weight: 600; }

.discover-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.discover-head h2 { max-width: 14ch; }
.discover-head p { margin: 0; color: var(--stone); }

.discover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: stretch;
}
.discover-media { position: relative; min-height: 420px; overflow: hidden; }
.discover-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.discover-media:hover img { transform: scale(1.015); }
.discover-media .caption {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  color: rgba(247, 243, 235, 0.85);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.discover-chapters { display: grid; align-content: stretch; border-top: 1px solid var(--line); }
.chapter-link {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.chapter-link .idx { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 0.9rem; padding-top: 4px; }
.chapter-link h3 { font-size: 1.35rem; }
.chapter-link p { margin: 4px 0 0; font-size: 0.88rem; color: var(--stone); }
.chapter-link svg { width: 18px; height: 18px; margin-top: 8px; color: var(--stone); transition: transform 0.25s var(--ease); }
.chapter-link:hover svg { transform: translateX(4px); color: var(--ink); }
.chapter-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(44px, 6vw, 80px);
}
.editorial-split--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.editorial-split h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.editorial-split p { color: var(--ink-2); }
.editorial-split .figure { margin: 0; }

.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 22px;
  gap: clamp(16px, 3vw, 36px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  align-items: start;
}
.news-row time { font-size: 0.76rem; font-weight: 650; letter-spacing: 0.06em; color: var(--clay); padding-top: 6px; }
.news-row h3 { font-size: clamp(1.28rem, 2vw, 1.55rem); }
.news-row p { margin: 6px 0 0; font-size: 0.95rem; color: var(--stone); max-width: 62ch; }
.news-row .go { width: 20px; height: 20px; margin-top: 6px; color: var(--stone); transition: transform 0.25s var(--ease); }
.news-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.news-row:hover .go { transform: translateX(4px); color: var(--ink); }

.event-list { border-top: 1px solid var(--light-line); }
.event-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--light-line);
  text-decoration: none;
}
.event-date { display: flex; align-items: baseline; gap: 8px; }
.event-date .d { font-family: var(--serif); font-size: 2.35rem; line-height: 0.9; letter-spacing: -0.03em; }
.event-date .m { font-size: 0.7rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-2); }
.event-row h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
.event-row .meta { margin-top: 4px; font-size: 0.84rem; color: rgba(247, 243, 235, 0.62); }
.event-row .go { width: 18px; height: 18px; color: rgba(247, 243, 235, 0.6); transition: transform 0.25s var(--ease); }
.event-row:hover .go { transform: translateX(4px); color: var(--paper); }
.event-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-block { display: grid; gap: 30px; }
.contact-block address { font-style: normal; font-size: 1.1rem; line-height: 1.7; }
.contact-lines { display: grid; gap: 8px; }
.contact-lines a { font-weight: 600; }
.emergency { border-top: 1px solid var(--line); padding-top: 22px; }
.emergency h3 { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.emergency-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; }
.emergency-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.emergency-item span { font-size: 0.88rem; color: var(--stone); }
.emergency-item strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }

/* 10. Components ---------------------------------------------------------- */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; }
.figure figcaption {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--stone);
}
.figure figcaption::before { content: ""; flex: none; width: 22px; height: 1px; background: currentColor; margin-top: 0.65em; opacity: 0.7; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--forest-2); border-color: var(--forest-2); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.btn--light:hover { background: #fff; border-color: #fff; }

.notice {
  border-left: 3px solid var(--clay);
  background: var(--paper-2);
  padding: 20px 24px;
  margin: 0 0 28px;
}
.notice .label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.notice p { font-size: 0.98rem; }
.notice--forest { background: rgba(247, 243, 235, 0.06); border-color: var(--sage-2); }

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  padding: clamp(22px, 2.6vw, 30px);
}
.panel h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.panel .contact-name { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 2px; }
.panel .contact-role { font-size: 0.85rem; color: var(--stone); margin-bottom: 14px; }
.panel dl { margin: 0; display: grid; gap: 10px; }
.panel dt { font-size: 0.68rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.panel dd { margin: 2px 0 0; font-size: 0.96rem; }
.panel dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.panel dd a:hover { border-color: currentColor; }

.toc { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink-2);
}
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; margin-bottom: 0.5em; font-size: clamp(1.65rem, 2.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.35em; }
.prose ul, .prose ol { max-width: 68ch; }
.prose li { margin-bottom: 0.5em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose blockquote {
  margin: 2em 0;
  padding: 0 0 0 26px;
  border-left: 2px solid var(--sage);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}
.prose blockquote p { max-width: 40ch; }

.doc-list { border-top: 1px solid var(--line); }
.doc-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.doc-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.doc-title { font-weight: 600; font-size: 0.98rem; line-height: 1.35; }
.doc-meta { display: block; font-size: 0.8rem; color: var(--stone); margin-top: 2px; font-weight: 400; }
.doc-row svg { width: 18px; height: 18px; color: var(--stone); }
.doc-row:hover .doc-title { text-decoration: underline; text-underline-offset: 3px; }
.doc-row:hover svg { color: var(--ink); }

.table-wrap { overflow-x: auto; margin: 26px 0; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}
table.data caption {
  caption-side: top;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 10px;
}
table.data th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}
table.data td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td:last-child, table.data th:last-child { padding-right: 0; }
table.data .amount { text-align: right; white-space: nowrap; font-weight: 650; }
table.data .nowrap { white-space: nowrap; }
table.data tbody tr:hover { background: rgba(28, 36, 30, 0.025); }

.people { border-top: 1px solid var(--line); }
.person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 22px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.person-name { font-weight: 650; }
.person-role { font-size: 0.82rem; color: var(--stone); }
.person-contact { font-size: 0.86rem; text-align: right; }
.person-contact svg { width: 18px; height: 18px; margin-left: auto; }
.person-contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.person-contact a:hover { border-color: currentColor; }
.person.is-lead .person-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }

details.disclosure { border-bottom: 1px solid var(--line); }
details.disclosure > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 0.9;
  color: var(--stone);
  flex: none;
}
details.disclosure[open] > summary::after { content: "−"; }
details.disclosure .disclosure-body { padding: 0 0 20px; }
details.disclosure .disclosure-body p { font-size: 0.95rem; color: var(--ink-2); }

.timeline { position: relative; margin: 30px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 26px; padding: 0 0 26px 34px; margin: 0; }
.timeline-item::before { content: ""; position: absolute; left: 3px; top: 8px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--clay); border-radius: 50%; }
.timeline-year { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; color: var(--clay); }
.timeline-text { font-size: 0.98rem; color: var(--ink-2); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
.stat { background: var(--paper); padding: 22px; }
.stat dt { font-size: 0.66rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.stat dd { margin: 8px 0 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
}
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.filter-input {
  flex: 1 1 220px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.filter-count { font-size: 0.78rem; color: var(--stone); margin-left: auto; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery .figure:nth-child(3n) { grid-column: span 2; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .figure:nth-child(3n) img { aspect-ratio: 16 / 8; }

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.callout .callout-icon { width: 26px; height: 26px; color: var(--clay); }
.callout h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.callout p { font-size: 0.92rem; color: var(--ink-2); }

/* 11. Interior pages ------------------------------------------------------ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--stone);
  list-style: none;
  margin: 0;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--stone); opacity: 0.7; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }

.page-head {
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(40px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { max-width: 19ch; }
.page-head .lead { margin-top: 22px; }
.page-head--with-media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(30px, 5vw, 70px); align-items: end; }
.page-head-media { align-self: stretch; }
.page-head-media img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 70px);
}
.content-main { min-width: 0; }
.aside { position: sticky; top: calc(var(--header-h) + 26px); display: grid; gap: 20px; align-self: start; }
.aside .panel { background: var(--paper-2); }

.page-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 44px;
}

/* 12. Forms --------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 650; }
.field .req { color: var(--clay); }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid rgba(28, 36, 30, 0.35);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.field .hint { font-size: 0.8rem; color: var(--stone); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; line-height: 1.5; }
.checkbox input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--forest); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-status { margin-top: 16px; font-size: 0.9rem; }
.form-status:empty { display: none; }
.form-note { font-size: 0.8rem; color: var(--stone); margin-top: 14px; max-width: 60ch; }

/* 13. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--forest-2);
  color: rgba(247, 243, 235, 0.82);
  padding: clamp(56px, 7vw, 96px) 0 28px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  background: url("../img/wappen-240.webp") no-repeat center / contain;
  opacity: 0.06;
  filter: grayscale(1) brightness(2.2);
  pointer-events: none;
}
.site-footer a { color: inherit; text-decoration-color: rgba(247, 243, 235, 0.3); }
.site-footer a:hover { color: #fff; }
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--light-line);
}
.footer-brand .brand-word { font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--paper); }
.footer-brand .brand-sub { color: rgba(247, 243, 235, 0.55); margin-top: 8px; }
.footer-brand p { margin-top: 20px; font-size: 0.9rem; color: rgba(247, 243, 235, 0.66); max-width: 30ch; }
.footer-brand .footer-contact { margin-top: 22px; display: grid; gap: 4px; font-size: 0.9rem; }
.footer-brand .footer-contact a { text-decoration: none; }
.footer-brand .footer-contact a:hover { text-decoration: underline; }
.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.52);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.footer-col li { margin: 0; }
.footer-col a { display: inline-block; padding: 6px 0; font-size: 0.92rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  font-size: 0.76rem;
  color: rgba(247, 243, 235, 0.55);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-note { max-width: 46ch; }

/* 14. Utilities, print, preferences --------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
.mb-3 { margin-bottom: 32px; }
.hide { display: none !important; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* High contrast preference */
html[data-contrast="high"] {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --paper-3: #ffffff;
  --ink: #000000;
  --ink-2: #000000;
  --stone: #1a1a1a;
  --forest: #000000;
  --forest-2: #000000;
  --sage: #000000;
  --sage-2: #ffffff;
  --clay: #000000;
  --line: #000000;
  --line-soft: #000000;
  --light-line: #ffffff;
}
html[data-contrast="high"] .hero::after { background: rgba(0, 0, 0, 0.78); }
html[data-contrast="high"] .hero-credit,
html[data-contrast="high"] .hero-scroll { color: #fff; }
html[data-contrast="high"] a { text-decoration: underline !important; }
html[data-contrast="high"] .btn { border-width: 2px; }
html[data-contrast="high"] .chip.is-active { outline: 2px solid #000; }
html[data-contrast="high"] .figure img,
html[data-contrast="high"] .hero-media img { filter: grayscale(1) contrast(1.1); }
html[data-contrast="high"] .site-footer::before { display: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-link { padding: 12px 8px; font-size: 0.89rem; }
  .brand-sub { letter-spacing: 0.16em; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar-list .hide-md { display: none; }
  .intro-copy { grid-column: 1 / span 7; }
  .intro-media { grid-column: 8 / span 5; }
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero { min-height: min(86svh, 720px); }
  .hero-credit { display: none; }
  .hero-scroll { display: none; }
  .quickbar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quickbar-item { border-left: 0; border-top: 1px solid var(--line); padding: 18px 16px; }
  .quickbar-item:nth-child(odd) { padding-left: 0; }
  .quickbar-item:nth-child(even) { border-left: 1px solid var(--line); padding-right: 0; }
  .quickbar-item:nth-child(-n+2) { border-top: 0; }

  .intro-copy, .intro-media { grid-column: 1 / -1; }
  .intro-media { margin-top: 28px; max-width: 620px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact:nth-child(3) { padding-left: 0; }

  .service-layout { grid-template-columns: 1fr; }
  .hours-panel { position: static; order: -1; }

  .discover-head { grid-template-columns: 1fr; gap: 18px; }
  .discover-grid { grid-template-columns: 1fr; }
  .discover-media { min-height: 340px; }
  .editorial-split, .editorial-split--reverse { grid-template-columns: 1fr; }
  .editorial-split--reverse .figure { order: -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside { position: static; order: 2; }
  .page-head--with-media { grid-template-columns: 1fr; }
  .page-head-media { display: none; }

  .stat-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .figure:nth-child(3n) { grid-column: auto; }
  .gallery .figure:nth-child(3n) img { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  body { font-size: 1.06rem; }
  .topbar .wrap { justify-content: center; }
  .topbar-list { gap: 14px; font-size: 0.72rem; }
  .topbar-list .hide-sm { display: none; }
  .hero-inner { padding-top: 110px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { gap: 14px 20px; }
  .quickbar-item .qb-title { font-size: 1rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-head .aside-link { padding-bottom: 0; }
  .news-row { grid-template-columns: 1fr 20px; gap: 6px 14px; padding: 22px 0; }
  .news-row time { grid-column: 1; padding-top: 0; }
  .news-row h3 { grid-column: 1; }
  .news-row p { grid-column: 1; }
  .news-row .go { grid-column: 2; grid-row: 2; }
  .event-row { grid-template-columns: 78px minmax(0, 1fr); gap: 12px 16px; }
  .event-row .go { display: none; }
  .event-date .d { font-size: 1.9rem; }
  .event-date { flex-direction: column; gap: 2px; align-items: flex-start; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 2px; }
  .person { grid-template-columns: 1fr; }
  .person-contact { text-align: left; }
  .person-contact svg { display: none; }
  .contact-lines { gap: 6px; }
  .emergency-grid { grid-template-columns: 1fr 1fr; }
  .doc-row { grid-template-columns: 50px minmax(0, 1fr) 16px; gap: 12px; }
  .page-head h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); }
  .stat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand img { width: 30px; }
  .brand-word { font-size: 1.5rem; }
  .tool-btn { min-width: 42px; padding: 0 8px; }
  .tool-btn .label { display: none; }
  .lang-switch { display: none; }
  .hero h1 { font-size: 2.55rem; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .fact:last-child { border-bottom: 0; }
  .quickbar-grid { grid-template-columns: 1fr; }
  .quickbar-item, .quickbar-item:nth-child(even) { border-left: 0; padding-inline: 0; }
  .quickbar-item + .quickbar-item { border-top: 1px solid var(--line); }
  .emergency-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Zweispaltige Tabellen werden auf schmalen Geräten gestapelt,
   damit Beträge nicht abgeschnitten werden. */
@media (max-width: 560px) {
  table.data--stack thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  table.data--stack,
  table.data--stack tbody,
  table.data--stack tr,
  table.data--stack td { display: block; width: 100%; }
  table.data--stack caption { display: block; width: 100%; }
  table.data--stack tr { padding: 13px 0; border-bottom: 1px solid var(--line); }
  table.data--stack tr:hover { background: none; }
  table.data--stack td { padding: 0; border: 0; }
  table.data--stack td.amount { text-align: left; white-space: normal; font-weight: 650; margin-top: 3px; }
}

@media print {
  .topbar, .site-header, .hero-scroll, .quickbar, .site-footer, .aside, .filter-bar, .skip-link, dialog { display: none !important; }
  body { font-size: 11pt; background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; background: #fff; }
  .hero::after, .hero-media { display: none; }
  .section { padding-block: 18pt; }
  a { text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}
