/* Fernwartung – Downloadseiten. Nur Systemschriften, keine fremden Inhalte. */
:root {
  --bg: #f3f6fa;
  --card: #ffffff;
  --text: #1c2733;
  --muted: #5b6876;
  --line: #dde3ea;
  --accent: #1f7fd1;
  --accent-text: #ffffff;
  --accent-soft: #e6f1fb;
  --link: #1667ad;
  --header: #ffffff;
  --note: #fff7e6;
  --note-line: #f0d9a8;
  --radius: 14px;
}

body.carspider {
  --bg: #17191b;
  --card: #222528;
  --text: #eceeef;
  --muted: #a3a9ae;
  --line: #34383c;
  --accent: #cfe02f;
  --accent-text: #17191b;
  --accent-soft: #2b2f1c;
  --link: #cfe02f;
  --header: #111214;
  --note: #2a2618;
  --note-line: #4d4527;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--link); }

header.top {
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; min-height: 76px; }
header.top img { display: block; height: 52px; width: auto; }
header.top .brand-text { font-weight: 650; font-size: 18px; color: var(--text); text-decoration: none; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

main.wrap { padding-top: 36px; padding-bottom: 24px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
h2 { font-size: 19px; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 18px 0 6px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 20px;
}

.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 24px; }

a.dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
a.dl:hover { border-color: var(--accent); }
a.dl:active { transform: translateY(1px); }
a.dl .dl-title { font-size: 18px; font-weight: 650; }
a.dl .dl-meta { font-size: 14px; color: var(--muted); }
a.dl .dl-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  visibility: hidden;
}
a.dl.recommended { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
a.dl.recommended .dl-meta { color: var(--accent-text); opacity: .85; }
a.dl.recommended .dl-badge { visibility: visible; color: var(--accent-text); }

ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 12px 40px; }
ol.steps li:last-child { padding-bottom: 0; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
body.pas ol.steps li::before { color: var(--link); }

.os-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.os-notes p { margin: 0; color: var(--muted); font-size: 15px; }
.os-notes h3 { margin-top: 0; }

.note { background: var(--note); border-color: var(--note-line); }
.note p { margin: 0; }

.check { font-size: 13px; color: var(--muted); word-break: break-all; }
.check summary { cursor: pointer; }
.check code { font-size: 12px; }

.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 20px; }
.prose .muted { color: var(--muted); }

.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
a.tile {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; padding: 18px;
  border-radius: var(--radius); border: 2px solid var(--line);
  background: var(--card); text-decoration: none;
}
a.tile:hover { border-color: var(--accent); }
a.tile.dark { background: #17191b; border-color: #17191b; }
a.tile img { max-width: 100%; height: 58px; width: auto; }

footer.wrap { padding-top: 20px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; }
footer a { color: var(--muted); }

@media (max-width: 600px) {
  h1 { font-size: 25px; }
  .lead { font-size: 16px; }
  .downloads, .os-notes, .choose { grid-template-columns: 1fr; }
  header.top img { height: 42px; }
  .card { padding: 18px; }
  main.wrap { padding-top: 24px; }
}
