/* Beitrag „Die „Fake“-Garantien vieler Recruiting-Anbieter" (Auftrag 81): eigene Bausteine. Präfix ac-. */

/* ---------- Aufmacher: flacher, damit das Video gleich darunter sichtbar wird ---------- */
.ac-kopf { min-height: 0; padding-top: calc(var(--nav-h) + clamp(64px, 9vw, 132px)); padding-bottom: clamp(32px, 4vw, 56px); }
.ac-film { padding-top: clamp(20px, 3vw, 40px); }
.ac-film figcaption a, .ac-zeit { color: var(--rb-marke); font-weight: var(--rb-w-mittel); }
.ac-film figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Kapitelmarken ---------- */
.ac-kap { margin-top: clamp(22px, 2.6vw, 34px); }
.ac-kap-titel { font-size: var(--rb-t-1); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; color: var(--rb-leise); }
.ac-kap ol { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin-top: 12px; border-top: 1px solid var(--rb-feld-rand); }
.ac-kap button { display: grid; grid-template-columns: 52px minmax(0, 1fr) 18px; align-items: baseline; width: 100%; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--rb-linie); text-align: left; color: var(--rb-tx); line-height: 1.3; transition: color .2s; }
.ac-kap button span { color: var(--rb-marke); font-variant-numeric: tabular-nums; font-weight: var(--rb-w-mittel); font-size: var(--rb-t-1); }
.ac-kap button::after { content: ""; align-self: center; width: 0; height: 0; border-left: 8px solid var(--rb-leise); border-block: 5px solid transparent; transition: border-color .2s, transform .25s var(--aus); }
.ac-kap button:hover, .ac-kap button[aria-current="true"] { color: var(--rb-kopf); }
.ac-kap button:hover::after, .ac-kap button[aria-current="true"]::after { border-left-color: var(--rb-marke); transform: translateX(3px); }
.ac-kap button[aria-current="true"] { font-weight: var(--rb-w-mittel); }
@media (max-width: 760px) { .ac-kap ol { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); } }

