/* Pocket to Portfolio – Website (GitHub Pages). Keine externen Schriften, keine Cookies, kein Tracking. */

:root {
  --ground: #edf3ef;
  --surface: #ffffff;
  --ink: #13261d;
  --muted: #4f6259;
  --green: #1d7a52;
  --green-dark: #145c3d;
  --green-soft: #dcefe4;
  --gold: #f2b33d;
  --gold-soft: #fff4da;
  --line: #d5e0da;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #111c17;
    --surface: #1a2721;
    --ink: #e6efe9;
    --muted: #a7b8af;
    --green: #4cb486;
    --green-dark: #7fd1aa;
    --green-soft: #1f3a2d;
    --gold: #f2b33d;
    --gold-soft: #3a2f16;
    --line: #2c3d35;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

a { color: var(--green-dark); }

header.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

header.brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

header.brand .name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.tagline { color: var(--muted); margin: 4px 0 24px; }

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

.badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

h1 { font-size: 28px; line-height: 1.2; margin: 8px 0 4px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
ul { padding-left: 22px; }
.small { font-size: 14px; color: var(--muted); }

nav.lang { margin: 0 0 12px; font-size: 14px; }

footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

footer a { margin-right: 14px; }

.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
