/* YES · Werkstatt & Service (werkstatt.html) — eigene Datei, Tokens aus yes.css */

/* ---------- Kopf ---------- */
.ws-kopf .pkopf__bg img {
  object-position: 62% 40%;
}
.ws-kopf .d-xl {
  max-width: 11ch;
}
.ws-kopf__cta {
  margin-top: 34px;
}
.ws-kopf__orte {
  margin-top: clamp(40px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.ws-kopf__orte li {
  list-style: none;
  flex: 1 1 0;
  min-width: 150px;
  padding: 18px 20px 4px 0;
  font: 650 15px/1.3 var(--f-text);
  color: var(--ink);
}
.ws-kopf__orte li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.ws-kopf__orte small {
  display: block;
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ws-kopf__orte ol,
ul.ws-kopf__orte {
  padding: 0;
  margin-bottom: 0;
}

/* ---------- Leistungen (Signature: Rad-Anatomie) ---------- */
.ws-leist {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.ws-kopfzeile {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.ws-kopfzeile .d-l {
  margin: 18px 0 22px;
}
.ws-anatomie {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
}
.ws-anatomie__buehne {
  position: relative;
  border-radius: var(--r-l);
  background:
    radial-gradient(
      120% 80% at 50% 92%,
      color-mix(in oklab, var(--ink) 10%, transparent),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(12px, 2vw, 28px);
}
.ws-anatomie__rad {
  position: relative;
}
.ws-anatomie__buehne img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1100;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px var(--rad-schatten));
}
.ws-punkt {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 13px/1 var(--f-mono);
  letter-spacing: -0.02em;
  color: var(--yellow-ink);
  background: var(--yellow);
  box-shadow:
    0 0 0 4px color-mix(in oklab, var(--yellow) 28%, transparent),
    0 10px 24px -8px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  z-index: 1;
}
.ws-punkt::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  opacity: 0;
  transform: scale(0.9);
}
.ws-punkt.is-an {
  transform: scale(1.18);
}
.ws-punkt.is-an::after {
  animation: ws-puls 1.6s var(--ease) infinite;
}
@keyframes ws-puls {
  0% {
    opacity: 0.9;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}
.ws-punkt:active {
  transform: scale(0.97);
}
.ws-punkt b {
  font: inherit;
}
.ws-punkt__label {
  display: none;
}
/* Variante B (Duell): Rad frei auf dem Grund, größer, Marker mit Beschriftung */
.ws-anatomie--frei .ws-anatomie__buehne {
  background: radial-gradient(
    60% 46% at 50% 58%,
    color-mix(in oklab, var(--yellow) 16%, transparent),
    transparent 70%
  );
  border: 0;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}
.ws-anatomie--frei .ws-anatomie__rad {
  margin: -4% -6% -2%;
}
@media (max-width: 960px) {
  .ws-anatomie--frei .ws-anatomie__rad {
    margin: 0 -2%;
  }
  .ws-anatomie {
    overflow-x: clip;
  }
}
.ws-anatomie--frei .ws-punkt {
  width: auto;
  height: 36px;
  margin: -18px 0 0 -18px;
  padding: 0 14px 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
  transform-origin: 18px 50%;
}
.ws-anatomie--frei .ws-punkt b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-size: 12px;
}
.ws-anatomie--frei .ws-punkt__label {
  display: inline;
  font: 650 13.5px/1 var(--f-text);
  letter-spacing: 0;
}
.ws-anatomie--frei .ws-punkt::after {
  inset: 0;
  border-radius: 999px;
}
.ws-anatomie--frei .ws-punkt.is-an {
  transform: scale(1.06);
  background: var(--yellow);
  color: var(--yellow-ink);
}
.ws-anatomie--frei .ws-punkt.is-an b {
  background: var(--yellow-ink);
  color: var(--yellow);
}
@media (max-width: 600px) {
  .ws-anatomie--frei .ws-punkt__label {
    display: none;
  }
  .ws-anatomie--frei .ws-punkt {
    padding: 0 4px;
    height: 34px;
    margin: -17px 0 0 -17px;
  }
}
.ws-anatomie figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.ws-anatomie figcaption a {
  color: var(--ink);
  font-weight: 600;
}

.ws-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  counter-reset: ws;
}
.ws-liste > li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 12px;
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.ws-liste__nr {
  font: 700 14px/1.9 var(--f-mono);
  color: var(--akzent);
}
.ws-liste h3 {
  margin: 0 0 10px;
}
.ws-liste p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 46ch;
}
.ws-liste__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 16px;
}
.ws-preis {
  font: 600 12px/1 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 12px;
  border: 1px dashed var(--line);
  border-radius: 999px;
}
.ws-liste__link {
  font-weight: 650;
  font-size: 15px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.ws-liste__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.ws-liste > li.is-an .ws-liste__nr {
  color: var(--ink);
}
.ws-liste > li .ws-liste__nr span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  line-height: 1;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.ws-liste > li.is-an .ws-liste__nr span {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
}
@media (hover: hover) and (pointer: fine) {
  .ws-liste__link:hover svg {
    transform: translateX(4px);
  }
  .ws-punkt:hover {
    transform: scale(1.12);
  }
}
.ws-hinweis {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  max-width: 56ch;
}
@media (max-width: 960px) {
  .ws-leist {
    grid-template-columns: 1fr;
  }
  .ws-anatomie {
    position: relative;
    top: 0;
  }
  .ws-punkt {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    font-size: 12px;
  }
}

/* ---------- Akku-Check (themenfeste Bühne) ---------- */
.ws-akku {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(96px, 12vw, 176px);
}
.ws-akku__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -1;
}
.ws-akku__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.ws-akku__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(14, 15, 12, 0.94) 0%,
      rgba(14, 15, 12, 0.72) 48%,
      rgba(14, 15, 12, 0.5)
    ),
    linear-gradient(0deg, rgba(14, 15, 12, 0.7), transparent 50%);
}
.ws-akku__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: end;
}
.ws-akku__wort {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(64px, 10.4vw, 172px);
  line-height: 0.84;
  letter-spacing: -0.04em;
  margin: 0;
  word-spacing: 0.08em;
}
.ws-akku__wort .y {
  display: block;
}
.ws-akku__lead {
  margin: 28px 0 0;
  color: var(--ink);
  opacity: 0.86;
}
.ws-akku__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ws-akku__liste li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.ws-akku__liste svg {
  width: 22px;
  height: 22px;
  color: var(--yellow);
  margin-top: 2px;
}
.ws-akku__liste b {
  display: block;
  font: 650 18px/1.3 var(--f-text);
  color: var(--ink);
  margin-bottom: 4px;
}
.ws-akku__liste span {
  color: var(--muted);
  line-height: 1.55;
}
.ws-akku .row {
  margin-top: 30px;
}
@media (max-width: 900px) {
  .ws-akku__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Formular-Sektionen ---------- */
.ws-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.ws-split__text {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.ws-split__text .d-l {
  margin: 0 0 22px;
}
.ws-split--umgekehrt {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}
.ws-split--umgekehrt .ws-split__text {
  order: 2;
}
.ws-split--umgekehrt .ws-split__text .d-l {
  margin-top: 18px;
}
@media (max-width: 960px) {
  .ws-split,
  .ws-split--umgekehrt {
    grid-template-columns: 1fr;
  }
  .ws-split__text {
    position: relative;
    top: 0;
  }
  .ws-split--umgekehrt .ws-split__text {
    order: 0;
  }
}
.ws-ablauf {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.ws-ablauf li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.ws-ablauf li:last-child {
  border-bottom: 1px solid var(--line);
}
.ws-ablauf b {
  font: 800 26px/1 var(--f-display);
  font-stretch: 118%;
  color: var(--akzent);
}
.ws-ablauf strong {
  display: block;
  font-weight: 650;
  margin-bottom: 2px;
}
.ws-ablauf span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.ws-erinnerung {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.ws-erinnerung svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--yellow-ink);
}
.ws-erinnerung b {
  color: var(--ink);
}
.ws-direkt {
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
}
.ws-direkt a {
  color: var(--ink);
  font-weight: 650;
}

/* Inzahlungnahme: Foto-Stapel aus dem Laden */
.ws-laden {
  position: relative;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 14px;
  align-items: end;
}
.ws-laden img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-m);
  box-shadow: 0 30px 60px -40px rgba(19, 20, 15, 0.55);
}
.ws-laden img:nth-child(2) {
  margin-bottom: 44px;
}
.ws-laden figcaption {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Formular (Werkzeug-Look aus tools.css) ---------- */
.ws-form {
  display: grid;
  gap: 26px;
}
.ws-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 12px;
}
.ws-form legend {
  font: 600 12px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: 12px;
}
.ws-form__titel {
  font-family: var(--f-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.ws-form .yt-chips {
  gap: 8px;
}
.ws-form .yt-chip {
  min-height: 48px;
}
.ws-chips--tage {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ws-chips--tage .yt-chip {
  padding: 8px 4px;
}
@media (max-width: 520px) {
  .ws-chips--tage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ws-chips--zeit .yt-chip {
  flex: 1 1 0;
}
.ws-form .yt-field--check {
  font-size: 15px;
  line-height: 1.5;
}
.ws-form .yt-field--check label {
  padding-top: 9px;
}
.ws-form .yt-field--check .yt-check {
  margin: 8px 0 0;
}
.ws-pflicht {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.ws-senden {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.ws-senden .btn {
  --h: 58px;
}
.ws-senden .btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.ws-senden p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.ws-senden p a {
  color: var(--ink);
  font-weight: 600;
}
.ws-form .yt-error:empty {
  display: none;
}
.ws-form .yt-error {
  color: var(--fehler);
}
.ws-form [aria-invalid="true"] {
  border-color: var(--fehler);
}
.ws-gruppe-fehler .yt-chip {
  border-color: var(--fehler);
}

/* Foto-Upload */
.ws-foto {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--r-m);
  background: color-mix(in oklab, var(--feld) 60%, transparent);
}
.ws-foto__wahl {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: var(--feld);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s var(--ease);
}
.ws-foto__wahl:active {
  transform: scale(0.97);
}
.ws-foto__wahl:focus-within {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.ws-foto__wahl input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.ws-foto__wahl svg {
  width: 30px;
  height: 30px;
  color: var(--muted);
}
.ws-foto__wahl img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-foto__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.ws-foto__text b {
  color: var(--ink);
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.ws-foto__text a {
  color: var(--ink);
  font-weight: 600;
}
.ws-foto__weg {
  margin-top: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
  min-height: 32px;
}

/* Wunsch-Neurad */
.ws-neurad {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--feld);
}
.ws-neurad[hidden] {
  display: none;
}
.ws-neurad img {
  width: 120px;
  height: 82px;
  object-fit: contain;
}
.ws-neurad b {
  display: block;
  font-weight: 650;
  line-height: 1.3;
}
.ws-neurad span {
  font: 500 13px/1.5 var(--f-mono);
  color: var(--muted);
}
.ws-neurad a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Erfolg */
.ws-erfolg {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.ws-erfolg[hidden] {
  display: none;
}
.ws-erfolg:focus {
  outline: none;
}
.ws-erfolg__yes {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  margin: 0;
}
.ws-erfolg__yes span {
  color: var(--akzent);
}
.paper .ws-erfolg__yes span {
  color: var(--paper-ink);
  background: var(--yellow);
  padding: 0 0.08em;
  border-radius: 0.06em;
}
.ws-erfolg pre {
  white-space: pre-wrap;
  font: 500 13.5px/1.6 var(--f-mono);
  color: var(--muted);
  background: color-mix(in oklab, var(--feld) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 16px 18px;
  margin: 4px 0 0;
  width: 100%;
  max-height: 260px;
  overflow: auto;
}
.ws-erfolg p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .ws-punkt.is-an::after {
    animation: none;
  }
  .ws-punkt,
  .ws-liste__link svg {
    transition: none;
  }
}
.ws-form .yt-field--check > label {
  font-weight: 450;
  font-size: 15px;
}
.ws-form .yt-field--check > label b {
  font-weight: 650;
}
@media (max-width: 600px) {
  .ws-kopf__orte {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ws-kopf__orte li {
    min-width: 0;
    padding-right: 12px;
  }
  .ws-kopf__orte li + li {
    padding-left: 14px;
  }
  .ws-kopf__orte li:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 14px;
  }
}
.ws-erfolg .ws-erfolg__yes {
  color: var(--ink);
}
.ws-form .yt-chip:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
