/* sam4live.com, Unterseiten: Inhaltsklassen im Aussehen von sam.css.
   Nur Tokens aus sam.css. Messing = Bedienakzent. Dunkel. Wird nach sam.css
   geladen. Inhalt ueber .doc, .wrap und main.try begrenzt, damit die
   Klassen der Demos (try/) und der Geraeteseiten nicht kollidieren. */

/* Grundtonfarben der Geraete: nur fuer kleine Punkte und Zeichen */
:root {
  --c-sam: #6AC9DC; --c-friend: #DC6AC9; --c-sampler: #DCB66A;
  --c-corpus: #DCB66A; --c-bass: #6A90DC; --c-conductor: #7D6ADC;
  --c-mirror: #90DC6A; --c-rack: #EDEBE7; --c-timefield: #C9DC6A;
  --c-giant: #DC6A90; --c-polygon: #6ADC7D; --c-scan: #DC6A90;
  --c-states: #6AC9DC;
  --mono-s: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:where(.doc, .wrap) .mono {
  font-family: inherit; font-size: .86em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Spalte ---------- */
.doc {
  max-width: 46rem; margin-inline: auto;
  padding: clamp(28px, 5vw, 60px) var(--seite) clamp(64px, 9vw, 110px);
}
.doc:has(.tool) { max-width: 60rem; }
.doc:has(nav.toc img) { max-width: 58rem; }
.wrap {
  width: min(60rem, 100% - 2 * var(--seite)); margin-inline: auto;
  padding-block: clamp(20px, 4vw, 48px) clamp(64px, 9vw, 110px);
}

:where(.doc, .wrap) h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.06;
  margin: 10px 0 20px; overflow-wrap: anywhere;
}
:where(.doc, .wrap) h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 2.4em 0 .5em;
}
:where(.doc, .wrap) h3 {
  font-size: 1.08rem; letter-spacing: 0; text-transform: none;
  font-stretch: 100%; font-weight: 620; color: var(--text);
  margin: 1.6em 0 .35em;
}
:where(.doc, .wrap) p { margin: 0 0 1rem; max-width: 62ch; }
:where(.doc, .wrap) :is(li, td, th, dd) { overflow-wrap: break-word; }
.doc :is(ul, ol):not([class]) {
  list-style: revert; padding-left: 1.3rem; margin: 0 0 1rem;
}
.doc li { margin: .3em 0; }
.doc :is(ul, ol):not([class]) li::marker { color: var(--messing); }
:where(.doc, .wrap) p a, :where(.doc, .wrap) li a,
:where(.doc, .wrap) td a { text-decoration-color: var(--rand); }
:where(.doc, .wrap) p a:hover, :where(.doc, .wrap) li a:hover,
:where(.doc, .wrap) td a:hover { color: var(--messing); }
:where(.doc, .wrap) :is(strong, b) { font-weight: 640; }
.doc code, .wrap code {
  font-family: var(--mono-s); font-size: .88em; padding: .1em .35em;
  background: var(--feld); border: 1px solid var(--rille); border-radius: 4px;
}
.doc .sub, .doc .hint, .doc .note, .lede, .note {
  color: var(--dim);
}
.lede { font-size: 1.15rem; max-width: 52ch; }
.label {
  display: block; font-size: .84rem; font-weight: 560; color: var(--messing);
}

/* Kleine Navigation am Seitenanfang (Learn, Rechtstexte) */
.doc > nav:not(.toc):not(.crumbs) {
  display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 28px;
  font-size: .86rem; color: var(--dim);
}
.doc > nav:not(.toc):not(.crumbs) a { text-decoration: none; }
.doc > nav:not(.toc):not(.crumbs) a:hover { color: var(--text); }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .84rem;
  color: var(--dim); margin-bottom: 18px;
}
.crumbs a { text-decoration: none; }
/* learn: «SAM / Buy» steht schon im Kopf */
.doc > nav:not(.toc):not(.crumbs):has(> a:nth-child(2):last-child) { display: none; }
.crumbs a:hover { color: var(--text); }

