/* CodeHerz ByteBeat Music – Gitarren verstehen (E-Gitarre,Bass). Grundlage wie „Akustikgitarre verstehen“,ergänzt um
   Tonabnehmer,Regler,Signalkette und Band-Raster. Zeichnung mit den Illustrations-Tönen aus dem Stil-Skill. */
html{scroll-padding-top:84px}
.wz-wrap > *{min-width:0}
.nur-schmal{display:none}
@media (max-width:999px){.nur-breit{display:none}.nur-schmal{display:inline}}
.abst-l{margin-top:18px}
.abst{margin-top:12px}
.sprung{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.sprung a{font:500 14px/1 var(--body);color:var(--soft);text-decoration:none;padding:10px 14px;border-radius:999px;border:1px solid #433C4B;background:var(--ground)}
.sprung a:hover{border-color:var(--accent);color:var(--text)}

/* Bühne */
.gitarre-feld{position:relative;margin:0;border-radius:26px;border:1px solid #433C4B;overflow:hidden;min-width:0;scroll-margin-top:84px;
  background:
    radial-gradient(ellipse 60% 55% at 70% 105%,rgba(30,240,248,.09),transparent 70%),
    radial-gradient(ellipse 40% 45% at 12% 0%,rgba(240,64,248,.09),transparent 70%),
    radial-gradient(ellipse 35% 40% at 90% 0%,rgba(61,76,160,.16),transparent 70%),
    linear-gradient(180deg,#17141C 0%,#100E13 100%);
  box-shadow:inset 0 1px 0 rgba(241,236,228,.05),0 24px 60px rgba(0,0,0,.45)}
.feld-kopf{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:16px 20px 0}
.feld-kopf .tgl-s{min-height:36px}
.instrument{display:block;width:100%;height:auto;touch-action:pan-y;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.feld-fuss{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;padding:4px 20px 16px;color:var(--muted);font-size:13px;margin:0}
.feld-fuss .fx-vol{display:flex;align-items:center;gap:8px;margin-left:auto}
.feld-fuss .fx-vol input{width:120px;accent-color:#7EF4F4}
.feld-fuss b{color:var(--soft);font-weight:500}

.instrument .glanz{pointer-events:none}
.instrument .steg{fill:#0B0A0E;stroke:#433C4B;stroke-width:1.5}
.instrument .hals{stroke:#0B0A0E;stroke-width:1.5}
.instrument .punkt{fill:#D2CAC2;opacity:.75}
.instrument .bund{stroke:#C9C2CC;stroke-width:2.2;stroke-linecap:round}
.instrument .sattel{fill:#F1ECE4}
.instrument .kopf{fill:url(#gKopf);stroke:#0B0A0E;stroke-width:1.5}
.instrument .welle{stroke:#8E8796;stroke-width:4;stroke-linecap:round}
.instrument .flugel{fill:#C9C2CC;stroke:#0B0A0E;stroke-width:1}
.instrument .post{fill:#8E8796;stroke:#C9C2CC;stroke-width:1.2}
.instrument .saite{fill:none;stroke:#C9C2CC;stroke-linejoin:round;pointer-events:none}
.instrument .saite.gew{stroke:#D2CAC2}
.instrument .saite.s0{stroke-width:2.6}.instrument .saite.s1{stroke-width:2.2}.instrument .saite.s2{stroke-width:1.8}
.instrument .saite.s3{stroke-width:1.5}.instrument .saite.s4{stroke-width:1.1}
.instrument .finger{fill:#1EF0F8;stroke:#0B1A1E;stroke-width:1.5;pointer-events:none}
.instrument .barre{fill:#1EF0F8;opacity:.9;pointer-events:none}
.instrument .marke{pointer-events:none}
.instrument .marke.o{fill:none;stroke:#1EF0F8;stroke-width:1.6}
.instrument .marke.x{font:600 15px var(--mono);fill:#F59BFA;text-anchor:middle}
.instrument .schwingt{stroke:#7EE9EE;stroke-width:3.2;stroke-linecap:round;pointer-events:none;filter:drop-shadow(0 0 4px rgba(30,240,248,.9));animation:schwingt 1.1s ease-out forwards}
.instrument .schwingt.kurz{animation-duration:.3s}
.instrument .druck{fill:#7EE9EE;pointer-events:none;animation:druck .5s ease-out forwards}
@keyframes schwingt{0%{opacity:1;stroke-width:4.2}25%{opacity:.85;stroke-width:2.6}100%{opacity:0;stroke-width:1.2}}
@keyframes druck{0%{opacity:1}100%{opacity:0}}
.instrument .feld{fill:transparent;cursor:pointer}
.instrument .feld:hover{fill:rgba(30,240,248,.16)}
.instrument .teil{cursor:pointer;outline:none}
.instrument .teil.gewaehlt .hals,.instrument .teil.gewaehlt .kopf,.instrument .teil.gewaehlt .steg{filter:drop-shadow(0 0 10px rgba(240,64,248,.55))}
.instrument .teil.gewaehlt .bund,.instrument .teil.gewaehlt .flugel,.instrument .teil.gewaehlt .sattel{filter:drop-shadow(0 0 6px rgba(240,64,248,.9))}
.instrument .schild{cursor:pointer;outline:none}
.instrument .schild .leine{stroke:#6B6474;stroke-width:1.2;fill:none}
.instrument .schild .ziel{fill:#D2CAC2}
.instrument .schild-k{transform-box:fill-box;transform-origin:center;transform:scale(var(--schild,1))}
.instrument .schild rect{fill:rgba(18,16,21,.9);stroke:#433C4B;stroke-width:1.2}
.instrument .schild text{font:500 12px var(--mono);letter-spacing:.08em;fill:var(--text);text-anchor:middle}
.instrument .schild:hover rect{stroke:var(--accent-2)}
.instrument .schild:focus-visible rect{stroke:var(--text);stroke-width:3}
.instrument .schild.gewaehlt rect{fill:var(--accent-2);stroke:var(--accent-2)}
.instrument .schild.gewaehlt text{fill:var(--accent-ink);font-weight:600}
.instrument .schild.gewaehlt .leine{stroke:var(--accent-2)}
@media (prefers-reduced-motion:reduce){.instrument .schwingt,.instrument .druck{animation-duration:.01s}}
@media (max-width:999px){.instrument .schilder{display:none!important}.feld-kopf .tgl-s{display:none}}

/* Steuerung */
.steuer{display:grid;gap:18px}
.steuer-zeile{display:grid;gap:18px}
.steuer-zeile.drei{grid-template-columns:auto minmax(0,1.3fr) minmax(0,1fr);align-items:start}
@media (max-width:980px){.steuer-zeile.drei{grid-template-columns:minmax(0,1fr)}}
.steuer-gruppe{min-width:0}
.seg button:disabled{opacity:.35;cursor:not-allowed}
.saiten-knoepfe{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.saiten-knoepfe button{display:grid;gap:2px;justify-items:center;min-width:44px;min-height:52px;padding:6px 8px;border-radius:12px;border:1px solid #433C4B;background:var(--ground);color:var(--text);font:600 17px/1 var(--mono);cursor:pointer}
.saiten-knoepfe button small{font:400 11px/1 var(--mono);color:var(--muted)}
.saiten-knoepfe button:active{border-color:var(--accent);background:rgba(30,240,248,.12)}
.anzeige{margin:0;padding:14px 18px;border-radius:14px;background:var(--ground);border:1px solid var(--line);color:var(--soft);font:500 15px/1.5 var(--mono);min-height:52px}

/* Karten */
.karten-zeile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
@media (max-width:960px){.karten-zeile{grid-template-columns:minmax(0,1fr)}}
.info{display:grid;gap:14px;align-content:start;padding:clamp(18px,2.4vw,26px);border-radius:22px;background:var(--surface-2);border:2px solid var(--accent-2);min-width:0}
.info .eyebrow{color:var(--accent-2)}
.info.ton{border-color:var(--accent)}
.info.ton .eyebrow{color:var(--accent)}
.info h2{font-size:clamp(28px,3.2vw,40px);font-weight:800;line-height:1.05}
.info .auch{margin:-6px 0 0;color:var(--muted);font:500 13px/1.4 var(--mono)}
.info p{margin:0;color:var(--soft);font-size:15px;line-height:1.6}
.info .erg-fakten{grid-template-columns:minmax(0,1fr);gap:4px}
.info .erg-fakten dd{margin-bottom:8px;font-size:15px;line-height:1.6}
.teil-wahl{display:flex;flex-wrap:wrap;gap:6px}
.teil-wahl button{font:500 13px/1 var(--body);color:var(--soft);background:var(--ground);border:1px solid #433C4B;border-radius:999px;min-height:36px;padding:7px 12px;cursor:pointer}
.teil-wahl button:hover{border-color:var(--soft);color:var(--text)}
.teil-wahl button[aria-pressed="true"]{background:var(--accent-2);border-color:var(--accent-2);color:var(--accent-ink)}

/* Muster-Raster */
.raster-kopf{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px 22px}
.raster-titel{font-size:clamp(26px,3vw,36px);font-weight:800;margin-top:10px}
.raster-steuer{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}

.raster-info{margin:14px 0 0;color:var(--soft);font-size:16px;line-height:1.65;max-width:75ch}
.raster-info strong{color:var(--text)}
.akk-leiste{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.akk{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:var(--ground);border:1px solid var(--line);transition:border-color .1s,background .1s}
.akk b{font:800 22px/1 var(--display);color:var(--text)}
.akk small{font:400 11px/1.2 var(--mono);color:var(--muted)}
.akk.jetzt{border-color:var(--accent);background:rgba(30,240,248,.08)}
.raster-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;margin-top:12px;max-width:100%}

/* Vergleich{width:100%;border-collapse:collapse;font-size:14px}
.formen{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
@media (max-width:640px){.formen{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Klang und Aufnahme */
.weg{margin:0;padding:0;list-style:none;display:grid;gap:8px;counter-reset:w}
.weg li{counter-increment:w;position:relative;padding:12px 14px 12px 50px;border-radius:14px;background:var(--ground);border:1px solid var(--line);font-size:14px;color:var(--soft);line-height:1.55}
.weg li::before{content:counter(w);position:absolute;left:14px;top:12px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid var(--accent);color:var(--accent);font:500 12px/1 var(--mono)}
.weg li b{display:block;color:var(--text);font-size:15px;margin-bottom:2px}
.box .tgl-s{justify-self:start}

.fq{display:grid;gap:8px}
.fq svg{display:block;width:100%;height:auto}
.fq .achse{stroke:#433C4B;stroke-width:1}
.fq .tick text{font:500 11px var(--mono);fill:var(--muted)}
@media (max-width:1100px){.fq .tick text{font-size:14px}}
@media (max-width:600px){.fq .tick text{font-size:17px}}
.fq .tick line{stroke:#2F2A36}
.fq-liste{display:grid;gap:4px;margin:0;padding:0;list-style:none;font-size:14px;color:var(--soft)}
.fq-liste li{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
.fq-liste i{display:inline-block;width:10px;height:10px;border-radius:3px;flex-shrink:0;transform:translateY(1px)}
.fq-liste b{font:500 13px/1.3 var(--mono);color:var(--text)}
.mehr{font-weight:600;text-decoration:none}
.mehr:hover{text-decoration:underline}
.stems{width:100%;border-collapse:collapse;font-size:15px}
.stems th,.stems td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.stems th{background:var(--surface-2);font:500 12px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.stems td{color:var(--soft)}
.stems td:first-child{color:var(--text);font-weight:600}
.stems td small{font:400 12px/1.4 var(--mono);color:var(--muted)}
.woerter{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}
.woerter div{padding:14px 16px;border-radius:14px;background:var(--ground);border:1px solid var(--line);font-size:14px;color:var(--soft);line-height:1.55}
.woerter b{display:block;color:var(--text);font-size:15px;margin-bottom:2px}

/* ---------- Ergänzungen Gitarren ---------- */
.inst-wahl{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.inst-wahl button{font:600 16px/1 var(--body);color:var(--soft);background:var(--ground);border:1px solid #433C4B;border-radius:999px;min-height:46px;padding:12px 22px;cursor:pointer}
.inst-wahl button:hover{border-color:var(--soft);color:var(--text)}
.inst-wahl button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.inst-wahl a{font:500 15px/1 var(--body);color:var(--accent);text-decoration:none;padding:12px 10px}
.inst-wahl a:hover{text-decoration:underline}
.instrument{display:block;width:100%;height:auto;touch-action:pan-y;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.instrument[hidden]{display:none}
.instrument .korpus{fill:url(#gKe);stroke:#C9C2CC;stroke-width:3;stroke-opacity:.85}
#bass .korpus{fill:url(#gKb)}
.instrument .glanz{pointer-events:none}
.instrument .bruecke{fill:#8E8796;stroke:#0B0A0E;stroke-width:1.5}
.instrument .reiter{fill:#C9C2CC;stroke:#0B0A0E;stroke-width:.8}
.instrument .hebel{fill:none;stroke:#C9C2CC;stroke-width:4;stroke-linecap:round}
.instrument .hebel-k{fill:#F1ECE4}
.instrument .schalter{fill:#100E13;stroke:#6B6474}
.instrument .schalter-h{stroke:#C9C2CC;stroke-width:3;stroke-linecap:round}
.instrument .schalter-k{fill:#F1ECE4}
#schalterHebel{transition:transform .15s;transform-box:view-box}
.instrument .knopf-g{fill:#17141C;stroke:#8E8796;stroke-width:1.5}
.instrument .knopf-i{fill:#2F2A36;stroke:#C9C2CC;stroke-width:1}
.instrument .knopf-m{stroke:#1EF0F8;stroke-width:2;stroke-linecap:round}
.instrument .buchse-r{fill:#8E8796;stroke:#0B0A0E;stroke-width:1.5}
.instrument .buchse-l{fill:#08070A}
.instrument .pu-rahmen{fill:#100E13;stroke:#6B6474;stroke-width:1.2}
.instrument .pu-spule{fill:#0B0A0E;stroke:#433C4B;stroke-width:1}
.instrument .pu-spule.sc{fill:#F1ECE4;stroke:#C9C2CC;opacity:.9}
.instrument .pu-pol{fill:#C9C2CC}
.instrument .pu.sc .pu-pol{fill:#6B6474}
.instrument[data-spule="humbucker"] .pu.sc{display:none}
.instrument[data-spule="single"] .pu.hb{display:none}
.instrument .pu.aktiv .pu-spule,.instrument .pu.aktiv .pu-rahmen{stroke:#1EF0F8;stroke-width:2;filter:drop-shadow(0 0 6px rgba(30,240,248,.8))}
.instrument .teil.gewaehlt .korpus{stroke:#F040F8;filter:drop-shadow(0 0 10px rgba(240,64,248,.45))}
.instrument .teil.gewaehlt .hals,.instrument .teil.gewaehlt .kopf,.instrument .teil.gewaehlt .bruecke,.instrument .teil.gewaehlt .hebel,.instrument .teil.gewaehlt .schalter,.instrument .teil.gewaehlt .knopf-g,.instrument .teil.gewaehlt .buchse-r,.instrument .teil.gewaehlt .pu-spule,.instrument .teil.gewaehlt .sattel{filter:drop-shadow(0 0 8px rgba(240,64,248,.9))}
.steuer-zeile.zwei-s{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:start}
@media (max-width:980px){.steuer-zeile.zwei-s{grid-template-columns:minmax(0,1fr)}}
.steuer-zeile.drei{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:980px){.steuer-zeile.drei{grid-template-columns:minmax(0,1fr)}}
.steuer[hidden]{display:none}
.steuer-zeile{display:grid;gap:18px}
.steuer-zeile + .saiten-knoepfe{margin-top:0}

/* Signalkette */
.kette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:18px;counter-reset:st}
@media (max-width:1100px){.kette{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.kette{grid-template-columns:minmax(0,1fr)}}
.station{position:relative;display:grid;gap:10px;align-content:start;padding:14px 14px 16px;border-radius:16px;background:var(--ground);border:1px solid var(--line);min-width:0}
.station.aktiv{border-color:var(--accent)}
.station p{margin:0;font-size:14px;color:var(--soft);line-height:1.5}
.st-kopf{display:flex;align-items:center;gap:10px}
.st-kopf b{font:700 17px/1 var(--display);color:var(--text)}
.st-n{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--accent);color:var(--accent);font:500 12px/1 var(--mono)}
.st-wert{font:500 13px/1.4 var(--mono)!important;color:var(--accent)!important}
.station .seg button{min-height:36px;padding:6px 12px;font-size:13px}
.seg.senkrecht{flex-direction:column;align-items:stretch}
.pedal-liste{display:grid;gap:8px}
.pedal{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:6px 10px 6px 12px;border-radius:12px;border:1px solid #433C4B;background:#17141C;color:var(--soft);font:500 14px/1.2 var(--body);cursor:pointer;width:100%;text-align:left}
.pedal i{width:12px;height:12px;border-radius:50%;background:#433C4B;flex-shrink:0}
.pedal[aria-checked="true"]{border-color:var(--accent-2);color:var(--text)}
.pedal[aria-checked="true"] i{background:var(--accent-2);box-shadow:0 0 8px rgba(240,64,248,.9)}
.regler-liste{display:grid;gap:8px}
.regler-liste label{display:grid;grid-template-columns:4.6em minmax(0,1fr) 3.2em;align-items:center;gap:8px;font:500 12px/1 var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.regler-liste input[type=range]{width:100%;accent-color:#1EF0F8;min-height:28px}
.regler-liste output{font:500 12px/1 var(--mono);color:var(--text);text-align:right;text-transform:none;letter-spacing:0}
.kette-info{margin:14px 0 0;padding:14px 18px;border-radius:14px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);color:var(--soft);font-size:15px;line-height:1.6;min-height:3.4em}
.kette-info strong{color:var(--text)}
.zwei.innen{gap:22px}
.box .zwei.innen > div{display:grid;gap:12px;align-content:start}

/* Band-Raster */
.band-raster{display:grid;grid-template-columns:minmax(150px,auto) repeat(32,minmax(16px,1fr));gap:4px 2px;align-items:center;min-width:760px}
.band-raster .kopf{font:500 11px/1 var(--mono);color:var(--muted);text-align:center}
.band-raster .kopf.takt{color:var(--text);font-size:12px}
.band-raster .kopf.jetzt{color:var(--accent)}
.spur-name{display:flex;align-items:center;gap:6px;min-width:0;position:sticky;left:0;z-index:2;background:var(--surface);padding-right:4px}
.spur-name span{flex:1;font:500 13px/1.2 var(--mono);color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spur-name button{width:30px;height:30px;flex-shrink:0;border-radius:8px;border:1px solid #433C4B;background:var(--ground);color:var(--muted);font:600 12px/1 var(--mono);cursor:pointer}
.spur-name button[aria-pressed="true"]{background:#3A2140;border-color:var(--accent-2);color:var(--accent-2)}
.bz{height:26px;border-radius:5px;background:#17141C;border:1px solid #2F2A36;display:grid;place-items:center}
.bz.takt{border-left-color:#6B6474}
.bz.an::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
.bz.an.lang::after{width:70%;height:6px;border-radius:3px}
.bz.an.leise::after{width:6px;height:6px;background:transparent;border:2px solid #7EE9EE}
.bz.an.pm::after{width:8px;height:4px;border-radius:2px;background:#7EE9EE}
.bz.an.kick::after{width:10px;height:10px}
.bz.an.snare::after{background:var(--accent-2)}
.bz.an.hh::after{width:5px;height:5px;background:#7EE9EE}
.band-legende{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--soft);margin-top:10px}
.band-legende span{display:inline-flex;align-items:center;gap:7px}
.band-legende i{display:inline-block;flex-shrink:0;border-radius:50%}
.instrument .kopf{fill:#1A1620;stroke:#C9C2CC;stroke-width:1.5;stroke-opacity:.8}
.zeile-aus .bz{opacity:.3}
.bz.jetzt{border-color:var(--soft)}
.bz.spielt::after{transform:scale(1.4)}
@media (prefers-reduced-motion:reduce){#schalterHebel{transition:none}}
.lg-k{width:10px;height:10px;background:var(--accent)}
.lg-s{width:8px;height:8px;background:var(--accent-2)}
.lg-h{width:5px;height:5px;background:#7EE9EE}
.lg-p{width:8px;height:4px;border-radius:2px!important;background:#7EE9EE}
.lg-e{width:7px;height:7px;border:2px solid #7EE9EE}

#egitarre .hals{fill:url(#gHe)}#bass .hals{fill:url(#gHb)}#egitarre .glanz{fill:url(#gGe)}#bass .glanz{fill:url(#gGb)}
.spur-name .kurz{display:none}
@media (max-width:700px){.band-raster{grid-template-columns:132px repeat(32,minmax(16px,1fr))}.spur-name .lang{display:none}.spur-name .kurz{display:block;font-size:12px}.spur-name button{width:40px;height:40px}.bz{height:34px}}
@media (max-width:600px){.stems,.stems tbody{display:block;width:100%;min-width:0}.stems thead{display:none}.stems tr{display:block;border-bottom:1px solid var(--line);padding:6px 0}.stems td{display:block;border:0;padding:4px 12px}}
