:root {
  --bg: #fbf7f2;
  --paper: #ffffff;
  --ink: #2a2622;
  --muted: #7a726a;
  --line: #ebe3da;
  --accent: #c9694f;
  --accent-soft: #f6e4dc;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }

/* Kopfzeile */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 247, 242, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 600; text-decoration: none; }
.brand span { color: var(--accent); }
.menu { display: flex; gap: 18px; font-size: 14px; }
.menu a { text-decoration: none; color: var(--muted); font-weight: 500; }
.menu a:hover, .menu a[aria-current] { color: var(--ink); }
@media (max-width: 480px) { .menu { gap: 12px; font-size: 13px; } }

/* Startseite */
.hero { display: grid; gap: 24px; padding: 40px 0 36px; }
@media (min-width: 700px) { .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 56px 0 44px; } }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); margin: 10px 0 14px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 20px; }
.hero-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--accent-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 18px; border-radius: 999px; font-size: 15px;
}
.btn.ghost { background: var(--accent-soft); color: var(--accent); }
.btn + .btn { margin-left: 8px; }

section { padding: 36px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 26px; }
.section-head a { font-size: 14px; color: var(--muted); }

.posts { display: grid; gap: 18px; }
@media (min-width: 620px) { .posts { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column; transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--accent-soft); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.card-body { padding: 16px 18px 20px; }
.meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.tag { color: var(--accent); font-weight: 600; }
.card h3 { font-size: 20px; margin: 8px 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.likes { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 620px) { .likes { grid-template-columns: repeat(3, 1fr); } }
.like { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.like .emoji { font-size: 26px; }
.like h3 { font-size: 16px; margin: 8px 0 4px; font-family: var(--sans); font-weight: 600; }
.like p { margin: 0; font-size: 13.5px; color: var(--muted); }

.about { display: grid; gap: 22px; }
@media (min-width: 620px) { .about { grid-template-columns: 240px 1fr; align-items: start; } }
.about-photo { aspect-ratio: 22 / 25; border-radius: 18px; overflow: hidden; background: var(--accent-soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about p { margin: 0 0 12px; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.facts li::before { content: "— "; color: var(--accent); }

.note { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.note h2 { font-size: 24px; margin-bottom: 8px; }
.note p { margin: 0 0 14px; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13.5px; color: var(--muted); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
footer.site a { color: var(--muted); }

/* Artikel */
.article { padding: 40px 0 20px; }
.article .meta { margin-bottom: 10px; }
.article h1 { font-size: clamp(30px, 6vw, 46px); margin: 0 0 14px; }
.article .lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.article figure { margin: 0 0 28px; }
.article .ph { border-radius: 20px; overflow: hidden; height: clamp(320px, 60vw, 560px); background: var(--accent-soft); }
.article .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article .body p { margin: 0 0 16px; font-size: 17px; }
.article .body h2 { font-size: 24px; margin: 28px 0 10px; }
.article .body ul, .article .body ol { padding-left: 22px; margin: 0 0 16px; font-size: 17px; }
.article .body li { margin-bottom: 6px; }
.related h2 { font-size: 22px; margin-bottom: 14px; }

/* Impressum, Datenschutz */
.legal { padding: 40px 0; }
.legal h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 18px; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; font-family: var(--sans); font-weight: 600; }
.legal p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.todo { background: #fff6e8; border: 1px dashed #e4c48f; border-radius: 8px; padding: 2px 6px; color: #8a6420; }
