/* =====================================================
   Root / Custom Properties
   ===================================================== */
:root {
  --primary:    #45464C;
  --accent:     #FCF705;
  --accent-btn: #FCF705;
  --white:      #ffffff;
  --gray-f1:    #f1f1f1;
  --gray-f5:    #f5f5f5;
  --gray-55:    #555555;
  --gray-77:    #777777;
  --gray-99:    #929292;
  --black:      #000000;
  --red:		#db0f09;
  --pellegrini:	#62A3D1;

  --font:       'Fira Sans', Sans-serif;
  --container:  1140px;
  --gap:        20px;
}

/* =====================================================
   Reset
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }

/* =====================================================
   Layout
   ===================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER — exakt nach Original-Screenshot 01
   Weißer Hintergrund, Skizze-Logo links + großer Text,
   Nav rechts uppercase 13px letter-spacing .6px
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-f1);
  width: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;          /* Original: Skizze 70px + Padding = ~90px */
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 20px;
  gap: 20px;
  transition: all .3s ease-in-out;
}

/* Logo: Skizze-Bild + Text nebeneinander */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  max-width: 440px;
  text-decoration: none;
}

/* Skizze-Bild: logo.png — im Original ca. 65-70px hoch */
.site-logo__img,
.site-logo img {
  height: 110px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: all .3s ease-in-out;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--primary);
  line-height: 1.1;
}

/* "KULTUR IM MARGARETHENHOFF" — original sehr groß, fett, 2-zeilig */
.site-logo__text strong {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--primary);
  line-height: 1.1;
}

/* "Kisdorf – Kleines Dorf – Große Kultur" */
.site-logo__text span {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  color: var(--primary);
  margin-top: 5px;
  letter-spacing: 0.01em;
}

/* =====================================================
   NAVIGATION
   Quelle wp.css: font-size:13px; letter-spacing:.6px; color:#555; line-height:74px
   text-transform: uppercase (aus Screenshots)
   ===================================================== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 90px;
  flex-shrink: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--gray-55);
  padding: 0 15px;
  white-space: nowrap;
  transition: color .2s ease;
  text-decoration: none;
}

.site-nav a:hover { color: var(--primary); }
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform .2s;
}

/* =====================================================
   EVENTS-SECTION & GRID
   ===================================================== */
.events-section {
  padding: 20px 0 40px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   EVENT CARD — Exakt nach Original-Screenshot
   - Gelbes Banner OBEN mit UPPERCASE-Datum
   - Schwarzer Gradient-Overlay
   - Weißer UPPERCASE-Titel unten über dem Bild
   - Kein Rahmen, hover-shadow
   Quelle wp.css layout-a:
     gradient: linear-gradient(180deg,transparent 0,rgba(0,0,0,.4) 40%,rgba(0,0,0,.8))
     title: text-transform:uppercase; font-weight:500; letter-spacing:.5px
     category-wrapper: color:#fff; text-transform:uppercase
   ===================================================== */
.event-card {
  position: relative;
  overflow: hidden;
  background: var(--gray-f5);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: box-shadow .25s ease;
}

.event-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.event-card a {
  display: block;
  position: relative;
}

/* Bild-Container */
.event-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #e0e0e0;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.event-card:hover .event-card__image img {
  transform: scale(1.05);
}

/* Gradient-Overlay NUR für Titelbereich-Lesbarkeit (ab 50% von oben) */
.event-card__image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  top: 50%;
  background: linear-gradient(180deg, transparent 0, rgba(0,0,0,.4) 40%, rgba(0,0,0,.75));
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s ease;
}

/* Hover-Overlay über gesamtes Bild — wie Original thumbnail-bg */
.event-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s ease;
}

.event-card:hover .event-card__image::before {
  opacity: 1;
}

/* GELBES DATUM-LABEL oben rechts — exakt nach Original (category-column)
   Original: position:absolute; top:0; right:0; max-width:calc(100%-100px)
   anwp-pg-category__wrapper-filled: background:#FAE726; padding:4px; border-radius:2px */
.event-card__date {
  position: absolute;
  top: 10px; right: 0;
  z-index: 3;
  max-width: calc(100% - 40px);
  background-color: var(--accent-btn);  /* #FAE726 */
  color: var(--primary);
  font-family: var(--font);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 8px;
  line-height: 1.2;
  border-radius: 0 0 0 2px;
}

/* WEISSER TITEL-OVERLAY unten
   Quelle: anwp-pg-post-teaser__title → uppercase, fw:500, ls:.5px */
