/* DIGI DIGI SUNSHINE – Sonnenschutzfaktor 0 */
:root {
  --sun: #ffb000; --tan: #ff5a00; --hot: #ff0f7b; --vio: #b517ff;
  --ult: #2b12d6; --tea: #00d8b4; --lim: #c6f000; --cre: #fff2c9; --ink: #16041f;
  --mono: "Courier New", ui-monospace, Consolas, monospace;
  --dock: 58px;
  --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath fill='%2316041f' d='M6 0h4v3h2V1h3v3h-2v2h3v4h-3v2h2v3h-3v-2h-2v3H6v-3H4v2H1v-3h2v-2H0V6h3V4H1V1h3v2h2z'/%3E%3Cpath fill='%23ffb000' d='M7 1h2v3H7zM7 12h2v3H7zM1 7h3v2H1zM12 7h3v2h-3zM2 2h1v1h1v1H3V3H2zM13 2h1v1h-1v1h-1V3h1zM5 4h6v1h1v6h-1v1H5v-1H4V5h1z'/%3E%3Cpath fill='%2316041f' d='M6 6h1v2H6zM9 6h1v2H9zM6 10h4v1H6z'/%3E%3C/svg%3E") 16 16, crosshair;
  --cur-hot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath fill='%2316041f' d='M6 0h4v3h2V1h3v3h-2v2h3v4h-3v2h2v3h-3v-2h-2v3H6v-3H4v2H1v-3h2v-2H0V6h3V4H1V1h3v2h2z'/%3E%3Cpath fill='%23ff0f7b' d='M7 1h2v3H7zM7 12h2v3H7zM1 7h3v2H1zM12 7h3v2h-3zM2 2h1v1h1v1H3V3H2zM13 2h1v1h-1v1h-1V3h1zM5 4h6v1h1v6h-1v1H5v-1H4V5h1z'/%3E%3Cpath fill='%23c6f000' d='M6 6h1v2H6zM9 6h1v2H9zM6 10h4v1H6z'/%3E%3C/svg%3E") 16 16, pointer;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 12px; scrollbar-color: var(--hot) var(--ink); overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--ink); font: 700 18px/1.45 var(--mono); cursor: var(--cur); overflow-x: clip; padding-bottom: var(--dock); }
body.is-gated { overflow: hidden; height: 100svh; }
a, button, input, label[for] { cursor: var(--cur-hot); }
a { color: inherit; }
:focus-visible { outline: 4px dashed var(--lim); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); }
::selection { background: var(--hot); color: var(--cre); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- feste Ebenen ---------- */
#acid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; image-rendering: pixelated;
  background: repeating-radial-gradient(circle at 50% 35%, var(--sun) 0 40px, var(--tan) 40px 80px, var(--hot) 80px 120px, var(--vio) 120px 160px, var(--ult) 160px 200px, var(--tea) 200px 240px); }
#trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; image-rendering: pixelated; }
#scan { position: fixed; inset: 0; z-index: 6; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(22,4,31,.16) 0 2px, transparent 2px 5px); }
#stickers { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.sticker { position: absolute; left: 0; top: 0; width: 76px; height: 76px; pointer-events: auto; will-change: transform; }
.sticker svg { width: 100%; height: 100%; display: block; }
@media (hover: none) { .sticker { pointer-events: none; width: 52px; height: 52px; } }
#trip { position: relative; z-index: 2; overflow-x: clip; }

/* ---------- Pixelschrift ---------- */
.pw { display: inline-block; height: 1em; max-width: 100%; vertical-align: top; overflow: visible; shape-rendering: crispEdges; margin-right: .42em; }
.pw:last-of-type { margin-right: 0; }
.pw g { animation: hop 1.1s steps(2) infinite; animation-delay: calc(var(--i) * -.13s); }
@keyframes hop { 50% { transform: translateY(-.7px); } }

h2 { margin: 0 0 .35em; font-size: clamp(52px, 11vw, 168px); line-height: 1.08; font-weight: 700; }
.big { font-size: clamp(21px, 2.6vw, 34px); line-height: 1.25; margin: 0 0 18px; background: var(--ink); color: var(--cre); padding: 10px 14px; display: inline-block; box-decoration-break: clone; }

