/* Hilfe-Seiten lektoplan.ch/hilfe. Baut auf style.css auf (Farben, Schriften, Kopf, Fuss). */
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hilfe { padding: 40px 0 72px; display: flex; flex-direction: column; gap: 48px; }
.hilfe h1 { margin: 0 0 12px; font: 700 clamp(36px, 5vw, 48px)/1.05 var(--titel); letter-spacing: -0.02em; }
.hilfe h2 { margin: 0 0 6px; font: 700 28px/1.15 var(--titel); }
.hilfe .lead { margin: 0 0 20px; font-size: 18px; color: var(--grau); }
.hilfe .neben { margin: 0 0 20px; color: var(--grau); }
.kopf nav a[aria-current="page"], .kopf nav a[aria-current="true"] { font-weight: 600; color: var(--blau); }

.hilfe-hero, .anleitung-kopf { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; align-items: center; }
.anleitung-kopf { align-items: start; }
.suche input { width: 100%; min-height: 52px; padding: 0 18px; border: 2px solid var(--linie); border-radius: 14px; font: 16px var(--schrift); background: var(--weiss); color: var(--tinte); }
.suche input:focus { border-color: var(--blau); outline: none; }
.suche input:focus-visible { box-shadow: 0 0 0 4px var(--blau-hell); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--tinte); color: var(--weiss); display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 20px; }
.video b { font-size: 18px; }
.video > span:last-child:not(.video-folgt) { font-size: 14px; color: #C7CEDB; }
.video-knopf { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--gelb); display: grid; place-items: center; }
.video-knopf svg { width: 26px; height: 26px; fill: var(--tinte); }
.video-folgt { position: absolute; top: 14px; right: 14px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 99px; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.kachel { background: var(--weiss); border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--tinte); text-decoration: none; transition: border-color .15s, transform .15s; }
.kachel:hover { border-color: var(--blau); transform: translateY(-2px); color: var(--tinte); }
.kachel-bild { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.farbe-ma { background: var(--ma); } .farbe-de { background: var(--de); } .farbe-en { background: var(--en); } .farbe-ks { background: var(--ks); }
.video-knopf-klein { position: static; transform: none; width: 44px; height: 44px; background: var(--weiss); }
.video-knopf-klein svg { width: 18px; height: 18px; }
.marke-folgt { position: absolute; right: 10px; bottom: 8px; font-size: 12px; font-weight: 600; background: var(--tinte); color: var(--weiss); padding: 2px 8px; border-radius: 99px; }
.kachel-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kachel-text b { font-size: 17px; }
.kachel-text span { font-size: 14px; color: var(--grau); }
.kachel-text span:nth-child(2) { flex: 1; }
.kachel-text .genau { color: var(--blau); font-weight: 600; }
.kachel[hidden] { display: none; }
.nichts { color: var(--grau); }

.zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: 16px; padding: 18px 20px; }
.karte-blau { background: var(--blau-hell); border-color: transparent; }
.karte-gelb { background: #FFF8DB; border-color: transparent; }
.karte b { font-size: 17px; }
.karte p, .karte ul { margin: 8px 0 0; color: var(--grau); font-size: 15px; }
.karte ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.karte li b { font-size: 15px; color: var(--tinte); }
.karte .verwandt { margin-top: 12px; font-size: 14px; }

.pfad { font-size: 14px; color: var(--grau); margin-bottom: -24px; }
.schmal > * { max-width: 760px; }
.hilfe-schritte { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.schritt { display: flex; gap: 16px; }
.nummer { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blau-hell); color: var(--blau); font-weight: 700; display: grid; place-items: center; }
.hilfe-schritte p { margin: 4px 0 0; color: var(--grau); }
.kasten { margin-top: 24px; display: flex; gap: 16px; background: var(--de); border-radius: 14px; padding: 16px; }
.kasten svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--de-t); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kasten p { margin: 4px 0 0; color: var(--grau); }
.video-echt { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--tinte); }

/* Prüfung 10.11.2026: Fokus, Video, Kacheln ohne Platzhalter, Handy */
.hilfe :focus-visible { outline: 3px solid var(--blau-dunkel); outline-offset: 3px; }
.kachel:focus-visible { border-radius: 16px; }
.hilfe-hero-schmal, .anleitung-kopf-schmal { grid-template-columns: minmax(0, 760px); }
.video-echt { border: 1px solid var(--linie); box-shadow: 0 12px 32px rgba(19, 32, 63, .12); }
.symbol { width: 40px; height: 40px; fill: none; stroke: var(--tinte); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.kachel-poster { position: relative; background: var(--tinte); overflow: hidden; }
.kachel-poster img { width: 100%; height: 100%; object-fit: cover; }
.marke-dauer { position: absolute; right: 10px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; background: var(--tinte); color: var(--weiss); padding: 3px 9px 3px 7px; border-radius: 99px; }
.marke-dauer svg { width: 12px; height: 12px; fill: var(--gelb); }
.hero-video { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tinte); color: var(--weiss); text-decoration: none; box-shadow: 0 12px 32px rgba(19, 32, 63, .12); }
.hero-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-video-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: linear-gradient(transparent, rgba(19, 32, 63, .88)); }
.hero-video-text .video-knopf { position: static; transform: none; width: 52px; height: 52px; flex: none; }
.hero-video-text b { display: block; font-size: 18px; }
.hero-video-text span span { font-size: 14px; color: #C7CEDB; }
.hero-video:hover { color: var(--weiss); }
@media (max-width: 560px) {
  .kachel { flex-direction: row; align-items: stretch; }
  .kachel-bild { aspect-ratio: 1; width: 84px; flex: none; }
  .kachel-poster .marke-dauer { right: 4px; bottom: 4px; padding: 2px 6px; font-size: 11px; }
  .symbol { width: 30px; height: 30px; }
  .kachel-text { padding: 12px 14px; }
}
@media (max-width: 760px) {
  .kopf nav a[href="/hilfe"] { display: inline; font-size: 15px; }
  .kopf nav { gap: 16px; }
}

/* Vertiefungs-Clips unter einem Schritt */
.clip { margin-top: 10px; }
.clip summary { cursor: pointer; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--hell, #eef2ff); color: var(--blau, #2747d4); font-weight: 600; list-style: none; }
.clip summary::-webkit-details-marker { display: none; }
.clip summary:focus-visible { outline: 3px solid var(--blau, #2747d4); outline-offset: 2px; }
.clip-dauer { font-weight: 400; opacity: .75; }
.clip[open] summary { margin-bottom: 10px; }