/* ---------- Knoepfe ---------- */
:where(.doc, .wrap) .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border: 1px solid var(--rand);
  border-radius: 999px; background: none; color: var(--text);
  font-family: inherit; font-size: .95rem; font-weight: 560; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
:where(.doc, .wrap) .btn:hover {
  border-color: var(--messing); color: var(--messing);
}
:where(.doc, .wrap) .btn--solid {
  background: var(--messing); border-color: var(--messing);
  color: #17130b; font-weight: 680;
}
:where(.doc, .wrap) .btn--solid:hover {
  background: #ecc988; border-color: #ecc988; color: #17130b;
}
:where(.doc, .wrap) .btn.sm {
  min-height: 34px; padding: 0 14px; font-size: .85rem;
}
:where(.doc, .wrap) .btn[disabled],
:where(.doc, .wrap) .btn[aria-disabled=true] {
  border-style: dashed; color: var(--dim); border-color: var(--rand);
  background: none; cursor: default;
}
.dl, .sx-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin: 1.5rem 0;
}
.cta .dl { margin: 0; }

/* ---------- Karten, Listen, Tabellen ---------- */
.cta, .box, .sx-listen, .sx-warn, .press blockquote {
  background: var(--koerper); border: 1px solid var(--haar);
  border-radius: 9px; padding: clamp(18px, 3vw, 28px);
}
.cta { margin: 2.4rem 0; }
.cta p { margin: 0 0 1rem; color: var(--text); }
.box { display: grid; gap: 12px; min-width: 0; }
.box > .label { margin: 0; }

.pn {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: clamp(32px, 5vw, 56px);
}
.pn a {
  padding: 14px 18px; border: 1px solid var(--haar); border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.pn a:hover { border-color: var(--rand); color: var(--messing); }
.pn a:last-child { text-align: right; grid-column: 2; }
.pn a:only-child:first-child { grid-column: 1; }

.liste, .res {
  margin: 12px 0 0; border-top: 1px solid var(--rille); max-width: none;
}
.liste li, .res li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px 20px; padding: 10px 2px; margin: 0;
  border-bottom: 1px solid var(--rille);
}
.liste a, .res a { text-decoration: none; overflow-wrap: anywhere; }
.liste a:hover, .res a:hover { color: var(--messing); }
.liste .mono, .res .mono {
  color: var(--dim); text-align: right; flex: none; max-width: 55%;
  overflow-wrap: anywhere;
}
.res .ex { color: var(--messing); }
@media (max-width: 520px) {
  .liste li, .res li { flex-wrap: wrap; }
  .liste .mono, .res .mono { max-width: 100%; text-align: left; }
}

.toc {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 8px;
}
.toc a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px;
  padding: 0 14px; border: 1px solid var(--haar); border-radius: 999px;
  font-size: .85rem; text-decoration: none; color: var(--dim);
}
.toc a:hover { border-color: var(--messing); color: var(--text); }
.toc a img { width: 20px; height: 20px; flex: none; }
.toc li { margin: 0; }
.doc nav.toc {
  padding: 16px 0; margin: 22px 0 0; border-block: 1px solid var(--rille);
}

.tbl {
  overflow-x: auto; margin: 1.5rem 0; background: var(--feld);
  border: 1px solid var(--haar); border-radius: 6px;
}
.tbl table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th, .tbl td {
  padding: 8px 14px; text-align: left; white-space: nowrap;
  border-bottom: 1px solid var(--rille);
  font-family: inherit; font-variant-numeric: tabular-nums;
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-weight: 560; color: var(--dim); }
.tbl .dev, .tbl tr.per td { color: var(--dim); }
.doc table:not(.tbl table) {
  border-collapse: collapse; margin: 1rem 0; font-size: .92rem;
}
.doc table:not(.tbl table) :is(th, td) {
  text-align: left; padding: 8px 18px 8px 0;
  border-bottom: 1px solid var(--rille); vertical-align: top;
}
.doc table:not(.tbl table) th { font-weight: 620; }

