:root {
  --ivory: #f6f1e7;
  --cream: #fff9ef;
  --sand: #efe6d8;
  --green: #0f3328;
  --green-deep: #0b241c;
  --wood: #7a4a27;
  --terracotta: #a14d2d;
  --gold: #c79a3b;
  --ink: #1e1a16;
  --muted: #5f574f;
  --line: #d8cbb8;
  --shadow: 0 24px 70px rgba(31, 25, 17, 0.12);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 2026-06-07: Aktivitäten-Seite redaktionell, bildstark und responsiv optimiert. */
#rueckblick,
#sonderausstellung-2025,
#jahreshauptversammlung-2025,
#krippenweg-eroeffnung-2025 {
  scroll-margin-top: 112px;
}

.activities-subhero {
  padding: clamp(38px, 5vw, 78px) 0 clamp(42px, 5vw, 82px);
  background:
    radial-gradient(circle at 10% 8%, rgba(184, 124, 53, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.98), rgba(239, 230, 216, 0.78));
}

.activities-subhero .subhero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 4vw, 60px);
}

.activities-subhero .subhero-copy h1 {
  max-width: 9.4em;
  font-size: clamp(3rem, 5vw, 5.55rem);
  line-height: 0.98;
}

.activities-subhero .lead {
  max-width: 42rem;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem);
  line-height: 1.42;
}

.activity-hero-points {
  gap: 9px;
  margin: 24px 0 24px;
}

.activity-hero-points span {
  min-height: 36px;
  padding: 8px 13px;
  border-color: rgba(15, 51, 40, 0.18);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 8px 22px rgba(31, 25, 17, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.activities-hero-media {
  overflow: hidden;
  border: 1px solid rgba(15, 51, 40, 0.14);
  border-radius: 8px;
  background: #1f1911;
  box-shadow: 0 24px 64px rgba(31, 25, 17, 0.18);
}

.activities-hero-media img {
  height: clamp(360px, 33vw, 560px);
  object-fit: cover;
  object-position: center;
}

.activities-hero-media figcaption {
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: auto;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 249, 239, 0.22);
  border-radius: 6px;
  background: rgba(11, 36, 28, 0.88);
  font-size: 0.82rem;
  line-height: 1.25;
}

.activity-spotlight-section {
  padding-block: clamp(34px, 4.5vw, 68px);
  background: #fffdf7;
}

.activity-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.89fr) minmax(0, 0.89fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.activity-spotlight-card {
  position: relative;
  display: grid;
  min-height: clamp(330px, 30vw, 430px);
  align-content: end;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(15, 51, 40, 0.14);
  border-radius: 8px;
  background: #1f1911;
  color: #fff9ef;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(31, 25, 17, 0.12);
}

.activity-spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 20, 16, 0.04), rgba(5, 20, 16, 0.86));
  pointer-events: none;
}

.activity-spotlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.activity-spotlight-card:hover img,
.activity-spotlight-card:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.04);
}

.activity-spotlight-card > span,
.activity-spotlight-card > strong {
  position: relative;
  z-index: 1;
}

.activity-spotlight-card__date {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 249, 239, 0.28);
  border-radius: 999px;
  background: rgba(15, 51, 40, 0.74);
  color: #fff9ef;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-spotlight-card strong {
  max-width: 11em;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  line-height: 1.02;
}

.activity-spotlight-card:not(.activity-spotlight-card--large) strong {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
}

.activity-spotlight-card span:last-child {
  max-width: 31rem;
  margin-top: 9px;
  color: rgba(255, 249, 239, 0.88);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.42;
}

.activities-review-section {
  background:
    linear-gradient(180deg, rgba(239, 230, 216, 0.48), rgba(255, 249, 239, 0.96)),
    var(--sand);
}

.activities-review-head {
  margin-bottom: clamp(18px, 2.2vw, 28px);
  align-items: end;
}

.activities-review-head h2 {
  max-width: 11em;
  font-size: clamp(2.25rem, 4vw, 4.45rem);
  line-height: 1.02;
}

.activity-count {
  min-height: 42px;
  padding: 0 15px;
  background: rgba(255, 253, 247, 0.74);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.activities-timeline {
  position: relative;
  gap: 18px;
}

.activities-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 66px;
  width: 1px;
  background: rgba(15, 51, 40, 0.16);
}

.activity-entry {
  position: relative;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(20px, 2.6vw, 34px);
  border-color: rgba(15, 51, 40, 0.13);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 16px 42px rgba(31, 25, 17, 0.075);
}

.activity-entry--featured {
  grid-template-columns: 118px minmax(0, 1fr) minmax(210px, 0.34fr);
}

.activity-entry time {
  position: relative;
  z-index: 1;
  width: 82px;
  min-height: 82px;
  justify-items: center;
  align-content: center;
  padding: 10px 8px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background: #fff9ef;
  box-shadow: 0 12px 26px rgba(31, 25, 17, 0.08);
  color: var(--terracotta);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.activity-entry time span {
  font-size: clamp(1.78rem, 2.3vw, 2.05rem);
  line-height: 0.95;
  white-space: nowrap;
}

.activity-entry h3 {
  max-width: 34em;
  color: var(--green-deep);
  font-size: clamp(1.22rem, 1.45vw, 1.55rem);
  line-height: 1.2;
}

.activity-entry p {
  max-width: 74ch;
  font-size: clamp(0.98rem, 1vw, 1.06rem);
  line-height: 1.62;
}

.activity-entry .eyebrow {
  margin-bottom: 8px;
}

.activity-facts {
  max-width: 78ch;
  gap: 0;
}

.activity-facts div {
  grid-template-columns: minmax(112px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  padding: 9px 0;
}

.activity-pdf-preview {
  min-height: 270px;
  border-color: rgba(15, 51, 40, 0.13);
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(31, 25, 17, 0.08);
}

.activity-pdf-preview img {
  min-height: 270px;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
}

.activity-map {
  border-color: rgba(15, 51, 40, 0.14);
  box-shadow: 0 16px 38px rgba(31, 25, 17, 0.08);
}

.activity-map__consent h4 {
  font-size: clamp(1.9rem, 3.3vw, 3.5rem);
  line-height: 1.02;
}

.activity-pagination {
  margin-top: clamp(22px, 3vw, 34px);
}

@media (max-width: 1180px) {
  .activities-subhero .subhero-grid,
  .activity-spotlight-grid,
  .activity-entry,
  .activity-entry--featured,
  .activity-entry--map {
    grid-template-columns: 1fr;
  }

  .activities-timeline::before {
    display: none;
  }

  .activity-entry time {
    width: fit-content;
    min-height: 0;
    grid-template-columns: auto auto;
    gap: 8px;
    justify-items: start;
    text-align: left;
  }

  .activity-spotlight-card,
  .activity-spotlight-card--large {
    min-height: clamp(290px, 42vw, 390px);
  }
}

@media (max-width: 760px) {
  #rueckblick,
  #sonderausstellung-2025,
  #jahreshauptversammlung-2025,
  #krippenweg-eroeffnung-2025 {
    scroll-margin-top: 88px;
  }

  .activities-subhero {
    padding-top: 34px;
  }

  .activities-subhero .subhero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3.45rem);
    line-height: 1;
  }

  .activities-subhero .lead {
    font-size: clamp(1.03rem, 4.5vw, 1.2rem);
    line-height: 1.42;
  }

  .activity-hero-points {
    margin: 20px 0;
  }

  .activity-hero-points span {
    font-size: 0.72rem;
  }

  .activities-hero-media img {
    height: clamp(260px, 68vw, 380px);
  }

  .activity-spotlight-section {
    padding-block: 30px;
  }

  .activity-spotlight-grid {
    gap: 14px;
  }

  .activity-spotlight-card {
    min-height: 280px;
    padding: 20px;
  }

  .activity-spotlight-card strong,
  .activity-spotlight-card:not(.activity-spotlight-card--large) strong {
    font-size: clamp(1.5rem, 8vw, 2.15rem);
  }

  .activities-review-head {
    align-items: start;
  }

  .activities-review-head h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .activity-entry {
    padding: 20px;
  }

  .activity-entry h3 {
    font-size: clamp(1.16rem, 5.4vw, 1.38rem);
    line-height: 1.22;
  }

  .activity-entry p,
  .activity-facts dd,
  .activity-list {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .activity-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .activity-pdf-preview,
  .activity-pdf-preview img {
    min-height: 310px;
  }
}

/* 2026-06-07: robust hand panning for PDF page images. */
.pdf-modal__stage {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
}

.pdf-modal__stage.is-dragging,
.pdf-modal__stage.is-dragging * {
  cursor: grabbing !important;
}

.pdf-modal__pages,
.pdf-modal__page,
.pdf-modal__page img {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}

.pdf-modal__pages,
.pdf-modal__page img {
  pointer-events: none !important;
}

.pdf-modal__page {
  display: none !important;
}

.pdf-modal__page.is-active {
  display: block !important;
}

/* 2026-06-07: PDF modal fit view and pan-at-100%. Keep after older modal rules. */
.pdf-modal__panel {
  width: min(1240px, calc(100vw - 20px));
  height: min(96vh, 1040px);
  max-height: min(96vh, 1040px);
}

.pdf-modal__body {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #2a251f;
}

.pdf-modal__stage {
  --pdf-zoom: 1;
  --pdf-pan-x: 0px;
  --pdf-pan-y: 0px;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.pdf-modal__stage.is-dragging {
  cursor: grabbing;
}

.pdf-modal__pages {
  display: grid;
  gap: 14px;
  width: min(calc(100vh * 0.58), calc(100vw - 44px), 620px);
  margin: 0 auto;
  padding: 12px 0;
  transform: translate(var(--pdf-pan-x), var(--pdf-pan-y)) scale(var(--pdf-zoom));
  transform-origin: top center;
}

.pdf-modal__page {
  margin: 0;
}

.pdf-modal__page img {
  width: 100%;
  height: auto;
  max-height: calc(96vh - 158px);
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

@media (max-width: 760px) {
  .pdf-modal {
    padding: 6px;
  }

  .pdf-modal__panel {
    width: calc(100vw - 12px);
    height: 96vh;
    max-height: 96vh;
  }

  .pdf-modal__pages {
    width: min(calc(100vh * 0.5), calc(100vw - 30px));
    gap: 10px;
    padding: 10px 0;
  }

  .pdf-modal__page img {
    max-height: calc(96vh - 214px);
  }
}

/* 2026-06-07: final fit correction verified by browser measurements. */
.pdf-modal {
  padding: 6px !important;
}

.pdf-modal__panel {
  width: min(1240px, calc(100dvw - 12px)) !important;
  height: min(96dvh, 1040px) !important;
  max-height: min(96dvh, 1040px) !important;
}

.pdf-modal__body,
.pdf-modal__stage {
  overflow: hidden !important;
}

.pdf-modal__stage {
  cursor: grab !important;
}

.pdf-modal__stage.is-dragging {
  cursor: grabbing !important;
}

.pdf-modal__pages {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 8px 0 !important;
  justify-items: center;
  transform: translate(var(--pdf-pan-x), var(--pdf-pan-y)) scale(var(--pdf-zoom)) !important;
  transform-origin: top center !important;
}

.pdf-modal__page img {
  width: auto !important;
  max-width: calc(100dvw - 40px) !important;
  max-height: 72dvh !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .pdf-modal__page img {
    max-width: calc(100dvw - 28px) !important;
    max-height: 54dvh !important;
  }
}

/* 2026-06-07: PDF popup uses rendered page images, page navigation, zoom, drag, and print/open icons. */
.activity-pdf-preview span {
  display: none !important;
}

.activity-pdf-preview {
  cursor: zoom-in;
}

.pdf-modal {
  padding: clamp(10px, 2vw, 24px);
}

.pdf-modal__panel {
  width: min(1180px, 100%);
  height: min(94vh, 980px);
  max-height: min(94vh, 980px);
}

.pdf-modal__head {
  gap: 14px;
}

.pdf-modal__title {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-modal__tools {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.pdf-modal__tools button,
.pdf-modal__tools span,
.pdf-modal__icon-button {
  min-width: 42px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 51, 40, 0.18);
  border-radius: 4px;
  background: #fffdf7;
  color: var(--green-deep);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.pdf-modal__tools button,
.pdf-modal__icon-button {
  cursor: pointer;
}

.pdf-modal__tools button:disabled {
  opacity: 0.45;
  cursor: default;
}

.pdf-modal__tools span {
  min-width: 58px;
  background: rgba(15, 51, 40, 0.08);
}

.pdf-modal__close {
  font-size: 1.25rem;
}

.pdf-modal__body {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #2a251f;
}

.pdf-modal__stage {
  --pdf-zoom: 1;
  --pdf-pan-x: 0px;
  --pdf-pan-y: 0px;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  cursor: default;
  touch-action: none;
}

.pdf-modal__stage.is-zoomed {
  cursor: grab;
}

.pdf-modal__stage.is-dragging {
  cursor: grabbing;
}

.pdf-modal__pages {
  display: grid;
  gap: 18px;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 26px);
  transform: translate(var(--pdf-pan-x), var(--pdf-pan-y)) scale(var(--pdf-zoom));
  transform-origin: top center;
}

.pdf-modal__page {
  margin: 0;
}

.pdf-modal__page img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.pdf-modal__actions {
  justify-content: flex-end;
}

.pdf-modal__icon-button {
  width: 46px;
  padding: 0;
}

.pdf-modal__icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .pdf-modal__panel {
    height: 94vh;
  }

  .pdf-modal__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pdf-modal__tools {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .pdf-modal__tools button,
  .pdf-modal__tools span,
  .pdf-modal__icon-button {
    min-width: 0;
    min-height: 38px;
    padding-inline: 5px;
    font-size: 0.78rem;
  }

  .pdf-modal__pages {
    gap: 12px;
    padding: 12px;
  }
}

/* 2026-06-07: Final PDF viewer overrides for multi-page documents. */
.activity-pdf-preview span {
  display: none !important;
}

.activity-pdf-preview {
  cursor: zoom-in;
}

.pdf-modal {
  padding: clamp(10px, 2vw, 24px);
}

.pdf-modal__panel {
  width: min(1180px, 100%);
  height: min(94vh, 980px);
  max-height: min(94vh, 980px);
}

.pdf-modal__head {
  gap: 14px;
}

.pdf-modal__title {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-modal__tools {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.pdf-modal__tools button,
.pdf-modal__tools span {
  min-width: 42px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 51, 40, 0.18);
  border-radius: 4px;
  background: #fffdf7;
  color: var(--green-deep);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.pdf-modal__tools button {
  cursor: pointer;
}

.pdf-modal__tools span {
  min-width: 58px;
  background: rgba(15, 51, 40, 0.08);
}

.pdf-modal__close {
  font-size: 1.25rem;
}

.pdf-modal__body {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #2a251f;
}

.pdf-modal__stage {
  --pdf-zoom: 1;
  --pdf-pan-x: 0px;
  --pdf-pan-y: 0px;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  cursor: default;
  touch-action: none;
}

.pdf-modal__stage.is-zoomed {
  cursor: grab;
}

.pdf-modal__stage.is-dragging {
  cursor: grabbing;
}

.pdf-modal__actions {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .pdf-modal__panel {
    height: 94vh;
  }

  .pdf-modal__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pdf-modal__tools {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pdf-modal__tools button,
  .pdf-modal__tools span {
    min-width: 0;
    min-height: 38px;
    padding-inline: 6px;
    font-size: 0.82rem;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

/* 2026-06-12: Keep PDF document pages visible inside the modal, not squeezed below the toolbar. */
.pdf-modal__panel {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
}

.pdf-modal__body {
  min-height: 0 !important;
}

.pdf-modal__stage {
  min-height: 0 !important;
  overflow: hidden !important;
}

.pdf-modal__pages {
  width: min(100%, 820px) !important;
  height: 100% !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.pdf-modal__page {
  height: 100% !important;
}

.pdf-modal__page img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(130deg, rgba(199, 154, 59, 0.12), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(161, 77, 45, 0.09), transparent 28%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(122, 74, 39, 0.34);
  background-color: #ead8ba;
  background-image: url("/assets/img/header-pergament-supplied.webp");
  background-position: center;
  background-size: 260px auto;
  background-repeat: repeat;
  background-blend-mode: multiply;
  box-shadow: 0 12px 34px rgba(31, 25, 17, 0.12), inset 0 -1px 0 rgba(255, 250, 241, 0.72);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.brand-mark {
  width: 106px;
  height: auto;
}

.brand-title {
  display: block;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 2.05rem);
  font-weight: 700;
  line-height: 0.95;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: var(--wood);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.2vw, 22px);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-menu a {
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 25;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(216, 203, 184, 0.9);
  border-radius: 6px;
  background: rgba(255, 249, 239, 0.98);
  box-shadow: 0 18px 42px rgba(31, 25, 17, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown__menu a {
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--green-deep);
  font-size: 0.86rem;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: rgba(239, 230, 216, 0.72);
  color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fffaf1;
}

.btn-dark {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fffaf1;
}

.section {
  padding: clamp(64px, 8vw, 118px) 0;
}

.wrap {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  font-size: clamp(4rem, 10vw, 10.5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.4rem, 5.6vw, 6rem);
}

h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.hero {
  padding: 38px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  padding: 42px 0;
}

.hero-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: 0 0 0 96px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: min(420px, calc(100% - 60px));
  padding: 24px;
  border: 1px solid rgba(255, 249, 239, 0.42);
  border-radius: 8px;
  background: rgba(11, 36, 28, 0.86);
  color: #fff9ef;
  backdrop-filter: blur(18px);
}

.hero-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.quick {
  margin-top: -10px;
  padding-bottom: clamp(56px, 7vw, 90px);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card,
.card,
.course-card,
.heritage-card,
.shop-card,
.member-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.84);
  box-shadow: 0 14px 40px rgba(31, 25, 17, 0.06);
}

.quick-card {
  padding: 24px;
}

.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(15, 51, 40, 0.26);
  border-radius: 999px;
  color: var(--green);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quick-card h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.25;
}

.quick-card p,
.card p,
.course-card p,
.heritage-card p,
.shop-card p,
.member-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight {
  background: linear-gradient(180deg, var(--sand), rgba(239, 230, 216, 0.58));
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.card {
  padding: 28px;
  overflow: hidden;
}

.image-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 22px;
  align-items: center;
}

.image-card img,
.shop-card img,
.member-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.price {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(199, 154, 59, 0.22);
  color: var(--green-deep);
  font-weight: 900;
}

.event-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.event {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.event-date {
  color: var(--terracotta);
  font-weight: 900;
  line-height: 1.05;
}

.event-title {
  color: var(--green-deep);
  font-weight: 800;
}

.event-title small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.event-card h3 {
  margin-bottom: 0;
}

.event-card--home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 0;
  padding: 28px;
  border-color: rgba(15, 51, 40, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(248, 240, 226, 0.9)),
    var(--cream);
}

.event-card__head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.event-card--home h3 {
  max-width: 7.5em;
  font-size: clamp(2.1rem, 4.6vw, 3.25rem);
  line-height: 0.86;
}

.event-card__title-link {
  display: inline;
  color: inherit;
  text-decoration: none;
}

.event-card__title-link:hover,
.event-card__title-link:focus-visible {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.event-card--home .event-list {
  gap: 14px;
  margin-top: 0;
}

.event-card--home .event {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 0;
  border-color: rgba(15, 51, 40, 0.18);
  background: #fffdf8;
  box-shadow: 0 14px 30px rgba(31, 25, 17, 0.06);
}

.event-card--home .event-date {
  display: grid;
  place-content: center;
  min-height: 116px;
  padding: 14px 10px;
  background: var(--green);
  color: var(--cream);
  text-align: center;
}

.event-card--home .event-date span,
.event-card--home .event-date strong,
.event-card--home .event-date em {
  display: block;
  font-style: normal;
}

.event-card--home .event-date span {
  font-size: 1.55rem;
  line-height: 0.95;
}

.event-card--home .event-date strong {
  margin-top: 4px;
  color: #f1c866;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.event-card--home .event-date em {
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 800;
}

.event-body {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.event-card--home .event-title {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.05;
}

.event-meta,
.event-summary {
  margin: 8px 0 0;
  color: var(--muted);
}

.event-meta {
  font-weight: 800;
}

.event-summary {
  font-size: 0.95rem;
  line-height: 1.35;
}

.mission-lines {
  height: 82px;
  margin-top: 30px;
  opacity: 0.75;
  background:
    linear-gradient(160deg, transparent 52%, rgba(15, 51, 40, 0.18) 52.4%, transparent 53%),
    linear-gradient(154deg, transparent 48%, rgba(15, 51, 40, 0.16) 48.4%, transparent 49%),
    linear-gradient(148deg, transparent 56%, rgba(15, 51, 40, 0.14) 56.4%, transparent 57%);
}

.section-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.course-card {
  overflow: hidden;
}

.course-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.course-body {
  padding: 18px;
}

.date-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff9ef;
  font-size: 0.72rem;
  font-weight: 900;
}

.course-card h3 {
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.18;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.museum-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.museum-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.museum-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.museum-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
  background: var(--green-deep);
  color: #fff9ef;
}

.museum-info h2 {
  color: #fff9ef;
}

.info-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0;
}

.info-pair span {
  display: block;
  color: rgba(255, 249, 239, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-pair strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
}

.heritage-card {
  padding: clamp(30px, 4vw, 54px);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.logo-placeholder {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(15, 51, 40, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.logo-placeholder small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.logo-placeholder img {
  max-height: 70px;
  object-fit: contain;
}

.split-section {
  background: var(--cream);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.shop-card,
.member-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.member-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--green-deep);
  font-weight: 800;
  list-style: none;
}

.member-card li {
  position: relative;
  min-height: 24px;
  padding-left: 28px;
  line-height: 1.35;
}

.member-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}


.gallery-head {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: clamp(170px, 18vw, 280px);
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  overflow: hidden;
  background: var(--sand);
}

.footer-top {
  position: relative;
  padding: 72px 0;
}

.footer-top::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  opacity: 0.52;
  background:
    linear-gradient(152deg, transparent 54%, rgba(15, 51, 40, 0.15) 54.2%, transparent 55%),
    linear-gradient(146deg, transparent 50%, rgba(15, 51, 40, 0.12) 50.2%, transparent 51%),
    linear-gradient(160deg, transparent 58%, rgba(15, 51, 40, 0.12) 58.2%, transparent 59%);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.7fr;
  gap: 32px;
}

.footer-logo {
  width: 172px;
  margin-bottom: 18px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-bottom {
  background: var(--green-deep);
  color: #fff9ef;
}

.footer-bottom .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .nav-menu {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
  }

  .nav-dropdown__toggle {
    justify-content: space-between;
  }

  .nav-dropdown__menu {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown__menu::before {
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .museum-grid,
  .highlight-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 460px;
  }

  .hero-media img {
    min-height: 460px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .course-card {
    flex: 0 0 min(340px, 82vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .wrap,
  .header-inner {
    width: min(100% - 28px, 1440px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 82px;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-copy {
    padding: 24px 0;
  }

  .hero-copy .actions,
  .section-head,
  .gallery-head,
  .footer-bottom .wrap {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy .actions .btn {
    width: 100%;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-media {
    min-height: 360px;
    border-radius: 8px;
  }

  .hero-media img {
    min-height: 360px;
  }

  .hero-card {
    position: static;
    width: 100%;
    border-radius: 0;
  }

  .quick-grid,
  .image-card,
  .museum-panel,
  .shop-card,
  .member-card,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 230px;
  }

  .logo-row {
    grid-template-columns: 1fr;
  }
}

/* Reference-image alignment: broad editorial hero, overlapping quick cards, compact heritage layout. */
.site-header {
  background-color: #ead8ba;
  background-image: url("/assets/img/header-pergament-supplied.webp");
  background-position: center;
  background-size: 260px auto;
  background-repeat: repeat;
  background-blend-mode: multiply;
}

.header-inner {
  grid-template-columns: 255px 1fr auto;
  gap: 22px;
  width: min(1500px, calc(100% - 54px));
  padding: 18px 0 14px;
}

.brand {
  min-width: 0;
}

.brand-mark {
  width: 238px;
}

.nav-menu {
  gap: clamp(14px, 1.35vw, 25px);
  font-size: 0.9rem;
  font-weight: 800;
}

.btn {
  min-height: 44px;
  border-radius: 3px;
}

.btn-primary {
  border-color: var(--green);
  background: var(--green);
}

.wrap {
  width: min(1450px, calc(100% - 54px));
}

.section {
  padding: clamp(42px, 5.2vw, 86px) 0;
}

h1 {
  font-size: clamp(4.4rem, 8vw, 8.7rem);
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
}

.lead {
  max-width: 500px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.15;
}

.hero {
  position: relative;
  min-height: clamp(540px, 47vw, 730px);
  padding: 0;
  overflow: hidden;
  background: #d7cab7;
}

.hero-grid {
  position: relative;
  min-height: inherit;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 52vw);
  padding: clamp(78px, 9vw, 142px) 0 clamp(90px, 10vw, 150px);
}

.hero-media {
  position: absolute;
  inset: 0 calc((100vw - min(1450px, calc(100vw - 54px))) / -2);
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 241, 231, 0.95) 0%, rgba(246, 241, 231, 0.82) 24%, rgba(246, 241, 231, 0.2) 51%, rgba(246, 241, 231, 0.02) 100%),
    linear-gradient(0deg, rgba(15, 51, 40, 0.22), transparent 34%);
}

.quick {
  position: relative;
  z-index: 5;
  margin-top: -58px;
  padding-bottom: 28px;
}

.quick-grid {
  gap: 0;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 14px 30px rgba(31, 25, 17, 0.08);
}

.quick-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 172px;
  padding: 26px 34px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.quick-card:last-child {
  border-right: 0;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 2px;
}

.quick-card h3 {
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-link {
  color: var(--green);
}

.highlight {
  background: transparent;
}

.highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.card,
.course-card,
.heritage-card,
.shop-card,
.member-card {
  border-radius: 2px;
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 10px 28px rgba(31, 25, 17, 0.05);
}

.card {
  min-height: 360px;
  padding: 34px;
}

.image-card {
  gap: 20px;
}

.image-card img,
.shop-card img,
.member-card img {
  min-height: 260px;
  border-radius: 0;
}

.badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 4px 9px;
  border-radius: 2px;
  background: var(--green);
  color: #fff9ef;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.event-list {
  gap: 8px;
  margin-top: 16px;
}

.event {
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 2px;
}

.event-title {
  line-height: 1.15;
}

.event-title small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.section-head {
  margin-bottom: 18px;
}

.course-grid {
  gap: 22px;
}

.date-label {
  display: flex;
  justify-content: center;
  width: calc(100% + 36px);
  margin: -18px -18px 14px;
  border-radius: 0;
}

.center-action {
  margin-top: 16px;
}

.museum-grid {
  grid-template-columns: 1.02fr 0.98fr;
  gap: 0;
}

.museum-panel {
  min-height: 420px;
  border-radius: 0;
}

.heritage-card {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.96), rgba(255, 249, 239, 0.78)),
    url("/assets/img/buch-peter-riml.webp") right center / 42% auto no-repeat;
}

.split-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 18px;
}

.gallery-grid img {
  border-radius: 2px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .brand-mark {
    width: 190px;
  }

  .hero-copy {
    width: min(590px, 75vw);
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-card:nth-child(2) {
    border-right: 0;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .museum-grid {
    grid-template-columns: 1fr;
  }

  .museum-panel,
  .heritage-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .wrap {
    width: min(100% - 28px, 1450px);
  }

  .brand-mark {
    width: 158px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    padding: 58px 0 220px;
  }

  .hero-media {
    inset: 0 -14px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(246, 241, 231, 0.95) 0%, rgba(246, 241, 231, 0.78) 35%, rgba(246, 241, 231, 0.22) 100%);
  }

  .quick {
    margin-top: 0;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-card:last-child {
    border-bottom: 0;
  }
}

/* Expert refinement round: closer proportions to the supplied reference image. */
body {
  background:
    linear-gradient(180deg, rgba(246, 241, 231, 0.98), rgba(255, 249, 239, 0.96) 40%, rgba(239, 230, 216, 0.72)),
    var(--ivory);
}

.header-inner {
  padding: 14px 0 10px;
}

.brand-mark {
  width: 220px;
}

.nav-caret {
  font-size: 0.68em;
  margin-left: 4px;
}

.header-cta {
  gap: 9px;
}

.header-cta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  min-height: clamp(500px, 43vw, 690px);
}

.hero-copy {
  padding: clamp(72px, 7.4vw, 122px) 0 clamp(94px, 9vw, 146px);
}

.hero-copy .actions {
  margin-top: 28px;
}

.hero .btn {
  min-height: 54px;
  padding-inline: 24px;
}

.hero-media img {
  object-position: 61% 50%;
}

.quick {
  margin-top: -50px;
}

.quick-card {
  min-height: 150px;
  padding: 22px 28px;
}

.quick-card__body {
  display: flex;
  min-width: 0;
  min-height: 106px;
  flex-direction: column;
  align-items: flex-start;
}

.quick-card p {
  margin-top: 7px;
  font-size: 0.93rem;
  line-height: 1.25;
}

.quick-card .text-link {
  margin-top: 14px;
}

/* Polished quick access cards: warm, compact and easier to scan. */
.quick-grid {
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.quick-card {
  position: relative;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 174px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.82);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(248, 240, 226, 0.92)),
    var(--cream);
  box-shadow: 0 18px 38px rgba(31, 25, 17, 0.08);
}

.quick-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(199, 154, 59, 0.26);
  transform: rotate(38deg);
}

.quick-card:last-child,
.quick-card:nth-child(2) {
  border-right: 1px solid rgba(216, 203, 184, 0.82);
}

.quick-card .icon {
  width: 50px;
  height: 50px;
  border-color: rgba(15, 51, 40, 0.2);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 249, 239, 0.88), rgba(239, 230, 216, 0.76));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.quick-card h3,
.quick-card p,
.quick-card .text-link,
.quick-card .icon {
  position: relative;
  z-index: 1;
}

.quick-card h3 {
  max-width: 100%;
  color: var(--green-deep);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.quick-card p {
  max-width: 24ch;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.32;
}

.quick-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-card .text-link::after {
  content: ">";
  width: auto;
  height: auto;
  background: none;
  color: currentColor;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
}

#aktivitaeten {
  padding-top: 28px;
}

.highlight-grid {
  align-items: stretch;
}

.card {
  min-height: 340px;
  padding: 30px 34px;
}

.image-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(210px, 0.72fr);
  position: relative;
  gap: clamp(20px, 2.1vw, 30px);
}

.image-card img {
  align-self: end;
  min-height: 190px;
  max-height: 260px;
}

.image-card--book {
  isolation: isolate;
  align-items: center;
  min-height: 320px;
  padding: clamp(26px, 2.6vw, 38px);
  background:
    linear-gradient(112deg, rgba(255, 249, 239, 0.98) 0%, rgba(255, 249, 239, 0.94) 48%, rgba(239, 230, 216, 0.74) 100%),
    var(--cream);
}

.image-card--book::before {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -64px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(199, 154, 59, 0.2);
  transform: rotate(36deg);
}

.book-visual {
  align-self: center;
  margin: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.35), rgba(239, 230, 216, 0.92)),
    #efe3cf;
  box-shadow: 0 18px 34px rgba(31, 25, 17, 0.1);
}

.book-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: 54% 47%;
}

.image-card h3 {
  max-width: 100%;
}

.image-card--book p {
  max-width: 32ch;
  font-size: 1rem;
  line-height: 1.52;
}

.image-card--book .price {
  margin-top: 18px;
  color: var(--wood);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.book-link {
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 0 0;
  color: var(--green-deep);
}

.book-link::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.image-card--book h3 {
  max-width: 11em;
  font-size: clamp(1.75rem, 2.1vw, 2.35rem);
  line-height: 1.02;
}

@media (min-width: 1181px) {
  .image-card--book {
    grid-column: auto;
  }
}

@media (max-width: 1180px) {
  .image-card--book {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  }

  .image-card--book h3 {
    max-width: 9em;
  }
}

@media (max-width: 760px) {
  .image-card--book {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .image-card--book h3 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 0.96;
  }

  .image-card--book p {
    max-width: 100%;
  }

  .book-visual {
    width: min(100%, 360px);
    justify-self: start;
    aspect-ratio: 5 / 4;
  }

  .book-link {
    display: inline-flex;
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.2;
  }
}

.event-list {
  padding: 12px;
  border: 1px solid rgba(216, 203, 184, 0.72);
  background: rgba(255, 249, 239, 0.54);
}

.event {
  position: relative;
  background: rgba(255, 253, 248, 0.86);
}

.event::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(216, 203, 184, 0.8);
}

.event-date {
  text-align: center;
}

.mission-lines {
  display: none;
  height: 120px;
  margin-top: 18px;
  background:
    linear-gradient(160deg, transparent 49%, rgba(15, 51, 40, 0.18) 49.3%, transparent 50%),
    linear-gradient(154deg, transparent 46%, rgba(15, 51, 40, 0.16) 46.3%, transparent 47%),
    linear-gradient(148deg, transparent 55%, rgba(15, 51, 40, 0.14) 55.3%, transparent 56%),
    linear-gradient(145deg, transparent 60%, rgba(15, 51, 40, 0.12) 60.3%, transparent 61%);
}

#verein.card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.95), rgba(248, 240, 226, 0.9)),
    var(--cream);
}

#verein.card h3 {
  max-width: 11em;
  color: var(--green-deep);
  font-size: clamp(1.55rem, 1.9vw, 2.05rem);
  line-height: 1.04;
}

#verein.card p:not(.eyebrow) {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.48;
}

