/* pueski.de — handgeschrieben, ohne Framework. */

@font-face { font-family: 'Space Grotesk'; src: url(/fonts/space-grotesk-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(/fonts/space-grotesk-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/fonts/inter-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/fonts/inter-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/fonts/inter-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #06080c;
  --bg2: #0b0f16;
  --bg3: #111723;
  --line: rgba(160, 190, 230, 0.12);
  --line2: rgba(160, 190, 230, 0.22);
  --ink: #eef2f8;
  --ink2: #c9d2df;
  --muted: #8d99ab;
  --cyan: #5cc8ff;
  --amber: #ffb547;
  --magenta: #ff5c9a;
  --lime: #b6f36a;
  --violet: #a78bfa;
  --copper: #f08a5d;
  --acc: var(--cyan);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 18px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd {
  font: 600 11px/1 var(--mono); padding: 3px 6px; border-radius: 6px;
  border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--ink2);
}
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
::selection { background: color-mix(in srgb, var(--acc) 40%, transparent); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
  transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.nav.solid { background: rgba(6, 8, 12, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px/1 var(--display); letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font: 700 14px/1 var(--mono); color: var(--bg);
  background: conic-gradient(from 210deg, var(--cyan), var(--magenta), var(--amber), var(--lime), var(--cyan));
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink2);
  padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.on { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-links a.on { box-shadow: inset 0 -2px 0 var(--acc-on, var(--cyan)); }
.nav-tools { display: flex; gap: 8px; }
.tool {
  height: 38px; min-width: 38px; padding: 0 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); display: flex; align-items: center; gap: 4px;
  transition: border-color .2s, background .2s;
}
.tool:hover { border-color: var(--line2); background: rgba(255,255,255,.07); }
.term-btn { font: 600 14px/1 var(--mono); color: var(--lime); }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--acc);
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.04);
  text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--b) 60%, transparent); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--b) 60%, transparent); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: #fff; }
