/* Elospeed StemMaker - Projektseite
   Ein einziges Stylesheet für die englische und die deutsche Seite.
   Farben der vier Stems wie in StemMaker (Drums, Bass, Other, Vox). */

:root {
  --bg: #121315;
  --bg-2: #18191c;
  --panel: #1f2023;
  --line: #2c2e32;
  --text: #e8e8e8;
  --muted: #9a9ca1;
  --drums: #009e73;
  --bass: #d55e00;
  --other: #cc79a7;
  --vox: #56b4e9;
  --accent: #3ddc84;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vox); }
a:hover { color: #8fd0f5; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- Kopfzeile ---- */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 19, 21, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex; align-items: center; gap: 16px;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700;
}
.brand img { width: 30px; height: 30px; border-radius: 6px; }
header.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
header.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.top nav a:hover { color: var(--text); }
header.top nav .lang {
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; color: var(--text);
}
@media (max-width: 720px) {
  header.top nav a.hide-m { display: none; }
}

/* ---- Stem-Streifen als Markenzeichen ---- */
.stripes { display: flex; height: 4px; }
.stripes i { flex: 1; }
.stripes i:nth-child(1) { background: var(--drums); }
.stripes i:nth-child(2) { background: var(--bass); }
.stripes i:nth-child(3) { background: var(--other); }
.stripes i:nth-child(4) { background: var(--vox); }

/* ---- Startbereich ---- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.1; margin: 0 0 18px; letter-spacing: -.02em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--drums), var(--vox) 40%, var(--other) 70%, var(--bass));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: clamp(18px, 2.2vw, 21px); color: var(--muted);
  max-width: 760px; margin: 0 auto 30px;
}
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid var(--line); color: var(--text);
  background: var(--panel);
}
.btn:hover { color: var(--text); border-color: #4a4d52; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0b1a11; }
.btn.primary:hover { background: #5ae69b; color: #0b1a11; }
.hero .facts {
  margin: 22px 0 0; padding: 0; list-style: none;
  display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap;
  color: var(--muted); font-size: 15px;
}
.hero .facts li::before { content: "✓ "; color: var(--accent); }

/* ---- Screenshots im Fensterrahmen ---- */
.shot {
  margin: 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.shot .bar {
  display: flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 12px; background: #0f1011;
  font-size: 13px; color: var(--muted);
}
.shot .bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot .bar b { width: 11px; height: 11px; border-radius: 50%; background: #3a3d42; flex: none; }
.shot img { width: 100%; }
figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
.hero-shot { max-width: 900px; margin: 46px auto 0; }

/* ---- Demovideo: volle Breite bis 960 px, Seitenverhältnis 16:9 bleibt erhalten ---- */
.video { margin: 28px auto 0; max-width: 960px; }
.video video {
  display: block; width: 100%; height: auto; background: #000;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

/* ---- Abschnitte ---- */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: -.01em; line-height: 1.2; }
h3 { font-size: 19px; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 34px; max-width: 760px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }

/* Schritte */
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
ol.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; color: var(--muted); font-size: 16px; }
ol.steps li::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 10px;
  background: var(--text); color: var(--bg); font-weight: 800;
}
ol.steps li strong { color: var(--text); display: block; margin-bottom: 4px; }

/* Zwei Spalten: Text + Bild */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr 1.25fr; }
.split.rev { grid-template-columns: 1.25fr 1fr; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}
ul.ticks { padding: 0; list-style: none; margin: 18px 0 0; }
ul.ticks li { padding-left: 26px; position: relative; margin: 8px 0; color: var(--muted); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
ul.ticks li strong { color: var(--text); }

/* Diagramm */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 10px; }
.flow .n { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.flow .a { color: var(--muted); }
.flow .stems { display: flex; flex-direction: column; gap: 4px; }
.flow .stems span { border-radius: 6px; padding: 3px 12px; font-size: 14px; font-weight: 700; color: #0d0d0d; }

/* Tabelle */
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* Hinweise */
.note { border-left: 3px solid var(--bass); background: var(--panel); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--muted); font-size: 16px; }
.note strong { color: var(--text); }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

/* Fuss */
footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

code { background: #0f1011; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-size: .9em; }

/* Kopfzeile auf dem Handy: Name nicht umbrechen */
.brand { white-space: nowrap; }
@media (max-width: 420px) {
  header.top nav { gap: 12px; }
  .brand { font-size: 15px; }
}
