:root {
  color-scheme: dark;
  --bg: #121214;
  --bg2: #19191d;
  --panel: #1f1f24;
  --panel2: #26262c;
  --line: #34343c;
  --ink: #ece6da;
  --muted: #b3ac9f;
  --accent: #e0a23c;
  --accent-2: #f2c46b;
  --blood: #c2412d;
  --ally: #4b9be0;
  --ok: #7fbf6a;
  --crit: #f2c46b;
  --miss: #8a8a94;
  --heavy: #6e6a63;
  --light: #8c7a52;
  --radius: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; color: var(--ink); line-height: 1.55;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(224,162,60,0.12), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(194,65,45,0.10), transparent 60%),
    var(--bg);
}
a { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 0.8em; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--panel); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: 0.88rem; color: var(--muted); }
.muted { color: var(--muted); }
.fine { font-size: 0.82rem; color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18,18,20,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 800; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
.brand em { font-style: normal; color: var(--accent); }
.toc { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
.toc::-webkit-scrollbar { display: none; }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 999px; font-size: 0.9rem; white-space: nowrap; }
.toc a:hover, .toc a.on { color: var(--ink); background: var(--panel2); }

/* hero */
.hero { padding: 56px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25)); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent); font-weight: 700; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 900; letter-spacing: -0.03em; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--ink); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; text-decoration: none;
  background: var(--accent); color: #1b1408; padding: 11px 20px; border-radius: 10px; box-shadow: 0 3px 0 #8a5a14; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a5a14; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.facts li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.facts b { display: block; font-size: 1.7rem; color: var(--accent); font-weight: 900; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 0.9rem; }

