/* eiersheim.eu – Design
   Farben aus der alten Seite: Waldgrün #3A5427 / #112111, Creme #f5faf5 / #e1e1c2, Gold #FFB800 */

@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --green-950: #0e1a0c;
  --green-900: #112111;
  --green-800: #22381a;
  --green-700: #3a5427;
  --green-600: #4b6a33;
  --green-500: #628a45;
  --green-100: #e6eedf;
  --green-50: #f5faf5;
  --cream: #f3f1e2;
  --parchment: #e1e1c2;
  --gold: #ffb800;
  --gold-700: #b07f00;
  --grape: #1d3f69;

  --bg: #fbfcf8;
  --surface: #ffffff;
  --surface-2: var(--green-50);
  --text: #1c2518;
  --muted: #5a6654;
  --line: #dfe5d8;
  --link: var(--green-700);
  --link-hover: var(--green-900);
  --header-bg: rgba(17, 33, 17, .92);
  --shadow: 0 1px 2px rgba(17, 33, 17, .06), 0 8px 24px rgba(17, 33, 17, .08);
  --radius: 14px;
  --radius-sm: 8px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f150d;
    --surface: #161f13;
    --surface-2: #1b2617;
    --text: #e6ecdf;
    --muted: #a3b09a;
    --line: #2b3826;
    --link: #b9d49a;
    --link-hover: #ffd466;
    --green-100: #22301c;
    --cream: #1d2718;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.7 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; font-optical-sizing: auto; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand img { width: 38px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 650; letter-spacing: .01em; }
