:root { --bg: #f7f7f5; --card-bg: #ffffff; --text: #1f2328; --text-muted: #6b7280; --accent: #2563eb; --knew: #10b981; --new: #f97316; --track: #e5e7eb; --shadow: 0 10px 30px rgba(0, 0, 0, 0.06); --radius: 16px; }
@media (prefers-color-scheme: dark) { :root { --bg: #16181d; --card-bg: #1f2228; --text: #e6e7ea; --text-muted: #9aa0a8; --accent: #60a5fa; --knew: #34d399; --new: #fb923c; --track: #353a42; --shadow: 0 10px 30px rgba(0, 0, 0, 0.4); } }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.hero-wrap { position: relative; background: radial-gradient(60rem 30rem at 15% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), radial-gradient(50rem 26rem at 90% 0%, color-mix(in srgb, var(--knew) 12%, transparent), transparent 55%); }
.topbar { max-width: 1080px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
a.brand { color: inherit; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand picture { display: flex; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn { border: none; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; padding: 11px 22px; background: var(--accent); color: #fff; transition: transform .12s, box-shadow .12s, opacity .12s; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.legal-links { font-size: 13px; margin: 28px 0 0; color: var(--text-muted); }
.legal-links a { color: var(--text-muted); }
.legal-links a:hover { color: var(--accent); }

.themenseite .tk-kopf { max-width: 760px; margin: 0 auto; padding: 8px 20px 36px; text-align: center; }
.themenseite .tk-icon { font-size: 44px; margin: 0; }
.themenseite .tk-kopf h1 { font-size: clamp(30px, 5vw, 44px); margin: 6px 0 4px; }
.themenseite .tk-unter { color: var(--text-muted); margin: 0 0 16px; }
.tq { --falsch: #f43f5e; max-width: 460px; margin: 10px auto 36px; text-align: left; }
.tq[hidden], .tq [hidden] { display: none !important; }
.tq-stapel { position: relative; padding-top: 24px; }
.tq-geist, .tq-karte { border-radius: var(--radius); background: var(--card-bg); border: 1px solid color-mix(in srgb, var(--track) 60%, transparent); }
.tq-geist { position: absolute; left: 0; right: 0; top: 24px; bottom: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.tq-geist1 { transform: translateY(-12px) scale(.95) rotate(1.5deg); opacity: .9; }
.tq-geist2 { transform: translateY(-24px) scale(.9) rotate(-1deg); opacity: .55; }
.tq-karte { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 20px 20px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .06); transform: rotate(-1deg); transform-origin: 50% 20%; transition: transform .32s cubic-bezier(.2, .7, .2, 1), opacity .32s ease; }
.tq-karte.tq-raus { transform: translateX(115%) rotate(8deg); opacity: 0; }
.tq-karte.tq-rein { animation: tq-rein .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes tq-rein { from { transform: translateY(-12px) scale(.95) rotate(1.5deg); opacity: .7; } }
.tq-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 18px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.tq-rechts { display: flex; flex: none; align-items: center; gap: 6px; }
.tq-ton { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -7px -8px -7px 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--text-muted); cursor: pointer; }
.tq-ton:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.tq-ton svg { width: 17px; height: 17px; }
.tq-ton:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.tq-ton[data-tip]:hover::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); right: 0; z-index: 3; padding: 5px 9px; border-radius: 8px; background: var(--text); color: var(--card-bg); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; pointer-events: none; }
.tq-zaehler { flex: none; font-size: 13px; font-weight: 800; letter-spacing: 0; color: var(--accent); }
.tq-badge { align-self: flex-start; margin: 12px 0 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.tq-titel { margin: 8px 0 8px; font-size: 24px; line-height: 1.2; }
.tq-hinweis { margin: 0 0 16px; color: var(--text-muted); font-size: 15px; line-height: 1.45; }
.tq-karte.tq-start { min-height: 0; }
.tq-los { align-self: flex-start; margin-top: 4px; }
.tq-media { display: flex; justify-content: center; margin: 12px 0 2px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--text) 5%, var(--card-bg)); }
.tq-media img { display: block; max-width: 100%; height: 170px; object-fit: contain; }
.tq-frage { margin: 12px 0 14px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.tq-frage:focus, .tq-punkte:focus { outline: none; }
.tq-antworten { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tq-antwort { position: relative; padding: 14px 10px 14px 18px; border: 1.5px solid transparent; border-radius: 12px; background: color-mix(in srgb, var(--text) 5%, var(--card-bg)); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; text-align: center; overflow-wrap: anywhere; cursor: pointer; transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .12s ease; }
.tq-antwort i { position: absolute; top: 4px; left: 8px; font-style: normal; font-size: 10px; font-weight: 400; color: var(--text-muted); }
.tq-antwort:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 12%, var(--card-bg)); }
.tq-antwort:active:not(:disabled) { transform: scale(.97); }
.tq-antwort:disabled { cursor: default; }
.tq-antwort.tq-richtig { border-color: var(--knew); background: color-mix(in srgb, var(--knew) 15%, var(--card-bg)); }
.tq-antwort.tq-falsch { border-color: var(--falsch); background: color-mix(in srgb, var(--falsch) 13%, var(--card-bg)); }
.tq-antwort.tq-blass { opacity: .5; }
.tq-antwort:focus-visible, .tq .btn:focus-visible, .tq-nochmal:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tq-aufloesung { display: flex; flex-direction: column; }
.tq-urteil { margin: 14px 0 0; font-weight: 800; }
.tq-urteil.tq-ok { color: var(--knew); }
.tq-urteil.tq-nein { color: var(--falsch); }
.tq-urteil b { color: var(--text); }
.tq-fun { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 10px; background: color-mix(in srgb, var(--accent) 9%, var(--card-bg)); font-size: 14px; line-height: 1.45; }
.tq-fun b { color: var(--accent); }
.tq-mehr { margin: 8px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.tq-quelle { margin: 8px 0 0; color: var(--text-muted); font-size: 11px; }
.tq-weiter { align-self: flex-end; margin-top: 14px; }
.tq-fuss { margin-top: auto; padding-top: 16px; }
.tq-zeile { display: flex; justify-content: space-between; margin-top: 6px; color: var(--text-muted); font-size: 12px; }
.tq-zeile b { color: var(--text); }
.tq-balken { height: 6px; margin-top: 4px; overflow: hidden; border-radius: 999px; background: var(--track); }
.tq-balken span { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width .4s ease; }
.tq-balken.tq-gruen span { background: var(--knew); }
.tq-ergebnis { align-items: center; text-align: center; }
.tq-ergebnis .tq-kopf { align-self: stretch; }
.tq-emoji { margin: 14px 0 0; font-size: 54px; line-height: 1; }
.tq-lob { margin: 8px 0 0; color: var(--accent); font-weight: 800; }
.tq-punkte { margin: 4px 0 10px; font-size: 26px; }
.tq-reihe { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.tq-reihe span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--track); font-size: 14px; font-weight: 800; color: var(--text-muted); }
.tq-reihe .tq-ja { background: color-mix(in srgb, var(--knew) 20%, var(--card-bg)); color: var(--knew); }
.tq-reihe .tq-nein { background: color-mix(in srgb, var(--falsch) 18%, var(--card-bg)); color: var(--falsch); }
.tq-knoepfe { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tq-nochmal { padding: 6px 10px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.tq-konfetti { position: fixed; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; }
.tq-konfetti i { position: absolute; top: -14px; width: 8px; height: 13px; border-radius: 2px; animation-name: tq-fall; animation-timing-function: cubic-bezier(.3, .2, .6, 1); animation-fill-mode: forwards; }
@keyframes tq-fall { to { top: 105%; transform: translateX(40px) rotate(720deg); } }
@media (max-width: 420px) { .tq-antworten { grid-template-columns: 1fr; } .tq-karte { padding: 16px 16px 14px; transform: none; } .tq-titel { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .tq-karte, .tq-karte.tq-rein, .tq-balken span { animation: none; transition: none; } }
.themenseite .tk-intro { font-size: 18px; line-height: 1.55; margin: 0 auto 22px; max-width: 620px; }
.themenseite .tk-los { display: inline-block; padding: 12px 26px; font-size: 17px; text-decoration: none; }
.themenseite .tk-los-klein { padding: 8px 16px; text-decoration: none; font-size: 14px; }
.themenseite .tk-los-text { color: var(--text-muted); font-size: 14px; max-width: 460px; margin: 12px auto 0; }
.themenseite .tk-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px 48px; }
.themenseite .tk-wrap h2 { font-size: 22px; margin: 28px 0 14px; }
.themenseite .tk-gemeinsam { font-size: 18px; font-weight: 600; margin: -6px 0 16px; color: var(--text-muted); }
.themenseite .tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; align-items: start; }
.themenseite .tk { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; }
.themenseite .tk-bildrahmen { height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.themenseite .tk-bild { max-width: 100%; max-height: 130px; border-radius: 6px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent); }
.themenseite .tk-quelle { font-size: 10.5px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.3; overflow-wrap: anywhere; }
.themenseite .tk-frage { font-size: 15px; font-weight: 600; margin: 6px 0 10px; line-height: 1.35; }
.themenseite .tk-loesung { margin: 0; }
.themenseite .tk-loesung summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; list-style: none; }
.themenseite .tk-loesung summary::-webkit-details-marker { display: none; }
.themenseite .tk-loesung[open] summary { display: none; }
.themenseite .tk-antwort { font-weight: 700; font-size: 17px; margin: 0 0 6px; color: var(--knew); }
.themenseite .tk-mehr, .themenseite .tk-wusstest { font-size: 13.5px; line-height: 1.45; margin: 6px 0 0; }
.themenseite .tk-wusstest b { color: var(--accent); }
.themenseite .tk-pro { margin: 18px 0 0; padding: 16px 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 10%, var(--card-bg)); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.themenseite .tk-pro p { margin: 0; font-weight: 600; }
.themenseite .tk-wie { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px 24px; margin-top: 32px; }
.themenseite .tk-wie ul { line-height: 1.6; padding-left: 20px; }
.themenseite .tk-wie li { font-weight: 400; }
.themenseite .tk-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.themenseite .tk-chips a { display: inline-block; background: var(--card-bg); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--text); }
.themenseite .tk-chips small { color: var(--text-muted); margin-left: 4px; }
.themenseite .tk-kat { margin-top: 30px; }
.themenseite .tk-kat h2 a { color: var(--text); text-decoration: none; }
@media (max-width: 600px) {
  .themenseite .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .themenseite .tk { padding: 12px; }
  .themenseite .tk-bildrahmen { height: 84px; }
  .themenseite .tk-bild { max-height: 84px; }
  .themenseite .tk:has(.tk-loesung[open]) { grid-column: 1 / -1; }
}
.themenseite .te-kurz { max-width: 680px; margin: 16px auto 24px; font-size: 18px; line-height: 1.65; }
.themenseite .te-redaktion { margin-bottom: 36px; }
.themenseite .te-schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.themenseite .te-schritte li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); }
.themenseite .te-schritte p { margin: 0; line-height: 1.55; }
.themenseite .te-nr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-weight: 800; }
.themenseite .te-stufen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.themenseite .te-stufe { padding: 20px; background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); }
.themenseite .te-stufe h3 { margin-top: 0; }
.themenseite .te-stufe ul { padding-left: 20px; margin-bottom: 0; }
.themenseite .te-stufe li { margin: 10px 0; }
.themenseite .te-stufe small { display: block; color: var(--text-muted); }
.themenseite .te-weiter { margin-top: 28px; }
.themenseite .te-kacheln { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.themenseite .te-kacheln a { display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 14px 16px; background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.themenseite .te-kacheln a:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.themenseite .te-k-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 24px; }
.themenseite .te-k-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.themenseite .te-k-text b { line-height: 1.3; }
.themenseite .te-k-text small { color: var(--text-muted); }
.themenseite .te-k-pfeil { margin-left: auto; color: var(--text-muted); font-size: 22px; font-weight: 700; }
.themenseite .te-redaktion a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.themenseite .te-redaktion a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .themenseite .te-kacheln a { transition: none; } .themenseite .te-kacheln a:hover { transform: none; } }
@media (max-width: 760px) { .themenseite .te-stufen, .themenseite .te-schritte, .themenseite .te-kacheln { grid-template-columns: 1fr; } }
.themenseite .te-app { margin: 14px 0 0; }
.themenseite .te-app a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 12px; background: #111418; color: #fff; text-align: left; text-decoration: none; }
.themenseite .te-app a:hover { filter: brightness(1.15); }
.themenseite .te-app svg { width: 24px; height: 24px; flex: none; }
.themenseite .te-app-txt { display: flex; flex-direction: column; line-height: 1.15; }
.themenseite .te-app-klein { font-size: 12px; }
.themenseite .te-app-gross { font-size: 18px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .themenseite .te-app a { background: #fff; color: #111418; } }

