/* ==========================================================
   Aarefest · Verein Ravezept
   Farben & Schriften aus dem Sponsoringdokument 2027
   ========================================================== */

:root {
  --navy: #0b1250;
  --navy-deep: #04072a;
  --navy-card: #141c6e;
  --blue: #1a2a9c;
  --periwinkle: #7c8bff;
  --periwinkle-soft: #eef1ff;
  --pink: #ff86c8;
  --pink-soft: #fff1f8;
  --pink-line: #f6cde3;
  --magenta: #c2187a;
  --ink: #161a3a;
  --muted: #4a4f72;
  --on-dark: #d9dbf5;
  --on-dark-muted: #a9aedb;
  --paper: #ffffff;
  --pink-hover: #ff9dd3;
  --overlay-rgb: 11, 18, 80;
  --deep-rgb: 4, 7, 42;
  --accent-rgb: 255, 134, 200;
  --peri-rgb: 124, 139, 255;
  --blue-rgb: 26, 42, 156;
  --magenta-rgb: 194, 24, 122;
  --line-dark: rgba(var(--peri-rgb), 0.22);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-caps: var(--font-display);

  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Bausteine ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.pill--pink { background: var(--pink); color: var(--navy); }
.pill--navy { background: var(--navy); color: #fff; }
.pill--ghost { background: rgba(var(--deep-rgb), 0.55); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--pink); }

.title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  color: var(--blue);
}
.title em { font-style: normal; color: var(--magenta); }
.on-dark .title { color: #fff; }
.on-dark .title em { color: var(--pink); }

.bar {
  width: 72px;
  height: 5px;
  border-radius: 5px;
  background: var(--pink);
  margin: 22px 0 26px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 720px;
}
.on-dark .lead { color: var(--on-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink { background: var(--pink); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .7); }
.btn--pink:hover { background: var(--pink-hover); }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); }
.btn svg { width: 18px; height: 18px; }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--deep { background: var(--navy-deep); color: var(--on-dark); }
.section--pink { background: var(--pink-soft); }

.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { text-align: center; }
.section__head--center .bar,
.section__head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav.is-solid {
  background: rgba(var(--overlay-rgb), 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav__brand { transition: opacity .25s ease; }
.nav__brand img { height: 42px; width: auto; }
/* Startseite: kleines Logo erst einblenden, wenn das grosse Hero-Logo weg ist */
.nav--hide-brand:not(.is-solid):not(.is-open) .nav__brand { opacity: 0; pointer-events: none; }
.nav__brand--text {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: .02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { background: rgba(255,255,255,.1); }
.nav__links .btn { padding: 11px 20px; font-size: 14px; margin-left: 8px; }
.nav__links .btn:hover { background: var(--pink-hover); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(var(--deep-rgb),.5);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 28px;
    background: var(--navy);
    box-shadow: 0 30px 40px -20px rgba(0,0,0,.6);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { background: var(--navy); }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 16px; font-size: 17px; }
  .nav__links .btn { margin: 10px 0 0; padding: 16px; font-size: 15px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 96px;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(var(--overlay-rgb),.15), rgba(var(--overlay-rgb),.55) 70%),
    linear-gradient(180deg, rgba(var(--deep-rgb),.75) 0%, rgba(var(--overlay-rgb),.35) 25%, rgba(var(--overlay-rgb),.55) 55%, var(--navy) 92%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.hero__logo {
  width: min(980px, 100%, 98vh);
  margin: 10px 0 0;
  filter: drop-shadow(0 22px 40px rgba(var(--deep-rgb),.65));
  animation: logo-in .9s cubic-bezier(.2,.8,.2,1.2) backwards;
  cursor: pointer;
  will-change: transform;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(24px) rotate(-3deg) scale(.94); }
  to { opacity: 1; transform: none; }
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 24px);
  margin: 0 0 22px;
  color: #fff;
}
.hero__tagline em { font-style: normal; color: var(--pink); }

.countdown {
  display: flex;
  gap: clamp(8px, 1.6vw, 16px);
  margin-bottom: 22px;
}
.countdown__unit {
  min-width: clamp(72px, 13vw, 120px);
  padding: clamp(14px, 2vw, 20px) 10px clamp(12px, 1.6vw, 16px);
  border-radius: var(--radius);
  background: rgba(var(--deep-rgb), .62);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.countdown__live {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--pink);
  padding: 14px 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(760px, 100%);
  margin: 0 0 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.facts dt {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}
.facts dd { margin: 0; font-weight: 500; font-size: 17px; color: #fff; line-height: 1.35; }

.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  display: block;
  width: 100%;
  height: clamp(50px, 7vw, 100px);
  color: var(--paper);
}
.wave--navy { color: var(--navy); }
.wave--pink { color: var(--pink-soft); }

@media (max-width: 600px) {
  .hero { padding: 96px 0 90px; }
  .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
  .countdown__unit { min-width: 0; padding: 14px 2px 12px; border-radius: 14px; }
  .countdown__num { font-size: clamp(22px, 7vw, 30px); }
  .countdown__label { font-size: 8.5px; letter-spacing: .08em; }
  .facts { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Stats-Band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--on-dark);
}
.stats__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1;
  color: var(--pink);
  margin-bottom: 10px;
}
.stats__label { font-size: 15px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Info-Karten ---------- */

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
}
.card .eyebrow { margin-bottom: 8px; font-size: 11px; }
.card__text { color: var(--ink); font-size: 16px; line-height: 1.5; }
.card--paper { background: var(--paper); }
.card h3 { font-size: 18px; color: var(--blue); margin-bottom: 8px; }
.card__link { display: inline-block; margin-top: 6px; color: var(--magenta); font-weight: 600; text-decoration: none; }
.card__link:hover { text-decoration: underline; }

.card--dark {
  background: var(--navy-card);
  border-color: var(--line-dark);
  color: var(--on-dark-muted);
}
.card--dark h3 { color: #fff; }
.card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--pink);
  margin-bottom: 12px;
  line-height: 1;
}
.card--dark p { font-size: 15px; }

/* ---------- Intro (Startseite) ---------- */

.intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Line-up ---------- */

.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(var(--deep-rgb),.6);
  border: 1px solid var(--line-dark);
  margin-bottom: 34px;
}
.tabs button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.tabs button > span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; opacity: .75; }
.tabs button[aria-selected="true"] { background: var(--pink); color: var(--navy); }

