/* Lüdenscheider Altstadtbühne – Bild-basierte Demo */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Seiten-Wrapper & Menübutton ── */

.page-frame {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width, 1366px);
  margin: 0 auto;
  container-type: inline-size;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 8.08cqw;
  right: 5.95cqw;
  pointer-events: none;
}

.menu-toggle {
  pointer-events: auto;
  width: 8.11cqw;
  aspect-ratio: 1;
  min-width: 44px;
  max-width: 83px;
  border-radius: 50%;
  border: none;
  background: #f2f2f2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.menu-toggle:hover {
  background: #e8e8e8;
}

.menu-toggle:focus-visible {
  outline: 2px solid #c47a0c;
  outline-offset: 2px;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #888;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Overlay-Menü ── */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  cursor: pointer;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #f5f0e8;
  padding: 80px 36px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-panel__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-panel__close:hover {
  color: #000;
}

.menu-panel__nav {
  list-style: none;
}

.menu-panel__nav li + li {
  margin-top: 28px;
}

.menu-panel__nav a {
  display: block;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.menu-panel__nav a:hover,
.menu-panel__nav a:focus-visible {
  color: #7f5f0c;
}

.menu-panel__nav a.is-active {
  color: #7f5f0c;
  font-weight: 600;
}

/* ── Seiteninhalt ── */

.page-content {
  display: flex;
  justify-content: center;
  padding: 0;
  min-height: 100vh;
}

.page-image {
  display: block;
  width: 100%;
  height: auto;
}

.page-footer-spacer {
  height: 24px;
}