/* Tonart- und Akkordfelder (chords/) */
.doc .keys {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 8px; margin: 1rem 0;
}
.doc .keys li { margin: 0; }
.doc .keys a, .doc .keys .cur {
  display: block; padding: 9px 10px; text-align: center; border-radius: 6px;
  border: 1px solid var(--haar); text-decoration: none;
}
.doc .keys a:hover { border-color: var(--messing); color: var(--messing); }
.doc .keys .cur { border-color: var(--messing); color: var(--messing); }
.doc .chords {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 1.25rem 0;
}
.doc .chords li {
  min-width: 4.5rem; margin: 0; padding: 10px 14px; text-align: center;
  background: var(--feld); border: 1px solid var(--haar); border-radius: 6px;
}
.doc .chords .rn { display: block; color: var(--dim); font-size: .82rem; }
.doc .chords .nm { font-size: 1.25rem; font-weight: 560; }

/* ---------- Learn und Rechtstexte ---------- */
.doc .lead { font-size: 1.12rem; color: var(--dim); max-width: 62ch; }
.doc .lead + .lead { margin-top: -.4rem; }
.doc:has(nav.toc) h2 {
  padding-top: 1rem; border-top: 1px solid var(--rille);
  margin-top: 3.2rem; scroll-margin-top: 84px;
}
.doc figure { margin: 1.2rem 0; }
.doc figure img, .doc > img {
  border-radius: 6px; background: var(--feld); border: 1px solid var(--haar);
}
.doc img { cursor: zoom-in; }
.doc .toc img { cursor: inherit; border: 0; background: none; }
.doc figcaption { font-size: .84rem; color: var(--dim); margin-top: 6px; }
.doc .soon {
  display: inline-block; vertical-align: middle; margin-left: .6rem;
  padding: .1rem .55rem; border: 1px solid var(--messing); border-radius: 999px;
  color: var(--messing); font-size: .72rem; font-weight: 560;
}
body.lb-offen { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 30; display: grid;
  grid-template-rows: 1fr auto; background: rgba(8, 8, 9, .96);
  cursor: zoom-out;
}
.lb[hidden] { display: none; }
.lb img {
  width: 100vw; height: 100%; max-height: calc(100vh - 2.6rem);
  object-fit: contain; background: none; border: 0; border-radius: 0;
}
.lb .lb-cap {
  margin: 0; padding: 10px 16px; color: var(--dim); font-size: .84rem;
  text-align: center; max-width: none;
}
.lb .lb-x {
  position: absolute; top: 10px; right: 14px; width: 44px; height: 44px;
  border: 1px solid var(--haar); border-radius: 50%;
  background: var(--feld); color: var(--text); font-size: 1.6rem;
  line-height: 1;
}

