/* === Basis (aus tools-basis.css, vom Werkzeug-Bauer) === */
/* YES-Tools · Funktions-Basis (nur Layout, Sichtbarkeit, Fokus, Bewegung). Theming macht das Seiten-CSS.
   Erwartete Variablen: --bg --ink --muted --line --yellow --surface */
.yt-tool {
  color: var(--ink, #111);
  min-width: 0;
}
.yt-tool *,
.yt-tool *::before,
.yt-tool *::after {
  box-sizing: border-box;
}
.yt-tool [hidden] {
  display: none !important;
}
.yt-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.yt-num {
  font-variant-numeric: tabular-nums;
}

/* Layout */
.yt-tool__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .yt-tool__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
  .yt-tool__grid > .yt-result {
    position: sticky;
    top: 1rem;
  }
}
.yt-felder {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .yt-felder--2 {
    grid-template-columns: 1fr 1fr;
  }
}
.yt-field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
.yt-field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
}
.yt-field--check > :not(input) {
  grid-column: 2;
}
.yt-range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}
.yt-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.yt-input,
.yt-select {
  min-height: 44px;
  font: inherit;
  color: inherit;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #ccc);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  max-width: 100%;
}
.yt-input-wrap .yt-input {
  width: 7.5ch;
  text-align: right;
}
.yt-textarea {
  width: 100%;
  resize: vertical;
}
.yt-felder .yt-input:not(.yt-num),
.yt-field > .yt-input,
.yt-select {
  width: 100%;
}
.yt-range {
  width: 100%;
  min-height: 44px;
  accent-color: var(--yellow, #ffd400);
  margin: 0;
}
.yt-check {
  width: 22px;
  height: 22px;
  margin: 11px;
  accent-color: var(--yellow, #ffd400);
}
.yt-hint,
.yt-note {
  color: var(--muted, #555);
  font-size: 0.9em;
  margin: 0;
}
.yt-error {
  color: #b00020;
  font-size: 0.9em;
  margin: 0;
}
[aria-invalid="true"] {
  border-color: #b00020;
}

/* Chips & Buttons — Trefferflächen ≥ 44 px */
.yt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.yt-chip,
.yt-btn,
.yt-treffer {
  min-height: 44px;
  min-width: 44px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--line, #ccc);
  background: var(--surface, #fff);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.2;
}
.yt-chip[aria-pressed="true"],
.yt-treffer[aria-pressed="true"] {
  background: var(--yellow, #ffd400);
  border-color: var(--yellow, #ffd400);
  color: #111;
}
.yt-chip__info {
  font-size: 0.8em;
  opacity: 0.75;
}
.yt-btn {
  flex-direction: row;
  gap: 0.4rem;
  border-radius: 10px;
}
.yt-btn--primary {
  background: var(--yellow, #ffd400);
  border-color: var(--yellow, #ffd400);
  color: #111;
  font-weight: 600;
}
.yt-btn--klein {
  min-height: 44px;
  padding: 0.25rem 0.75rem;
  font-size: 0.9em;
}
.yt-btn[disabled],
.yt-btn[aria-disabled="true"],
.yt-treffer[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.yt-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.yt-nav [data-weiter] {
  margin-left: auto;
}

/* Fokus */
.yt-tool :focus-visible {
  outline: 3px solid var(--yellow, #ffd400);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink, #111);
}
.yt-tool [tabindex="-1"]:focus {
  outline: none;
}

/* Schritte & Fortschritt */
.yt-progress {
  height: 6px;
  background: var(--line, #ddd);
  border-radius: 999px;
  overflow: hidden;
}
.yt-progress__balken {
  display: block;
  height: 100%;
  width: 0;
  background: var(--yellow, #ffd400);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.yt-schritte {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  color: var(--muted, #666);
  font-size: 0.85em;
}
.yt-schritte .is-active {
  color: var(--ink, #111);
  font-weight: 600;
}
.yt-step.is-active {
  animation: yt-ein 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes yt-ein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Ergebnis, Kennzahlen */
.yt-result {
  display: grid;
  gap: 1rem;
}
.yt-zeilen {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.yt-zeilen > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line, #eee);
  padding-bottom: 0.4rem;
}
.yt-zeilen dd {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
.yt-kennzahl p {
  margin: 0;
}
.yt-kennzahl__wert {
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1.05;
  font-weight: 700;
}
.yt-annahmen summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Finder-Karten */
.yt-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .yt-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.yt-card {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  border: 1px solid var(--line, #ddd);
  border-radius: 14px;
  padding: 1rem;
  background: var(--surface, #fff);
  min-width: 0;
}
.yt-card img,
.yt-auswahl img,
.yt-tabelle img {
  width: 100%;
  height: auto;
  display: block;
}
.yt-card p,
.yt-card h4 {
  margin: 0;
}
.yt-card__uvp {
  color: var(--muted, #777);
}
.yt-card__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Größen */
.yt-groessen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.yt-chip--groesse.is-fehlt {
  opacity: 0.4;
  text-decoration: line-through;
}
.yt-chip--groesse.is-passend.is-verfuegbar {
  background: var(--yellow, #ffd400);
  color: #111;
}

/* Reichweiten-Karte */
.yt-karte-wrap {
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}
.yt-karte {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}
.yt-karte__ring {
  stroke: var(--line, #ccc);
  stroke-dasharray: 2 3;
  stroke-width: 0.5;
}
.yt-karte__ringtext,
.yt-karte__nord {
  fill: var(--muted, #888);
  font-size: 4.5px;
}
.yt-karte__kreis {
  fill: var(--yellow, #ffd400);
  fill-opacity: 0.18;
  stroke: var(--yellow, #ffd400);
  stroke-width: 1;
  transition: r 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.yt-karte__einfach {
  fill: none;
  stroke: var(--yellow, #ffd400);
  stroke-opacity: 0.6;
  stroke-dasharray: 3 3;
  stroke-width: 0.8;
  transition: r 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.yt-karte__puls {
  fill: none;
  stroke: var(--yellow, #ffd400);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: yt-puls 2.4s ease-out infinite;
  transition: r 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes yt-puls {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.12);
  }
}
.yt-ort__punkt {
  fill: var(--muted, #888);
  transition: fill 0.3s;
}
.yt-ort__name {
  fill: var(--muted, #888);
}
.yt-ort.is-einfach .yt-ort__punkt {
  fill: var(--yellow, #ffd400);
  fill-opacity: 0.55;
}
.yt-ort.is-hin-zurueck .yt-ort__punkt,
.yt-ort--start .yt-ort__punkt {
  fill: var(--yellow, #ffd400);
}
.yt-ort.is-hin-zurueck .yt-ort__name,
.yt-ort--start .yt-ort__name {
  fill: var(--ink, #111);
  font-weight: 600;
}

/* Vergleich */
.yt-vergleich__kopf {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.yt-tabelle-wrap {
  overflow-x: auto;
  max-width: 100%;
  contain: inline-size;
}
.yt-tabelle {
  width: 100%;
  border-collapse: collapse;
  min-width: calc(7rem + var(--yt-spalten, 3) * 8rem);
}
.yt-tabelle th,
.yt-tabelle td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--line, #eee);
  text-align: left;
  vertical-align: top;
}
.yt-tabelle__rad {
  display: table-cell;
}
.yt-tabelle__rad > * {
  display: block;
  margin-bottom: 0.35rem;
}

/* Probefahrt */
.yt-auswahl,
.yt-trefferliste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.yt-auswahl__rad {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  align-items: center;
}
.yt-auswahl__rad img {
  grid-row: span 2;
}
.yt-treffer {
  width: 100%;
  border-radius: 10px;
  align-items: flex-start;
  text-align: left;
}
.yt-treffer__meta {
  font-size: 0.85em;
  color: var(--muted, #666);
}
.yt-treffer[aria-pressed="true"] .yt-treffer__meta {
  color: #111;
}
.yt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.yt-erfolg {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}
.yt-erfolg:focus {
  outline: none;
}
.yt-erfolg__yes {
  font-size: clamp(3.5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
}
.yt-erfolg__aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .yt-tool *,
  .yt-tool *::before,
  .yt-tool *::after {
    animation: none !important;
    transition: none !important;
  }
}
.yt-legende span::before { content: ""; display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: .35em; vertical-align: -.05em; }
.yt-legende__hz::before { background: var(--yellow, #ffd400); }
.yt-legende__ef::before { border: 2px dashed var(--yellow, #ffd400); }

/* === YES-Theming === */
/* Werkzeuge im YES-Look: Basis-Layout aus tools-basis.css, hier nur das Theming. */
.tool-host {
  min-width: 0;
}
.yt-tool {
  font-size: 16px;
}
.yt-tool h3,
.yt-tool h4,
.yt-step__titel {
  font-family: var(--f-display);
  font-stretch: 108%;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.yt-step__titel {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  margin: 0 0 22px;
}
.yt-num {
  font-family: var(--f-mono);
  letter-spacing: -0.02em;
}

/* Eingaben */
.yt-input,
.yt-select,
.yt-textarea {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 16px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.paper .yt-input,
.paper .yt-select,
.paper .yt-textarea {
  background: #fff;
}
.yt-input:focus,
.yt-select:focus,
.yt-textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--yellow) 20%, transparent);
}
.paper .yt-input:focus,
.paper .yt-select:focus {
  border-color: var(--paper-ink);
  box-shadow: 0 0 0 4px rgba(19, 20, 15, 0.1);
}
.yt-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a3a093' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.yt-field > label,
.yt-field > span:first-child,
.yt-field legend {
  font-size: 14px;
  font-weight: 600;
}
.yt-range {
  accent-color: var(--yellow);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 32px;
}
.yt-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.yt-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  border: 5px solid var(--yellow);
  margin-top: -10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.yt-range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.yt-range::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--yellow);
}
.yt-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 5px solid var(--yellow);
}
.paper .yt-range::-webkit-slider-thumb {
  background: var(--paper);
  border-color: var(--paper-ink);
}
.paper .yt-range::-moz-range-progress {
  background: var(--paper-ink);
}
.yt-check {
  accent-color: var(--yellow);
}
.paper .yt-check {
  accent-color: var(--paper-ink);
}

/* Chips & Knöpfe */
.yt-chip,
.yt-treffer {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.yt-chip:hover,
.yt-treffer:hover {
  border-color: var(--ink);
}
.yt-chip:active {
  transform: scale(0.97);
}
.yt-chip[aria-pressed="true"],
.yt-treffer[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--yellow-ink);
  border-color: var(--yellow);
}
.paper .yt-chip[aria-pressed="true"] {
  background: var(--paper-ink);
  color: var(--paper);
  border-color: var(--paper-ink);
}
.yt-chip__info {
  font: 500 12px/1.3 var(--f-mono);
  opacity: 0.7;
}
.yt-btn {
  border-radius: 999px;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 650;
  border: 1px solid var(--line);
  background: transparent;
  flex-direction: row;
  gap: 10px;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.yt-btn:hover {
  border-color: var(--ink);
}
.yt-btn--primary {
  background: var(--yellow);
  color: var(--yellow-ink);
  border-color: var(--yellow);
}
.yt-btn--primary:hover {
  background: var(--yellow-2);
  border-color: var(--yellow-2);
}
.paper .yt-btn--primary {
  background: var(--paper-ink);
  color: var(--paper);
  border-color: var(--paper-ink);
}
.yt-btn--klein {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14.5px;
}

/* Fortschritt */
.yt-progress {
  margin-bottom: 26px;
}
.yt-progress__balken {
  background: var(--yellow);
  border-radius: 4px;
  transition: width 0.6s var(--ease);
}
.yt-progress__text {
  font: 600 12px/1 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.yt-schritte .is-active {
  color: var(--yellow);
}

/* Ergebnis-Kennzahlen (Leasing) */
.yt-result {
  border-radius: var(--r-m);
}
.yt-kennzahl__wert {
  font-family: var(--f-mono);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.yt-kennzahl--ersparnis .yt-kennzahl__wert {
  color: var(--yellow);
}
.paper .yt-kennzahl--ersparnis .yt-kennzahl__wert {
  color: var(--paper-ink);
  background: linear-gradient(
    transparent 62%,
    color-mix(in oklab, var(--yellow) 70%, transparent) 62%
  );
  padding: 0 4px;
}
.yt-zeilen > div {
  border-color: var(--line);
}
.yt-annahmen summary {
  color: var(--muted);
  font-size: 14px;
}
.yt-note {
  color: var(--muted);
}

/* Ergebnis-Karten (Finder) */
.yt-card {
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.yt-card:hover {
  border-color: color-mix(in oklab, var(--yellow) 55%, transparent);
  transform: translateY(-3px);
}
.yt-card img {
  aspect-ratio: 16/11;
  object-fit: contain;
  padding: 4%;
}
.yt-card h4 {
  font-size: 18px;
  line-height: 1.15;
}
.yt-card__uvp {
  text-decoration: line-through;
  color: var(--muted);
  font-family: var(--f-mono);
}
.yt-card.is-ohne-bild img {
  display: none;
}

/* Reichweiten-Karte */
.yt-karte-wrap {
  border-radius: var(--r-l);
  background: radial-gradient(
    70% 70% at 50% 50%,
    var(--surface-2),
    var(--bg) 80%
  );
  border: 1px solid var(--line);
}
.yt-karte__kreis {
  fill: color-mix(in oklab, var(--yellow) 12%, transparent);
  stroke: var(--yellow);
}
.yt-karte__ring {
  stroke: var(--line);
}
.yt-ort__name {
  font-family: var(--f-text);
  fill: var(--muted);
}
.yt-ort.is-hin-zurueck .yt-ort__name,
.yt-ort--start .yt-ort__name {
  fill: var(--ink);
  font-weight: 650;
}

/* Vergleich / Tabellen */
.yt-tabelle th,
.yt-tabelle td {
  border-color: var(--line);
}
.yt-tabelle th {
  font: 600 11px/1.2 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Probefahrt-Auswahl */
.yt-auswahl__rad {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.yt-treffer {
  border-radius: 14px;
  text-align: left;
  align-items: stretch;
}
.yt-treffer__meta {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}
.yt-erfolg__yes {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--yellow);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.85;
}
.yt-error {
  color: #ff8a7a;
}
.paper .yt-error {
  color: #b00020;
}

/* ---------- Seitenteile, die zu den Werkzeugen gehören ---------- */
.probe {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.probe__info {
  display: grid;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.kontaktkarte {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 26px;
  background: var(--surface);
  display: grid;
  gap: 12px;
}
.kontaktkarte p {
  margin: 0;
  color: var(--muted);
}
.kontaktkarte .gross {
  font: 800 clamp(30px, 3vw, 42px)/1 var(--f-display);
  font-stretch: 115%;
  letter-spacing: -0.03em;
}
.kontaktkarte .gross:hover {
  color: var(--yellow);
}
@media (max-width: 960px) {
  .probe {
    grid-template-columns: 1fr;
  }
  .probe__info {
    position: static;
  }
}

.haken {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.haken li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-weight: 550;
}
.haken li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5.5-6' fill='none' stroke='%23141405' stroke-width='2'/%3E%3C/svg%3E")
    center/12px no-repeat;
  transform: translateY(3px);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner-grid > div {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font: 750 clamp(17px, 1.5vw, 21px)/1.15 var(--f-display);
  font-stretch: 110%;
  letter-spacing: -0.015em;
  transition: background 0.3s;
}
.partner-grid > div:hover {
  background: var(--paper-2);
}
.partner-grid .frei {
  font: 500 14px/1.5 var(--f-text);
  color: var(--muted);
}

.verf {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.verf li {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 550;
}
.det__buehne.foto > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.det__buehne.foto::before,
.det__buehne.foto .det__lichtband {
  display: none;
}

/* Vergleich-Tabelle (Bestand) */
.vgl-tab {
  display: grid;
  grid-template-columns: 140px repeat(var(--n), minmax(180px, 1fr));
  overflow-x: auto;
}
.vgl-tab > div {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
.vgl-kopf {
  display: grid;
  gap: 6px;
  align-content: start;
}
.vgl-kopf img {
  aspect-ratio: 16/11;
  object-fit: contain;
  background: var(--surface);
  border-radius: 12px;
}
.vgl-t {
  font: 600 11px/1.3 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.vgl-z {
  font-weight: 550;
}
@media (max-width: 640px) {
  .vgl-tab {
    grid-template-columns: 96px repeat(var(--n), minmax(150px, 1fr));
  }
}

/* Feinschliff nach Sichtprüfung 1 */
.yt-range-row { grid-template-columns: minmax(0, 1fr) auto !important; }
.yt-range-row > .yt-range { width: 100%; min-width: 120px; }
.yt-input-wrap { flex: none; }
.yt-input-wrap .yt-input { width: 9ch !important; min-width: 0; padding: 10px 12px; text-align: right; }
.yt-kennzahl__wert { font-size: clamp(34px, 3.2vw, 50px); line-height: 1; letter-spacing: -0.045em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.yt-kennzahl__prozent { font-size: .55em; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--yellow-ink); letter-spacing: -0.02em; }
.paper .yt-kennzahl--ersparnis .yt-kennzahl__wert { background: none; padding: 0; }
.paper .yt-kennzahl__prozent { background: var(--yellow); color: var(--yellow-ink); }
#reichweite-tool .yt-kennzahl__wert, #reichweite-tool .yt-result .yt-num { white-space: nowrap; }
/* Kontrast: nicht verfügbare Größen bleiben lesbar (gestrichen + gedämpft statt 40 % Deckkraft) */
.yt-chip--groesse.is-fehlt { opacity: 1; color: var(--muted); border-style: dashed; }
.yt-titel.d-s { font-size: 19px; margin: 0 0 12px; }
.yt-karte__ringtext, .yt-karte__nord { font-size: 5.5px; }
#reichweite-tool [data-k="spanne"], #reichweite-tool .yt-kennzahl__wert { font-family: var(--f-display); font-stretch: 112%; letter-spacing: -0.035em; }
/* Finder-Ergebnis: Bild links, Inhalt rechts */
#finder-tool .yt-card { grid-template-columns: 150px minmax(0, 1fr) !important; grid-auto-flow: row; }
#finder-tool .yt-card > img { grid-column: 1; grid-row: 1 / span 8; align-self: center; }
#finder-tool .yt-card > *:not(img) { grid-column: 2; }
#finder-tool .yt-card h4 { font-size: 17px; margin: 2px 0; }
@media (max-width: 520px) { #finder-tool .yt-card { grid-template-columns: 104px minmax(0, 1fr) !important; } }
#finder-tool .yt-card > img { grid-row: auto; }
#finder-tool .yt-card > .yt-card__bild { grid-column: 1; grid-row: 1 / span 8; align-self: center; }
#finder-tool .yt-card > .yt-card__bild img { width: 100%; padding: 0; }
#finder-tool .yt-card > *:not(.yt-card__bild) { grid-column: 2; }