.lineup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .lineup { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .lineup { gap: 12px; } }

.dj {
  border-radius: var(--radius-lg);
  background: var(--navy-card);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.dj:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),.55); }
.dj__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 18%, rgba(var(--accent-rgb),.55), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(var(--peri-rgb),.6), transparent 60%),
    linear-gradient(160deg, var(--blue), var(--navy-deep));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.dj__media img { width: 100%; height: 100%; object-fit: cover; }
.dj__mystery {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 110px);
  color: rgba(255,255,255,.9);
  text-shadow: 0 6px 0 var(--blue), 0 12px 30px rgba(var(--deep-rgb),.6);
  transform: rotate(-6deg);
}
.dj__slot {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 11px;
  font-size: 10px;
}
.dj__body { padding: 16px 18px 20px; }
.dj__name {
  font-size: clamp(15px, 1.6vw, 19px);
  color: #fff;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.dj__meta { font-size: 14px; color: var(--on-dark-muted); }
.dj__ig {
  display: inline-block;
  margin-top: 8px;
  color: var(--pink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.dj__ig:hover { text-decoration: underline; }

.lineup-note {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px dashed rgba(var(--accent-rgb),.45);
  color: var(--on-dark);
}
.lineup-note strong { color: #fff; }

/* ---------- Deko-Teaser ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 70px -40px rgba(var(--deep-rgb),.9);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3; }
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--pink);
  text-decoration: none;
  margin-top: 8px;
}
.textlink:hover { text-decoration: underline; }

/* ---------- Tickets ---------- */

.tickets {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 960px) { .tickets { grid-template-columns: 1fr 1fr; } .ticket--featured { grid-column: 1 / -1; } }
@media (max-width: 600px) { .tickets { grid-template-columns: 1fr; } }

.ticket {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
}
.ticket h3 { font-size: 24px; color: var(--blue); margin: 2px 0 6px; }
.ticket__sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.ticket__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pink-line);
}
.ticket__price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.ticket ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticket li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.ticket li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 3px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c2187a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.ticket .btn { margin-top: auto; }

.ticket--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.ticket--featured::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -140px; top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.35), transparent 70%);
  pointer-events: none;
}
.ticket--featured h3 { color: #fff; font-size: 30px; }
.ticket--featured .ticket__sub { color: var(--on-dark-muted); }
.ticket--featured .ticket__price { color: var(--pink); font-size: 38px; border-color: var(--line-dark); }
.ticket--featured .ticket__price small { color: var(--on-dark-muted); }
.ticket--featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ff86c8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.ticket--featured .pill { align-self: flex-start; margin-bottom: 16px; }

.notice {
  margin-top: 18px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--periwinkle-soft);
  color: var(--ink);
  font-size: 16px;
}
.notice a { color: var(--magenta); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq details {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--pink-line);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--pink); box-shadow: 0 18px 40px -28px rgba(var(--magenta-rgb),.45); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--pink-soft) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23c2187a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 1.5v11M1.5 7h11'/%3E%3C/svg%3E");
  transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--pink); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer a { color: var(--magenta); font-weight: 600; }