#verein.card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  transform: rotate(45deg);
}

#verein.card > * {
  position: relative;
  z-index: 1;
}

#kurse {
  padding-top: 20px;
}

.course-card {
  min-width: 0;
}

.course-card img {
  aspect-ratio: 1.42 / 1;
}

.course-body {
  padding: 18px 18px 20px;
}

.course-card h3 {
  min-height: 46px;
}

.course-card p {
  min-height: 26px;
  font-size: 0.94rem;
  line-height: 1.25;
}

.date-label {
  min-height: 30px;
  align-items: center;
  font-size: 0.78rem;
}

#museum {
  padding-top: 36px;
}

.museum-panel,
.heritage-card {
  min-height: 405px;
}

.museum-info {
  padding: clamp(28px, 3.3vw, 48px);
}

.info-pair {
  margin: 24px 0;
}

.heritage-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3.4vw, 50px);
  border-left: 1px solid rgba(15, 51, 40, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.98), rgba(246, 238, 226, 0.94)),
    radial-gradient(circle at 92% 16%, rgba(122, 74, 39, 0.1), transparent 28%);
}

.heritage-card::after {
  content: none;
}

.heritage-card h3,
.heritage-card p,
.heritage-card .logo-row,
.heritage-card .btn,
.heritage-card .eyebrow {
  position: relative;
  z-index: 1;
}

.logo-row {
  width: min(100%, 430px);
  max-width: none;
  margin: 26px 0 24px;
}

.heritage-badges {
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
}

.heritage-badges .logo-placeholder {
  min-height: 90px;
  box-shadow: 0 12px 26px rgba(31, 25, 17, 0.06);
}

.heritage-badges .logo-placeholder-image {
  background: #fffdf8;
}

.heritage-badges img {
  max-width: 84px;
  max-height: 64px;
}

.heritage-card .btn {
  align-self: flex-start;
}

.heritage-card > p:not(.eyebrow) {
  max-width: 620px;
}

.heritage-badges--facts .logo-placeholder {
  font-size: 0.9rem;
}

.split-section {
  padding-top: 26px;
}

.shop-card,
.member-card {
  min-height: 340px;
  overflow: hidden;
  background: rgba(255, 249, 239, 0.9);
}

.shop-card {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: stretch;
  background:
    linear-gradient(120deg, rgba(255, 249, 239, 0.98), rgba(239, 230, 216, 0.72)),
    var(--cream);
}

.shop-card h3 {
  max-width: 430px;
  font-size: clamp(1.65rem, 2vw, 2.15rem);
}

.member-card {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.82fr);
  gap: 18px;
  min-height: 300px;
  padding: 28px 28px 0;
  align-items: end;
  background: linear-gradient(90deg, rgba(255, 249, 239, 0.98), rgba(239, 230, 216, 0.58));
}

.member-card > div {
  align-self: center;
  padding-bottom: 28px;
}

.member-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2vw, 2.25rem);
  line-height: 1.05;
}

.member-card .btn {
  margin-top: 20px;
}


.shop-card__image,
.member-card__image {
  max-height: 300px;
  object-position: center;
}

.member-card__image {
  align-self: end;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 315px;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
}



.shop-card__image {
  min-height: 100%;
  max-height: none;
  border: 1px solid rgba(216, 203, 184, 0.82);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 34px rgba(31, 25, 17, 0.1);
}

.shop-card__media-link {
  display: block;
  min-width: 0;
  height: 100%;
}

.teaser-note {
  max-width: 42ch;
  font-size: 0.94rem;
  font-weight: 800;
}

.shop-card .btn {
  margin-top: 22px;
}

.offers-subhero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.38) 0%, rgba(20, 14, 10, 0.24) 46%, rgba(20, 14, 10, 0.04) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.1), rgba(20, 14, 10, 0.02)),
    url("/assets/img/angebote-original-assets-gesamtbild.webp") center / cover no-repeat;
}

.offers-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 48%, rgba(20, 14, 10, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(20, 14, 10, 0), rgba(20, 14, 10, 0.07));
}

.offers-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.offers-subhero .subhero-copy {
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(20, 14, 10, 0.46);
}

.offers-subhero .eyebrow,
.offers-subhero .lead,
.offers-subhero .subhero-copy h1 {
  color: #fff9ef;
}

.offers-subhero .lead {
  max-width: 42rem;
}

.offers-subhero .btn {
  border-color: #fff9ef;
  color: #2d2117;
  background: #fff9ef;
}

.offers-hero-media {
  display: none;
}

.offers-subhero .subhero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 5.8vw, 6.4rem);
}

.voucher-subhero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.48) 0%, rgba(20, 14, 10, 0.30) 44%, rgba(20, 14, 10, 0.06) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.18), rgba(20, 14, 10, 0.04)),
    url("/assets/img/gutscheine-hero.webp") center / cover no-repeat;
}

.voucher-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 46%, rgba(20, 14, 10, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(20, 14, 10, 0.02), rgba(20, 14, 10, 0.10));
}

.voucher-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.voucher-subhero .subhero-copy {
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(20, 14, 10, 0.46);
}

.voucher-subhero .eyebrow,
.voucher-subhero .lead,
.voucher-subhero .subhero-copy h1 {
  color: #fff9ef;
}

.voucher-subhero .lead {
  max-width: 54ch;
}

.voucher-subhero .btn {
  border-color: rgba(255, 249, 239, 0.86);
  color: #fff9ef;
  background: rgba(20, 14, 10, 0.2);
}

.voucher-subhero .btn-primary {
  border-color: #fff9ef;
  color: #2d2117;
  background: #fff9ef;
}

.voucher-subhero .voucher-hero-media {
  display: none;
}

.voucher-subhero .voucher-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer-detail-section {
  padding-top: clamp(44px, 6vw, 78px);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.62), rgba(239, 230, 216, 0.42));
}

.offer-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-detail-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.86fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 18px 48px rgba(31, 25, 17, 0.08);
}

.offer-detail-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(31, 25, 17, 0.1);
}

.offer-detail-card#gutschein img {
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

/* Final refinements for navigation, homepage, contact and chronicle */
.nav-dropdown {
  padding-block: 8px;
  margin-block: -8px;
}

.nav-dropdown__menu {
  top: 100%;
}

.nav-dropdown__menu::before {
  display: none;
}

.hero-media .hero-slide {
  transform: scale(1.015);
}

.image-card--book {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.book-feature-head h3 {
  max-width: 100%;
}

.book-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.image-card--book .book-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.museum-panel--story {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.museum-panel--story .museum-info p:not(.eyebrow) {
  max-width: 46ch;
  margin: 18px 0 0;
  color: rgba(255, 249, 239, 0.82);
  font-size: 1.02rem;
  line-height: 1.58;
}

.museum-panel--story .btn {
  align-self: flex-start;
  margin-top: 26px;
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.05fr) minmax(300px, 1fr) minmax(260px, 0.9fr);
}

.footer-address-block--room {
  margin-top: 24px;
}

.contact-subhero {
  position: relative;
  display: flex;
  min-height: clamp(520px, 70vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 28, 22, 0.78) 0%, rgba(20, 28, 22, 0.58) 42%, rgba(20, 28, 22, 0.22) 100%),
    url("/images/kontakt/stamserhaus-kontakt-hero.webp") center / cover no-repeat;
}

.contact-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  align-items: center;
}

.contact-subhero .subhero-copy {
  max-width: 760px;
  padding: clamp(48px, 7vw, 86px) 0;
}

.contact-subhero .eyebrow,
.contact-subhero .subhero-copy h1,
.contact-subhero .lead {
  color: #fff9ef;
}

.contact-subhero .lead {
  max-width: 650px;
  color: rgba(255, 249, 239, 0.9);
}

.contact-subhero .subhero-media {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-card,
.contact-form,
.chronik-full-panel {
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 16px 42px rgba(31, 25, 17, 0.07);
}

.contact-card {
  padding: clamp(22px, 3vw, 34px);
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.contact-card p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 19px;
  padding: clamp(24px, 4vw, 44px);
}

.contact-form__intro {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-form__intro h2,
.contact-form__intro p {
  margin: 0;
}

.contact-form__intro h2 {
  color: var(--green-deep);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.contact-form__intro p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row--split > div {
  display: grid;
  gap: 8px;
}

.form-row--postal {
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
}

.form-row--spam {
  max-width: 220px;
}

.form-row label {
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background-color: #fffdf7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 8px 20px rgba(31, 25, 17, 0.045);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-row select {
  appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green-deep) 50%),
    linear-gradient(135deg, var(--green-deep) 50%, transparent 50%),
    linear-gradient(90deg, rgba(15, 51, 40, 0.12), rgba(15, 51, 40, 0.12));
  background-position:
    calc(100% - 26px) 50%,
    calc(100% - 18px) 50%,
    calc(100% - 43px) 50%;
  background-size: 8px 8px, 8px 8px, 1px 24px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.form-row input:hover,
.form-row textarea:hover,
.form-row select:hover {
  border-color: rgba(15, 51, 40, 0.28);
  background-color: #fffaf1;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(161, 77, 45, 0.72);
  box-shadow: 0 0 0 3px rgba(161, 77, 45, 0.16), 0 10px 24px rgba(31, 25, 17, 0.07);
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-choice-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-choice-row label {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 8px 20px rgba(31, 25, 17, 0.045);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-choice-row label:hover,
.form-choice-row label:focus-within {
  border-color: rgba(161, 77, 45, 0.72);
  background: #fffaf1;
  box-shadow: 0 0 0 3px rgba(161, 77, 45, 0.13), 0 10px 24px rgba(31, 25, 17, 0.07);
}

.form-choice-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0 11px 0 0;
  accent-color: var(--terracotta);
  box-shadow: none;
}

.form-choice-row span {
  line-height: 1;
}

.form-consent-row label {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 8px 20px rgba(31, 25, 17, 0.04);
  color: var(--green-deep);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.055em;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-consent-row label:hover,
.form-consent-row label:focus-within {
  border-color: rgba(161, 77, 45, 0.68);
  background: #fffaf1;
  box-shadow: 0 0 0 3px rgba(161, 77, 45, 0.12), 0 10px 24px rgba(31, 25, 17, 0.06);
}

.form-consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 1px 12px 0 0;
  accent-color: var(--terracotta);
  box-shadow: none;
}

.form-consent-row span {
  max-width: 64em;
}

@media (max-width: 520px) {
  .form-choice-row,
  .form-row--split,
  .form-row--postal {
    grid-template-columns: 1fr;
  }

  .form-consent-row label {
    font-size: 0.68rem;
    letter-spacing: 0.045em;
  }
}

.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--green-deep);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--terracotta);
}

.chronik-full-section {
  padding-top: clamp(38px, 5vw, 70px);
}

.chronik-full-panel {
  padding: clamp(26px, 4vw, 56px);
}

.chronik-full-panel h2 {
  max-width: 880px;
  font-size: clamp(2.1rem, 4vw, 4.7rem);
}

.chronik-longform {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
  color: var(--ink);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.chronik-longform p,
.chronik-longform ul {
  max-width: 82ch;
  margin: 0;
}

.chronik-longform ul {
  padding-left: 1.2em;
}

.chronik-longform figure {
  width: min(340px, 100%);
  margin: 16px 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.chronik-longform figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  filter: saturate(1.04) contrast(1.03);
}

.chronik-longform figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.chronik-longform figcaption span,
.chronik-life-dates {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.chronik-people-grid .chronik-life-dates {
  flex: 0 0 auto;
  margin: 3px 0 8px;
  padding-bottom: 0;
}

@media (max-width: 980px) {
  .museum-panel--story,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .image-card--book .book-visual {
    aspect-ratio: 5 / 4;
  }
}

.offer-detail-card h3 {
  font-size: clamp(1.5rem, 2vw, 2.15rem);
}

.offer-detail-card p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.offer-detail-card .btn {
  margin-top: 22px;
}

.offer-detail-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.offer-detail-card .actions .btn {
  margin-top: 0;
}

.offer-contact-band {
  padding-top: clamp(38px, 5vw, 68px);
}

.offer-contact-band .heritage-museum-grid > * {
  min-width: 0;
}

.member-card__image {
  object-position: center bottom;
}

#galerie {
  padding-top: 40px;
}

.gallery-grid {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-grid img {
  height: clamp(140px, 13vw, 225px);
}

.footer-top {
  padding: 48px 0;
}

.footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.footer-logo {
  width: 210px;
}

@media (max-width: 1180px) {
  .brand-mark {
    width: 180px;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .shop-card,
  .member-card {
    grid-template-columns: 1fr 0.9fr;
  }

  .shop-card {
    grid-template-columns: 1fr;
  }

  .shop-card__image {
    min-height: 340px;
  }

  .offer-detail-grid {
    grid-template-columns: 1fr;
  }

  .offer-detail-card {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 580px;
  }

  .hero-copy {
    padding: 44px 0 230px;
  }

  .hero .btn {
    min-height: 48px;
  }

  .quick-card {
    min-height: 128px;
  }

  .card {
    min-height: auto;
  }

  .image-card,
  .shop-card,
  .member-card {
    grid-template-columns: 1fr;
  }

  .member-card {
    padding: 24px;
  }

  .member-card > div {
    padding-bottom: 0;
  }

  .member-card__image {
    min-height: 230px;
    max-height: 260px;
  }

  .shop-card__image {
    min-height: 240px;
  }

  .offer-detail-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px;
  }

  .offer-detail-card img {
    min-height: 220px;
  }

  .offers-subhero .subhero-copy h1 {
    font-size: clamp(2.05rem, 9vw, 3rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .offer-detail-card .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-contact-band .heritage-museum-grid {
    width: min(100% - 28px, 1450px);
  }

  .offer-contact-band h2,
  .offer-contact-band p,
  .offer-contact-band .actions {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .book-visual,
  .book-visual img {
    min-height: 250px;
  }

  .course-card h3,
  .course-card p {
    min-height: 0;
  }

  .heritage-card {
    padding: 28px 22px;
    border-left: 0;
  }

  .heritage-badges {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .heritage-badges .logo-placeholder {
    min-height: 74px;
  }

  .heritage-badges .logo-placeholder-image {
    min-height: 86px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Course section refinement, 2026 */
#kurse {
  position: relative;
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(58px, 7vw, 96px);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.42), rgba(239, 230, 216, 0.62)),
    linear-gradient(90deg, rgba(15, 51, 40, 0.04), transparent 32%, rgba(161, 77, 45, 0.04));
}

#kurse .wrap {
  width: min(1380px, calc(100% - 48px));
}

.section-head--courses {
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.74);
}

.section-head--courses h2 {
  max-width: 760px;
  color: var(--green-deep);
  font-size: clamp(2rem, 3.1vw, 3.45rem);
  line-height: 0.98;
}

.section-head--courses p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

#kurse .course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  overflow: visible;
  padding-bottom: 0;
}

#kurse .course-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(216, 203, 184, 0.86);
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 12px 34px rgba(31, 25, 17, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#kurse .course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 154, 59, 0.58);
  box-shadow: 0 18px 46px rgba(31, 25, 17, 0.11);
}

#kurse .course-card img {
  width: 100%;
  height: clamp(166px, 13.2vw, 218px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

#kurse .course-card:nth-child(1) img {
  object-position: 50% 42%;
}

#kurse .course-card:nth-child(2) img,
#kurse .course-card:nth-child(4) img {
  object-position: 50% 48%;
}

#kurse .course-card:nth-child(5) img {
  object-position: 50% 36%;
}

#kurse .course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

#kurse .date-label {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 12px;
  padding: 5px 10px 4px;
  border: 1px solid rgba(15, 51, 40, 0.18);
  border-radius: 4px;
  background: rgba(255, 249, 239, 0.86);
  color: var(--green-deep);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#kurse .course-card h3 {
  min-height: 0;
  color: var(--green-deep);
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.18;
}

#kurse .course-card p {
  min-height: 0;
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.34;
}

#kurse .course-card .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  color: var(--terracotta);
  letter-spacing: 0.07em;
}

#kurse .course-card .text-link::after {
  content: "";
  width: 18px;
  height: 1px;
  align-self: center;
  margin-left: 8px;
  background: currentColor;
}

#kurse .center-action {
  margin-top: 24px;
}

#kurse .center-action .btn {
  min-height: 48px;
  padding-inline: 24px;
}

@media (max-width: 1180px) {
  #kurse .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #kurse .course-card {
    flex: initial;
    scroll-snap-align: none;
  }

  #kurse .course-card img {
    height: clamp(180px, 21vw, 245px);
  }
}

@media (max-width: 900px) {
  #kurse .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head--courses {
    display: block;
  }
}

@media (max-width: 620px) {
  #kurse {
    padding-top: 38px;
  }

  #kurse .wrap {
    width: min(100% - 28px, 1380px);
  }

  .section-head--courses h2 {
    font-size: clamp(1.85rem, 11vw, 2.55rem);
  }

  #kurse .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #kurse .course-card img {
    height: clamp(190px, 58vw, 260px);
  }

  #kurse .course-body {
    padding: 18px;
  }
}

/* Responsive QA fixes */
@media (max-width: 1340px) and (min-width: 1181px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  #kurse .date-label {
    width: auto;
    max-width: 100%;
    margin: 0 0 13px;
  }

  .event {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .event-title,
  .event-title small {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Header slider, quick access and footer refinement */
.hero-slider {
  background: var(--green-deep);
}

.hero-media .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 610px;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  transition: opacity 900ms ease;
}

.hero-media .hero-slide.is-active {
  opacity: 1;
}

.hero-slider__dots {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-slider__dots span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.42);
}

.hero-slider__dots span.is-active {
  background: #fff9ef;
}

.quick-card::after {
  display: none;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), rgba(161, 77, 45, 0.78));
  opacity: 0.9;
}

.quick-card .icon {
  border-color: rgba(15, 51, 40, 0.12);
  background: var(--green-deep);
  color: #fff9ef;
  box-shadow: 0 10px 22px rgba(15, 51, 40, 0.16);
}

.section-head--courses h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.95rem, 3vw, 3.15rem);
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.08fr) minmax(280px, 1fr) minmax(280px, 0.95fr);
  gap: clamp(34px, 5vw, 72px);
}

.footer-grid > * {
  min-width: 0;
}

.footer-contact a,
.footer-museum a {
  overflow-wrap: anywhere;
}

.footer-address-block {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(216, 203, 184, 0.22);
}

.footer-address-block h3,
.footer-museum h3 {
  margin-bottom: 10px;
}

.footer-museum {
  padding-left: clamp(0px, 2vw, 34px);
  border-left: 1px solid rgba(216, 203, 184, 0.22);
}

.footer-museum .text-link {
  margin-top: 18px;
  color: #fff9ef;
}

@media (max-width: 900px) {
  .section-head--courses h2 {
    white-space: normal;
  }

  .footer-museum {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .hero-media .hero-slide {
    min-height: 580px;
  }
}

/* Verein pages */
.verein-subhero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.36) 0%, rgba(20, 14, 10, 0.22) 46%, rgba(20, 14, 10, 0.04) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.09), rgba(20, 14, 10, 0.02)),
    url("/assets/img/verein/vereinschronik-hero-20260614.webp") center / cover no-repeat;
}

.statutes-hero {
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.52) 0%, rgba(20, 14, 10, 0.30) 45%, rgba(20, 14, 10, 0.08) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.10), rgba(20, 14, 10, 0.02)),
    url("/assets/img/verein/statuten-hero.webp") center / cover no-repeat;
}


.verein-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 48%, rgba(20, 14, 10, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(20, 14, 10, 0), rgba(20, 14, 10, 0.07));
}

.verein-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.verein-subhero .subhero-copy {
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(20, 14, 10, 0.46);
}

.verein-subhero .eyebrow,
.verein-subhero .lead,
.verein-subhero .subhero-copy h1 {
  color: #fff9ef;
}

.verein-subhero .lead {
  max-width: 54ch;
}

.verein-subhero .subhero-media {
  display: none;
}

.verein-story-section,
.board-note-section {
  padding-top: clamp(44px, 5vw, 72px);
}

.verein-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: stretch;
}

.verein-text-panel,
.verein-facts-card,
.statute-card,
.old-statutes-panel,
.board-card {
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 6px;
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 16px 42px rgba(31, 25, 17, 0.07);
}

.verein-text-panel {
  padding: clamp(28px, 4vw, 48px);
}

.verein-text-panel h2,
.old-statutes-panel h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.verein-text-panel p:not(.eyebrow),
.old-statutes-panel p {
  max-width: 72ch;
}

.verein-facts-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
}

.verein-facts-card div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.76);
}

.verein-facts-card div:last-child {
  border-bottom: 0;
}

.verein-facts-card span,
.board-card span {
  display: block;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.verein-facts-card strong {
  display: block;
  margin-top: 5px;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.45rem);
  line-height: 1;
}

.verein-timeline-section {
  padding-top: clamp(34px, 5vw, 70px);
}

.verein-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.verein-timeline article {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 249, 239, 0.8);
}

.verein-timeline time {
  color: var(--terracotta);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verein-timeline h3 {
  margin-top: 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.chronik-people-grid,
.board-grid,
.statutes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.chronik-people-grid article {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 249, 239, 0.72);
}

.chronik-people-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  padding: 0;
  background: transparent;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.chronik-people-grid h3,
.chronik-people-grid p {
  padding-inline: 20px;
}

.chronik-people-grid h3 {
  padding-top: 18px;
  font-size: 1.35rem;
}

.chronik-people-grid p {
  flex: 1;
  padding-bottom: 22px;
}

.verein-links-section {
  padding-top: clamp(34px, 5vw, 70px);
}

.verein-links-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(30px, 4.8vw, 58px);
  border: 1px solid rgba(175, 143, 96, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 249, 239, 0.9) 44%, rgba(239, 230, 216, 0.68) 100%),
    var(--cream);
  box-shadow: 0 28px 60px rgba(31, 25, 17, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.verein-links-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(199, 154, 59, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.verein-links-panel > * {
  position: relative;
  z-index: 1;
}

.verein-links-panel .eyebrow {
  margin-bottom: 14px;
}

.verein-links-panel h2 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 3.8vw, 4.35rem);
  line-height: 0.92;
}

.verein-links-panel h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--gold), rgba(161, 77, 45, 0.2));
}

.verein-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
}

.verein-links-grid a {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 172px;
  padding: 26px 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(165, 132, 88, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 244, 233, 0.94)),
    #fffdf7;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(31, 25, 17, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.verein-links-grid a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
  opacity: 0.76;
}

.verein-links-grid a::after {
  content: ">";
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(15, 51, 40, 0.36);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.verein-links-grid a:hover,
.verein-links-grid a:focus {
  border-color: rgba(161, 77, 45, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 1), rgba(247, 237, 221, 0.98)),
    #fffdf7;
  box-shadow: 0 22px 42px rgba(31, 25, 17, 0.12);
  transform: translateY(-2px);
}

.verein-links-grid a:hover::after,
.verein-links-grid a:focus::after {
  color: var(--terracotta);
  transform: translateX(3px);
}

.verein-links-grid span {
  display: block;
  padding-left: 2px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.verein-links-grid strong {
  display: block;
  max-width: 11.5em;
  margin-top: 18px;
  padding-right: 22px;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.04;
}

.board-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.board-card {
  min-height: 190px;
  padding: clamp(24px, 3vw, 34px);
}

.board-card--lead {
  grid-column: span 2;
  background:
    linear-gradient(125deg, rgba(15, 51, 40, 0.94), rgba(15, 51, 40, 0.76)),
    var(--green-deep);
}

.board-card--lead span,
.board-card--lead h2 {
  color: #fff9ef;
}

.board-card h2,
.board-card h3 {
  margin-top: 16px;
}

.statutes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.statute-card {
  padding: 26px;
}

.statute-card span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.statute-card h3 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.statutes-document-section {
  padding-top: clamp(42px, 5vw, 74px);
}

.statutes-document-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.statutes-document-layout--single {
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
}

.statutes-document-aside {
  position: sticky;
  top: 124px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 249, 239, 0.98), rgba(239, 230, 216, 0.76)),
    var(--cream);
  box-shadow: 0 16px 34px rgba(31, 25, 17, 0.08);
}

.statutes-document-aside h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
}

.statutes-document-aside p {
  color: var(--muted);
}

.statutes-document-card {
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid rgba(216, 203, 184, 0.9);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 58px rgba(31, 25, 17, 0.09);
}

.statutes-fulltext {
  color: #20231f;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.72;
}

.statutes-fulltext h1 {
  max-width: 760px;
  margin: 0 auto 10px;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.statutes-fulltext > p:nth-child(2) {
  margin-bottom: clamp(24px, 3vw, 42px);
  color: var(--terracotta);
  font-weight: 800;
}

.statutes-fulltext p {
  margin: 0 0 0.95em;
}

.statutes-fulltext ol,
.statutes-fulltext ul {
  margin: 0 0 1.15em;
  padding-left: 1.45em;
}

.statutes-fulltext ol + ol,
.statutes-fulltext ul + ol,
.statutes-fulltext p + ol {
  margin-top: -0.35em;
}

.statutes-fulltext li {
  margin: 0 0 0.54em;
  padding-left: 0.12em;
}

.statutes-fulltext > ul[style*="none"] {
  margin: clamp(30px, 4vw, 46px) 0 14px;
  padding: 0;
  border-top: 1px solid rgba(216, 203, 184, 0.92);
}

.statutes-fulltext > ul[style*="none"]:first-of-type {
  margin-top: 24px;
}

.statutes-fulltext > ul[style*="none"] > li {
  margin: 0;
  padding: 18px 0 0;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.8vw, 1.72rem);
  line-height: 1.18;
}

