/* Seite /app-installieren/: Anleitung fuer sehr unerfahrene Nutzer.
   Bewusst groessere Schrift, kraeftigere Strichstaerke und hoher Kontrast als auf dem Rest der Seite. */
.hs-page {
  max-width: 980px; margin-inline: auto; padding: var(--space-6) var(--gutter) var(--space-8);
  font-size: 1.25rem; font-weight: 400; line-height: 1.55; color: var(--ink);
}
.hs-page p { margin: 0 0 var(--space-4); }

/* ---------- Auswahl ---------- */
.hs-choose { margin-bottom: var(--space-6); }
.hs-choose__title { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem); margin: 0 0 var(--space-4); color: var(--ink); }
.hs-choose__buttons { display: grid; gap: var(--space-3); grid-template-columns: 1fr 1fr; }
.hs-choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 96px; padding: var(--space-3); text-align: center; text-decoration: none;
  background: var(--white); color: var(--navy-900); border: 3px solid var(--navy-900); border-radius: var(--radius);
  font-size: 1.4rem; font-weight: 800; line-height: 1.2; cursor: pointer;
}
.hs-choice small { font-size: 1rem; font-weight: 500; }
.hs-choice:hover { color: var(--navy-900); background: #e6edf3; }
.hs-choice[aria-pressed='true'], .hs-choice[aria-pressed='true']:hover { background: var(--navy-900); color: #fff; }

/* ---------- QR-Code (nur grosse Bildschirme) ---------- */
.hs-qr {
  display: none; gap: var(--space-5); align-items: center; margin-bottom: var(--space-6); padding: var(--space-5);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.hs-qr img { flex: none; width: 150px; height: 150px; }
.hs-qr p:last-child { margin: 0; }
.hs-qr__title { font-weight: 800; margin-bottom: var(--space-2) !important; }
@media (min-width: 900px) and (hover: hover) { .hs-qr { display: flex; } }

/* ---------- Schritte ---------- */
.hs-guide { scroll-margin-top: calc(var(--header-h) + 16px); margin-top: var(--space-7); }
.js .hs-guide[hidden] { display: none; }
.hs-guide__title { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem); margin: 0 0 var(--space-5); color: var(--ink); }
.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.hs-step {
  display: grid; gap: var(--space-5); padding: var(--space-5);
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.hs-step__num { display: flex; align-items: center; gap: .6rem; margin: 0 0 var(--space-3) !important; font-size: 1rem; font-weight: 700; color: var(--muted); }
.hs-step__num span {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none;
  background: var(--navy-900); color: #fff; border-radius: 50%; font-size: 1.35rem; font-weight: 800;
}
.hs-step__title { font-size: clamp(1.45rem, 1.3rem + .7vw, 1.8rem); line-height: 1.25; margin: 0 0 var(--space-4); color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.hs-step__text > p:last-child { margin-bottom: 0; }
.hs-step__figure { justify-self: center; width: 100%; max-width: 300px; }
.hs-open { width: 100%; font-size: 1.15rem; min-height: 64px; }

.hs-alt { padding: var(--space-4); background: var(--bg-alt); border-radius: var(--radius); font-size: 1.125rem; }
.hs-alt p:last-child { margin-bottom: 0; }
.hs-alt a { font-weight: 700; }
.hs-alt .hs-fig { max-width: 280px; margin: var(--space-3) auto 0; }

@media (min-width: 760px) {
  .hs-step { grid-template-columns: 1fr 300px; align-items: start; padding: var(--space-6); }
  .hs-step__figure { grid-column: 2; grid-row: 1 / span 2; }
  .hs-step .hs-alt { grid-column: 1; grid-row: 2; }
  .hs-open { width: auto; }
}

/* ---------- Bilder ---------- */
.hs-fig { width: 100%; height: auto; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.hs-tap__pulse { transform-box: fill-box; transform-origin: center; animation: hs-pulse 1.8s ease-out infinite; }
@keyframes hs-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hs-tap__pulse { animation: none; } }

/* ---------- Samsung ---------- */
.hs-samsung { scroll-margin-top: calc(var(--header-h) + 16px); margin-top: var(--space-5); padding: var(--space-4); background: #e6edf3; border-radius: var(--radius); }
.hs-samsung summary { min-height: 44px; font-weight: 800; cursor: pointer; }
.hs-samsung[open] summary { margin-bottom: var(--space-4); }

/* ---------- Hilfe ---------- */
.hs-help { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 2px solid var(--line); }
.hs-help h2 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem); margin: 0 0 var(--space-5); color: var(--ink); }
.hs-help dt { font-weight: 800; margin-top: var(--space-5); }
.hs-help dd { margin: var(--space-1) 0 0; overflow-wrap: anywhere; }
.hs-help__contact { margin-top: var(--space-6) !important; font-weight: 700; }