.event-card__title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 10px 12px 12px;
  font-family: var(--font);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  word-spacing: 1px;
  color: #ffffff;
  line-height: 1.2;
  /* Ellipsis nach 2 Zeilen */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Status-Badge */
.event-card__badge {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 10px 12px 12px;
  font-family: var(--font);
  font-size: clamp(16px, 1.1vw, 14px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 8px;
  word-spacing: 1px;
  color: #ffffff;
  line-height: 1.2;
  text-align: center;
  /* Ellipsis nach 2 Zeilen */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
    
}
.event-card__badge--soldout   { background: var(--red); }
.event-card__badge--cancelled { background: var(--red); }
.event-card__badge--postponed { background: var(--red); }

/* Vergangene Events */
.event-card--past .event-card__image img {
  filter: brightness(.82) saturate(.7);
}

/* =====================================================
   VERGANGENE VERANSTALTUNGEN — Trennlinie
   ===================================================== */
.past-divider {
  max-width: var(--container);
  margin: 4px auto;
  padding: 0 20px;
}

.past-divider__card {
  position: relative;
  overflow: hidden;
  background: #111;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

/* Verschwommenes Hintergrundbild — identisches Muster wie event-hero__bg */
.past-divider__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.45);
  transform: scale(1.12);
}

/* Scharfes Bild zentriert obendrauf */
.past-divider__img {
  position: relative;
  z-index: 1;
  max-height: 280px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.past-divider__label {
  position: absolute;
  z-index: 2;
  font-family: var(--font);
  font-size: clamp(14px, 2.5vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}

@media (max-width: 640px) {
  .past-divider__card { max-height: 180px; }
  .past-divider__img  { max-height: 160px; }
}

/* =====================================================
   EVENT-DETAILSEITE
   ===================================================== */
.event-hero {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.45);
  transform: scale(1.12);
}

.event-hero__img {
  position: relative;
  z-index: 1;
  max-height: 480px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .event-hero      { max-height: 280px; }
  .event-hero__img { max-height: 260px; }
}

.event-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.event-detail__meta { margin-bottom: 24px; }

.event-detail__termin {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-77);
  margin-bottom: 8px;
}

.event-detail__title {
  font-family: var(--font);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 6px;
}

/* Neu: Untertitel unter dem Titel */
.event-detail__subtitle {
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.event-detail__date {
  font-family: var(--font);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 500;
  color: var(--primary);
}

.event-detail__status {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-top: 10px;
}

.event-detail__divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 24px 0;
}

.event-detail__description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--primary);
}
.event-detail__description p { margin-bottom: 1em; }
.event-detail__description strong,
.event-detail__description b { font-weight: 600; }

.event-detail__credit {
  font-size: 15px;
  color: var(--gray-99);
  margin-top: 12px;
}

/* Karten & Preise — kein gelber Streifen links, kein grauer Hintergrund */
.karten-box {
  margin: 8px 0 32px;
}
.karten-box__title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Besonderer Hinweis: nur Überschrift fett + Text, kein Balken/Grau */
.karten-box__hinweis {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
}
.karten-box__hinweis p { margin-bottom: 0.4em; }

.karten-box__label {
  font-weight: 700;
  font-size: 14px;
  margin: 14px 0 6px;
  color: var(--primary);
}

.karten-box__ort {
  font-size: 13px;
  color: var(--gray-77);
  margin-top: 16px;
  padding-top: 12px;
}
.karten-box__ort a { border-bottom: 1px solid currentColor; font-style: italic; }

.karten-box p, .karten-box div {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 8px;
  color: var(--primary);
}
.karten-box a { border-bottom: 1px solid var(--gray-f1); transition: border-color .2s; font-style: italic; }
.karten-box a:hover { border-color: var(--primary); }

/* Instagram-Link */
.event-detail__instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-77);
  margin-top: 12px;
  transition: color .2s;
}
.event-detail__instagram:hover { color: var(--primary); }
.event-detail__instagram svg { width: 18px; height: 18px; }

/* =====================================================
   TEXT-SEITEN (Über uns, Kontakt, etc.)
   ===================================================== */
.page-hero {
  background: var(--gray-f5);
  border-bottom: 3px solid var(--accent-btn);
  padding: 48px 20px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--primary);
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Abschnitts-Überschriften — wie im Original */
.page-content h1, .page-content h2, .page-content h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin: 2.2em 0 0.6em;
}

/* H1: "Schön dass Sie hier sind!" */
.page-content h1 {
  font-size: clamp(22px, 3vw, 32px);
  margin-top: 0;
  margin-bottom: 0.4em;
  font-weight: 700;
}