.btn.ghost { background: transparent; }
.btn.small { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn .ico { font-size: 13px; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--acc); font-weight: 600; font-size: 14px; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.links.center { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--gut) 90px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(1.1) contrast(1.05); }
#hero-scope { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; opacity: 0; transition: opacity .8s; }
#hero-scope.on { opacity: .9; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,8,12,.94) 0%, rgba(6,8,12,.78) 38%, rgba(6,8,12,.25) 75%, rgba(6,8,12,.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,8,12,0) 30%),
    linear-gradient(180deg, rgba(6,8,12,.7) 0%, rgba(6,8,12,0) 22%);
}
.hero-veil::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.hero-inner { max-width: 780px; margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--gut))); }
.kicker { font-size: 13px; color: var(--cyan); letter-spacing: .04em; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title { margin: 0; font: 700 clamp(64px, 12.5vw, 176px)/.86 var(--display); letter-spacing: -.045em; }
.hero-title .line { display: block; }
.hero-title .accent {
  background: linear-gradient(100deg, var(--amber) 0%, var(--magenta) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.hero-sub { font: 500 clamp(22px, 3vw, 34px)/1.25 var(--display); margin: 26px 0 0; letter-spacing: -.01em; }
.rotator { color: var(--ink); position: relative; white-space: nowrap; }
.rotator::after { content: ''; display: inline-block; width: .5em; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.br-m { display: none; }
.hero-lede { max-width: 600px; color: var(--ink2); font-size: clamp(16px, 1.5vw, 19px); margin: 22px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-caption { position: absolute; right: var(--gut); bottom: 28px; font-size: 12px; color: var(--muted); max-width: 360px; text-align: right; }
.hero-caption em { color: var(--ink2); font-style: normal; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid var(--line2); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--ink2); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max); margin: -40px auto 0; padding: 0 var(--gut); position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: transparent;
}
.stat { padding: 26px 18px; background: linear-gradient(180deg, rgba(17,23,35,.9), rgba(11,15,22,.9)); border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.stat:first-child { border-radius: var(--r) 0 0 var(--r); }
.stat:last-child { border-radius: 0 var(--r) var(--r) 0; }
.stat b { display: block; font: 700 clamp(28px, 3.2vw, 42px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.stat:nth-child(1) b { color: var(--cyan); } .stat:nth-child(2) b { color: var(--amber); } .stat:nth-child(3) b { color: var(--ink); }
.stat:nth-child(4) b { color: var(--cyan); } .stat:nth-child(5) b { color: var(--copper); } .stat:nth-child(6) b { color: var(--magenta); }

/* ---------- Sections ---------- */
.sec { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--gut) 0; }
.sec::before {
  content: ''; position: absolute; inset: 0 -40vw auto; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 40% 60% at 50% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 70%);
}
.sec-head { max-width: 820px; margin-bottom: 48px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin: 0 0 14px; }
h2 { font: 700 clamp(44px, 7vw, 96px)/.95 var(--display); letter-spacing: -.04em; margin: 0; }
h2 .tm { color: var(--acc); }
h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
h4 { font: 700 19px/1.25 var(--display); margin: 0 0 6px; letter-spacing: -.01em; }
.sec-lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink2); margin: 22px 0 0; max-width: 760px; }
.sub-h { margin-top: 90px; }
.sub-lede { color: var(--ink2); max-width: 720px; margin: -4px 0 24px; }
.note { color: var(--muted); font-size: 14px; border-left: 2px solid var(--acc); padding: 2px 0 2px 14px; max-width: 820px; margin-top: 26px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- fitzel ---------- */
.showpiece { margin: 0; position: relative; border-radius: calc(var(--r) + 6px); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 120px -50px rgba(255,181,71,.35); cursor: zoom-in; }
.showpiece img { width: 100%; height: auto; aspect-ratio: 1600/833; object-fit: cover; transition: transform 1.6s var(--ease); }
.showpiece:hover img { transform: scale(1.03); }
.showpiece figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; background: linear-gradient(0deg, rgba(6,8,12,.92), transparent); color: var(--ink2); font-size: 15px; }
.showpiece figcaption .mono { display: block; color: var(--amber); font-size: 12px; margin-bottom: 6px; letter-spacing: .06em; }
.fitzel-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; margin-top: 56px; align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { position: relative; padding-left: 20px; color: var(--ink2); }
.feature-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); }
.feature-list b { color: var(--ink); font-weight: 600; }
.feature-list.compact { gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.facts div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--bg2); }
.facts b { display: block; font: 700 26px/1 var(--display); color: var(--acc); }
.facts span { font-size: 12px; color: var(--muted); }
.fitzel-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 74px; gap: 8px; position: sticky; top: 90px; }
.tile { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; background: var(--bg3); padding: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9); }
.tile:hover img { transform: scale(1.08); filter: saturate(1.15); }
.tile::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 11px; line-height: 1.3; text-align: left; color: var(--ink); background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); opacity: 0; transition: opacity .3s; }
.tile:hover::after { opacity: 1; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; margin-top: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, var(--bg2), var(--bg)); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 45%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--acc) 45%, transparent); }
.card-media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media.ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 60%), var(--bg3); }
.card-media.ph img { display: none; }
.ph-glyph { font: 700 46px/1 var(--mono); color: color-mix(in srgb, var(--acc) 80%, white); opacity: .85; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body p { margin: 0 0 8px; color: var(--ink2); font-size: 15px; flex: 1; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.vid { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--bg3); padding: 0; text-align: left; transition: transform .3s var(--ease), border-color .3s; }
.vid:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.vid img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.vid .play { position: absolute; top: calc(50% - 46px); left: 50%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: rgba(6,8,12,.7); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: background .3s, transform .3s; }
.vid .play::before { content: ''; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.vid:hover .play { background: var(--acc); transform: scale(1.08); }
.vid .vt { padding: 12px 14px 14px; }
.vid .vt strong { display: block; font: 600 14px/1.35 var(--text); }
.vid .vt span { font-size: 12px; color: var(--muted); }

/* ---------- Audio ---------- */
.audio-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.audio-shots { position: relative; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg3); box-shadow: 0 40px 100px -40px rgba(92,200,255,.35); }
.audio-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 1.2s; cursor: zoom-in; }
.audio-shots img.on { opacity: 1; }
.audio-shots .dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.audio-shots .dots button { width: 26px; height: 6px; border-radius: 3px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.audio-shots .dots button.on { background: var(--cyan); }
.audio-shots .cap { position: absolute; left: 14px; top: 12px; z-index: 2; font: 12px var(--mono); padding: 5px 9px; border-radius: 8px; background: rgba(6,8,12,.75); color: var(--ink2); }

.plugin-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; perspective: 1200px; }
.plug { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg3); cursor: zoom-in; padding: 0; aspect-ratio: 882/618; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.plug img { width: 100%; height: 100%; object-fit: cover; }
.plug .pl-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; text-align: left; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); font-size: 12px; line-height: 1.25; }
.plug .pl-name b { display: block; font: 700 14px/1.1 var(--display); color: var(--ink); }
.plug .pl-name span { color: var(--muted); }
.plug:hover { transform: translateZ(40px) scale(1.06); z-index: 2; border-color: var(--cyan); box-shadow: 0 24px 50px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(92,200,255,.3); }

