/* Einrichtungs-Assistent (7.11.2026 Planer, 8.11.2026 geführt Schritt für Schritt), Seite /de/hilfe/einrichtung.html bzw. /help/setup.html.
   Tokens aus basis.css. Aufbau: Wegleiste (.pl-weg) + eine Frage (.pl-frage) bzw. das Ergebnis (.pl-ergebnis). */
.planer { margin-top: 8px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }

/* Wegleiste: Schritte mit Antworten, antippen = zurückspringen */
.pl-weg { position: sticky; top: 84px; padding: 16px 12px; border: 1px solid var(--linie); border-radius: var(--r-l); background: var(--panel); }
.pl-weg-balken { --anteil: 0; position: relative; height: 4px; margin: 0 6px 12px; border-radius: 4px; background: var(--linie); overflow: hidden; }
.pl-weg-balken::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--anteil) * 100%); background: var(--bernstein); transition: width .35s var(--aus); }
.pl-weg ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pl-weg button { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: var(--r-m);
  background: transparent; color: var(--gedaempft); text-align: left; font: inherit; cursor: pointer; }
.pl-weg button:hover:not(:disabled) { background: var(--panel-2); color: var(--text); }
.pl-weg button:disabled { cursor: default; opacity: .5; }
.pl-weg-nr { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--linie-2); font: 650 13px/1 var(--mono); }
.pl-weg-nr .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.pl-weg-text { min-width: 0; display: grid; }
.pl-weg-text b { font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.pl-weg-text small { font-size: 12.5px; line-height: 1.3; color: var(--gedaempft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-weg .fertig .pl-weg-nr { background: var(--ok-grund); border-color: var(--ok-rand); color: var(--gruen); }
.pl-weg .fertig b { color: var(--text); }
.pl-weg .jetzt button { background: #2a2110; color: var(--text); }
.pl-weg .jetzt .pl-weg-nr { background: var(--bernstein); border-color: var(--bernstein); color: var(--tinte); }

/* Eine Frage je Bildschirm */
.pl-frage { margin: 0; padding: 26px 26px 22px; border: 1px solid var(--linie); border-radius: var(--r-l); background: var(--panel); min-width: 0; animation: pl-rein .28s var(--aus); }
@keyframes pl-rein { from { opacity: 0; transform: translateY(8px); } }
.pl-zaehler { margin: 0 0 6px; font: 650 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bernstein); }
.pl-frage-titel { margin: 0 0 6px; font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--plakat); letter-spacing: -.015em; outline: none; }
.pl-tipp { color: var(--gedaempft); margin: 0 0 18px; font-size: 15.5px; max-width: 70ch; }
.pl-gruppe-wahl + .pl-gruppe-wahl { margin-top: 18px; }
.pl-gruppe-wahl h3 { margin: 0 0 10px; font: 700 12.5px/1 var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--gedaempft); }
.pl-wahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pl-wahlen.drei { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pl-wahlen.geraete { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pl-wahl { position: relative; display: block; cursor: pointer; }
.pl-wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pl-wahl-k { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; align-items: center; align-content: center; min-height: 72px; height: 100%; padding: 14px 16px;
  border: 1px solid var(--linie-2); border-radius: var(--r-m); background: var(--panel-2); transition: border-color .15s, background .15s, transform .15s; }
.pl-wahl-ico { grid-row: span 3; color: var(--gedaempft); width: 24px; height: 24px; }
.pl-wahl-k b { font-weight: 650; font-size: 16px; line-height: 1.25; }
.pl-wahl-k small { grid-column: 2; color: var(--gedaempft); font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.pl-wahl-k .pl-wahl-tipp { color: var(--gruen); }
.pl-wahl.mit-bild .pl-wahl-k { grid-template-columns: 1fr; align-content: start; padding: 10px 12px 12px; }
.pl-wahl.ohne-ico .pl-wahl-k { grid-template-columns: 1fr; }
.pl-wahl.ohne-ico .pl-wahl-k small { grid-column: 1; }
.pl-wahl.mit-bild .pl-wahl-k small { grid-column: 1; }
.pl-wahl-bild { display: grid; place-items: center; height: 92px; margin-bottom: 8px; border-radius: 8px; background: radial-gradient(70% 90% at 50% 40%, #232731, #12141a); }
.pl-wahl-bild img { max-width: 92%; max-height: 82px; filter: drop-shadow(0 6px 10px #0009); }
.pl-wahl:hover .pl-wahl-k { border-color: var(--linie-hover); }
.pl-wahl input:checked + .pl-wahl-k { border-color: var(--bernstein); background: #2a2110; box-shadow: inset 0 0 0 1px var(--bernstein); }
.pl-wahl input:checked + .pl-wahl-k .pl-wahl-ico { color: var(--bernstein); }
.pl-wahl input:focus-visible + .pl-wahl-k { outline: 2px solid var(--bernstein); outline-offset: 2px; }
.pl-wahl input:checked + .pl-wahl-k::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bernstein) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1205' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pl-extra { margin-top: 14px; }
.pl-schalter { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: var(--r-btn); border: 1px dashed var(--linie-2); cursor: pointer; font-size: 15px; }
.pl-schalter input { width: 20px; height: 20px; accent-color: var(--bernstein); }
.pl-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--linie); }
.pl-nav .knopf { min-height: 52px; }
.pl-nav .knopf .ico { width: 18px; height: 18px; }
.pl-nav .knopf:disabled { opacity: .4; cursor: not-allowed; filter: grayscale(1); }

/* Ergebnis (.planer davor: sonst gewinnt .unterseite section { padding: 40px 0 0 } aus seiten.css) */
.planer .pl-ergebnis { margin-top: 0; padding: 24px; min-width: 0; animation: pl-rein .28s var(--aus); border: 1px solid var(--linie-2); border-radius: var(--r-l);
  background: radial-gradient(90% 120% at 100% 0%, #1d1608 0%, transparent 60%), var(--panel); }
.pl-leer { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gedaempft); font-size: 17px; }
.pl-leer .ico { transform: rotate(-90deg); color: var(--bernstein); }
.pl-ergebnis h2, .pl-ergebnis .pl-frage-titel { font: 700 clamp(21px, 1.9vw, 27px)/1.15 var(--plakat); letter-spacing: -.02em; margin: 0 0 14px; }
.unterseite .pl-ergebnis section { padding: 0; }
.pl-kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 20px; align-items: flex-start; margin-bottom: 18px; }
.pl-kopfzeile h2 { margin: 0 0 4px; }
.pl-auswahl { margin: 0; color: var(--gedaempft); font-size: 14.5px; }
.pl-aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-aktionen .knopf { min-height: 44px; }
.pl-aktionen .ico { width: 18px; height: 18px; }

/* Aufbau-Bild */
.pl-aufbau { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-m); background: var(--nacht); border: 1px solid var(--linie); }
.pl-zeile.neben { padding-top: 12px; border-top: 1px dashed var(--linie); }
.pl-zeile.neben .pl-knoten:not(.klein) { flex: 0 1 300px; }
.pl-zeile.neben .pl-fluss { justify-content: flex-start; }
.pl-phase { margin: 0 0 10px; font: 700 12.5px/1 var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--bernstein); }
.pl-fluss { display: flex; align-items: stretch; gap: 0; }
.pl-knoten { flex: 1 1 0; min-width: 0; display: grid; align-content: start; justify-items: start; gap: 4px; padding: 14px; border-radius: var(--r-m);
  border: 1px solid var(--linie-2); background: var(--panel-2); }
.pl-knoten.haupt { flex-grow: 1.5; border-color: var(--loop-rand); background: #19150c; }
.pl-knoten.klein { flex: 0 0 auto; padding: 10px 14px; align-content: center; }
.pl-knoten.gestrichelt { border-style: dashed; background: transparent; }
.pl-knoten-ico { width: 26px; height: 26px; color: var(--bernstein); }
.pl-knoten.gestrichelt .pl-knoten-ico { color: var(--leise); }
.pl-knoten b { font-size: 15.5px; line-height: 1.25; }
.pl-knoten small { color: var(--gedaempft); font-size: 13px; line-height: 1.35; }
.pl-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.pl-chips li { padding: 4px 8px; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--linie-2); font-size: 12.5px; line-height: 1.2; }
.pl-kante { flex: 0 0 92px; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 0 4px; text-align: center; }
.pl-kante-linie { position: relative; display: grid; place-items: center; width: 100%; height: 22px; }
.pl-kante-linie::before { content: ""; position: absolute; left: 4px; right: 12px; top: 50%; border-top: 2px solid var(--bernstein); }
.pl-kante-linie .ico { position: relative; margin-left: auto; width: 18px; height: 18px; color: var(--bernstein); stroke-width: 2.2; }
.pl-kante.gestrichelt .pl-kante-linie::before { border-top-style: dashed; border-color: var(--leise); }
.pl-kante.gestrichelt .ico { color: var(--leise); }
.pl-kante small { color: var(--gedaempft); font-size: 12px; line-height: 1.3; }

/* Hinweise + Bedarf */
.pl-zwei { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 26px; }
.pl-hinweise, .pl-bedarf { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-hinweise li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--r-m); border: 1px solid var(--linie); background: var(--panel-2); }
.pl-hinweise li .ico { width: 22px; height: 22px; margin-top: 1px; }
.pl-hinweise li b { display: block; font-weight: 650; }
.pl-hinweise li span { color: var(--gedaempft); font-size: 14.5px; }
.pl-hinweise li a { font-size: 14.5px; white-space: nowrap; }
.pl-hinweise .warn { border-color: #6b4d12; background: #221a08; }
.pl-hinweise .warn .ico { color: var(--bernstein); }
.pl-hinweise .ok { border-color: var(--ok-rand); background: var(--ok-grund); }
.pl-hinweise .ok .ico { color: var(--gruen); }
.pl-hinweise .info .ico { color: var(--cyan); }
.pl-bedarf li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.pl-bedarf .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--gruen); }

/* Dein Pult in 3D */
.pl-3d { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; padding: 14px 16px;
  border-radius: var(--r-m); border: 1px solid var(--loop-rand); background: linear-gradient(100deg, #1d1608, #12141a 70%); }
.pl-3d > div { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1 1 320px; }
.pl-3d > div > .ico { width: 30px; height: 30px; color: var(--bernstein); flex: none; }
.pl-3d b { display: block; font-weight: 650; }
.pl-3d small { display: block; color: var(--gedaempft); font-size: 14px; }
.pl-3d .knopf { min-height: 48px; }
.pl-3d .knopf .ico { width: 18px; height: 18px; }

/* Artikel-Karten (Das brauchst du) */
.pl-brauchst { margin-top: 26px; }
.pl-summe { margin: 0 0 14px; color: var(--gedaempft); font-size: 15px; }
.pl-summe b { color: var(--text); }
.pl-artikel-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 10px; align-items: start; }
.pl-artikel { border: 1px solid var(--linie-2); border-radius: var(--r-m); background: var(--panel-2); transition: opacity .2s, border-color .2s; }
.pl-artikel.hab { opacity: .62; }
.pl-artikel.hab .pl-art-preis { text-decoration: line-through; }
.pl-art-kopf { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px 6px; }
.pl-art-bild { display: grid; place-items: center; width: 64px; height: 48px; border-radius: 8px; background: radial-gradient(80% 90% at 50% 40%, #232731, #12141a); }
.pl-art-foto { max-width: 58px; max-height: 42px; }
.pl-art-ico { width: 26px; height: 26px; color: var(--bernstein); }
.pl-art-text { min-width: 0; display: grid; }
.pl-art-text b { font-weight: 650; font-size: 15.5px; line-height: 1.25; }
.pl-art-text small { color: var(--gedaempft); font-size: 13.5px; line-height: 1.35; }
.pl-art-text .pl-art-warum { font: 650 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bernstein); margin-bottom: 2px; }
.pl-art-preis { font: 650 15px/1 var(--mono); white-space: nowrap; }
.pl-art-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 0 14px 10px 90px; }
.pl-hab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; cursor: pointer; color: var(--gedaempft); }
.pl-hab input { width: 20px; height: 20px; accent-color: var(--gruen); }
.knopf.klein { min-height: 40px; padding: 0 12px; font-size: 14px; gap: 6px; }
.knopf.klein .ico { width: 16px; height: 16px; }
.pl-art-info { padding: 4px 14px 14px 90px; display: grid; gap: 10px; }
.pl-art-info[hidden] { display: none; }
.pl-art-punkte { margin: 0; padding-left: 18px; color: var(--text); font-size: 14.5px; line-height: 1.5; display: grid; gap: 3px; }
.pl-art-daten { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
.pl-art-daten dt { font-size: 12px; color: var(--gedaempft); }
.pl-art-daten dd { margin: 0; font-size: 14px; }
.pl-shops { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pl-shops-titel { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-size: 13.5px; color: var(--gedaempft); }
.pl-shops-titel .ico { width: 16px; height: 16px; }
.pl-shops .knopf { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.pl-shops .pl-werbelink { margin-left: 6px; font-size: 11.5px; font-weight: 500; color: var(--gedaempft); }
.pl-art-fuss { margin: 0; font-size: 12.5px; color: var(--leise); }
.pl-unter { margin: 4px 0 10px; font: 700 13px/1 var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--gedaempft); }

/* Schritte */
.pl-schritte-block { margin-top: 30px; }
.pl-schritte-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 18px; }
.pl-fortschritt { --anteil: 0; position: relative; margin: 0 0 14px; padding-bottom: 8px; color: var(--gedaempft); font-size: 14px; min-width: 180px; }
.pl-fortschritt::before, .pl-fortschritt::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 4px; }
.pl-fortschritt::before { right: 0; background: var(--linie); }
.pl-fortschritt::after { width: calc(var(--anteil) * 100%); background: var(--gruen); transition: width .3s var(--aus); }
.pl-gruppen { list-style: none; margin: 0; padding: 0; counter-reset: pl; display: grid; gap: 22px; }
.pl-gruppe h3 { margin: 0 0 8px; font: 700 13px/1 var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--bernstein); }
.pl-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-schritte li { counter-increment: pl; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border-radius: var(--r-m); background: var(--panel-2); border: 1px solid var(--linie); }
.pl-haken { flex: 1 1 360px; display: grid; grid-template-columns: 34px 24px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.pl-haken::before { content: counter(pl); font: 600 20px/1.2 var(--mono); color: var(--bernstein); text-align: right; }
.pl-haken input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gruen); cursor: pointer; }
.pl-haken b { display: block; font-weight: 650; }
.pl-haken small { display: block; color: var(--gedaempft); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.pl-haken code { font: 500 13px/1 var(--mono); padding: 2px 5px; border-radius: 5px; background: var(--panel-3); }
.pl-haken:has(input:checked) b { color: var(--gedaempft); text-decoration: line-through; text-decoration-color: var(--leise); }
.pl-anleitung { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-left: auto; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pl-anleitung .ico { width: 16px; height: 16px; }
.pl-anleitung:hover { text-decoration: underline; }

/* Unter dem Planer: Text für Suchmaschinen und Leser */
.pl-wissen { margin-top: 12px; }
.pl-wissen .artikel-liste { max-width: 72ch; }

@media (max-width: 980px) {
  .planer { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pl-weg { position: static; padding: 10px; min-width: 0; }
  .pl-weg ol { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .pl-weg li { flex: none; }
  .pl-weg button { grid-template-columns: 28px auto; min-height: 44px; }
  .pl-weg-text small { display: none; }
  .pl-weg li:not(.jetzt) .pl-weg-text { display: none; }
  .pl-weg button { grid-template-columns: 28px; }
  .pl-weg .jetzt button { grid-template-columns: 28px auto; }
  .pl-fluss { flex-direction: column; }
  .pl-knoten, .pl-knoten.klein, .pl-zeile.neben .pl-knoten:not(.klein) { flex: none; }
  .pl-kante { flex: none; grid-template-columns: 40px auto; justify-content: start; justify-items: start; padding: 6px 0 6px 6px; text-align: left; }
  .pl-kante-linie { width: 22px; height: 30px; }
  .pl-kante-linie::before { left: 50%; right: auto; top: 2px; bottom: 10px; border-top: 0; border-left: 2px solid var(--bernstein); }
  .pl-kante.gestrichelt .pl-kante-linie::before { border-left-style: dashed; border-color: var(--leise); }
  .pl-kante-linie .ico { margin: auto 0 0; transform: rotate(90deg); }
  .pl-zwei { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pl-frage { padding: 18px 14px 16px; }
  .pl-wahlen.geraete { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pl-wahl-bild { height: 70px; }
  .pl-wahl-bild img { max-height: 62px; }
  .pl-nav { position: sticky; bottom: 0; margin: 18px -14px -16px; padding: 12px 14px; background: var(--panel); border-radius: 0 0 var(--r-l) var(--r-l); }
  .pl-nav .knopf.haupt { flex: 1; justify-content: center; }
  .pl-art-kopf { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 10px 12px 4px; }
  .pl-art-bild { width: 52px; height: 40px; }
  .pl-art-leiste, .pl-art-info { padding-left: 12px; padding-right: 12px; }
  .planer .pl-ergebnis { padding: 16px 14px; }
  .pl-aufbau { padding: 12px; }
  .pl-wahlen, .pl-wahlen.drei { grid-template-columns: 1fr; }
  .pl-haken { grid-template-columns: 26px 22px 1fr; flex-basis: 100%; }
  .pl-anleitung { margin-left: 58px; min-height: 32px; }
}

@media print {
  .kopf, .krumen, .testen, .fuss, .pl-weg, .pl-frage, .pl-aktionen, .pl-3d, .pl-art-leiste, .pl-wissen, .seiten-kopf .lead { display: none !important; }
  .planer { display: block; }
  .pl-art-info[hidden] { display: grid !important; }
  body { background: #fff; color: #000; }
  .pl-ergebnis, .pl-aufbau, .pl-knoten, .pl-hinweise li, .pl-schritte li { background: #fff !important; color: #000; border-color: #999 !important; box-shadow: none; }
  .planer .pl-ergebnis { margin: 0; padding: 0; border: 0; }
  .pl-knoten small, .pl-kante small, .pl-hinweise li span, .pl-haken small, .pl-auswahl { color: #333 !important; }
  .pl-anleitung .ico { display: none; }
  .pl-artikel-liste { grid-template-columns: 1fr; }
  .pl-shops .knopf { display: none; }
  .pl-anleitung::after { content: " " attr(href); font-weight: 400; font-size: 11px; color: #555; }
  .pl-schritte li, .pl-hinweise li, .pl-knoten { break-inside: avoid; }
}