/* H2: Abschnitts-Überschriften mit Icon — wie WP Original */
.page-content h2 {
  font-size: clamp(18px, 2.2vw, 24px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 12px;
  margin-top: 2.5em;
}

/* Icon-Container — kein Hintergrund, direkt wie im WP-Original */
.page-content .section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  /* KEIN background, KEIN border */
}

.page-content .section-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.page-content h3 { font-size: 15px; font-weight: 700; margin: 1.2em 0 0.3em; }

.page-content p  {
  margin-bottom: 1em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary);
}
.page-content strong, .page-content b { font-weight: 700; }
.page-content a  {
  color: var(--primary);
  border-bottom: 1px solid var(--gray-f1);
  transition: border-color .2s;
}
.page-content a:hover { border-color: var(--primary); }

/* E-Mail-Links */
.page-content a[href^="mailto:"] {
  color: #1a6a8a;
  border-bottom-color: rgba(26,106,138,.3);
}
.page-content a[href^="mailto:"]:hover {
  border-bottom-color: #1a6a8a;
}

/* Kontakt-Formular Überschrift */
.contact-form__heading {
  font-family: var(--font);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-f1);
  margin: 2.5em 0 1.2em;
}

/* Sponsor-Grid auf der Sponsoren-Seite — farbig wie im Footer */
.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  margin: 20px 0 28px;
}
.sponsor-grid img {
  height: 56px; width: auto; object-fit: contain;
  /* KEINE Graustufen — Original-Farben */
  filter: none;
  opacity: 1;
  transition: opacity .2s;
}
.sponsor-grid img:hover { opacity: .75; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 12px 24px;
  background-color: var(--accent-btn);
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: background .2s;
  box-shadow: 1px 1px 3px 1px rgba(0,0,0,.5);
  width: fit-content;
}
.btn:hover {
  background-color: var(--accent);
  box-shadow: 1px 1px 10px 1px rgba(0,0,0,.5);
}

/* Kontakt-Formular */
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin-top: 24px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gray-77);
}
.form-group input,
.form-group textarea {
  font-family: var(--font); font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #ddd; background: #fff; color: var(--primary);
  outline: none; transition: border-color .2s; resize: vertical;
  box-shadow: 1px 1px 3px 1px rgba(0,0,0,.15);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

/* Archiv */
.archiv-list { max-width: var(--container); margin: 0 auto; padding: 40px 20px; }
.archiv-list__header { margin-bottom: 32px; }
.archiv-list__header h1 {
  font-family: var(--font); font-size: clamp(20px, 3vw, 32px);
  font-weight: 800; text-transform: uppercase; color: var(--primary);
}
.archiv-year { margin-bottom: 28px; }
.archiv-year__heading {
  font-family: var(--font); font-size: 18px; font-weight: 700;
  text-transform: uppercase; color: var(--gray-77);
  border-bottom: 2px solid var(--accent-btn); padding-bottom: 6px; margin-bottom: 10px;
}
.archiv-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 5px 0; border-bottom: 1px solid var(--gray-f5); font-size: 14px;
}
.archiv-item__date { font-size: 12px; color: var(--gray-99); white-space: nowrap; min-width: 90px; }
.archiv-item__title { color: var(--primary); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #000;
  color: rgba(255,255,255,.75);
}

/* Newsletter-Bereich — kompakter */
.footer-newsletter {
  padding: 28px 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-newsletter h3 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
  line-height: 1.5;
  max-width: 520px;
}

/* Newsletter-Formular — Weißes Input, gelber Button (wie Original) */
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  background: #fff;
  border: none;
  color: var(--primary);
  outline: none;
  box-shadow: 1px 1px 3px 1px rgba(0,0,0,.3);
}
.newsletter-form input[type="email"]::placeholder { color: var(--gray-99); }

.newsletter-form button {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 10px 20px;
  background-color: var(--accent-btn);
  color: var(--primary);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 1px 1px 3px 1px rgba(0,0,0,.5);
  transition: background .2s, box-shadow .2s;
}
.newsletter-form button:hover {
  background-color: var(--accent);
  box-shadow: 1px 1px 10px 1px rgba(0,0,0,.5);
}

.newsletter-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-top: 10px;
  line-height: 1.5;
  max-width: 480px;
}

/* ── Footer Bodenzeile — WEISSER Hintergrund, 3 Spalten ── */
.footer-bottom {
  background: #fff;
  border-top: 1px solid #e9e9e9;
}