/* ---------- Ravezept-Seite ---------- */

.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  padding: clamp(140px, 18vw, 200px) 0 clamp(110px, 14vw, 170px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    conic-gradient(from 200deg at 18% -10%, transparent 0deg, rgba(var(--peri-rgb),.28) 18deg, transparent 36deg),
    conic-gradient(from 140deg at 82% -10%, transparent 0deg, rgba(var(--accent-rgb),.24) 16deg, transparent 32deg),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(var(--blue-rgb),.8), transparent 70%);
}
.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 10.5vw, 128px);
  line-height: .95;
  color: #fff;
  letter-spacing: -0.02em;
  transform: rotate(-4deg);
  text-shadow: 0 6px 0 var(--blue), 0 7px 0 #fff, 0 12px 0 var(--blue);
  margin: 30px 0 clamp(36px, 5vw, 52px);
  position: relative;
}
.wordmark::after {
  content: "";
  position: absolute;
  left: 4%; right: -2%;
  bottom: -18px;
  height: clamp(5px, .8vw, 9px);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 0 var(--blue);
}

.team-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
}
.team-art svg { display: block; width: 100%; height: auto; }
.caption { font-size: 14px; color: var(--muted); margin-top: 12px; }

.deko-hero {
  position: relative;
  min-height: clamp(380px, 60vw, 640px);
  overflow: hidden;
}
.deko-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.deko-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--deep-rgb),.2) 0%, transparent 40%, rgba(var(--overlay-rgb),.6) 80%, var(--navy) 100%);
}
.deko-hero .wrap { position: relative; z-index: 1; padding-top: 28px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.partner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.partner::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: -200px; bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.28), transparent 70%);
  pointer-events: none;
}
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }
.packages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.packages li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(var(--deep-rgb),.5);
  border: 1px solid var(--line-dark);
}
.packages strong { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 15px; }
.packages small { display: block; color: var(--on-dark-muted); font-size: 13px; }
.packages span { font-family: var(--font-display); font-weight: 700; color: var(--pink); white-space: nowrap; font-size: 15px; }

.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact a.card { text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.contact a.card:hover { transform: translateY(-3px); border-color: var(--pink); }
.contact .card__text { font-family: var(--font-display); font-weight: 600; color: var(--blue); font-size: 16px; overflow-wrap: anywhere; }
.contact .card p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  padding: 64px 0 34px;
  font-size: 15px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__logo { width: 220px; margin-bottom: 14px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--on-dark); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
}
.footer__bottom strong { font-family: var(--font-display); color: var(--pink); font-weight: 700; }

/* ---------- Einblenden beim Scrollen ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================
   Effekte: Laser, Laufband, Party-Modus (siehe fx.js)
   --beat (0–1) pulsiert im Party-Modus auf jeden Kick,
   --swing wechselt pro Schlag zwischen 1 und -1.
   ========================================================== */

:root { --beat: 0; --swing: 1; --hs: 0; }

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Scroll-Parallax im Hero */
.hero__inner { transform: translateY(calc(var(--hs) * 140px)); opacity: calc(1 - var(--hs) * 1.3); }
.hero__bg img { transform: scale(calc(1.04 + var(--hs) * .18)); }

/* Logo: 3D-Neigung zur Maus, Pump im Beat, Boing beim Klick */
.hero__logo { transform: scale(calc(1 + var(--beat) * .07)) rotate(calc(var(--beat) * var(--swing) * 1.6deg)); }
.hero__logo img {
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .25s ease-out;
}
.hero__logo.boing img { animation: boing .9s cubic-bezier(.3,1.6,.4,1); }
@keyframes boing {
  0% { transform: scale(1); }
  15% { transform: scale(1.18, .82) rotate(-4deg); }
  35% { transform: scale(.86, 1.14) rotate(5deg); }
  55% { transform: scale(1.08, .94) rotate(-2deg); }
  75% { transform: scale(.97, 1.03) rotate(1deg); }
  100% { transform: scale(1); }
}

/* Countdown: Ziffer rollt rein */
.countdown__num { display: block; }
.countdown__unit {
  transform: translateY(calc(var(--beat) * -7px));
  box-shadow: 0 0 calc(var(--beat) * 44px) rgba(var(--accent-rgb), calc(var(--beat) * .75));
}

