/* ==========================================================================
   Kunst- und Weihnachtsmarkt Würselen – öffentliches Stylesheet
   Keine externen Schriften oder Bibliotheken (DSGVO-freundlich)
   ========================================================================== */

:root {
  --night: #14243a;
  --night-deep: #0c1726;
  --night-soft: #1f3552;
  --gold: #e0a83e;
  --gold-light: #f4cf7a;
  --red: #a0303a;
  --red-dark: #7c222b;
  --cream: #faf5ea;
  --paper: #fffdf8;
  --ink: #1d2230;
  --ink-soft: #3c4252;
  --muted: #6c7080;
  --line: #e8dfcd;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(20 36 58 / .06), 0 8px 24px -8px rgb(20 36 58 / .18);
  --shadow-lg: 0 2px 4px rgb(20 36 58 / .06), 0 24px 48px -16px rgb(20 36 58 / .32);
  --wrap: 1160px;
  --wrap-narrow: 780px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--night);
  letter-spacing: -.005em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gap), var(--wrap-narrow)); }
.muted { color: var(--muted); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--night); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ------------------------------------------------------------------ Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(12 23 38 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / .06);
  color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .01em;
}
.brand:hover { color: var(--gold-light); text-decoration: none; }
.brand-star { width: 26px; height: 26px; fill: var(--gold); flex: none; filter: drop-shadow(0 0 6px rgb(224 168 62 / .55)); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: rgb(255 255 255 / .82); text-decoration: none; font-weight: 500; font-size: .97rem;
  transition: background .15s, color .15s;
}
.main-nav a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.main-nav a[aria-current="page"] { color: var(--night); background: var(--gold-light); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
  background: rgb(255 255 255 / .08); color: #fff; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--night-deep); border-bottom: 1px solid rgb(255 255 255 / .08);
    padding: .5rem var(--gap) 1rem;
    display: none;
  }
  .main-nav.is-open { display: block; animation: drop .18s ease-out; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8rem 1rem; border-radius: 10px; font-size: 1.05rem; }
}
@media (max-width: 820px) and (scripting: none) {
  .nav-toggle { display: none; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: block; position: static; padding: 0 0 .75rem; background: none; border: 0; }
  .main-nav ul { flex-direction: row; flex-wrap: wrap; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* -------------------------------------------------------------------- Hero */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 78vh, 820px);
  display: grid; align-items: center;
  color: #fff; text-align: center;
  background:
    radial-gradient(circle at 18% 72%, rgb(224 168 62 / .35), transparent 22%),
    radial-gradient(circle at 82% 30%, rgb(244 207 122 / .22), transparent 18%),
    radial-gradient(circle at 60% 85%, rgb(160 48 58 / .35), transparent 25%),
    radial-gradient(ellipse at 50% 120%, var(--night-soft), transparent 60%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 100%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(12 23 38 / .55) 0%, rgb(12 23 38 / .35) 40%, rgb(12 23 38 / .85) 100%);
}
.hero-snow {
  position: absolute; inset: -100px 0 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent 60%),
    radial-gradient(2px 2px at 140px 80px, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 160px, #fff, transparent 60%),
    radial-gradient(2.5px 2.5px at 220px 120px, rgb(255 255 255 / .9), transparent 60%),
    radial-gradient(1.5px 1.5px at 260px 200px, #fff, transparent 60%),
    radial-gradient(2px 2px at 60px 230px, rgb(255 255 255 / .8), transparent 60%);
  background-size: 300px 260px;
  animation: snow 18s linear infinite;
}
@keyframes snow { to { transform: translateY(260px); } }

.hero-inner { padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-kicker {
  display: inline-block; margin: 0 0 1rem; padding: .35rem 1rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid rgb(244 207 122 / .45); background: rgb(12 23 38 / .35);
}
.hero-title {
  font-size: clamp(2.4rem, 1.4rem + 5vw, 5rem);
  color: #fff; margin: 0 0 .5rem; line-height: 1.05;
  text-shadow: 0 2px 30px rgb(0 0 0 / .35);
}
.hero-subtitle { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); color: rgb(255 255 255 / .9); margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------- Countdown */

.countdown { margin: 0 auto; }
.countdown-label { margin: 0 0 .6rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.countdown-units { display: inline-grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: .6rem; }
.countdown-unit {
  padding: .7rem .5rem .55rem; border-radius: 12px; min-width: 64px;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.countdown-unit span { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-unit small { display: block; margin-top: .3rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.countdown:is(.is-live, .is-over) .countdown-label { font-size: 1.15rem; letter-spacing: .04em; text-transform: none; color: var(--gold-light); font-weight: 600; opacity: 1; }
.countdown.is-live .countdown-units, .countdown.is-over .countdown-units { display: none; }

.countdown--inline {
  text-align: center; color: #fff; background: var(--night); padding: 1.5rem; border-radius: var(--radius); margin-block: 1.5rem;
}

/* ----------------------------------------------------------------- Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--gold); color: var(--night-deep); font-weight: 650; text-decoration: none; line-height: 1.2;
  box-shadow: 0 6px 20px -8px rgb(224 168 62 / .8);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.button:hover { background: var(--gold-light); color: var(--night-deep); text-decoration: none; transform: translateY(-1px); }
.button--ghost { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .55); box-shadow: none; }
.button--ghost:hover { background: rgb(255 255 255 / .16); color: #fff; }
.button--outline { background: transparent; color: var(--night); border-color: var(--night); box-shadow: none; }
.button--outline:hover { background: var(--night); color: #fff; }
.button-row { text-align: center; margin: 1.5rem 0; }

/* ------------------------------------------------------------ Page layout */

.page-header {
  background:
    radial-gradient(circle at 85% 20%, rgb(224 168 62 / .18), transparent 30%),
    linear-gradient(180deg, var(--night-deep), var(--night));
  color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin: 0; }
.page-lead { margin: .75rem 0 0; color: rgb(255 255 255 / .8); font-size: 1.1rem; max-width: 60ch; }
.breadcrumb { margin: 0 0 .75rem; font-size: .95rem; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-body { padding-block: clamp(2rem, 5vw, 4rem); }
.is-home .page-body { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ----------------------------------------------------------------- Inhalte */

.prose { max-width: 100%; }
.prose > * { max-width: var(--wrap-narrow); margin-inline: auto; }
.prose > .contact-card, .prose > .news-grid, .prose > .gallery, .prose > .gallery-more, .prose > .termine,
.prose > .embed-image.is-voll, .prose > .button-row { max-width: none; }
.prose > .termine { max-width: 860px; }
.prose h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  margin-top: 2.2em; position: relative;
}
.prose > h2:first-child { margin-top: 0; }
.prose h2::after {
  content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; margin-top: .45em;
  background: linear-gradient(90deg, var(--gold), var(--red));
}
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 auto 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: 1.5em auto; padding: .5em 0 .5em 1.25em; border-left: 4px solid var(--gold);
  font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--ink-soft);
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em auto; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: #f3ecdc; }

.article-lead { font-size: 1.2rem; color: var(--ink-soft); font-weight: 500; }
.article-meta { color: rgb(255 255 255 / .75); margin: .75rem 0 0; }
.article-image { margin: 0 0 2rem; }
.article-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.article-image figcaption, .embed-image figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.preview-banner { display: inline-block; background: var(--gold); color: var(--night); padding: .35rem .8rem; border-radius: 6px; font-weight: 600; font-size: .9rem; }

/* Eingebettete Bilder */
.embed-image { margin: 1.75rem auto; }
.embed-image img { border-radius: var(--radius-sm); box-shadow: var(--shadow); width: 100%; }
.embed-image a { display: block; cursor: zoom-in; }
.embed-image.is-klein { max-width: 280px; }
.embed-image.is-mittel { max-width: 420px; }
.embed-image.is-voll { max-width: none; }
.embed-image.is-voll img { border-radius: var(--radius); }
@media (min-width: 700px) {
  .prose > .embed-image.align-links:is(.is-klein, .is-mittel) { float: left; margin: .35rem 1.75rem 1rem 0; }
  .prose > .embed-image.align-rechts:is(.is-klein, .is-mittel) { float: right; margin: .35rem 0 1rem 1.75rem; }
  .prose { display: flow-root; }
  .prose > h2, .prose > h3 { clear: both; }
}

/* ----------------------------------------------------------------- Termine */

.termine {
  position: relative; margin: 2.25rem auto; padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--night); color: #fff; border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.termine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgb(224 168 62 / .28), transparent 45%);
}
.termine-title { color: var(--gold-light); font-size: 1.3rem; margin: 0 0 1rem; position: relative; }
.termine-list { margin: 0; display: grid; gap: .1rem; position: relative; }
.termine-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline;
  padding: .75rem 0; border-bottom: 1px dashed rgb(255 255 255 / .18);
}
.termine-row:last-child { border-bottom: 0; }
.termine-row dt { font-weight: 500; }
.termine-row dd { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--gold-light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.termine-place { position: relative; display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; color: rgb(255 255 255 / .8); font-size: .95rem; }
.termine-place svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
@media (max-width: 520px) {
  .termine-row { grid-template-columns: 1fr; gap: .15rem; }
}

/* -------------------------------------------------------------------- News */

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--gap); margin: 1.5rem 0; }
.news-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.news-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card.no-image { border-top: 4px solid var(--gold); }
.news-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card-date { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin: 0 0 .4rem; }
.news-card-title { font-size: 1.3rem; margin: 0 0 .5rem; }
.news-card-title a { color: var(--night); text-decoration: none; }
.news-card-title a::after { content: ""; position: absolute; inset: 0; }
.news-card-title a:focus-visible { outline: none; }
.news-card-teaser { color: var(--ink-soft); font-size: .97rem; margin: 0 0 1rem; flex: 1; }
.news-card-more { color: var(--red); font-weight: 600; font-size: .95rem; }
.tag { background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; }
.more-news { border-top: 1px solid var(--line); }
.more-news h2 { font-size: 1.6rem; }

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a {
  min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--night); text-decoration: none; font-weight: 600;
}
.pagination a[aria-current="page"] { background: var(--night); color: #fff; border-color: var(--night); }

/* ----------------------------------------------------------------- Galerie */

.gallery { columns: 3 260px; column-gap: .9rem; margin: 1.5rem 0; }
.gallery-item {
  display: block; break-inside: avoid; margin-bottom: .9rem; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--night); cursor: zoom-in; box-shadow: var(--shadow); position: relative;
}
.gallery-item img { width: 100%; transition: transform .4s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.035); opacity: .92; }
.gallery--compact { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); gap: .7rem; }
.gallery--compact .gallery-item { margin: 0; aspect-ratio: 1; }
.gallery--compact .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-more { text-align: right; font-weight: 600; margin-top: -.5rem; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.album-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff;
  background: var(--night); box-shadow: var(--shadow); aspect-ratio: 4 / 3;
}
.album-card-media, .album-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album-card-media img { transition: transform .5s; }
.album-card:hover .album-card-media img { transform: scale(1.05); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(12 23 38 / .88)); }
.album-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.2rem 1.4rem; }
.album-card-body h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.album-card-body p { margin: .15rem 0 0; color: var(--gold-light); font-size: .92rem; font-weight: 600; }
.album-card:hover { color: #fff; }

.album-switch { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.album-switch span { color: var(--muted); margin-right: .25rem; }
.album-switch a { padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--night); font-weight: 500; }
.album-switch a:hover { border-color: var(--gold); }

/* ---------------------------------------------------------------- Lightbox */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(8 14 24 / .96); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgb(8 14 24 / .9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.lightbox-stage { position: relative; display: grid; place-items: center; padding: 56px 64px 8px; min-height: 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.lightbox-caption { text-align: center; padding: .75rem 1rem 1.25rem; min-height: 3rem; color: rgb(255 255 255 / .85); font-size: .95rem; }
.lightbox-counter { opacity: .6; margin-left: .5rem; font-variant-numeric: tabular-nums; }
.lightbox button {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .1); color: #fff; display: grid; place-items: center; transition: background .15s;
}
.lightbox button:hover { background: rgb(255 255 255 / .22); }
.lightbox button svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-counter { display: none; }
@media (max-width: 640px) {
  .lightbox-stage { padding: 60px 8px 8px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 8px; translate: none; }
  .lightbox[open] { grid-template-rows: 1fr auto; padding-bottom: 64px; }
}

/* ------------------------------------------------------------------ Footer */

.site-footer { background: var(--night-deep); color: rgb(255 255 255 / .75); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: var(--gold-light); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr .8fr; gap: 2rem; align-items: start; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.footer-col p, .footer-col address { margin: 0 0 .75rem; font-style: normal; }
.footer-col strong { color: #fff; }
.footer-brand { display: flex; gap: .75rem; align-items: flex-start; }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: #fff; line-height: 1.35; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; color: rgb(255 255 255 / .5); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Kontaktkarte */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin: 2rem auto;
  padding: clamp(1.4rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.contact-card p { margin: 0; }
.contact-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.prose .contact-card-list li { display: flex; gap: .8rem; align-items: center; margin: 0; }
.contact-card-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--night); fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-card-list span { display: grid; line-height: 1.35; }
.contact-card-list small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card-list a { font-weight: 600; word-break: break-word; }
@media (max-width: 640px) { .contact-card { grid-template-columns: 1fr; } }

/* Dokumente / Pressespiegel */
.doc-list { list-style: none; padding: 0 !important; margin: 1.25rem auto 2rem !important; display: grid; gap: .6rem; }
.prose .doc-list li { margin: 0; }
.doc-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: .85rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.doc-item:hover { border-color: var(--gold); color: var(--ink); transform: translateX(3px); box-shadow: var(--shadow); text-decoration: none; }
.doc-icon { width: 44px; height: 52px; border-radius: 6px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em; display: grid; place-items: end center; padding-bottom: 8px; position: relative; }
.doc-icon::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 12px 12px 0; border-color: transparent var(--cream) rgb(0 0 0 / .25) transparent; }
.doc-text { display: grid; }
.doc-text strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--night); }
.doc-text small { color: var(--muted); }
.doc-action { color: var(--red); font-weight: 600; font-size: .9rem; white-space: nowrap; }
@media (max-width: 520px) { .doc-action { display: none; } }

@media print {
  .site-header, .site-footer, .hero-snow, .hero-actions, .countdown { display: none !important; }
  .hero, .page-header { background: none; color: #000; min-height: 0; }
  .hero-title, .page-header h1 { color: #000; text-shadow: none; }
  .termine { background: none; color: #000; box-shadow: none; border: 1px solid #999; }
  .termine-row dd, .termine-title { color: #000; }
}

/* Bausteine nie neben schwebende Bilder quetschen */
.prose > :is(.countdown, .termine, .contact-card, .doc-list, .gallery, .news-grid, .button-row, .embed-image.align-mitte, .embed-image.is-gross, .embed-image.is-voll, blockquote, table, hr) { clear: both; }
