/* Gemeinsames Stylesheet für janpfeiffer.com und alle Microsites */

:root {
  --bg: #fafaf8;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e4e4e0;
  --accent: #2b5fd9;
  --max: 640px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --fg: #ececec;
    --muted: #9a9a9a;
    --line: #2a2a2a;
    --accent: #7aa2ff;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 48px;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 48px 0 12px;
}

p { margin: 0 0 16px; }

.lead { color: var(--muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Liste der Microsites */
.sites {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.sites li { border-bottom: 1px solid var(--line); }

.sites a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  color: var(--fg);
}

.sites a:hover { text-decoration: none; }
.sites a:hover .name { color: var(--accent); }

.sites .name { font-weight: 500; }
.sites .desc { color: var(--muted); font-size: 0.9rem; text-align: right; }

.back {
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 48px;
  color: var(--muted);
  font-size: 0.85rem;
}
