/* StickPresenter – Spacecowboy-Theme (Farben und Stimmung aus dem Poster) */

@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Saira Display"; src: url("../fonts/saira-extra-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Display"; src: url("../fonts/saira-extra-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira Display"; src: url("../fonts/saira-extra-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --night: #0b1636;      /* Nachthimmel oben */
  --night-2: #142a63;    /* Panel */
  --sky: #1f6bd0;        /* Himmelsblau um den Mond */
  --salmon: #f6a594;     /* Datum auf dem Poster */
  --desert: #e98787;     /* Felsen / Sand */
  --cream: #efe6cf;      /* Hut */
  --bandana: #93c6ea;    /* Halstuch */
  --red: #e2343f;        /* Festival-Banner */
  --ink: #0d1430;        /* Kontur */
  --text: #eef1fb;
  --muted: #b5c0de;
  --line: rgba(147, 198, 234, .28);
  --display: "Saira Display", "Saira", "Arial Narrow", sans-serif;
  --body: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1160px, 100% - 2.5rem);
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(70px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font: 400 1.0625rem/1.6 var(--body); color: var(--text);
  background: var(--night);
  padding-top: env(safe-area-inset-top, 0px);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bandana); text-underline-offset: .18em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }

/* Sternenhimmel als fester Hintergrund */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 62%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 41% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 44%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 73% 23%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 71%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 93% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 84%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 50% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 4%, #fff 50%, transparent 51%),
    radial-gradient(ellipse 90% 60% at 50% 0%, #1c4fa8 0%, transparent 70%),
    linear-gradient(180deg, #0f2257 0%, var(--night) 55%, #0a1430 100%);
  background-size: 420px 420px, 380px 380px, 520px 520px, 300px 300px, 460px 460px, 350px 350px, 600px 600px, 330px 330px, 410px 410px, 280px 280px, 100% 100%, 100% 100%;
}

.skip { position: absolute; left: -999px; top: 0; background: var(--salmon); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Navigation ---------- */
.topnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  display: flex; align-items: center; gap: 1rem; padding: .55rem max(1.25rem, (100% - 1160px) / 2);
  background: rgba(11, 22, 54, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease, opacity .3s ease;
}
body:has(.topnav)::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--night); z-index: 41; }
.topnav--hidden { position: fixed; left: 0; right: 0; transform: translateY(-110%); opacity: 0; }
.topnav--hidden.is-visible { transform: none; opacity: 1; }
.topnav-logo { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-right: auto; }
.topnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.topnav ul a { display: block; padding: .45rem .8rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topnav ul a:hover, .topnav ul a.is-active { background: rgba(147, 198, 234, .16); color: var(--cream); }
.nav-toggle { display: none; }

/* ---------- Hero (wie das Poster) ---------- */
.hero {
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3.5rem 1.25rem 4rem;
}
.hero-date {
  margin: 0 0 .5rem; color: var(--salmon);
  font: 800 clamp(2.6rem, 8.5vw, 6rem)/1 var(--display); letter-spacing: .015em;
  text-shadow: 0 4px 0 rgba(13, 20, 48, .55);
}
.hero-logo { margin: 0; width: min(560px, 88vw); }
.hero-logo img { width: 100%; filter: drop-shadow(0 18px 40px rgba(31, 107, 208, .45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.hero-lines { list-style: none; padding: 0; margin: 1.8rem 0 1.4rem; }
.hero-lines li {
  font: 700 clamp(1.25rem, 3.4vw, 2.2rem)/1.2 var(--body); text-transform: uppercase; letter-spacing: .02em; color: var(--text);
}
.hero-lines small { font-size: .62em; font-weight: 700; letter-spacing: .04em; }
.hero-tickets { font: 700 clamp(1.05rem, 2.4vw, 1.5rem)/1.25 var(--display); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 .2rem; color: var(--cream); }
.hero-payment { text-transform: uppercase; font-size: .88rem; letter-spacing: .06em; color: var(--muted); margin: 0 0 1.6rem; }
.hero-deadline {
  margin: 0; padding: .55rem 1.2rem; border: 1.5px solid var(--salmon); border-radius: 999px;
  color: var(--salmon); font-weight: 600; font-size: .98rem;
}

/* ---------- Allgemeine Abschnitte ---------- */
.sec { width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec-title {
  font: 800 clamp(2.4rem, 6vw, 4rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em;
  color: var(--cream); margin-bottom: 1.1rem; text-wrap: balance;
}
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sec-intro { max-width: 62ch; color: var(--muted); }
.prose { max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--cream); }

.badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px;
  background: var(--red); color: #fff; font: 700 .8rem/1.4 var(--body); letter-spacing: .03em;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none;
  font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 4px 0 #8f1c24; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 5px 0 #8f1c24; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #8f1c24; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn--ghost { background: transparent; border: 1.5px solid var(--bandana); color: var(--bandana); box-shadow: none; }
.btn--ghost:hover { color: var(--cream); box-shadow: none; }

/* ---------- Fakten als Sternbild ---------- */
.facts { padding-top: 1rem; }
.constellation {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 1rem;
}
.constellation::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 11px; height: 0;
  border-top: 1.5px dashed var(--line);
}
.constellation li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.constellation li:nth-child(even) { margin-top: 1.6rem; }
.star {
  width: 22px; height: 22px; margin-bottom: .8rem; background: #fff; position: relative; z-index: 1;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px #fff);
}
.constellation strong { font: 800 clamp(2rem, 4.5vw, 3.2rem)/1 var(--display); text-transform: uppercase; color: var(--salmon); }
.constellation span:last-child { color: var(--muted); font-weight: 500; }

/* ---------- Verbinder-Text ---------- */
.text--connector { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.connector { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.connector-line { width: 1.5px; height: 56px; background: linear-gradient(var(--line), var(--bandana), var(--line)); }
.connector .sec-title { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.connector-body { max-width: 34ch; font: 600 clamp(1.35rem, 3.2vw, 2rem)/1.25 var(--body); color: var(--cream); text-wrap: balance; }
.connector-body p { margin: 0 0 .5em; }
.connector-body p:last-child { margin: 0; }

/* ---------- Story / Fließtext ---------- */
.text-inner { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.text--story .prose { columns: 2 30ch; column-gap: 3rem; max-width: none; }
.text--story .prose p { break-inside: avoid; }
.has-image .text-inner { grid-template-columns: 1.3fr 1fr; align-items: start; }
.has-image .text--story .prose, .text--story.has-image .prose { columns: 1; }
.text-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--cream); transform: rotate(1.5deg); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.legal { min-height: 55vh; }
.legal .prose { margin-bottom: 2rem; }

/* ---------- Galerie-Slider ---------- */
.gallery { width: 100%; padding-left: 0; padding-right: 0; }
.gallery .sec-head, .gallery .sec-intro { width: var(--wrap); margin-left: auto; margin-right: auto; }
.slider-nav { display: flex; gap: .5rem; margin-bottom: 1.1rem; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--bandana); background: transparent;
  color: var(--bandana); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px;
}
.slider-btn:hover { background: var(--bandana); color: var(--ink); }
.slider {
  display: flex; align-items: center; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .5rem max(1.25rem, (100% - 1160px) / 2) 1.5rem; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.slider::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; width: min(380px, 78vw); margin: 0; scroll-snap-align: center; position: relative; }
.slide-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.slide img { width: 100%; height: clamp(260px, 42vw, 420px); object-fit: cover; transition: transform .5s ease; }
.slide-open:hover img { transform: scale(1.03); }
.slide figcaption { margin-top: .55rem; color: var(--muted); font-size: .95rem; }

/* ---------- Videos ---------- */
.videos-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.videos-copy .prose { color: var(--muted); }
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 110%, #fff7e0 0 22%, var(--sky) 23%, var(--night-2) 75%); border: 1.5px solid var(--line); }
.video--big .video-frame { box-shadow: 0 0 0 5px rgba(246,165,148,.25), 0 30px 60px rgba(0,0,0,.45); border-color: var(--salmon); }
.video-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-frame:hover > img { transform: scale(1.03); }
.has-thumb .video-play { background: linear-gradient(180deg, rgba(11,22,54,0) 35%, rgba(11,22,54,.8)); justify-content: flex-end; padding-bottom: 1.1rem; }
.has-thumb .play-icon { position: absolute; top: 50%; left: 50%; translate: -50% -50%; }
.has-thumb .video-play:hover .play-icon { transform: scale(1.08); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem;
  background: linear-gradient(180deg, rgba(11,22,54,.15), rgba(11,22,54,.75)); font: inherit;
}
.play-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--red); position: relative; box-shadow: 0 6px 0 #8f1c24; transition: transform .15s ease; }
.play-icon::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video-play:hover .play-icon { transform: scale(1.08); }
.video-play-label { font: 800 1.4rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.video-note { font-size: .78rem; color: var(--muted); max-width: 34ch; text-align: center; }
.video:not(.video--big) .video-note { display: none; }
.video:not(.video--big) .play-icon { width: 56px; height: 56px; }
.video:not(.video--big) .play-icon::after { left: 22px; top: 16px; border-width: 12px 0 12px 18px; }
.video figcaption { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .65rem; font-weight: 600; }
.video figcaption a { margin-left: auto; font-size: .88rem; font-weight: 500; }
.video-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }

/* ---------- Merch ---------- */
.merch-deadline { color: var(--salmon); font-weight: 700; margin-bottom: 1.3rem; }
.products { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.product { background: var(--cream); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--sky); }
.product-img { aspect-ratio: 1; background: #e8e0cb; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product h3 { font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.product .price { margin: 0; font: 800 1.5rem/1 var(--display); color: var(--red); }
.product-desc { margin: 0; font-size: .95rem; color: #39405c; }
.sizes { margin: auto 0 0; padding-top: .5rem; font-size: .85rem; font-weight: 600; color: #39405c; letter-spacing: .04em; }

/* ---------- Formulare ---------- */
.panel {
  background: linear-gradient(160deg, rgba(31,107,208,.22), rgba(20,42,99,.6)); border: 1.5px solid var(--line);
  border-radius: calc(var(--radius) + 6px); padding: clamp(1.25rem, 3.5vw, 2.25rem);
}
.panel-title { font: 800 2rem/1 var(--display); text-transform: uppercase; margin-bottom: 1.25rem; color: var(--cream); }
.panel.closed { text-align: center; color: var(--muted); }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.form input, .form select, .form textarea {
  font: 500 1rem/1.4 var(--body); color: var(--text); background: rgba(11,22,54,.7);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .85rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--salmon); box-shadow: 0 0 0 3px rgba(246,165,148,.25); }
.form textarea { resize: vertical; }
.form ::placeholder { color: #7f8ab0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.is-ok { color: #9ee6b5; }
.form-status.is-error { color: #ffb0a3; }
.total { margin: 0; font-size: 1.1rem; }
.total strong { font: 800 1.8rem/1 var(--display); color: var(--salmon); }

.order-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.order-line { border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem .4rem; margin: 0; min-width: 0; }
.order-line legend { padding: 0 .4rem; font: 700 1.25rem/1 var(--display); text-transform: uppercase; }
.order-line legend span { color: var(--salmon); }
.order-row { display: grid; grid-template-columns: 1fr 90px; gap: .6rem; align-items: end; }
.order-row:only-child label:only-child, .order-row label:only-child { grid-column: 1 / -1; }
.order-row label { margin-bottom: .6rem; }
.link-btn { background: none; border: 0; color: var(--bandana); font: 600 .9rem var(--body); cursor: pointer; padding: 0 0 .6rem; text-decoration: underline; text-underline-offset: .2em; }

.feedback-form { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); }
.feedback-copy .prose { color: var(--muted); }

/* ---------- Footer mit Wüste ---------- */
.footer { margin-top: 3rem; }
.desert {
  aspect-ratio: 1819 / 771; width: 100%; max-height: 560px;
  background: url("../img/desert.jpg") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%);
}
.footer-bar { background: #f57984; color: var(--ink); padding: 1.25rem max(1.25rem, (100% - 1160px) / 2) calc(1.25rem + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: -1px; }
.footer-text { margin: 0; font: 800 1.5rem/1 var(--display); text-transform: uppercase; transform: rotate(-4deg); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; font-weight: 600; font-size: .92rem; }
.footer-links a { color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 12, 32, .94); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { text-align: center; margin-top: .75rem; color: var(--muted); }
.lightbox-close { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--bandana); background: transparent; color: var(--text); font-size: 2rem; line-height: 1; cursor: pointer; }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .videos-top, .feedback-form, .has-image .text-inner { grid-template-columns: 1fr; }
  .constellation { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .constellation::before { display: none; }
  .constellation li:nth-child(even) { margin-top: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; background: transparent; border: 1.5px solid var(--line); color: var(--text); border-radius: 999px; padding: .4rem .9rem; font: 600 .95rem var(--body); }
  .topnav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--night); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; }
  .topnav.is-open ul { display: flex; }
  .topnav-logo span { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Kleine Video-Kacheln mit Vorschaubild: nur der Play-Button, damit das Bild wirkt */
.video.has-thumb:not(.video--big) .video-play-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- Highlights als Western-Steckbrief (Pergament wie Poster 2) ---------- */
.wanted { width: min(360px, 82vw); padding: .4rem 0; }
.wanted-card, .frame-card {
  --notch: 20px;
  position: relative; color: var(--ink); text-align: center;
  padding: 1.15rem 1.3rem 1.4rem;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 250, 238, .55), transparent 70%),
    url("../img/parchment.jpg?v=2") center / cover;
  /* eingekerbte Ecken wie beim Poster-Rahmen */
  -webkit-mask: radial-gradient(var(--notch) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat,
          radial-gradient(var(--notch) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat,
          radial-gradient(var(--notch) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat,
          radial-gradient(var(--notch) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat;
          mask: radial-gradient(var(--notch) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat,
          radial-gradient(var(--notch) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat,
          radial-gradient(var(--notch) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat,
          radial-gradient(var(--notch) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}
/* feine Innenlinie mit gleichen Kerben */
.wanted-card::before, .frame-card::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 1.5px solid rgba(13, 20, 48, .55); border-radius: 0;
  -webkit-mask: inherit; mask: inherit;
}
.slide:nth-child(odd) :is(.wanted-card, .frame-card) { transform: rotate(-1.2deg); }
.slide:nth-child(even) :is(.wanted-card, .frame-card) { transform: rotate(1deg); }
.wanted-title {
  display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0 0 .7rem;
  font: 800 clamp(2.2rem, 7vw, 3rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink);
}
.wstar { color: var(--red); font-size: .55em; }
.wanted-photo { border: 4px solid var(--ink); background: var(--ink); }
.wanted-photo .slide-open { border-radius: 0; }
.wanted-photo img { height: clamp(200px, 30vw, 250px); filter: sepia(.28) contrast(1.06) saturate(.9); transition: filter .4s ease, transform .5s ease; }
.wanted-photo .slide-open:hover img { filter: none; }
.wanted-name { margin: .8rem 0 .15rem; font: 800 1.9rem/1 var(--display); text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.wanted .wanted-caption { margin: .25rem 0 0; color: #3b3528; font-size: .95rem; line-height: 1.4; }
.wanted-facts { margin: .8rem 0 0; padding-top: .7rem; border-top: 1.5px dashed rgba(13, 20, 48, .45); font-size: .92rem; line-height: 1.35; }
.wanted-facts div { margin: .2rem 0; }
.wanted-facts dt { display: inline; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .82rem; }
.wanted-facts dd { display: inline; margin: 0 0 0 .3rem; }
.wanted-facts div:last-child dd { color: var(--red); font-weight: 700; }

/* Normale Galerie-Bilder: gleicher Steckbrief-Rahmen, ohne Überschrift und Angaben */
.framed { padding: .4rem 0; }
.frame-card { --notch: 18px; padding: 1.4rem 1.4rem 1.9rem; }
.frame-card::before { inset: 7px; }
.frame-card .wanted-photo img { height: clamp(220px, 34vw, 320px); }
.framed .frame-caption { margin: .7rem 0 0; color: #3b3528; font-size: .95rem; line-height: 1.35; font-weight: 600; }

/* ---------- Timetable (Aufbau wie das Timetable-PDF, Farben der Website) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Signature"; src: url("../fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

.is-subpage main { min-height: 70vh; }
.timetable { padding-top: clamp(2rem, 5vw, 4rem); }
.tt-card {
  position: relative; padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(3.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(31, 107, 208, .35), transparent 70%),
    linear-gradient(160deg, rgba(20, 42, 99, .85), rgba(11, 22, 54, .92));
  border: 1.5px solid var(--line); border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
/* feine Innenlinie wie ein Rahmen */
.tt-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(239, 230, 207, .18); border-radius: var(--radius); pointer-events: none; }

.tt-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(.75rem, 3vw, 2rem); margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.tt-logo { width: clamp(72px, 14vw, 170px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); }
.tt-logo--left { justify-self: start; animation: tt-wobble 9s ease-in-out infinite; }
.tt-logo--right { justify-self: end; animation: tt-wobble 9s ease-in-out infinite reverse; }
.tt-logo--empty { width: clamp(72px, 14vw, 170px); }
@keyframes tt-wobble { 50% { transform: rotate(-4deg); } }
.tt-title {
  margin: 0; text-align: center; color: var(--cream);
  font: 800 clamp(3rem, 10vw, 7rem)/.85 var(--display); text-transform: uppercase; letter-spacing: .03em;
  text-shadow: 0 5px 0 rgba(13, 20, 48, .7);
}
.tt-intro { text-align: center; margin: -1rem auto 2rem; color: var(--muted); }

.tt-days { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.tt-day { text-align: center; }
.tt-dayname {
  margin: 0 0 1.4rem; padding-bottom: .9rem; position: relative;
  font: 700 clamp(1rem, 1.8vw, 1.3rem)/1 var(--body); text-transform: uppercase; letter-spacing: .32em; color: var(--bandana);
  padding-left: .32em; /* gleicht den Buchstabenabstand am Ende aus */
}
.tt-dayname::after { content: "★"; position: absolute; left: 50%; bottom: -.55rem; transform: translateX(-50%); font-size: .8rem; letter-spacing: 0; color: var(--red); }
.tt-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(1.2rem, 2.5vw, 1.9rem); }
.tt-events li { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.tt-time { font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1 "Playfair Display", Georgia, serif; color: var(--salmon); }
.tt-text { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.4; color: var(--text); max-width: 26ch; }
.tt-text strong { color: var(--cream); font-weight: 700; }
.tt-note {
  position: absolute; right: clamp(1.2rem, 4vw, 3rem); bottom: clamp(.6rem, 2vw, 1.1rem); margin: 0;
  font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 "Signature", "Brush Script MT", cursive; color: var(--salmon);
  transform: rotate(-6deg);
}

@media (max-width: 760px) {
  .tt-days { grid-template-columns: 1fr; gap: 2.5rem; }
  .tt-day + .tt-day { padding-top: 2rem; border-top: 1px dashed var(--line); }
  .tt-note { position: static; text-align: right; margin-top: 2rem; }
}

/* ---------- Ticket-System ---------- */
.ticket-steps { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; padding: 0; margin: 1.5rem 0; }
.ticket-steps li { display: flex; align-items: center; gap: .5rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font-weight: 600; font-size: .95rem; }
.ticket-steps li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(147,198,234,.15); font: 800 1rem/1 var(--display); }
.ticket-steps li.is-current { border-color: var(--salmon); color: var(--cream); }
.ticket-steps li.is-current span { background: var(--salmon); color: var(--ink); }
.ticket-steps li.is-done span { background: #2e9a5b; color: #fff; }
.ticket-last {
  display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 1.1rem 1.4rem;
  border-radius: 18px; border: 2px solid var(--salmon); background: linear-gradient(135deg, rgba(246,165,148,.22), rgba(20,42,99,.75));
  box-shadow: 0 0 0 6px rgba(246,165,148,.12), 0 18px 40px rgba(0,0,0,.3); animation: tl-pop .5s ease-out;
}
@keyframes tl-pop { from { transform: translateY(8px); opacity: 0; } }
.tl-icon { font-size: 2.6rem; line-height: 1; }
.tl-text { flex: 1 1 240px; }
.tl-title { margin: 0; font: 800 clamp(1.3rem, 3.4vw, 1.75rem)/1.1 var(--display); text-transform: uppercase; color: var(--cream); }
.tl-code { margin: .3rem 0 0; font: 800 clamp(1.7rem, 5vw, 2.3rem)/1 var(--display); letter-spacing: .06em; color: var(--salmon); }
.tl-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.ticket-types { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.ticket-types legend { padding: 0; }
.ticket-type { position: relative; margin: 0 !important; cursor: pointer; }
.ticket-type input { position: absolute; opacity: 0; inset: 0; }
.tt-card-inner {
  display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1.1rem 1.2rem; border-radius: 14px;
  background: rgba(11,22,54,.6); border: 2px solid var(--line); transition: border-color .15s, background .15s, transform .15s;
}
.ticket-type:hover .tt-card-inner { border-color: var(--bandana); }
.ticket-type input:checked + .tt-card-inner { border-color: var(--salmon); background: rgba(246,165,148,.12); box-shadow: 0 0 0 4px rgba(246,165,148,.18); }
.ticket-type input:focus-visible + .tt-card-inner { outline: 3px solid var(--salmon); outline-offset: 3px; }
.tt-name { font: 800 1.7rem/1 var(--display); text-transform: uppercase; color: var(--cream); }
.tt-price { font: 800 2.2rem/1 var(--display); color: var(--salmon); }
.tt-desc { color: var(--muted); font-weight: 500; font-size: .95rem; }
.tt-left { margin-top: .3rem; align-self: flex-start; padding: .1rem .6rem; border-radius: 999px; background: rgba(246,165,148,.18); color: var(--salmon); font-size: .82rem; font-weight: 700; }
.tt-left.is-out { background: var(--red); color: #fff; }
.ticket-type.is-soldout { cursor: not-allowed; opacity: .55; }
.ticket-day { max-width: 320px; }
.ticket-notice { padding: .8rem 1rem; border-left: 4px solid var(--salmon); background: rgba(246,165,148,.08); border-radius: 0 10px 10px 0; color: var(--text); font-size: .95rem; }
.ticket-pay { text-align: center; }
.ticket-pay:focus { outline: none; }
.ticket-code { margin: .2rem 0 1rem; font: 800 clamp(2.4rem, 8vw, 3.6rem)/1 var(--display); letter-spacing: .06em; color: var(--salmon); }
.ticket-code .link-btn { font-size: .95rem; letter-spacing: 0; vertical-align: middle; padding: 0; }
.pay-howto { max-width: 52ch; margin: 0 auto 1.4rem; }
.pay-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.muted-note { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }

/* Ticketseite */
.ticket-page main { min-height: 80vh; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.ticket-figure { margin: 0; }
.ticket-image { width: 100%; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.ticket-loading { padding: 4rem 1rem; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 18px; }
.ticket-state { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; }
.ticket-state.is-ok { background: rgba(46,154,91,.18); color: #a6ecc0; border: 1.5px solid rgba(46,154,91,.5); }
.ticket-state.is-wait { background: rgba(246,165,148,.12); color: var(--cream); border: 1.5px solid rgba(246,165,148,.45); }
.ticket-state.is-bad { background: rgba(226,52,63,.2); color: #ffb0a3; border: 1.5px solid var(--red); }
.ticket-state.is-info { background: rgba(147,198,234,.12); color: var(--bandana); border: 1.5px solid var(--line); }
.pay-again { font-size: .95rem; }
.ticket-help { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }
.ticket-help strong { color: var(--cream); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 760px) { .ticket-layout { grid-template-columns: 1fr; } }

/* Merch + Tickets gemeinsam */
.merch-combo { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.merch-combo .panel-title { margin-bottom: .4rem; }
.merch-combo p { margin: 0; color: var(--muted); }
.merch-combo .pay-actions { margin: 0; }
.ticket-merch { margin: 0 0 1.25rem; border: 1.5px dashed var(--line); border-radius: 14px; padding: .9rem 1.1rem; }
.ticket-merch[open] { border-style: solid; border-color: var(--bandana); }
.ticket-merch summary { cursor: pointer; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; list-style: none; }
.ticket-merch summary::-webkit-details-marker { display: none; }
.ticket-merch summary::before { content: "+"; font: 800 1.6rem/1 var(--display); color: var(--salmon); }
.ticket-merch[open] summary::before { content: "–"; }
.ticket-merch summary .panel-title { margin: 0; font-size: 1.6rem; }
.ticket-merch .order-lines { margin: 1rem 0 0; }
.pay-summary { color: var(--muted); margin: -.4rem 0 1rem; }
.order-view { max-width: 640px; margin: 0 auto; }
.ticket-steps-note { margin: 0; color: var(--salmon); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.order-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.order-table td { padding: .5rem .3rem; border-bottom: 1px dashed var(--line); }
.order-table td.num { text-align: right; white-space: nowrap; }
.order-table tfoot td { border: 0; font: 800 1.5rem/1 var(--display); color: var(--salmon); padding-top: .8rem; }
.ticket-merch-info { padding: .9rem 1.1rem; border-radius: 12px; border: 1.5px solid var(--line); background: rgba(11,22,54,.5); margin-bottom: 1rem; }
.ticket-merch-info p { margin: 0 0 .3rem; } .ticket-merch-info ul { margin: .2rem 0 .5rem; padding-left: 1.2rem; }

/* Upload-Modul */
.media-drop { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 2rem 1rem; border: 2px dashed var(--bandana); border-radius: 16px; text-align: center; cursor: pointer; background: rgba(147,198,234,.06); transition: background .15s, border-color .15s; margin-bottom: 1rem; }
.media-drop:hover, .media-drop:focus-visible, .media-drop.is-over { background: rgba(147,198,234,.16); border-color: var(--salmon); border-style: solid; }
.media-drop strong { font: 800 1.6rem/1.1 var(--display); text-transform: uppercase; color: var(--cream); }
.media-drop span:last-of-type { color: var(--muted); font-size: .92rem; }
.media-drop-icon { font-size: 2.4rem; }
.is-busy .media-drop { pointer-events: none; opacity: .6; }
.media-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .45rem; }
.media-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 140px minmax(90px, auto) 32px; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 10px; background: rgba(11,22,54,.6); border: 1.5px solid var(--line); font-size: .92rem; }
.mf-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mf-size, .mf-state { color: var(--muted); white-space: nowrap; }
.mf-bar { height: 8px; border-radius: 99px; background: rgba(147,198,234,.15); overflow: hidden; }
.mf-bar span { display: block; height: 100%; width: 0; background: var(--salmon); transition: width .3s; }
.mf-remove { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 1.1rem; }
.media-list li.is-done { border-color: rgba(46,154,91,.6); } .media-list li.is-done .mf-bar span { background: #2e9a5b; } .media-list li.is-done .mf-state { color: #a6ecc0; }
.media-list li.is-error { border-color: var(--red); } .media-list li.is-error .mf-state { color: #ffb0a3; white-space: normal; }
.media-list li.is-up .mf-remove, .media-list li.is-done .mf-remove { visibility: hidden; }
.consent { flex-direction: row !important; align-items: flex-start; gap: .7rem !important; font-weight: 500 !important; font-size: .92rem !important; line-height: 1.45; }
.consent input { width: 22px !important; height: 22px; flex: none; margin-top: .1rem; accent-color: var(--salmon); }
@media (max-width: 640px) { .media-list li { grid-template-columns: minmax(0, 1fr) auto 32px; } .mf-bar { grid-column: 1 / -1; grid-row: 2; } .mf-state { grid-column: 1 / 3; } }

.ticket-ref small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.ticket-ref input { max-width: 260px; font: 700 1.05rem ui-monospace, Menlo, monospace; text-transform: uppercase; letter-spacing: .05em; }
.ticket-ref-note { color: var(--salmon) !important; font-weight: 600 !important; }

.pay-note { max-width: 52ch; margin: -.6rem auto 1.4rem; padding: .7rem 1rem; border-radius: 12px; border: 1.5px solid var(--salmon); background: rgba(246,165,148,.12); color: var(--cream); font-weight: 600; }
.ticket-side .pay-note, .order-view .pay-note { margin: 0 0 1rem; }
.field-hint { margin: -.6rem 0 1rem; color: var(--muted); font-size: .88rem; }
.tl-hide { margin-top: .5rem; padding: 0; border: 0; background: none; color: var(--muted); font: 500 .85rem var(--body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.tl-hide:hover { color: var(--cream); }