/* Laufband */
.marquee {
  position: relative;
  z-index: 3;
  margin: -46px 0 -30px;
  padding: 26px 0;
  overflow: hidden;
  pointer-events: none;
}
.marquee__band {
  width: 110%;
  margin-left: -5%;
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 16px 40px -18px rgba(var(--deep-rgb),.6);
}
.marquee__band--pink { background: var(--pink); color: var(--navy); transform: rotate(-2.4deg); position: relative; z-index: 2; }
.marquee__band--navy { background: var(--navy); color: #fff; transform: rotate(1.8deg); margin-top: -34px; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__band--navy .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 26px);
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
}
.flower {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg fill='%23fff'%3E%3Cellipse cx='0' cy='-6' rx='3.6' ry='5.6'/%3E%3Cellipse cx='0' cy='-6' rx='3.6' ry='5.6' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-6' rx='3.6' ry='5.6' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-6' rx='3.6' ry='5.6' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-6' rx='3.6' ry='5.6' transform='rotate(288)'/%3E%3C/g%3E%3Ccircle r='2.6' fill='%23ffd84d'/%3E%3C/svg%3E");
  animation: spin 6s linear infinite;
}
.marquee__band--pink .flower { filter: drop-shadow(0 2px 0 var(--blue)); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* DJ-"?"-Karten: Glitch beim Hover */
.dj:hover .dj__mystery { animation: glitch .45s steps(2) infinite; }
@keyframes glitch {
  0%   { transform: rotate(-6deg) translate(0, 0); text-shadow: -4px 0 var(--pink), 4px 0 var(--periwinkle), 0 6px 0 var(--blue); }
  25%  { transform: rotate(-3deg) translate(-3px, 2px); text-shadow: 5px 0 var(--pink), -5px 0 var(--periwinkle), 0 6px 0 var(--blue); }
  50%  { transform: rotate(-9deg) translate(3px, -2px); text-shadow: -2px 2px var(--pink), 3px -2px var(--periwinkle), 0 6px 0 var(--blue); }
  75%  { transform: rotate(-5deg) translate(-2px, -1px); text-shadow: 6px 1px var(--pink), -4px 0 var(--periwinkle), 0 6px 0 var(--blue); }
  100% { transform: rotate(-6deg) translate(0, 0); text-shadow: -4px 0 var(--pink), 4px 0 var(--periwinkle), 0 6px 0 var(--blue); }
}

/* Ravezept: tanzende Silhouetten, schwenkende Scheinwerfer */
.team-art .dancer { animation: dance 1.2s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -.3s); }
.team-art .beam { transform-box: view-box; animation: sweep 5s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -1.7s); }
@keyframes dance { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes sweep { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.wordmark { transition: transform .5s cubic-bezier(.3,1.8,.4,1); cursor: default; }
.wordmark:hover { transform: rotate(-1deg) scale(1.04, .96); }

/* Konfetti-Ebene */
.fx-confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  pointer-events: none;
}

/* Party-Knopf */
.party-btn {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  border: 2px solid var(--pink);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 16px 40px -14px rgba(var(--deep-rgb),.8), 0 0 0 0 rgba(var(--accent-rgb),.6);
  animation: nudge 2.6s ease-in-out infinite;
  transition: background-color .2s ease, color .2s ease;
}
.party-btn small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--on-dark-muted); text-align: left; }
.party-btn[aria-pressed="true"] { background: var(--pink); color: var(--navy); animation: none; transform: scale(calc(1 + var(--beat) * .08)); }
.party-btn[aria-pressed="true"] small { color: var(--navy); opacity: .7; }
@keyframes nudge {
  0%, 100% { box-shadow: 0 16px 40px -14px rgba(var(--deep-rgb),.8), 0 0 0 0 rgba(var(--accent-rgb),.55); }
  50% { box-shadow: 0 16px 40px -14px rgba(var(--deep-rgb),.8), 0 0 0 12px rgba(var(--accent-rgb),0); }
}
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.eq i { display: block; width: 4px; height: 30%; border-radius: 2px; background: var(--pink); }
.party-btn[aria-pressed="true"] .eq i { background: var(--navy); animation: eq .47s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.12s !important; height: 60%; }
.eq i:nth-child(3) { animation-delay: -.3s !important; height: 45%; }
.eq i:nth-child(4) { animation-delay: -.2s !important; height: 75%; }
@keyframes eq { from { height: 15%; } to { height: 100%; } }

