:root {
  --bg: #0a0a0b;
  --panel: #141416;
  --panel-2: #1c1c20;
  --line: #2a2a2f;
  --text: #ececee;
  --muted: #9a9aa2;
  --accent: #c9142a;      /* blood red */
  --accent-2: #ff2740;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201,20,42,0.18), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  padding: 0 0 40px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 16px 0;
}

/* ---------- Brand ---------- */
.brand {
  padding: 16px 0 0;
}
.brand__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
}
.brand .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 19px;
}
.brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ---------- Featured event card ---------- */
.event-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.event-card__media {
  position: relative;
  display: block;
  line-height: 0;
  background: #101012;
}
.event-card__media img {
  width: 100%;
  height: auto;
  display: block;
}
.event-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
}
.event-card__title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.event-card__body { padding: 16px 16px 18px; }

.event-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* read-more teaser with fade */
.teaser {
  position: relative;
  color: #cfcfd4;
  font-size: 14.5px;
}
.teaser__text {
  max-height: 5em;               /* ~3 lines visible */
  overflow: hidden;
  transition: max-height .35s ease;
}
.teaser.open .teaser__text { max-height: 60em; }

/* Gradient + button sit on top of the last bit of text */
.teaser__toggle {
  position: absolute;
  left: 0; right: 0; bottom: -1px;   /* 1px Überlappung -> killt den Sub-Pixel-Blitzer unten */
  display: flex;
  justify-content: center;
  padding-top: 3.8em;            /* größerer Fade-Bereich */
  /* früh voll deckend, damit kein Textstreifen durchblitzt */
  background: linear-gradient(180deg, rgba(20,20,22,0) 0%, rgba(20,20,22,0.85) 45%, var(--panel) 68%, var(--panel) 100%);
  pointer-events: none;
}
.teaser.open .teaser__toggle {
  position: static;
  padding-top: 8px;
  background: none;
}

.teaser__btn {
  pointer-events: auto;
  background: none;
  border: none;
  color: var(--accent-2);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.teaser__btn::after { content: "▾"; font-size: 11px; }
.teaser.open .teaser__btn::after { content: "▴"; }
.teaser.open .teaser__btn .label-more { display: none; }
.teaser__btn .label-less { display: none; }
.teaser.open .teaser__btn .label-less { display: inline; }

/* ---------- Section heading ---------- */
.section-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--muted);
  margin: 26px 4px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Small events list ---------- */
.events { display: flex; flex-direction: column; gap: 10px; }
.event-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.event-row:hover {
  border-color: var(--accent);
  background: var(--panel-2);
  transform: translateY(-1px);
}
.cal {
  flex: 0 0 auto;
  width: 52px;
  text-align: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.cal__m {
  display: block;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 0;
}
.cal__d {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  padding: 2px 0 3px;
}
.event-row__info { min-width: 0; }
.event-row__what {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
}
.event-row__where {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.event-row__chev {
  margin-left: auto;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform .15s ease, color .15s ease;
}
.event-row:hover .event-row__chev { color: var(--text); transform: translateX(2px); }

/* ---------- Social buttons ---------- */
.socials { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--panel); }
.btn .ico { width: 22px; height: 22px; flex: 0 0 auto; }
.btn .emoji { width: 22px; flex: 0 0 auto; text-align: center; font-size: 19px; line-height: 1; }
.btn .arrow { margin-left: auto; color: var(--muted); }
.btn.wa:hover     { border-color: #25D366; }
.btn.ig:hover     { border-color: #E1306C; }
.btn.fb:hover     { border-color: #1877F2; }
.btn.link:hover   { border-color: var(--accent-2); }

/* ---------- Ticket button ---------- */
.ticket-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: #661412;
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 16px;
  box-shadow: 0 3px 12px rgba(102,20,18,0.3);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ticket-btn:active { transform: scale(0.985); }
.ticket-btn:hover { background: #7a1815; box-shadow: 0 4px 16px rgba(102,20,18,0.4); }

/* Inline variant inside the event card */
.ticket-btn--inline {
  max-width: none;
  margin-top: 16px;
  font-size: 15px;
}

/* ---------- Drawer / bottom sheet ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity .3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; }
.drawer-overlay[hidden] { display: none; }   /* class rule would otherwise beat the hidden attribute */

.drawer {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 14px 18px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.5);
}
.drawer-overlay.open .drawer { transform: translateY(0); }

.drawer__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin: 2px auto 14px;
}
.drawer__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.drawer__close:hover { color: var(--text); }

.drawer__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.3px;
  padding-right: 34px;
  margin-bottom: 10px;
}
.drawer__lead {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.drawer__desc {
  color: #cfcfd4;
  font-size: 14.5px;
  margin-bottom: 14px;
}
.drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.drawer__meta span { display: inline-flex; align-items: center; gap: 8px; }

.drawer__map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--panel-2);
}
.drawer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.drawer__maps-btn { margin-top: 14px; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 30px;
  letter-spacing: 0.5px;
}
footer .horns { font-size: 15px; }