/* Synth */
.synth { margin-top: 90px; border: 1px solid var(--line2); border-radius: calc(var(--r) + 6px); padding: clamp(18px, 3vw, 34px); background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(92,200,255,.10), transparent 60%), linear-gradient(180deg, #0e1420, #090c12); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 50px 100px -50px rgba(0,0,0,.8); }
.synth-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.synth-head h3 { margin-bottom: 8px; }
.synth-head p { margin: 0; font-size: 15px; }
.synth-scope { width: 100%; height: 120px; border-radius: 12px; background: #05070b; border: 1px solid var(--line); }
.synth-panel { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 26px 0 20px; }
.knobs { display: flex; flex-wrap: wrap; gap: 16px; }
.knob { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; user-select: none; touch-action: none; }
.knob .dial { width: 58px; height: 58px; border-radius: 50%; position: relative; cursor: ns-resize; background: radial-gradient(circle at 35% 30%, #2a3446, #121822 70%); border: 1px solid var(--line2); box-shadow: 0 6px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.knob .dial::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(from 225deg, var(--cyan) 0 var(--deg, 0deg), rgba(255,255,255,.08) var(--deg, 0deg) 270deg, transparent 270deg); mask: radial-gradient(circle, transparent 60%, #000 61%); -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); }
.knob .dial::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 14px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); transform-origin: 50% 22px; transform: rotate(var(--rot, -135deg)); }
.knob label { font: 600 11px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.knob output { font: 12px/1 var(--mono); color: var(--cyan); }
.synth-switches { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.sw { display: flex; flex-direction: column; gap: 6px; font: 600 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sw select { height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); padding: 0 12px; font: 14px var(--text); }
#syn-arp[aria-pressed="true"] { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.keys { position: relative; display: flex; height: 170px; user-select: none; touch-action: none; border-radius: 0 0 12px 12px; overflow: hidden; }
.key { flex: 1; position: relative; border: 1px solid #1a2130; border-top: 0; background: linear-gradient(180deg, #e8edf4, #fdfdff 85%, #cfd6e1); border-radius: 0 0 8px 8px; cursor: pointer; }
.key.black { position: absolute; z-index: 2; width: calc(100% / 15 * .62); height: 62%; background: linear-gradient(180deg, #0c1018, #232b3a); border: 1px solid #000; border-radius: 0 0 6px 6px; }
.key.down { background: linear-gradient(180deg, #9fdcff, #5cc8ff); }
.key.black.down { background: linear-gradient(180deg, #2f6c8f, #5cc8ff); }
.key .kl { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font: 600 11px var(--mono); color: #7a8597; }
.key.black .kl { color: #6f7b8e; bottom: 6px; }

/* ---------- Arcade ---------- */
.arcade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.game:hover { transform: translateY(-5px) rotate(-.3deg); border-color: color-mix(in srgb, var(--lime) 55%, transparent); box-shadow: 0 34px 70px -30px rgba(182,243,106,.35); }
.game-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0a0d12; }
.game-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); image-rendering: auto; }
.game:hover .game-media img { transform: scale(1.06); }
.game-media::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); pointer-events: none; mix-blend-mode: multiply; }
.game-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; background: rgba(6,8,12,.8); color: var(--lime); border: 1px solid rgba(182,243,106,.3); }
.game-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-body h4 { font-size: 22px; }
.game-body p { margin: 0; color: var(--ink2); font-size: 15px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink2); background: rgba(255,255,255,.02); }
.game-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.btn.play { --b: var(--lime); background: var(--lime); color: #0a0f05; border-color: var(--lime); }
.btn.play:hover { background: #cbff8a; }

/* ---------- Music player ---------- */
.player { border: 1px solid var(--line2); border-radius: calc(var(--r) + 6px); overflow: hidden; background: linear-gradient(180deg, #120b14, #08070b); box-shadow: 0 60px 120px -60px rgba(255,92,154,.45); }
.player-vis { position: relative; height: clamp(220px, 32vw, 340px); }
#player-canvas { width: 100%; height: 100%; }
.player-now { position: absolute; left: 28px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.player-now strong { font: 700 clamp(28px, 4vw, 48px)/1 var(--display); letter-spacing: -.03em; text-shadow: 0 4px 30px rgba(0,0,0,.8); }
.play-big { position: absolute; right: 28px; bottom: 22px; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; background: var(--magenta); box-shadow: 0 0 0 0 rgba(255,92,154,.5), 0 12px 30px rgba(255,92,154,.45); display: grid; place-items: center; transition: transform .2s; }
.play-big:hover { transform: scale(1.06); }
.play-big .tri { width: 0; height: 0; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.play-big.on .tri { width: 22px; height: 26px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.play-big.on { animation: beat 1s infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(255,92,154,.45), 0 12px 30px rgba(255,92,154,.45); } 100% { box-shadow: 0 0 0 22px rgba(255,92,154,0), 0 12px 30px rgba(255,92,154,.45); } }
.player-bar { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.25); }
.pbtn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 16px; }
.pbtn:hover { border-color: var(--magenta); }
.pl-progress { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.pl-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--amber), var(--magenta)); }
.pl-time { font-size: 13px; color: var(--muted); min-width: 44px; text-align: right; }
.tracklist { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tracklist li button { width: 100%; display: flex; align-items: baseline; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; transition: background .2s; }
.tracklist li button:hover { background: rgba(255,255,255,.05); }
.tracklist li button.on { background: rgba(255,92,154,.14); }
.tracklist .ty { font: 12px var(--mono); color: var(--magenta); min-width: 76px; }
.tracklist .tt { font-weight: 500; font-size: 15px; }
.player .links { padding: 4px 22px 22px; margin-top: 4px; }

/* ---------- Business ---------- */
.biz-feature { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; }
.biz-shots { position: relative; aspect-ratio: 16/10; }
.biz-shots .shot { position: absolute; width: 74%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); cursor: zoom-in; padding: 0; background: var(--bg3); transition: transform .6s var(--ease), z-index 0s .3s; }
.biz-shots .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.biz-shots .shot:nth-child(1) { left: 0; top: 0; transform: rotate(-2deg); z-index: 1; }
.biz-shots .shot:nth-child(2) { left: 13%; top: 12%; transform: rotate(1deg); z-index: 2; }
.biz-shots .shot:nth-child(3) { left: 26%; top: 24%; transform: rotate(-.5deg); z-index: 3; }
.biz-shots .shot:hover { transform: rotate(0) scale(1.04); z-index: 5; transition: transform .6s var(--ease), z-index 0s; }
.biz-copy p { color: var(--ink2); }
.biz-copy .chips { margin-top: 18px; }
.biz-more { margin-top: 12px; font-size: 14px; }

/* ---------- Werkstatt ---------- */
.bb { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.bb-media { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16/10; }
.bb-media .tile:first-child { grid-column: span 2; grid-row: span 2; }
.bb-copy p { color: var(--ink2); }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.mini { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--bg2); transition: transform .3s var(--ease), border-color .3s; }
.mini:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--copper) 55%, transparent); }
.mini .mm { aspect-ratio: 16/9; background: var(--bg3); overflow: hidden; display: grid; place-items: center; }
.mini .mm img { width: 100%; height: 100%; object-fit: cover; }
.mini .mm span { font: 700 30px/1 var(--mono); color: var(--copper); opacity: .85; }
.mini .mb { padding: 12px 14px 14px; }
.mini h4 { font-size: 16px; margin: 0 0 4px; }
.mini p { margin: 0 0 6px; color: var(--ink2); font-size: 13.5px; line-height: 1.5; }
.mini small { font: 11px var(--mono); color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--magenta), var(--amber)); opacity: .5; }
.tl { display: grid; grid-template-columns: 90px 1fr; gap: 40px; padding: 16px 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 105px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 0 4px var(--bg); }
.tl.hl::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--amber); }
.tl .y { font: 700 22px/1.4 var(--display); color: var(--ink); text-align: right; }
.tl h4 { margin: 2px 0 4px; font-size: 19px; }
.tl p { margin: 0; color: var(--ink2); font-size: 15px; max-width: 760px; }
.skills { margin-top: 30px; }
.skill-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-groups > div { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--bg2); }
.skill-groups h4 { font-size: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--acc); margin-bottom: 12px; }