.footer-main {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-copyright {
  font-family: var(--font);
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}

/* Mitte: Impressum / Datenschutz */
.footer-legal {
  font-size: 12px;
  text-align: center;
}
.footer-legal a { color: #555; transition: color .2s; }
.footer-legal a:hover { color: var(--primary); }
.footer-legal a + a::before { content: ' / '; color: #aaa; }

.footer-nav { display: none; }

/* Sponsor-Logos — ORIGINAL-FARBEN auf weißem Grund */
.footer-sponsors {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: flex-end;
}

.footer-sponsors img {
  height: 30px;
  width: auto;
  object-fit: contain;
  /* KEINE Filterung — Logos in Originalfarbe */
  filter: none;
  opacity: 1;
  transition: opacity .2s;
}
.footer-sponsors img:hover { opacity: .75; }

/* =====================================================
   Flash Messages
   ===================================================== */
.flash { padding: 12px 16px; font-size: 13px; margin: 12px 0; }
.flash--success { background: #eaf3de; color: #27500a; }
.flash--error   { background: #fcebeb; color: #791f1f; }

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --container: 767px; }

  .site-header__inner { min-height: 68px; padding: 8px 16px; }
  .site-logo__img,
  .site-logo img     { height: 48px; }
  .site-logo__text strong { font-size: 16px; }
  .site-logo__text span   { font-size: 10px; margin-top: 3px; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 68px 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    height: auto;
    z-index: 99;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    font-size: 16px; height: auto; padding: 8px 0;
    color: var(--primary);
  }
  .nav-toggle { display: block; }

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

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input[type="email"] { width: 100%; }
  .newsletter-form button { width: 100%; padding: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .site-logo img { height: 42px; }
}

/* =====================================================
   FreePik Section Icons
   ===================================================== */
.page-content .section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  /* Kein Hintergrund — Icon direkt sichtbar wie im Original */
}

.page-content .section-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* =====================================================
   Mitglied-Block
   ===================================================== */
.mitglied-block {
  margin-top: 2em;
  padding-top: 1.5em;
}
.mitglied-block__text h2 {
  /* Erbt den H2-Stil mit Icon aus dem Template */
}
.mitglied-block__pdf {
  margin-top: 24px;
}
.mitglied-block__pdf h3 {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
.mitglied-block__pdf-embed {
  border: 1px solid var(--gray-f1);
  border-radius: 2px;
  display: block;
}
.mitglied-block__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--gray-f1);
  transition: border-color .2s;
}
.mitglied-block__download:hover { border-color: var(--primary); }
.mitglied-block__download svg { width: 16px; height: 16px; }

/* Preistabelle in der Ticket-Box */
.ticket-box__preistabelle {
  border-collapse: collapse;
  margin-top: 8px;
  margin-bottom: 20px; /* Abstand wie nach .karten-box__hinweis */
  font-size: 14px;
}
.ticket-box__preistabelle td {
  padding: 3px 16px 3px 0;
  color: var(--primary);
}
.ticket-box__preistabelle td:first-child {
  font-weight: 600;
  min-width: 80px;
}
/* Euro-Zeichen nach dem Preiswert */
.ticket-box__preistabelle td:last-child::after {
  content: ' €';
}
/* =====================================================
   EVENT CARD — Info-Button & Overlay (Karten & Preise)
   Neue Klassen — bestehende CSS unverändert
   ===================================================== */

/* Info-Button "i" im gelben Kreis, transparenter Hintergrund */
.event-card__info-btn {
  position: absolute;
  top: 10px; left: 8px;
  z-index: 5;
  background: transparent;
  color: var(--accent-btn);
  border: none;
  cursor: pointer;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.55));
  transition: color .2s;
}
.event-card__info-btn:hover { color: #fff; }

/* Overlay — füllt die Karte, per JS via .is-open eingeblendet */
.event-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.97);
  z-index: 10;
  padding: 14px 14px 12px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.event-card__overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.event-card__overlay-close {
  position: absolute;
  top: 6px; right: 8px;
  background: none;
  border: none;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  color: var(--primary);
  padding: 4px;
}
.event-card__overlay-close:hover { color: #000; }

.event-card__overlay-title {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin: 0 0 2px;
  padding-right: 20px;
}

.event-card__overlay-preise {
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
}
.event-card__overlay-preise td {
  padding: 2px 6px 2px 0;
  color: var(--primary);
}
.event-card__overlay-preise td:first-child { font-weight: 600; }

.event-card__overlay-hinweis {
  font-size: 11px;
  color: var(--primary);
  border-left: 2px solid var(--accent-btn);
  padding-left: 7px;
  margin: 0;
}
.event-card__overlay-hinweis p { margin: 0; }

.event-card__overlay-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin: 2px 0 0;
}
.event-card__overlay-text {
  font-size: 11px;
  color: var(--primary);
  line-height: 1.55;
  margin: 0;
}

