:root {
  --navy-900: #0a1f44;
  --navy-800: #102a5a;
  --navy-700: #16346b;
  --navy-100: #e8eef9;
  --teal: #4fd1c5;
  --teal-600: #1f9e93;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f0f3f9;
  --text: #0f1b33;
  --muted: #5b6782;
  --border: #e1e6f0;
  --brand: var(--navy-800);
  --brand-contrast: #ffffff;
  --accent: var(--teal-600);

  --ok: #16834f; --ok-soft: #e3f5ec;
  --no: #8a93a6; --no-soft: #eef1f6;
  --sep: #a26a00; --sep-soft: #fdf2dc;
  --unk: #6b7590; --unk-soft: #eef1f6;
  --warn: #b25a00;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,31,68,.06);
  --shadow: 0 1px 2px rgba(10,31,68,.05), 0 8px 24px rgba(10,31,68,.07);
  --shadow-lg: 0 24px 64px rgba(10,31,68,.22);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1222; --surface: #121b30; --surface-2: #18233c; --text: #e8edf7; --muted: #9aa6c0; --border: #253250;
    --brand: #7fa6ff; --brand-contrast: #0b1222; --accent: #4fd1c5;
    --ok: #4fd18b; --ok-soft: #12301f; --no: #7d879c; --no-soft: #1a2338; --sep: #e2b354; --sep-soft: #33280f; --unk: #9aa6c0; --unk-soft: #1a2338;
    --navy-100: #1a2742; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1222; --surface: #121b30; --surface-2: #18233c; --text: #e8edf7; --muted: #9aa6c0; --border: #253250;
  --brand: #7fa6ff; --brand-contrast: #0b1222; --accent: #4fd1c5;
  --ok: #4fd18b; --ok-soft: #12301f; --no: #7d879c; --no-soft: #1a2338; --sep: #e2b354; --sep-soft: #33280f; --unk: #9aa6c0; --unk-soft: #1a2338;
  --navy-100: #1a2742; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
button { font: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { margin-right: 10px; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--teal-600); font-weight: 800; }
nav.top { display: flex; gap: 6px; align-items: center; }
nav.top a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
nav.top a:hover { color: var(--text); background: var(--surface-2); }
nav.top a.cta { background: var(--navy-800); color: #fff; }
nav.top a.cta:hover { background: var(--navy-700); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(79,209,197,.28), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0 16px; font-weight: 800; }
.hero h1 span { color: var(--teal); }
.hero p.lead { font-size: 1.12rem; color: #c9d5ee; max-width: 560px; margin: 0 0 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--teal); color: var(--navy-900); }
.btn.primary:hover { background: #6ee0d6; }
.btn.ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn.ghost:hover { background: rgba(255,255,255,.18); }
.btn.dark { background: var(--navy-800); color: #fff; }
.btn.dark:hover { background: var(--navy-700); }
.btn.line { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn.line:hover { border-color: var(--brand); }
.btn.sm { padding: 7px 14px; font-size: .85rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.stats div b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stats div span { color: #a9b8d8; font-size: .85rem; }

.hero-card { background: rgba(255,255,255,.96); color: #0f1b33; border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.hero-card .hc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hero-card .hc-title { font-weight: 800; }
.hero-card .hc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #e8edf6; font-size: .9rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: #e3f5ec; color: #16834f; }
.pill.no { background: #eef1f6; color: #6b7590; }
.pill.sep { background: #fdf2dc; color: #a26a00; }

/* ---------- Sections ---------- */
section.sec { padding: 48px 0 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.02em; margin: 0; }
.sec-head p { color: var(--muted); margin: 6px 0 0; max-width: 680px; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; font-size: .9rem; margin-right: 10px; vertical-align: 3px; }

/* Presets */
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.preset { text-align: left; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.preset:hover { border-color: var(--brand); transform: translateY(-2px); }
.preset[aria-pressed="true"] { border-color: var(--teal-600); background: color-mix(in srgb, var(--teal) 12%, var(--surface)); }
.preset .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-100); color: var(--brand); margin-bottom: 10px; }
.preset b { display: block; font-size: .95rem; }
.preset small { color: var(--muted); font-size: .8rem; }

/* Picker */
.picker { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: .95rem; }
.group h3 .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--navy-100); color: var(--brand); }
.art { border-top: 1px solid var(--border); padding: 9px 0; }
.art:first-of-type { border-top: 0; }
.art-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.toggle input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--border); position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.toggle input:checked { background: var(--teal-600); }
.toggle input:checked::after { left: 19px; }
.info { background: none; border: 0; color: var(--muted); cursor: pointer; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.info:hover { background: var(--surface-2); color: var(--text); }
.art-opts { display: none; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; padding-left: 48px; font-size: .84rem; color: var(--muted); }
.art.on .art-opts { display: flex; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .8rem; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.minchf { display: inline-flex; align-items: center; gap: 6px; }
.minchf input { width: 92px; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .84rem; }
.art-help { display: none; font-size: .84rem; color: var(--muted); margin: 6px 0 0 48px; }
.art.help .art-help { display: block; }

/* ---------- Results layout ---------- */
.results { display: grid; grid-template-columns: 270px 1fr; gap: 20px; align-items: start; margin-top: 8px; }
aside.filters { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
aside.filters h3 { margin: 0 0 12px; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.fblock { border-top: 1px solid var(--border); padding: 12px 0; }
.fblock:first-of-type { border-top: 0; padding-top: 0; }
.fblock > b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.search { width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 5px 11px; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; cursor: pointer; margin: 6px 0; }
.check input { margin-top: 4px; accent-color: var(--teal-600); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); cursor: pointer; font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .count { font-weight: 700; }
.toolbar .count small { color: var(--muted); font-weight: 500; }
.toolbar .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
select.sel { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; }
.filter-open { display: none; }

/* Cards */
.cards { display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); }
.card.cmp-on { border-color: var(--teal-600); box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 40%, transparent); }
.card-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.mono { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; letter-spacing: -.02em; }
.card-title { min-width: 0; }
.card-title .k { color: var(--muted); font-size: .84rem; font-weight: 600; }
.card-title .n { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag.src { background: var(--ok-soft); color: var(--ok); }
.tag.portal { background: var(--unk-soft); color: var(--unk); }
.tag.req { background: var(--sep-soft); color: var(--sep); }
.match { text-align: right; min-width: 110px; }
.match b { font-size: 1.25rem; font-weight: 800; }
.match small { display: block; color: var(--muted); font-size: .78rem; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-600), var(--teal)); border-radius: 999px; }
.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 14px; }
.line { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; background: var(--surface-2); font-size: .88rem; }
.line .lbl { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.line .val { font-weight: 600; }
.val small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.line.fail { outline: 1.5px dashed color-mix(in srgb, var(--warn) 60%, transparent); }
.st { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 1px; }
.st.gedeckt { background: var(--ok-soft); color: var(--ok); }
.st.nicht { background: var(--no-soft); color: var(--no); }
.st.separat { background: var(--sep-soft); color: var(--sep); }
.st.unbekannt { background: var(--unk-soft); color: var(--unk); }
.unsure { color: var(--warn); font-weight: 700; font-size: .75rem; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cmpbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; cursor: pointer; }
.cmpbox input { width: 18px; height: 18px; accent-color: var(--teal-600); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.hint-pick { background: var(--navy-100); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; font-size: .92rem; }

/* Table view */
.tablewrap { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.tbl { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 720px; font-size: .86rem; }
table.tbl th, table.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.tbl thead th { background: var(--surface-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); position: sticky; top: 0; }
table.tbl td.p { min-width: 180px; position: sticky; left: 0; background: var(--surface); z-index: 1; box-shadow: 1px 0 0 var(--border); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
.tcell { display: flex; gap: 8px; }

/* Compare bar */
.comparebar { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 150%); z-index: 50; background: var(--navy-900); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); transition: transform .25s ease; max-width: calc(100vw - 24px); }
.comparebar.show { transform: translate(-50%, 0); }
.comparebar .dots { display: flex; gap: 4px; }
.comparebar .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.comparebar .dots i.on { background: var(--teal); }
.comparebar .lbl { font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* How it works */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.how div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.how b { display: block; margin: 8px 0 4px; }
.how p { margin: 0; color: var(--muted); font-size: .92rem; }
.how .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-100); color: var(--brand); }
.kassen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 16px; }
.kassen a { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem; }
.kassen a:hover { border-color: var(--brand); }
.kassen .mono { width: 30px; height: 30px; border-radius: 8px; font-size: .7rem; }
.beta { display: flex; gap: 12px; align-items: flex-start; background: var(--sep-soft); border: 1px solid color-mix(in srgb, var(--sep) 30%, transparent); border-radius: var(--radius); padding: 14px 16px; font-size: .9rem; margin-top: 24px; }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: 22px; width: min(860px, calc(100vw - 20px)); max-height: calc(100dvh - 24px); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(6,16,36,.55); backdrop-filter: blur(3px); }
.dlg-head { position: sticky; top: 0; z-index: 2; background: var(--surface); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.dlg-head h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.01em; }
.dlg-body { padding: 16px 20px 22px; }
.x { background: var(--surface-2); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--text); font-size: 1.2rem; line-height: 1; flex: none; }
.dgroup { margin-top: 14px; }
.dgroup h4 { margin: 0 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.drow { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: .92rem; }
.drow .k { font-weight: 700; }
.drow .v small { display: block; color: var(--muted); }
.meta { font-size: .86rem; color: var(--muted); }
.box { background: var(--surface-2); border-radius: 14px; padding: 14px; margin-top: 16px; }
.form { display: grid; gap: 10px; margin-top: 10px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
label.f { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--muted); }
label.f select, label.f input, label.f textarea { font: inherit; font-size: .92rem; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.msg { display: none; font-size: .9rem; padding: 8px 12px; border-radius: 10px; }
.msg.ok { display: block; background: var(--ok-soft); color: var(--ok); }
.msg.err { display: block; background: #fde8e8; color: #b42318; }
.cmp-tbl { overflow-x: auto; position: relative; }
.cmp-tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .88rem; }
.cmp-tbl th, .cmp-tbl td { border-bottom: 1px solid var(--border); padding: 10px; text-align: left; vertical-align: top; }
.cmp-tbl thead th { background: var(--surface-2); position: sticky; top: 0; }
.cmp-tbl tr.grp th { background: var(--navy-100); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.best { display: inline-block; margin-left: 4px; font-size: .7rem; font-weight: 800; color: var(--ok); background: var(--ok-soft); padding: 1px 6px; border-radius: 999px; }
.cmp-tbl td.win { background: color-mix(in srgb, var(--ok-soft) 60%, transparent); }

/* Footer */
footer.site { margin-top: 64px; background: var(--navy-900); color: #b9c5df; padding: 36px 0 48px; font-size: .9rem; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
footer.site a { color: #fff; }
footer.site .brand { color: #fff; }
footer.site .links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

/* Prose pages */
.prose { max-width: 760px; padding: 40px 0; }
.prose h1 { font-size: 2rem; letter-spacing: -.02em; margin-top: 0; }
.prose h2 { font-size: 1.2rem; margin-top: 28px; }

.loading { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .results { grid-template-columns: 1fr; }
  aside.filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 60; max-height: 80dvh; overflow: auto; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  aside.filters.open { transform: translateY(0); }
  .filter-open { display: inline-flex; }
  footer.site .wrap { grid-template-columns: 1fr; }
  footer.site .links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  nav.top a.hide-sm { display: none; }
  .card-head { grid-template-columns: auto 1fr; }
  .match { grid-column: 1 / -1; text-align: left; }
  .drow { grid-template-columns: 1fr; gap: 2px; }
  .art-opts, .art-help { padding-left: 0; margin-left: 0; }
  .stats { gap: 18px; }
}
/* Grosse Bildschirme: Inhalt nutzt mehr Breite, Schrift wächst leicht mit */
@media (min-width: 1440px) {
  .wrap { max-width: 1380px; padding: 0 24px; }
  .results { grid-template-columns: 290px 1fr; gap: 24px; }
}
@media (min-width: 1800px) {
  html { font-size: 17px; }
  body { font-size: 1rem; }
  .wrap { max-width: 1680px; padding: 0 32px; }
  .results { grid-template-columns: 310px 1fr; gap: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .presets { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .picker { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .hero .wrap { padding-top: 72px; padding-bottom: 80px; }
  dialog { width: min(1040px, calc(100vw - 40px)); }
}
@media (min-width: 2300px) {
  html { font-size: 18px; }
  .wrap { max-width: 2000px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
