/* drumdeck.app – Startseite. Dunkel wie die Bühne, Gelb wie das Logo. */
:root {
  --bg: #0b0d12;
  --bg2: #12161e;
  --card: #151a23;
  --line: #242c39;
  --ink: #eef2f7;
  --muted: #9aa4b2;
  --dim: #6c7684;
  --acc: #ffcb0a;
  --acc2: #e8940a;
  --on-acc: #14110a;
  --chorus: #ff6b4a;
  --verse: #4aa3ff;
  --bridge: #b57bff;
  --ok: #8fe3a0;
  --err: #ff9b8b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acc); }
/* Grosses Foto oben: laeuft nach links (Text) und unten ins Schwarz aus */
.herobg { position: absolute; left: 0; right: 0; top: 0; height: min(100vh, 900px); min-height: 640px; z-index: 0; pointer-events: none; overflow: hidden; }
.herobg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.herobg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 13, 18, .92) 28%, rgba(11, 13, 18, .55) 48%, rgba(11, 13, 18, .1) 68%, transparent 80%); }
.herocap { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: 18%; z-index: 1; font-size: .72rem; color: #343a44; letter-spacing: .02em; }
.top, main, .foot { position: relative; z-index: 1; }
body { position: relative; }

/* ---------- Kopf ---------- */
.top {
  max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
}
.brand img { display: block; height: 33px; width: auto; }
.signin {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
  background: rgba(11, 13, 18, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #d5dbe4;
}
.signin:hover { color: var(--ink); border-color: #3a4456; }

main { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---------- Hero ---------- */
.hero {
  display: flex; align-items: center; min-height: min(calc(100vh - 90px), 780px);
  padding: clamp(28px, 6vh, 72px) 0 clamp(48px, 10vh, 120px);
}
.hero .copy { max-width: 600px; }
.hero h1, .hero .lead { text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.hero .lead { color: #b9c2cf; }

/* ---------- Vorschau-Abschnitt ---------- */
.show { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: 0 0 96px; }
.show .txt > p:not(.kicker) { margin: 0; color: var(--muted); font-size: 1.08rem; }
.show h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 900; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 700 .85rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--acc);
  padding: 9px 14px; border-radius: 999px; background: rgba(255, 203, 10, .09); border: 1px solid rgba(255, 203, 10, .25);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
h1 {
  margin: 0; font-weight: 900; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(2.8rem, 5.8vw, 4.9rem);
}
h1 span { color: var(--acc); }
.lead { margin: 22px 0 30px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.lead b { color: var(--ink); }

/* ---------- Eintragen ---------- */
.join { display: grid; gap: 12px; max-width: 520px; scroll-margin-top: 30px; }
.join .row { display: flex; gap: 10px; }
.join input[type="email"] {
  flex: 1; min-width: 0; font: 600 1.05rem/1.2 var(--font); color: var(--ink);
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2);
}
.join input[type="email"]:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: transparent; }
.join button {
  flex: none; font: 800 1.05rem/1 var(--font); color: var(--on-acc); background: var(--acc);
  padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 203, 10, .25); transition: transform .12s, box-shadow .12s;
}
.join button:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(255, 203, 10, .35); }
.join button:disabled { opacity: .6; cursor: wait; transform: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--dim); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--acc); flex: none; }
.consent a { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 0; min-height: 1.5em; font-weight: 600; font-size: .95rem; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.join.done .row, .join.done .consent { display: none; }

/* ---------- Vorschau der Bühne ---------- */
.demo {
  --k: var(--chorus);
  margin: 0; padding: 20px; border-radius: 26px; background: linear-gradient(160deg, #161b25, #0f131a);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  display: grid; gap: 14px; transform: rotate(-1.2deg);
}
.dm-top { display: flex; justify-content: space-between; color: var(--dim); font-weight: 600; font-size: .85rem; }
.dm-bpm b { color: var(--muted); font-variant-numeric: tabular-nums; }
.dm-sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dm-name {
  font-weight: 900; letter-spacing: -.03em; line-height: 1; font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--k); text-shadow: 0 2px 26px color-mix(in srgb, var(--k) 45%, transparent); white-space: nowrap;
  transition: color .3s;
}
.dm-name.pop { animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(1.15); filter: brightness(1.5); } }
.dm-bar { margin-top: 6px; font-weight: 700; font-size: 1.15rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dm-dots { display: flex; gap: 10px; }
.dm-dots i { width: 16px; height: 16px; border-radius: 50%; background: rgba(238, 242, 247, .16); transition: transform .08s, background .08s; }
.dm-dots i.on { background: var(--k); transform: scale(1.35); box-shadow: 0 0 14px var(--k); }
.dm-paper {
  position: relative; height: 120px; border-radius: 16px; overflow: hidden; background: #1a1f29;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--k) 50%, transparent);
}
.dm-paper svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dm-line { position: absolute; left: 18%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 2px;
  background: var(--acc); box-shadow: 0 0 14px rgba(255, 203, 10, .8); }
.dm-wait {
  --nk: var(--bridge); position: relative; height: 64px; border-radius: 18px; overflow: hidden;
  background: color-mix(in srgb, var(--nk) 12%, #232a36); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--nk) 35%, transparent);
}
.dm-wait i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--nk) 60%, #232a36); }
.dm-wait span { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 20px;
  font-weight: 900; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -.01em; white-space: nowrap; }
.dm-wait.near { animation: near .5s ease-in-out infinite alternate; }
@keyframes near { to { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--nk) 35%, transparent), 0 0 26px var(--nk); } }
.demo figcaption { color: var(--dim); font-size: .85rem; text-align: center; }

