/* Stems (stems.dmrsoftworks.de) – ergänzt site.css der Landingpage. Keine Inline-Styles (CSP). */
.brand .brand-product { display: inline; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--stems); margin-left: 4px; }
.site-nav a[aria-current="page"] { color: var(--text); }
.btn.primary { background: var(--stems); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; border: 0; }
button.btn.ghost { background: none; border: 1px solid var(--line); color: var(--text); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

.page-head { padding: 64px 0 24px; }
.page-head h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 42em; }

/* Startseite: zwei Wege */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 8px 0 48px; }
.choice {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
}
.choice h2 { margin: 0; font-size: 28px; letter-spacing: -.01em; }
.choice .tag { color: var(--stems); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.choice ul { margin: 0; padding-left: 20px; color: #d3d9e1; }
.choice li + li { margin-top: 6px; }
.choice .actions { margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .choices { grid-template-columns: minmax(0, 1fr); } }

.compare-wrap { padding: 8px 0 64px; }
.compare-wrap h2 { font-size: 24px; margin: 0 0 16px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--muted); font-weight: 600; background: var(--panel); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.shot { margin: 0 0 56px; }
.shot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 14px; }
.shot figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Online trennen */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.panel + .panel { margin-top: 24px; }
.panel h2 { margin: 0 0 16px; font-size: 22px; }
.panel p { margin: 0 0 10px; color: #d3d9e1; }

.dropzone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 150px; padding: 24px; text-align: center; cursor: pointer;
  border: 2px dashed var(--line); border-radius: 14px; background: var(--card);
}
.dropzone:hover, .dropzone.over, .dropzone:focus-within { border-color: var(--stems); }
.dropzone strong { font-size: 18px; }
.dropzone .file-name { color: var(--stems); font-weight: 600; word-break: break-word; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }

fieldset.stem-options { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.stem-options legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.stem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stem-choice { position: relative; }
.stem-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stem-choice label {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.stem-choice label b { font-size: 18px; }
.stem-choice label span { color: #d3d9e1; font-size: 14px; }
.stem-choice label small { color: var(--muted); font-size: 13px; }
.stem-choice input:checked + label { border-color: var(--stems); box-shadow: inset 0 0 0 1px var(--stems); }
.stem-choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 720px) { .stem-grid { grid-template-columns: minmax(0, 1fr); } }

.rights { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: 15px; color: #d3d9e1; }
.rights input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--stems); }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 22px; }
.limits { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.form-error { color: #ff9b85; margin: 14px 0 0; }
progress.upload { width: 100%; height: 10px; margin-top: 16px; accent-color: var(--stems); }

.jobs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 40px 0 14px; }
.jobs-head h2 { margin: 0; font-size: 22px; }
.worker-state { font-size: 14px; color: var(--muted); }
.job-list { list-style: none; margin: 0 0 72px; padding: 0; display: grid; gap: 14px; }
.job { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.job-top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.job h3 { margin: 0; font-size: 18px; word-break: break-word; }
.job .meta { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); white-space: nowrap; }
.badge.active { color: var(--stems); border-color: var(--stems); }
.badge.done { background: var(--stems); color: var(--ink); border-color: var(--stems); }
.badge.failed { color: #ff9b85; border-color: #ff9b85; }
.status-line { margin: 12px 0 0; font-size: 15px; }
.status-line .detail { color: var(--muted); }
.meter { position: relative; height: 8px; margin-top: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--stems); transition: width .8s ease; }
.meter.busy > span { width: 28%; animation: meter-slide 1.6s ease-in-out infinite; }
@keyframes meter-slide { from { transform: translateX(-110%); } to { transform: translateX(370%); } }
@media (prefers-reduced-motion: reduce) { .meter.busy > span { animation: none; width: 100%; opacity: .35; } }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.steps li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); margin-right: 6px; vertical-align: 1px; }
.steps li.done { color: #d3d9e1; }
.steps li.done::before { background: var(--stems); border-color: var(--stems); }
.steps li.now { color: var(--text); font-weight: 600; }
.steps li.now::before { border-color: var(--stems); box-shadow: 0 0 0 3px rgba(108, 196, 161, .25); }
.job .error { color: #ffb4a3; margin: 12px 0 0; }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.job-actions .muted { font-size: 14px; }
.stem-table { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stem-table li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stem-table .stem-name { font-weight: 600; min-width: 7.5em; }
.stem-table .size { color: var(--muted); font-size: 14px; min-width: 5.5em; }
.stem-table audio { width: 100%; max-width: 420px; height: 36px; }
.stem-table .links { display: flex; gap: 10px; margin-left: auto; }
.empty { color: var(--muted); padding: 18px 0; }

/* Stem Division-Produktseite */
.sw-hero { padding: 64px 0 8px; }
.sw-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--stems); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.sw-kicker img { width: 40px; height: 40px; border-radius: 10px; }
.sw-hero h1 { margin: 0 0 8px; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -.03em; }
.sw-tagline { margin: 0 0 16px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; max-width: 26em; }
.sw-lead { margin: 0 0 26px; color: #d3d9e1; font-size: 18px; max-width: 42em; }
.sw-shot { margin-top: 40px; }
.sw-section { padding: 48px 0 8px; }
.sw-section h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 22px; letter-spacing: -.01em; }
.flow { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0 0 32px; }
.flow li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--stems); color: var(--ink); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.flow b { font-size: 17px; }
.flow span { color: #d3d9e1; font-size: 15px; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.feature { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: #d3d9e1; font-size: 15px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
main > .panel { margin-top: 24px; }
.panel code { font-size: 15px; color: var(--text); }
.faq { display: grid; gap: 10px; margin-bottom: 24px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.faq details p { margin: 0 0 16px; color: #d3d9e1; }
.sw-last { margin-bottom: 72px; }

/* Download */
.download-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.download-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.download-list .what b { display: block; font-size: 17px; }
.download-list .what span { color: var(--muted); font-size: 14px; }
.download-list .sum { grid-column: 1 / -1; font-size: 12px; color: var(--muted); word-break: break-all; }
@media (max-width: 640px) { .download-list li { grid-template-columns: minmax(0, 1fr); } }
.req { margin: 0; padding-left: 20px; color: #d3d9e1; }
.req li + li { margin-top: 6px; }
.vst { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.vst img { width: 120px; height: auto; background: #fff; border-radius: 8px; padding: 8px; }
.vst p { margin: 0; flex: 1 1 20em; color: #d3d9e1; font-size: 15px; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.cols .panel + .panel { margin-top: 0; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.downloads-section { padding-bottom: 72px; }

/* Hörbeispiele */
.demo { margin: 8px 0 40px; }
.demo-lead { color: var(--muted); max-width: 46em; margin: 0 0 18px; }
.demo-songs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.demo-song, .demo-modes button, .stem-chip {
  font: inherit; font-size: 14px; color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.demo-song:hover, .demo-modes button:hover, .stem-chip:hover { border-color: var(--muted); }
.demo-song[aria-pressed="true"], .demo-modes button[aria-pressed="true"] { border-color: var(--stems); color: var(--stems); }
.demo-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.demo-title { margin: 0; font-weight: 600; }
.demo-note { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.demo-modes { display: flex; gap: 6px; }
.demo-modes button { padding: 6px 12px; }
.demo-stems { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.stem-chip { display: inline-flex; align-items: center; gap: 8px; }
.stem-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--stems); }
.stem-chip[data-stem="vocals"]::before { background: #f2a65a; }
.stem-chip[data-stem="instrumental"]::before { background: #6f9bff; }
.stem-chip[data-stem="drums"]::before { background: #e5687a; }
.stem-chip[data-stem="bass"]::before { background: #b48cf2; }
.stem-chip[data-stem="other"]::before { background: #8fa3b8; }
.stem-chip[data-stem="guitar"]::before { background: #e8d36a; }
.stem-chip[data-stem="piano"]::before { background: #5fd0d8; }
.stem-chip.original::before { background: var(--text); }
.stem-chip[aria-pressed="false"] { color: var(--muted); }
.stem-chip[aria-pressed="false"]::before { background: transparent; border: 1px solid var(--muted); }
.stem-chip[aria-pressed="true"] { border-color: var(--muted); }
.demo-hint { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.demo-transport { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-play { min-width: 110px; }
.demo-seek { flex: 1 1 200px; accent-color: var(--stems); }
.demo-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.demo-status { color: var(--muted); font-size: 14px; }
