/* Gestaltung der Unterseiten: Impressum, Datenschutz, Blog, 404. Gleiche Werte wie index.html. */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --line: #1f1f1f;
  --line-strong: #2e2e2e;
  --text: #ededed;
  --muted: #a0a0a0;
  --faint: #6e6e6e;
  --sans: "Geist", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }

header { border-bottom: 1px solid var(--line); }
header div, main, footer div { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
header div { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.mark img { width: 32px; height: 32px; display: block; }
.back { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }

main { padding-top: 96px; padding-bottom: 96px; }
article { max-width: 680px; }
.label { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
h1 { margin: 8px 0 48px; font-size: 56px; line-height: 56px; font-weight: 600; letter-spacing: -0.04em; }
h2 { margin: 48px 0 12px; font-size: 24px; line-height: 24px; font-weight: 600; letter-spacing: -0.025em; }
p, ul, address { margin: 0 0 16px; color: var(--muted); font-style: normal; }
ul { padding-left: 20px; }
li { margin-bottom: 4px; }
article a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
article a:hover { color: var(--text); text-decoration-color: var(--muted); }

/* Noch auszufüllende Angaben, bewusst auffällig */
mark { background: #3a2f0b; color: #ffd76a; padding: 0 4px; border-radius: 4px; font-family: var(--mono); font-size: 14px; }
.todo { margin-bottom: 48px; padding: 16px; border: 1px solid #5c4a12; border-radius: 12px; background: #1a1505; color: #ffd76a; font-size: 14px; line-height: 20px; }

footer { border-top: 1px solid var(--line); }
footer div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-top: 32px; padding-bottom: 48px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); }
footer span { display: flex; gap: 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  header div, main, footer div { padding-left: 16px; padding-right: 16px; }
  main { padding-top: 64px; padding-bottom: 64px; }
  h1 { font-size: 40px; line-height: 40px; margin-bottom: 32px; }
}

/* Blog */
.posts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.posts li { margin: 0; border-bottom: 1px solid var(--line); }
.posts li { padding: 24px 0; }
.posts .entry { display: block; text-decoration: none; }
.posts time, .meta { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.posts strong { display: block; margin: 8px 0; font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.025em; color: var(--text); }
.posts span { display: block; color: var(--muted); }
.posts .entry:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post h1 { margin-bottom: 16px; font-size: 48px; line-height: 48px; }
.post .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 48px; }
.post p, .post li { color: #c4c4c4; }
.post h3 { margin: 32px 0 8px; font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; }
.post img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.post code { font-family: var(--mono); font-size: 14px; padding: 2px 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.post pre { margin: 0 0 16px; padding: 16px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.post pre code { padding: 0; border: 0; background: none; font-size: 12px; line-height: 20px; }
.post blockquote { margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--line-strong); }

/* 404 */
.lost { text-align: center; padding: 64px 0; }
.lost img { width: 128px; height: 128px; margin-bottom: 32px; }
.lost h1 { margin-bottom: 16px; }
.lost article { margin: 0 auto; }

/* Blog: Projekte, Filter, Feed */
.intro { margin: -24px 0 32px; max-width: 56ch; }
.intro a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filter a, .chip { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0; text-transform: none; color: var(--muted); text-decoration: none; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.filter a:hover, .chip:hover { color: var(--text); border-color: var(--muted); }
.filter a[aria-current="page"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.meta .chips { margin-top: 0; }
.chip { padding: 2px 10px; }
article a.chip { text-decoration: none; }
.more { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.more p { margin-bottom: 8px; }
.more .posts { margin-top: 16px; }
.more .posts strong { font-size: 20px; line-height: 24px; }
