/* FINLU – gemeinsames Layout für finlu.ch und Subdomains (Subdomains laden https://finlu.ch/assets/finlu.css) */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #18212c;
  --muted: #5a6675;
  --line: #dde3ea;
  --accent: #0b4f8a;
  --accent-soft: #e6eff8;
  --badge: #eef1f5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10161d;
    --surface: #171f28;
    --text: #e6ebf1;
    --muted: #9aa6b4;
    --line: #2a3542;
    --accent: #6aa9e4;
    --accent-soft: #1b2b3d;
    --badge: #222c38;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--line); background: var(--surface); }
header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo b { font-size: 20px; letter-spacing: .08em; }
.logo span { color: var(--muted); font-size: 14px; }

.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 16px; max-width: 18em; }
.hero p { font-size: 18px; color: var(--muted); margin: 0; max-width: 40em; }

section { padding: 24px 0 40px; }
h2 { font-size: 20px; margin: 0 0 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.card h3 { margin: 0; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 999px;
  background: var(--badge); color: var(--muted);
}
a.card { text-decoration: none; color: inherit; transition: border-color .15s; }
a.card:hover { border-color: var(--accent); }
a.card .badge { background: var(--accent-soft); color: var(--accent); }

.empty {
  border: 1px dashed var(--line); border-radius: 10px;
  padding: 20px; color: var(--muted); background: var(--surface);
}

.sources { margin: 0; padding-left: 20px; color: var(--muted); }
.sources li { margin: 4px 0; }

.note {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 20px;
}
.note p { margin: 0 0 8px; }
.note p:last-child { margin: 0; }

footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
footer h4 { margin: 0 0 6px; color: var(--text); font-size: 14px; }
footer p { margin: 0 0 6px; }

.crumb { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.crumb a { color: var(--muted); }
.links { margin: 0; padding-left: 20px; }
.links li { margin: 6px 0; }
