/* ==========================================================================
   Theaterverein Benningen — Main Stylesheet
   Signature element: perforated ticket-stub cards for Aktuelles / Theaterstücke.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------ Skip link -------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------ Header ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-white);
  box-shadow: 0 1px 0 var(--color-border), 0 4px 16px rgba(5,46,66,0.08);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-primary);
}
.site-header__brand img { height: 56px; width: auto; }

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}
.site-nav__toggle svg { width: 26px; height: 26px; }

.site-nav__list {
  display: flex;
  gap: 4px;
}
.site-nav__link {
  display: inline-block;
  padding: 10px 16px;
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-nav__link:hover { color: var(--color-primary); background: var(--color-bg-alt); }
.site-nav__link.is-active { color: var(--color-primary); background: rgba(148,181,198,0.28); }

@media (max-width: 1024px) {
  .site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav__list {
    position: fixed;
    inset: 68px 0 0 0;
    flex-direction: column;
    background: var(--color-primary);
    padding: 12px 24px 32px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .site-nav__list.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* Overlay keeps the dark navy background — override the (now dark-on-white)
     base link color back to light text for contrast inside the dark overlay. */
  .site-nav__list .site-nav__link { display: block; padding: 14px 12px; font-size: 1.05rem; color: rgba(255,255,255,0.85); }
  .site-nav__list .site-nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
  .site-nav__list .site-nav__link.is-active { color: #fff; background: rgba(148,181,198,0.22); }
}

/* ------------------------------ Buttons ----------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-secondary); color: var(--color-primary); }
.btn--primary:hover { background: var(--color-secondary-hover); }
.btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--dark { border-color: var(--color-primary); color: var(--color-primary); }
.btn--dark:hover { background: var(--color-primary); color: #fff; }
.btn--instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.btn--instagram:hover { filter: brightness(1.08); color: #fff; }
.btn--instagram svg { width: 18px; height: 18px; fill: currentColor; }

/* ------------------------------ Eyebrow / heading pattern ---------------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-curtain);
  margin-bottom: 12px;
}
.eyebrow--on-dark { color: var(--color-secondary); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); font-weight: 800; color: var(--color-primary); }
.section-head p { margin-top: 14px; color: var(--color-text-light); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: var(--space-section) 0; }

/* ------------------------------ Hero -------------------------------------- */
.hero {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: var(--space-section);
}
.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero p.hero__subtitle {
  margin-top: 22px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.vorschau-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-primary-light);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
/* object-fit: contain statt cover — Content-Fotos (z.B. Gruppenbild) dürfen nie
   beschnitten werden. Container-Ratio ist bewusst auf das Standard-Foto-Format
   (4:3) abgestimmt, damit i.d.R. gar kein Letterboxing entsteht. */
.hero__media img { width: 100%; height: 100%; object-fit: contain; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,46,66,0) 55%, rgba(5,46,66,0.55) 100%);
}

.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 56px 0 64px;
}
.page-hero .eyebrow { color: var(--color-secondary); }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.02em; max-width: 20ch; }
.page-hero p { margin-top: 16px; color: rgba(255,255,255,0.82); max-width: 56ch; font-size: 1.05rem; }

/* ------------------------------ Stats ------------------------------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.stat span { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--color-text-light); font-weight: 600; }

/* ------------------------------ Ticket-stub cards -------------------------
   Signature: Aktuelles + Theaterstücke cards look like torn ticket stubs —
   dashed perforation with circular notches between image and text zone. */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ticket-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(5,46,66,0.06), 0 12px 28px -18px rgba(5,46,66,0.25);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.ticket-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(5,46,66,0.08), 0 22px 36px -18px rgba(5,46,66,0.35); }
/* Feste Höhe + object-fit:cover: Cover-Bild füllt die Kartenfläche komplett aus,
   Karten im Grid bleiben gleich groß. Bilder, die schon passen, werden kaum
   sichtbar beschnitten; abweichende Formate werden entsprechend zugeschnitten. */
.ticket-card__image { position: relative; overflow: hidden; height: 200px; background: var(--color-bg-alt); }
.ticket-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticket-card__gallery-strip {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
}
.ticket-card__gallery-strip img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(5,46,66,0.35);
}

.ticket-card__perforation {
  position: relative;
  height: 1px;
  margin: 0 18px;
  border-top: 2px dashed var(--color-border);
}
.ticket-card__perforation::before,
.ticket-card__perforation::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
}
.ticket-card__perforation::before { left: -26px; }
.ticket-card__perforation::after { right: -26px; }

