:root {
  color-scheme: dark;
  --bg: #101019;
  --panel: #191925;
  --line: #333344;
  --ink: #f8f5ff;
  --muted: #bbb7cc;
  --accent: #ddff83;
  --lilac: #cbbaff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.5 "Geist", "Inter", system-ui, sans-serif;
}
.wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 4px; }
.top, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.top { min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.55rem; font-weight: 800; letter-spacing: -.075em; }
.brand span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--bg); font-size: 1.45rem; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: .65rem; font-size: .9rem; font-weight: 650; }
nav>a { margin-right: .75rem; color: var(--muted); }
nav>a:hover { color: var(--ink); }
nav button, .language select, .reset, .close {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  padding: .63rem .9rem;
}
nav button[aria-pressed=true] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.hero { overflow: hidden; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 88% 15%, #312050, transparent 63%), #151321; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.intro { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .85rem; color: var(--lilac); font-size: .77rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.65rem, 5.25vw, 5.2rem); font-weight: 820; }
h1 em { color: var(--lilac); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.intro>p:not(.eyebrow) { max-width: 41ch; margin: 1.25rem 0 1.6rem; color: var(--muted); font-size: 1.07rem; }
.primary, .details { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; background: var(--accent); color: var(--bg); font-weight: 750; border: 1px solid transparent; border-radius: 10px; }
.primary { padding: .85rem 1.1rem; }
.primary:hover, .details:hover { background: #efffc0; }
.hero-art { position: relative; isolation: isolate; padding: 1rem 1rem 1rem 0; }
.hero-art::before, .hero-art::after {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  border: 1px solid #d8c7ff5c; border-radius: 50%; inset: -9% -11%;
  transform: rotate(-24deg);
}
.hero-art::after { inset: -15% -19%; border-color: #d8c7ff35; }
.hero-photo {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid #e2d8ff66;
  border-radius: 18px 110px 18px 18px;
  background:
    linear-gradient(145deg, #452e8277, #16092d50),
    #5e4b76 url('https://images.unsplash.com/photo-1515168833906-d2a3b82b302a?auto=format&fit=crop&w=1200&q=85') center/cover;
  box-shadow: 16px 16px 0 #a586ed27;
}
.signal {
  position: absolute; right: 0; bottom: 0; display: grid; place-items: center;
  width: clamp(58px, 7vw, 99px); aspect-ratio: 1; border-radius: 50%;
  color: var(--bg); background: var(--accent); font-size: clamp(2.1rem, 5vw, 4.35rem); line-height: 1;
}
.catalog { padding-block: 3.6rem 5rem; scroll-margin-top: 1.25rem; }
#filters {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
  align-items: end; gap: .8rem; padding: 1rem; margin: 1.65rem 0 1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
label { display: grid; gap: .35rem; min-width: 0; font-size: .85rem; font-weight: 650; }
input, select { min-width: 0; width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; padding: .68rem .75rem; }
input::placeholder { color: var(--muted); }
.reset { padding: .68rem .75rem; font-size: .85rem; }
.reset:hover, nav button:hover, .close:hover { border-color: var(--lilac); }
.count, .meta, .footer p { color: var(--muted); font-size: .88rem; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 180ms; }
.card:hover { border-color: #8d7dae; }
.cover {
  isolation: isolate; position: relative; display: flex; justify-content: space-between; align-items: start;
  aspect-ratio: 2/1; padding: .85rem; overflow: hidden; background: var(--cover) center/cover;
}
.cover::before, .cover::after {
  content: ""; position: absolute; inset: 14% -9% auto auto; width: 66%; aspect-ratio: 2/1;
  border: 1px solid #ffffff86; border-radius: 50%; transform: rotate(-30deg); z-index: -1;
}
.cover::after { width: 78%; inset: 11% -11% auto auto; }
.card:has([data-ticket="stress"]) .cover { background: linear-gradient(135deg, #253766, #817af1 78%); }
.card:has([data-ticket="hypnose"]) .cover { background: radial-gradient(ellipse at 75% 45%, #a37feb, #452674 58%, #23153d); }
.card:has([data-ticket="grenzen"]) .cover { background: linear-gradient(125deg, #215747, #74974b); }
.card:has([data-ticket="malen"]) .cover { background: linear-gradient(135deg, #8c3458, #e4876e); }
.tag, .heart { border: 1px solid #ffffff30; background: #15121eea; color: var(--ink); border-radius: 99px; padding: .3rem .65rem; font-size: .79rem; font-weight: 700; }
.heart { font-size: 1.25rem; line-height: 1; min-height: 42px; min-width: 42px; }
.heart[aria-pressed=true] { background: var(--accent); color: var(--bg); }
.card-body { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 1rem 1.1rem; }
.card h3 { font-size: 1.38rem; margin-bottom: .55rem; text-wrap: initial; }
.meta { margin: 0 0 .5rem; }
.card-body>.meta:first-child { color: var(--lilac); }
.actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem; width: 100%; margin-top: auto; padding-top: .9rem; }
.details { padding: .5rem .7rem; font-size: .88rem; }
.empty { grid-column: 1/-1; padding: 1rem; border: 1px dashed var(--line); border-radius: 10px; }
.footer { border-top: 1px solid var(--line); padding-block: 1.55rem; }
dialog { width: min(540px,calc(100% - 32px)); max-height: 85vh; border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem; background: var(--panel); color: var(--ink); }
dialog::backdrop { background: #08070dd9; }
dialog h2 { font-size: clamp(1.65rem, 6vw, 2.4rem); }
.close { float: right; padding: .4rem .7rem; font-size: 1.25rem; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-art { width: min(100%, 475px); }
  .hero-photo { aspect-ratio: 16/10; border-top-right-radius: 72px; }
  nav>a { display: none; }
  #filters { grid-template-columns: 1fr 1fr; }
  #filters label:first-child { grid-column: 1/-1; }
  .reset { justify-self: start; }
}
@media(max-width: 530px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 69px; flex-wrap: wrap; padding-block: .65rem; gap: .5rem; }
  .brand { font-size: 1.3rem; }
  .brand span { width: 30px; height: 30px; font-size: 1.15rem; }
  nav { font-size: .8rem; flex-wrap: wrap; }
  nav button, .language select { padding: .45rem .5rem; }
  .catalog { padding-block: 2.5rem 3rem; }
  .cards { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }

.signal {
  animation: signal-float 5s ease-in-out infinite;
}
@keyframes signal-float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-16px) rotate(33deg); }
}
@media (prefers-reduced-motion: reduce) {
  .signal { animation: none; }
}
#detail { width: min(880px, calc(100% - 24px)); }
#detail > form { position: sticky; top: 0; z-index: 2; height: 0; }
#detail .close { position: absolute; right: 0; top: 0; }
.ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(235px, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1.25rem;
}
.ticket-banner { padding-right: 3rem; }
.ticket-info, .ticket-selection { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.ticket-selection { background: var(--bg); }
.ticket-layout h3 { font-size: 1.2rem; }
.event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0 0; }
.event-facts div { border-top: 1px solid var(--line); padding-top: .65rem; }
.event-facts dt, .ticket-note { color: var(--muted); font-size: .88rem; }
.event-facts dd { margin: .15rem 0 0; }
.ticket-quantity { margin: 1rem 0; }
.ticket-total { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.ticket-total output { font-weight: 750; color: var(--accent); }
.ticket-note { margin-bottom: 0; }
@media (max-width: 620px) {
  #detail { padding: 1.1rem; }
  .ticket-layout { grid-template-columns: minmax(0, 1fr); }
}

.signal {
  width: clamp(112px, 14vw, 172px);
  border-radius: 0;
  background: none;
  font-size: clamp(.82rem, 1.45vw, 1.12rem);
  font-weight: 850;
  text-align: center;
}
.signal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  clip-path: polygon(50% 0%, 62% 23%, 86% 14%, 77% 38%, 100% 50%, 77% 62%, 86% 86%, 62% 77%, 50% 100%, 38% 77%, 14% 86%, 23% 62%, 0% 50%, 23% 38%, 14% 14%, 38% 23%);
}
.signal:hover::before { background: #efffc0; }
@keyframes signal-float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}
.card { cursor: pointer; }
.card:focus-within { border-color: var(--lilac); }
