/* BV-2611c P-pc: Paketdatei (Ownership siehe REGELN-2611c.md). */

/* PC8: Icons der Hero-Liste 24 -> 32 px (+33 %), Spalte waechst mit, Icon mittig zur fetten Zeile. */
.pc-page .pc-sales-facts li {
  grid-template-columns: 40px minmax(0, 1fr);
}

.pc-page .pc-sales-facts .icon {
  width: 32px;
  height: 32px;
  margin-top: -2px;
}

/* PC9: Ablaufweg. Jede Karte ausser der letzten zieht ein Segment von ihrem Marker zum naechsten Marker
   (Abstand = Kartenbreite bzw. -hoehe plus Lueckenbreite), dadurch beginnt die Linie exakt im ersten und endet exakt im letzten Marker. */
.pc-page .pc-process ol {
  --pc-step-gap: 24px;
  gap: var(--pc-step-gap);
}

.pc-page .pc-process li > span {
  z-index: 2;
}

.pc-page .pc-process li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: calc(32px + 28px - 1.5px);
  left: 50%;
  width: calc(100% + 2px + var(--pc-step-gap));
  height: 3px;
  background: rgba(0, 183, 244, .45);
  content: '';
  pointer-events: none;
}

@media (max-width: 760px) {
  .pc-page .pc-process ol {
    --pc-step-gap: 16px;
  }

  .pc-page .pc-process li:not(:last-child)::after {
    top: calc(24px + 24px);
    left: calc(20px + 24px - 1.5px);
    width: 3px;
    height: calc(100% + 2px + var(--pc-step-gap));
  }
}

/* Bewusst ohne Zeichen-Animation: eine Scroll-Timeline (animation-timeline: view()) zeigte in Ganzseiten-Aufnahmen bei 390 keine Linie,
   das Risiko einer unsichtbaren Linie bei Pruefern und aelteren Browsern ist groesser als der Gewinn. Linie steht statisch, auch bei Reduced Motion. */

/* PC10: ruhiger Hover ohne Unterstrich. Marker bekommt Kontur und Hintergrundton (ohne Vergroesserung, bleibt auf der Linie),
   das Label liegt auf einer weissen Pille. Tastatur-Fokus zeigt dieselbe Pille zusaetzlich zum bestehenden Fokusrahmen. */
.pc-page .pc-parts-tabs button > strong {
  border-radius: 999px;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.pc-page .pc-parts-tabs button:focus-visible > strong {
  background: #fff;
  box-shadow: 0 0 0 6px #fff;
}

@media (hover: hover) and (pointer: fine) {
  .pc-page .pc-parts-tabs button:hover > span {
    transform: none;
    box-shadow: 0 0 0 5px rgba(0, 183, 244, .14), 0 8px 20px rgba(10, 31, 45, .1);
  }

  .pc-page .pc-parts-tabs button:hover > strong {
    background: #fff;
    box-shadow: 0 0 0 6px #fff;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-page .pc-parts-tabs button > strong {
    transition: none;
  }
}

/* PC11: Bild kleiner, Text vertikal mittig zum Bild, Bildhoehe etwa Texthoehe. */
@media (min-width: 901px) {
  .pc-page .pc-about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
  }

  .pc-page .pc-about-grid > figure {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  /* PC11 R2: Die Textspalte trug unten noch clamp(24px, 4vw, 56px) Innenabstand (oben 0), dadurch sass der Text um die halbe Polsterung zu hoch. */
  .pc-page .pc-about-grid > .pc-about-copy {
    padding-bottom: 0;
  }
}

/* PC12: ruhige Fussnote statt Karte mit Seitenbalken. Kurze Haarlinie oben, kleinere Schrift, zentriert unter dem Formular. */
.pc-page .pc-check-tool-note {
  width: min(1180px, calc(100% - 40px));
  margin-top: 48px;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.pc-page .pc-check-tool-note p {
  position: relative;
  max-width: 68ch;
  margin-inline: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.pc-page .pc-check-tool-note p::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 1px;
  background: rgba(11, 13, 18, .22);
  content: '';
  transform: translateX(-50%);
}

/* GL8: FAQ-Ueberschrift dieser Seite ist laenger als die Systemspalte (7,6 H2-Breiten, dreizeilig).
   Nur hier Spalte auf 8,7 H2-Breiten und Breite nach Inhalt statt min-content, damit sie zweizeilig steht. */
@media (min-width: 900px) {
  html body .pc-page .pc-faq .wrap > .bv-faq-layout {
    grid-template-columns: calc(var(--bv-2511-h2) * 8.7) minmax(0, 1fr);
  }

  html body .pc-page .pc-faq .bv-faq-layout > .bv-faq-intro > h2 {
    width: auto;
  }
}
