:root{
  --bg: #f6f1e8;
  --text:#2d2d2d;
  --muted:#5a5a5a;
  --link:#7f85b5;
  --border: rgba(45,45,45,.12);
  --max: 860px;
  --radius: 14px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
}

/* Reset */
*{box-sizing:border-box}
html,body{height:100%}

/* Global (Fließtext = Sans) */
body{
  margin:0;
  font-family: var(--sans);
  color:var(--text);
  background: var(--bg);
  line-height:1.65;
}

/* Header-Banner (wie Index) */
.site-header{
  width: min(100%, var(--max));
  height:160px;
  margin: 28px auto 0;
  background-image:url("/assets/img/header.png");
  background-size:cover;
  background-position:center;
  border-bottom:1px solid var(--border);
}

/* Zentrale Inhaltsfläche mit Papier-Tile */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 18px 64px;
  background-image:url("/assets/img/tile.png");
  background-repeat:repeat;
}

/* Kopfbereich im Content */
header.content-header{
  padding:14px 0 8px;
  border-bottom:1px solid var(--border);
}

/* Serif nur für Hierarchie-Elemente */
.brand,
.section-title,
.card h2,
.series-title{
  font-family: var(--serif);
}

.brand{
  font-size:40px;
  letter-spacing:.2px;
  margin:0;
  font-weight:600;
}

/* Fließtext / Meta explizit Sans */
p,
.tagline,
.card p,
.meta,
footer,
a,
.small{
  font-family: var(--sans);
}

.tagline{
  margin:12px 0 0;
  color:var(--muted);
  max-width:70ch;
  font-size:16px;
}

.small{
  font-size:14px;
  color:var(--muted);
}

a{
  color:var(--link);
  font-weight:600;
  text-decoration-thickness:2px;
  text-underline-offset:4px;
}
a:hover{opacity:.85}

main{padding-top:22px}

.section-title{
  font-size:22px;
  margin:26px 0 12px;
  font-weight:600;
}

/* Serienkarten (Index) */
.cards{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  background:rgba(255,255,255,.35);
}

.card h2{
  font-size:18px;
  margin:0 0 8px;
  font-weight:600;
}

.meta{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.card p{
  margin:10px 0 12px;
  max-width:72ch;
  font-size:16px;
  line-height:1.7;
}

/* Pills (für Serien-Seiten) */
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.pills li{
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 10px;
  font-size:14px;
  color:var(--muted);
  background: rgba(255,255,255,.28);
}

/* Separator */
hr.sep{
  border:0;
  border-top:1px solid var(--border);
  margin:22px 0;
}

/* Footer */
footer{
  margin-top:30px;
  padding-top:14px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* ===== Serien-Detail: Hero mit Figur rechts ===== */
.series-hero{
  display:grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 22px;
  align-items:start;
  margin-top: 10px;
}

.series-title{
  font-size:28px;
  margin: 6px 0 8px;
  font-weight:600;
}

.series-figure{
  display:flex;
  justify-content:flex-end;
}
.series-figure img{
  max-width:100%;
  height:auto;
  max-height:520px;
  opacity:.96;
}

/* Responsive */
@media (min-width:820px){
  .cards{grid-template-columns:1fr 1fr;}
}

@media (max-width:760px){
  .series-hero{
    grid-template-columns: 1fr;
  }
  .series-figure{
    justify-content:flex-start;
  }
  .series-figure img{
    max-height:420px;
  }
}

/* Serien-Seiten: ruhiger, leichter, ohne Serif-H1 */
.series-title,
.series-page .section-title{
  font-family: var(--sans);
  font-weight: 700;
}

/* Kleiner Home-Link oben rechts */
.top-nav{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin: 6px 0 8px;
  float: right;
}
.top-nav a{
  font-size: 14px;
  font-weight: 600;
  text-decoration-thickness: 2px;
}

/* Serien-Header weniger "Block" */
.series-page header.content-header{
  border-bottom: 0;
  padding-bottom: 0;
}

/* Text etwas luftiger */
.series-page p{
  max-width: 70ch;
}

/* Pills etwas leichter */
.series-page .pills li{
  background: rgba(255,255,255,.18);
}
.series-start{
  margin-top: 22px;
  max-width: 520px;
}

.series-start img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.series-start p{
  margin-top: 8px;
}
