:root {
  --bg: #ffffff;
  --ink: #151515;
  --muted: #6f6f6f;
  --soft: #f6f6f6;
  --line: #dedede;
  --line-strong: #c9c9c9;
  --brand: #7a7e8a;
  --button: #32373c;
  --button-hover: #1f2327;
  --accent: #9b1c31;
  --shadow: 0 18px 42px #00000018;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 28px;
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  align-items: center;
  gap: 28px;
}

.site-brand {
  justify-self: start;
  display: inline-grid;
  gap: 8px;
  text-decoration: none;
  color: var(--brand);
  animation: logoIn 0.7s ease both;
}

.site-logo {
  width: min(220px, 46vw);
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  color: #1c1c1c;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  line-height: 1.15;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #1f1f1f;
  padding: 8px 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.nav-toggle > span:not(.nav-toggle-text) {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateX(15px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateX(-15px) rotate(-45deg);
}

.nav-toggle-text {
  font-size: 0.9rem;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  color: #111;
}

.section-heading h1 {
  font-size: clamp(2.35rem, 6vw, 4.25rem);
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
}

.section-heading p:last-child {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.55;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 22px 28px;
}

.hero-shell {
  position: relative;
  margin-top: 34px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.hero-track {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 34px;
  padding: 36px 56px 82px;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 390px;
  background: #fff;
}

.hero-media > img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
  filter: saturate(0.96);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hero-slide.active .hero-media > img {
  animation: imageSettle 0.8s ease both;
}

.hero-shell:hover .hero-media > img {
  transform: scale(1.018);
  filter: saturate(1.04);
}

.hero-media-fallback {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  gap: 18px;
  align-content: center;
  padding: 42px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 28% 20%, #ffffff 0 16%, transparent 17%),
    linear-gradient(135deg, #f7f7f7 0%, #ffffff 44%, #eeeeee 100%);
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-media-fallback-logo {
  width: min(270px, 78%);
  height: auto;
  opacity: 0.72;
}

.hero-content {
  display: grid;
  gap: 10px;
  align-content: center;
}

.hero-kicker,
.hero-meta,
.hero-location,
.hero-subtitle,
.hero-description {
  margin: 0;
}

.hero-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.06;
}

.hero-subtitle {
  color: #303030;
  font-size: 1.02rem;
  font-weight: 700;
}

.hero-description,
.hero-meta,
.hero-location {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.hero-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 22px;
  color: #fff;
  background: var(--button);
  border: 2px solid var(--button);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-link:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px #00000026;
}

.hero-link.is-sold-out {
  background: var(--accent);
  border-color: var(--accent);
  pointer-events: none;
}

.hero-empty {
  min-height: 330px;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 30px;
  text-align: center;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: #d5d5d5;
  padding: 0;
  cursor: pointer;
}

.hero-dot.active {
  background: var(--button);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 7;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffffd9;
  color: #222;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.hero-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.hero-arrow-prev {
  left: 8px;
}

.hero-arrow-next {
  right: 8px;
}

.events {
  max-width: 1000px;
  margin: 0 auto;
  padding: 26px 22px 16px;
}

.events-head {
  margin-bottom: 20px;
}

.events-tools,
.feed-meta {
  display: none;
}

input,
button {
  font: inherit;
}

.events-list {
  display: grid;
  gap: 0;
}

.events-list > p {
  margin: 26px 0;
  color: var(--muted);
  text-align: center;
}

.event-item {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 36px 0 42px;
  border-top: 2px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  animation: eventIn 0.55s ease forwards;
  animation-delay: calc(var(--stagger, 0) * 80ms);
}

.event-item:last-child {
  border-bottom: 2px solid var(--line);
}

.event-image-wrapper {
  width: min(815px, 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.event-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.event-item:hover .event-image-wrapper img {
  transform: scale(1.018);
  filter: saturate(1.05);
}

.event-details {
  width: min(815px, 100%);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.event-title {
  order: -1;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  line-height: 1.16;
  color: #111;
}

.event-title span {
  white-space: nowrap;
}

.event-meta,
.event-location,
.event-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.event-subtitle {
  display: none;
}

.event-meta,
.event-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.event-location-text {
  min-width: 0;
}

.event-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: 0 0 17px;
}

.event-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-icon svg circle {
  fill: currentColor;
  stroke: none;
}

.event-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 21px;
  color: #fff;
  background: var(--button);
  border: 2px solid var(--button);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-btn:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #00000024;
}

.event-btn-info {
  color: var(--button);
  background: #fff;
  border-color: var(--line-strong);
}

.event-btn-info:hover {
  color: #fff;
}

.event-btn.is-disabled {
  color: #777;
  background: var(--soft);
  border-color: var(--line);
  cursor: default;
}

.event-btn.is-sold-out,
.event-modal-actions .event-btn.is-sold-out {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  pointer-events: none;
}

.content-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 22px 54px;
}

.content-shell {
  display: grid;
  gap: 16px;
  padding-top: 34px;
  border-top: 2px solid var(--line);
}

.content-shell h1,
.content-shell h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: #111;
}

.content-shell h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.content-shell h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-top: 8px;
}

.content-shell p {
  margin: 0;
  color: #303030;
  line-height: 1.65;
}

.content-lead {
  color: #222 !important;
  font-size: 1.08rem;
  font-weight: 700;
}

.content-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  color: #303030;
  line-height: 1.55;
}

.content-note {
  color: var(--muted) !important;
  font-size: 0.94rem;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.grusswort-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.78fr);
  gap: 32px;
  align-items: start;
}