/* ---------- Kontakt ---------- */
.sec-contact { padding-bottom: 120px; }
.contact { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut); border: 1px solid var(--line2); border-radius: 32px; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(255,181,71,.14), transparent 70%), var(--bg2); }
.contact .sec-lede { margin-left: auto; margin-right: auto; }
.mail { display: inline-block; margin-top: 30px; font: 700 clamp(26px, 4.6vw, 54px)/1.1 var(--display); letter-spacing: -.03em; text-decoration: none; background: linear-gradient(90deg, var(--amber), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; border-bottom: 2px solid rgba(255,181,71,.3); padding-bottom: 6px; transition: border-color .3s; word-break: break-all; }
.mail:hover { border-color: var(--amber); }
.contact .tiny { margin-top: 30px; }

.foot { max-width: var(--max); margin: 0 auto; padding: 30px var(--gut) 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--ink2); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(3,4,7,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; animation: fade .25s; }
.overlay[hidden], .palette[hidden], .term[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.overlay-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.overlay-bar strong { font: 700 18px var(--display); }
.overlay-bar .muted { font-size: 12px; margin-right: auto; }
#game-frame { flex: 1; width: 100%; border: 0; background: #000; }
.lightbox { align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.lightbox figcaption { color: var(--ink2); font-size: 15px; text-align: center; }
.lb-close { position: absolute; right: 18px; top: 14px; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); font-size: 28px; cursor: pointer; z-index: 3; }
.lb-nav { position: absolute; top: 50%; width: 56px; height: 80px; margin-top: -40px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 14px; font-size: 40px; cursor: pointer; z-index: 3; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.yt { align-items: center; justify-content: center; }
.yt-box { position: relative; width: min(1100px, 94vw); }
.yt-box .lb-close { right: 0; top: -60px; }
.yt-frame { aspect-ratio: 16/9; width: 100%; background: #000; border-radius: 14px; overflow: hidden; }
.yt-frame iframe { width: 100%; height: 100%; border: 0; }

/* palette */
.palette { position: fixed; inset: 0; z-index: 90; background: rgba(3,4,7,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 14vh 16px 0; animation: fade .15s; }
.palette-box { width: min(620px, 100%); border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: #0d121b; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
#palette-input { width: 100%; height: 60px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 18px var(--text); padding: 0 20px; outline: none; }
#palette-list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
#palette-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; }
#palette-list li .pk { font: 11px var(--mono); color: var(--muted); margin-left: auto; text-transform: uppercase; letter-spacing: .08em; }
#palette-list li.sel { background: rgba(92,200,255,.12); }
#palette-list li .pi { width: 22px; text-align: center; color: var(--cyan); }

/* terminal */
.term { position: fixed; z-index: 85; right: 20px; bottom: 20px; width: min(640px, calc(100vw - 32px)); height: min(440px, 70vh); display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid rgba(182,243,106,.3); background: rgba(5,8,6,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 40px rgba(182,243,106,.08); font: 14px/1.55 var(--mono); animation: termIn .25s var(--ease); }
@keyframes termIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid rgba(182,243,106,.15); font-size: 12px; color: var(--muted); }
.tdot { width: 11px; height: 11px; border-radius: 50%; } .tdot.r { background: #ff5f57; } .tdot.y { background: #febc2e; } .tdot.g { background: #28c840; }
.term-bar .mono { margin-left: 8px; }
.term-x { margin-left: auto; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.term-out { flex: 1; overflow: auto; padding: 12px 14px; color: #c9f5a0; white-space: pre-wrap; word-break: break-word; }
.term-out .c { color: var(--muted); } .term-out .h { color: var(--lime); font-weight: 600; } .term-out .e { color: #ff8b8b; } .term-out .a { color: var(--cyan); }
.term-out a { color: var(--cyan); }
.term-in { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid rgba(182,243,106,.15); }
.term-in .prompt { color: var(--lime); }
#term-input { flex: 1; background: transparent; border: 0; outline: none; color: #e9ffd6; font: 14px var(--mono); }

#fx { position: fixed; inset: 0; z-index: 95; pointer-events: none; width: 100%; height: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; padding: 12px var(--gut) 20px; background: rgba(6,8,12,.97); border-bottom: 1px solid var(--line); }
  .nav-links.open a { padding: 14px 12px; font-size: 17px; }
  .burger { display: flex; }
  .nav-tools { margin-left: auto; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:first-child { border-radius: var(--r) 0 0 0; } .stat:nth-child(3) { border-radius: 0 var(--r) 0 0; }
  .stat:nth-child(4) { border-radius: 0 0 0 var(--r); } .stat:last-child { border-radius: 0 0 var(--r) 0; }
  .fitzel-grid, .audio-hero, .biz-feature, .bb { grid-template-columns: 1fr; }
  .fitzel-mosaic { position: static; }
  .cards.four, .videos, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .arcade-grid { grid-template-columns: repeat(2, 1fr); }
  .tracklist { grid-template-columns: repeat(2, 1fr); }
  .skill-groups { grid-template-columns: repeat(2, 1fr); }
  .synth-head { grid-template-columns: 1fr; }
  .hero-caption { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-tools #open-palette { display: none; }
  .brand-name { display: none; }
  .hero { padding-top: 96px; align-items: flex-end; }
  .hero-veil { background: linear-gradient(0deg, var(--bg) 4%, rgba(6,8,12,.82) 55%, rgba(6,8,12,.5) 100%); }
  .br-m { display: inline; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .stat { border-radius: 0 !important; }
  .cards.three, .cards.four, .videos, .arcade-grid, .mini-grid, .tracklist, .skill-groups { grid-template-columns: 1fr; }
  .fitzel-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 64px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts b { font-size: 20px; }
  .timeline::before { left: 8px; }
  .tl { grid-template-columns: 1fr; gap: 2px; padding-left: 34px; }
  .tl::before { left: 3px; top: 22px; }
  .tl .y { text-align: left; font-size: 18px; }
  .knob { width: 62px; } .knob .dial { width: 50px; height: 50px; }
  .keys { height: 140px; }
  .plugin-wall { grid-template-columns: repeat(2, 1fr); }
  .lb-nav { display: none; }
  .bb-media { aspect-ratio: auto; grid-template-rows: auto; }
  .bb-media .tile { aspect-ratio: 16/10; }
  .bb-media .tile:first-child { grid-column: span 3; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Zeichnungen: helles Papier als Kontrast ---------- */
.sec-paper {
  --ink: #1d1a16; --ink2: #3d372f; --muted: #6f665a; --line: rgba(60, 45, 25, .14); --line2: rgba(60, 45, 25, .25);
  color: var(--ink); margin-top: clamp(90px, 12vw, 160px); position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(255,255,255,.7), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    #efe9df;
  padding-bottom: clamp(70px, 9vw, 120px);
}
.sec-paper::before, .sec-paper::after { content: ''; position: absolute; left: 0; right: 0; height: 60px; pointer-events: none; }
.sec-paper::before { top: -1px; background: linear-gradient(180deg, var(--bg), transparent); opacity: .0; }
.sec-paper .sec { padding-top: clamp(70px, 9vw, 120px); }
.sec-paper .sec::before { display: none; }
.sec-paper h2 { color: #1d1a16; font-family: var(--display); }
.sec-paper ::selection { background: rgba(194, 65, 12, .25); }
.art-wall { columns: 4 240px; column-gap: 18px; }
.art {
  display: block; width: 100%; break-inside: avoid; margin: 0 0 18px; padding: 10px 10px 12px; border: 0; cursor: zoom-in;
  background: #fbf9f5; box-shadow: 0 1px 2px rgba(40, 30, 15, .12), 0 12px 28px -12px rgba(40, 30, 15, .35);
  transform: rotate(var(--tilt, 0deg)); transition: transform .45s var(--ease), box-shadow .45s;
}
.art img { width: 100%; height: auto; filter: contrast(1.04); }
.art:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); box-shadow: 0 2px 4px rgba(40,30,15,.12), 0 28px 50px -18px rgba(40,30,15,.45); z-index: 2; position: relative; }
.art span { display: block; margin-top: 8px; font: 12px var(--mono); color: #8a7f70; text-align: left; }

/* ---------- Studio-Streifen ---------- */
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 16px; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--magenta) transparent; -webkit-overflow-scrolling: touch; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip .shot { flex: 0 0 auto; height: clamp(200px, 26vw, 320px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: var(--bg3); scroll-snap-align: start; position: relative; cursor: zoom-in; }
.strip .shot img { height: 100%; width: auto; object-fit: cover; transition: transform .8s var(--ease); pointer-events: none; }
.strip .shot:hover img { transform: scale(1.05); }
.strip .shot span { position: absolute; left: 10px; bottom: 10px; font: 12px var(--mono); padding: 4px 8px; border-radius: 7px; background: rgba(6,8,12,.75); color: var(--ink2); }
@media (max-width: 680px) { .art-wall { columns: 2; column-gap: 10px; } .art { padding: 6px 6px 8px; margin-bottom: 10px; } .art span { display: none; } }
