/* Loma-Suji – Webseite. Systemschriften, keine externen Dateien (Datenschutz, Tempo). */
:root {
  --bg: #0b101b;
  --bg-2: #0f172a;
  --surface: #151d2e;
  --surface-2: #1b2539;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2f8;
  --muted: #a3afc4;
  --pink: #ff5c7a;
  --rose: #e8436b;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, #ff6b8a 0%, #c45cf6 55%, #7c6cff 100%);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #c7b6ff; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800;
  color: #ff8fa6; margin-bottom: .6em;
}

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--grad); color: #fff; text-decoration: none; font-weight: 800;
  padding: .7em 1.3em; border-radius: 14px; border: 0;
  box-shadow: 0 10px 28px rgba(232, 67, 107, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 34px rgba(232, 67, 107, 0.45); }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn-big { font-size: 1.08rem; padding: .85em 1.6em; }
.btn-small { padding: .5em 1em; font-size: .95rem; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

/* Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 27, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.15rem; }
.brand img { border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav a:not(.btn):hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(255, 92, 122, 0.18), transparent 60%),
    linear-gradient(var(--bg), var(--bg-2));
}
.hero::before {
  /* zartes Sudoku-Raster im Hintergrund */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 900; letter-spacing: -0.035em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c9d2e3; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hint { color: var(--muted); font-size: .92rem; }

/* Handy-Darstellung mit Sudoku */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(340px, 86vw); border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #273248, #121a2a);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(2deg);
}
.phone-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: #1c2230; border-radius: 22px 22px 8px 8px; padding: 12px 14px; color: #fff;
}
.phone-bar b { display: block; font-size: .95rem; }
.phone-bar small { color: #9aa6bc; font-size: .72rem; }
.chips { display: flex; gap: 6px; }
.chip { font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.08); }
.chip.coin::before { content: "●"; color: #f5a623; margin-right: 4px; }
.board {
  display: grid; grid-template-columns: repeat(9, 1fr); margin: 10px 0;
  border: 2px solid #9aa3b3; border-radius: 6px; overflow: hidden; background: #000;
}
.board span {
  aspect-ratio: 1; display: grid; place-items: center;
  font-weight: 800; font-size: clamp(.8rem, 3.4vw, 1.05rem);
  border-right: 1px solid rgba(128,128,128,.35); border-bottom: 1px solid rgba(128,128,128,.35);
}
.board .d { background: #0d0d0f; color: #f4f6fa; }
.board .l { background: linear-gradient(135deg, #f3f4f6, #d4d7dd); color: #1b1f27; }
.board .sel { box-shadow: inset 0 0 0 3px #ff6b8a; }
.board .new { color: #ff5c7a; }
.board .l.new { color: #d6265a; }
.pad { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.pad span {
  text-align: center; font-weight: 800; color: #fff; font-size: .9rem; padding: 7px 0;
  background: #262d3b; border-radius: 8px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
}
.float-card {
  position: absolute; display: flex; gap: 10px; align-items: center;
  background: rgba(21, 29, 46, 0.92); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  animation: bob 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: .9rem; }
.float-card small { color: var(--muted); font-size: .76rem; }
.fc-icon { font-size: 1.5rem; }
.fc-1 { left: 0; top: 18%; }
.fc-2 { right: 0; bottom: 14%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Kennzahlen */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.stats-inner div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stats-inner b { font-size: 1.9rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-inner span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

/* Abschnitte */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: linear-gradient(var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p:last-child { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.card-icon svg { width: 26px; height: 26px; }
.c-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.c-teal { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.c-red { background: linear-gradient(135deg, #fb7185, #be123c); }
.c-green { background: linear-gradient(135deg, #4ade80, #15803d); }
.c-amber { background: linear-gradient(135deg, #fcd34d, #d97706); }
.c-purple { background: linear-gradient(135deg, #c084fc, #7c3aed); }

.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 22px 20px;
  border: 1px solid var(--line); background: var(--surface);
}
.game::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }
.game::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--accent); opacity: .12; filter: blur(4px);
}
.game h3 { margin-top: 10px; }
.game p { color: var(--muted); margin: 0; font-size: .96rem; }
.game-emoji { font-size: 1.8rem; }
.g-orange { --accent: #f97316; } .g-violet { --accent: #8b5cf6; } .g-red { --accent: #ef4444; }
.g-indigo { --accent: #6366f1; } .g-blue { --accent: #3b82f6; } .g-teal { --accent: #14b8a6; }

/* Gemeinsam */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; color: #c9d2e3; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 900; color: #fff; background: var(--grad);
}
.checks b { color: var(--text); }
.podium {
  display: flex; align-items: flex-end; gap: 10px; padding: 26px 20px 0; border-radius: 24px;
  background: linear-gradient(180deg, #2d1b47, var(--surface)); border: 1px solid var(--line);
}
.podium-col { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.podium-col b { font-size: .95rem; margin-top: 6px; }
.podium-col small { color: var(--muted); font-size: .8rem; margin-bottom: 8px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; color: #3d2a00; }
.crown { font-size: 1.6rem; margin-bottom: 4px; }
.step { width: 100%; border-radius: 14px 14px 0 0; display: grid; place-items: center; font-size: 1.6rem; font-weight: 900; color: #3d2a00; }
.p1 .avatar, .p1 .step { background: linear-gradient(#ffd54f, #f0a500); }
.p2 .avatar, .p2 .step { background: linear-gradient(#cfd8dc, #90a4ae); }
.p3 .avatar, .p3 .step { background: linear-gradient(#e0a26b, #b06a2e); color: #fff; }
.p1 .avatar { width: 62px; height: 62px; }
.p1 .step { height: 120px; } .p2 .step { height: 86px; } .p3 .step { height: 62px; }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li > span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); font-weight: 900; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Fragen */
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 10px; padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: #ff8fa6; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Abschluss */
.cta { padding: 0 0 clamp(64px, 9vw, 110px); }
.cta-inner {
  text-align: center; border-radius: 28px; padding: clamp(36px, 6vw, 64px) 24px;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(255, 92, 122, 0.25), transparent 70%),
    linear-gradient(160deg, #2a1d45, #151d2e);
  border: 1px solid var(--line);
}
.cta-inner img { margin: 0 auto 16px; border-radius: 18px; box-shadow: var(--shadow); }
.cta-inner p { color: var(--muted); }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); background: #080c15; padding: 36px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Rechtstexte */
.legal-page { padding: 48px 0 80px; }
.legal {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(22px, 5vw, 48px);
}
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: #c9d2e3; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .35em; }
.legal strong { color: var(--text); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--text); }

/* Fehlerseite */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.notfound .big { font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; }

/* Tablet */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .cards, .games { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .phone { transform: none; }
}

/* Handy */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 16, 27, 0.97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cards, .games, .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Handy/Tablet vs. PC (setzt install.js über die Klasse is-mobile auf <html>) */
.only-mobile { display: none !important; }
html.is-mobile .only-mobile { display: inline-flex !important; }
html.is-mobile p.only-mobile { display: block !important; }
html.is-mobile .only-desktop { display: none !important; }
button.btn { font: inherit; font-weight: 800; cursor: pointer; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Anleitung „App herunterladen“ */
.inst-backdrop {
  position: fixed; inset: 0; z-index: 2147482000; background: rgba(3, 6, 12, 0.7);
  display: flex; align-items: flex-end; justify-content: center; padding: 12px;
}
.inst-sheet {
  width: min(520px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 22px 20px 18px; box-shadow: var(--shadow);
}
.inst-sheet h2 { font-size: 1.25rem; margin-bottom: .3em; display: flex; align-items: center; gap: 10px; }
.inst-sheet h2 img { border-radius: 10px; }
.inst-sheet p { color: var(--muted); font-size: .95rem; }
.inst-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: i; }
.inst-steps li {
  counter-increment: i; position: relative; padding: 10px 0 10px 44px; border-top: 1px solid var(--line); color: #dbe2ee;
}
.inst-steps li::before {
  content: counter(i); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 900; background: var(--grad); color: #fff;
}
.inst-sheet .btn { width: 100%; }

/* Name im Mittelpunkt */
.hero h1.hero-name { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: .05em; letter-spacing: -0.04em; }
.hero-claim { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin: 0 0 .6em; letter-spacing: -0.02em; }
.name-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px; text-decoration: none; font-size: .9rem; color: #dbe2ee;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.name-pill b { color: #ff8fa6; }
.name-pill i { color: var(--muted); font-style: normal; }
.name-pill:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.store-hint { color: #c9d2e3; font-size: .95rem; }
.store-hint svg { width: 18px; height: 18px; fill: #ff8fa6; display: inline-block; vertical-align: -4px; margin-right: 6px; }
.store-hint b { color: #fff; }

.muted { color: var(--muted); }
.name-section { background: radial-gradient(700px 360px at 80% 40%, rgba(255, 92, 122, 0.12), transparent 70%); }
.name-card {
  background: linear-gradient(160deg, #2a1d45, var(--surface)); border: 1px solid var(--line);
  border-radius: 26px; padding: 26px 22px; box-shadow: var(--shadow); text-align: center;
}
.name-parts { display: flex; align-items: center; justify-content: center; gap: 14px; }
.part { background: rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 12px 18px; min-width: 120px; }
.part .big { display: block; font-size: 1.7rem; font-weight: 700; color: var(--muted); }
.part .big b { color: #fff; font-weight: 900; }
.part small, .name-result small, .name-total small, .name-suji small { display: block; color: var(--muted); font-size: .82rem; }
.plus, .arrow { font-size: 1.6rem; font-weight: 900; color: #ff8fa6; }
.arrow { margin: 6px 0; }
.name-result .grad, .name-total .grad { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; }
.name-suji {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 0; padding: 12px 18px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.05); width: fit-content; text-align: left;
}
.name-suji .kanji { font-size: 2rem; font-weight: 700; color: #fff; }
.name-suji b { font-size: 1.15rem; }
.name-total { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.15); }
.name-total .grad { font-size: 2.6rem; }
.remember { font-weight: 800; font-size: 1.15rem; color: #fff !important; }
.remember .grad { font-size: 1.4rem; }

/* ---------------------------------------------------------------- Themen- und Ratgeberseiten */
.nav a[aria-current="page"] { color: var(--text); }
.page { padding: 34px 0 72px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs [aria-current] { color: #c9d2e3; }
.page-head { margin-bottom: 30px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 900; letter-spacing: -0.03em; }
.page-head .lead { max-width: none; }
.page-meta { color: var(--muted); font-size: .86rem; }
.page-meta a { color: var(--muted); }
.prose { font-size: 1.04rem; line-height: 1.7; }
.prose > * { max-width: 100%; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 1.9em; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; scroll-margin-top: 80px; }
.prose p, .prose li { color: #c9d2e3; }
.prose strong, .prose b { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose .answer {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--pink);
  border-radius: 14px; padding: 16px 20px; margin: 0 0 1.4em;
}
.prose .answer p:last-child { margin: 0; }
.prose .tip {
  background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 14px; padding: 14px 18px; margin: 1.2em 0;
}
.prose .tip p:last-child { margin: 0; }
.prose .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; margin-bottom: 1.6em; }
.prose .toc b { display: block; margin-bottom: 6px; }
.prose .toc ol { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: #c9d2e3; }
.prose .yes { color: #4ade80; font-weight: 800; }
.prose .no { color: #fb7185; font-weight: 800; }
.prose .faq { margin-top: .6em; }
.prose .faq summary { font-size: 1.02rem; }
.prose .faq details p { color: #c9d2e3; }
.mini-grid {
  display: grid; gap: 2px; background: #000; border: 3px solid #000; border-radius: 10px; overflow: hidden;
  width: min(100%, 300px); aspect-ratio: 1; margin: 6px auto 1.4em; font-weight: 800;
}
.mini-grid span { display: grid; place-items: center; background: #f3f4f6; color: #1b1f27; font-size: clamp(.8rem, 3.6vw, 1.1rem); }
.mini-grid span.d { background: #dde1e7; }
.mini-grid span.hl { background: #ffd5df; }
.mini-grid span.hit { background: #ff6b8a; color: #fff; }
.figure-caption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: -1em; margin-bottom: 1.6em; }
.cta-box {
  display: flex; align-items: center; gap: 18px; margin: 44px 0 10px; padding: 22px 24px;
  background: linear-gradient(120deg, rgba(255,107,138,.14), rgba(124,108,255,.14));
  border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
}
.cta-box img { border-radius: 14px; flex: none; }
.cta-box div { flex: 1; }
.cta-box b { display: block; font-size: 1.1rem; }
.cta-box p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.cta-box .btn { flex: none; }
.related { margin-top: 48px; }
.related h2 { font-size: 1.35rem; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 1.2em; }
.topic {
  display: block; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.topic:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.topic b { display: block; color: var(--text); margin-bottom: 4px; }
.topic span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.home-topics .topics { grid-template-columns: repeat(3, 1fr); }

/* Fußzeile mit Themen */
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-about p { margin: 12px 0 0; font-size: .9rem; line-height: 1.55; max-width: 30em; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col b { color: var(--text); font-size: .95rem; margin-bottom: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 18px; font-size: .86rem; }

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .home-topics .topics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topics, .home-topics .topics { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Startseite: Titelzeile und Themen */
.hero-name .hero-claim { display: block; margin-top: .25em; line-height: 1.2; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: #fff; text-decoration: underline; }
.checks a, .section-head a { color: #c7b6ff; }
.topics-title { font-size: 1.05rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 26px 0 12px; }
.mini-grid span.br { border-right: 2px solid #000; }
.mini-grid span.bb { border-bottom: 2px solid #000; }