.statutes-fulltext strong {
  color: inherit;
}

.statutes-fulltext em {
  color: inherit;
}

.old-statutes-panel {
  padding: clamp(28px, 4vw, 50px);
  background:
    linear-gradient(120deg, rgba(255, 249, 239, 0.96), rgba(239, 230, 216, 0.74)),
    var(--cream);
}

.old-statutes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.old-statutes-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(216, 203, 184, 0.82);
  background: rgba(255, 249, 239, 0.72);
}

.old-statutes-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.old-statutes-gallery__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(31, 25, 17, 0.1);
}

.old-statutes-gallery__item--large {
  grid-row: span 2;
}

.old-statutes-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .verein-timeline,
  .chronik-people-grid,
  .board-grid,
  .statutes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .verein-story-grid,
  .verein-timeline,
  .chronik-people-grid,
  .board-grid,
  .statutes-grid,
  .statutes-document-layout,
  .verein-links-panel,
  .verein-links-grid,
  .old-statutes-list {
    grid-template-columns: 1fr;
  }


  .old-statutes-gallery {
    grid-template-columns: 1fr;
  }

  .old-statutes-gallery__item--large {
    grid-row: auto;
  }

  .old-statutes-gallery__item img {
    height: auto;
    min-height: 0;
  }

  .statutes-document-aside {
    position: static;
  }

  .statutes-document-card {
    padding: 24px 18px 32px;
  }

  .statutes-fulltext {
    font-size: 0.98rem;
    line-height: 1.64;
  }

  .statutes-fulltext ol,
  .statutes-fulltext ul {
    padding-left: 1.2em;
  }

  .board-card--lead {
    grid-column: auto;
  }
}

/* Kulturerbe detail page */
.subhero {
  padding: clamp(46px, 6vw, 86px) 0 clamp(40px, 5vw, 70px);
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
}

.subhero-copy h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
}

.subhero-copy,
.subhero-media {
  min-width: 0;
}

.subhero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.subhero-media img {
  width: 100%;
  height: clamp(390px, 38vw, 620px);
  object-fit: cover;
}

.heritage-subhero {
  background:
    linear-gradient(115deg, rgba(255, 249, 239, 0.84), rgba(239, 230, 216, 0.58)),
    radial-gradient(circle at 12% 12%, rgba(199, 154, 59, 0.14), transparent 28%);
}

@media (min-width: 1181px) {
  .heritage-subhero .subhero-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.6fr);
    gap: clamp(30px, 4vw, 64px);
  }
}

.heritage-subhero h1 {
  max-width: 100%;
  font-size: clamp(2.85rem, 5vw, 5.4rem);
  overflow-wrap: normal;
  word-break: normal;
}

.imprint-subhero h1 {
  max-width: 100%;
  font-size: clamp(3.4rem, 5.4vw, 6rem);
}

.heritage-story {
  padding-top: clamp(44px, 6vw, 78px);
}

.heritage-story-grid,
.heritage-museum-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.heritage-text-card,
.heritage-fact-panel,
.heritage-pillars article {
  min-width: 0;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.9);
  box-shadow: 0 18px 48px rgba(31, 25, 17, 0.08);
}

.heritage-text-card {
  padding: clamp(30px, 4vw, 56px);
}

.heritage-text-card h2,
.heritage-museum-grid h2 {
  max-width: 900px;
  font-size: clamp(2.2rem, 4vw, 4.9rem);
}

.heritage-text-card p {
  max-width: 840px;
}

.source-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.heritage-quote {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--terracotta);
  background: rgba(239, 230, 216, 0.62);
}

.heritage-quote p {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.24;
}

.heritage-fact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: clamp(26px, 3.4vw, 42px);
  background:
    linear-gradient(155deg, rgba(15, 51, 40, 0.97), rgba(11, 36, 28, 0.95));
  color: #fff9ef;
}

.heritage-fact-panel img {
  width: 108px;
  height: auto;
  padding: 12px;
  border-radius: 8px;
  background: #fffdf8;
}

.fact-list {
  display: grid;
  gap: 14px;
}

.fact-list div {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 249, 239, 0.18);
}

.fact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-list span {
  display: block;
  color: rgba(255, 249, 239, 0.68);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-list strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.18;
}

.heritage-pillars-section {
  padding-top: clamp(38px, 5vw, 68px);
  background:
    linear-gradient(180deg, rgba(239, 230, 216, 0.52), rgba(255, 249, 239, 0.36));
}

.heritage-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.heritage-pillars article {
  padding: clamp(24px, 3vw, 36px);
}

.heritage-pillars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--green);
  color: #fff9ef;
  font-weight: 900;
}

.heritage-pillars h3 {
  font-family: var(--sans);
  font-size: 1.18rem;
  line-height: 1.2;
}

.heritage-gallery-section {
  padding-top: clamp(44px, 6vw, 78px);
  background: var(--cream);
}

.heritage-unesco-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.heritage-unesco-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.9);
  box-shadow: 0 14px 40px rgba(31, 25, 17, 0.07);
}

.heritage-unesco-gallery a {
  display: block;
  cursor: zoom-in;
}

.heritage-unesco-gallery img {
  width: 100%;
  height: clamp(180px, 17vw, 280px);
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.heritage-unesco-gallery a:hover img,
.heritage-unesco-gallery a:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.04);
}

.heritage-unesco-gallery figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.heritage-source-box {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.heritage-source-box p {
  margin: 0 0 10px;
}

.heritage-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.heritage-museum-band {
  padding-top: clamp(44px, 6vw, 78px);
}

.heritage-museum-return {
  padding-top: clamp(44px, 6vw, 78px);
}

.heritage-museum-return .heritage-card {
  min-height: auto;
}

.heritage-museum-return .heritage-card h3 {
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.heritage-museum-return .museum-grid {
  grid-template-columns: 1fr;
}

.heritage-museum-return .museum-panel--story {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  width: 100%;
}

.heritage-museum-return .museum-panel--story img {
  min-height: clamp(420px, 32vw, 620px);
}

@media (max-width: 980px) {
  .heritage-museum-return .museum-panel--story {
    grid-template-columns: 1fr;
  }

  .heritage-museum-return .museum-panel--story img {
    height: clamp(260px, 58vw, 460px);
    min-height: 0;
  }
}

.heritage-museum-facts {
  grid-template-columns: 1fr;
}

.heritage-museum-grid {
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.94), rgba(239, 230, 216, 0.76));
}

.heritage-museum-grid img {
  width: 100%;
  height: clamp(260px, 28vw, 440px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

@media (max-width: 1180px) {
  .activities-subhero .subhero-grid,
  .subhero-grid,
  .heritage-story-grid,
  .heritage-museum-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .subhero-media img {
    height: clamp(300px, 48vw, 520px);
  }
}

@media (max-width: 760px) {
  .activities-subhero .subhero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .activities-hero-media img {
    height: clamp(300px, 72vw, 440px);
  }

  .activities-hero-media figcaption {
    position: static;
    border-radius: 0;
  }

  .subhero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .subhero-grid,
  .heritage-story-grid,
  .heritage-museum-grid {
    gap: 18px;
  }

  .heritage-subhero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
    overflow-wrap: anywhere;
  }

  .imprint-subhero h1 {
    font-size: clamp(3rem, 13vw, 3.75rem);
    overflow-wrap: normal;
  }

  .subhero-copy .lead {
    max-width: 100%;
  }

  .heritage-pillars {
    grid-template-columns: 1fr;
  }

  .heritage-unesco-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heritage-text-card,
  .heritage-fact-panel,
  .heritage-museum-grid {
    padding: 24px 22px;
  }
}

@media (max-width: 560px) {
  .heritage-unesco-gallery {
    grid-template-columns: 1fr;
  }

  .heritage-downloads .btn {
    width: 100%;
  }
}

/* Bildergalerie detail page */
.gallery-subhero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.38) 0%, rgba(20, 14, 10, 0.24) 46%, rgba(20, 14, 10, 0.04) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.1), rgba(20, 14, 10, 0.02)),
    url("/assets/img/vorstand-hero-krippe.webp") center / cover no-repeat;
}

.gallery-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 48%, rgba(20, 14, 10, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(20, 14, 10, 0), rgba(20, 14, 10, 0.07));
}

.gallery-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.gallery-subhero .subhero-copy {
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(20, 14, 10, 0.46);
}

.gallery-subhero .eyebrow,
.gallery-subhero .lead,
.gallery-subhero .subhero-copy h1 {
  color: #fff9ef;
}

.gallery-subhero .subhero-copy h1 {
  max-width: 9.4em;
  font-size: clamp(2.35rem, 4.5vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.gallery-subhero .lead {
  max-width: 42rem;
}

.gallery-subhero .actions {
  position: relative;
  z-index: 1;
}

.gallery-subhero .btn {
  border-color: rgba(255, 249, 239, 0.78);
  color: #fff9ef;
  background: rgba(20, 14, 10, 0.2);
}

.gallery-subhero .btn-primary {
  border-color: #fff9ef;
  color: #2d2117;
  background: #fff9ef;
}

.gallery-hero-media {
  display: none;
}

.gallery-page-section {
  padding-top: clamp(42px, 5vw, 74px);
  background: var(--cream);
}

.gallery-page-head {
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.82);
}

.gallery-page-head p:not(.eyebrow) {
  max-width: 740px;
  margin: 12px 0 0;
  color: var(--muted);
}

.gallery-count {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(15, 51, 40, 0.22);
  border-radius: 4px;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-page-grid {
  column-count: 4;
  column-gap: 16px;
}

.gallery-tile {
  display: block;
  position: relative;
  margin: 0 0 16px;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 8px;
  background: var(--sand);
  box-shadow: 0 12px 32px rgba(31, 25, 17, 0.08);
}

.gallery-tile img {
  width: 100%;
  height: auto;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(8, 20, 16, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__image {
  width: auto;
  height: auto;
  max-width: min(100%, 1500px);
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
}

.lightbox__caption {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 34px);
  max-width: min(760px, calc(100% - 112px));
  color: #fff9ef;
  font-weight: 800;
}

.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 30px);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 249, 239, 0.52);
  border-radius: 4px;
  background: rgba(255, 249, 239, 0.12);
  color: #fff9ef;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .gallery-page-grid {
    column-count: 3;
  }
}

@media (max-width: 760px) {
  .gallery-page-grid {
    column-count: 2;
    column-gap: 12px;
  }

  .gallery-tile {
    margin-bottom: 12px;
  }

  .gallery-page-head {
    display: flex;
    align-items: stretch;
  }

  .gallery-count {
    align-self: flex-start;
  }

  .lightbox__image {
    max-height: 76vh;
  }
}
/* Activities page */
.activities-subhero {
  padding: clamp(34px, 5vw, 72px) 0 clamp(38px, 5vw, 78px);
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.94), rgba(239, 230, 216, 0.68)),
    var(--ivory);
}

.activities-subhero .subhero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.72fr);
  gap: clamp(28px, 4vw, 64px);
}

.activities-subhero .subhero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.25rem, 6vw, 6.65rem);
  line-height: 0.92;
}

.activities-subhero .lead {
  max-width: 650px;
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
}

.activity-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 22px;
}

.activity-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 51, 40, 0.2);
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.72);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activities-hero-media {
  position: relative;
  border: 1px solid rgba(15, 51, 40, 0.16);
  background: var(--cream);
  box-shadow: 0 26px 70px rgba(31, 25, 17, 0.15);
}

.activities-hero-media img {
  height: clamp(420px, 35vw, 610px);
  object-position: center top;
}

.activities-hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(11, 36, 28, 0.9);
  color: #fff9ef;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .activities-subhero .subhero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .activities-subhero .subhero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .activities-hero-media img {
    height: clamp(300px, 72vw, 440px);
  }

  .activities-hero-media figcaption {
    position: static;
    border-radius: 0;
  }
}

.activities-current-section {
  background: var(--cream);
}

.activities-current-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  gap: 22px;
  align-items: stretch;
}

.activities-current-grid > [data-current-events] {
  display: grid;
  gap: 22px;
}

.activity-focus-card,
.activity-note-card,
.activity-entry {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.86);
  box-shadow: 0 14px 40px rgba(31, 25, 17, 0.06);
}

.activity-focus-card,
.activity-note-card {
  padding: clamp(28px, 4vw, 48px);
}

.activity-focus-card h2 {
  font-size: clamp(2rem, 4.4vw, 4.8rem);
}

.activity-focus-card p,
.activity-note-card p,
.activity-entry p {
  margin: 14px 0 0;
  color: var(--muted);
}

.activity-note-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--green-deep);
  color: #fff9ef;
}

.activity-note-card span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.85;
}

.activity-note-card h3,
.activity-note-card p {
  color: #fff9ef;
}

.activities-review-section {
  background: linear-gradient(180deg, var(--sand), rgba(239, 230, 216, 0.42));
}

.activities-review-head {
  align-items: center;
}

.activities-review-head p:not(.eyebrow) {
  max-width: 760px;
}

.activity-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(15, 51, 40, 0.2);
  border-radius: 999px;
  color: var(--green-deep);
  font-weight: 900;
  white-space: nowrap;
}

.activities-timeline {
  display: grid;
  gap: 16px;
}

.activity-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.activity-pagination:empty {
  display: none;
}

.activity-pagination__status {
  flex-basis: 100%;
  color: var(--green-deep);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
}

.activity-pagination__button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(15, 51, 40, 0.24);
  border-radius: 999px;
  background: #fff9ef;
  color: var(--green-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 25, 17, 0.08);
}

.activity-pagination__button:hover,
.activity-pagination__button:focus-visible {
  border-color: var(--green-deep);
  outline: 3px solid rgba(184, 124, 53, 0.24);
  outline-offset: 2px;
}

.activity-pagination__button.is-active {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fff9ef;
}

.activity-pagination__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.activity-entry.is-hidden {
  display: none;
}

.activity-entry {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(20px, 2.5vw, 30px);
}

.activity-entry--featured {
  grid-template-columns: 132px minmax(0, 1fr) minmax(190px, 0.32fr);
}

.activity-entry time {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 112px;
  min-height: 98px;
  max-width: 100%;
  padding: 16px 12px 14px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background: #fff9ef;
  box-shadow: 0 12px 26px rgba(31, 25, 17, 0.08);
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.activity-entry time span {
  display: block;
  max-width: 100%;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.8vw, 2.08rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  white-space: nowrap;
}

.activity-entry h3 {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  line-height: 1.16;
}

.activity-entry img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .activities-current-grid,
  .activity-entry,
  .activity-entry--featured {
    grid-template-columns: 1fr;
  }

  .activity-entry img {
    max-height: 420px;
  }
}

@media (max-width: 760px) {
  .activities-review-head {
    align-items: flex-start;
  }

  .activity-count {
    width: 100%;
  }

  .activity-entry {
    gap: 14px;
  }

  .activity-entry time {
    grid-template-columns: auto auto;
    justify-content: start;
    width: auto;
    min-height: 0;
    padding: 0;
    text-align: left;
  }
}

.activity-facts {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.activity-facts div {
  display: grid;
  grid-template-columns: minmax(118px, 0.32fr) 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(216, 203, 184, 0.72);
}

.activity-facts dt {
  color: var(--green-deep);
  font-weight: 900;
}

.activity-facts dd {
  margin: 0;
  color: var(--muted);
}

.activity-entry h4 {
  margin: 22px 0 8px;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.activity-list li + li {
  margin-top: 6px;
}

.activity-map {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
}

.activity-map iframe {
  display: block;
  width: 100%;
  height: min(560px, 72vh);
  border: 0;
}

.activity-entry--map {
  grid-template-columns: 132px minmax(0, 1fr);
}

@media (max-width: 760px) {
  .activity-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.activity-map--consent {
  position: relative;
  min-height: 390px;
}

.activity-map__preview {
  width: 100%;
  height: min(560px, 72vh);
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}

.activity-map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px, 4.4vw, 58px);
  border: 1px solid rgba(246, 241, 231, 0.48);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(15, 51, 40, 0.95), rgba(15, 51, 40, 0.86) 58%, rgba(15, 51, 40, 0.72));
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(11, 36, 28, 0.12), 0 18px 60px rgba(31, 25, 17, 0.18);
}

.activity-map__consent .eyebrow {
  color: rgba(246, 241, 231, 0.66);
}

.activity-map__consent h4 {
  max-width: 760px;
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.95;
  text-transform: none;
  letter-spacing: 0;
}

.activity-map__consent p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 249, 239, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.activity-map__consent .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.activity-map__consent .btn-primary {
  border-color: #fff9ef;
  background: #fff9ef;
  color: #07352c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.activity-map__consent .btn:not(.btn-primary) {
  border-color: #fff9ef;
  background: rgba(7, 53, 44, 0.72);
  color: #fff9ef;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.activity-map.is-loaded iframe {
  display: block;
  width: 100%;
  height: min(560px, 72vh);
  border: 0;
}

.privacy-section {
  background: var(--cream);
}

.privacy-content {
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.privacy-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.88);
  box-shadow: 0 14px 40px rgba(31, 25, 17, 0.06);
}

.privacy-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.3rem);
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
}

.privacy-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

@media (max-width: 760px) {
  .activity-map--consent {
    min-height: 520px;
  }

  .activity-map__preview {
    height: 520px;
  }

  .activity-map__consent {
    inset: 0;
    padding: 22px;
  }

  .activity-map__consent .actions {
    width: 100%;
  }

  .activity-map__consent .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Homepage event card */
.event-card--home {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  min-height: 0;
  padding: clamp(20px, 3vw, 28px);
}

.event-card--home .event-list {
  gap: 14px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.event-card--home .event {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.event-card--home .event--link {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.event-card--home .event--link:hover,
.event-card--home .event--link:focus-visible {
  border-color: rgba(161, 77, 45, 0.46);
  box-shadow: 0 18px 34px rgba(31, 25, 17, 0.1);
  transform: translateY(-1px);
}

.event-card--home .event::before {
  display: none;
}

.event-card--home .event-date {
  min-height: 116px;
}

.event-card--home .event-body {
  align-self: center;
  padding-right: 16px;
}

@media (max-width: 1180px) {
  .event-card__head {
    display: grid;
    gap: 14px;
    align-items: flex-start;
  }

  .event-card--home h3 {
    max-width: none;
  }

}

@media (max-width: 760px) {
  .event-card--home {
    gap: 18px;
  }

  .event-card__head {
    display: grid;
    gap: 12px;
  }

  .event-card--home .event {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .event-card--home .event-date {
    min-height: 108px;
  }

  .event-body {
    padding: 16px 14px 16px 0;
  }
}

@media (max-width: 520px) {
  .event-card--home {
    padding: 18px;
  }

  .event-card--home h3 {
    font-size: clamp(2rem, 11vw, 2.65rem);
    line-height: 0.95;
  }

  .event-card--home .event {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .event-card--home .event-date {
    min-height: 0;
    padding: 10px 12px;
    grid-template-columns: repeat(3, auto);
    gap: 6px;
  }

  .event-card--home .event-date span,
  .event-card--home .event-date strong,
  .event-card--home .event-date em {
    display: inline;
    margin: 0;
  }

  .event-card--home .event-date span {
    font-size: 1.15rem;
  }

  .event-card--home .event-date strong,
  .event-card--home .event-date em {
    font-size: 0.82rem;
  }

  .event-body,
  .event-card--home .event-body {
    padding: 14px;
  }

  .event-card--home .event-title {
    font-size: 1.12rem;
    line-height: 1.15;
  }

  .event-summary {
    font-size: 0.9rem;
    line-height: 1.35;
  }
}

/* Krippenmuseum detail page */
.museum-subhero {
  background:
    linear-gradient(118deg, rgba(255, 249, 239, 0.9), rgba(239, 230, 216, 0.62)),
    linear-gradient(90deg, rgba(15, 51, 40, 0.08), transparent 46%, rgba(161, 77, 45, 0.06));
}

.museum-subhero .subhero-copy h1 {
  max-width: 980px;
  font-size: clamp(3.05rem, 5.6vw, 6.7rem);
}

.museum-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.museum-hero-media a {
  display: block;
  cursor: zoom-in;
}

.museum-hero-media img {
  object-position: center;
}

.museum-intro-section,
.museum-visit-section,
.museum-contact-section,
.museum-context-section {
  padding-top: clamp(44px, 6vw, 78px);
}

.museum-intro-grid {
  align-items: stretch;
}

.museum-quick-panel {
  justify-content: center;
}

.museum-visit-section {
  background:
    linear-gradient(180deg, rgba(239, 230, 216, 0.56), rgba(255, 249, 239, 0.32));
}

.museum-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.92fr) minmax(0, 0.92fr);
  gap: 18px;
}

.museum-visit-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.92);
  box-shadow: 0 14px 40px rgba(31, 25, 17, 0.07);
}

.museum-visit-card--main {
  background:
    linear-gradient(145deg, rgba(15, 51, 40, 0.97), rgba(11, 36, 28, 0.94));
  color: #fff9ef;
}

.museum-visit-card h3 {
  color: inherit;
  font-family: var(--sans);
  font-size: clamp(1.24rem, 1.7vw, 1.75rem);
  line-height: 1.16;
}

.museum-visit-card p {
  max-width: 620px;
}

.museum-price-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.museum-price-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 51, 40, 0.13);
}

.museum-price-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.museum-price-list dt,
.museum-price-list dd {
  margin: 0;
}

.museum-price-list dt {
  color: var(--muted);
  font-weight: 800;
}

.museum-price-list dd {
  color: var(--green-deep);
  font-weight: 900;
  white-space: nowrap;
}

.museum-contact-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
}

.museum-contact-grid p {
  max-width: 680px;
}

.museum-contact-grid .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.museum-context-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 4.5vw, 70px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5vw, 68px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.97), rgba(239, 230, 216, 0.78)),
    linear-gradient(90deg, rgba(15, 51, 40, 0.08), transparent 58%, rgba(161, 77, 45, 0.1));
  box-shadow: 0 24px 70px rgba(31, 25, 17, 0.1);
}

.museum-context-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(161, 77, 45, 0.14);
  border-radius: 6px;
  pointer-events: none;
}

.museum-context-copy {
  position: relative;
  z-index: 1;
}

.museum-context-card h2 {
  max-width: 820px;
}

.museum-context-copy p:not(.eyebrow) {
  max-width: 780px;
}

.museum-context-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: clamp(22px, 3vw, 34px) 0 26px;
}

.museum-context-facts div {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 51, 40, 0.12);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.72);
}

.museum-context-facts strong,
.museum-context-facts span {
  display: block;
}

.museum-context-facts strong {
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(1.36rem, 2.3vw, 2.1rem);
  line-height: 1;
}

.museum-context-facts span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.museum-context-media {
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: stretch;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(31, 25, 17, 0.18);
}

.museum-context-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1180px) {
  .museum-visit-grid,
  .museum-contact-grid,
  .museum-context-card {
    grid-template-columns: 1fr;
  }

  .museum-context-media {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .museum-subhero .subhero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.35rem);
    overflow-wrap: anywhere;
  }

  .museum-hero-actions .btn,
  .museum-contact-grid .actions .btn {
    width: 100%;
  }

  .museum-visit-card {
    padding: 24px 22px;
  }

  .museum-price-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .museum-price-list dd {
    white-space: normal;
  }

  .museum-context-card {
    padding: 24px 22px;
  }

  .museum-context-card::before {
    inset: 10px;
  }

  .museum-context-facts {
    grid-template-columns: 1fr;
  }

  .museum-context-media,
  .museum-context-media img {
    min-height: 240px;
  }
}

/* Krippenmuseum mobile title refinement */
@media (max-width: 760px) {
  .museum-subhero .subhero-copy h1 {
    font-size: clamp(2rem, 8.6vw, 2.75rem);
    overflow-wrap: normal;
    word-break: normal;
  }
}

.museum-subhero .subhero-copy h1 span {
  display: block;
}

/* Krippenmuseum hero desktop refinement */
@media (min-width: 1181px) {
  .museum-subhero .subhero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 0.62fr);
    gap: clamp(42px, 5vw, 96px);
  }

  .museum-hero-media {
    margin-left: clamp(80px, 6vw, 132px);
  }

  .museum-subhero .subhero-copy h1 {
    max-width: 660px;
    font-size: clamp(2.85rem, 2.75vw, 3.5rem);
    line-height: 0.95;
  }

  .museum-subhero .subhero-copy .lead {
    max-width: 640px;
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    line-height: 1.18;
  }

  .museum-hero-media img {
    height: clamp(430px, 36vw, 590px);
    object-fit: cover;
    object-position: 74% center;
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .museum-subhero .subhero-copy h1 {
    max-width: 780px;
    font-size: clamp(3.15rem, 7vw, 4.8rem);
    line-height: 0.96;
  }
}

/* Museum block CTA contrast */
.museum-panel--story .museum-info .btn-primary[href="/krippenmuseum-stamserhaus.html"] {
  border-color: #f6d27a;
  background: #f6d27a;
  color: var(--green-deep);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.museum-panel--story .museum-info .btn-primary[href="/krippenmuseum-stamserhaus.html"]:hover,
.museum-panel--story .museum-info .btn-primary[href="/krippenmuseum-stamserhaus.html"]:focus-visible {
  border-color: #fff9ef;
  background: #fff9ef;
  color: var(--green-deep);
}

/* Heritage page news link */
.heritage-news-section {
  padding-top: clamp(34px, 4vw, 58px);
  padding-bottom: clamp(34px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(255, 249, 239, 0.36), rgba(239, 230, 216, 0.5));
}

.heritage-news-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(24px, 3.6vw, 42px);
  border: 1px solid rgba(216, 203, 184, 0.88);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 16px 44px rgba(31, 25, 17, 0.08);
}

.heritage-news-card time {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  background: var(--green-deep);
  color: #fff9ef;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.heritage-news-card h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
}

.heritage-news-card .text-link {
  margin-top: 16px;
}

@media (max-width: 620px) {
  .heritage-news-card {
    grid-template-columns: 1fr;
  }

  .heritage-news-card time {
    min-height: 0;
    justify-items: start;
    text-align: left;
  }
}

/* Museum opening hours source */
.museum-hours-body p {
  margin: 10px 0 0;
}

.museum-hours-source {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  color: #f6d27a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.museum-hours-source[hidden] {
  display: none;
}

/* Prevent non-visible fractional mobile overflow */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Museum history and gallery */
.museum-history-section,
.museum-gallery-section {
  padding-top: clamp(44px, 6vw, 78px);
}

.museum-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 24px;
  align-items: stretch;
}

.museum-history-card {
  min-width: 0;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.92);
  box-shadow: 0 18px 48px rgba(31, 25, 17, 0.08);
}

.museum-history-card h2 {
  max-width: 900px;
  font-size: clamp(2.1rem, 3.7vw, 4.6rem);
}

.museum-history-card p {
  max-width: 860px;
}

.museum-history-image {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.museum-history-image a,
.museum-gallery-grid a {
  display: block;
  cursor: zoom-in;
}

.museum-history-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.museum-gallery-section {
  background: var(--cream);
}

.museum-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.museum-gallery-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.9);
  box-shadow: 0 14px 40px rgba(31, 25, 17, 0.07);
}

.museum-gallery-grid img {
  width: 100%;
  height: clamp(170px, 14vw, 260px);
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.museum-gallery-grid a:hover img,
.museum-gallery-grid a:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.04);
}

@media (max-width: 1180px) {
  .museum-history-grid,
  .museum-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .museum-history-grid,
  .museum-gallery-grid {
    grid-template-columns: 1fr;
  }

  .museum-history-card {
    padding: 24px 22px;
  }

  .museum-history-image img {
    min-height: 0;
    height: clamp(250px, 68vw, 380px);
  }

  .museum-gallery-grid img {
    height: clamp(220px, 62vw, 320px);
  }
}

/* Museum image frame refinement */
.museum-history-image a {
  height: 100%;
}

.museum-history-image img {
  display: block;
}

/* Responsive and typography review pass, 2026-06-05 */
:where(h1, h2, h3, p, li, a, button, .btn, .lead, .text-link) {
  overflow-wrap: normal;
  word-break: normal;
}