/* ---------- Knöpfe ---------- */
.btn { font: 700 clamp(16px, 1.6vw, 20px)/1.15 var(--mono); text-transform: uppercase; color: var(--ink); background: var(--lim); border: 0; padding: 15px 20px; min-height: 48px;
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink), -5px 0 0 var(--ink), 5px 0 0 var(--ink), 10px 10px 0 var(--ink); transition: transform .08s steps(2); }
.btn:hover { transform: translate(-3px, -3px) rotate(-2deg); background: var(--sun); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink), -5px 0 0 var(--ink), 5px 0 0 var(--ink); }
.btn-hot { background: var(--hot); color: var(--cre); }
.btn-hot:hover { background: var(--vio); }
.btn-calm { background: var(--tea); }
.ico-play { display: block; width: 0; height: 0; border-left: 22px solid currentColor; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 5px; }
.is-playing .ico-play { width: 22px; height: 28px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 8px, transparent 8px 14px, currentColor 14px); }

/* ---------- Eingang ---------- */
#gate { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; overflow: auto; background: rgba(22, 4, 31, .28); }
#gate[hidden] { display: none; }
#gate.bye { animation: gateOut .55s steps(7) forwards; }
@keyframes gateOut { to { transform: scale(5) rotate(40deg); opacity: 0; } }
.gate-card { width: min(680px, 100%); background: var(--ink); color: var(--cre); padding: clamp(22px, 4vw, 42px); transform: rotate(-1.5deg);
  box-shadow: 0 -8px 0 var(--hot), 0 8px 0 var(--hot), -8px 0 0 var(--hot), 8px 0 0 var(--hot), 18px 18px 0 var(--ult); }
.gate-kicker { margin: 0 0 6px; color: var(--lim); text-transform: uppercase; font-size: 15px; }
.gate-title { font-size: clamp(50px, 11vw, 92px); margin-bottom: .25em; }
.gate-text { margin: 0 0 26px; }
.gate-btns { display: grid; gap: 20px; justify-items: start; padding: 0 8px; }
.gate-legal { margin: 30px 0 0; font-size: 15px; display: flex; gap: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100svh - var(--dock)); min-height: 520px; touch-action: pan-y; overflow: hidden; }
#logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-tag { position: absolute; left: 12px; right: 12px; margin: 0; text-align: center; color: var(--cre); text-transform: uppercase; font-size: clamp(15px, 2vw, 24px); line-height: 1.2; pointer-events: none; }
.hero-tag { text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink); }
.hero-tag span { display: block; font-size: .68em; color: var(--lim); text-transform: none; }

/* ---------- Laufbänder ---------- */
.band { width: 112vw; margin: 10px -6vw; background: var(--ink); color: var(--sun); overflow: hidden; font-size: clamp(38px, 6vw, 84px); padding: .16em 0; transform: rotate(-2.5deg); position: relative; z-index: 3; }
.band-b { background: var(--hot); transform: rotate(2deg); }
.band-track { display: flex; width: max-content; white-space: nowrap; animation: slide 22s linear infinite; }
.band-b .band-track { animation-direction: reverse; animation-duration: 15s; }
@keyframes slide { to { transform: translateX(-50%); } }
.band .pw { margin-right: .42em; flex: none; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding: clamp(70px, 11vw, 150px) clamp(16px, 5vw, 80px); max-width: 1500px; margin: 0 auto; }

/* Mix */
.sec-mix { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.wheel-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
#wheel { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.wheel-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border: 0; color: var(--ink); background: var(--sun); display: grid; place-items: center;
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink), -6px 0 0 var(--ink), 6px 0 0 var(--ink); }
.wheel-play:hover { background: var(--lim); transform: rotate(45deg); }
.wheel-play:hover .ico-play { transform: rotate(-45deg); }
.seek { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; padding: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, var(--vio) 12px 16px); outline-offset: 5px; box-shadow: 0 0 0 5px var(--ink); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 46px; background: var(--lim); box-shadow: 0 0 0 4px var(--ink); }
.seek::-moz-range-thumb { width: 26px; height: 46px; border: 0; border-radius: 0; background: var(--lim); box-shadow: 0 0 0 4px var(--ink); }
.time { display: inline-block; background: var(--lim); padding: 2px 12px; margin: 20px 0 0; font-size: 22px; }

