/* Auftrittskompetenz-Check – im Aussehen der Website (Farben und Abstände aus app.css). */

#check-landing [hidden], .check-quiz [hidden], .check-box [hidden], .check-box[hidden] { display: none !important; }
.check-trust { margin: 18px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.check-author { margin: 14px 0 0; text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.check-center { text-align: center; }
.check-narrow { max-width: 680px; }
.check-lead { font-size: 1.15rem; margin-top: 16px; }

.check-problems { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check-problems li { padding: 18px 20px 18px 50px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.check-problems li::before { content: "?"; position: absolute; left: 16px; top: 17px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.check-close { max-width: 46ch; margin: 0 auto 26px; text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--link); }

.check-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.check-area { display: grid; justify-items: center; gap: 6px; padding: 24px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.check-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 999px; background: var(--blue); margin-bottom: 6px; }
.check-icon img { width: 28px; height: 28px; }
.check-icon--big { width: 76px; height: 76px; }
.check-icon--big img { width: 38px; height: 38px; }

/* --- Der Test ------------------------------------------------------------------ */
.check-quiz { min-height: calc(100vh - 69px); padding: clamp(20px, 5vw, 56px) 16px 64px; background: var(--bg-tint); }
.check-quiz__inner { max-width: 680px; margin-inline: auto; }
.check-card { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.check-card--center { justify-items: center; text-align: center; }
.check-card p { margin: 0; }
.check-card.is-entering { animation: check-in .28s ease both; }
.check-card.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease; }
@keyframes check-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .check-card.is-entering { animation: none; } }

.check-dots { display: flex; gap: 8px; justify-content: center; }
.check-dot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: var(--blue-soft); color: var(--link); }
.check-dot .check-png { width: 17px; height: 17px; }
.check-dot svg { width: 16px; height: 16px; }
.check-dot.is-now { background: var(--blue); }
.check-dot.is-done { background: var(--accent); color: var(--accent-ink); }

.check-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--link); font-size: .85rem; font-weight: 600; }
.check-chip .check-png { width: 15px; height: 15px; }
.check-progress { height: 6px; border-radius: 999px; background: var(--blue-soft); overflow: hidden; }
.check-progress div { height: 100%; border-radius: 999px; background: var(--accent-strong); transition: width .3s ease; }
.check-question { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; min-height: 3.9em; display: flex; align-items: center; }
.check-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.check-scale__btn { display: grid; gap: 4px; justify-items: center; padding: 14px 4px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font: inherit; color: var(--ink); cursor: pointer; transition: border-color .12s ease, background-color .12s ease, opacity .12s ease; }
.check-scale__btn:hover { border-color: var(--blue); }
.check-scale__no { font-size: 1.25rem; font-weight: 700; color: var(--link); }
.check-scale__label { font-size: .78rem; color: var(--muted); }
.check-scale__btn.is-picked { background: var(--blue); border-color: var(--blue); }
.check-scale__btn.is-picked .check-scale__no, .check-scale__btn.is-picked .check-scale__label { color: #fff; }
.check-scale__btn.is-dim { opacity: .4; }
.check-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.check-gate label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.check-gate input[type=text], .check-gate input[type=email] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-small); font: inherit; background: var(--field); }
.check-gate .check-consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; font-size: .9rem; }
.check-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--link); }
.check-teaser { padding: 14px 16px; background: #fff8ec; border: 1px solid var(--accent); border-radius: var(--radius-small); }
.check-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error.is-ok { background: #e6f4ea; color: #14532d; }

/* --- Ergebnis -------------------------------------------------------------------- */
.check-result-hero { background: var(--bg-tint); padding-block: clamp(36px, 6vw, 72px); margin-bottom: clamp(32px, 5vw, 56px); }
.check-result-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.check-result-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.check-type { display: inline-block; margin-bottom: 12px; padding: 8px 18px; border-radius: 999px; background: var(--blue); color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.check-signature { color: var(--muted); margin-bottom: 12px; }
.check-signature strong { color: var(--ink); }
.check-total { font-size: 1.15rem; color: var(--link); }
.check-chart svg { width: 100%; height: auto; display: block; }
.check-wedge { opacity: 0; transition: opacity .6s ease; }
.check-wedge.is-in { opacity: .88; }

.check-result { display: grid; gap: 24px; max-width: 880px; }
.check-bars { display: grid; gap: 12px; }
.check-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 52px; gap: 14px; align-items: center; }
.check-bar__name { font-weight: 600; }
.check-bar__track { height: 12px; border-radius: 999px; background: var(--blue-soft); overflow: hidden; }
.check-bar__fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent-strong); transition: width .8s ease; }
.check-bar__pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .92rem; }
.check-cards { display: grid; gap: 16px; }
.check-box { display: grid; gap: 12px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.check-box p { margin: 0; }
.check-box h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.15rem; }
.check-box--accent { background: #fff8ec; border-color: var(--accent); }
.check-tag { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: 0; }
.check-tag--high { background: #dcf3e3; color: #14532d; }
.check-tag--mid { background: var(--blue-soft); color: var(--link); }
.check-tag--low { background: #fdecc8; color: #7a4a00; }
.check-step { display: grid; gap: 6px; padding: 16px 18px; background: var(--bg-tint); border-left: 4px solid var(--accent-strong); border-radius: 0 var(--radius-small) var(--radius-small) 0; }
.check-hint { font-size: .92rem; color: var(--muted); }
.check-cta { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 4vw, 40px); border-radius: 24px; color: #fff; background: radial-gradient(700px 360px at 90% 0%, rgba(250, 189, 107, .25), transparent 60%), linear-gradient(160deg, var(--blue), var(--blue-deep)); }
.check-cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 62ch; }
.check-share .actions { margin-top: 4px; }
.check-change { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.check-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); max-width: 62ch; }
.check-disclaimer { font-size: .88rem; color: var(--muted); text-align: center; }

@media (max-width: 760px) {
    .check-problems { grid-template-columns: minmax(0, 1fr); }
    .check-result-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .check-bar { grid-template-columns: 104px minmax(0, 1fr) 44px; gap: 8px; }
    .check-scale { gap: 5px; }
    .check-scale__btn { padding: 12px 2px; }
    .check-scale__label { font-size: .68rem; }
    .check-question { min-height: 0; }
    .check-nav .muted { display: none; }
}

/* Kopf der Startseite: Beispiel des Kompetenz-Rads statt Porträt */
.check-hero-wheel { margin: 0; }
.check-hero-wheel svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .35)); }
.check-hero-wheel figcaption { margin-top: 6px; text-align: center; font-size: .85rem; letter-spacing: .04em; color: rgba(255, 255, 255, .75); }
.check-hero-wheel .check-wedge { transform-origin: 200px 200px; transform: scale(.15); opacity: 0; animation: check-wheel-in .7s cubic-bezier(.2, .8, .3, 1.2) forwards; }
@keyframes check-wheel-in { to { transform: scale(1); opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .check-hero-wheel .check-wedge { animation: none; transform: none; opacity: .95; } }
@media (max-width: 900px) { .check-hero-wheel { max-width: 420px; margin-inline: auto; } }
#check-landing .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 900px) { #check-landing .hero__inner { grid-template-columns: minmax(0, 1fr); } }
