/* Milligram Clean — ruhiges, redaktionelles Layout auf Basis von Milligram 1.4 */
:root {
  --mc-ink: #1f2a33;
  --mc-muted: #5b6770;
  --mc-accent: #0f6e63;
  --mc-accent-soft: #e6f2f0;
  --mc-line: #e3e7ea;
  --mc-bg: #fbfbf9;
  --mc-radius: 10px;
}

body.milligram-clean { background: var(--mc-bg); color: var(--mc-ink); font-size: 1.6em; line-height: 1.7; }
.milligram-clean h1, .milligram-clean h2, .milligram-clean h3 { font-family: Georgia, "Times New Roman", serif; color: var(--mc-ink); letter-spacing: -.01em; }
.milligram-clean a { color: var(--mc-accent); }
.milligram-clean a:hover, .milligram-clean a:focus { color: #0a4f47; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--mc-line); }
.mc-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.brand { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 700; color: var(--mc-ink) !important; text-decoration: none; }
.mc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; }
.mc-nav li { margin: 0; }
.mc-nav a { color: var(--mc-muted); font-size: 1.5rem; font-weight: 600; text-decoration: none; }
.mc-nav a:hover { color: var(--mc-accent); }

.mc-main { padding-top: 4rem; padding-bottom: 2rem; max-width: 112rem; }

/* Startseite */
.mc-hero { max-width: 76rem; margin-bottom: 2.4rem; }
.mc-hero h1 { font-size: 4.4rem; line-height: 1.15; margin-bottom: 1rem; }
.mc-tagline { font-size: 2rem; color: var(--mc-muted); font-style: italic; margin-bottom: 0; }
.mc-intro { max-width: 76rem; margin-bottom: 4rem; }
.mc-intro h2 { font-size: 2.6rem; margin-top: 3rem; }
.mc-section-title { font-size: 2.2rem; border-top: 3px solid var(--mc-ink); padding-top: 1.2rem; margin: 4rem 0 2.4rem; }

/* Kartenraster */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr)); gap: 2.8rem; margin-bottom: 4rem; }
.mc-card { background: #fff; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.mc-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mc-card-body { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.mc-card h3 { font-size: 2rem; line-height: 1.3; margin: .4rem 0 1rem; }
.mc-card h3 a { color: var(--mc-ink); text-decoration: none; }
.mc-card h3 a:hover { color: var(--mc-accent); }
.mc-card p { color: var(--mc-muted); font-size: 1.5rem; margin-bottom: 1.2rem; }
.mc-card time { margin-top: auto; font-size: 1.3rem; color: var(--mc-muted); }
.mc-kicker { display: inline-block; font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mc-accent); }

/* Artikel / Seite */
.mc-article { max-width: 76rem; margin: 0 auto; }
.mc-article-head h1 { font-size: 4rem; line-height: 1.2; margin: .6rem 0 1rem; }
.mc-meta { color: var(--mc-muted); font-size: 1.4rem; border-bottom: 1px solid var(--mc-line); padding-bottom: 1.6rem; }
.mc-figure { margin: 0 0 3rem; }
.mc-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--mc-radius); }
.mc-figure--wide img { aspect-ratio: 3/1; }
.article-content h2 { font-size: 2.8rem; margin-top: 4rem; }
.article-content h3 { font-size: 2.2rem; margin-top: 3rem; }
.article-content blockquote { border-left-color: var(--mc-accent); background: var(--mc-accent-soft); padding: 1.2rem 2rem; }
.article-content table { display: block; overflow-x: auto; }
.mc-tags .tag { display: inline-block; background: var(--mc-accent-soft); color: var(--mc-accent); border-radius: 99px; padding: .2rem 1rem; font-size: 1.3rem; margin: 0 .4rem .4rem 0; }
.mc-cat-head { max-width: 76rem; margin-bottom: 2.4rem; }
.mc-cat-head h1 { font-size: 4rem; margin-bottom: .8rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--mc-line); background: #fff; padding: 2.4rem 0; margin-top: 4rem; color: var(--mc-muted); font-size: 1.4rem; }
.site-footer .footer-nav { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.site-footer li { margin: 0; }

@media (max-width: 640px) {
  .mc-hero h1, .mc-article-head h1, .mc-cat-head h1 { font-size: 3rem; }
  .mc-main { padding-top: 2.4rem; }
  .brand { font-size: 2rem; }
}

/* List-Style Fix — Resets aufheben für Content-Bereiche */
[class*="article-body"] ul,
[class*="cat-intro"] ul,
[class*="home-intro"] ul,
.article-content ul,
.content ul {
  list-style: disc !important;
  list-style-position: outside;
  padding-left: 1.5rem;
}
[class*="article-body"] ol,
[class*="cat-intro"] ol,
[class*="home-intro"] ol,
.article-content ol,
.content ol {
  list-style: decimal !important;
  list-style-position: outside;
  padding-left: 1.5rem;
}
[class*="article-body"] li,
[class*="cat-intro"] li,
[class*="home-intro"] li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}