.grusswort-copy {
  display: grid;
  gap: 16px;
}

.grusswort-quote {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, #faf7f7 0%, #ffffff 100%);
  color: #1d1d1d !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.6;
}

.portrait-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfbfb 0%, #f3f3f3 100%);
  box-shadow: var(--shadow);
  animation: eventIn 0.7s ease both;
}

.portrait-card picture,
.portrait-card img {
  display: block;
  width: 100%;
}

.portrait-card img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.portrait-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.map-embed-card {
  position: relative;
  min-height: 440px;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f3efe8 0%, #f7f4ef 100%);
  overflow: hidden;
  box-shadow: 0 16px 34px #0000000d;
}

.map-embed-card.is-loaded {
  background: #fff;
}

.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, #f3efe8 0%, #f7f4ef 100%);
}

.map-consent-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 560px;
}

.map-consent p {
  margin: 0;
  color: #68737c;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  line-height: 1.55;
}

.consent-shield {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #5b6a70;
  background: #efe8df;
}

.consent-shield svg {
  width: 34px;
  height: 34px;
}

.map-consent .event-btn {
  min-width: 230px;
  min-height: 52px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-frame-shell {
  min-height: 440px;
  width: 100%;
  display: block;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 440px;
  height: 440px;
  border: 0;
}

.map-load-error {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 24px;
  text-align: center;
  color: #68737c;
  background: #fff;
}

.location-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2px;
}

.location-fact {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
}

.location-fact-label {
  color: var(--muted) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 220;
  max-width: 1260px;
  margin: 0 auto;
  border: 1px solid #d8cfc3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 60px #0000002b;
  transform: translateY(38px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 34px;
}

.cookie-banner__icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #f5f1ea;
  color: #5b6a70;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cookie-banner__icon svg {
  width: 42px;
  height: 42px;
}

.cookie-banner__text h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  line-height: 1.1;
}

.cookie-banner__text p {
  margin: 0;
  color: #68737c;
  font-size: 0.98rem;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: grid;
  gap: 12px;
  min-width: 310px;
}

.cookie-banner__actions .event-btn {
  min-height: 58px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 42px;
  border-top: 1px solid var(--line);
}

.site-footer-line {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow-x: auto;
}