:where(p, li) {
  text-wrap: pretty;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

:where(a, .btn, .text-link) {
  overflow-wrap: anywhere;
}

.wrap,
.header-inner {
  width: min(1450px, calc(100% - clamp(28px, 4vw, 54px)));
}

.section {
  padding-block: clamp(46px, 5.5vw, 88px);
}

.section-head {
  gap: clamp(16px, 3vw, 34px);
}

.section-head p:not(.eyebrow),
.gallery-page-head p:not(.eyebrow),
.activities-review-head p:not(.eyebrow),
.lead {
  max-width: 66ch;
}

.lead {
  font-size: clamp(1.16rem, 1.55vw, 1.58rem);
  line-height: 1.32;
}

.subhero-copy h1,
.activities-subhero .subhero-copy h1,
.offers-subhero .subhero-copy h1,
.museum-subhero .subhero-copy h1,
.heritage-subhero h1,
.imprint-subhero h1 {
  max-width: 12.5em;
  font-size: clamp(2.9rem, 5.3vw, 5.9rem);
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 9.5em;
  font-size: clamp(3rem, 6.5vw, 7.2rem);
  line-height: 0.94;
}

.privacy-card h2,
.museum-history-card h2,
.activity-focus-card h2,
.chronik-full-panel h2,
.verein-text-panel h2,
.old-statutes-panel h2,
.heritage-text-card h2,
.heritage-museum-grid h2 {
  font-size: clamp(1.9rem, 3.25vw, 3.85rem);
  line-height: 1.02;
}

.card,
.quick-card,
.course-card,
.heritage-card,
.shop-card,
.member-card,
.contact-card,
.contact-form,
.chronik-full-panel,
.verein-text-panel,
.verein-facts-card,
.statute-card,
.old-statutes-panel,
.board-card,
.heritage-text-card,
.heritage-fact-panel,
.heritage-pillars article,
.museum-visit-card,
.museum-history-card,
.privacy-card,
.activity-focus-card,
.activity-note-card,
.activity-entry {
  border-radius: 8px;
}

.quick-card,
.course-card,
.board-card,
.statute-card,
.verein-links-grid a,
.museum-visit-card,
.activity-entry {
  min-width: 0;
}

.nav-menu {
  min-width: 0;
  gap: clamp(10px, 1.1vw, 18px);
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
}

.nav-menu a,
.nav-dropdown__toggle {
  max-width: 100%;
}

.nav-dropdown__menu a {
  white-space: normal;
}

.header-cta .btn {
  white-space: nowrap;
}

.subhero-grid,
.activities-subhero .subhero-grid,
.museum-subhero .subhero-grid {
  align-items: center;
}

.subhero-media img,
.activities-hero-media img,
.museum-hero-media img,
.offers-hero-media img,
.gallery-hero-media img {
  min-height: 0;
}

.gallery-page-grid {
  column-gap: clamp(12px, 1.6vw, 18px);
}

.lightbox__caption {
  line-height: 1.3;
}

.chronik-people-grid article,
.board-card,
.statute-card,
.verein-links-grid a,
.museum-visit-card,
.heritage-pillars article,
.activity-entry {
  height: 100%;
}

.chronik-people-grid p,
.board-card p,
.statute-card p,
.verein-links-grid strong,
.museum-visit-card p,
.heritage-pillars p {
  line-height: 1.45;
}

.chronik-longform {
  font-size: clamp(1rem, 1vw, 1.08rem);
  line-height: 1.72;
}

.chronik-longform p,
.chronik-longform ul,
.privacy-content,
.museum-history-card p,
.heritage-text-card p,
.activity-focus-card p,
.activity-note-card p {
  max-width: 76ch;
}

.btn {
  min-width: 0;
  min-height: 44px;
  line-height: 1.15;
  text-align: center;
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) auto;
  }

  .brand-mark {
    width: clamp(180px, 13vw, 220px);
  }

  .subhero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.82fr);
  }

  .activities-subhero .subhero-grid,
  .museum-subhero .subhero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.82fr);
  }

  .chronik-people-grid,
  .board-grid,
  .statutes-grid,
  .heritage-pillars,
  .museum-visit-grid {
    align-items: stretch;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav-menu {
    align-items: stretch;
    gap: 8px;
  }

  .nav-menu a,
  .nav-dropdown__toggle {
    padding-block: 7px;
  }

  .subhero-copy h1,
  .activities-subhero .subhero-copy h1,
  .offers-subhero .subhero-copy h1,
  .museum-subhero .subhero-copy h1,
  .heritage-subhero h1,
  .imprint-subhero h1 {
    max-width: 13em;
  }

  .gallery-page-grid {
    column-count: 3;
  }

  .museum-gallery-grid,
  .museum-visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section-head,
  .gallery-page-head,
  .activities-review-head {
    display: grid;
    align-items: start;
  }

  .section-head--courses h2 {
    white-space: normal;
  }

  .offer-detail-card,
  .heritage-news-card {
    grid-template-columns: 1fr;
  }

  .museum-visit-grid,
  .museum-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.58;
  }

  .site-header {
    position: sticky;
  }

  .header-inner,
  .wrap {
    width: min(100% - 28px, 1450px);
  }

  .brand-mark {
    width: clamp(138px, 42vw, 168px);
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-menu {
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    padding: 10px 0 4px;
  }

  .nav-dropdown {
    padding-block: 0;
    margin-block: 0;
  }

  .nav-dropdown__menu {
    gap: 2px;
  }

  .section {
    padding-block: clamp(38px, 10vw, 58px);
  }

  .hero {
    min-height: 560px;
  }

  .hero-copy {
    padding: 42px 0 220px;
  }

  .hero-copy h1,
  .subhero-copy h1,
  .activities-subhero .subhero-copy h1,
  .offers-subhero .subhero-copy h1,
  .museum-subhero .subhero-copy h1,
  .heritage-subhero h1,
  .imprint-subhero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.5vw, 3.65rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  .lead,
  .subhero-copy .lead,
  .activities-subhero .lead,
  .museum-subhero .subhero-copy .lead {
    max-width: 100%;
    font-size: clamp(1.04rem, 4.6vw, 1.25rem);
    line-height: 1.38;
  }

  .hero-copy .actions,
  .museum-hero-actions,
  .museum-contact-grid .actions,
  .offer-detail-card .actions,
  .activity-map__consent .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn,
  .hero .btn,
  .museum-hero-actions .btn,
  .museum-contact-grid .actions .btn,
  .heritage-downloads .btn {
    width: 100%;
    padding-inline: 14px;
  }

  .quick-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .quick-card p {
    max-width: none;
  }

  .subhero-media img,
  .activities-hero-media img,
  .museum-hero-media img,
  .offers-hero-media img,
  .gallery-hero-media img {
    height: clamp(245px, 68vw, 390px);
  }

  .gallery-page-grid {
    column-count: 2;
  }

  .gallery-page-head {
    gap: 14px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox__image {
    max-height: 74vh;
  }

  .lightbox__caption {
    left: 14px;
    right: 58px;
    bottom: 14px;
    max-width: none;
    font-size: 0.9rem;
  }

  .chronik-people-grid h3 {
    font-size: 1.28rem;
  }

  .chronik-full-panel,
  .verein-text-panel,
  .old-statutes-panel,
  .heritage-text-card,
  .museum-history-card,
  .privacy-card,
  .activity-focus-card,
  .activity-note-card {
    padding: 24px 20px;
  }

  .verein-links-panel {
    padding: 22px 18px;
  }

  .activity-entry time span {
    font-size: 1.8rem;
  }
}

@media (max-width: 420px) {
  .hero-copy h1,
  .subhero-copy h1,
  .activities-subhero .subhero-copy h1,
  .offers-subhero .subhero-copy h1,
  .museum-subhero .subhero-copy h1,
  .heritage-subhero h1,
  .imprint-subhero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .gallery-page-grid {
    column-count: 1;
  }

  .quick-card {
    grid-template-columns: 1fr;
  }

  .activity-map__consent {
    overflow: hidden;
  }

  .activity-map__consent h4,
  .activity-map__consent p {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .activity-map__consent h4 {
    font-size: clamp(1.65rem, 10vw, 2.25rem);
  }
}

/* Activity PDF previews */
.activity-pdf-preview {
  position: relative;
  display: block;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--green-deep);
  box-shadow: 0 14px 34px rgba(31, 25, 17, 0.08);
}

.activity-pdf-preview img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 380px;
  object-fit: cover;
  object-position: top center;
  transition: transform 180ms ease, filter 180ms ease;
}

.activity-pdf-preview span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(15, 51, 40, 0.92);
  color: #fff9ef;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-pdf-preview:hover img,
.activity-pdf-preview:focus-visible img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.03);
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(8, 20, 16, 0.88);
}

.pdf-modal.is-open {
  display: flex;
}

.pdf-modal__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(940px, 100%);
  max-height: min(92vh, 1100px);
  overflow: hidden;
  border: 1px solid rgba(255, 249, 239, 0.22);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.pdf-modal__head,
.pdf-modal__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.82);
}

.pdf-modal__actions {
  justify-content: flex-end;
  border-top: 1px solid rgba(216, 203, 184, 0.82);
  border-bottom: 0;
}

.pdf-modal__title {
  color: var(--green-deep);
  font-size: 0.92rem;
}

.pdf-modal__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 51, 40, 0.18);
  border-radius: 4px;
  background: #fffdf7;
  color: var(--green-deep);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
}

.pdf-modal__body {
  min-height: 0;
  overflow: auto;
  padding: clamp(14px, 2vw, 24px);
  background: #efe6d8;
}

.pdf-modal__image {
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  background: white;
  box-shadow: 0 18px 48px rgba(31, 25, 17, 0.18);
}

@media (max-width: 760px) {
  .activity-pdf-preview img {
    max-height: 420px;
  }

  .pdf-modal {
    padding: 10px;
  }

  .pdf-modal__panel {
    max-height: 94vh;
  }

  .pdf-modal__head,
  .pdf-modal__actions {
    align-items: stretch;
  }

  .pdf-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media print {
  body.is-printing-pdf-preview > *:not(.pdf-modal) {
    display: none !important;
  }

  body.is-printing-pdf-preview .pdf-modal {
    position: static;
    display: block !important;
    padding: 0;
    background: white;
  }

  body.is-printing-pdf-preview .pdf-modal__panel {
    display: block;
    width: 100%;
    max-height: none;
    border: 0;
    box-shadow: none;
  }

  body.is-printing-pdf-preview .pdf-modal__head,
  body.is-printing-pdf-preview .pdf-modal__actions {
    display: none;
  }

  body.is-printing-pdf-preview .pdf-modal__body {
    overflow: visible;
    padding: 0;
    background: white;
  }

  body.is-printing-pdf-preview .pdf-modal__image {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }
}

/* Database course page */
.courses-subhero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.38) 0%, rgba(20, 14, 10, 0.24) 46%, rgba(20, 14, 10, 0.04) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.1), rgba(20, 14, 10, 0.02)),
    url("/assets/img/kurse-hero.webp") center / cover no-repeat;
}

.courses-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 48%, rgba(20, 14, 10, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(20, 14, 10, 0), rgba(20, 14, 10, 0.07));
}

.courses-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.courses-subhero .subhero-copy {
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(20, 14, 10, 0.46);
}

.courses-subhero .eyebrow,
.courses-subhero .lead,
.courses-subhero .subhero-copy h1 {
  color: #fff9ef;
}

.courses-subhero .subhero-copy h1 {
  max-width: 9.2em;
  font-size: clamp(2.45rem, 4.8vw, 5.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.courses-subhero .lead {
  max-width: 42rem;
}

.courses-hero-media {
  display: none;
}

.course-intro-section {
  padding-top: clamp(42px, 5vw, 72px);
}

.course-intro-grid {
  align-items: center;
}

.course-fact-panel {
  min-height: 0;
}

.course-list-section {
  padding-top: clamp(36px, 5vw, 68px);
}

.course-list-section:nth-of-type(even) {
  background: rgba(255, 249, 239, 0.42);
}

.course-list-head h2 {
  font-size: clamp(2rem, 3.8vw, 4.4rem);
}

.course-category-title {
  margin: clamp(18px, 3vw, 34px) 0 16px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-page-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 16px 44px rgba(31, 25, 17, 0.07);
}

.course-page-media {
  display: block;
  min-height: 100%;
  background: var(--sand);
}

.course-page-media img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center;
}

.course-page-body {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px) clamp(22px, 3vw, 34px) 0;
}

.course-page-body h3 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.7rem);
  line-height: 1.03;
}

.course-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.course-details {
  max-width: 76ch;
  margin-top: 16px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.course-details h3 {
  margin: 14px 0 8px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-details ul,
.course-details ol {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.course-details li + li {
  margin-top: 5px;
}

.course-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.course-page-card {
  scroll-margin-top: 110px;
}

.course-page-card[hidden],
.course-list-section[hidden],
.course-category-title[hidden],
.course-pagination[hidden] {
  display: none !important;
}

.course-pagination-section {
  padding: clamp(12px, 2vw, 22px) 0 clamp(46px, 6vw, 82px);
}

.course-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.course-pagination__status {
  flex: 1 1 100%;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.course-pagination__button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(15, 51, 40, 0.32);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green-deep);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.course-pagination__button:hover:not(:disabled),
.course-pagination__button:focus-visible {
  border-color: var(--terracotta);
  background: #fff9ef;
  color: var(--terracotta);
  transform: translateY(-1px);
}

.course-pagination__button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff9ef;
}

.course-pagination__button:disabled {
  cursor: not-allowed;
  border-color: rgba(15, 51, 40, 0.26);
  background: rgba(255, 253, 248, 0.72);
  color: rgba(30, 26, 22, 0.62);
  opacity: 1;
}

.course-back-to-top {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 820;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 249, 239, 0.32);
  border-radius: 999px;
  background: rgba(15, 51, 40, 0.94);
  box-shadow: 0 16px 38px rgba(31, 25, 17, 0.2);
  color: #fff9ef;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.course-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.course-back-to-top:hover,
.course-back-to-top:focus-visible {
  background: var(--terracotta);
}

.course-description-row {
  margin-top: 22px;
}

.course-description-row .course-description-link {
  display: inline-flex;
}

.course-page-empty {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.94);
}

@media (max-width: 900px) {
  .course-page-card {
    grid-template-columns: 1fr;
  }

  .course-page-body {
    padding: 22px;
  }

  .course-page-media img {
    height: clamp(240px, 52vw, 380px);
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .course-page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .course-pagination {
    justify-content: flex-start;
  }

  .course-pagination__status {
    text-align: left;
  }

  .course-pagination__button {
    min-width: 42px;
    min-height: 42px;
    padding: 0 13px;
  }

  .course-back-to-top {
    right: 14px;
    bottom: 14px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.84rem;
  }
}

.course-document-shell {
  padding-top: clamp(96px, 12vw, 150px);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.78), rgba(234, 216, 186, 0.34)),
    var(--cream);
}

.course-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto 18px;
}

.course-document {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(216, 203, 184, 0.92);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(31, 25, 17, 0.12);
}

.course-document__header {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.course-document__header img {
  width: min(220px, 100%);
  height: auto;
}

.course-document__header h1 {
  margin: 8px 0 0;
  color: #2e5495;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.02;
}

.course-document__intro {
  margin-bottom: clamp(28px, 5vw, 52px);
}

.course-document__subtitle {
  max-width: 36ch;
  margin: 0;
  color: #bd8f2d;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.course-document__image {
  max-width: 760px;
  margin: 0 0 clamp(28px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.92);
  border-radius: 8px;
  background: var(--sand);
}

.course-document__image img {
  display: block;
  width: 100%;
  height: clamp(230px, 34vw, 420px);
  object-fit: cover;
  object-position: center;
}

.course-document__section + .course-document__section {
  margin-top: clamp(26px, 4vw, 44px);
}

.course-document__section h2 {
  margin: 0 0 18px;
  color: #2e5495;
  font-family: var(--sans);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.course-document__facts {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin: 0;
}

.course-document__facts div {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(46, 84, 149, 0.16);
}

.course-document__facts dt {
  color: var(--muted);
  font-weight: 900;
}

.course-document__facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.course-document__details {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.62;
}

.course-document__details h3 {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
}

.course-document__details p,
.course-document__details ul,
.course-document__details ol {
  margin: 0 0 10px;
}

.course-document__textblock {
  white-space: normal;
}

.course-modal__loading {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--green-deep);
  font-weight: 900;
}

.course-document__details ul,
.course-document__details ol {
  padding-left: 1.25em;
}

.course-document__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(30px, 5vw, 58px);
  padding-top: 20px;
  border-top: 1px solid rgba(216, 203, 184, 0.92);
}

@media (max-width: 720px) {
  .course-document-shell {
    padding-top: 86px;
  }

  .course-document {
    padding: 24px 18px;
  }

  .course-document__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-document__header img {
    width: 170px;
  }

  .course-document__facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .course-document__image img {
    height: clamp(190px, 58vw, 300px);
  }

  .course-document__footer,
  .course-document-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media print {
  .course-description-page .site-header,
  .course-description-page .site-footer,
  .course-document-actions {
    display: none !important;
  }

  .course-document-shell {
    padding: 0;
    background: #fff;
  }

  .course-document {
    max-width: none;
    padding: 18mm 16mm;
    border: 0;
    box-shadow: none;
  }

  .course-document__footer {
    display: none;
  }
}


/* 2026-06-06: Header/Hero refinement for neu.krippenverein-wenns.at.
   The greenery is part of the crib image itself, not a separate garland. */
.site-header {
  background-color: #ead8ba;
  box-shadow: 0 10px 28px rgba(31, 25, 17, 0.13), inset 0 -1px 0 rgba(255, 250, 241, 0.62);
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) auto;
    padding: 14px 0 11px;
  }

  .brand-mark {
    width: clamp(245px, 16vw, 292px);
  }
}

.hero {
  isolation: isolate;
  min-height: clamp(570px, 48vw, 760px);
  background: #efe2ca;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: clamp(96px, 9vw, 150px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 51, 40, 0.32), rgba(15, 51, 40, 0.08) 46%, transparent 100%);
  mix-blend-mode: multiply;
}

.hero-copy {
  width: min(640px, 50vw);
  padding-top: clamp(88px, 8vw, 132px);
}

.hero-star {
  display: block;
  width: clamp(54px, 5vw, 82px);
  margin: 0 0 14px 4px;
  filter: drop-shadow(0 9px 18px rgba(84, 50, 12, 0.22));
}

.hero-star img {
  width: 100%;
  height: auto;
}

.hero-media--still img,
.hero-media img:not(.hero-slide) {
  object-position: 53% 50%;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(246, 241, 231, 0.97) 0%, rgba(246, 241, 231, 0.86) 25%, rgba(246, 241, 231, 0.26) 53%, rgba(246, 241, 231, 0.04) 100%),
    linear-gradient(180deg, rgba(13, 48, 35, 0.2) 0%, transparent 22%),
    linear-gradient(0deg, rgba(15, 51, 40, 0.22), transparent 36%);
}

.hero-slider__dots {
  display: none;
}

@media (max-width: 1180px) {
  .brand-mark {
    width: clamp(185px, 26vw, 235px);
  }

  .hero-copy {
    width: min(620px, 62vw);
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 56% 50%;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 10px 0 8px;
  }

  .brand-mark {
    width: clamp(156px, 48vw, 190px);
  }

  .hero {
    min-height: 590px;
  }

  .hero-copy {
    width: 100%;
    padding: 38px 0 235px;
  }

  .hero-star {
    width: 50px;
    margin-bottom: 10px;
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 58% 50%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(246, 241, 231, 0.94) 0%, rgba(246, 241, 231, 0.78) 35%, rgba(246, 241, 231, 0.08) 68%, rgba(246, 241, 231, 0) 100%),
      linear-gradient(0deg, rgba(15, 51, 40, 0.26), transparent 42%);
  }
}


/* 2026-06-06 final reference pass: large logo, real star, fixed crib hero with soft parchment fade. */
.site-header {
  background-color: #ead8ba;
  background-image:
    linear-gradient(180deg, rgba(255, 248, 232, 0.26), rgba(191, 145, 78, 0.14)),
    url("/assets/img/header-pergament-supplied.webp");
  background-size: auto, 245px auto;
  background-blend-mode: normal, multiply;
}

.header-inner {
  width: min(1520px, calc(100% - 54px));
}

.brand-mark {
  width: clamp(250px, 18vw, 330px);
}

.hero {
  min-height: clamp(610px, 50vw, 790px);
  background:
    linear-gradient(90deg, #f0e4ce 0%, #efe0c3 45%, #d6c09a 100%);
}

.hero::before {
  height: clamp(118px, 11vw, 176px);
  background: linear-gradient(180deg, rgba(13, 48, 35, 0.24), rgba(13, 48, 35, 0.08) 48%, transparent 100%);
  opacity: 0.78;
}

.hero-copy {
  width: min(650px, 49vw);
  padding-top: clamp(92px, 8.6vw, 146px);
  padding-bottom: clamp(112px, 10vw, 164px);
}

.hero-star {
  display: block;
  width: clamp(62px, 5.2vw, 88px);
  margin: 0 0 18px 3px;
  opacity: 0.96;
  filter: drop-shadow(0 10px 17px rgba(88, 55, 18, 0.24));
}

.hero-star img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy h1 {
  max-width: 8em;
  font-size: clamp(4.2rem, 7.9vw, 8.7rem);
  line-height: 0.91;
}

.hero-copy .lead {
  max-width: 15em;
  margin-top: 20px;
  font-size: clamp(1.22rem, 1.75vw, 1.76rem);
}

.hero-media {
  inset: 0 calc((100vw - min(1520px, calc(100vw - 54px))) / -2) 0 0;
}

.hero-media--still img,
.hero-media img:not(.hero-slide) {
  object-position: 58% 48%;
  filter: saturate(1.04) contrast(1.04) brightness(1.02);
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(246, 241, 231, 0.985) 0%, rgba(246, 241, 231, 0.91) 26%, rgba(239, 224, 195, 0.48) 45%, rgba(239, 224, 195, 0.08) 64%, rgba(239, 224, 195, 0) 100%),
    linear-gradient(180deg, rgba(14, 49, 37, 0.25) 0%, rgba(14, 49, 37, 0.07) 19%, transparent 38%),
    linear-gradient(0deg, rgba(15, 51, 40, 0.24), transparent 36%);
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(270px, 350px) minmax(0, 1fr) auto;
    gap: 26px;
    padding: 12px 0 10px;
  }

  .nav-menu {
    gap: clamp(9px, 1vw, 17px);
  }
}

@media (max-width: 1180px) {
  .brand-mark {
    width: clamp(205px, 28vw, 255px);
  }

  .hero {
    min-height: 650px;
  }

  .hero-copy {
    width: min(620px, 68vw);
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 63% 48%;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 24px, 1450px);
  }

  .brand-mark {
    width: clamp(170px, 52vw, 210px);
  }

  .hero {
    min-height: 630px;
  }

  .hero-copy {
    width: 100%;
    padding: 42px 0 250px;
  }

  .hero-star {
    width: 52px;
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 0.96;
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 66% 50%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(246, 241, 231, 0.97) 0%, rgba(246, 241, 231, 0.86) 38%, rgba(246, 241, 231, 0.1) 72%, rgba(246, 241, 231, 0) 100%),
      linear-gradient(0deg, rgba(15, 51, 40, 0.24), transparent 44%);
  }
}


/* 2026-06-06 visual match pass: lower logo, warmer hero typography/buttons, softer crib integration. */
:root {
  --hero-ink: #2d2117;
  --hero-muted: #4f3a27;
  --hero-button: #4b2f1c;
  --hero-button-dark: #17382d;
  --hero-button-border: #7b5634;
}

.site-header {
  z-index: 30;
  border-bottom-color: rgba(122, 74, 39, 0.2);
  box-shadow: 0 14px 28px rgba(53, 34, 17, 0.08);
}

.header-inner {
  align-items: start;
  padding-bottom: 0;
}

.brand {
  position: relative;
  z-index: 35;
  align-self: start;
  margin-bottom: -42px;
}

.brand-mark {
  transform: translateY(8px);
  transform-origin: left top;
  filter: drop-shadow(0 8px 12px rgba(74, 48, 24, 0.08));
}

.nav-menu,
.header-cta,
.nav-toggle {
  margin-top: 28px;
}

.hero {
  min-height: clamp(625px, 51vw, 805px);
  background: linear-gradient(90deg, #f1e4ca 0%, #ead6ae 45%, #c8ad7e 100%);
}

.hero::before {
  height: clamp(90px, 8vw, 132px);
  background: linear-gradient(180deg, rgba(68, 45, 22, 0.12), rgba(68, 45, 22, 0.03) 54%, transparent 100%);
  mix-blend-mode: multiply;
}

.hero-copy {
  padding-top: clamp(118px, 10vw, 166px);
}

.hero-copy h1 {
  color: var(--hero-ink);
  text-shadow: 0 1px 0 rgba(255, 249, 236, 0.46);
}

.hero-copy .lead {
  color: var(--hero-muted);
  font-weight: 600;
}

.hero .btn {
  border-color: var(--hero-button-border);
  background: rgba(255, 248, 233, 0.42);
  color: var(--hero-button);
  box-shadow: 0 8px 20px rgba(65, 40, 19, 0.08);
}

.hero .btn-primary,
.hero .btn-dark {
  border-color: var(--hero-button);
  background: var(--hero-button);
  color: #fff7e8;
}

.hero .btn-dark {
  border-color: var(--hero-button-dark);
  background: var(--hero-button-dark);
}

.hero-media--still img,
.hero-media img:not(.hero-slide) {
  object-position: 60% 47%;
  filter: sepia(0.16) saturate(0.78) hue-rotate(-13deg) contrast(1.02) brightness(1.04);
}

.hero-media::after {
  background: radial-gradient(ellipse at 66% 42%, rgba(241, 219, 177, 0.2) 0%, rgba(241, 219, 177, 0.14) 24%, transparent 54%), linear-gradient(90deg, rgba(246, 238, 220, 0.99) 0%, rgba(244, 232, 208, 0.94) 25%, rgba(235, 210, 166, 0.58) 43%, rgba(226, 194, 137, 0.18) 62%, rgba(226, 194, 137, 0) 100%), linear-gradient(180deg, rgba(82, 54, 27, 0.13) 0%, rgba(82, 54, 27, 0.04) 18%, transparent 38%), linear-gradient(0deg, rgba(62, 42, 23, 0.15), transparent 40%);
}

.hero-star {
  filter: drop-shadow(0 10px 17px rgba(88, 55, 18, 0.22));
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(292px, 372px) minmax(0, 1fr) auto;
    padding-top: 8px;
  }

  .brand-mark {
    width: clamp(295px, 20vw, 360px);
  }
}

@media (max-width: 1180px) {
  .brand {
    margin-bottom: -28px;
  }

  .brand-mark {
    width: clamp(220px, 31vw, 280px);
    transform: translateY(5px);
  }

  .nav-toggle {
    margin-top: 18px;
  }

  .nav-menu {
    margin-top: 8px;
  }

  .hero-copy {
    padding-top: 92px;
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 64% 48%;
  }
}

@media (max-width: 760px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    align-items: start;
    padding-top: 6px;
  }

  .brand {
    margin-bottom: -18px;
  }

  .brand-mark {
    width: clamp(190px, 56vw, 226px);
    transform: translateY(3px);
  }

  .nav-toggle {
    margin-top: 18px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-copy {
    padding-top: 64px;
    padding-bottom: 260px;
  }

  .hero .btn {
    background: rgba(255, 248, 233, 0.7);
  }

  .hero .btn-primary,
  .hero .btn-dark {
    background: var(--hero-button);
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 67% 50%;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(246, 238, 220, 0.98) 0%, rgba(244, 232, 208, 0.9) 36%, rgba(230, 201, 151, 0.18) 73%, rgba(230, 201, 151, 0) 100%), linear-gradient(0deg, rgba(62, 42, 23, 0.12), transparent 46%);
  }
}


/* 2026-06-06 left hero reference lock: cream field, exactish spacing, classic buttons. */
.site-header {
  background-color: #ead8ba;
  background-image: linear-gradient(180deg, rgba(255, 247, 224, 0.44), rgba(224, 191, 136, 0.18)), url("/assets/img/header-pergament-supplied.webp");
  background-size: auto, 230px auto;
  border-bottom-color: rgba(120, 79, 38, 0.18);
}

.header-inner {
  min-height: 84px;
}

.brand {
  margin-bottom: -56px;
}

.brand-mark {
  transform: translateY(12px);
}

.hero {
  min-height: clamp(625px, 51.5vw, 800px);
  background: #efe0bf;
}

.hero-grid {
  min-height: inherit;
}

.hero-copy {
  width: min(665px, 48vw);
  padding-top: clamp(126px, 9.9vw, 158px);
  padding-bottom: clamp(100px, 8vw, 130px);
}

.hero-star {
  width: clamp(66px, 5.4vw, 82px);
  margin-left: 2px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  color: #2b1d14;
  max-width: 7.6em;
  font-size: clamp(4.85rem, 7.65vw, 8.35rem);
  line-height: 0.89;
  letter-spacing: 0;
}

.hero-copy .lead {
  max-width: 16.2em;
  margin-top: 22px;
  color: #5a402b;
  font-size: clamp(1.28rem, 1.9vw, 1.82rem);
  font-weight: 800;
  line-height: 1.18;
}

.hero-copy .actions {
  gap: 11px;
  margin-top: 30px;
}

.hero .btn {
  min-height: 54px;
  padding: 0 27px;
  border-radius: 3px;
  border-color: #6b4629;
  background: rgba(255, 249, 236, 0.58);
  color: #382418;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  box-shadow: none;
}

.hero .btn-primary {
  border-color: #57331f;
  background: #57331f;
  color: #fff7e8;
}

.hero .btn-dark {
  border-color: #0d3a2e;
  background: #0d3a2e;
  color: #fff7e8;
}

.hero-media {
  inset: 0 calc((100vw - min(1520px, calc(100vw - 54px))) / -2) 0 0;
}