.ticket-card__body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ticket-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-curtain);
  background: rgba(122,36,48,0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.ticket-card__date { font-size: 0.8rem; color: var(--color-muted); font-weight: 600; }
.ticket-card__title { font-size: 1.08rem; font-weight: 800; color: var(--color-primary); line-height: 1.35; }
.ticket-card__excerpt { color: var(--color-text-light); font-size: 0.94rem; }
.ticket-card__more { margin-top: auto; font-weight: 700; font-size: 0.88rem; color: var(--color-curtain); }

/* ------------------------------ Filter bar --------------------------------*/
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  border: 2px solid var(--color-border);
  background: var(--color-bg-white);
  color: var(--color-text-light);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  min-height: 48px;
}
.filter-btn:hover { border-color: var(--color-secondary); color: var(--color-primary); }
.filter-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ------------------------------ People grids ------------------------------*/
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.people-card { text-align: center; }
/* Runde Avatare: bewusste Ausnahme von der Kein-Beschnitt-Regel
   (User-Entscheidung 2026-07-12) — Querformat-Fotos werden im Kreis beschnitten. */
.people-card__photo {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  width: 100%;
  max-width: 168px;
  border: 3px solid var(--color-bg-white);
  box-shadow: 0 10px 24px -12px rgba(5,46,66,0.35);
  background: var(--color-bg-alt);
}
.people-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.people-card__name { font-weight: 800; color: var(--color-primary); font-size: 1rem; }
.people-card__role { font-size: 0.85rem; color: var(--color-text-light); margin-top: 2px; }

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

/* ------------------------------ Icon-box (Team CTA) ------------------------*/
.icon-box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.icon-box { text-align: center; padding: 8px; }
.icon-box__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-curtain);
}
.icon-box__icon svg { width: 24px; height: 24px; fill: currentColor; }
.icon-box h3 { font-size: 1.05rem; font-weight: 800; color: var(--color-primary); margin-bottom: 8px; }
.icon-box p { color: var(--color-text-light); font-size: 0.94rem; }

/* ------------------------------ Timeline (Über uns) ------------------------*/
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.timeline { position: relative; padding-left: 34px; border-left: 3px solid var(--color-secondary); }
.timeline__item { margin-bottom: 30px; position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-curtain);
  border: 3px solid var(--color-bg-white);
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.timeline__year { display: block; font-size: 0.8rem; font-weight: 800; color: var(--color-secondary-hover); text-transform: uppercase; letter-spacing: 0.08em; }
.timeline__title { margin: 4px 0 6px; color: var(--color-primary); font-size: 1.05rem; font-weight: 800; }
.timeline__text { color: var(--color-text-light); font-size: 0.94rem; margin: 0; }

/* ------------------------------ Gallery / lightbox -------------------------*/
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Kein Crop: feste Kartenhöhe + object-fit:contain zeigt jedes Foto
   vollständig, Hoch-/Querformat-Mischungen bekommen aber trotzdem
   gleich große Karten (Letterboxing über --color-bg-alt). */
.gallery-item { position: relative; height: 280px; background: var(--color-bg-alt); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery-item--link { cursor: pointer; text-decoration: none; color: inherit; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-item__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 0.82rem; font-weight: 700; color: #fff;
  background: linear-gradient(0deg, rgba(5,46,66,0.85), transparent);
}
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.detail-gallery img { border-radius: var(--radius-sm); cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5,10,15,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,0.12); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); color: #fff; border: none;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ------------------------------ Post / Detail body -------------------------*/
.article {
  background: var(--color-bg-white);
}
/* 16:9 statt 21:9 + object-fit:contain: das Cover-Foto (Hoch- oder Querformat,
   je Theaterstück unterschiedlich) wird nie beschnitten; ein sehr breites
   Banner-Verhältnis würde Hochformat-Fotos unnötig winzig wirken lassen. */
.article__media { width: 100%; aspect-ratio: 16/9; max-height: 50vh; overflow: hidden; background: var(--color-bg-alt); }
.article__media img { width: 100%; height: 100%; object-fit: contain; }
.article__body { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.article__body p { margin-bottom: 18px; color: var(--color-text-light); font-size: 1.05rem; }
.article__body p:last-child { margin-bottom: 0; }
.article__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.article__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-curtain); font-weight: 700; text-decoration: none; font-size: 0.9rem;
  margin-bottom: 28px;
}

/* Aktuelles-Beitrag: Bild kleiner + neben dem Text statt volle Breite/beschnitten */
.article-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; padding: var(--space-section) clamp(28px, 4vw, 48px); }
.article-grid__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  aspect-ratio: 4/5;
}
.article-grid__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.article-grid__body { min-width: 0; overflow-wrap: break-word; }
.article-grid__body p { margin-bottom: 18px; color: var(--color-text-light); font-size: 1.05rem; }
.article-grid__body p:last-child { margin-bottom: 0; }