/* Video */
.sec-video { text-align: center; }
.altar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(6px, 2vw, 26px); align-items: end; max-width: 1040px; margin: 0 auto; }
.altar canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; background: var(--ink); filter: brightness(2.1) contrast(1.05) saturate(1.7);
  clip-path: polygon(0 12%, 6% 12%, 6% 8%, 14% 8%, 14% 5%, 26% 5%, 26% 2.5%, 38% 2.5%, 38% 0, 62% 0, 62% 2.5%, 74% 2.5%, 74% 5%, 86% 5%, 86% 8%, 94% 8%, 94% 12%, 100% 12%, 100% 100%, 0 100%); }
.wing { animation: hue 7s steps(14) infinite; }
.wing-r { animation-direction: reverse; }
@keyframes hue { from { filter: brightness(2.1) contrast(1.05) saturate(2.4) hue-rotate(0deg); } to { filter: brightness(2.1) contrast(1.05) saturate(2.4) hue-rotate(360deg); } }
.pxctl { max-width: 640px; margin: 44px auto 0; }
.pxctl label { display: block; background: var(--ink); color: var(--cre); padding: 6px 12px; margin-bottom: 18px; font-size: 16px; }

/* Beipackzettel */
.sec-pack { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 30px; align-items: center; }
.pack { background: var(--cre); padding: clamp(22px, 4vw, 52px); box-shadow: 0 -8px 0 var(--ink), 0 8px 0 var(--ink), -8px 0 0 var(--ink), 8px 0 0 var(--ink), 22px 22px 0 var(--tan); color: var(--ink); }
.pack h2 { font-size: clamp(36px, 6.4vw, 88px); color: var(--ult); hyphens: manual; }
.pack dl { margin: 0; display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 0 18px; }
.pack dt, .pack dd { margin: 0; padding: 8px 0; border-top: 4px dotted var(--ink); }
.pack dt { color: var(--hot); text-transform: uppercase; font-size: 16px; padding-top: 11px; }
.pack-foot { margin: 20px 0 0; padding: 10px 14px; background: var(--ink); color: var(--lim); }
.flee-zone { position: relative; min-height: 220px; display: grid; place-items: center; }
#flee { transition: transform .16s steps(3); }