.hero-media--still img,
.hero-media img:not(.hero-slide) {
  object-position: 60% 47%;
  filter: sepia(0.18) saturate(0.7) hue-rotate(-15deg) contrast(0.99) brightness(1.08);
}

.hero-media::after {
  background:
    linear-gradient(90deg, #f2e8d2 0%, rgba(242, 232, 210, 0.995) 18%, rgba(240, 226, 198, 0.95) 31%, rgba(232, 208, 165, 0.68) 45%, rgba(223, 190, 132, 0.23) 62%, rgba(223, 190, 132, 0) 100%),
    linear-gradient(180deg, rgba(87, 56, 28, 0.08) 0%, rgba(87, 56, 28, 0.02) 20%, transparent 40%),
    radial-gradient(ellipse at 22% 46%, rgba(255, 248, 231, 0.34) 0%, rgba(255, 248, 231, 0.2) 42%, transparent 72%);
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(315px, 390px) minmax(0, 1fr) auto;
    padding-top: 4px;
    padding-bottom: 0;
  }

  .brand-mark {
    width: clamp(318px, 21vw, 380px);
  }

  .nav-menu,
  .header-cta {
    margin-top: 32px;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    min-height: 82px;
  }

  .brand {
    margin-bottom: -30px;
  }

  .brand-mark {
    width: clamp(220px, 30vw, 270px);
    transform: translateY(6px);
  }

  .hero-copy {
    width: min(620px, 70vw);
    padding-top: 92px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 76px;
  }

  .brand {
    margin-bottom: -18px;
  }

  .brand-mark {
    width: clamp(190px, 56vw, 220px);
    transform: translateY(3px);
  }

  .hero {
    min-height: 655px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 62px;
    padding-bottom: 255px;
  }

  .hero-star {
    width: 52px;
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 0.96;
  }

  .hero-copy .lead {
    max-width: 15.5em;
    font-size: clamp(1.05rem, 4.6vw, 1.28rem);
    line-height: 1.22;
  }

  .hero-copy .actions {
    margin-top: 30px;
  }

  .hero .btn {
    min-height: 48px;
    padding-inline: 14px;
    background: rgba(255, 249, 236, 0.72);
  }

  .hero .btn-primary {
    background: #57331f;
  }

  .hero .btn-dark {
    background: #0d3a2e;
  }

  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 67% 50%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, #f2e8d2 0%, rgba(242, 232, 210, 0.96) 36%, rgba(232, 208, 165, 0.22) 72%, rgba(232, 208, 165, 0) 100%),
      linear-gradient(90deg, rgba(242, 232, 210, 0.72) 0%, rgba(242, 232, 210, 0.3) 45%, transparent 100%);
  }
}

/* 2026-06-06 integrated head graphic: parchment and crib are now one hero image. */
.hero {
  position: relative;
  min-height: clamp(620px, 50vw, 790px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 235, 215, 0.08) 0%, rgba(245, 235, 215, 0.02) 52%, rgba(15, 51, 40, 0.08) 100%),
    url("/assets/img/hero-gallery-dsc7097-pergament.webp") center center / cover no-repeat;
}

.hero::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 49, 37, 0.12), rgba(14, 49, 37, 0.035) 46%, transparent 100%);
  opacity: 0.72;
}

.hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 650px) minmax(0, 1fr);
  min-height: inherit;
}

.hero-copy {
  width: min(650px, 48vw);
}

.hero-media {
  display: none;
}

@media (max-width: 1180px) {
  .hero {
    min-height: 650px;
    background-position: 44% center;
  }

  .hero-copy {
    width: min(620px, 66vw);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 630px;
    background-position: 31% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(246, 241, 231, 0.16) 0%, rgba(246, 241, 231, 0.08) 42%, transparent 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 250px;
  }
}

/* 2026-06-06 header/hero unification and typography review. */
.site-header {
  border-bottom-color: rgba(121, 83, 39, 0.08);
  background-color: #f0e1c2;
  background-image:
    linear-gradient(180deg, rgba(255, 250, 236, 0.58), rgba(239, 219, 180, 0.28)),
    url("/assets/img/header-pergament-supplied.webp");
  background-size: auto, 280px auto;
  background-blend-mode: normal, multiply;
  box-shadow: inset 0 -1px 0 rgba(255, 248, 230, 0.52);
  backdrop-filter: blur(8px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -28px;
  left: 0;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 225, 194, 0.86), rgba(240, 225, 194, 0));
}

.header-inner {
  width: min(1515px, calc(100% - clamp(20px, 2.7vw, 38px)));
}

.brand {
  transform: translateX(-14px);
}

.nav-menu {
  color: #2f2418;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #7a4a27;
}

.header-cta {
  border-color: #5a3922;
  background: #5a3922;
  color: #fff7e7;
}

.hero {
  margin-top: -1px;
  min-height: clamp(610px, 49vw, 770px);
  background-position: center 48%;
}

.hero-copy {
  width: min(640px, 46vw);
  padding-top: clamp(112px, 8.7vw, 144px);
  transform: translateX(-18px);
}

.hero-star {
  display: flex;
  width: min(344px, 31vw);
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}

.hero-star::before,
.hero-star::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 99, 37, 0), rgba(142, 99, 37, 0.72));
}

.hero-star::after {
  background: linear-gradient(90deg, rgba(142, 99, 37, 0.72), rgba(142, 99, 37, 0));
}

.hero-star img {
  width: clamp(58px, 5vw, 74px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 1px rgba(74, 47, 20, 0.16));
}

.hero-copy h1 {
  max-width: 7.1em;
  color: #281b12;
  font-size: clamp(4.7rem, 7.35vw, 8.05rem);
  line-height: 0.91;
  font-weight: 700;
}

.hero-copy .lead {
  max-width: 17.5em;
  margin-top: 18px;
  color: #4d3625;
  font-size: clamp(1.22rem, 1.65vw, 1.62rem);
  font-weight: 800;
  line-height: 1.23;
}

.hero-copy .actions {
  gap: 12px;
  margin-top: 28px;
}

.hero .btn {
  min-height: 52px;
  padding-inline: 25px;
  font-size: 0.76rem;
  letter-spacing: 0.055em;
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(330px, 405px) minmax(0, 1fr) auto;
  }

  .brand-mark {
    width: clamp(330px, 21.5vw, 392px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 630px) minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .brand {
    transform: translateX(-8px);
  }

  .hero-copy {
    width: min(600px, 68vw);
    padding-top: 86px;
    transform: translateX(-8px);
  }

  .hero-star {
    width: min(300px, 48vw);
  }
}

@media (max-width: 760px) {
  .site-header::after {
    bottom: -18px;
    height: 18px;
  }

  .header-inner {
    width: min(100% - 22px, 1450px);
  }

  .brand {
    transform: translateX(-6px);
  }

  .brand-mark {
    width: clamp(194px, 58vw, 228px);
  }

  .hero {
    min-height: 620px;
    background-position: 30% center;
  }

  .hero-copy {
    padding-top: 54px;
    padding-bottom: 246px;
    transform: none;
  }

  .hero-star {
    width: min(250px, 72vw);
    gap: 12px;
    margin-bottom: 14px;
  }

  .hero-star img {
    width: 50px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 11.4vw, 3.75rem);
    line-height: 0.98;
  }

  .hero-copy .lead {
    margin-top: 14px;
    font-size: clamp(1.02rem, 4.3vw, 1.22rem);
    line-height: 1.28;
  }

  .hero-copy .actions {
    margin-top: 24px;
  }
}

/* 2026-06-06 reference-left pass: header and hero share one parchment field. */
.site-header {
  border-bottom-color: transparent;
  background-color: rgba(242, 226, 194, 0.94);
  background-image:
    linear-gradient(90deg, rgba(247, 236, 211, 0.92) 0%, rgba(246, 232, 202, 0.9) 37%, rgba(224, 202, 164, 0.52) 53%, rgba(122, 91, 55, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 250, 236, 0.5), rgba(234, 211, 171, 0.18)),
    url("/assets/img/hero-gallery-dsc7097-pergament.webp");
  background-position: left top, left top, center top;
  background-size: auto, auto, cover;
  background-repeat: no-repeat;
  background-blend-mode: normal, normal, soft-light;
  box-shadow: none;
}

.site-header::after {
  bottom: -42px;
  height: 42px;
  background:
    linear-gradient(180deg, rgba(242, 226, 194, 0.76), rgba(242, 226, 194, 0.3) 45%, rgba(242, 226, 194, 0));
}

.header-inner {
  width: min(1600px, calc(100% - clamp(12px, 1.4vw, 24px)));
  padding-top: 13px;
  padding-bottom: 11px;
}

.brand {
  transform: translateX(-6px);
}

.nav-menu {
  color: #2b2117;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-menu a,
.nav-dropdown__toggle {
  text-shadow: 0 1px 0 rgba(255, 247, 229, 0.55);
}

.hero {
  margin-top: -1px;
  background-position: center top;
}

.hero-grid {
  width: min(1600px, calc(100% - clamp(12px, 1.4vw, 24px)));
}

.hero-copy {
  width: min(620px, 43vw);
  padding-top: clamp(108px, 8vw, 136px);
  transform: translateX(-6px);
}

.hero-star {
  width: min(326px, 28vw);
  margin-bottom: 17px;
}

.hero-copy h1 {
  font-size: clamp(4.85rem, 7.15vw, 7.85rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy .lead {
  max-width: 16.5em;
  margin-top: 16px;
  font-size: clamp(1.18rem, 1.52vw, 1.52rem);
  line-height: 1.22;
}

.hero-copy .actions {
  margin-top: 26px;
}

@media (min-width: 1181px) {
  .header-inner {
    grid-template-columns: minmax(335px, 420px) minmax(0, 1fr) auto;
  }

  .brand-mark {
    width: clamp(344px, 22vw, 404px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 610px) minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .site-header {
    background-position: left top, left top, 40% top;
  }

  .header-inner,
  .hero-grid {
    width: min(100% - 24px, 1450px);
  }

  .brand {
    transform: translateX(-14px);
  }

  .hero-copy {
    width: min(590px, 70vw);
    padding-top: 82px;
    transform: translateX(-14px);
  }
}

@media (max-width: 760px) {
  .site-header {
    background-image:
      linear-gradient(90deg, rgba(247, 236, 211, 0.96), rgba(238, 219, 184, 0.88)),
      url("/assets/img/hero-gallery-dsc7097-pergament.webp");
    background-position: left top, 30% top;
  }

  .site-header::after {
    bottom: -22px;
    height: 22px;
  }

  .header-inner,
  .hero-grid {
    width: min(100% - 22px, 1450px);
  }

  .brand {
    transform: translateX(-6px);
  }

  .hero-copy {
    width: 100%;
    padding-top: 52px;
    padding-bottom: 246px;
    transform: none;
  }

  .hero-star {
    width: min(244px, 70vw);
    margin-bottom: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 11vw, 3.65rem);
    line-height: 0.98;
  }
}

/* 2026-06-06 transparent header pass: hero image carries the header area. */
.site-header {
  position: absolute;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header::after {
  display: none;
}

.header-inner {
  width: min(1660px, calc(100% - clamp(8px, 1vw, 18px)));
  padding-top: 18px;
  padding-bottom: 8px;
}

.brand {
  transform: translateX(-2px);
}

.brand-mark {
  filter: drop-shadow(0 1px 0 rgba(255, 245, 221, 0.42));
}

.nav-menu {
  color: #251c13;
  text-shadow: 0 1px 0 rgba(255, 247, 226, 0.5);
}

.header-cta {
  box-shadow: 0 8px 18px rgba(77, 45, 24, 0.12);
}

.hero {
  padding-top: 0;
  background-position: center -34px;
}

.hero-grid {
  width: min(1660px, calc(100% - clamp(8px, 1vw, 18px)));
}

.hero-copy {
  padding-top: clamp(190px, 13vw, 218px);
  transform: translateX(-2px);
}

@media (min-width: 1181px) {
  .brand-mark {
    width: clamp(372px, 24vw, 438px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .header-inner,
  .hero-grid {
    width: min(100% - 18px, 1450px);
  }

  .brand {
    transform: translateX(-2px);
  }

  .brand-mark {
    width: clamp(280px, 33vw, 348px);
  }

  .hero {
    background-position: 42% -18px;
  }

  .hero-copy {
    padding-top: 160px;
    transform: translateX(-2px);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
  }

  .header-inner,
  .hero-grid {
    width: min(100% - 16px, 1450px);
  }

  .brand-mark {
    width: clamp(232px, 63vw, 258px);
  }

  .hero {
    background-position: 30% -10px;
  }

  .hero-copy {
    padding-top: 170px;
    transform: none;
  }
}

/* 2026-06-06 hero v2 readability pass: no header background, stronger nav contrast. */
.nav-menu {
  color: #1f160e;
  font-weight: 800;
}

.nav-menu a,
.nav-dropdown__toggle {
  text-shadow:
    0 1px 0 rgba(255, 247, 226, 0.78),
    0 0 8px rgba(255, 239, 198, 0.62);
}

.header-cta {
  border-color: #5f351f;
  background: #66391f;
  color: #fff4dc;
}

/* 2026-06-06 separated hero layers: enhanced gallery photo, transparent parchment overlay, restored header texture. */
.site-header {
  background-color: #ead8ba;
  background-image:
    linear-gradient(180deg, rgba(255, 248, 232, 0.38), rgba(191, 145, 78, 0.16)),
    url("/assets/img/header-pergament-supplied.webp");
  background-size: 100% 100%, cover;
  background-position: center;
  background-blend-mode: normal, multiply;
}

.hero {
  background: #ead8ba;
}

.hero::before {
  background: linear-gradient(180deg, rgba(73, 48, 23, 0.12), rgba(73, 48, 23, 0.03) 54%, transparent 100%);
}

.hero-media--still img,
.hero-media img:not(.hero-slide) {
  object-position: 43% 48%;
  filter: saturate(1.02) contrast(1.03) brightness(1.01);
}

.hero-media::after {
  background:
    linear-gradient(180deg, rgba(64, 42, 22, 0.11) 0%, rgba(64, 42, 22, 0.02) 28%, transparent 46%),
    linear-gradient(0deg, rgba(37, 62, 39, 0.14), transparent 36%),
    url("/assets/img/hero-pergament-left-supplied.webp?v=202606061832");
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  opacity: 1;
}

@media (max-width: 1180px) {
  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 46% 48%;
  }
}

@media (max-width: 760px) {
  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 50% 50%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(246, 241, 231, 0.97) 0%, rgba(246, 241, 231, 0.82) 36%, rgba(246, 241, 231, 0.08) 72%, rgba(246, 241, 231, 0) 100%),
      linear-gradient(0deg, rgba(37, 62, 39, 0.14), transparent 42%),
      url("/assets/img/hero-pergament-left-supplied.webp?v=202606061832");
    background-size: 100% 100%, 100% 100%, auto 100%;
    background-position: center, center, left center;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }
}

/* 2026-06-06 active separated background pass: photo on hero, parchment as its own transparent layer. */
.hero {
  background:
    linear-gradient(90deg, rgba(245, 235, 215, 0.05) 0%, rgba(245, 235, 215, 0) 50%, rgba(15, 51, 40, 0.05) 100%),
    url("/assets/img/hero-gallery-dsc7097-enhanced.webp") 43% center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(64, 42, 22, 0.08) 0%, rgba(64, 42, 22, 0.02) 28%, transparent 48%),
    linear-gradient(0deg, rgba(37, 62, 39, 0.12), transparent 38%),
    url("/assets/img/hero-pergament-left-supplied.webp?v=202606061832");
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

@media (max-width: 1180px) {
  .hero {
    background-position: center, 46% center;
  }
}

@media (max-width: 760px) {
  .hero {
    background-position: center, 50% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(246, 241, 231, 0.92) 0%, rgba(246, 241, 231, 0.68) 35%, rgba(246, 241, 231, 0.08) 72%, rgba(246, 241, 231, 0) 100%),
      linear-gradient(0deg, rgba(37, 62, 39, 0.12), transparent 42%),
      url("/assets/img/hero-pergament-left-supplied.webp?v=202606061832");
    background-size: 100% 100%, 100% 100%, 540px 100%;
    background-position: center, center, left center;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }
}

/* 2026-06-06 header asset blend correction: no solid header color, texture fades left. */
.site-header {
  background-color: unset !important;
  background-image: none !important;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(234, 216, 186, 0) 0%, rgba(234, 216, 186, 0.36) 22%, rgba(234, 216, 186, 0.76) 56%, rgba(234, 216, 186, 0.72) 100%),
    url("/assets/img/header-pergament-supplied.webp");
  background-repeat: no-repeat, repeat-x;
  background-position: left center, left center;
  background-size: 100% 100%, auto 100%;
  background-blend-mode: color;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 10%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 10%, #000 34%, #000 100%);
}

.header-inner {
  position: relative;
  z-index: 1;
}

/* 2026-06-06 header parchment unification final override. */
.site-header {
  isolation: isolate;
  background-color: transparent;
  background-image: none;
  background-blend-mode: color;
  overflow: visible;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-header::before {
  bottom: -18px;
  background-image:
    linear-gradient(90deg, rgba(244, 232, 207, 0) 0%, rgba(244, 232, 207, 0.38) 15%, rgba(244, 232, 207, 0.78) 34%, rgba(244, 232, 207, 0.86) 100%),
    url("/assets/img/header-pergament-supplied.webp");
  background-position: left top, right center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: color;
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.68) 82%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.68) 82%, rgba(0, 0, 0, 0) 100%);
}

.site-header::after {
  background: linear-gradient(90deg, rgba(246, 241, 231, 0.72) 0%, rgba(246, 241, 231, 0.2) 18%, rgba(246, 241, 231, 0) 36%);
}

/* 2026-06-06 final button polish: header CTA lifted, hero colors balanced. */
.header-cta {
  align-self: flex-start;
  margin-top: 14px;
  transform: translateY(-7px);
  border-radius: 10px;
  border-color: rgba(78, 43, 24, 0.92);
  background: linear-gradient(180deg, #7a4528 0%, #563019 100%);
  color: #fff6e7;
  box-shadow:
    0 12px 24px rgba(65, 38, 21, 0.18),
    inset 0 1px 0 rgba(255, 244, 220, 0.26);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: linear-gradient(180deg, #875033 0%, #62381f 100%);
  transform: translateY(-9px);
}

.hero-copy .actions {
  gap: 12px;
  align-items: center;
}

.hero-copy .actions .btn {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  border-width: 1px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  box-shadow:
    0 14px 28px rgba(47, 29, 16, 0.13),
    inset 0 1px 0 rgba(255, 249, 236, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-copy .actions .btn:hover,
.hero-copy .actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(47, 29, 16, 0.18),
    inset 0 1px 0 rgba(255, 249, 236, 0.32);
}

.hero-copy .actions .btn[href="#kurse"] {
  border-color: #0d3a2e;
  background: linear-gradient(180deg, #164538 0%, #0d3228 100%);
  color: #fff8ec;
}

.hero-copy .actions .btn[href="#museum"],
.hero-copy .actions .btn[href="#mitglied"] {
  border-color: #57331f;
  background: linear-gradient(180deg, #704127 0%, #57331f 100%);
  color: #fff7e8;
}

.hero-copy .actions .btn[href="#museum"] {
  background: linear-gradient(180deg, #7a4729 0%, #5d3620 100%);
}

@media (max-width: 980px) {
  .header-cta {
    margin-top: 8px;
    transform: translateY(-3px);
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    transform: translateY(-5px);
  }
}

@media (max-width: 760px) {
  .hero-copy .actions .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* 2026-06-06 parchment member CTA and chevrons. */
.header-cta {
  border-color: rgba(116, 89, 55, 0.42);
  background-color: #fff8ed;
  background-image:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96) 0%, rgba(244, 230, 205, 0.92) 100%),
    url("/assets/img/header-pergament-supplied.webp");
  background-position: center, center;
  background-size: auto, 210px auto;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, color-burn;
  color: #2a2119;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  box-shadow:
    0 14px 28px rgba(66, 42, 21, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(132, 91, 45, 0.12);
}

.header-cta svg {
  display: none;
}

.header-cta::after,
.hero-copy .actions .btn::after {
  content: ">";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  margin-left: 18px;
  font-family: var(--sans);
  font-size: 1.62em;
  font-weight: 300;
  line-height: 0.72;
  opacity: 0.88;
  transform: translateY(-1px);
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(116, 89, 55, 0.56);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 250, 0.98) 0%, rgba(248, 235, 211, 0.95) 100%),
    url("/assets/img/header-pergament-supplied.webp");
  color: #201811;
}

.hero-copy .actions .btn {
  padding-right: 22px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.hero-copy .actions .btn[href="#mitglied"] {
  border-color: rgba(113, 89, 58, 0.46);
  background-color: #fff8ee;
  background-image:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(244, 229, 203, 0.94) 100%),
    url("/assets/img/header-pergament-supplied.webp");
  background-position: center, center;
  background-size: auto, 220px auto;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, color-burn;
  color: #2b2119;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-copy .actions .btn[href="#mitglied"]:hover,
.hero-copy .actions .btn[href="#mitglied"]:focus-visible {
  border-color: rgba(113, 89, 58, 0.62);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 250, 0.99) 0%, rgba(247, 234, 211, 0.96) 100%),
    url("/assets/img/header-pergament-supplied.webp");
  color: #201811;
}

@media (max-width: 760px) {
  .hero-copy .actions .btn {
    justify-content: space-between;
    max-width: 286px;
  }
}

/* 2026-06-06 button row and badge typography refinement. */
.header-cta {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.075em;
  text-transform: none;
}

@media (min-width: 981px) {
  .hero-copy .actions {
    flex-wrap: nowrap;
    width: max-content;
    max-width: calc(100vw - 48px);
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .hero-copy .actions .btn {
    min-height: 50px;
    padding-left: 22px;
    padding-right: 18px;
    font-size: 1.1rem;
  }
}


/* 2026-06-06: requested CTA color and hero image focus refinement. */
.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border-color: #374121;
  background: #374121;
  color: #fff7e8;
  text-shadow: none;
  transform: translateY(7px);
}

.header-cta::after {
  content: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: #374121;
  background: #374121;
  color: #fff7e8;
  transform: translateY(5px);
}

.hero-copy .actions .btn-primary[href="#kurse"] {
  border-color: #374121;
  background: #374121;
  color: #fff7e8;
}

.hero-media--still img,
.hero-media img:not(.hero-slide) {
  object-position: 55% 47%;
}

@media (max-width: 1180px) {
  .hero-media--still img,
  .hero-media img:not(.hero-slide) {
    object-position: 50% 50%;
  }
}


/* 2026-06-06: standalone calling section below current/events. */
#aktivitaeten .highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.calling-section {
  padding: clamp(54px, 7vw, 104px) 0;
  background: linear-gradient(180deg, rgba(246, 239, 226, 0.5), rgba(255, 249, 239, 0.9));
}

.calling-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(290px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 430px;
  padding: clamp(32px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(116, 89, 55, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.97) 0%, rgba(255, 249, 239, 0.89) 43%, rgba(255, 249, 239, 0.58) 100%),
    url("/assets/img/berufung-pergament-bg.webp") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(31, 25, 17, 0.10);
}

.calling-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 42%, rgba(199, 154, 59, 0.18), transparent 44%);
}

.calling-copy,
.calling-media {
  position: relative;
  z-index: 1;
}

.calling-kicker {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 20px);
  margin-bottom: 18px;
  color: #374121;
}

.calling-kicker .eyebrow {
  margin: 0;
  color: #374121;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  letter-spacing: 0.14em;
}

.calling-star {
  flex: 0 0 auto;
  width: clamp(42px, 4.8vw, 70px);
  aspect-ratio: 1;
  background: #374121;
  -webkit-mask: url("/assets/img/hero-star.svg") center / contain no-repeat;
  mask: url("/assets/img/hero-star.svg") center / contain no-repeat;
}

.calling-copy h2 {
  max-width: 10.5em;
  margin: 0 0 22px;
  color: #374121;
  font-size: clamp(2.45rem, 5.8vw, 5.9rem);
  line-height: 0.9;
}

.calling-copy p:not(.eyebrow) {
  max-width: 58ch;
  color: #4d402f;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

.calling-copy p + p {
  margin-top: 14px;
}

.calling-media {
  justify-self: end;
  align-self: end;
  width: min(100%, 430px);
  margin: 0;
}

.calling-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(48, 35, 20, 0.22));
}

@media (max-width: 980px) {
  #aktivitaeten .highlight-grid {
    grid-template-columns: 1fr;
  }

  .calling-panel {
    grid-template-columns: 1fr;
    padding: clamp(28px, 7vw, 48px);
  }

  .calling-copy h2 {
    max-width: 9.5em;
    font-size: clamp(2.3rem, 12vw, 4.3rem);
  }

  .calling-media {
    justify-self: center;
    width: min(78vw, 390px);
    margin-top: -8px;
  }
}

@media (max-width: 620px) {
  .calling-section {
    padding: 42px 0 70px;
  }

  .calling-panel {
    border-radius: 6px;
  }

  .calling-kicker {
    gap: 12px;
  }

  .calling-star {
    width: 40px;
  }

  .calling-copy p:not(.eyebrow) {
    font-size: 1rem;
  }
}


/* 2026-06-06: Berufung follow-up - original star, wider frame, fuller crib image. */
.calling-section .calling-panel {
  width: min(1680px, calc(100vw - clamp(24px, 3.8vw, 72px)));
  max-width: none;
}

.calling-star {
  display: block;
  width: clamp(46px, 4.8vw, 72px);
  height: auto;
  aspect-ratio: 1;
  background: none;
  -webkit-mask: none;
  mask: none;
}

.calling-media {
  width: min(100%, 520px);
}

.calling-media img {
  border-radius: 4px;
}

@media (max-width: 980px) {
  .calling-section .calling-panel {
    width: calc(100vw - 28px);
  }

  .calling-media {
    width: min(88vw, 480px);
  }
}

@media (max-width: 620px) {
  .calling-section .calling-panel {
    width: calc(100vw - 28px);
  }

  .calling-star {
    width: 42px;
  }
}


/* 2026-06-06: Berufung mobile readability polish. */
.calling-copy {
  min-width: 0;
}

.calling-copy p:not(.eyebrow) {
  overflow-wrap: normal;
}

@media (max-width: 620px) {
  .calling-panel {
    padding-left: 28px;
    padding-right: 28px;
  }

  .calling-copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.85rem);
  }

  .calling-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
  }
}

/* 2026-06-06: Startseite Termine, Berufung und Kursbereich final. */
#aktivitaeten .highlight-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

#aktivitaeten .highlight-grid.has-events {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#aktivitaeten .image-card--book {
  width: 100%;
}

.section-head--courses {
  display: grid;
  place-items: center;
  margin-bottom: clamp(26px, 4vw, 44px);
  padding-bottom: 0;
  border-bottom: 0;
  text-align: center;
}

.section-head--courses h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  max-width: min(100%, 920px);
  color: #374121;
  font-size: clamp(2.15rem, 4.1vw, 4.6rem);
  line-height: 0.96;
}

.section-head--courses h2::before,
.section-head--courses h2::after {
  content: "";
  display: block;
  width: clamp(44px, 8vw, 112px);
  height: 14px;
  flex: 0 1 auto;
  opacity: 0.72;
  background:
    linear-gradient(#b08a3a, #b08a3a) center / 100% 1px no-repeat,
    radial-gradient(circle, #b08a3a 0 3px, transparent 3.5px) center / 14px 14px no-repeat;
}

#kurse .course-grid {
  align-items: stretch;
}

#kurse .course-card {
  min-height: clamp(318px, 26vw, 388px);
}

#kurse .course-card p {
  display: none;
}

#kurse .course-card .text-link {
  padding-top: 18px;
}

#kurse .course-card--all-courses {
  border-color: rgba(242, 222, 154, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 50% 45%, rgba(240, 205, 104, 0.14), transparent 34%),
    #374121;
  box-shadow: 0 18px 44px rgba(31, 25, 17, 0.16), inset 0 0 0 1px rgba(255, 248, 218, 0.18);
}

#kurse .course-card--all-courses:hover {
  border-color: rgba(242, 222, 154, 0.72);
  box-shadow: 0 22px 52px rgba(31, 25, 17, 0.2), inset 0 0 0 1px rgba(255, 248, 218, 0.28);
}

.course-all-link {
  display: grid;
  min-height: 100%;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding: clamp(24px, 2.4vw, 34px) clamp(18px, 2vw, 28px);
  color: #fff7e8;
  text-align: center;
}

.course-all-link > span:first-child {
  align-self: end;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.course-all-ornament {
  position: relative;
  width: min(116px, 62%);
  height: 38px;
  margin: 18px 0;
}

.course-all-ornament::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 166, 69, 0.76) 24%, transparent 24% 76%, rgba(207, 166, 69, 0.76) 76%, transparent);
}

.course-all-ornament::after {
  content: "✶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f0d27a;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(240, 210, 122, 0.28);
}

.course-all-link strong {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff7e8;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.25vw, 1.34rem);
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 1180px) {
  #aktivitaeten .highlight-grid.has-events {
    grid-template-columns: 1fr !important;
  }

  #kurse .course-card {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .section-head--courses h2 {
    display: grid;
    grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
    gap: 12px;
    width: 100%;
  }

  .section-head--courses h2::before,
  .section-head--courses h2::after {
    width: 100%;
  }
}

@media (max-width: 620px) {
  #kurse .course-card {
    min-height: auto;
  }

  .course-all-link {
    min-height: 260px;
  }
}