/* ---------- Presse, Push, Start, Warteliste ---------- */
.sx-head {
  display: grid; justify-items: center; text-align: center; gap: 14px;
  padding-block: clamp(32px, 7vw, 72px) clamp(24px, 5vw, 44px);
}
.sx-head h1 { margin: 0; text-wrap: balance; }
.sx-head .lede { color: var(--dim); margin: 0; }
.sx-sec {
  display: grid; gap: 14px; padding-block: clamp(30px, 5vw, 52px);
  border-top: 1px solid var(--rille);
}
.sx-sec h2 { margin: 0; }
.sx-sec p { margin: 0; }
.sx-sec p.note { color: var(--dim); }
.sx-cards {
  display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.sx-card {
  position: relative; display: grid; gap: 10px; align-content: start;
  padding: 22px; margin: 0; background: var(--koerper);
  border: 1px solid var(--haar); border-top: 2px solid var(--c, var(--messing));
  border-radius: 9px;
}
.sx-card h3 {
  margin: 0; font-size: .9rem; font-weight: 620; font-stretch: 112%;
  letter-spacing: .13em; text-transform: uppercase;
}
.sx-card p { margin: 0; }
.sx-card .sx-n {
  position: absolute; top: 16px; right: 18px; color: var(--dim);
}
.sx-card .sx-meta { color: var(--dim); }
.sx-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 6px;
}
.sx-steps, .sx-next, .sx-list {
  display: grid; gap: 10px; max-width: 62ch; margin: 0; padding-left: 1.4rem;
  list-style: revert;
}
.sx-steps li::marker { color: var(--messing); }
.sx-listen {
  display: grid; gap: 10px; max-width: 40rem; margin-block: 1.5rem;
  background: var(--feld);
}
.sx-listen .note { margin: 0; font-size: .9rem; }
.sx-listen--soon { border-style: dashed; background: none; }
.sx-warn { border-color: var(--messing); max-width: 62ch; margin: 0 auto 1rem; }
.sx-warn b { color: var(--messing); }
.sx-count { color: var(--dim); }
.sx-tablewrap { overflow-x: auto; max-width: 100%; }
.sx-table {
  width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem;
}
.sx-table th, .sx-table td {
  text-align: left; vertical-align: top; padding: 12px;
  border-top: 1px solid var(--rille);
}
.sx-table thead th {
  border-top: 0; font-size: .8rem; font-weight: 560; color: var(--dim);
}
.sx-table tbody th { font-weight: 400; white-space: nowrap; }
.sx-table tbody th a {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-size: .86rem; font-weight: 620; font-stretch: 112%;
  letter-spacing: .1em; text-transform: uppercase;
}
.sx-table tbody th a i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--c);
  display: inline-block;
}
.sx-table tbody th .mono {
  display: block; color: var(--dim); margin-left: 18px;
}
.sx-pill {
  display: inline-block; padding: 1px 9px; border: 1px solid currentColor;
  border-radius: 999px; font-family: inherit; font-size: .74rem;
  white-space: nowrap;
}
.sx-likely { color: var(--ton); }
.sx-partial { color: var(--messing); }
.sx-no { color: var(--bronze); }
.sx-form {
  display: grid; gap: 22px; max-width: 34rem; margin: 0 auto;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.sx-form fieldset {
  border: 0; padding: 0; margin: 0; display: grid; gap: 10px;
}
.sx-form legend { padding: 0; margin-bottom: 6px; font-weight: 620; }
.sx-check {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px;
  border: 1px solid var(--haar); border-radius: 8px; cursor: pointer;
}
.sx-check:hover, .sx-check:focus-within { border-color: var(--messing); }
.sx-check input {
  margin-top: .3rem; accent-color: var(--messing);
  width: 1.1rem; height: 1.1rem;
}
.sx-check span { display: grid; }
.sx-check small { color: var(--dim); font-size: .9rem; }
.sx-field { display: grid; gap: 8px; }
.sx-field em { font-style: normal; color: var(--dim); }
.sx-field input, .sx-field textarea, .doc textarea, .doc select,
.doc input[type=text], .doc input[type=number], .doc input[type=url] {
  width: 100%; font: inherit; color: var(--text); background: var(--feld);
  border: 1px solid var(--haar); border-radius: 6px; padding: 11px 14px;
}
.sx-field input:focus-visible, .sx-field textarea:focus-visible,
.doc textarea:focus-visible, .doc select:focus-visible,
.doc input:focus-visible { border-color: var(--messing); }
.sx-hp { position: absolute; left: -9999px; }
.sx-out { min-height: 1.5rem; margin: 0; }
.sx-ok { color: var(--ton); }
.sx-bad { color: var(--bronze); }
.icon { width: 44px; height: 44px; }
.press h2 { margin-top: 2.6rem; }
.press table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.press th, .press td {
  text-align: left; padding: 10px 16px 10px 0; vertical-align: top;
  border-bottom: 1px solid var(--rille);
}
.press th { color: var(--dim); font-weight: 400; white-space: nowrap; }
.press blockquote { margin: 1rem 0; border-left: 2px solid var(--messing); }
.press blockquote p:last-child { margin: 0; }
.press .imgs {
  display: grid; gap: 16px; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.press .imgs li { margin: 0; }
.press .imgs img {
  width: 100%; height: auto; background: var(--feld);
  border: 1px solid var(--haar); border-radius: 6px;
}
.press .imgs a { font-size: .86rem; color: var(--dim); }
.press .zeichen { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; }
.press .zeichen li { margin: 0; }
.press .zeichen img { width: 56px; height: 56px; }
@media (max-width: 900px) {
  .sx-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Werkzeuge (tools/) ---------- */
.doc .fnd { margin: 1.5rem 0; }
.doc .kb {
  position: relative; display: flex; height: 10rem; max-width: 34rem;
  margin: 1rem 0; user-select: none; -webkit-user-select: none;
  touch-action: manipulation;
}
.doc .kb .k { font: inherit; cursor: pointer; padding: 0; margin: 0; }
.doc .kb .w {
  flex: 1 1 0; min-width: 0; position: relative; display: flex;
  align-items: flex-end; justify-content: center; padding-bottom: 8px;
  background: var(--text); color: var(--bg); border: 1px solid var(--bg);
  border-radius: 0 0 4px 4px; font-family: inherit; font-size: .75rem;
}
.doc .kb .b {
  position: absolute; top: 0; height: 60%; width: 8.5%; margin-left: -4.25%;
  z-index: 2; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 6px; background: var(--feld); color: var(--text);
  border: 1px solid var(--rand); border-radius: 0 0 3px 3px;
  font-family: inherit; font-size: .6rem;
}
.doc .kb .k:hover { border-color: var(--messing); }
.doc .kb .k[aria-pressed=true] {
  background: var(--messing); color: #17130b; border-color: var(--messing);
}
.doc .kb .k:focus-visible { z-index: 3; }
.doc .ctl {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  margin: 1rem 0; font-size: .9rem;
}
.doc .ctl label { display: flex; gap: 8px; align-items: center; }
.doc .ctl select { width: auto; padding: 5px 8px; }
.doc .ctl input[type=checkbox], .doc .chk input, .doc .radios input {
  accent-color: var(--messing); width: 1rem; height: 1rem; margin: 0;
}
.doc .sel { color: var(--dim); margin: 8px 0; min-height: 1.5em; }
.doc .sel b { color: var(--text); font-weight: 560; }
.doc .eg {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 8px 0 16px;
}
.doc .eg .hint { margin-right: 4px; }
.doc .res { margin-bottom: 1rem; }
.doc .res .mono { font-size: .82rem; }

.doc .tool {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px; margin-top: 2rem; align-items: start;
}
.doc .tool .col { display: grid; gap: 20px; min-width: 0; }
.doc .tool .out-col { position: sticky; top: 88px; }
@media (max-width: 52rem) {
  .doc .tool { grid-template-columns: minmax(0, 1fr); }
  .doc .tool .out-col { position: static; }
}
.doc textarea {
  font-family: var(--mono-s); font-size: .86rem; line-height: 1.5;
  resize: vertical; min-height: 16rem; white-space: pre;
  overflow-wrap: normal; overflow-x: auto; tab-size: 4;
}
.doc textarea#names { min-height: 7rem; }
.doc textarea#out { min-height: 26rem; }
.doc .drop {
  display: block; padding: 13px 16px; text-align: center; cursor: pointer;
  border: 1px dashed var(--rand); border-radius: 6px; color: var(--dim);
  font-size: .95rem;
}
.doc .drop:hover, .doc .drop.over {
  border-color: var(--messing); color: var(--messing);
}
.doc .drop input {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.doc .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.doc .grid3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.doc .grid2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
@media (max-width: 26rem) {
  .doc .grid3 { grid-template-columns: minmax(0, 1fr); }
}
.doc .fld { display: grid; gap: 4px; min-width: 0; }
.doc .fld > span { font-size: .86rem; color: var(--dim); }
.doc .chk, .doc .radios label {
  display: flex; gap: 8px; align-items: center; cursor: pointer;
}
.doc .radios { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.doc .hint { font-size: .88rem; line-height: 1.45; max-width: none; }
.doc .stat {
  display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin: 0;
}
.doc .stat dt { color: var(--dim); }
.doc .stat dd { margin: 0; overflow-wrap: anywhere; }
.doc .msgs { display: grid; gap: 6px; font-size: .9rem; line-height: 1.45; }
.doc .msgs li {
  position: relative; padding-left: 18px; margin: 0; max-width: none;
}
.doc .msgs li::before {
  position: absolute; left: 0; font-family: inherit;
}
.doc .msgs .err { color: var(--bronze); }
.doc .msgs .err::before { content: "\00d7"; }
.doc .msgs .warn { color: var(--messing); }
.doc .msgs .warn::before { content: "!"; }
.doc .msgs .ok { color: var(--ton); }
.doc .msgs .ok::before { content: "\2713"; }
.doc .sub[hidden] { display: none; }
.doc .tool + .cta, .doc .faq-wrap { margin-top: 3rem; }
.doc .faq { display: grid; max-width: 820px; }
.doc .faq details { border-top: 1px solid var(--rille); }
.doc .faq details:last-child { border-bottom: 1px solid var(--rille); }
.doc .faq summary {
  padding: 16px 4px; font-weight: 560; font-size: 1.05rem; cursor: pointer;
}
.doc .faq summary::marker { color: var(--messing); }
.doc .faq details p { padding: 0 4px 18px 22px; color: var(--dim); }
.doc .spec {
  margin-top: 1.5rem; color: var(--dim); font-size: .95rem; max-width: none;
}

/* ---------- try/: Demos an Kopf, Fuss und Farben angleichen ---------- */
:root {
  --field: var(--feld); --field-2: var(--koerper); --field-3: var(--bg);
  --ink: var(--text); --ink-2: var(--dim); --line: var(--haar);
  --blue: var(--ton); --display: Archivo,"Archivo Ersatz",system-ui, sans-serif;
  --mono: Archivo,"Archivo Ersatz",system-ui, sans-serif;
}
main.try, main.try button, main.try select, main.try output { font-variant-numeric: tabular-nums; }
main.try {
  max-width: 72rem; margin-inline: auto;
  padding: clamp(24px, 4vw, 44px) var(--seite) clamp(48px, 7vw, 88px);
}
main.try h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); margin: .4rem 0 .8rem;
}
main.try .head-title h1 { margin: .4rem 0 .8rem; }
/* Zeile ueber dem Titel («MIDI effect · Bassline») entfaellt: das Zeichen neben dem Namen traegt es */
main.try .kind { display: none; }
main.try .panel, main.try .card, main.try .screen {
  border-radius: 9px; border-color: var(--haar);
}
main.try .panel h2 { font-weight: 560; margin: .3rem 0 -.3rem; }
main.try .card h2 { font-size: 1.5rem; font-weight: 560; }
main.try .card:hover { border-color: var(--messing); }
main.try .play, main.try .btn--solid {
  background: var(--messing); border-color: var(--messing); color: #17130b;
  border-radius: 999px; font-weight: 680; letter-spacing: 0;
  text-transform: none; font-size: .95rem;
}
main.try .play[aria-pressed=true], main.try .btn--solid:hover {
  background: none; color: var(--messing);
}
main.try .btn {
  border-radius: 999px; border-color: var(--rand); letter-spacing: 0;
  text-transform: none; font-size: .95rem; font-weight: 560;
}
main.try .btn:hover { border-color: var(--messing); color: var(--messing); }
main.try .seg button, main.try .chip { border-radius: 999px; }
main.try .seg button[aria-pressed=true], main.try .chip[aria-pressed=true] {
  border-color: var(--messing); color: var(--messing);
  background: rgba(224, 184, 114, .12);
}
main.try input[type=range]::-webkit-slider-thumb {
  background: var(--messing); box-shadow: none;
}
main.try input[type=range]::-moz-range-thumb {
  background: var(--messing); box-shadow: none;
}
main.try .more { border-top-color: var(--rille); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* Zeichen in Links (Inhaltsverzeichnis): der Klick gehoert dem Link, nicht dem Bild-Vergroesserer */
.doc a img, .shot a img { pointer-events: none; }

/* Klangdemos: Beschriftungen und Tasten in normaler Schreibweise, wie der Rest der Seite */
main.try .panel h2, main.try .panel .lbl, main.try .ctl label,
main.try .seg button, main.try .chip, main.try .btn, main.try .play {
  text-transform: none; letter-spacing: .01em;
}
main.try .panel h2, main.try .panel .lbl, main.try .ctl label { font-size: .8rem; }

/* ---------- Klavierlicht (eigene App, kein SAM-Gerät) ---------- */
.kl-kopf .kl-symbol { width: 112px; height: 112px; border-radius: 25px; }
.kl-status {
  margin: 0; padding: 6px 16px; border: 1px solid rgba(243, 201, 106, .55);
  border-radius: 999px; color: #f3c96a; font-weight: 560;
}
.kl-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.kl-store { margin: 0; line-height: 0; padding: 12px 0; }
.kl-store a { display: inline-block; border-radius: 9px; }
.kl-store img { display: block; height: 48px; width: auto; }
.kl-abgrenzung { margin: 0; max-width: 54ch; color: var(--dim); font-size: .95rem; }
.kl-gross {
  display: block; width: 100%; height: auto; border-radius: 9px;
  border: 1px solid var(--haar); margin-bottom: clamp(20px, 3vw, 32px);
}
.kl-karten { margin-bottom: clamp(24px, 4vw, 40px); }
.kl-karten .sx-card { --c: #f3c96a; }
.kl-karten .sx-card h3 { text-transform: none; letter-spacing: 0; }
.kl-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 0; }
.kl-bild { margin: 0; }
.kl-bild img { display: block; width: 100%; height: auto; border-radius: 9px; border: 1px solid var(--haar); }
.kl-liste { display: grid; gap: 10px; margin: 0; padding-left: 1.4rem; list-style: revert; max-width: 62ch; }
.kl-liste li::marker { color: #f3c96a; }
@media (max-width: 720px) {
  .kl-paar { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Schwarz-weiss (Philip 17.11.2026): alle Unterseiten wie die neue Startseite ---------- */
:root {
  --bg: #fff; --koerper: #fff; --feld: #f4f4f4;
  --haar: rgba(0,0,0,.16); --rand: rgba(0,0,0,.5); --rille: rgba(0,0,0,.1);
  --text: #000; --dim: rgba(0,0,0,.58); --messing: #000; --bronze: #000; --ton: #000;
  --c-sam: #000; --c-friend: #000; --c-sampler: #000; --c-corpus: #000; --c-bass: #000; --c-conductor: #000;
  --c-mirror: #000; --c-rack: #000; --c-timefield: #000; --c-giant: #000; --c-polygon: #000; --c-scan: #000; --c-states: #000;
  color-scheme: light;
}
/* was noch irgendwo fest eingefärbt ist, wird grau; Bilder sowieso */
html { filter: grayscale(1); }
img, video { filter: grayscale(1) contrast(1.12); }
.kopf { background: rgba(255,255,255,.94); }
.kn--voll, .kn--voll:hover, .ton-knopf:hover, .ton-knopf:focus-visible { color: #fff; }
.kn--voll:hover { background: #fff; color: #000; border-color: #000; }
.ton-knopf { background: rgba(255,255,255,.86); }
.lk { background: rgba(255,255,255,.96); }
.streifen:hover, .frei-liste a:hover { background: rgba(0,0,0,.03); }
:where(.doc, .wrap) .btn--solid, .doc .kb .k[aria-pressed=true], main.try .play, main.try .btn--solid { color: #fff; }
:where(.doc, .wrap) .btn--solid:hover { background: #fff; border-color: #000; color: #000; }
.lb { background: rgba(255,255,255,.97); }
.kopf nav a:first-child { font-weight: 700; letter-spacing: .1em; text-transform: lowercase; }
.kopf nav a { text-transform: lowercase; }
/* Presseseite: Tabellen auf schmalen Schirmen umbrechen statt seitlich zu laufen */
@media (max-width: 600px) {
  .press table { font-size: .84rem; }
  .press th, .press td { padding-right: 10px; overflow-wrap: anywhere; }
  .press th { white-space: normal; }
}