/* ------------------------------ Contact form -------------------------------*/
.contact-section { background: var(--color-primary); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.history-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.contact-info__item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-info__item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-secondary); margin-top: 2px; }
.contact-info__item span { color: rgba(255,255,255,0.85); }
.contact-info__item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  min-height: 48px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.45); }
.form-field select { color: #fff; }
.form-field select option { color: #1a1a2e; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 10px; }
.form-status { margin-top: 14px; font-weight: 700; font-size: 0.92rem; }
.form-status[data-state="success"] { color: #9adba0; }
.form-status[data-state="error"] { color: #e79aa0; }

/* ------------------------------ Footer -------------------------------------*/
.site-footer { background: #041f2c; color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-weight: 800; color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-col a.footer-insta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; margin-top: 2px; }
.footer-col a.footer-insta:hover { color: #fff; filter: brightness(1.08); }
.footer-col a.footer-insta svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-credit {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: rgba(255,255,255,0.65);
  font-size: 0.78rem; letter-spacing: 0.02em;
  opacity: 0.8;
  transition: opacity var(--dur) var(--ease);
}
.footer-credit:hover { opacity: 1; }
.footer-credit svg { height: 18px; width: auto; }

/* ------------------------------ Legal pages ---------------------------------*/
.legal-body { padding: var(--space-section) 0; background: var(--color-bg-white); }
.legal-body h2 { font-size: 1.35rem; color: var(--color-primary); font-weight: 800; margin: 36px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; color: var(--color-primary); font-weight: 800; margin: 24px 0 10px; }
.legal-body p { margin-bottom: 14px; color: var(--color-text-light); }
.legal-body a { color: var(--color-curtain); }
.legal-body ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; color: var(--color-text-light); }
.legal-body li { margin-bottom: 6px; }

/* ------------------------------ Nächstes Stück (Platzhalter) ---------------*/
.btn--upcoming {
  background: #f4d77d;
  color: #102f40;
  box-shadow: 0 8px 22px rgba(244, 215, 125, 0.18);
}

.btn--upcoming:hover {
  background: #ffe69a;
  color: #102f40;
  box-shadow: 0 10px 26px rgba(244, 215, 125, 0.3);
}

.next-piece-hero {
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
}

.next-piece-hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 78px;
}

.next-piece-hero__copy h1 {
  max-width: 17ch;
  color: #fff;
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.next-piece-hero__copy p {
  max-width: 48ch;
  margin-top: 22px;
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
}

.next-piece-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-secondary);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.next-piece-secret {
  position: relative;
  display: grid;
  min-height: 350px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244,215,125,.38);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 18%, rgba(244,215,125,.25), transparent 44%),
    linear-gradient(145deg, #214c65, #0b2637 74%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.48);
}

.next-piece-secret::before,
.next-piece-secret::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.next-piece-secret::before {
  inset: 0 0 auto;
  height: 12px;
  background: linear-gradient(90deg, #7a2430, #9e3b47 50%, #7a2430);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.next-piece-secret::after {
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, #7a2430, #9e3b47 50%, #7a2430);
}

.next-piece-secret__mark {
  display: grid;
  width: 164px;
  height: 164px;
  place-items: center;
  border: 2px solid rgba(244,215,125,.78);
  border-radius: 50%;
  color: #ffe69a;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 28px rgba(244,215,125,.32);
  box-shadow: 0 0 0 16px rgba(244,215,125,.06), 0 0 70px rgba(244,215,125,.12);
}

.next-piece-secret__label {
  position: absolute;
  right: 18px;
  bottom: 28px;
  left: 18px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.next-piece-update {
  padding: var(--space-section) 0;
  background: var(--color-bg-alt);
}

.next-piece-update__card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  max-width: 840px;
  align-items: center;
  margin: 0 auto;
  padding: 30px 34px;
  border: 1px solid #e8dfc3;
  border-radius: var(--radius);
  background: #fffdf6;
  box-shadow: 0 16px 38px rgba(16,47,64,.07);
}

.next-piece-update__icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: #f4d77d;
  color: #102f40;
  font-size: 2rem;
  font-weight: 900;
}

.next-piece-update__card h2 {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 900;
}

.next-piece-update__card p {
  color: var(--color-text-light);
}

.next-piece-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 1024px) {
  .next-piece-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .next-piece-secret { order: -1; min-height: 300px; }
}

@media (max-width: 767px) {
  .next-piece-hero__grid { padding-top: 42px; padding-bottom: 52px; }
  .next-piece-secret { min-height: 290px; }
  .next-piece-secret__mark { width: 132px; height: 132px; font-size: 4.8rem; }
  .next-piece-update__card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .next-piece-update__icon { width: 60px; height: 60px; font-size: 1.6rem; }
  .next-piece-actions .btn { width: 100%; justify-content: center; }
}

/* ------------------------------ Utility ------------------------------------*/
.bg-alt { background: var(--color-bg-alt); }
.bg-white { background: var(--color-bg-white); }
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ------------------------------ Responsive ---------------------------------*/
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__media { order: -1; aspect-ratio: 4/3; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .vorstand-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-box-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .history-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-grid__media { aspect-ratio: 16/10; }
  .timeline-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { height: 240px; }
}

@media (max-width: 767px) {
  section { padding: calc(var(--space-section) * 0.72) 0; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .ticket-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .vorstand-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; }
  .gallery-item { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { max-width: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .article__media { aspect-ratio: 4/3; max-height: 50vh; width: 100%; }
}

/* Current production: keep the portrait flyers fully visible. */
#auffuehrungen, #flyer { scroll-margin-top: calc(100px + var(--staging-bar-height, 0px)); }
.current-play-preview { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1020px; }
.current-play-preview__flyer { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 12px 28px rgba(5,46,66,.14); }
.current-play-preview__flyer img,
.current-play-hero__flyer img,
.current-play-flyers img { display: block; width: 100%; height: auto; object-fit: contain; }
.current-play-preview__copy h2 { color: var(--color-primary); font-size: var(--fs-h2); line-height: var(--lh-heading); font-weight: 900; margin: 10px 0 18px; }
.current-play-preview__copy p { color: var(--color-text-light); margin-bottom: 20px; }
.current-play-preview__copy .current-play-preview__dates { color: var(--color-curtain); font-weight: 800; }
.current-play-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.current-play-hero { background: var(--color-primary); color: #fff; }
.current-play-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.current-play-hero__copy .article__back { display: block; color: rgba(255,255,255,.75); margin-bottom: 32px; }
.current-play-hero__copy h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 900; margin: 14px 0 10px; }
.current-play-hero__copy p { color: rgba(255,255,255,.85); margin-bottom: 24px; max-width: 57ch; }
.current-play-hero__copy .current-play-hero__subtitle { font-size: 1.25rem; font-weight: 700; color: var(--color-secondary); }
.current-play-hero__copy .current-play-test-note { font-size: var(--fs-small); margin: 18px 0 0; }
.current-play-hero__flyer { display: block; max-width: 400px; width: 100%; justify-self: end; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.current-play-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.performance-list__item { border-top: 1px solid var(--color-border); padding: 18px 0; }
.performance-list__item:last-child { border-bottom: 1px solid var(--color-border); }
.performance-list__item h3 { font-size: 1.12rem; font-weight: 800; color: var(--color-primary); margin-bottom: 4px; }
.performance-list__item p { color: var(--color-text-light); }
.current-play-prices { border-left: 4px solid var(--color-curtain); padding: 28px; background: #fff; }
.current-play-prices h2 { color: var(--color-primary); font-size: var(--fs-h3); font-weight: 800; margin: 8px 0 22px; }
.current-play-prices dl { margin-bottom: 24px; }
.current-play-prices dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.current-play-prices dd { white-space: nowrap; font-weight: 900; font-size: 1.5rem; color: var(--color-curtain); }
.current-play-prices__note { margin-top: 14px; font-size: var(--fs-small); color: var(--color-text-light); }
.current-play-flyers { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.current-play-flyers figure { min-width: 0; margin: 0; }
.current-play-flyers figure > a { display: block; border: 1px solid var(--color-border); }
.current-play-flyers figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: var(--fs-small); }
.current-play-flyers figcaption > span { font-weight: 800; color: var(--color-primary); }
.current-play-flyers figcaption a { color: var(--color-curtain); text-decoration: underline; text-underline-offset: 3px; }
.contact-tickets { padding: 24px 0; margin: 22px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-tickets h3 { font-size: var(--fs-h3); font-weight: 800; margin-bottom: 8px; }
.contact-tickets p { color: rgba(255,255,255,.8); margin-bottom: 16px; }
@media (max-width: 760px) {
  .current-play-preview, .current-play-hero__grid, .current-play-details { grid-template-columns: 1fr; }
  .current-play-preview__flyer { max-width: 300px; margin-inline: auto; }
  .current-play-hero__flyer { max-width: 300px; justify-self: center; }
  .current-play-hero__copy h1 { max-width: 14ch; }
  .current-play-flyers { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .current-play-actions .btn { width: 100%; justify-content: center; }
  .current-play-prices { padding: 22px; }
}