/* 2026-06-06: Aktuell-Bereich ohne Veranstaltungen ruhiger ausbalancieren. */
#aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
  max-width: min(1180px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(250px, 0.72fr) minmax(360px, 1fr);
  grid-template-areas:
    "head visual"
    "copy visual";
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
}

#aktivitaeten .highlight-grid:not(.has-events) .book-feature-head {
  grid-area: head;
  align-self: end;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-feature-copy {
  grid-area: copy;
  align-self: start;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-visual {
  grid-area: visual;
  justify-self: stretch;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 10;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-visual img {
  object-position: 54% 50%;
}

@media (max-width: 900px) {
  #aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "visual"
      "copy";
  }

  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  #aktivitaeten .highlight-grid:not(.has-events) .image-card--book h3 {
    font-size: clamp(1.95rem, 8.2vw, 2.35rem);
    line-height: 1.02;
  }

  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    justify-self: center;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 5 / 4;
  }
}

/* 2026-06-06: Aktuell ohne Veranstaltungen als breiter Inhaltsbalken. */
#aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
  max-width: 100%;
  min-height: clamp(300px, 25vw, 390px);
  margin-inline: 0;
  padding: clamp(24px, 2.6vw, 38px) clamp(26px, 4vw, 56px);
  grid-template-columns: minmax(260px, 0.48fr) minmax(420px, 1fr);
  grid-template-areas: "head visual" "copy visual";
  align-items: center;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 14px;
}

#aktivitaeten .highlight-grid:not(.has-events) .image-card--book h3 {
  max-width: 9.5em;
  font-size: clamp(2rem, 2.45vw, 3rem);
}

#aktivitaeten .highlight-grid:not(.has-events) .image-card--book p {
  max-width: 36ch;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-visual {
  width: 100%;
  max-width: none;
  height: clamp(230px, 22vw, 330px);
  aspect-ratio: auto;
  justify-self: stretch;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-visual img {
  object-position: 54% 50%;
}

@media (max-width: 900px) {
  #aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "head" "visual" "copy";
    row-gap: 22px;
  }

  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  #aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
    padding: 24px;
  }

  #aktivitaeten .highlight-grid:not(.has-events) .image-card--book h3 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8vw, 2.3rem);
    line-height: 1.03;
  }

  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    width: 100%;
    max-width: none;
    aspect-ratio: 5 / 4;
  }
}

/* 2026-06-06: Aktuell-Balken Nachzug - echte horizontale Balkenform. */
#aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(420px, 1fr);
  grid-template-areas:
    "head visual"
    "copy visual";
  min-height: 0;
  padding-block: clamp(22px, 2.2vw, 34px);
}

#aktivitaeten .highlight-grid:not(.has-events) .book-feature-head {
  grid-area: head !important;
  align-self: end;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-feature-copy {
  grid-area: copy !important;
  align-self: start;
}

#aktivitaeten .highlight-grid:not(.has-events) .book-visual {
  grid-area: visual !important;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  height: clamp(220px, 18vw, 280px);
  max-width: none;
  aspect-ratio: auto;
}

@media (max-width: 900px) {
  #aktivitaeten .highlight-grid:not(.has-events) .image-card--book {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "visual"
      "copy";
  }

  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* 2026-06-06: Aktuell-Balken Bildtitel lesbarer und Bestelllink als Pfeil. */
#aktivitaeten .highlight-grid:not(.has-events) .book-visual {
  height: clamp(265px, 21vw, 335px);
}

#aktivitaeten .book-link {
  color: var(--terracotta);
}

#aktivitaeten .book-link::after {
  content: ">";
  width: auto;
  height: auto;
  background: none;
  font-size: 1.05em;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    aspect-ratio: 5 / 4;
  }
}

/* 2026-06-06: Aktuell-Balken noch etwas hoeher fuer lesbareren Buchtitel. */
#aktivitaeten .highlight-grid:not(.has-events) .book-visual {
  height: clamp(300px, 23vw, 370px);
}

@media (max-width: 900px) {
  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  #aktivitaeten .highlight-grid:not(.has-events) .book-visual {
    min-height: 285px;
  }
}

/* 2026-06-06: Museum/Kulturerbe Startseite - 2/3 zu 1/3 und Kulturerbe mit Bildhintergrund. */
#museum .museum-grid {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

#museum .heritage-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-color: rgba(198, 145, 48, 0.62);
  background:
    linear-gradient(180deg, rgba(18, 35, 23, 0.12) 0%, rgba(18, 35, 23, 0.64) 48%, rgba(18, 35, 23, 0.9) 100%),
    url("/assets/img/wenner-krippentradition-unesco-krippentradition.webp") center / cover no-repeat;
  color: #fff8e8;
  box-shadow: 0 20px 52px rgba(31, 25, 17, 0.14), inset 0 0 0 1px rgba(244, 210, 130, 0.16);
}

#museum .heritage-card .eyebrow,
#museum .heritage-card h3,
#museum .heritage-card p {
  color: #fff8e8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

#museum .heritage-card h3 {
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 0.98;
}

#museum .heritage-card p {
  color: rgba(255, 248, 232, 0.9);
}

#museum .heritage-btn {
  align-self: flex-start;
  margin-top: 24px;
  border: 1px solid rgba(234, 184, 78, 0.92);
  background: rgba(255, 248, 232, 0.12);
  color: #fff8e8;
  box-shadow: inset 0 0 0 1px rgba(255, 238, 172, 0.22), 0 14px 32px rgba(0, 0, 0, 0.18);
}

#museum .heritage-btn:hover,
#museum .heritage-btn:focus-visible {
  border-color: #f1c66b;
  background: rgba(241, 198, 107, 0.18);
  color: #fffdf4;
}

@media (max-width: 980px) {
  #museum .museum-grid {
    grid-template-columns: 1fr;
  }

  #museum .heritage-card {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  #museum .heritage-card {
    min-height: 360px;
  }
}

/* 2026-06-06: Kulturerbe und Mitgliedschaft als eigener Startseitenbereich. */
#museum .shop-card--museum {
  min-height: 520px;
  align-content: end;
}

#museum .shop-card--museum .shop-card__media-link {
  min-height: 220px;
}

.heritage-member-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.88), rgba(239, 230, 216, 0.68)),
    var(--cream);
}

.heritage-member-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.heritage-member-section .heritage-card--wide {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-color: rgba(198, 145, 48, 0.62);
  background:
    linear-gradient(180deg, rgba(18, 35, 23, 0.12) 0%, rgba(18, 35, 23, 0.58) 48%, rgba(18, 35, 23, 0.9) 100%),
    url("/assets/img/wenner-krippentradition-unesco-krippentradition.webp") center / cover no-repeat;
  color: #fff8e8;
  box-shadow: 0 20px 52px rgba(31, 25, 17, 0.14), inset 0 0 0 1px rgba(244, 210, 130, 0.16);
}

.heritage-member-section .heritage-card--wide .eyebrow,
.heritage-member-section .heritage-card--wide h3,
.heritage-member-section .heritage-card--wide p {
  color: #fff8e8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.heritage-member-section .heritage-card--wide h3 {
  max-width: 12em;
  font-size: clamp(2.25rem, 4vw, 4.7rem);
  line-height: 0.96;
}

.heritage-member-section .heritage-card--wide p {
  max-width: 60ch;
  color: rgba(255, 248, 232, 0.9);
}

.heritage-member-section .heritage-btn {
  align-self: flex-start;
  margin-top: 24px;
  border: 1px solid rgba(234, 184, 78, 0.92);
  background: rgba(255, 248, 232, 0.12);
  color: #fff8e8;
  box-shadow: inset 0 0 0 1px rgba(255, 238, 172, 0.22), 0 14px 32px rgba(0, 0, 0, 0.18);
}

.member-card--heritage {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(28px, 3vw, 44px);
  border-color: rgba(55, 65, 33, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.14) 0%, rgba(32, 39, 22, 0.62) 52%, rgba(32, 39, 22, 0.92) 100%),
    url("/assets/img/mitglied-hintergrund-openclaw.webp") center / cover no-repeat;
  color: #fff8e8;
}

.member-card--heritage .eyebrow,
.member-card--heritage h3,
.member-card--heritage p,
.member-card--heritage li {
  color: #fff8e8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.member-card--heritage h3 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.98;
}

.member-card--heritage ul {
  margin-bottom: 24px;
}

.member-card--heritage .btn {
  border-color: rgba(255, 248, 232, 0.32);
  background: #374121;
}

@media (max-width: 980px) {
  .heritage-member-grid {
    grid-template-columns: 1fr;
  }

  #museum .shop-card--museum,
  .heritage-member-section .heritage-card--wide,
  .member-card--heritage {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  #museum .shop-card--museum,
  .heritage-member-section .heritage-card--wide,
  .member-card--heritage {
    min-height: 360px;
  }
}

/* 2026-06-06: OpenClaw-Hintergrundbild gehoert zum Kulturerbe, nicht zur Mitgliedschaft. */
.heritage-member-section .heritage-card--wide {
  background:
    linear-gradient(180deg, rgba(18, 35, 23, 0.08) 0%, rgba(18, 35, 23, 0.54) 48%, rgba(18, 35, 23, 0.9) 100%),
    url("/assets/img/mitglied-hintergrund-openclaw.webp") center / cover no-repeat;
}

.member-card--heritage {
  background:
    linear-gradient(160deg, rgba(255, 249, 239, 0.96) 0%, rgba(239, 230, 216, 0.86) 48%, rgba(209, 190, 160, 0.72) 100%),
    var(--cream);
  color: #374121;
}

.member-card--heritage .eyebrow,
.member-card--heritage h3,
.member-card--heritage p,
.member-card--heritage li {
  color: #374121;
  text-shadow: none;
}

.member-card--heritage p,
.member-card--heritage li {
  color: var(--muted);
}

/* 2026-06-06: Museum Stamserhaus Bildfokus - rechten Bildteil voll zeigen. */
.museum-panel--story > img {
  object-position: right center;
}

/* 2026-06-06: Review-Feinschliff fuer Museum, Angebote, Kulturerbe und Mitgliedschaft. */
#museum .museum-info h2 {
  max-width: 10.5em;
  font-size: clamp(2.35rem, 3.3vw, 4.15rem);
  line-height: 0.96;
}

#museum .museum-info p:not(.eyebrow) {
  max-width: 34ch;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.48;
}

#museum .shop-card--museum {
  min-height: clamp(430px, 35vw, 520px);
  padding: clamp(24px, 2.6vw, 36px);
}

#museum .shop-card--museum h3 {
  font-size: clamp(1.65rem, 2.05vw, 2.35rem);
  line-height: 1.02;
}

#museum .shop-card--museum .shop-card__media-link {
  min-height: clamp(160px, 15vw, 210px);
}

.heritage-member-section .heritage-card--wide {
  min-height: clamp(450px, 34vw, 520px);
}

.member-card--heritage {
  min-height: clamp(450px, 34vw, 520px);
  border-color: rgba(198, 145, 48, 0.34);
  box-shadow: 0 18px 46px rgba(31, 25, 17, 0.1), inset 0 0 0 1px rgba(255, 248, 232, 0.52);
}

.member-card--heritage::before {
  content: "";
  position: absolute;
  left: clamp(28px, 3vw, 44px);
  right: clamp(28px, 3vw, 44px);
  top: clamp(26px, 3vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 145, 48, 0.66), transparent);
}

.member-card--heritage > div {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  #museum .shop-card--museum {
    min-height: 520px;
  }

  .heritage-member-section .heritage-card--wide,
  .member-card--heritage {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  #museum .museum-info h2 {
    font-size: clamp(2.05rem, 9vw, 2.65rem);
    line-height: 1;
  }

  #museum .shop-card--museum {
    min-height: 520px;
  }

  #museum .shop-card--museum .shop-card__media-link {
    min-height: 170px;
  }

  .heritage-member-section .heritage-card--wide h3 {
    font-size: clamp(2rem, 8.6vw, 2.65rem);
    line-height: 1;
  }

  .heritage-member-section .heritage-card--wide,
  .member-card--heritage {
    min-height: 350px;
  }
}

/* 2026-06-06: Angebotskarte neben Museum kompakter und textfreundlicher. */
#museum .shop-card--museum {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: clamp(18px, 2vw, 26px);
  min-height: clamp(390px, 31vw, 470px);
}

#museum .shop-card--museum > div {
  max-width: 100%;
}

#museum .shop-card--museum h3 {
  max-width: 11em;
}

#museum .shop-card--museum p:not(.eyebrow) {
  max-width: 32ch;
}

#museum .shop-card--museum .shop-card__media-link {
  align-self: end;
  min-height: 0;
  height: clamp(150px, 13vw, 190px);
}

#museum .shop-card--museum .shop-card__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  #museum .shop-card--museum {
    min-height: 0;
  }

  #museum .shop-card--museum .shop-card__media-link {
    height: clamp(210px, 34vw, 280px);
  }
}

@media (max-width: 620px) {
  #museum .shop-card--museum .shop-card__media-link {
    height: 210px;
  }
}

/* 2026-06-06: Angebote-Absatz darf die volle Kartenbreite nutzen. */
#museum .shop-card--museum p:not(.eyebrow) {
  max-width: none;
}

/* 2026-06-06: Galerie-Button in normaler Schreibweise mit Pfeil. */
.gallery-more-btn {
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
}

/* 2026-06-06: Footer mit OpenClaw-Bildhintergrund. */
.site-footer {
  background: #202716;
}

.footer-top {
  isolation: isolate;
  padding: clamp(70px, 7vw, 112px) 0;
  background:
    linear-gradient(90deg, rgba(20, 27, 15, 0.94) 0%, rgba(32, 39, 22, 0.84) 44%, rgba(32, 39, 22, 0.62) 100%),
    url("/assets/img/footer-openclaw.webp") center / cover no-repeat;
  color: #fff8e8;
}

.footer-top::before {
  display: none;
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.15fr) minmax(260px, 1fr) minmax(240px, 0.9fr);
  gap: clamp(28px, 4vw, 62px);
}

.footer-grid h3,
.footer-grid p,
.footer-grid a,
.footer-brand p {
  color: #fff8e8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.footer-grid h3 {
  color: #f2d487;
}

.footer-grid .text-link {
  color: #f2d487;
}

.footer-logo {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}

@media (max-width: 760px) {
  .footer-top {
    padding: 58px 0;
    background:
      linear-gradient(180deg, rgba(20, 27, 15, 0.95), rgba(32, 39, 22, 0.86)),
      url("/assets/img/footer-openclaw.webp") center / cover no-repeat;
  }
}

/* 2026-06-06: Footer-Bild responsive sauber einspaltig halten. */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 2026-06-07: Footer Logo weiss, typografisch ruhiger und mobil stabil. */
.footer-top {
  padding: clamp(76px, 7vw, 118px) 0 clamp(58px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(27, 23, 20, 0.96) 0%, rgba(46, 39, 33, 0.9) 48%, rgba(46, 39, 33, 0.76) 100%),
    url("/assets/img/footer-openclaw.webp") center / cover no-repeat;
}

.footer-grid {
  align-items: start;
  grid-template-columns: minmax(250px, 1.05fr) minmax(280px, 1fr) minmax(240px, 0.9fr);
  gap: clamp(34px, 5vw, 72px);
}

.footer-brand {
  max-width: 330px;
}

.footer-logo {
  width: min(250px, 72vw);
  height: auto;
  margin: 0 0 24px;
  filter: brightness(0) invert(1) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.34));
  opacity: 0.96;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.footer-grid p,
.footer-brand p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-grid a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: #f2d487;
}

.footer-address-block {
  margin-top: 26px;
}

.footer-address-block--room {
  margin-top: 24px;
}

.footer-museum {
  max-width: 300px;
}

.footer-museum .text-link {
  color: #f2d487;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 26px;
}

.footer-legal a {
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  display: none;
}

@media (max-width: 900px) {
  .footer-top {
    padding: 54px 0 46px;
    background:
      linear-gradient(180deg, rgba(27, 23, 20, 0.96), rgba(46, 39, 33, 0.9)),
      url("/assets/img/footer-openclaw.webp") center / cover no-repeat;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand,
  .footer-museum {
    max-width: none;
  }

  .footer-logo {
    width: min(220px, 68vw);
    margin-bottom: 20px;
  }

  .footer-address-block {
    margin-top: 22px;
  }

  .footer-legal {
    margin-top: 22px;
  }
}

/* 2026-06-07: Footer Museumstitel kleiner und Kontaktabstaende feiner. */
.footer-contact > p,
.footer-museum > p {
  margin: 0 0 18px;
}

.footer-contact .footer-address-block {
  margin-top: 30px;
  padding-top: 24px;
}

.footer-museum h3 {
  max-width: 260px;
  font-size: clamp(1.05rem, 0.75vw + 0.95rem, 1.28rem);
  line-height: 1.18;
}

.footer-museum > p + p {
  margin-top: 28px;
}

.footer-museum .text-link {
  display: inline-block;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .footer-contact .footer-address-block {
    margin-top: 24px;
    padding-top: 20px;
  }

  .footer-museum h3 {
    max-width: 230px;
    font-size: 1.15rem;
  }
}

/* 2026-06-07: Hero-Bildmotiv weiter nach rechts fuehren. */
.hero {
  background-position: 0 0, 35% 50%;
}

@media (max-width: 1180px) {
  .hero {
    background-position: 0 0, 38% 50%;
  }
}

@media (max-width: 760px) {
  .hero {
    background-position: 0 0, 43% 50%;
  }

  .footer-museum > p + p {
    margin-top: 24px;
  }

  .footer-museum .text-link {
    margin-top: 10px;
  }
}

/* 2026-06-07: Vereinslinks im Berufungsbereich. */
.calling-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.calling-links a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(55, 65, 33, 0.32);
  border-radius: 3px;
  background: rgba(255, 249, 239, 0.72);
  color: #374121;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.calling-links a:hover,
.calling-links a:focus {
  border-color: #374121;
  background: #374121;
  color: #fff7e8;
}

@media (max-width: 620px) {
  .calling-section .calling-panel {
    box-sizing: border-box;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px);
    overflow-x: hidden;
  }

  .calling-copy {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-right: 18px;
  }

  .calling-copy p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .calling-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .calling-links a {
    justify-content: center;
    width: 100%;
  }
}

/* 2026-06-07: Kurslinks mit Pfeil statt Linie. */
#kurse .course-card .text-link::after {
  content: "->";
  width: auto;
  height: auto;
  margin-left: 8px;
  background: none;
  font-weight: 900;
  line-height: 1;
}

/* 2026-06-07: Berufung als Kastenkrippen-Holzrahmen. */
.calling-section {
  background:
    linear-gradient(180deg, rgba(246, 239, 226, 0.45), rgba(255, 249, 239, 0.9));
}

.calling-section .calling-panel {
  isolation: isolate;
  padding: clamp(34px, 4.6vw, 76px);
  border: 1px solid rgba(63, 43, 28, 0.52);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(20, 15, 12, 0.36), rgba(20, 15, 12, 0.08) 46%, rgba(20, 15, 12, 0.42)),
    url("/assets/img/footer-openclaw.webp") center / cover no-repeat;
  box-shadow:
    0 30px 70px rgba(31, 25, 17, 0.18),
    inset 0 0 0 1px rgba(255, 239, 188, 0.18),
    inset 0 0 42px rgba(0, 0, 0, 0.28);
}

.calling-section .calling-panel::before {
  content: "";
  position: absolute;
  inset: clamp(16px, 2vw, 28px);
  z-index: 0;
  border: 1px solid rgba(171, 137, 82, 0.36);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.97) 0%, rgba(255, 249, 239, 0.9) 48%, rgba(255, 249, 239, 0.64) 100%),
    url("/assets/img/berufung-pergament-bg.webp") center / cover no-repeat;
  box-shadow:
    inset 0 0 28px rgba(95, 63, 31, 0.10),
    0 0 0 8px rgba(28, 20, 15, 0.18);
}

.calling-section .calling-panel::after {
  z-index: 1;
  inset: clamp(16px, 2vw, 28px);
  border-radius: 6px;
  background:
    radial-gradient(circle at 78% 48%, rgba(199, 154, 59, 0.20), transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(92, 58, 28, 0.05) 100%);
}

.calling-copy,
.calling-media {
  z-index: 2;
}

.calling-media {
  padding: clamp(10px, 1.4vw, 18px);
  border-radius: 6px;
  background: rgba(255, 247, 230, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(121, 88, 48, 0.16),
    0 18px 42px rgba(42, 30, 17, 0.13);
}

.calling-media img {
  filter: drop-shadow(0 20px 28px rgba(48, 35, 20, 0.24));
}

@media (max-width: 980px) {
  .calling-section .calling-panel {
    padding: clamp(28px, 7vw, 46px);
  }

  .calling-media {
    padding: 12px;
  }
}

@media (max-width: 620px) {
  .calling-section .calling-panel {
    width: calc(100vw - 44px) !important;
    max-width: calc(100vw - 44px);
    padding: 30px 28px 32px;
    border-radius: 8px;
  }

  .calling-section .calling-panel::before,
  .calling-section .calling-panel::after {
    inset: 12px;
    border-radius: 5px;
  }

  .calling-copy {
    padding-right: 26px;
  }

  .calling-copy h2,
  .calling-copy p:not(.eyebrow),
  .calling-links {
    max-width: calc(100% - 10px);
  }

  .calling-links a {
    background: rgba(255, 249, 239, 0.82);
  }

  .calling-media {
    margin-top: 18px;
    padding: 8px;
    background: rgba(255, 247, 230, 0.26);
  }
}

@media (max-width: 620px) {
  .calling-links a {
    width: calc(100% - 12px);
  }
}

/* 2026-06-07: Berufungs-Holzrahmen bis zum Bildschirmrand. */
.calling-section .calling-panel {
  width: 100vw !important;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

@media (min-width: 981px) {
  .calling-section .calling-panel {
    padding-right: max(clamp(34px, 4.6vw, 76px), calc((100vw - 1520px) / 2 + 76px));
    padding-left: max(clamp(34px, 4.6vw, 76px), calc((100vw - 1520px) / 2 + 76px));
  }
}

@media (max-width: 620px) {
  .calling-section .calling-panel {
    width: 100vw !important;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 22px 32px;
    border-radius: 0;
  }

  .calling-section .calling-panel::before,
  .calling-section .calling-panel::after {
    inset: 12px 18px;
  }

  .calling-copy {
    padding-right: 20px;
  }
}


/* 2026-06-07: Berufungs-Holzrahmen kraeftiger. */
.calling-section .calling-panel {
  padding-top: clamp(54px, 6.2vw, 108px);
  padding-bottom: clamp(54px, 6.2vw, 108px);
}

.calling-section .calling-panel::before,
.calling-section .calling-panel::after {
  inset: clamp(30px, 3.6vw, 56px);
}

@media (min-width: 981px) {
  .calling-section .calling-panel {
    padding-right: max(clamp(58px, 6.4vw, 112px), calc((100vw - 1520px) / 2 + 112px));
    padding-left: max(clamp(58px, 6.4vw, 112px), calc((100vw - 1520px) / 2 + 112px));
  }
}

@media (max-width: 620px) {
  .calling-section .calling-panel {
    padding: 46px 30px 48px;
  }

  .calling-section .calling-panel::before,
  .calling-section .calling-panel::after {
    inset: 20px 24px;
  }

  .calling-copy {
    padding-right: 18px;
  }
}


/* 2026-06-07: Test - breiterer Berufungsrahmen mit transparenter Contentflaeche. */
.calling-section .calling-panel {
  padding-top: clamp(68px, 7.4vw, 132px);
  padding-bottom: clamp(68px, 7.4vw, 132px);
}

.calling-section .calling-panel::before {
  inset: clamp(44px, 4.8vw, 78px);
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.86) 0%, rgba(255, 249, 239, 0.76) 48%, rgba(255, 249, 239, 0.50) 100%),
    url("/assets/img/berufung-pergament-bg.webp") center / cover no-repeat;
}

.calling-section .calling-panel::after {
  inset: clamp(44px, 4.8vw, 78px);
}

@media (min-width: 981px) {
  .calling-section .calling-panel {
    padding-right: max(clamp(72px, 7.6vw, 136px), calc((100vw - 1520px) / 2 + 136px));
    padding-left: max(clamp(72px, 7.6vw, 136px), calc((100vw - 1520px) / 2 + 136px));
  }
}

@media (max-width: 620px) {
  .calling-section .calling-panel {
    padding: 58px 36px 60px;
  }

  .calling-section .calling-panel::before,
  .calling-section .calling-panel::after {
    inset: 28px 30px;
  }

  .calling-copy {
    padding-right: 14px;
  }
}


/* 2026-06-07: Berufungsbild freigestellt statt Bildkarte. */
.calling-section .calling-media {
  justify-self: end;
  align-self: center;
  width: min(44vw, 590px);
  max-width: 100%;
  margin: clamp(6px, 1vw, 14px) 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.calling-section .calling-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 30px rgba(47, 31, 16, 0.30));
}

@media (min-width: 981px) {
  .calling-section .calling-panel {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
    gap: clamp(34px, 5.2vw, 90px);
  }
}

@media (max-width: 980px) {
  .calling-section .calling-media {
    justify-self: center;
    width: min(74vw, 460px);
    margin-top: 20px;
  }
}

@media (max-width: 620px) {
  .calling-section .calling-media {
    width: min(80vw, 330px);
    margin-top: 18px;
  }
}


/* 2026-06-07: Berufungsbild weicher ins Pergament integrieren. */
.calling-section .calling-media img {
  mix-blend-mode: multiply;
  opacity: 0.96;
  filter: none;
}


/* 2026-06-07: Verein-Bereich Padding straffen. */
#verein.calling-section {
  padding: clamp(34px, 4.2vw, 62px) 0;
}

#verein.calling-section .calling-panel {
  padding-top: clamp(52px, 5.4vw, 92px);
  padding-bottom: clamp(52px, 5.4vw, 92px);
}

#verein.calling-section .calling-panel::before,
#verein.calling-section .calling-panel::after {
  inset: clamp(34px, 4vw, 60px);
}

@media (min-width: 981px) {
  #verein.calling-section .calling-panel {
    padding-right: max(clamp(62px, 6.8vw, 118px), calc((100vw - 1520px) / 2 + 118px));
    padding-left: max(clamp(62px, 6.8vw, 118px), calc((100vw - 1520px) / 2 + 118px));
  }
}

@media (max-width: 620px) {
  #verein.calling-section {
    padding: 30px 0 42px;
  }

  #verein.calling-section .calling-panel {
    padding: 44px 30px 46px;
  }

  #verein.calling-section .calling-panel::before,
  #verein.calling-section .calling-panel::after {
    inset: 22px 26px;
  }
}


/* 2026-06-07: Verein ohne aeusseres Padding oben und unten. */
#verein.calling-section {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 620px) {
  #verein.calling-section {
    padding-top: 0;
    padding-bottom: 0;
  }
}


/* 2026-06-07: Museum und Angebote auf ruhiger Holz-Museumsbuehne. */
#museum.highlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(62px, 7vw, 118px);
  background:
    radial-gradient(circle at 38% 48%, rgba(255, 249, 239, 0.90) 0%, rgba(255, 249, 239, 0.70) 34%, rgba(52, 34, 22, 0.36) 72%, rgba(18, 14, 11, 0.56) 100%),
    linear-gradient(90deg, rgba(255, 249, 239, 0.66), rgba(255, 249, 239, 0.36) 48%, rgba(31, 22, 16, 0.22)),
    url("/assets/img/footer-openclaw.webp") center / cover no-repeat;
}

#museum.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.38) 0%, transparent 18%, transparent 78%, rgba(255, 249, 239, 0.38) 100%),
    radial-gradient(circle at 78% 30%, rgba(241, 198, 107, 0.16), transparent 34%);
}

#museum.highlight > .wrap {
  position: relative;
  z-index: 1;
}

#museum .museum-panel--story {
  box-shadow: 0 28px 70px rgba(23, 17, 12, 0.22);
}

#museum .shop-card--museum {
  border-color: rgba(198, 145, 48, 0.34);
  background: rgba(255, 249, 239, 0.92);
  box-shadow: 0 24px 62px rgba(23, 17, 12, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

@media (min-width: 981px) {
  #museum.highlight {
    background-attachment: fixed, fixed, fixed;
    background-position: center, center, center 58%;
  }
}

@media (max-width: 980px) {
  #museum.highlight {
    padding-block: clamp(46px, 7vw, 74px);
    background-attachment: scroll;
    background-position: center top;
  }
}

@media (max-width: 620px) {
  #museum.highlight {
    padding-block: 38px 50px;
    background:
      linear-gradient(180deg, rgba(255, 249, 239, 0.88), rgba(239, 230, 216, 0.72)),
      url("/assets/img/footer-openclaw.webp") center top / cover no-repeat;
  }

  #museum .shop-card--museum {
    background: rgba(255, 249, 239, 0.96);
  }
}


/* 2026-06-07: Kleiner Abstand zwischen Museum und Angebote. */
#museum .museum-grid {
  gap: clamp(18px, 1.7vw, 24px);
}

@media (max-width: 620px) {
  #museum .museum-grid {
    gap: 14px;
  }
}