.site-footer-line a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer-line a:hover {
  color: #111;
  text-decoration: underline;
}

.site-footer-copy a {
  color: #111;
}

.site-footer-sep {
  color: #b8b8b8;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.event-modal[hidden] {
  display: none;
}

.event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #111111cc;
}

.event-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: modalIn 0.22s ease both;
}

.event-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 1.35rem;
  line-height: 1;
  z-index: 2;
  cursor: pointer;
}

.event-modal-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr);
}

.event-modal-media-wrap {
  min-height: 330px;
  background: var(--soft);
}

.event-modal-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-modal-content {
  display: grid;
  gap: 11px;
  padding: 28px 28px 24px;
}

.event-modal-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.event-modal-subtitle {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.event-modal-facts {
  display: grid;
  gap: 5px;
}

.event-modal-facts p {
  margin: 0;
  color: #333;
  line-height: 1.4;
}

.event-modal-description {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #333;
  line-height: 1.6;
  white-space: pre-line;
}

.event-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes eventIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageSettle {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 24px 18px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.js-nav .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: #fffffff5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  body.js-nav .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.js-nav .main-nav a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 8vw, 3.2rem);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  body.js-nav .main-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  body.js-nav .main-nav.open a:nth-child(1) { transition-delay: 0.04s; }
  body.js-nav .main-nav.open a:nth-child(2) { transition-delay: 0.08s; }
  body.js-nav .main-nav.open a:nth-child(3) { transition-delay: 0.12s; }
  body.js-nav .main-nav.open a:nth-child(4) { transition-delay: 0.16s; }
  body.js-nav .main-nav.open a:nth-child(5) { transition-delay: 0.2s; }

  .hero-track {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 18px;
    padding: 24px 20px 86px;
    text-align: center;
  }

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

  .hero-media > img {
    max-height: 300px;
  }

  .hero-media-fallback {
    width: min(100%, 320px);
    padding: 32px;
  }

  .hero-content {
    justify-items: center;
  }

  .hero-link {
    justify-self: center;
  }

  .hero-arrow {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .hero-arrow:hover {
    transform: scale(1.06);
  }

  .hero-dots {
    bottom: 38px;
  }

  .event-modal-layout {
    grid-template-columns: 1fr;
  }

  .event-modal-media-wrap {
    min-height: 220px;
    max-height: 300px;
  }

  .site-footer-line {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
    overflow-x: visible;
  }

  .grusswort-layout {
    grid-template-columns: 1fr;
  }

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

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    text-align: center;
  }

  .cookie-banner__icon {
    margin: 0 auto;
  }

  .cookie-banner__actions {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .events,
  .content-page,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-logo {
    width: min(170px, 56vw);
  }

  .section-heading h1 {
    font-size: 2.35rem;
  }

  .hero-shell {
    margin-top: 26px;
  }

  .hero-track {
    min-height: 660px;
  }

  .hero-slide {
    padding: 20px 0 92px;
  }

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

  .hero-media > img {
    max-height: 250px;
  }

  .hero-media-fallback {
    width: min(100%, 280px);
    padding: 28px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .event-item {
    padding: 28px 0 34px;
  }

  .event-title {
    font-size: 1.55rem;
  }

  .event-meta,
  .event-location {
    align-items: flex-start;
    font-size: 0.88rem;
  }

  .event-footer,
  .content-actions,
  .event-modal-actions {
    width: 100%;
  }

  .event-btn,
  .hero-link {
    width: 100%;
  }

  .event-modal {
    padding: 10px;
  }

  .event-modal-content {
    padding: 22px 16px 18px;
  }

  .map-embed-card,
  .map-frame-shell,
  .map-frame {
    min-height: 380px;
  }

  .map-frame {
    height: 380px;
  }

  .map-consent {
    padding: 18px;
  }

  .map-consent .event-btn,
  .cookie-banner__actions .event-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