.event-card__overlay-email {
  font-size: 11px;
  color: var(--primary);
  margin: 2px 0 0;
}
.event-card__overlay-email a {
  color: var(--primary);
  font-style: italic;
}

.event-card__overlay-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid #e8e8e8;
}
.event-card__overlay-link:hover { color: #000; }

/* =====================================================
   HOME-BANNER — Newsletter + Restaurant (Top-Leiste)
   ===================================================== */
.home-banner {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.home-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Newsletter-Teil */
.home-banner__newsletter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.home-banner__label {
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}

.home-banner__form {
  display: flex;
  gap: 0;
  position: relative;
}

.home-banner__form input[type="email"] {
  font-family: var(--font);
  font-size: 12px;
  padding: 6px 10px;
  background: #fff;
  border: none;
  color: var(--primary);
  outline: none;
  width: 200px;
}
.home-banner__form input[type="email"]::placeholder { color: var(--gray-99); }

.home-banner__form button {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--accent-btn);
  color: var(--primary);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.home-banner__form button:hover { background: var(--accent); }

/* Restaurant-Link */
.home-banner__restaurant {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--pellegrini);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s;
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 20px;
}
.home-banner__restaurant:hover { color: #fff; }

/* Use https://isotropic.co/tool/hex-color-to-css-filter/ to calculate filter */
.home-banner__restaurant-icon {
  /* CSS-Filter für var(--pellegrini) = #62A3D1 */
  filter: brightness(0) saturate(100%) invert(62%) sepia(30%) saturate(600%) hue-rotate(175deg) brightness(95%);
  flex-shrink: 0;
  transition: filter .2s;
}

.home-banner__restaurant:hover .home-banner__restaurant-icon {
  filter: brightness(0) invert(1);
}

.home-banner__form-wrap {
  display: flex;
  gap: 0;
  position: relative;
}
.home-banner__form-wrap input[type="email"] {
  font-family: var(--font);
  font-size: 12px;
  padding: 6px 10px;
  background: #fff;
  border: none;
  color: var(--primary);
  outline: none;
  width: 200px;
}
.home-banner__form-wrap input[type="email"]::placeholder { color: var(--gray-99); }
.home-banner__form-wrap button {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--accent-btn);
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.home-banner__form-wrap button:hover { background: var(--accent); }

.home-banner__success {
  font-family: var(--font);
  font-size: 12px;
  color: var(--accent-btn);
  font-weight: 600;
}
.home-banner__error {
  font-family: var(--font);
  font-size: 12px;
  color: #ff6b6b;
}

/* ── Consent-Modal ─────────────────────────────────────── */
.consent-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.consent-modal.is-open { display: flex; }

.consent-modal__box {
  background: #fff;
  border-radius: 4px;
  padding: 28px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.consent-modal__title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.consent-modal__email {
  font-family: var(--font);
  font-size: 13px;
  color: var(--gray-77);
  margin-bottom: 14px;
}
.consent-modal__text {
  font-family: var(--font);
  font-size: 13px;
  color: var(--primary);
  line-height: 1.65;
  margin-bottom: 20px;
  padding: 14px;
  background: #f8f8f8;
  border-left: 3px solid var(--accent-btn);
}
.consent-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.consent-modal__btn {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.consent-modal__btn--yes {
  background: var(--accent-btn);
  color: var(--primary);
  flex: 1;
}
.consent-modal__btn--yes:hover { background: var(--accent); }
.consent-modal__btn--no {
  background: #e8e8e8;
  color: var(--primary);
}
.consent-modal__btn--no:hover { background: #d0d0d0; }

/* Mobile */
@media (max-width: 640px) {
  .home-banner__inner  { gap: 10px; padding: 8px 14px; flex-direction: column; align-items: flex-start; }
  .home-banner__label  { display: none; }
  .home-banner__form-wrap input[type="email"] { width: 150px; }
  .home-banner__restaurant { border-left: none; padding-left: 0; }
  .consent-modal__box { padding: 20px; }
  .consent-modal__actions { flex-direction: column; }
  .consent-modal__btn--yes { flex: none; }
}

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