/* 2026-06-07: Mobile Startseiten-Optimierung fuer Laenge, Kurse und Museum-Angebote. */
@media (max-width: 760px) {
  #kurse {
    padding-top: 30px;
    padding-bottom: 42px;
  }

  #kurse .wrap {
    width: 100%;
  }

  #kurse .section-head--courses {
    width: min(100% - 28px, 1380px);
    margin-inline: auto;
    margin-bottom: 18px;
  }

  #kurse .section-head--courses h2 {
    grid-template-columns: minmax(22px, 1fr) minmax(0, auto) minmax(22px, 1fr);
    gap: 8px;
    font-size: clamp(1.82rem, 8.2vw, 2.25rem);
    line-height: 1.02;
  }

  #kurse .section-head--courses h2::before,
  #kurse .section-head--courses h2::after {
    height: 10px;
    background-size: 100% 1px, 10px 10px;
  }

  #kurse .course-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 14px 14px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #kurse .course-grid::-webkit-scrollbar {
    height: 6px;
  }

  #kurse .course-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(116, 89, 55, 0.28);
  }

  #kurse .course-card {
    flex: 0 0 min(282px, 78vw);
    min-height: 0;
    scroll-snap-align: start;
  }

  #kurse .course-card img {
    height: 136px;
  }

  #kurse .course-body {
    padding: 14px 15px 15px;
  }

  #kurse .date-label {
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  #kurse .course-card h3 {
    font-size: 0.98rem;
    line-height: 1.16;
  }

  #kurse .course-card .text-link {
    padding-top: 12px;
    font-size: 0.72rem;
  }

  #kurse .course-card--all-courses {
    flex-basis: min(250px, 72vw);
  }

  .course-all-link {
    min-height: 244px;
    padding: 22px 18px;
  }
}

@media (max-width: 620px) {
  #museum.highlight {
    padding-block: 28px 34px;
  }

  #museum .museum-grid {
    gap: 12px;
  }

  #museum .museum-panel--story {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  #museum .museum-panel--story > img {
    height: 190px;
    min-height: 0;
    object-position: right center;
  }

  #museum .museum-info {
    padding: 26px 28px 28px;
  }

  #museum .museum-info h2 {
    font-size: clamp(2rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  #museum .museum-info p:not(.eyebrow) {
    max-width: none;
    font-size: 1rem;
    line-height: 1.44;
  }

  #museum .shop-card--museum {
    gap: 16px;
    padding: 24px 24px 26px;
  }

  #museum .shop-card--museum h3 {
    max-width: 12em;
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    line-height: 1.04;
  }

  #museum .shop-card--museum p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.42;
  }

  #museum .shop-card--museum .shop-card__media-link {
    height: 150px;
  }

  #museum .shop-card--museum .btn {
    width: 100%;
    justify-content: center;
  }
}


/* 2026-06-07: Mobile Kurse-Headline ohne gequetschte Zierlinien. */
@media (max-width: 760px) {
  #kurse .section-head--courses h2 {
    display: block;
    width: min(100%, 340px);
    margin-inline: auto;
    font-size: clamp(2rem, 8.4vw, 2.35rem);
    line-height: 1.04;
    text-align: center;
  }

  #kurse .section-head--courses h2::before,
  #kurse .section-head--courses h2::after {
    display: none;
  }
}


/* 2026-06-07: Sticky Header mit langsam schrumpfendem Logo. */
.site-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  overflow: visible;
  transition: background-color 420ms ease, box-shadow 420ms ease, backdrop-filter 420ms ease;
}

.site-header::before {
  transition: opacity 420ms ease, transform 420ms ease, bottom 420ms ease;
}

.site-header .header-inner {
  min-height: 86px;
  align-items: start;
  padding-top: 16px;
  padding-bottom: 8px;
  transition: min-height 520ms ease, padding 520ms ease;
}

.site-header .brand {
  transform-origin: left top;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .brand-mark {
  transform-origin: left top;
  transition: width 560ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.site-header.is-scrolled {
  background-color: rgba(244, 232, 207, 0.88) !important;
  box-shadow: 0 12px 34px rgba(31, 25, 17, 0.12), inset 0 -1px 0 rgba(121, 83, 39, 0.16);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled::before {
  bottom: 0;
  opacity: 0.98;
  transform: translateY(-2px);
}

.site-header.is-scrolled .header-inner {
  min-height: 70px;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header.is-scrolled .brand {
  transform: translateX(-6px);
}

.site-header.is-scrolled .brand-mark {
  width: clamp(150px, 12vw, 172px);
  filter: drop-shadow(0 1px 0 rgba(255, 245, 221, 0.56));
}

.site-header.is-scrolled .header-cta {
  align-self: center;
  margin-top: 0;
  transform: none;
}

.site-header.is-scrolled .header-cta:hover,
.site-header.is-scrolled .header-cta:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    min-height: 76px;
    align-items: start;
  }

  .site-header.is-scrolled .header-inner {
    min-height: 62px;
    align-items: center;
  }

  .site-header.is-scrolled .brand-mark {
    width: clamp(142px, 22vw, 168px);
  }
}

@media (max-width: 620px) {
  .site-header .header-inner {
    min-height: 86px;
    align-items: start;
    padding-top: 14px;
  }

  .site-header.is-scrolled .header-inner {
    min-height: 58px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .site-header.is-scrolled .brand-mark {
    width: clamp(134px, 39vw, 154px);
  }

  .site-header.is-scrolled .nav-toggle {
    align-self: center;
  }

  .nav-menu.is-open {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
}

/* 2026-06-07: Sticky Header schrumpft spaeter und deutlich langsamer. */
.site-header .brand-mark {
  transition: width 2200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1100ms ease;
}

.site-header.is-scrolled .brand-mark {
  width: var(--sticky-logo-width, clamp(150px, 12vw, 172px)) !important;
}

.site-header.is-scrolled .header-inner {
  min-height: var(--sticky-header-height, 70px) !important;
}

.site-header .header-inner {
  transition: min-height 1900ms cubic-bezier(0.16, 1, 0.3, 1), padding 1900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .brand {
  transition: transform 1900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  transition-duration: 1500ms;
}


/* 2026-06-07: Menuepunkte groesser und besser lesbar. */
 (min-width: 1181px) {
  .site-header .nav-menu {
    gap: clamp(13px, 1.15vw, 20px);
  }

  .site-header .nav-menu a,
  .site-header .nav-dropdown__toggle {
    min-height: 32px;
    align-items: center;
    font-size: clamp(0.91rem, 0.82vw, 1rem);
    line-height: 1.16;
    letter-spacing: 0.015em;
  }

  .site-header .nav-dropdown__menu a {
    min-height: 42px;
    font-size: 0.93rem;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    min-width: 48px;
    min-height: 48px;
    font-size: 0.94rem;
  }

  .nav-menu a,
  .nav-dropdown__toggle {
    min-height: 46px;
    align-items: center;
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .nav-dropdown__menu a {
    min-height: 42px;
    font-size: 0.96rem;
  }
}

@media (max-width: 620px) {
  .nav-toggle {
    min-width: 48px;
    min-height: 48px;
    font-size: 0.92rem;
  }
}


/* 2026-06-07: Menuepunkt-Groesse final verstaerkt. */
.site-header .nav-menu > a,
.site-header .nav-menu > .nav-dropdown > .nav-dropdown__toggle {
  display: inline-flex !important;
  min-height: 34px !important;
  align-items: center !important;
  font-size: clamp(0.94rem, 0.9vw, 1.04rem) !important;
  line-height: 1.18 !important;
  letter-spacing: 0.012em !important;
}

.site-header .nav-dropdown__menu a {
  display: flex !important;
  min-height: 44px !important;
  align-items: center !important;
  font-size: 0.96rem !important;
  line-height: 1.18 !important;
}

@media (max-width: 1180px) {
  .site-header .nav-toggle {
    min-width: 48px !important;
    min-height: 48px !important;
    font-size: 0.94rem !important;
  }

  .site-header .nav-menu > a,
  .site-header .nav-menu > .nav-dropdown > .nav-dropdown__toggle {
    display: flex !important;
    min-height: 48px !important;
    width: 100%;
    font-size: 1.04rem !important;
  }

  .site-header .nav-dropdown__menu a {
    min-height: 44px !important;
    font-size: 0.98rem !important;
  }
}


/* 2026-06-07: Mobile Menuepunkte mit echter Klickhoehe. */
@media (max-width: 1180px) {
  .site-header .nav-menu > a,
  .site-header .nav-menu > .nav-dropdown > .nav-dropdown__toggle {
    height: 46px !important;
    min-height: 46px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .site-header .nav-dropdown__menu a {
    height: 42px !important;
    min-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* 2026-06-07: Unterseiten-Header kompakter im Pergamentband. */
body.is-subpage .site-header {
  position: sticky !important;
  background-color: rgba(238, 218, 183, 0.96) !important;
  box-shadow: 0 10px 26px rgba(31, 25, 17, 0.11), inset 0 -1px 0 rgba(122, 74, 39, 0.18);
}

body.is-subpage .site-header::before,
body.is-subpage .site-header::after {
  pointer-events: none;
}

body.is-subpage .site-header .header-inner {
  min-height: clamp(96px, 7vw, 124px) !important;
  align-items: center !important;
  padding-top: clamp(12px, 1.4vw, 18px) !important;
  padding-bottom: clamp(12px, 1.2vw, 16px) !important;
}

body.is-subpage .site-header .brand {
  min-width: 0;
  transform: none !important;
}

body.is-subpage .site-header .brand-mark {
  width: clamp(220px, 16vw, 292px) !important;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255, 247, 224, 0.55));
}

body.is-subpage .subhero {
  padding-top: clamp(86px, 8vw, 136px);
}

body.is-subpage .subhero-grid {
  align-items: center;
}

@media (max-width: 1180px) {
  body.is-subpage .site-header .header-inner {
    min-height: 92px !important;
    grid-template-columns: auto auto;
  }

  body.is-subpage .site-header .brand-mark {
    width: clamp(178px, 25vw, 228px) !important;
    max-height: 78px;
  }

  body.is-subpage .subhero {
    padding-top: clamp(70px, 9vw, 104px);
  }
}

@media (max-width: 620px) {
  body.is-subpage .site-header .header-inner {
    min-height: 82px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.is-subpage .site-header .brand-mark {
    width: clamp(148px, 44vw, 176px) !important;
    max-height: 64px;
  }

  body.is-subpage .subhero {
    padding-top: clamp(48px, 12vw, 70px);
  }
}

/* 2026-06-07: Unterseiten-Logo final im Pergamentband gehalten. */
body.is-subpage .site-header .header-inner {
  min-height: clamp(124px, 8vw, 142px) !important;
}

body.is-subpage .site-header .brand-mark {
  width: clamp(200px, 12vw, 248px) !important;
  max-height: 92px;
}

@media (max-width: 1180px) {
  body.is-subpage .site-header .header-inner {
    min-height: 96px !important;
  }

  body.is-subpage .site-header .brand-mark {
    width: clamp(168px, 23vw, 210px) !important;
    max-height: 74px;
  }
}

@media (max-width: 620px) {
  body.is-subpage .site-header .header-inner {
    min-height: 86px !important;
  }

  body.is-subpage .site-header .brand-mark {
    width: clamp(146px, 42vw, 166px) !important;
    max-height: 62px;
  }
}

@media (max-width: 1020px) {
  .verein-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .verein-links-section {
    padding-top: 38px;
  }

  .verein-links-panel {
    gap: 24px;
    padding: 26px 18px 20px;
  }

  .verein-links-panel::before {
    inset: 12px;
  }

  .verein-links-panel h2 {
    font-size: clamp(2.15rem, 12vw, 3.3rem);
  }

  .verein-links-panel h2::after {
    margin-top: 18px;
  }

  .verein-links-grid {
    grid-template-columns: 1fr;
  }

  .verein-links-grid a {
    min-height: 126px;
    padding: 22px 22px 20px;
  }

  .verein-links-grid strong {
    max-width: 15em;
    margin-top: 12px;
    font-size: 1.55rem;
  }
}

/* Refined related Verein links: quieter typography, clear spacing, no awkward word breaks. */
.verein-links-section {
  padding-top: clamp(40px, 5vw, 72px);
}

.verein-links-panel {
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 4.4vw, 72px);
  align-items: center;
  padding: clamp(34px, 4.2vw, 56px);
  background:
    linear-gradient(105deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 249, 239, 0.93) 47%, rgba(239, 230, 216, 0.68) 100%),
    var(--cream);
  box-shadow: 0 22px 48px rgba(31, 25, 17, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.verein-links-panel h2 {
  max-width: 7.8em;
  font-size: clamp(2.55rem, 3.1vw, 3.85rem);
  line-height: 0.96;
  text-wrap: balance;
}

.verein-links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 22px);
}

.verein-links-grid a {
  min-height: 178px;
  padding: 24px 24px 22px;
  align-content: start;
  border-color: rgba(165, 132, 88, 0.38);
  box-shadow: 0 14px 30px rgba(31, 25, 17, 0.075);
}

.verein-links-grid span {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
}

.verein-links-grid strong {
  max-width: 13em;
  margin-top: 22px;
  padding-right: 20px;
  font-family: var(--sans);
  font-size: clamp(1.18rem, 1.25vw, 1.42rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.verein-links-grid a::after {
  right: 22px;
  bottom: 20px;
  font-size: 1.1rem;
}

@media (max-width: 1180px) {
  .verein-links-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .verein-links-panel h2 {
    max-width: 11em;
  }
}

@media (max-width: 900px) {
  .verein-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .verein-links-panel {
    padding: 28px 18px 20px;
  }

  .verein-links-panel h2 {
    max-width: 8.6em;
    font-size: clamp(2.15rem, 10.5vw, 3.05rem);
  }

  .verein-links-grid {
    grid-template-columns: 1fr;
  }

  .verein-links-grid a {
    min-height: 118px;
    padding: 20px 20px 18px;
  }

  .verein-links-grid strong {
    margin-top: 12px;
    font-size: 1.18rem;
    line-height: 1.22;
  }
}

/* 2026-06-07: Finaler Vereins-Wegweiser fuer neu.krippenverein-wenns.at. */
.verein-links-section {
  padding: clamp(52px, 6vw, 86px) 0 clamp(56px, 6vw, 92px);
}

.verein-links-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: clamp(26px, 3.6vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(84, 64, 38, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 252, 245, 0.98) 0%, rgba(250, 242, 228, 0.96) 58%, rgba(235, 221, 199, 0.9) 100%),
    #fbf4e8;
  box-shadow: 0 24px 56px rgba(39, 29, 17, 0.1);
}

.verein-links-panel::before {
  display: none;
}

.verein-links-media {
  position: relative;
  align-self: stretch;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #22331f;
}

.verein-links-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(20, 28, 20, 0.24));
  pointer-events: none;
}

.verein-links-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: none;
}

.verein-links-content {
  min-width: 0;
}

.verein-links-panel .eyebrow {
  margin: 0 0 10px;
  color: #9f4e2d;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

.verein-links-panel h2 {
  max-width: 9.5em;
  margin: 0;
  color: #112f25;
  font-size: clamp(2rem, 3.1vw, 3.18rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.verein-links-panel h2::after {
  width: 58px;
  height: 2px;
  margin-top: 18px;
  background: #b78b42;
}

.verein-links-intro {
  max-width: 38rem;
  margin: 14px 0 24px;
  color: rgba(32, 29, 23, 0.72);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.verein-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
}

.verein-links-grid a {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 0;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(75, 58, 34, 0.15);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.88);
  color: #102f25;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 27, 15, 0.075);
  transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.verein-links-grid a::before {
  display: none;
}

.verein-links-grid a::after {
  content: ">";
  right: 16px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 47, 37, 0.16);
  border-radius: 999px;
  color: rgba(17, 47, 37, 0.56);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.56);
}

.verein-links-grid a:hover,
.verein-links-grid a:focus {
  border-color: rgba(159, 78, 45, 0.34);
  box-shadow: 0 18px 36px rgba(37, 27, 15, 0.12);
  transform: translateY(-2px);
}

.verein-links-grid a:hover::after,
.verein-links-grid a:focus::after {
  color: #9f4e2d;
  transform: translateX(2px);
}

.verein-links-grid a > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(246, 237, 220, 0.86), rgba(255, 252, 245, 0.92));
}

.verein-links-grid a > img[src*="logo-krippenverein"] {
  object-fit: contain;
  padding: 18px 20px;
}

.verein-links-grid span {
  display: block;
  margin: 17px 18px 0;
  padding: 0;
  color: #9f4e2d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.verein-links-grid strong {
  display: block;
  max-width: none;
  margin: 8px 18px 0;
  padding: 0 34px 0 0;
  color: #102f25;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.verein-links-grid em {
  display: block;
  margin: 9px 18px 0;
  padding-right: 34px;
  color: rgba(32, 29, 23, 0.66);
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.42;
}

@media (max-width: 1040px) {
  .verein-links-panel {
    grid-template-columns: 1fr;
  }

  .verein-links-media {
    min-height: 210px;
  }

}

@media (max-width: 820px) {
  .verein-links-section {
    padding-top: 42px;
  }

  .verein-links-grid {
    grid-template-columns: 1fr;
  }

  .verein-links-grid a {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    padding: 0 48px 0 0;
    min-height: 118px;
    align-items: center;
  }

  .verein-links-grid a > img {
    grid-row: 1 / 4;
    height: 100%;
    min-height: 118px;
    aspect-ratio: auto;
  }

  .verein-links-grid span,
  .verein-links-grid strong,
  .verein-links-grid em {
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .verein-links-grid span {
    margin-top: 14px;
  }

  .verein-links-grid em {
    margin-bottom: 14px;
  }
}

@media (max-width: 520px) {
  .verein-links-panel {
    padding: 18px;
  }

  .verein-links-media {
    min-height: 165px;
  }

  .verein-links-panel h2 {
    max-width: 8.8em;
    font-size: clamp(1.9rem, 9.2vw, 2.55rem);
  }

  .verein-links-intro {
    margin-bottom: 18px;
  }

  .verein-links-grid a {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 14px;
    padding-right: 38px;
    min-height: 104px;
  }

  .verein-links-grid a > img {
    min-height: 104px;
  }

  .verein-links-grid span {
    font-size: 0.66rem;
  }

  .verein-links-grid strong {
    font-size: 1rem;
  }

  .verein-links-grid em {
    display: none;
  }

  .verein-links-grid a::after {
    right: 10px;
    bottom: 50%;
    transform: translateY(50%);
  }
}

/* 2026-06-07: Vorstand-Seite final als hochwertiger Vereinsbereich. */
.board-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(38, 27, 17, 0.46) 0%, rgba(38, 27, 17, 0.28) 34%, rgba(38, 27, 17, 0.08) 66%, rgba(38, 27, 17, 0.03) 100%),
    linear-gradient(0deg, rgba(38, 27, 17, 0.10), rgba(38, 27, 17, 0)),
    url("/assets/img/verein/vorstand-hero-upload-20260613.webp") center / cover no-repeat;
}

.board-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 48%, rgba(20, 14, 10, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(20, 14, 10, 0), rgba(20, 14, 10, 0.07));
}

.board-hero .subhero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 660px);
  align-items: center;
  justify-content: start;
}

.board-hero .subhero-copy {
  max-width: 540px;
  text-shadow: 0 2px 20px rgba(20, 14, 10, 0.62);
}

.board-hero .eyebrow,
.board-hero .lead,
.board-hero .subhero-copy h1 {
  color: #fff9ef;
}

.board-hero .subhero-copy h1 {
  max-width: 7.7em;
  font-size: clamp(2.15rem, 3.72vw, 4.25rem);
  line-height: 1.04;
  text-wrap: balance;
}

.board-hero .lead {
  max-width: 42rem;
}

.board-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.board-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(159, 78, 45, 0.22);
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.62);
  color: #31422c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-hero .subhero-media {
  display: none;
}

.board-hero .subhero-media img {
  min-height: clamp(300px, 31vw, 465px);
  object-position: center;
}

.board-section {
  padding-top: clamp(44px, 5vw, 76px);
  scroll-margin-top: 112px;
}

.board-note-section {
  scroll-margin-top: 112px;
}

.board-wrap {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.board-section-head {
  max-width: 760px;
}

.board-section-head h2 {
  max-width: 10em;
  margin: 0;
  color: #102f25;
  font-size: clamp(2.05rem, 3.45vw, 3.85rem);
  line-height: 1;
  text-wrap: balance;
}

.board-section-head p:not(.eyebrow) {
  max-width: 44rem;
  margin-top: 16px;
  color: rgba(32, 29, 23, 0.72);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.58;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.board-lead-card,
.board-group,
.board-person-card {
  border: 1px solid rgba(82, 63, 37, 0.15);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 16px 38px rgba(35, 27, 16, 0.075);
}

.board-lead-card {
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(210px, 0.85fr) auto;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(17, 47, 37, 0.96), rgba(49, 66, 44, 0.92)),
    #102f25;
  color: #fff9ef;
}

.board-lead-card__image {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 249, 239, 0.15), transparent 54%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.06), rgba(255, 249, 239, 0));
}

.board-lead-card__image img {
  width: min(82%, 280px);
  height: auto;
  filter: invert(1) sepia(0.18) saturate(0.5) brightness(2.2) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.24));
  opacity: 0.94;
}

.board-lead-card__body {
  padding: clamp(26px, 3.2vw, 38px);
  border-top: 1px solid rgba(255, 249, 239, 0.14);
}

.board-lead-card span,
.board-group__head span,
.board-person-card span {
  display: block;
  color: #9f4e2d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.board-lead-card span {
  color: #e2c27f;
}

.board-lead-card h2 {
  margin: 12px 0 0;
  color: #fff9ef;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.35vw, 3.55rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.board-lead-card p {
  max-width: 31rem;
  margin: 16px 0 0;
  color: rgba(255, 249, 239, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}

.board-group {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  gap: 12px;
  padding: clamp(18px, 2vw, 24px);
}

.board-group__head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(82, 63, 37, 0.12);
}

.board-group__head h3 {
  margin: 8px 0 0;
  color: #102f25;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  font-weight: 850;
  line-height: 1.22;
}

.board-person-card {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 243, 231, 0.88)),
    #fffdf8;
  box-shadow: none;
}

.board-person-card h3 {
  margin: 8px 0 0;
  color: #102f25;
  font-family: var(--sans);
  font-size: clamp(1.12rem, 1.28vw, 1.34rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.board-tradition-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr) minmax(300px, 0.62fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: start;
}

.board-tradition-copy,
.board-tradition-facts {
  min-width: 0;
  margin: 0;
}

.board-tradition-copy h2 {
  max-width: 10.5em;
  font-size: clamp(1.95rem, 3.1vw, 3.35rem);
  line-height: 1.03;
  text-wrap: balance;
}

.board-tradition-facts strong {
  max-width: 100%;
  font-size: clamp(1.82rem, 2.15vw, 2.35rem);
  line-height: 1.04;
  overflow-wrap: normal;
}

.board-tradition-image {
  align-self: start;
  aspect-ratio: 1600 / 1170;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(82, 63, 37, 0.15);
  border-radius: 8px;
  background: #f9f0df;
  box-shadow: 0 16px 38px rgba(35, 27, 16, 0.075);
}

.board-tradition-image a,
.board-tradition-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.board-tradition-image img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .board-tradition-panel {
    grid-template-columns: 1fr;
  }

  .board-tradition-image {
    max-width: 620px;
    width: 100%;
  }
}

/* 2026-06-13: Mitglied-werden-Button auf Unterseiten buendig im Header ausrichten */
body.is-subpage .site-header .header-cta {
  align-self: center;
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  body.is-subpage .site-header .header-cta {
    display: none;
  }
}

/* 2026-06-13: Pressespiegel cards keep article images compact and aligned. */
.press-subhero {
  position: relative;
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 28, 22, 0.82) 0%, rgba(20, 28, 22, 0.6) 44%, rgba(20, 28, 22, 0.24) 100%),
    url("/assets/img/pressespiegel-hero-mediencollage.webp") center / cover no-repeat;
}

.press-subhero .subhero-grid {
  grid-template-columns: minmax(0, 820px);
}

.press-subhero .eyebrow,
.press-subhero .subhero-copy h1,
.press-subhero .lead {
  color: #fff9ef;
}

.press-subhero .lead {
  color: rgba(255, 249, 239, 0.9);
}

.press-intro-grid,
.press-links-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: stretch;
}

.press-intro-card,
.press-source-card,
.press-list-card,
.press-card {
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.96);
  box-shadow: 0 16px 42px rgba(31, 25, 17, 0.07);
}

.press-intro-card,
.press-source-card,
.press-list-card {
  padding: clamp(24px, 4vw, 42px);
}

.press-source-card {
  display: grid;
  align-content: center;
  gap: 8px;
}

.press-source-card span,
.press-card__meta {
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-source-card strong {
  color: var(--green-deep);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.press-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.press-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.press-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(15, 51, 40, 0.08);
}

.press-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.press-card__image span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.92);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.press-card:hover .press-card__image img {
  transform: scale(1.035);
}

.press-card__body {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
}

.press-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.press-card__meta em {
  color: var(--muted);
  font-style: normal;
}

.press-card__body h3,
.press-card__body p {
  margin: 0;
}

.press-card__body h3 {
  color: var(--green-deep);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.press-card__body p {
  color: var(--muted);
  line-height: 1.55;
}

.press-card__link,
.press-list-card a {
  color: var(--terracotta);
  font-weight: 900;
  text-decoration: none;
}

.press-list-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

@media (max-width: 820px) {
  .press-intro-grid,
  .press-links-grid {
    grid-template-columns: 1fr;
  }

  .press-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .board-hero {
    background-position: 12% center;
  }
}

/* Museum hero full-bleed image */
.museum-subhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 72vh, 760px);
  padding: clamp(96px, 10vw, 150px) 0 clamp(58px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(11, 31, 26, 0.78) 0%, rgba(11, 31, 26, 0.52) 42%, rgba(11, 31, 26, 0.12) 72%),
    linear-gradient(0deg, rgba(11, 31, 26, 0.58), rgba(11, 31, 26, 0.08) 42%),
    url("/assets/img/museum/krippenmuseum-stamserhaus-hero-nacht.webp") 50% 50% / cover no-repeat;
  color: #fff9ef;
}

.museum-subhero .subhero-grid {
  grid-template-columns: minmax(0, 760px);
  min-height: clamp(360px, 45vh, 520px);
  align-items: end;
}

.museum-subhero .subhero-copy {
  max-width: 760px;
}

.museum-subhero .eyebrow,
.museum-subhero .subhero-copy h1,
.museum-subhero .lead {
  color: #fff9ef;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.5);
}

.museum-subhero .subhero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 4.8vw, 5.7rem);
  line-height: 0.94;
}

.museum-subhero .subhero-copy .lead {
  max-width: 680px;
  font-size: clamp(1.36rem, 1.7vw, 1.9rem);
}

.museum-subhero .btn {
  border-color: rgba(255, 249, 239, 0.78);
  background: rgba(255, 249, 239, 0.92);
  color: var(--green-deep);
}

.museum-subhero .btn-primary {
  border-color: #f6d27a;
  background: #f6d27a;
  color: var(--green-deep);
}

.museum-hero-media {
  display: none;
}

@media (max-width: 760px) {
  .museum-subhero {
    min-height: 620px;
    padding-top: 110px;
    background:
      linear-gradient(180deg, rgba(11, 31, 26, 0.78) 0%, rgba(11, 31, 26, 0.34) 52%, rgba(11, 31, 26, 0.72) 100%),
      url("/assets/img/museum/krippenmuseum-stamserhaus-hero-nacht.webp") 58% center / cover no-repeat;
  }

  .museum-subhero .subhero-grid {
    display: flex;
    min-height: 430px;
    align-items: flex-end;
  }
}
@media (max-width: 760px) {
  .museum-subhero .subhero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.5vw, 2.75rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .museum-subhero .subhero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.35rem);
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Vereinskurs reservation page */
.reservation-subhero {
  position: relative;
  display: flex;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(13, 34, 28, 0.86) 0%, rgba(13, 34, 28, 0.62) 42%, rgba(13, 34, 28, 0.24) 100%),
    linear-gradient(0deg, rgba(13, 34, 28, 0.58), rgba(13, 34, 28, 0.06) 52%),
    url("/assets/img/kurs-krippenbau-vereinsmitglieder.webp") center 42% / cover no-repeat;
}

.reservation-subhero .subhero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  align-items: center;
}

.reservation-subhero .subhero-copy {
  max-width: 780px;
  padding: clamp(54px, 8vw, 100px) 0;
}

.reservation-subhero .eyebrow,
.reservation-subhero .subhero-copy h1,
.reservation-subhero .lead {
  color: #fff9ef;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.48);
}

.reservation-subhero .subhero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 6.8vw, 7.1rem);
  line-height: 0.94;
}

.reservation-subhero .lead {
  max-width: 640px;
  color: rgba(255, 249, 239, 0.94);
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.reservation-subhero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.reservation-subhero .btn {
  border-color: rgba(255, 249, 239, 0.82);
  background: rgba(255, 249, 239, 0.94);
  color: var(--green-deep);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.reservation-subhero .btn-primary {
  border-color: #f6d27a;
  background: #f6d27a;
  color: var(--green-deep);
}

.reservation-subhero .subhero-media {
  display: none;
}

#Kontaktformular.contact-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(239, 230, 216, 0.48));
}

#Kontaktformular > .wrap {
  max-width: 1180px;
}