/* Party-Modus: alles im Beat */
@media (prefers-reduced-motion: no-preference) {
  html.party .hero__bg { animation: party-hue 9s linear infinite; }
  html.party .hero__bg img { filter: brightness(calc(1 + var(--beat) * .45)) saturate(1.3); }
  html.party .title em,
  html.party .hero__tagline em { display: inline-block; transform: rotate(calc(var(--beat) * var(--swing) * 4deg)) scale(calc(1 + var(--beat) * .06)); }
  html.party .dj { transition: none; transform: translateY(calc(var(--beat) * -10px)) rotate(calc(var(--beat) * var(--swing) * 1deg)); }
  html.party .dj:nth-child(even) { transform: translateY(calc(var(--beat) * 6px)) rotate(calc(var(--beat) * var(--swing) * -1deg)); }
  html.party .ticket--featured { transform: scale(calc(1 + var(--beat) * .015)); }
  html.party .team-art .dancer { animation: none; transform: translateY(calc(var(--beat) * -16px)); }
  html.party .team-art .dancer:nth-child(even) { transform: translateY(calc(var(--beat) * -8px)) rotate(calc(var(--swing) * 2deg)); transform-box: fill-box; transform-origin: 50% 100%; }
  html.party .wordmark { transform: rotate(calc(-4deg + var(--beat) * var(--swing) * 2deg)) scale(calc(1 + var(--beat) * .05)); transition: none; }
  html.party .stats__num { display: inline-block; transform: scale(calc(1 + var(--beat) * .12)); }
  html.party .nav__links .btn--pink { box-shadow: 0 0 calc(var(--beat) * 30px) var(--pink); }
}
@keyframes party-hue {
  0% { filter: hue-rotate(0deg); }
  25% { filter: hue-rotate(55deg) saturate(1.3); }
  50% { filter: hue-rotate(-40deg) saturate(1.5); }
  75% { filter: hue-rotate(95deg) saturate(1.2); }
  100% { filter: hue-rotate(0deg); }
}

@media (max-width: 600px) {
  .party-btn { padding: 9px 14px 9px 11px; gap: 9px; font-size: 12px; }
  .party-btn small { display: none; }
  .eq { height: 16px; }
  .marquee { margin: -40px 0 -24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__inner, .hero__bg img { transform: none; opacity: 1; }
}

/* ==========================================================
   Theme-Knopf & Übergangswelle (siehe theme.js)
   ========================================================== */

.theme-btn {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 12px;
  border-radius: 999px;
  border: 2px solid var(--pink);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 40px -14px rgba(var(--deep-rgb), .8);
  transition: transform .2s ease;
}
.theme-btn:hover { transform: translateY(-2px) rotate(-2deg); }
.theme-btn svg { width: 28px; height: 28px; flex: none; }
.theme-btn small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--on-dark-muted); }