/* Zeitmarke im Text: springt im Video an die Stelle */
.ac-zeit { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: var(--rb-t-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ac-zeit::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-block: 4.500px solid transparent; }
.ac-zeit:hover { text-decoration-thickness: 2px; }
.a-zitat footer .ac-zeit { font-size: inherit; }

/* ---------- Probe: Erkennen Sie die Klausel? ---------- */
.ac-probe { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 18px clamp(24px, 4vw, 64px); align-items: start; }
.ac-probe-stand { grid-column: 1 / -1; font-size: var(--rb-t-1); color: var(--rb-leise); font-variant-numeric: tabular-nums; }
.ac-blatt { grid-row: 2 / span 2; position: relative; margin: 0; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px) clamp(26px, 3vw, 42px); border-radius: var(--rb-r-klein) var(--rb-r-karte) var(--rb-r-karte) var(--rb-r-klein); background: var(--rb-nebel); color: var(--rb-petrol); box-shadow: var(--rb-schatten-dunkel); }
.ac-blatt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: var(--rb-r-klein) 0 0 var(--rb-r-klein); background: var(--rb-petrol-4); }
.ac-blatt figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--rb-linie-hell); color: var(--rb-hell-leise); font-size: var(--rb-t-1); }
.ac-blatt figcaption b { letter-spacing: var(--rb-lw-marke); text-transform: uppercase; color: var(--rb-petrol); }
.ac-blatt p { font-size: var(--rb-t-5); line-height: 1.42; text-wrap: pretty; min-height: 4.3em; }
.ac-probe-wahl { display: grid; gap: 10px; }
.ac-antwort { position: relative; width: 100%; min-height: 56px; padding: 14px 18px 14px 52px; border: 1px solid var(--rb-feld-rand); border-radius: var(--rb-r-feld); text-align: left; line-height: 1.38; color: var(--rb-kopf); transition: border-color .2s, background-color .2s, opacity .3s; }
.ac-antwort::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 1.500px solid var(--rb-feld-rand); }
.ac-antwort:hover:not(:disabled) { border-color: var(--rb-marke); background: var(--rb-hauch); }
.ac-antwort:disabled { cursor: default; }
.ac-antwort.richtig { border-color: var(--rb-marke); background: var(--rb-hauch); }
.ac-antwort.richtig::before { border-color: var(--rb-gruen); background: var(--rb-gruen); }
.ac-antwort.richtig::after { content: ""; position: absolute; left: 23px; top: 20px; width: 6px; height: 11px; border: solid var(--rb-knopf-schrift); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ac-antwort.falsch { border-color: var(--rb-fehlertext); }
.ac-antwort.falsch::before { border-color: var(--rb-fehlertext); }
.ac-antwort.falsch::after { content: ""; position: absolute; left: 21px; top: 22px; width: 10px; height: 10px; background: linear-gradient(45deg, transparent calc(50% - 1px), var(--rb-fehlertext) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(-45deg, transparent calc(50% - 1px), var(--rb-fehlertext) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.ac-antwort.blass { opacity: .45; }
.ac-probe-urteil { grid-column: 2; display: grid; gap: 16px; justify-items: start; }
.ac-probe-urteil p { color: var(--rb-tx); line-height: 1.5; }
.ac-probe-urteil b { color: var(--rb-kopf); }
.ac-probe-urteil[hidden] { display: none; }
.ac-probe.fertig .ac-blatt p { min-height: 0; }
@media (max-width: 860px) {
  .ac-probe { grid-template-columns: minmax(0, 1fr); }
  .ac-blatt { grid-row: auto; }
  .ac-blatt p { min-height: 5.7em; }
  .ac-probe-urteil { grid-column: 1; }
}

/* ---------- Fünf Fragen zum Abhaken ---------- */
.ac-fragen { max-width: var(--a-weit); }
.ac-fragen-kopf, .ac-fragen li { display: grid; grid-template-columns: minmax(0, 1fr) 132px 132px; align-items: center; gap: 0 12px; }
.ac-fragen-kopf { padding-bottom: 12px; font-size: var(--rb-t-1); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; color: var(--rb-leise); text-align: center; line-height: 1.3; }
.ac-fragen ol { counter-reset: af; border-top: 1px solid var(--rb-feld-rand); }
.ac-fragen li { counter-increment: af; padding: clamp(14px, 1.8vw, 22px) 0; border-bottom: 1px solid var(--rb-linie); }
.ac-fragen li p { position: relative; padding-left: clamp(44px, 5vw, 72px); color: var(--rb-kopf); font-size: var(--rb-t-5); line-height: 1.2; letter-spacing: 0; font-weight: var(--rb-w-mittel); text-wrap: balance; }
.ac-fragen li p::before { content: counter(af); position: absolute; left: 0; top: -0.06em; color: var(--rb-marke); font-weight: var(--rb-w-text); font-size: var(--rb-t-6); line-height: 1; }
.ac-fragen label { display: grid; justify-items: center; gap: 6px; min-height: 48px; align-content: center; cursor: pointer; }
.ac-fragen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac-kasten { display: block; width: 34px; height: 34px; position: relative; border-radius: var(--rb-r-knopf); border: 1.500px solid var(--rb-feld-rand); transition: border-color .2s, background-color .2s; }
.ac-fragen label:hover .ac-kasten { border-color: var(--rb-marke); }
.ac-fragen input:focus-visible + .nur-vorlesen + .ac-kasten { outline: 2px solid var(--rb-marke); outline-offset: 3px; }
.ac-fragen input:checked + .nur-vorlesen + .ac-kasten { border-color: var(--rb-gruen); background: var(--rb-gruen); }
.ac-fragen input:checked + .nur-vorlesen + .ac-kasten::after { content: ""; position: absolute; left: 11px; top: 4px; width: 9px; height: 17px; border: solid var(--rb-knopf-schrift); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ac-wort { display: none; font-size: var(--rb-t-1); color: var(--rb-leise); }
.ac-fragen-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(20px, 2.4vw, 30px); }
.ac-stand { flex: 1 1 320px; font-size: var(--rb-t-4); line-height: 1.4; color: var(--rb-kopf); text-wrap: pretty; }
.ac-werkzeug { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.a-quelle a { color: var(--rb-marke); font-weight: var(--rb-w-mittel); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .ac-fragen-kopf { display: none; }
  .ac-fragen li { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ac-fragen li p { grid-column: 1 / -1; }
  .ac-fragen label { grid-auto-flow: column; justify-content: start; justify-items: start; gap: 10px; align-items: center; padding-left: clamp(44px, 5vw, 72px); }
  .ac-fragen label + label { padding-left: 0; }
  .ac-wort { display: block; font-size: var(--rb-t-1); color: var(--rb-tx); }
}

/* ---------- AGB-Checker ---------- */
.ac-checker { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--rb-r-karte); background: var(--rb-hauch); border: 1px solid color-mix(in srgb, var(--rb-gruen) 50%, transparent); }
.ac-checker-titel { color: var(--rb-kopf); font-size: var(--rb-t-5); line-height: var(--rb-zh-mittel); letter-spacing: 0; font-weight: var(--rb-w-mittel); }
.ac-checker > div p + p { margin-top: 8px; font-size: var(--rb-t-2); line-height: 1.45; color: var(--rb-tx); }
.ac-hinweis { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--rb-gruen) 30%, transparent); font-size: var(--rb-t-1); line-height: 1.5; color: var(--rb-tx); }
@media (max-width: 620px) { .ac-checker { grid-template-columns: minmax(0, 1fr); } .ac-checker .rb-kn { justify-self: start; } }

/* Handy: die zweite Zeile im Poster läge über dem Gesicht */
@media (max-width: 600px) { .ac-film .a-video-titel small { display: none; } }

/* Auswertung der Probe: das Etikett „Muster" gilt nur für die Klauseln */
.ac-probe.fertig .ac-blatt figcaption { display: none; }