.reservierung-course-card,
.reservierung-form-card {
  border: 1px solid rgba(216, 203, 184, 0.88);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.96);
  box-shadow: 0 18px 48px rgba(31, 25, 17, 0.08);
}

.reservierung-course-card {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: clamp(24px, 3vw, 36px);
}

.reservierung-course-card h3,
.reservierung-form-intro h3 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(1.7rem, 3vw, 2.85rem);
  line-height: 1.04;
}

.reservierung-eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.reservierung-course-date {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.reservierung-course-details {
  display: grid;
  gap: 8px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.reservierung-course-details p {
  margin: 0;
}

.reservierung-course-link {
  color: var(--terracotta);
  font-weight: 900;
  text-decoration: none;
}

.reservierung-shell {
  margin-top: 18px;
}

.reservierung-form {
  margin: 0;
}

.reservierung-form-card {
  padding: clamp(24px, 4vw, 46px);
}

.reservierung-form-intro {
  display: grid;
  gap: 9px;
  max-width: 760px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.reservierung-form-intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.55;
}

.reservierung-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.reservierung-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.reservierung-field-full {
  grid-column: 1 / -1;
}

.reservierung-field-small {
  max-width: 240px;
}

.reservierung-field label,
.reservierung-field-label {
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-transform: uppercase;
}

.reservierung-field input,
.reservierung-field textarea,
.reservierung-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(15, 51, 40, 0.18);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 22px rgba(31, 25, 17, 0.045);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.reservierung-field textarea {
  min-height: 138px;
  resize: vertical;
}

.reservierung-field select {
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green-deep) 50%),
    linear-gradient(135deg, var(--green-deep) 50%, transparent 50%),
    linear-gradient(90deg, rgba(15, 51, 40, 0.12), rgba(15, 51, 40, 0.12));
  background-position: calc(100% - 26px) 50%, calc(100% - 18px) 50%, calc(100% - 42px) 50%;
  background-size: 8px 8px, 8px 8px, 1px 24px;
  background-repeat: no-repeat;
}

.reservierung-field input:hover,
.reservierung-field textarea:hover,
.reservierung-field select:hover {
  border-color: rgba(15, 51, 40, 0.3);
  background-color: #fffaf1;
}

.reservierung-field input:focus,
.reservierung-field textarea:focus,
.reservierung-field select:focus {
  border-color: rgba(161, 77, 45, 0.74);
  box-shadow: 0 0 0 3px rgba(161, 77, 45, 0.16), 0 10px 24px rgba(31, 25, 17, 0.07);
  outline: none;
}

.reservierung-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reservierung-choice,
.reservierung-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.reservierung-choice {
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 51, 40, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  color: var(--green-deep);
  font-weight: 900;
}

.reservierung-choice input,
.reservierung-privacy-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--terracotta);
}

.reservierung-privacy {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(15, 51, 40, 0.12);
  border-radius: 8px;
  background: rgba(239, 230, 216, 0.38);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.reservierung-privacy p {
  margin: 0;
}

.reservierung-privacy a {
  color: var(--terracotta);
  font-weight: 900;
}

.reservierung-actions {
  margin-top: clamp(22px, 3vw, 34px);
}

.reservierung-submit {
  min-height: 52px;
  border: 1px solid var(--green-deep);
  border-radius: 8px;
  background: var(--green-deep);
  color: #fff9ef;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.reservierung-submit:hover,
.reservierung-submit:focus-visible {
  background: #1f4f40;
  box-shadow: 0 12px 28px rgba(15, 51, 40, 0.22);
  transform: translateY(-1px);
  outline: none;
}

@media (min-width: 980px) {
  #Kontaktformular > .wrap {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }

  .reservierung-course-card {
    position: sticky;
    top: 118px;
    margin-bottom: 0;
  }

  .reservierung-shell {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .reservation-subhero {
    min-height: 610px;
    background:
      linear-gradient(180deg, rgba(13, 34, 28, 0.82) 0%, rgba(13, 34, 28, 0.42) 48%, rgba(13, 34, 28, 0.82) 100%),
      url("/assets/img/kurs-krippenbau-vereinsmitglieder.webp") center center / cover no-repeat;
  }

  .reservation-subhero .subhero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    overflow-wrap: anywhere;
  }

  .reservation-subhero .actions .btn {
    width: 100%;
  }

  .reservierung-grid,
  .reservierung-choice-row {
    grid-template-columns: 1fr;
  }

  .reservierung-field-small {
    max-width: none;
  }

  .reservierung-form-card,
  .reservierung-course-card {
    padding: 22px;
  }
}

#Kontaktformular > .wrap > br {
  display: none;
}

.reservierung-course-card h3 {
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
}

@media (min-width: 980px) {
  #Kontaktformular > .wrap {
    grid-template-columns: minmax(280px, 0.7fr) minmax(560px, 1fr);
  }
}

/* Course description modal with HTML zoom/pan controls */
.course-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: clamp(12px, 2vw, 24px);
  background: rgba(15, 24, 21, 0.72);
}

.course-modal.is-open {
  display: grid;
  place-items: center;
}

.course-modal__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  height: min(92vh, 980px);
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.9);
  border-radius: 8px;
  background: #efe2ca;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.course-modal__head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 51, 40, 0.14);
  background: #fff9ef;
}

.course-modal__head strong {
  color: var(--green-deep);
  font-weight: 900;
}

.course-modal__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.course-modal__tools button,
.course-modal__tools a,
.course-modal__tools span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(15, 51, 40, 0.18);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--green-deep);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.course-modal__tools span {
  min-width: 58px;
  background: transparent;
}

.course-modal__tools svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.course-modal__body {
  --course-zoom: 1;
  --course-pan-x: 0px;
  --course-pan-y: 0px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(circle at top left, rgba(246, 210, 122, 0.16), transparent 32%),
    #efe2ca;
}

.course-modal__body.is-dragging,
.course-modal__body.is-dragging * {
  cursor: grabbing !important;
  user-select: none;
}

.course-modal__content {
  width: min(980px, calc(100% - 28px));
  margin: 22px auto 48px;
  transform: translate(var(--course-pan-x), var(--course-pan-y)) scale(var(--course-zoom));
  transform-origin: center top;
  transition: transform 120ms ease;
  will-change: transform;
}

.course-modal__content .course-document {
  max-width: 980px;
}

@media (max-width: 720px) {
  .course-modal {
    padding: 0;
  }

  .course-modal__panel {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .course-modal__head {
    align-items: flex-start;
  }

  .course-modal__tools {
    max-width: 250px;
  }

  .course-modal__content {
    width: calc(100% - 22px);
    margin-top: 12px;
  }
}

@media print {
  body.course-modal-printing > *:not(.course-modal) {
    display: none !important;
  }

  body.course-modal-printing .course-modal {
    position: static;
    display: block !important;
    padding: 0;
    background: #fff;
  }

  body.course-modal-printing .course-modal__head {
    display: none !important;
  }

  body.course-modal-printing .course-modal__panel,
  body.course-modal-printing .course-modal__body,
  body.course-modal-printing .course-modal__content {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
    transform: none !important;
  }
}

.course-modal__content {
  width: min(860px, calc(100% - 32px));
}

.course-modal__content .course-document {
  max-width: 860px;
  padding: clamp(24px, 4vw, 48px);
}

.course-modal__content .course-document__header h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
  line-height: 1.02;
  overflow-wrap: normal;
}

.course-modal__content .course-document__subtitle {
  max-width: 42ch;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
}

.course-modal__content .course-document__image,
.course-modal__content .course-document__facts,
.course-modal__content .course-document__details {
  max-width: 100%;
}

@media (max-width: 720px) {
  .course-modal__content .course-document__header h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }
}

.course-modal__content .course-document__header h1 {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
}

.course-modal__content .course-document__header h1 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.course-modal__content .course-document__hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.04;
}

/* Course modal final polish: locked page, hand pan, calmer document stage */
html.course-modal-open,
body.course-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.course-modal {
  background:
    radial-gradient(circle at 20% 10%, rgba(246, 210, 122, 0.16), transparent 32%),
    rgba(8, 18, 15, 0.82);
  backdrop-filter: blur(3px);
}

.course-modal__panel {
  width: min(1160px, calc(100vw - 32px));
  height: min(92dvh, 940px);
  background: #ead8ba;
}

.course-modal__head {
  min-height: 64px;
  background: rgba(255, 249, 239, 0.98);
}

.course-modal__title-block {
  display: grid;
  gap: 2px;
}

.course-modal__title-block span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.course-modal__tools button:hover,
.course-modal__tools a:hover,
.course-modal__tools button:focus-visible,
.course-modal__tools a:focus-visible {
  border-color: rgba(161, 77, 45, 0.55);
  background: #f6d27a;
  outline: none;
}

.course-modal__body {
  display: grid;
  align-items: start;
  overflow: hidden !important;
  cursor: grab;
  user-select: none;
}

.course-modal__body.is-dragging .course-modal__content {
  transition: none;
}

.course-modal__content {
  width: min(820px, calc(100% - 34px));
  margin: 26px auto 64px;
}

.course-modal__content .course-document {
  max-width: 820px;
  padding: clamp(26px, 4vw, 44px);
  border-color: rgba(216, 203, 184, 0.95);
  background: #fffdf8;
}

.course-modal__content .course-document__masthead {
  margin-bottom: 18px;
}

.course-modal__content .course-document__masthead img {
  width: min(300px, 80%);
}

.course-modal__content .course-document__hero {
  display: grid;
  gap: 18px;
}

.course-modal__content .course-document__hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.06;
}

.course-modal__content .course-document__subtitle {
  max-width: 46ch;
  font-size: clamp(1.12rem, 1.8vw, 1.62rem);
  line-height: 1.14;
}

.course-modal__content .course-document__image img {
  height: clamp(220px, 28vw, 360px);
}

@media (max-width: 720px) {
  .course-modal__panel {
    width: 100vw;
    height: 100dvh;
  }

  .course-modal__head {
    min-height: 0;
    padding: 10px;
  }

  .course-modal__title-block span {
    display: none;
  }

  .course-modal__tools {
    max-width: 230px;
    gap: 5px;
  }

  .course-modal__tools button,
  .course-modal__tools a,
  .course-modal__tools span {
    min-width: 34px;
    min-height: 34px;
  }

  .course-modal__content {
    width: calc(100% - 20px);
    margin: 14px auto 44px;
  }
}

.course-modal__body {
  cursor: grab !important;
}

.course-modal__body * {
  -webkit-user-drag: none;
}

.course-modal__body.is-dragging .course-modal__content,
.course-modal__body.is-dragging .course-document,
.course-modal__body.is-dragging img {
  pointer-events: none;
}

/* Course modal drag reliability */
.course-modal__body {
  cursor: grab !important;
}

.course-modal__body * {
  -webkit-user-drag: none;
}

.course-modal__body.is-dragging .course-modal__content,
.course-modal__body.is-dragging .course-document,
.course-modal__body.is-dragging img {
  pointer-events: none;
}


/* PDF-nahe Kursbeschreibung im Modal */
.course-modal__content .course-document--modal {
  color: #1e241f;
  background: #fffdf8;
  border: 1px solid rgba(216, 203, 184, 0.9);
  box-shadow: 0 26px 72px rgba(30, 24, 18, 0.2);
  font-family: var(--sans);
}

.course-modal__content .course-document--modal .course-document__masthead {
  justify-content: flex-start;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.course-modal__content .course-document--modal .course-document__masthead img {
  width: min(285px, 72%);
  height: auto;
}

.course-modal__content .course-document--modal .course-document__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(28px, 4vw, 42px);
}

.course-modal__content .course-document--modal .course-document__hero-copy {
  display: block;
  max-width: 100%;
}

.course-modal__content .course-document__pdf-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 12px 6px;
  background: #2e5495;
  color: #fff;
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.course-modal__content .course-document--modal .course-document__hero h1 {
  display: inline;
  margin: 0;
  padding: 0.02em 0.16em 0.08em;
  background: #2e5495;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  font-weight: 800;
  line-height: 1.08;
}

.course-modal__content .course-document--modal .course-document__subtitle {
  max-width: 58ch;
  margin-top: clamp(16px, 2.6vw, 24px);
  color: #bd8f2d;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
}

.course-modal__content .course-document--modal .course-document__image {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.course-modal__content .course-document--modal .course-document__image img {
  height: clamp(260px, 34vw, 430px);
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.course-modal__content .course-document--modal .course-document__section h2 {
  color: #2e5495;
  font-family: var(--sans);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.course-modal__content .course-document--modal .course-document__facts div {
  border-bottom-color: rgba(46, 84, 149, 0.18);
}

@media (max-width: 720px) {
  .course-modal__content .course-document--modal {
    padding: 24px 18px 30px;
  }

  .course-modal__content .course-document--modal .course-document__hero h1 {
    font-size: clamp(2rem, 12vw, 3.05rem);
    line-height: 1.1;
  }

  .course-modal__content .course-document--modal .course-document__subtitle {
    font-size: clamp(1.08rem, 6vw, 1.45rem);
  }

  .course-modal__content .course-document--modal .course-document__image img {
    height: clamp(210px, 60vw, 310px);
  }
}

/* Mobile Korrektur fuer PDF-Titel im Kursmodal */
@media (max-width: 720px) {
  .course-modal__content .course-document--modal .course-document__hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.08rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .course-modal__content .course-document__pdf-badge {
    max-width: 100%;
    font-size: 0.72rem;
    white-space: normal;
  }

  .course-modal__content .course-document--modal .course-document__subtitle {
    font-size: clamp(1.05rem, 5.4vw, 1.34rem);
    line-height: 1.2;
  }
}


/* Original-PDF-nahe Kursbeschreibung im Modal */
.course-modal__content {
  width: min(920px, calc(100% - 34px));
}

.course-modal__content .course-document--modal {
  max-width: 920px;
  min-height: 1280px;
  padding: 54px 54px 70px;
  color: #000;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

.course-modal__content .course-document--modal .course-document__masthead {
  justify-content: flex-start;
  margin: 0 0 34px;
}

.course-modal__content .course-document--modal .course-document__masthead img {
  width: 230px;
  max-width: 46%;
  height: auto;
}

.course-modal__content .course-document--modal .course-document__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 314px);
  align-items: start;
  gap: 42px;
  margin: 0 0 28px;
}

.course-modal__content .course-document--modal .course-document__hero-copy {
  display: block;
  padding-top: 8px;
}

.course-modal__content .course-document--modal .course-document__hero h1 {
  display: block;
  margin: 0 0 38px;
  padding: 0;
  color: #2e5495;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 2.55vw, 2.12rem);
  font-weight: 400;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
}

.course-modal__content .course-document--modal .course-document__subtitle {
  max-width: 420px;
  margin: 0;
  color: #bd8f2d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 400;
  line-height: 1.26;
}

.course-modal__content .course-document--modal .course-document__image {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.course-modal__content .course-document--modal .course-document__image img {
  width: 100%;
  height: 250px;
  border: 2px solid #111;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.course-modal__content .course-document--modal .course-document__section {
  margin-top: 0;
}

.course-modal__content .course-document--modal .course-document__section + .course-document__section {
  margin-top: 78px;
}

.course-modal__content .course-document--modal .course-document__section h2 {
  margin: 0 0 14px;
  color: #2e5495;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.38rem, 2.1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.course-modal__content .course-document--modal .course-document__facts {
  display: grid;
  max-width: none;
  gap: 0;
  color: #000;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.2;
}

.course-modal__content .course-document--modal .course-document__facts div {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 18px;
  padding: 1px 0;
  border-bottom: 0;
}

.course-modal__content .course-document--modal .course-document__facts dt,
.course-modal__content .course-document--modal .course-document__facts dd {
  color: #000;
  font-weight: 400;
}

.course-modal__content .course-document--modal .course-document__details,
.course-modal__content .course-document--modal .course-document__textblock {
  max-width: none;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.35;
}

.course-modal__content .course-document--modal .course-document__footer {
  display: none;
}

@media (max-width: 820px) {
  .course-modal__content .course-document--modal {
    min-height: 0;
    padding: 36px 28px 48px;
  }

  .course-modal__content .course-document--modal .course-document__masthead img {
    width: 210px;
    max-width: 70%;
  }

  .course-modal__content .course-document--modal .course-document__hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .course-modal__content .course-document--modal .course-document__hero h1 {
    margin-bottom: 20px;
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .course-modal__content .course-document--modal .course-document__subtitle {
    max-width: none;
    font-size: clamp(1.16rem, 5.2vw, 1.5rem);
  }

  .course-modal__content .course-document--modal .course-document__image {
    grid-column: auto;
    grid-row: auto;
  }

  .course-modal__content .course-document--modal .course-document__image img {
    height: clamp(210px, 56vw, 320px);
  }

  .course-modal__content .course-document--modal .course-document__facts div {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
  }

  .course-modal__content .course-document--modal .course-document__section + .course-document__section {
    margin-top: 44px;
  }
}

/* Feinschliff: Original-PDF-Titel einzeilig auf Desktop */
@media (min-width: 821px) {
  .course-modal__content .course-document--modal .course-document__hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }

  .course-modal__content .course-document--modal .course-document__hero h1 {
    font-size: clamp(1.55rem, 2.15vw, 1.86rem);
    white-space: nowrap;
  }

  .course-modal__content .course-document--modal .course-document__subtitle {
    max-width: 470px;
  }

  .course-modal__content .course-document--modal .course-document__image img {
    height: 238px;
  }
}


/* Krippenschule-Kursbeschreibung im originalen Krippenschule-Stil */
.course-modal__content {
  width: min(1120px, calc(100% - 34px));
}

.course-modal__content .course-description-document {
  position: relative;
  width: min(1120px, 100%);
  min-height: min(1260px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(113, 63, 29, 0.18);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 62px);
  background: #fffaf1;
  box-shadow: 0 24px 80px rgba(68, 49, 26, 0.18);
  overflow: hidden;
}

.course-modal__content .course-description-document::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 17%;
  background: rgba(46, 84, 149, 0.045);
  content: "";
  pointer-events: none;
}

.course-modal__content .course-description-document > * {
  position: relative;
  z-index: 1;
}

.course-modal__content .course-description-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 4.5vw, 70px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 54px);
}

.course-modal__content .course-description-header h1 {
  max-width: 100%;
  margin: 0 0 12px;
  color: #2e5495;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.course-modal__content .course-description-header.is-long-title h1 {
  font-size: clamp(1.72rem, 2.45vw, 2.58rem);
  line-height: 1.06;
}

.course-modal__content .course-description-header p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0;
  color: #bd8f2d;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  font-weight: 700;
  line-height: 1.35;
}

.course-modal__content .course-description-header img {
  justify-self: end;
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border: 1px solid rgba(113, 63, 29, 0.18);
  border-radius: 5px;
  box-shadow: 0 18px 44px rgba(68, 49, 26, 0.16);
}

.course-modal__content .course-description-section {
  max-width: 980px;
  margin-top: clamp(26px, 4vw, 48px);
}

.course-modal__content .course-description-section h2 {
  margin: 0 0 18px;
  color: #2e5495;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.course-modal__content .course-description-section p {
  max-width: 82ch;
  margin: 0;
  color: #2f2924;
  font-size: 1rem;
  line-height: 1.68;
}

.course-modal__content .course-description-section.is-wide,
.course-modal__content .course-description-section.is-wide p {
  max-width: none;
}

.course-modal__content .course-description-data {
  display: grid;
  gap: 10px;
  margin: 0;
}

.course-modal__content .course-description-data div {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 0.78fr);
  gap: 18px;
  align-items: baseline;
}

.course-modal__content .course-description-data dt,
.course-modal__content .course-description-data dd {
  margin: 0;
  color: #2f2924;
  font-size: 0.98rem;
  line-height: 1.55;
}

.course-modal__content .course-description-data dt {
  font-weight: 800;
}

.course-modal__content .course-description-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(38px, 6vw, 76px);
  color: #2f2924;
}

.course-modal__content .course-description-footer p {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .course-modal__content .course-description-document {
    padding: 28px 20px 38px;
  }

  .course-modal__content .course-description-header {
    grid-template-columns: 1fr;
  }

  .course-modal__content .course-description-header img {
    justify-self: stretch;
    max-height: 300px;
  }

  .course-modal__content .course-description-data div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* 2026-06-14: Statuten-Gründungsbuch Galerie und Vereins-Wegweiser. */
.old-statutes-section--gallery {
  padding-top: clamp(24px, 3.5vw, 44px);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(244, 235, 218, 0.72));
}

.old-statutes-gallery-wrap {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.old-statutes-gallery-head {
  max-width: 760px;
}

.old-statutes-gallery-head h2 {
  margin: 0;
  color: #102f25;
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.old-statutes-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  grid-auto-rows: minmax(165px, auto);
  gap: clamp(12px, 1.6vw, 18px);
  align-items: stretch;
}

.old-statutes-gallery__item {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(90, 69, 40, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(31, 25, 17, 0.10);
}

.old-statutes-gallery__item--large {
  grid-row: span 2;
}

.old-statutes-gallery__item a {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #f5ead7;
}

.old-statutes-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 185px;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.old-statutes-gallery__item--large img {
  object-position: center 45%;
}

.old-statutes-gallery__item:not(.old-statutes-gallery__item--large) img {
  min-height: 165px;
}

.old-statutes-gallery__item:hover img,
.old-statutes-gallery__item:focus-within img {
  transform: scale(1.025);
  filter: contrast(1.02) saturate(1.03);
}

.old-statutes-gallery__item figcaption {
  margin: 0;
  padding: 9px 13px 11px;
  color: rgba(32, 29, 23, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
  background: rgba(255, 253, 248, 0.94);
}

@media (max-width: 760px) {
  .old-statutes-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .old-statutes-gallery__item--large {
    grid-row: auto;
  }

  .old-statutes-gallery__item img,
  .old-statutes-gallery__item:not(.old-statutes-gallery__item--large) img {
    height: auto;
    min-height: 0;
  }
}
@media (max-width: 760px) {
  .verein-subhero:not(.statutes-hero):not(.board-hero) {
    background-position: 32% center;
  }
}

/* 2026-06-14: Aktivitäten-Hero mit Nutzerbild als voller Header. */
.activities-subhero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  padding: 0;
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.64) 0%, rgba(20, 14, 10, 0.38) 42%, rgba(20, 14, 10, 0.08) 72%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.18), rgba(20, 14, 10, 0.02)),
    url("/assets/img/aktivitaeten-hero-20260614.webp") 48% center / cover no-repeat;
}

.activities-subhero .subhero-grid {
  min-height: inherit;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
}

.activities-subhero .subhero-copy {
  max-width: 700px;
  text-shadow: 0 2px 18px rgba(20, 14, 10, 0.56);
}

.activities-subhero .eyebrow,
.activities-subhero .lead,
.activities-subhero .subhero-copy h1 {
  color: #fff9ef;
}

.activities-subhero .lead {
  max-width: 48rem;
}

@media (max-width: 760px) {
  .activities-subhero {
    min-height: 740px;
    background-position: 54% center;
  }
}

/* 2026-06-14: Requested responsive and modal refinements. */
html.modal-open,
body.modal-open,
html.course-modal-open,
body.course-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.lightbox {
  touch-action: none;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 54px;
  border: 1px solid rgba(255, 249, 239, 0.52);
  border-radius: 4px;
  background: rgba(255, 249, 239, 0.13);
  color: #fff9ef;
  font: inherit;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox__nav--prev { left: clamp(12px, 3vw, 30px); }
.lightbox__nav--next { right: clamp(12px, 3vw, 30px); }

.course-modal__head {
  grid-template-columns: 1fr !important;
  justify-items: end;
  padding-block: 10px !important;
}

.course-modal__title-block {
  display: none !important;
}

.course-modal__tools {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  align-items: center !important;
}

.course-modal__tools button,
.course-modal__tools a,
.course-modal__tools span {
  flex: 0 0 auto !important;
}

.pdf-modal__title {
  display: none !important;
}

.pdf-modal__head {
  justify-content: flex-end !important;
}

.pdf-modal__actions [data-pdf-print] {
  display: none !important;
}

.pdf-modal__actions [data-pdf-link]::after,
.course-modal__tools [data-course-pdf]::after {
  content: "PDF";
  margin-left: 5px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

@media (max-width: 760px) {
  .site-header .nav-menu > a,
  .site-header .nav-dropdown__toggle {
    padding-left: 16px !important;
  }

  .site-header .nav-dropdown__menu a {
    padding-left: 30px !important;
  }

  .board-hero,
  .activities-subhero {
    background-position: 34% center !important;
  }

  .board-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .board-lead-card,
  .board-group,
  .board-person-card,
  .board-tradition-panel,
  .board-tradition-facts {
    min-width: 0 !important;
    width: 100% !important;
  }

  .board-person-card h3,
  .board-lead-card h2,
  .board-group__head h3 {
    overflow-wrap: anywhere;
  }

  .offer-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .offer-detail-card {
    min-height: 0 !important;
    padding: 18px !important;
  }

  .offer-detail-card img {
    max-height: 230px !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }

  .offers-subhero,
  .voucher-subhero {
    min-height: 500px !important;
    background-size: cover !important;
    background-position: 58% center !important;
  }

  .pdf-modal__head {
    display: block !important;
    padding: 8px !important;
  }

  .pdf-modal__tools {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    width: 100%;
    overflow-x: auto;
  }

  .pdf-modal__tools button,
  .pdf-modal__tools span {
    min-width: 36px !important;
    min-height: 36px !important;
  }

  .pdf-modal__tools [data-pdf-zoom-level] {
    min-width: 50px !important;
  }

  .pdf-modal__actions {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 8px !important;
  }

  .course-modal__tools {
    width: 100%;
    justify-content: flex-end;
    overflow-x: auto;
  }

  .course-modal__tools button,
  .course-modal__tools a,
  .course-modal__tools span {
    min-width: 38px !important;
    min-height: 38px !important;
  }
}

@media (max-width: 420px) {
  .offer-detail-card img {
    max-height: 190px !important;
  }

  .lightbox__nav {
    width: 40px;
    height: 48px;
  }
}
/* 2026-06-14: iPhone offer hero title fit. */
@media (max-width: 760px) {
  .offers-subhero .subhero-copy h1,
  .voucher-subhero .subhero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 8.5vw, 2.85rem) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}
/* 2026-06-14: Datenschutzseite typografisch und mobil nach Review geschärft. */
.privacy-subhero .subhero-copy h1 {
  max-width: 100%;
  font-size: clamp(2.75rem, 3.9vw, 3.95rem);
  white-space: nowrap;
  hyphens: none;
  overflow-wrap: normal;
}

.privacy-contact-list {
  display: grid;
  gap: 10px;
  max-width: 660px;
  margin-top: 14px;
  line-height: 1.5;
}

.privacy-contact-list p {
  margin: 0;
}

.privacy-contact-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-contact-list .privacy-address-line {
  color: var(--muted);
  font-weight: 700;
}

.privacy-contact-list a {
  color: var(--green-deep);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .privacy-subhero .subhero-copy h1 {
    font-size: clamp(1.72rem, 7.2vw, 2.75rem) !important;
    line-height: 1 !important;
  }

  .privacy-contact-list {
    gap: 9px;
    margin-top: 12px;
  }
}
/* 2026-06-14: Responsive-Menü Dropdowns per Klick öffnen und links stabil ausrichten. */
@media (max-width: 1180px) {
  .site-header .nav-dropdown {
    width: 100%;
  }

  .site-header .nav-dropdown__toggle {
    cursor: pointer;
  }

  .site-header .nav-dropdown__menu {
    display: none !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 4px 0 6px 14px !important;
    border: 0 !important;
    border-left: 2px solid rgba(161, 77, 45, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .site-header .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid !important;
  }

  .site-header .nav-dropdown__menu a {
    justify-content: flex-start !important;
    width: 100% !important;
    padding-left: 14px !important;
    text-align: left !important;
  }

  .site-header .nav-dropdown.is-open .nav-caret {
    transform: rotate(180deg);
  }
}
/* 2026-06-14: Responsive-Menue Unterpunkte standardmaessig ausgeklappt. */
@media (max-width: 1180px) {
  .site-header .nav-dropdown__menu {
    display: grid !important;
  }

  .site-header .nav-dropdown .nav-caret {
    transform: rotate(180deg);
  }
}

/* 2026-06-14: Vorstand-Hero mobil beide Personen sichtbar. */
@media (max-width: 760px) {
  .board-hero {
    background-position: 80% center !important;
  }
}

/* 2026-06-14: Angebote-Seite optisch/responsiv nach Review beruhigt. */
.offer-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.offer-detail-card {
  align-items: stretch;
}

.offer-detail-card img {
  object-fit: contain;
  background: rgba(248, 241, 229, 0.78);
}

.offer-detail-card h3 {
  max-width: 13ch;
  overflow-wrap: normal;
  hyphens: none;
}

.offer-detail-card p:not(.eyebrow) {
  max-width: 42ch;
}

@media (max-width: 1180px) {
  .offer-detail-grid {
    grid-template-columns: 1fr;
  }

  .offer-detail-card h3 {
    max-width: 18ch;
  }
}

@media (max-width: 760px) {
  .offers-subhero {
    background-position: 61% center !important;
  }

  .offers-subhero .subhero-grid {
    align-items: end;
  }

  .offers-subhero .subhero-copy {
    padding-bottom: 34px;
  }

  .offer-detail-card h3 {
    max-width: 100%;
  }
}