.theme-wipe {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  background: var(--wipe, #0c2a2f);
  transform: translateY(130%);
  display: grid;
  place-items: center;
}
.theme-wipe svg { position: absolute; left: 0; width: 100%; height: 110px; color: var(--wipe, #0c2a2f); }
.theme-wipe .w-top { bottom: calc(100% - 1px); }
.theme-wipe .w-bottom { top: calc(100% - 1px); transform: scaleY(-1); }
.theme-wipe span {
  font-size: clamp(44px, 10vw, 120px);
  line-height: 1;
  color: var(--wipe-text, #e8b04a);
  text-shadow: 0 6px 0 rgba(0,0,0,.35);
  transform: rotate(-4deg);
  padding: 0 16px;
  text-align: center;
}

/* Piratenschiff im Hero (nur im Piraten-Theme sichtbar) */
.ship-wrap { display: none; }
.team-art .hat,
.team-art .pirate-only { display: none; }

@media (max-width: 600px) {
  .theme-btn { padding: 8px 14px 8px 9px; gap: 7px; font-size: 12px; }
  .theme-btn small { display: none; }
  .theme-btn svg { width: 22px; height: 22px; }
}

/* ==========================================================
   PIRATEN-THEME
   Gleicher Aufbau, andere Welt: Meer, Holz, Pergament, Gold.
   ========================================================== */

html[data-theme="pirate"] {
  --navy: #0c2a2f;
  --navy-deep: #061719;
  --navy-card: #123a40;
  --blue: #4a2410;
  --periwinkle: #5fa8a0;
  --periwinkle-soft: #eadcbc;
  --pink: #e8b04a;
  --pink-hover: #f3c766;
  --pink-soft: #f3e2bd;
  --pink-line: #d6b981;
  --magenta: #a4161a;
  --ink: #2b1d12;
  --muted: #5e4a36;
  --on-dark: #eadcbc;
  --on-dark-muted: #b6a584;
  --paper: #f8ecd0;
  --overlay-rgb: 6, 34, 38;
  --deep-rgb: 4, 18, 20;
  --accent-rgb: 232, 176, 74;
  --peri-rgb: 95, 168, 160;
  --blue-rgb: 18, 74, 80;
  --magenta-rgb: 164, 22, 26;
  --line-dark: rgba(232, 176, 74, .28);
  --font-display: "Pirata One", Georgia, serif;
  --font-body: "IM Fell English", Georgia, serif;
  --font-caps: "IM Fell English SC", Georgia, serif;
  --wood:
    repeating-linear-gradient(90deg, transparent 0 140px, rgba(0,0,0,.28) 140px 142px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #52331c, #3b2414 60%, #2f1c0f);
  --rope: repeating-linear-gradient(45deg, #7a4d22 0 7px, #c38f4c 7px 14px);
  font-synthesis: style;
}

html[data-theme="pirate"] body {
  font-size: 18.5px;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 15% 8%, rgba(255,255,255,.55), transparent 45%),
    radial-gradient(ellipse at 85% 60%, rgba(150,100,35,.13), transparent 55%),
    radial-gradient(ellipse at 30% 95%, rgba(150,100,35,.10), transparent 50%);
  background-attachment: fixed;
}
html[data-theme="pirate"] strong { color: inherit; text-decoration: underline wavy rgba(var(--accent-rgb), .7); text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Schriften */
html[data-theme="pirate"] :is(h1, h2, h3, h4, .btn, .countdown__num, .stats__num, .card__num, .ticket__price, .tabs button, .faq summary, .packages strong, .packages span, .dj__mystery, .nav__brand--text, .theme-btn, .party-btn, .marquee__track > span, .contact .card__text, .textlink) {
  font-weight: 400;
  letter-spacing: .01em;
}
html[data-theme="pirate"] .title { font-size: clamp(38px, 5.8vw, 68px); line-height: 1; }
html[data-theme="pirate"] :is(.eyebrow, .pill, .facts dt, .countdown__label, .footer h4, .tabs button > span) {
  font-family: var(--font-caps);
  font-weight: 400;
  text-transform: none;
  letter-spacing: .06em;
  font-size: 15px;
}
html[data-theme="pirate"] .eyebrow::before { content: "✠ "; }
html[data-theme="pirate"] .bar { height: 7px; background: var(--rope); border-radius: 4px; }
html[data-theme="pirate"] .lead { font-size: clamp(18px, 1.7vw, 21px); }

/* Knöpfe, Pills */
html[data-theme="pirate"] .btn { font-size: 20px; padding: 13px 26px; }
html[data-theme="pirate"] .btn--pink {
  background: linear-gradient(180deg, #f8d67c, #d4962a);
  color: #2b1d12;
  border-color: #7a4d12;
  box-shadow: 0 4px 0 #7a4d12, 0 14px 28px -12px rgba(0,0,0,.7);
}
html[data-theme="pirate"] .btn--pink:hover { background: linear-gradient(180deg, #ffe08e, #e0a334); }
html[data-theme="pirate"] .btn--navy { background: var(--wood); color: #f3e2bd; border-color: #24150a; box-shadow: 0 4px 0 #24150a; }
html[data-theme="pirate"] .btn--outline { border-color: rgba(232,176,74,.75); color: #f3e2bd; }
html[data-theme="pirate"] .pill--pink { background: #a4161a; color: #f8ecd0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.14), 0 3px 0 #5e0b0e; }
html[data-theme="pirate"] .pill--navy { background: var(--wood); color: #f3e2bd; }
html[data-theme="pirate"] .pill--ghost { background: rgba(6,23,25,.65); border-color: rgba(232,176,74,.4); }

/* Navigation & Logo in Gold */
html[data-theme="pirate"] .nav.is-solid,
html[data-theme="pirate"] .nav.is-open,
html[data-theme="pirate"] .nav__links { background-color: rgba(36, 21, 10, .94); }
@media (min-width: 861px) { html[data-theme="pirate"] .nav__links { background: none; } }
html[data-theme="pirate"] .nav__links a { font-size: 17px; }
html[data-theme="pirate"] :is(.nav__brand img, .hero__logo img, .footer__logo) {
  filter: sepia(1) saturate(2.6) hue-rotate(-10deg) brightness(1.04) contrast(1.06);
}

/* Hero: nächtliches Meer */
html[data-theme="pirate"] .hero__bg img { filter: sepia(.6) hue-rotate(135deg) saturate(.85) brightness(.8); }
html[data-theme="pirate"] .hero__tagline { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.2vw, 36px); }
html[data-theme="pirate"] .countdown__unit {
  background: var(--wood);
  border: 2px solid #8a5a2b;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), 0 10px 24px -10px rgba(0,0,0,.8), 0 0 calc(var(--beat) * 44px) rgba(232,176,74, calc(var(--beat) * .8));
}
html[data-theme="pirate"] .countdown__num { font-size: clamp(36px, 6.4vw, 70px); }
html[data-theme="pirate"] .facts dd { font-size: 19px; }
html[data-theme="pirate"] .wave { left: -3%; right: auto; width: 106%; transform-origin: 50% 100%; animation: heave 4.5s ease-in-out infinite alternate; }
@keyframes heave {
  0% { transform: translateX(0) scaleY(.85); }
  50% { transform: translateX(-1.5%) scaleY(1.25); }
  100% { transform: translateX(1.5%) scaleY(.95); }
}

html[data-theme="pirate"] .ship-wrap {
  display: block;
  position: absolute;
  left: 0;
  bottom: clamp(46px, 6.5vw, 90px);
  width: clamp(120px, 15vw, 230px);
  z-index: -1;
  animation: sail 55s linear infinite;
  animation-delay: -12s;
}
html[data-theme="pirate"] .ship { display: block; width: 100%; height: auto; transform-origin: 50% 85%; animation: rock 3.2s ease-in-out infinite alternate; }
@keyframes sail { from { transform: translateX(-30vw); } to { transform: translateX(115vw); } }
@keyframes rock { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(3deg) translateY(6px); } }

/* Laufband: Pergament mit Seil & Holzplanke */
html[data-theme="pirate"] .marquee__band--pink {
  background: #f3e2bd;
  color: #2b1d12;
  border-block: 7px solid transparent;
  border-image: var(--rope) 7;
}
html[data-theme="pirate"] .marquee__band--navy { background: var(--wood); color: #e8b04a; }
html[data-theme="pirate"] .marquee__track > span { text-transform: none; font-size: clamp(22px, 3vw, 36px); }
html[data-theme="pirate"] .flower {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M-9 -9L9 9M9 -9L-9 9' stroke='%232b1d12' stroke-width='2.8' stroke-linecap='round'/%3E%3Ccircle cy='-2' r='7' fill='%232b1d12'/%3E%3Crect x='-4' y='2' width='8' height='6' rx='1.6' fill='%232b1d12'/%3E%3Ccircle cx='-2.7' cy='-2' r='2' fill='%23f3e2bd'/%3E%3Ccircle cx='2.7' cy='-2' r='2' fill='%23f3e2bd'/%3E%3Cpath d='M0 1l-1.1 1.9h2.2z' fill='%23f3e2bd'/%3E%3C/svg%3E");
  animation: bob-skull 1.6s ease-in-out infinite alternate;
  filter: none !important;
}
html[data-theme="pirate"] .marquee__band--navy .flower {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M-9 -9L9 9M9 -9L-9 9' stroke='%23e8b04a' stroke-width='2.8' stroke-linecap='round'/%3E%3Ccircle cy='-2' r='7' fill='%23e8b04a'/%3E%3Crect x='-4' y='2' width='8' height='6' rx='1.6' fill='%23e8b04a'/%3E%3Ccircle cx='-2.7' cy='-2' r='2' fill='%233b2414'/%3E%3Ccircle cx='2.7' cy='-2' r='2' fill='%233b2414'/%3E%3Cpath d='M0 1l-1.1 1.9h2.2z' fill='%233b2414'/%3E%3C/svg%3E");
}
@keyframes bob-skull { from { transform: rotate(-14deg) translateY(-2px); } to { transform: rotate(14deg) translateY(2px); } }

/* Karten: Pergament mit angesengten Rändern */
html[data-theme="pirate"] :is(.card, .ticket, .faq details, .notice) {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 34px rgba(140, 90, 30, .3);
}
html[data-theme="pirate"] .card--paper { background: #fbf2dc; }
html[data-theme="pirate"] .card h3 { font-size: 24px; }
html[data-theme="pirate"] .card__num { font-size: 40px; }
html[data-theme="pirate"] .card--dark { box-shadow: inset 0 0 30px rgba(0,0,0,.35); }
html[data-theme="pirate"] .card .eyebrow::before { content: ""; }
html[data-theme="pirate"] .notice { background: #eadcbc; }

/* Wood: Zahlenband, Headliner, Weekend-Pass */
html[data-theme="pirate"] :is(.stats, .ticket--featured, .partner) {
  background: var(--wood);
  border: 3px solid #24150a;
  box-shadow: inset 0 0 0 2px rgba(232,176,74,.25), 0 24px 50px -24px rgba(0,0,0,.7);
}
html[data-theme="pirate"] .stats__num { font-size: clamp(44px, 5.6vw, 66px); }
html[data-theme="pirate"] .ticket h3 { font-size: 34px; }
html[data-theme="pirate"] .ticket--featured h3 { font-size: 40px; }
html[data-theme="pirate"] .ticket__price { font-size: 38px; }
html[data-theme="pirate"] .ticket--featured .ticket__price { font-size: 46px; }
html[data-theme="pirate"] .ticket li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a4161a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
html[data-theme="pirate"] .ticket--featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e8b04a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
html[data-theme="pirate"] .faq summary { font-size: clamp(20px, 2vw, 24px); }
html[data-theme="pirate"] .faq summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23a4161a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 1.5v11M1.5 7h11'/%3E%3C/svg%3E");
}
html[data-theme="pirate"] .packages li { background: rgba(0,0,0,.25); }
html[data-theme="pirate"] .packages strong { font-size: 21px; }
html[data-theme="pirate"] .packages span { font-size: 21px; }

/* Line-up: Schatzkarte */
html[data-theme="pirate"] .lineup-note { border: 2px dashed rgba(232,176,74,.6); }
html[data-theme="pirate"] .dj__mystery { font-size: clamp(90px, 12vw, 150px); color: #f3e2bd; text-shadow: 0 5px 0 #7a4d12, 0 12px 30px rgba(0,0,0,.6); }
html[data-theme="pirate"] .dj__name { font-size: clamp(20px, 2vw, 25px); }

/* Fotos in Sepia */
html[data-theme="pirate"] :is(.split__media img, .deko-hero img) { filter: sepia(.5) saturate(1.1) contrast(1.05); }

/* Vereinsseite */
html[data-theme="pirate"] .page-hero::before {
  background:
    conic-gradient(from 200deg at 18% -10%, transparent 0deg, rgba(232,176,74,.22) 18deg, transparent 36deg),
    conic-gradient(from 140deg at 82% -10%, transparent 0deg, rgba(95,168,160,.25) 16deg, transparent 32deg),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(18,74,80,.9), transparent 70%);
}
html[data-theme="pirate"] .wordmark {
  font-size: clamp(64px, 16vw, 190px);
  color: var(--pink);
  letter-spacing: 0;
  text-shadow: 0 5px 0 #7a4d12, 0 14px 30px rgba(0,0,0,.55);
}
html[data-theme="pirate"] .wordmark::after { background: var(--rope); box-shadow: 0 3px 0 rgba(0,0,0,.35); height: clamp(7px, 1vw, 11px); }
html[data-theme="pirate"] .team-art :is(.hat, .pirate-only) { display: inline; }
html[data-theme="pirate"] .team-art .sky { fill: #0c2a2f; }
html[data-theme="pirate"] #beamPink stop { stop-color: #e8b04a; }
html[data-theme="pirate"] #beamBlue stop { stop-color: #5fa8a0; }
html[data-theme="pirate"] #floor stop { stop-color: #1b5a60; }
html[data-theme="pirate"] .contact .card__text { font-size: 22px; }

/* Footer */
html[data-theme="pirate"] .footer h4 { color: var(--pink); }
html[data-theme="pirate"] .footer__bottom strong { font-size: 20px; font-weight: 400; }

/* Schwimmende Knöpfe */
html[data-theme="pirate"] :is(.theme-btn, .party-btn) {
  background: var(--wood);
  border-color: #e8b04a;
  color: #f3e2bd;
  font-size: 18px;
}
html[data-theme="pirate"] .party-btn[aria-pressed="true"] { background: linear-gradient(180deg, #f8d67c, #d4962a); color: #2b1d12; }
html[data-theme="pirate"] .eq i { background: #e8b04a; }
html[data-theme="pirate"] .party-btn[aria-pressed="true"] .eq i { background: #2b1d12; }

@media (max-width: 600px) {
  html[data-theme="pirate"] .countdown__num { font-size: clamp(28px, 9vw, 40px); }
  html[data-theme="pirate"] :is(.theme-btn, .party-btn) { font-size: 15px; }
  html[data-theme="pirate"] .btn { font-size: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  html.party[data-theme="pirate"] .hero__bg img { filter: sepia(.6) hue-rotate(135deg) saturate(.9) brightness(calc(.8 + var(--beat) * .45)); }
}

/* ==========================================================
   Release-Schalter (siehe release.js)
   ========================================================== */

.no-date { display: none; }
html.hide-datum .is-date { display: none !important; }
html.hide-datum .no-date { display: revert; }
html.hide-piraten .theme-btn { display: none; }

/* Countdown als Teaser, solange das Datum geheim ist */
.countdown--teaser.is-scrambling .countdown__num { color: #fff; text-shadow: -3px 0 var(--pink), 3px 0 var(--periwinkle); }

.preview-badge {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 85;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #c2187a;
  color: #fff;
  font: 600 12px/1.2 "DM Sans", system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
  white-space: nowrap;
}
.preview-badge span { opacity: .8; font-weight: 500; }
.preview-badge:hover span { opacity: 1; text-decoration: underline; }