.brand-sub { font-family: var(--serif); font-style: italic; font-size: .82rem; color: #d7e4c4; }
.brand:hover { color: #fff; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: #e7efdd; text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.main-nav a[aria-current="page"] { background: var(--gold); color: var(--green-950); }
.header-tools { display: flex; gap: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  background: transparent; border: 0; color: inherit; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn { display: none; }

@media (max-width: 1040px) {
  .menu-btn { display: inline-grid; }
  .header-inner { gap: 12px; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--green-900); border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: 0; overflow: hidden; transition: max-height .25s ease; margin: 0;
  }
  .main-nav.open { max-height: 80vh; overflow: auto; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1.05rem; }
}

/* ---------- Hero / Banner ---------- */
[data-season-bg] {
  position: relative; color: #fff; isolation: isolate;
  background: var(--green-800) var(--hero-img) center var(--hero-pos, 55%) / cover no-repeat;
}
[data-season-bg]::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 26, 12, .55) 0%, rgba(14, 26, 12, .25) 45%, rgba(14, 26, 12, .75) 100%);
}
.banner { min-height: clamp(300px, 48vh, 540px); display: grid; align-items: end; }
.banner-inner { padding-block: clamp(72px, 10vw, 120px) clamp(32px, 4.5vw, 52px); }
.banner h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.banner .lead { margin: 8px 0 0; font-size: 1.1rem; color: #eef4e6; }
.crumbs { font-size: .88rem; margin-bottom: 10px; color: #dfe9d4; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs span { opacity: .6; margin-inline: 4px; }

.hero { min-height: min(86vh, 760px); display: grid; align-items: end; }
.hero::before { background: linear-gradient(180deg, rgba(14,26,12,.35) 0%, rgba(14,26,12,.1) 35%, rgba(14,26,12,.78) 100%); }
.hero-inner { padding-block: 120px clamp(48px, 8vw, 96px); }
.hero-wappen { width: clamp(72px, 9vw, 112px); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); margin-bottom: 18px; }
.hero-kicker { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: #f1f6e9; }
.hero-title { margin: 0; font-size: clamp(2.8rem, 9vw, 6.2rem); line-height: .98; letter-spacing: -.025em; font-weight: 700; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-lead { max-width: 38rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #eef4e6; margin: 14px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 12px; margin: 0; font-size: .75rem; color: rgba(255,255,255,.7); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: #ffc933; color: var(--green-950); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- Inhalt ---------- */
.main { padding-block: clamp(32px, 5vw, 56px) 72px; }
.home { padding: 0 0 72px; }
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2em 0 .5em; color: var(--green-700); }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.5em 0 .3em; }
@media (prefers-color-scheme: dark) { .prose h2 { color: #c7dca9; } }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li + li { margin-top: .25em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: .6em 1.2em; border-left: 4px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--surface-2); }
.prose details { margin: 1em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6em 1em; background: var(--surface); }
.prose details summary { cursor: pointer; font-weight: 600; font-family: var(--serif); font-size: 1.1rem; }
.prose details[open] summary { margin-bottom: .6em; }
.intro-text { margin-bottom: 36px; }

figure.img { margin: 1.6em 0; }
figure.img a { display: inline-block; max-width: 100%; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
figure.img img { width: auto; max-width: 100%; transition: transform .35s ease; }
figure.img a:hover img { transform: scale(1.02); }
figure.img figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
/* Mehrere Bilder direkt hintereinander -> Raster */
.prose p:has(> figure.img) { display: contents; }
.prose .img-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1.6em 0; }
.prose .img-row figure.img { margin: 0; }
.prose .img-row figure.img a { display: block; }
.prose .img-row figure.img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.subpages { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.subpages a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; }

.back { margin-top: 40px; }
.back a { text-decoration: none; font-weight: 600; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
a.card:hover, .card:has(h3 a:hover) { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(17,33,17,.08), 0 16px 36px rgba(17,33,17,.14); color: inherit; }
.card-media { display: block; aspect-ratio: 16/10; background: var(--green-100); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--green-100), var(--cream)); }
.card-ph img { width: 64px; height: auto; opacity: .55; object-fit: contain; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-body time { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-700); }
@media (prefers-color-scheme: dark) { .card-body time { color: var(--gold); } }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.year-head { font-size: 1.6rem; margin: 48px 0 18px; color: var(--green-700); display: flex; align-items: center; gap: 16px; }
.year-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.year-head:first-of-type { margin-top: 0; }
@media (prefers-color-scheme: dark) { .year-head { color: #c7dca9; } }

/* ---------- Startseite ---------- */
.intro { padding-block: clamp(40px, 6vw, 72px) 8px; font-size: 1.15rem; max-width: var(--wrap); }
.intro > * { max-width: 68ch; }
.intro h2 { margin-top: 0; }
.tiles-section { padding-block: 32px 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.tile {
  position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: var(--radius);
  overflow: hidden; color: #fff; text-decoration: none; background: var(--green-700); box-shadow: var(--shadow); isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,26,12,0) 30%, rgba(14,26,12,.85) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: #fff; }
.tile-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.tile-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.tile-text { font-size: .93rem; color: #e3ebd8; line-height: 1.45; }
.band { background: var(--cream); padding-block: clamp(40px, 6vw, 72px); margin-top: 48px; border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.more { font-weight: 600; text-decoration: none; }

/* ---------- Galerie ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font: inherit; font-size: .92rem; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.album-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.album-card[hidden] { display: none; }
.album-cover { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--green-100); box-shadow: var(--shadow); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-count { position: absolute; right: 10px; bottom: 10px; background: rgba(14,26,12,.72); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.album-meta { display: flex; flex-direction: column; line-height: 1.35; }
.album-meta strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.album-meta small { color: var(--muted); }
.album-card:hover .album-meta strong { color: var(--link); }

.grid-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.grid-gallery::after { content: ""; flex-grow: 999; }
.grid-gallery a { flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * 190px); aspect-ratio: var(--ar); border-radius: 6px; overflow: hidden; background: var(--green-100); }
.grid-gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.grid-gallery a:hover img { opacity: .85; }
@media (max-width: 560px) { .grid-gallery a { flex-basis: calc(var(--ar) * 120px); } }

/* ---------- YouTube (2-Klick) ---------- */
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--green-800), var(--green-600)); margin: 1.6em 0; box-shadow: var(--shadow); }
.yt-btn { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font: inherit; }
.yt-play { width: 72px; height: 50px; border-radius: 14px; background: #e02020; position: relative; transition: transform .15s; }
.yt-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-btn:hover .yt-play { transform: scale(1.08); }
.yt-note { text-align: center; font-weight: 600; line-height: 1.4; }
.yt-note small { font-weight: 400; opacity: .8; }
.yt-link { position: absolute; right: 12px; bottom: 10px; font-size: .8rem; color: #fff; opacity: .85; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Panorama ---------- */
.pano, .pano.pnlm-container { height: var(--pano-h, min(62vh, 520px)); border-radius: var(--radius-sm); overflow: hidden; margin: 1.6em 0; background: var(--green-900); box-shadow: var(--shadow); }
.prose .pano { max-width: none; }
.layout-page .prose:has(.pano) { max-width: 1000px; }

/* ---------- Karte / Bildstöcke ---------- */
.map-wrap { margin-bottom: 40px; }
.map { height: min(68vh, 560px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--green-100); z-index: 0; }
.map-small { height: 300px; }
.map-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.bs-marker { display: grid; place-items: center; }
.bs-marker span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green-700); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.bs-marker b { transform: rotate(45deg); color: #fff; font: 700 12px/1 var(--sans); }
.bs-icon { position: relative; }
.bs-icon img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); transition: transform .15s ease; transform-origin: 50% 100%; }
.bs-icon:hover img { transform: scale(1.12); }
.bs-icon b {
  position: absolute; top: -8px; left: calc(50% + 4px); min-width: 22px; height: 22px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px; background: var(--green-700); color: #fff;
  font: 700 11.5px/1 var(--sans); border: 2px solid var(--gold); box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.leaflet-popup-content { font-family: var(--sans); margin: 12px 14px; }
.leaflet-popup-content img { display: block; width: 180px; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.leaflet-popup-content a { font-weight: 600; }
.bs-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.bs-item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.bs-item:hover { border-color: var(--green-500); box-shadow: var(--shadow); color: inherit; }
.bs-img { flex: 0 0 64px; height: 64px; border-radius: 6px; overflow: hidden; background: var(--green-100); }
.bs-img img { width: 100%; height: 100%; object-fit: cover; }
.bs-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.bs-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.bs-text small { color: var(--muted); }
.bs-nr { font-size: .75rem; font-weight: 700; color: var(--gold-700); }
.bs-nr:not(:empty)::before { content: "Nr. "; }
.bs-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.bs-aside { position: sticky; top: 90px; }
@media (max-width: 860px) { .bs-detail { grid-template-columns: 1fr; } .bs-aside { position: static; } }
.inschrift { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.inschrift span { display: block; font-family: var(--sans); font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 4px; }

/* ---------- Pager ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; max-width: 72ch; }
.pager a { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: var(--surface); font-weight: 600; line-height: 1.35; }
.pager a:hover { border-color: var(--green-500); }
.pager small { font-weight: 500; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.pager-next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager-next { grid-column: 1; } }

/* ---------- Suche ---------- */
dialog.search { width: min(680px, calc(100vw - 32px)); max-height: min(80vh, 640px); margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog.search::backdrop { background: rgba(14, 26, 12, .55); backdrop-filter: blur(3px); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.search-box > svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; flex-shrink: 0; }
.search-box input { flex: 1; font: inherit; font-size: 1.1rem; border: 0; outline: 0; background: transparent; color: inherit; padding: 10px 0; min-width: 0; }
.search-box .icon-btn { color: var(--muted); }
.search-box .icon-btn:hover { background: var(--surface-2); }
.search-results { list-style: none; margin: 0; padding: 8px; overflow: auto; max-height: calc(min(80vh, 640px) - 70px); }
.search-results:empty { display: none; }
.search-results a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: inherit; }
.search-results a:hover, .search-results a:focus { background: var(--surface-2); outline: none; }
.search-results strong { display: block; font-family: var(--serif); font-weight: 600; }
.search-results small { color: var(--muted); display: block; font-size: .85rem; line-height: 1.45; }
.search-results mark { background: rgba(255, 184, 0, .35); color: inherit; border-radius: 2px; }
.search-empty { padding: 16px 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfdcc2; font-size: .92rem; padding-block: 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; line-height: 1.45; }
.footer-brand strong { font-family: var(--serif); color: #fff; font-size: 1.05rem; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav { justify-content: center; }
.site-footer a { color: #e7efdd; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; gap: 20px; } .footer-nav { justify-content: flex-start; } }

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .header-tools, .pager, .back, .map-wrap, dialog { display: none !important; }
  [data-season-bg] { background: none !important; color: #000; }
  [data-season-bg]::before { display: none; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
