: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; }
.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; }
}
