/* Leistungsseite Getriebeoptimierung (DSG Optimierung). Lädt nach unterseiten.css.
   Eigenes: Schema eines Doppelkupplungsgetriebes mit Drehmomentverlauf (leistung-getriebeoptimierung.js). */

.gt-buehne { position: relative; display: grid; gap: var(--r4); padding: var(--r5); background:
  radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--akz-rgb), .10), transparent 70%),
  linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.gt-buehne::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: var(--akz-hell); box-shadow: 0 0 14px rgba(var(--akz-rgb), .6); }

.gt-steuer { display: flex; flex-wrap: wrap; gap: var(--r3); align-items: center; justify-content: space-between; }
.gt-schalter button { min-height: 44px; }
.gt-schalter button[aria-pressed="true"] { background: var(--akz); border-color: var(--akz); color: #fff; }
.gt-schalter button:focus-visible, .gt-start:focus-visible { outline: 2px solid var(--akz-hell); outline-offset: 3px; }
.gt-start { display: inline-flex; align-items: center; gap: var(--r2); min-height: 44px; padding: 0 var(--r3); cursor: pointer; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 0; border-bottom: 2px solid rgba(var(--dritt-rgb), .6); font: 600 .9rem/1 var(--schrift); transition: background .2s; }
.gt-start:hover { background: rgba(255, 255, 255, .1); }
.gt-start svg { color: var(--akz-hell); }

.gt-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--r4); }
.gt-feld { margin: 0; display: grid; gap: var(--r2); align-content: start; min-width: 0; }
.gt-feld__titel { font: 600 .74rem/1.2 var(--schrift); letter-spacing: .16em; text-transform: uppercase; color: var(--dritt); }
.gt-svg { display: block; width: 100%; height: auto; background: rgba(6, 8, 11, .55); }
.gt-svg text { font-family: var(--schrift); }

.gt-legende { margin: 0; display: flex; flex-wrap: wrap; gap: var(--r1) var(--r3); font-size: .8rem; color: var(--ruhig); }
.gt-l { display: inline-flex; align-items: center; gap: var(--r2); }
.gt-l::before { content: ""; width: 22px; height: 0; border-top: 2px dashed var(--dritt); }
.gt-l--ist::before { border-top: 3px solid var(--akz-hell); box-shadow: 0 0 6px rgba(var(--akz-rgb), .8); }
.gt-l--grenze::before { border-top: 2px dotted var(--stahl); }

.gt-zeit { display: grid; gap: var(--r2); }
.gt-zeit input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.gt-zeit input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--akz-hell) var(--gt-anteil, 0%), rgba(255, 255, 255, .14) var(--gt-anteil, 0%)); }
.gt-zeit input[type="range"]::-moz-range-track { height: 4px; background: rgba(255, 255, 255, .14); }
.gt-zeit input[type="range"]::-moz-range-progress { height: 4px; background: var(--akz-hell); }
.gt-zeit input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; background: #fff; border: 3px solid var(--akz); border-radius: 50%; box-shadow: 0 0 12px rgba(var(--akz-rgb), .7); }
.gt-zeit input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: #fff; border: 3px solid var(--akz); border-radius: 50%; }
.gt-zeit input[type="range"]:focus-visible { outline: 2px solid var(--akz-hell); outline-offset: 4px; }

.gt-status { margin: 0; min-height: 3.2em; color: var(--text); font-weight: 600; max-width: 80ch; }
.gt-status b { color: var(--akz-hell); }
.gt-fuss { margin: 0; font-size: .82rem; color: var(--ruhig); max-width: 80ch; }

/* Elemente im Schema (von JS erzeugt) */
.gt-welle { stroke: rgba(182, 191, 201, .45); stroke-width: 3; }
.gt-rad { fill: #10151C; stroke: rgba(182, 191, 201, .35); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.gt-rad.ist-aktiv { fill: rgba(var(--akz-rgb), .35); stroke: var(--akz-hell); filter: drop-shadow(0 0 6px rgba(var(--akz-rgb), .8)); }
.gt-rad.ist-bereit { stroke: var(--dritt); stroke-dasharray: 4 3; }
.gt-radtext { fill: var(--stahl); font-size: 15px; font-weight: 800; font-style: italic; text-anchor: middle; }
.gt-radtext.ist-aktiv { fill: #fff; }
.gt-beschr { fill: var(--ruhig); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gt-beschr--hell { fill: var(--dritt); }
.gt-kupplung-rahmen { fill: none; stroke: rgba(182, 191, 201, .35); stroke-width: 1.5; }
.gt-kupplung-fuell { fill: var(--akz-hell); }
.gt-fluss { fill: none; stroke: var(--akz-hell); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; filter: drop-shadow(0 0 4px rgba(var(--akz-rgb), .9)); }
.gt-motor { fill: #141A22; stroke: rgba(182, 191, 201, .4); stroke-width: 1.5; }

.gt-achse { stroke: rgba(182, 191, 201, .35); stroke-width: 1; }
.gt-gitter { stroke: rgba(182, 191, 201, .08); stroke-width: 1; }
.gt-potenzial { fill: none; stroke: var(--dritt); stroke-width: 2; stroke-dasharray: 5 5; opacity: .8; }
.gt-grenze { stroke: var(--stahl); stroke-width: 1.5; stroke-dasharray: 2 4; transition: transform .6s var(--kurve); }
.gt-ist { fill: none; stroke: var(--akz-hell); stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(var(--akz-rgb), .7)); }
.gt-verlust { fill: rgba(var(--akz-rgb), .22); }
.gt-kopf { fill: #fff; }
.gt-gangmarke { fill: var(--ruhig); font-size: 12px; text-anchor: middle; font-weight: 600; }

.gt-kasten { padding: var(--r4); background: linear-gradient(180deg, rgba(var(--dritt-rgb), .07), rgba(255, 255, 255, .015)); align-self: start; }
.gt-hinweis { font-size: .9rem; color: var(--ruhig) !important; }

.gt-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--r3); counter-reset: gt; }
.gt-schritte li { position: relative; padding-left: 52px; color: var(--hell); counter-increment: gt; min-height: 36px; }
.gt-schritte li::before { content: counter(gt, decimal-leading-zero); position: absolute; left: 0; top: -2px; font: italic 800 1.5rem/1 var(--schrift); color: var(--akz-hell); text-shadow: 0 0 14px rgba(var(--akz-rgb), .5); }
.gt-schritte b { color: var(--text); }

.gt-abregel { fill: var(--akz-hell); font-weight: 600; }

@media (max-width: 900px) {
  .gt-felder { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gt-beschr, .gt-gangmarke { font-size: 15px; letter-spacing: .02em; }
  .gt-radtext { font-size: 18px; }
}
@media (max-width: 760px) {
  .gt-buehne { padding: var(--r4) var(--r3); }
  .gt-steuer { flex-direction: column; align-items: stretch; }
  .gt-schalter { display: grid; grid-template-columns: 1fr 1fr; }
  .gt-schalter button { padding: 9px 8px; letter-spacing: .04em; font-size: .7rem; }
  .gt-start { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gt-rad, .gt-grenze, .gt-start { transition: none; }
}
