/* Ralf Passing – passing.info | schlicht, schnell, mobilfreundlich */
:root {
  --bg: #faf8f3;
  --text: #232323;
  --muted: #6b6b6b;
  --accent: #b45f1b;
  --accent-dark: #93490f;
  --line: #e3ddd2;
  --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  flex-wrap: wrap; gap: 10px;
}
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: bold; color: var(--text); text-decoration: none; }
nav a { margin-left: 18px; color: var(--text); text-decoration: none; font-size: 16px; }
nav a:hover, nav a.active { color: var(--accent); text-decoration: underline; }

/* Statement als Eingang */
.hero { text-align: center; padding: 64px 20px 56px; }
.hero blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4.5vw, 38px);
  line-height: 1.4; margin: 0 0 12px; font-style: italic;
}
.hero .en { color: var(--muted); font-size: 16px; }

/* Bereiche */
section { padding: 12px 0 28px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.3; margin: 34px 0 14px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; margin: 30px 0 10px; }
p.lead { font-size: 19px; color: #3d3d3d; }

/* Buchkarten */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 18px 0; }
.book {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px; display: flex; flex-direction: column;
}
.book img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
/* Cover-Rahmen: zeigt das Cover, sonst einen Platzhalter mit Titel */
.coverwrap { position: relative; aspect-ratio: 2 / 3; }
.coverwrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line); background: var(--card);
}
.cover-missing {
  position: absolute; inset: 0; border-radius: 6px; border: 1px solid var(--line);
  background: #ece5d8; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
  font-family: Georgia, "Times New Roman", serif; font-size: 19px; color: var(--muted);
  line-height: 1.4;
}
.book h3 { font-family: Georgia, "Times New Roman", serif; font-size: 20px; margin: 14px 0 6px; }
.book .tag { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.book p { font-size: 15.5px; flex-grow: 1; }
.booklist { list-style: none; padding: 0; }
.booklist li {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; margin-bottom: 14px;
}
.booklist h3 { font-family: Georgia, "Times New Roman", serif; font-size: 19px; margin: 0 0 4px; }
.booklist .tag { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.booklist p { font-size: 15.5px; margin: 6px 0 10px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 10px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px;
}
.btn:hover { background: var(--accent-dark); }
a { color: var(--accent-dark); }
.linkrow { margin-top: 14px; }
.hint { font-size: 13.5px; color: var(--muted); }

/* Fuß */
footer.site { border-top: 1px solid var(--line); margin-top: 30px; background: var(--card); }
footer.site .wrap { padding-top: 18px; padding-bottom: 26px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 14px; }

/* Portrait */
.portrait {
  display: block; max-width: 320px; width: 100%; height: auto;
  border-radius: 12px; border: 1px solid var(--line); margin: 20px auto 6px;
}

/* Mobil */
@media (max-width: 640px) {
  .books { grid-template-columns: 1fr; }
  .hero { padding: 44px 16px 36px; }
  nav a { margin-left: 12px; }
}
