/* neuoffenbarung.de – gemeinsame Stylesheet (R0 Rahmen, 2026-08-11)
   Typostufen: body 1rem | meta/nav 0.875rem | h3 1.125rem | h2 1.35rem | h1 1.75rem
*/
:root {
  --bg: #f4f6f8;
  --bg-alt: #e8eef2;
  --ink: #1a2330;
  --muted: #4a5668;
  --line: #c5d0da;
  --accent: #2c5f6e;
  --accent-soft: #d9e8ec;
  --quote-bg: #eef3f5;
  --max: 42rem;
  --fs-body: 1rem;
  --fs-meta: 0.875rem;
  --fs-h3: 1.125rem;
  --fs-h2: 1.35rem;
  --fs-h1: 1.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top right, #ffffff 0%, transparent 50%),
    linear-gradient(180deg, #f8fafb 0%, var(--bg) 45%, #eef2f5 100%);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: #1a3f4a;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.site-header-inner,
.site-main,
.site-footer-inner {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.25rem 0 1rem;
}

.brand a {
  color: var(--accent);
  text-decoration: none;
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: var(--fs-meta);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: var(--fs-meta);
}

.nav-main a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.site-shell {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.75rem 0 3rem;
}

.site-nav {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 1rem 1rem 1.25rem;
  align-self: start;
}

.site-nav h2 {
  margin: 1rem 0 0.4rem;
  font-size: var(--fs-meta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.site-nav h2:first-child {
  margin-top: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0.25rem 0;
}

.site-nav a {
  text-decoration: none;
  font-size: var(--fs-body);
}

.content {
  min-width: 0;
}

.content > * {
  max-width: var(--max);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: var(--fs-h1);
  line-height: 1.25;
  color: var(--accent);
}

h2 {
  margin: 1.75rem 0 0.6rem;
  font-size: var(--fs-h2);
  line-height: 1.3;
}

h3 {
  margin: 1.25rem 0 0.45rem;
  font-size: var(--fs-h3);
}

p,
li {
  color: var(--ink);
}

.lead {
  font-size: var(--fs-h3);
  color: var(--muted);
}

.meta-note,
.ki-disclaimer,
.footnote {
  font-size: var(--fs-meta);
  color: var(--muted);
}

.ki-disclaimer {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.quelle,
article.quelle {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--quote-bg);
  border-left: 3px solid var(--accent);
  max-width: var(--max);
}

.quelle p,
article.quelle p {
  margin: 0 0 0.85rem;
}

.quelle p:last-child,
article.quelle p:last-child {
  margin-bottom: 0;
}

.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  font-size: var(--fs-meta);
  max-width: var(--max);
}

.chapter-nav .chapter-title {
  flex: 1 1 12rem;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
}

.chapter-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.quelle-meta {
  margin: 0 0 0.5rem;
  font-size: var(--fs-meta);
  color: var(--muted);
  font-style: italic;
}

.callout,
.editorial {
  margin: 1.75rem 0;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  max-width: var(--max);
}

.callout h2,
.editorial h2 {
  margin-top: 0;
}

.link-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.link-list li {
  margin: 0.35rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem 0 2rem;
  font-size: var(--fs-meta);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 48rem) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 2;
  }

  .content {
    order: 1;
  }
}


/* Erfahrungshinweis: sichtbar vom Quellentext getrennt */
.callout.erfahrungshinweis {
  border-left: 4px solid #8a5a2b;
  background: #f7f1e8;
}
.callout.erfahrungshinweis h2 {
  color: #6b4423;
}