/* ---------- Funktionen ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 72px; }
.feats article { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.feats svg { width: 34px; height: 34px; fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feats h2 { margin: 14px 0 8px; font-size: 1.15rem; letter-spacing: -.01em; }
.feats p { margin: 0; color: var(--muted); font-size: .97rem; }

.again { text-align: center; padding: 48px 20px; border-radius: 26px; margin-bottom: 72px;
  background: radial-gradient(500px 200px at 50% 0%, rgba(255, 203, 10, .12), transparent 70%), var(--bg2); border: 1px solid var(--line); }
.again h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.again p { margin: 0 0 22px; color: var(--muted); }
.up { display: inline-block; font-weight: 800; color: var(--on-acc); background: var(--acc); text-decoration: none; padding: 14px 22px; border-radius: 14px; }

.legal { max-width: 760px; margin: 0 auto 56px; color: var(--dim); font-size: .92rem; scroll-margin-top: 30px; }
.legal h2 { color: var(--muted); font-size: 1rem; margin: 0 0 8px; }
.legal p { margin: 0; }
.legal a { color: var(--muted); }

.foot {
  max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  padding: 26px 16px max(26px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Schmal ---------- */
@media (max-width: 980px) {
  .show { grid-template-columns: 1fr; }
  .demo { transform: none; }
  .feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .join .row { flex-direction: column; }
  .join button { padding: 16px; }
  .feats { grid-template-columns: 1fr; }
  .brand img { height: 28px; }
  .demo { padding: 16px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge i, .dm-wait.near, .dm-name.pop { animation: none; }
}

/* ---------- So geht's ---------- */
.kicker { margin: 0 0 10px; color: var(--acc); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.how { padding: 24px 0 88px; }
.how > h2, .deep h2, .faq h2 { margin: 0 0 28px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 900; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--acc); color: var(--on-acc);
  font-weight: 900; font-size: 1.25rem; margin-bottom: 16px; box-shadow: 0 6px 22px rgba(255, 203, 10, .25); }
.steps h3 { margin: 0 0 8px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Funktionen im Detail ---------- */
.deep { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: 0 0 96px; }
.deep.flip .txt { order: 2; }
.deep .txt > p:not(.kicker) { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
.deep h2 { margin-bottom: 16px; }
.deep ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.deep li { position: relative; padding-left: 28px; color: var(--muted); }
.deep li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--acc); transform: rotate(45deg); }
.deep li b { color: var(--ink); }
.deep:has(.photo[hidden]) { grid-template-columns: 1fr; max-width: 760px; }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); background: var(--card); }
.photo figcaption { margin-top: 8px; font-size: .68rem; color: #343a44; text-align: right; letter-spacing: .02em; }

/* ---------- Fragen ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: 8px 0 80px; }
.faq h2 { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--acc); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
  .deep, .deep:has(.photo[hidden]) { grid-template-columns: 1fr; }
  .deep.flip .txt { order: 0; }
}

/* ---------- Breites Bild ---------- */
.banner { padding: 0 0 80px; }
.photo.wide { position: relative; }
.photo.wide img { aspect-ratio: 21 / 9; object-position: 50% 30%; }
.photo.wide .over { position: absolute; left: 0; right: 0; bottom: 26px; top: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(20px, 4vw, 48px) clamp(20px, 4vw, 44px); border-radius: 22px;
  background: linear-gradient(90deg, rgba(11, 13, 18, .82) 0%, rgba(11, 13, 18, .35) 45%, transparent 70%); }
.photo.wide h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
@media (max-width: 560px) { .photo.wide img { aspect-ratio: 4 / 3; } }

/* Handy: Foto oben, Text darunter */
@media (max-width: 760px) {
  .herobg { height: 520px; min-height: 0; }
  .herobg img { object-position: 60% 30%; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 92%); mask-image: linear-gradient(to bottom, #000 40%, transparent 92%); }
  .herobg::after { background: linear-gradient(180deg, rgba(11, 13, 18, .35) 0%, transparent 30%, rgba(11, 13, 18, .6) 70%, var(--bg) 100%); }
  .herocap { bottom: auto; top: 300px; }
  .hero { min-height: 0; padding-top: 250px; }
}

/* ---------- Screenshots ---------- */
.gallery { padding: 0 0 96px; }
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.gal-head h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 900; }
.gal-nav { display: flex; gap: 10px; flex: none; }
.gal-nav button { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.gal-nav button:hover { border-color: #3a4456; }
.gal-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gal-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(760px, 78%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #2a3240 transparent; overscroll-behavior-x: contain; }
.gal-track:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 12px; }
.shot { margin: 0; scroll-snap-align: start; }
.shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); background: var(--card); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .98rem; }
.shot figcaption b { color: var(--ink); margin-right: 4px; }
.gal-note { margin: 6px 0 0; font-size: .72rem; color: #343a44; }
@media (max-width: 760px) {
  .gal-track { grid-auto-columns: 88%; gap: 14px; }
  .gal-nav { display: none; }
}
.gal-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.gal-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: #2a3240; cursor: pointer; transition: width .3s, background .3s; }
.gal-dots button.on { width: 28px; background: var(--acc); }

/* Tablet-Rahmen unten */
.again { overflow: hidden; padding-bottom: 0; }
.tablet { margin: 44px auto -6%; width: min(820px, 92%); padding: 14px; border-radius: 34px; background: #05070a;
  border: 1px solid #262d39; box-shadow: 0 0 0 6px #10141b, 0 40px 90px rgba(0, 0, 0, .65), 0 0 120px rgba(255, 203, 10, .08);
  transform: perspective(1600px) rotateX(10deg); transform-origin: 50% 100%; }
.tablet img { display: block; width: 100%; height: auto; border-radius: 22px; }
@media (max-width: 560px) { .tablet { padding: 8px; border-radius: 22px; } .tablet img { border-radius: 15px; } }

/* ---------- Impressum ---------- */
.imprint { max-width: 760px; padding-top: 32px; padding-bottom: 72px; }
.imprint h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; margin: 0 0 28px; }
.imprint section { padding: 20px 22px; margin-bottom: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.imprint h2 { margin: 0 0 8px; font-size: 1.02rem; color: var(--ink); }
.imprint p { margin: 0; color: var(--muted); }
.imprint b { color: var(--ink); }
.imprint .stand { margin: 22px 0 10px; font-size: .85rem; color: var(--dim); }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); translate: -50% 20px; z-index: 50; opacity: 0; pointer-events: none;
  background: var(--acc); color: var(--on-acc); font-weight: 800; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: opacity .2s, translate .2s; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Video: Hinweise zur richtigen Zeit ---------- */
.cues { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding: 0 0 96px; }
.cues h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 900; }
.cues .txt > p:not(.kicker) { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
.cues ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cues li { position: relative; padding-left: 28px; color: var(--muted); }
.cues li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--acc); transform: rotate(45deg); }
.cues li b { color: var(--ink); }
.clip { margin: 0; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 6px #10141b; background: var(--card); }
.clip figcaption { margin-top: 12px; font-size: .85rem; color: var(--dim); }
@media (max-width: 980px) { .cues { grid-template-columns: 1fr; } }

/* Band-Sitzung */
.band { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding: 0 0 96px; }
.band .txt { order: 2; }
.band h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 900; }
.band .txt > p:not(.kicker) { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band li { position: relative; padding-left: 28px; color: var(--muted); }
.band li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--acc); transform: rotate(45deg); }
.band li b { color: var(--ink); }
.band figure { margin: 0; }
.band img { display: block; width: 100%; height: auto; border-radius: 18px; }
@media (max-width: 980px) { .band { grid-template-columns: 1fr; } .band .txt { order: 0; } }