/* Sequencer */
.sec-seq h2 { font-size: clamp(46px, 9.5vw, 150px); }
.seq { background: var(--ink); padding: clamp(10px, 2vw, 22px); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; margin-top: 12px; box-shadow: 16px 16px 0 var(--vio); }
.seq-labels { display: grid; grid-template-rows: repeat(4, 1fr); color: var(--cre); font-size: 15px; text-transform: uppercase; align-items: center; }
.seq-grid { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; }
.st { aspect-ratio: 1; min-height: 28px; border: 0; padding: 0; background: #3b1650; }
.st:nth-child(8n+1), .st:nth-child(8n+2), .st:nth-child(8n+3), .st:nth-child(8n+4) { background: #552169; }
.st:hover { background: var(--cre); }
.st[aria-pressed="true"] { background: var(--c); }
.st.now { outline: 3px solid var(--cre); outline-offset: -3px; }
.st[aria-pressed="true"].now { background: var(--cre); }
.seq-ctl { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 44px; padding: 0 6px; }
.bpm { flex: 1 1 220px; color: var(--cre); background: var(--ink); padding: 6px 12px 14px; display: grid; gap: 8px; }

/* Live */
.gigs { display: grid; gap: 22px; max-width: 1040px; }
.gig { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(14px, 3vw, 34px); align-items: center; background: var(--cre); padding: 14px clamp(14px, 3vw, 28px); box-shadow: 12px 12px 0 var(--ult); }
.gig:nth-child(odd) { transform: rotate(-1deg); }
.gig:nth-child(even) { transform: rotate(1deg) translateX(3vw); background: var(--lim); }
.gig-d { font-size: clamp(32px, 5vw, 58px); line-height: 1; color: var(--hot); white-space: nowrap; }
.gig-d small { display: block; font-size: 15px; color: var(--ink); margin-top: 6px; }
.gig-w { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
.gig-w small { display: block; font-size: 16px; }
.gig-empty { background: var(--ink); color: var(--cre); padding: clamp(22px, 4vw, 44px); max-width: 820px; transform: rotate(-1.5deg); box-shadow: 16px 16px 0 var(--tea); }
.gig-empty strong { display: block; color: var(--sun); font-size: clamp(25px, 3.6vw, 44px); line-height: 1.1; margin-bottom: 14px; }
.gig-empty p { margin: 0 0 24px; }

/* Booking */
.sec-book { display: grid; gap: 70px; padding-bottom: 90px; }
.mailcard { background: var(--hot); color: var(--cre); padding: clamp(22px, 4vw, 54px); box-shadow: 0 -8px 0 var(--ink), 0 8px 0 var(--ink), -8px 0 0 var(--ink), 8px 0 0 var(--ink), 22px 22px 0 var(--sun); }
.mailcard h2 { font-size: clamp(32px, 6.4vw, 92px); }
.mail { display: block; font-size: clamp(27px, 5.6vw, 84px); line-height: 1.08; color: var(--lim); text-decoration: none; overflow-wrap: anywhere; text-shadow: 3px 3px 0 var(--ink); }
.mail:hover { color: var(--cre); text-decoration: underline wavy var(--ink); }
.postcard { position: relative; justify-self: end; width: min(560px, 100%); font-style: normal; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.35; background: var(--cre); padding: 30px 120px 30px 30px;
  border: 8px solid; border-image: repeating-linear-gradient(45deg, var(--hot) 0 12px, var(--cre) 12px 24px, var(--ult) 24px 36px, var(--cre) 36px 48px) 8; box-shadow: 14px 14px 0 var(--ink); }
.stamp { position: absolute; right: 18px; top: 18px; width: 76px; height: 92px; background: var(--sun); border: 6px dotted var(--cre); outline: 4px solid var(--tan); outline-offset: -10px; animation: spin 6s steps(12) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.foot { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; background: var(--ink); color: var(--cre); padding: 22px 16px; font-size: 16px; }

/* ---------- Dock ---------- */
#dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; height: var(--dock); display: flex; align-items: center; gap: 12px; padding: 0 10px; background: var(--ink); color: var(--cre); border-top: 5px solid; border-image: linear-gradient(90deg, var(--sun) 0 16%, var(--tan) 0 32%, var(--hot) 0 48%, var(--vio) 0 64%, var(--tea) 0 80%, var(--lim) 0) 5; font-size: 15px; }
.dock-play { flex: none; width: 44px; height: 44px; border: 0; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.dock-play .ico-play { transform: scale(.7); }
.dock-play:hover { background: var(--lim); }
.dock-time { flex: none; color: var(--lim); min-width: 5ch; }
.dock-links { flex: 1 1 auto; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.dock-links::-webkit-scrollbar { display: none; }
.dock-links a { flex: none; padding: 10px 11px; text-decoration: none; text-transform: uppercase; }
.dock-links a:hover { background: var(--hot); transform: rotate(-4deg); }
.dock-calm { flex: none; height: 44px; padding: 0 12px; border: 3px solid var(--tea); background: transparent; color: var(--tea); font: 700 15px var(--mono); text-transform: uppercase; }
.dock-calm[aria-pressed="true"] { background: var(--tea); color: var(--ink); }

/* ---------- Fehlerfenster ---------- */
.syswin { position: fixed; z-index: 9; width: min(330px, calc(100vw - 24px)); background: var(--cre); color: var(--ink); font-size: 16px; box-shadow: 0 0 0 4px var(--ink), 10px 10px 0 4px var(--ink); animation: pop .22s steps(4); }
@keyframes pop { from { transform: scale(.2) rotate(-14deg); } }
.syswin-bar { background: var(--ult); color: var(--cre); padding: 5px 10px; touch-action: none; user-select: none; }
.syswin p { margin: 0; padding: 14px 12px 6px; }
.syswin-btns { display: flex; gap: 10px; padding: 8px 12px 14px; }
.syswin-btns button { font: 700 15px var(--mono); border: 0; min-height: 40px; padding: 6px 14px; background: var(--lim); box-shadow: 0 0 0 3px var(--ink); }
.syswin-btns button + button { background: var(--hot); color: var(--cre); }

/* ---------- Impressum / Datenschutz ---------- */
.legal { width: min(760px, calc(100vw - 24px)); max-height: min(84svh, 900px); padding: 0; border: 0; background: var(--cre); color: var(--ink); font: 700 16px/1.5 var(--mono); overflow: hidden; box-shadow: 0 0 0 6px var(--ink), 16px 16px 0 6px var(--hot); }
.legal[open] { display: flex; flex-direction: column; animation: legalIn .3s steps(5); }
@keyframes legalIn { from { transform: scale(.1) rotate(200deg); } }
.legal::backdrop { background: rgba(22, 4, 31, .72); }
.legal-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ult); color: var(--cre); padding: 8px 8px 8px 16px; touch-action: none; user-select: none; }
.legal-bar h2 { font-size: 22px; margin: 0; text-transform: uppercase; }
.legal-x { width: 44px; height: 44px; border: 0; background: var(--hot); color: var(--cre); font: 700 22px var(--mono); }
.legal-x:hover { background: var(--lim); color: var(--ink); }
.legal-body { padding: 8px 20px 26px; overflow-y: auto; font-weight: 400; }
.legal-body h3 { font-size: 17px; margin: 22px 0 4px; color: var(--ult); }
.legal-body p { margin: 0 0 8px; overflow-wrap: anywhere; }
.legal-body mark { background: var(--lim); color: var(--ink); font-weight: 700; }
.legal-date { margin-top: 20px !important; }
dialog.legal:target { display: block; }

.nojs { position: relative; z-index: 30; background: var(--cre); padding: 20px; margin: 0; }

/* ---------- Kernschmelze ---------- */
body.melt #trip { animation: melt 5s steps(30) both; transform-origin: 50% 50vh; }
@keyframes melt {
  0% { transform: none; filter: none; }
  20% { transform: rotate(14deg) skewX(30deg) scale(.8); filter: hue-rotate(120deg) invert(1); }
  50% { transform: rotate(180deg) scale(.6); filter: hue-rotate(240deg); }
  80% { transform: rotate(350deg) skewY(20deg) scale(1.1); filter: hue-rotate(320deg) invert(1); }
  100% { transform: rotate(360deg); filter: none; }
}

/* ---------- Sanfter Trip ---------- */
body.calm *, body.calm *::before, body.calm *::after { animation: none !important; transition: none !important; }
body.calm .warp { transform: none !important; }
body.calm #scan, body.calm #stickers, body.calm #trail { display: none; }
html:has(body.calm) { scroll-behavior: auto; }

/* ---------- Telefon ---------- */
@media (max-width: 820px) {
  :root { --dock: 56px; }
  body { font-size: 17px; }
  .dock-links { justify-content: flex-start; }
  .dock-time { display: none; }
  .sec-mix, .sec-pack { grid-template-columns: minmax(0, 1fr); }
  .wheel-play { width: 72px; height: 72px; margin: -36px; }
  .altar { grid-template-columns: minmax(0, .55fr) minmax(0, 2.4fr) minmax(0, .55fr); }
  .flee-zone { min-height: 130px; }
  .pack dl { grid-template-columns: minmax(0, 1fr); }
  .pack dd { border-top: 0; padding-top: 0; }
  .seq { grid-template-columns: minmax(0, 1fr); }
  .seq-labels { grid-template-rows: none; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 14px; }
  .seq-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(16, 38px); grid-auto-flow: column; }
  .st { aspect-ratio: auto; }
  .gig { grid-template-columns: minmax(0, 1fr); }
  .gig:nth-child(even) { transform: rotate(1deg); }
  .postcard { padding: 112px 20px 22px; }
  .stamp { left: 20px; right: auto; top: 14px; width: 66px; height: 80px; }
}
