/* naturfotografie.de – Vogelquiz
   Alle Regeln sind auf #nf-vogelquiz beschränkt, damit Divi-Styles und das Quiz sich nicht gegenseitig stören.
   Farben unten in den Variablen anpassen. Schriften: Das Quiz übernimmt die Schrift der Seite (inherit). */
#nf-vogelquiz {
  --nfq-ink: #1e2b23;
  --nfq-muted: #5a6a5f;
  --nfq-paper: #ffffff;
  --nfq-surface: #f1f4ef;
  --nfq-line: #d6ddd2;
  --nfq-moss: #33603f;
  --nfq-moss-dark: #244530;
  --nfq-ochre: #a8741f;
  --nfq-right: #2b7447;
  --nfq-right-bg: #e1f0e6;
  --nfq-wrong: #ad3f2b;
  --nfq-wrong-bg: #f8e3dd;
  --nfq-todo: #e3e8e0;
  color: var(--nfq-ink);
  background: var(--nfq-paper);
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--nfq-line);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--nfq-body, inherit);
  font-size: 17px;
  line-height: 1.55;
  text-align: left;
  scroll-margin-top: 110px;
}
#nf-vogelquiz *, #nf-vogelquiz *::before, #nf-vogelquiz *::after { box-sizing: border-box; }
#nf-vogelquiz h2, #nf-vogelquiz h3, #nf-vogelquiz p { margin: 0; padding: 0; color: inherit; }
#nf-vogelquiz h2, #nf-vogelquiz h3 { font-family: var(--nfq-display, inherit); text-wrap: balance; line-height: 1.2; }
#nf-vogelquiz button { font: inherit; cursor: pointer; }
#nf-vogelquiz :focus-visible { outline: 3px solid var(--nfq-ochre); outline-offset: 2px; }
#nf-vogelquiz .nfq-pad { padding: 26px 30px 30px; display: grid; gap: 20px; }
#nf-vogelquiz .nfq-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nfq-ochre); }
/* Buttons */
#nf-vogelquiz .nfq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 0; border-radius: 8px;
  background: var(--nfq-moss); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .15s ease;
}
#nf-vogelquiz .nfq-btn:hover { background: var(--nfq-moss-dark); color: #fff; }
#nf-vogelquiz .nfq-btn--ghost { background: transparent; color: var(--nfq-moss); border: 1.5px solid var(--nfq-moss); }
#nf-vogelquiz .nfq-btn--ghost:hover { background: var(--nfq-surface); color: var(--nfq-moss-dark); }
/* Startseite */
#nf-vogelquiz .nfq-start h2 { font-size: 2rem; }
#nf-vogelquiz .nfq-lead { font-size: 1.08rem; max-width: 58ch; }
#nf-vogelquiz .nfq-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--nfq-muted); font-size: 0.92rem; }
#nf-vogelquiz .nfq-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#nf-vogelquiz .nfq-tier { background: var(--nfq-surface); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
#nf-vogelquiz .nfq-tier b { font-size: 0.95rem; }
#nf-vogelquiz .nfq-tier span { font-size: 0.85rem; color: var(--nfq-muted); }
/* Kopfzeile Frage */
#nf-vogelquiz .nfq-head { display: grid; gap: 10px; padding: 18px 30px 16px; border-bottom: 1px solid var(--nfq-line); }
#nf-vogelquiz .nfq-status { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 0.92rem; }
#nf-vogelquiz .nfq-status strong { font-size: 1rem; }
#nf-vogelquiz .nfq-chip { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--nfq-surface); color: var(--nfq-muted); font-size: 0.8rem; font-weight: 600; }
#nf-vogelquiz .nfq-points { color: var(--nfq-muted); font-variant-numeric: tabular-nums; }
#nf-vogelquiz .nfq-track { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
#nf-vogelquiz .nfq-track span { height: 6px; border-radius: 3px; background: var(--nfq-todo); }
#nf-vogelquiz .nfq-track span.is-right { background: var(--nfq-right); }
#nf-vogelquiz .nfq-track span.is-wrong { background: var(--nfq-wrong); }
#nf-vogelquiz .nfq-track span.is-current { background: var(--nfq-ink); }
/* Foto */
#nf-vogelquiz .nfq-photo { position: relative; aspect-ratio: 3 / 2; max-width: 100%; background: var(--nfq-surface); overflow: hidden; }
#nf-vogelquiz .nfq-photo img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
#nf-vogelquiz .nfq-ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--nfq-muted);
  background: repeating-linear-gradient(135deg, var(--nfq-surface) 0 14px, #e9eee6 14px 28px); }
#nf-vogelquiz .nfq-ph b { font-size: 1.4rem; color: var(--nfq-ink); font-variant-numeric: tabular-nums; }
#nf-vogelquiz .nfq-ph span { font-size: 0.88rem; }
/* Antworten */
#nf-vogelquiz .nfq-question { font-size: 1.35rem; }
#nf-vogelquiz .nfq-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#nf-vogelquiz .nfq-answer {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px;
  padding: 12px 16px; text-align: left; color: var(--nfq-ink);
  background: var(--nfq-paper); border: 1.5px solid var(--nfq-line); border-radius: 10px;
  font-size: 1.05rem; font-weight: 600; transition: border-color .15s ease, background-color .15s ease;
}
#nf-vogelquiz .nfq-answer:hover:not(:disabled) { border-color: var(--nfq-moss); background: var(--nfq-surface); }
#nf-vogelquiz .nfq-key { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  background: var(--nfq-surface); color: var(--nfq-muted); font-size: 0.82rem; font-weight: 700; }
#nf-vogelquiz .nfq-answer:disabled { cursor: default; }
#nf-vogelquiz .nfq-answer.is-dim { opacity: .5; }
#nf-vogelquiz .nfq-answer.is-right { border-color: var(--nfq-right); background: var(--nfq-right-bg); opacity: 1; }
#nf-vogelquiz .nfq-answer.is-right .nfq-key { background: var(--nfq-right); color: #fff; }
#nf-vogelquiz .nfq-answer.is-wrong { border-color: var(--nfq-wrong); background: var(--nfq-wrong-bg); opacity: 1; }
#nf-vogelquiz .nfq-answer.is-wrong .nfq-key { background: var(--nfq-wrong); color: #fff; }
/* Feedback */
#nf-vogelquiz .nfq-feedback { display: grid; gap: 8px; padding: 18px 20px; border-radius: 10px; background: var(--nfq-surface); scroll-margin-bottom: 20px; }
#nf-vogelquiz .nfq-verdict { font-weight: 800; font-size: 1.1rem; }
#nf-vogelquiz .nfq-verdict.is-right { color: var(--nfq-right); }
#nf-vogelquiz .nfq-verdict.is-wrong { color: var(--nfq-wrong); }
#nf-vogelquiz .nfq-species { font-weight: 700; }
#nf-vogelquiz .nfq-species i { font-weight: 400; color: var(--nfq-muted); }
#nf-vogelquiz .nfq-next { display: flex; justify-content: flex-end; margin-top: 6px; }
/* Auswertung */
#nf-vogelquiz .nfq-result-top { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; }
#nf-vogelquiz .nfq-score { font-family: var(--nfq-display, inherit); font-size: 4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--nfq-moss); }
#nf-vogelquiz .nfq-score small { font-size: 1.5rem; color: var(--nfq-muted); font-weight: 600; }
#nf-vogelquiz .nfq-award { display: grid; gap: 4px; min-width: 0; }
#nf-vogelquiz .nfq-award h2 { font-size: 2rem; }
#nf-vogelquiz .nfq-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
#nf-vogelquiz .nfq-rung { padding: 8px 6px; border-radius: 8px; background: var(--nfq-surface); color: var(--nfq-muted); text-align: center; font-size: 0.78rem; line-height: 1.25; display: grid; gap: 2px; align-content: start; }
#nf-vogelquiz .nfq-rung b { font-size: 0.82rem; color: var(--nfq-ink); }
#nf-vogelquiz .nfq-rung.is-current { background: var(--nfq-moss); color: #dfeadf; }
#nf-vogelquiz .nfq-rung.is-current b { color: #fff; }
#nf-vogelquiz details.nfq-review { border: 1px solid var(--nfq-line); border-radius: 10px; }
#nf-vogelquiz details.nfq-review summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
#nf-vogelquiz .nfq-list { list-style: none; margin: 0; padding: 0 18px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
#nf-vogelquiz .nfq-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0; font-size: 0.95rem; min-width: 0; }
#nf-vogelquiz .nfq-mark { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 0.75rem; font-weight: 800; margin-top: 1px; }
#nf-vogelquiz .nfq-mark.is-right { background: var(--nfq-right); }
#nf-vogelquiz .nfq-mark.is-wrong { background: var(--nfq-wrong); }
#nf-vogelquiz .nfq-list small { display: block; color: var(--nfq-muted); font-size: 0.82rem; }
/* Shop-Hinweis */
#nf-vogelquiz .nfq-shop { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: 12px; background: var(--nfq-surface); }
#nf-vogelquiz .nfq-cover { position: relative; aspect-ratio: 3 / 4; max-width: 100%; border-radius: 4px; overflow: hidden; background: #dfe5db; box-shadow: 0 6px 18px rgba(30, 43, 35, .22); }
#nf-vogelquiz .nfq-cover img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
#nf-vogelquiz .nfq-cover .nfq-ph span { font-size: 0.8rem; }
#nf-vogelquiz .nfq-shop-text { display: grid; gap: 10px; min-width: 0; justify-items: start; }
#nf-vogelquiz .nfq-shop-intro { font-style: italic; color: var(--nfq-muted); }
#nf-vogelquiz .nfq-shop h3 { font-size: 1.35rem; }
#nf-vogelquiz .nfq-actions { display: flex; justify-content: center; }
/* Übergang */
#nf-vogelquiz .nfq-screen { animation: nfqIn .25s ease both; }
@keyframes nfqIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #nf-vogelquiz .nfq-screen { animation: none; } }
/* Handy */
@media (max-width: 600px) {
  #nf-vogelquiz { font-size: 16px; border-radius: 10px; }
  #nf-vogelquiz .nfq-pad { padding: 18px 16px 22px; gap: 16px; }
  #nf-vogelquiz .nfq-head { padding: 14px 16px; }
  #nf-vogelquiz .nfq-start h2 { font-size: 1.6rem; }
  #nf-vogelquiz .nfq-tiers { grid-template-columns: 1fr; }
  #nf-vogelquiz .nfq-answers { grid-template-columns: 1fr; }
  #nf-vogelquiz .nfq-result-top { grid-template-columns: 1fr; }
  #nf-vogelquiz .nfq-score { font-size: 3.2rem; }
  #nf-vogelquiz .nfq-award h2 { font-size: 1.6rem; }
  #nf-vogelquiz .nfq-ladder { grid-template-columns: 1fr; }
  #nf-vogelquiz .nfq-rung { display: flex; justify-content: space-between; text-align: left; padding: 8px 12px; }
  #nf-vogelquiz .nfq-list { grid-template-columns: 1fr; }
  #nf-vogelquiz .nfq-shop { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  #nf-vogelquiz .nfq-cover { width: 130px; }
  #nf-vogelquiz .nfq-next .nfq-btn { width: 100%; }
}