/* sections */
.sec { padding: 56px 16px 8px; }
.num { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 8px; background: var(--accent); color: #1b1408; font-size: 0.8em; font-weight: 900; flex: none; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.tile, .panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tile p, .panel p { margin: 0; color: var(--ink); }
.tile .ic { width: 44px; height: 44px; color: var(--accent); margin-bottom: 8px; }
.note { background: var(--bg2); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--ink); }
.callout { background: rgba(194,65,45,0.12); border: 1px solid rgba(194,65,45,0.45); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.callout.tip { background: rgba(127,191,106,0.10); border-color: rgba(127,191,106,0.45); }
.sub { margin-top: 28px; }

.figure { margin: 22px 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* flow */
.flow .tp > rect:first-child { fill: var(--bg2); stroke: var(--line); stroke-width: 2; }
.flow .ph-s { fill: rgba(75,155,224,0.18); stroke: var(--ally); }
.flow .ph-f { fill: rgba(194,65,45,0.22); stroke: var(--blood); }
.flow text { fill: var(--ink); text-anchor: middle; font-weight: 700; }
.flow .t-h { font-size: 18px; fill: var(--accent); }
.flow .t-p { font-size: 18px; }
.flow .t-end { font-size: 16px; fill: var(--muted); }
.flow .arrows { color: var(--accent); stroke: var(--accent); stroke-width: 3; fill: none; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 4px; }
.dot.s { background: var(--ally); }
.dot.f { background: var(--blood); }
.steps { margin: 0; padding-left: 1.2em; }
.steps li { margin-bottom: 8px; }

.alt { margin: 18px 0; }
.alt-cap { font-weight: 700; }
.alt-row { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 10px; }
.alt-row li { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 0.85rem;
  opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.3s; }
.alt-row li.in { opacity: 1; transform: none; }
.alt-row li.b { background: rgba(75,155,224,0.25); border: 2px solid var(--ally); }
.alt-row li.r { background: rgba(194,65,45,0.25); border: 2px solid var(--blood); }
.alt-row li.k { background: transparent; border: 2px dashed var(--blood); }

/* datacard */
.card-demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin: 18px 0; align-items: start; }
.datacard { background: linear-gradient(160deg, #2b2a26, #1c1b19); border: 2px solid #4a4434; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -20px #000; color: #ece6da; }
.dc-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(90deg, #5a3a12, #2c2318); border-bottom: 2px solid #4a4434; }
.dc-name { margin: 0; font-weight: 900; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.dc-sub { margin: 0; font-size: 0.8rem; color: #c9b88f; }
.dc-skull { width: 36px; height: 36px; color: #e0a23c; }
.dc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; }
.stat { font: inherit; cursor: pointer; background: #12110f; border: 2px solid #4a4434; border-radius: 12px; color: #ece6da; padding: 8px 4px; display: grid; gap: 2px; text-align: center; }
.stat span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #c9b88f; }
.stat b { font-size: 1.5rem; font-weight: 900; }
.stat:hover, .stat.on, .th.on, .th:hover { border-color: var(--accent); color: var(--accent-2); }
.dc-weap { width: 100%; border-collapse: collapse; font-size: 0.9rem; table-layout: auto; }
.dc-weap th, .dc-weap td { padding: 8px 6px; text-align: center; border-top: 1px solid #3a3528; }
.dc-weap th:first-child, .dc-weap td:first-child { text-align: left; padding-left: 14px; }
.dc-weap td:last-child { font-size: 0.8rem; color: #c9b88f; }
.th { min-height: 36px; min-width: 36px; font: inherit; font-weight: 800; cursor: pointer; background: none; color: #c9b88f; border: 1px solid transparent; border-radius: 6px; padding: 2px 6px; }
.wt { color: var(--accent); }
.explain { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 140px; position: sticky; top: 72px; }
.ex-k { font-weight: 900; color: var(--accent); font-size: 1.1rem; margin-bottom: 6px; }

/* orders */
.order { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.order .token svg { width: 56px; height: 56px; fill: none; stroke-width: 2.5; }
.order.engage .token svg { stroke: #f08a6c; }
.order.engage .token circle:first-child { fill: rgba(194,65,45,0.25); }
.order.conceal .token svg { stroke: #8fc1ec; }
.order.conceal .token circle:first-child { fill: rgba(75,155,224,0.22); }
.order h3 small { color: var(--muted); font-weight: 600; }
.order p { margin: 0; }

.actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.act { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.act-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.act-h b { font-size: 1.02rem; }
.act-h small { color: var(--muted); font-weight: 600; }
.ap { display: inline-flex; gap: 3px; }
.ap i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); display: inline-block; }
.act p { margin: 0; font-size: 0.92rem; }
.act .no { font-size: 0.82rem; color: var(--muted); }

.moves .board, .terrain .board { fill: var(--bg2); }
.grid-l { stroke: var(--line); stroke-width: 1; }
.r-charge { fill: rgba(194,65,45,0.12); stroke: var(--blood); stroke-width: 2; stroke-dasharray: 6 5; }
.r-move { fill: rgba(224,162,60,0.12); stroke: var(--accent); stroke-width: 2; }
.r-dash { fill: rgba(75,155,224,0.18); stroke: var(--ally); stroke-width: 2; }
.me { fill: var(--ally); stroke: #fff; stroke-width: 2; }
.foe { fill: var(--blood); stroke: #fff; stroke-width: 2; }
.ctrl { fill: none; stroke: var(--blood); stroke-width: 2; stroke-dasharray: 3 3; }
.r-lab text { fill: var(--ink); font-size: 15px; text-anchor: middle; font-weight: 800; paint-order: stroke; stroke: var(--bg2); stroke-width: 4px; }
.r-lab2, .r-lab3 { fill: var(--muted); font-size: 13px; text-anchor: middle; }
.legend text { fill: var(--ink); font-size: 15px; }
.lg-dash { fill: rgba(75,155,224,0.5); }
.lg-move { fill: rgba(224,162,60,0.5); }
.lg-charge { fill: rgba(194,65,45,0.5); }

/* pipeline */
.pipeline { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pipeline li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; position: relative; }
.pipeline li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1b1408; display: grid; place-items: center; font-weight: 900; }
.pipeline p { margin: 4px 0 0; font-size: 0.92rem; color: var(--muted); }

/* dice */
.dice { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.d { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 1.2rem; border: 2px solid; position: relative; transition: transform 0.2s, opacity 0.2s; }
.d.ok { background: rgba(127,191,106,0.15); border-color: var(--ok); color: var(--ok); }
.d.crit { background: rgba(242,196,107,0.2); border-color: var(--crit); color: var(--crit); box-shadow: 0 0 14px rgba(242,196,107,0.35); }
.d.miss { background: transparent; border-color: var(--miss); color: var(--miss); }
.d.auto::after { content: "D"; position: absolute; top: -8px; right: -8px; font-size: 0.6rem; background: var(--ally); color: #fff; border-radius: 6px; padding: 1px 4px; }
.d.gone { opacity: 0.25; text-decoration: line-through; }
.d.rolling { animation: roll 0.45s ease; }
@keyframes roll { 0% { transform: rotate(-200deg) scale(0.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.dex-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dex-h { font-weight: 800; margin: 0; }

/* terrain */
.terrain-demo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; margin: 18px 0; }
.terrain { width: 100%; height: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.t-light { fill: var(--light); stroke: #c2a86e; stroke-width: 2; }
.t-heavy { fill: var(--heavy); stroke: #a39d92; stroke-width: 2; }
.t-labels text { fill: var(--muted); font-size: 13px; text-anchor: middle; }
.shooter { cursor: pointer; }
.shooter text { fill: #fff; font-size: 13px; font-weight: 900; text-anchor: middle; pointer-events: none; }
.shooter:hover circle, .shooter:focus circle, .shooter.on circle { stroke: var(--accent); stroke-width: 4; }
.shooter:focus { outline: none; }
.shooter:focus-visible circle { stroke: var(--accent-2); stroke-width: 5; stroke-dasharray: 6 3; }
.los { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 8 6; }
.los.blocked { stroke: var(--blood); }
.cover-ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 4; }
.small-tiles .tile p { font-size: 0.93rem; }

/* VP */
.vp { margin: 18px 0; }
.vp-bar { display: flex; gap: 4px; height: 70px; }
.vp-seg { flex: var(--w); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; color: #1b1408; min-width: 0; }
.vp-seg b { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-seg span { font-size: 0.82rem; }
.vp-seg.crit { background: var(--accent); }
.vp-seg.kill { background: #e07a5f; }
.vp-seg.bonus { background: #8fc1ec; }
.vp-seg.tac { background: #b6d98f; }
.vp-scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* faq */
.faq { display: grid; gap: 8px; margin: 14px 0; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--ink); }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; counter-reset: c; }
.checklist li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; width: 100%; }
.checklist input { margin-top: 3px; flex: none; accent-color: var(--accent); width: 18px; height: 18px; }
.checklist li.done { opacity: 0.55; }
.checklist li.done b { text-decoration: line-through; }
.checklist .cl-t { display: grid; gap: 2px; }
.checklist small { color: var(--muted); font-size: 0.88rem; }
.progress { height: 8px; background: var(--panel2); border-radius: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ok); transition: width 0.3s; }

.links li { margin-bottom: 6px; }
.foot { margin-top: 48px; border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

@media (max-width: 820px) {
  .hero-grid, .card-demo, .terrain-demo { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .explain { position: static; }
}
@media (max-width: 600px) {
  .cols-2, .dex-row { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .facts b { font-size: 1.4rem; }
  .vp-bar { height: 62px; }
  .vp-seg { padding: 6px 6px; }
  .vp-seg b { font-size: 0.8rem; }
  .vp-seg span { font-size: 0.72rem; }
  .dc-weap { font-size: 0.8rem; }
  .dc-weap th, .dc-weap td { padding: 6px 2px; }
  .dc-weap td:last-child { font-size: 0.72rem; }
  .th { padding: 2px 3px; }
  .stat b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d.rolling { animation: none; }
  .alt-row li { transition: none; }
}

/* ===== gemeinsame Bausteine ===== */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 12px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl thead th { border-top: 0; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--bg2); }
.tbl-wrap { overflow-x: auto; margin: 12px 0; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(90deg, var(--bg), rgba(18,18,20,0)) left center / 28px 100% no-repeat local,
    linear-gradient(270deg, var(--bg), rgba(18,18,20,0)) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.55), rgba(0,0,0,0)) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.55), rgba(0,0,0,0)) right center / 12px 100% no-repeat scroll; }
.tbl-wrap > .tbl { margin: 0; }
.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.list li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.list li b { display: block; margin-bottom: 2px; }
.list li span { color: var(--muted); font-size: 0.92rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); color: var(--muted); margin: 0 4px 4px 0; }
.steps-num { counter-reset: s; list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.steps-num li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 52px; position: relative; }
.steps-num li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #1b1408; font-weight: 900; font-size: 0.9rem; }
.merke { position: relative; margin: 26px 0 8px; padding: 20px 18px 14px; border: 1px solid var(--accent); border-radius: var(--radius); background: rgba(224,162,60,0.06); }
.merke::before { content: "Merke"; position: absolute; top: -0.8em; left: 14px; padding: 1px 12px; background: var(--accent); color: #1b1408; font-weight: 900; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; }
.merke > :last-child { margin-bottom: 0; }
.merke > b:first-child { color: var(--accent-2); }
.wr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 12px 0; }
.wr-list > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; }
.wr-list b { display: block; color: var(--accent-2); margin-bottom: 2px; }
.wr-list span { color: var(--muted); font-size: 0.92rem; }
.dc-weap td:first-child { white-space: nowrap; }
.cl-reset { margin-top: 10px; padding: 8px 16px; font-size: 0.9rem; }

/* Lesbarkeit */
.sec > p { max-width: 72ch; }
.sec .figure p, .sec .tile p, .sec .panel p, .sec .merke p, .sec .callout p { max-width: none; }

/* Fokus */
a:focus-visible, button:focus-visible, summary:focus-visible, .stat:focus-visible, .th:focus-visible, input:focus-visible, [tabindex]:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.toc a[aria-current="true"] { color: var(--ink); background: var(--panel2); }

/* Handy */
@media (max-width: 600px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .explain { min-height: 0; }
  .th { min-height: 36px; min-width: 32px; }
  .dc-weap td:first-child { padding-left: 8px; }
  .tbl-wrap > .tbl { min-width: 520px; }
  .figure:has(svg.flow) { overflow-x: auto; }
  .figure svg.flow { min-width: 640px; }
  .r-lab text { font-size: 22px; stroke-width: 5px; }
  .r-lab2, .r-lab3 { font-size: 19px; }
  .legend text { font-size: 20px; }
  .t-labels text { font-size: 19px; }
  .shooter text { font-size: 18px; }
  .merke { padding-inline: 14px; }
}

/* ===== Druck ===== */
@media print {
  :root { color-scheme: light; --bg: #fff; --bg2: #f3f1ec; --panel: #fff; --panel2: #eceae4; --line: #bbb; --ink: #111; --muted: #444; --accent: #8a5a14; --accent-2: #6b4410; --miss: #666; }
  html { font-size: 11pt; scroll-behavior: auto; }
  body { background: #fff !important; color: #111; }
  .top, .toc, .hero-cta, .skip, .btn, button.btn, .cl-reset, #print-spick, .progress { display: none !important; }
  .wrap, .sec { width: 100%; max-width: none; }
  .sec { padding-top: 20px; }
  a { color: #000; text-decoration: underline; }
  .tile, .panel, .act, .order, .figure, .datacard, .pipeline li, .list li, .wr-list > div, .steps-num li, .merke, .callout, .checklist li, .faq details, .tbl tr, .vp-seg, .terrain-demo, .card-demo { break-inside: avoid; page-break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .faq details > * { display: block; }
  .faq summary::after { content: ""; }
  .explain { position: static; }
  .figure, .figure:has(svg.flow) { overflow: visible; }
  .figure svg.flow { min-width: 0; }
  .alt-row li { opacity: 1; transform: none; }
  .d, .vp-seg, .tag, .num, .ap i, .steps-num li::before, .pipeline li > span, .merke::before, .dot, .progress i, svg, .alt-row li, .datacard, .dc-head {
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tbl-wrap { background: none; overflow: visible; }
  body.print-spick .top, body.print-spick .hero, body.print-spick .foot { display: none !important; }
  body.print-spick main > *:not(#spickzettel):not(.has-spick), body.print-spick body > *:not(main):not(.has-spick) { display: none !important; }
  body.print-spick #spickzettel { display: block !important; }
  .tbl-hint { display: none; }
}
/* Würfel im Fließtext */
p .dice, .note .dice { display: inline-flex; vertical-align: middle; gap: 4px; margin: 0 2px; }
p .dice .d, .note .dice .d { width: 26px; height: 26px; font-size: 0.85rem; border-radius: 6px; border-width: 1.5px; }
/* Raster: Kacheln nicht künstlich strecken */
.cols-2, .cols-3, .small-tiles { align-items: start; }

/* Breite Tabellen: Wisch-Hinweis und Randverlauf (die Klassen setzt das Seitenskript) */
.tbl-hint { margin: 10px 0 -6px; font-size: 0.85rem; color: var(--muted); }
.tbl-wrap.is-wide { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.tbl-wrap.is-wide.scrolled { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 40px), transparent); }
.tbl-wrap.is-wide.scrolled.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
.tbl-wrap.is-wide.at-end:not(.scrolled) { -webkit-mask-image: none; mask-image: none; }
