/* ── Öffentliche CMS-Seiten (page.php) ──────────────────────────────────── */

.page-topbar {
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.page-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 820px;
  margin: 0 auto;
}
.page-topbar-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--charcoal);
}
.page-topbar-logo span { color: var(--amber); font-style: italic; font-weight: 400; }
.page-topbar-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 3px;
}
.page-login-link {
  font-size: .88rem;
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all .15s;
  white-space: nowrap;
}
.page-login-link:hover {
  border-color: var(--amber);
  background: rgba(200,135,58,.06);
  text-decoration: none;
}

/* ── Inhalt-Wrapper ─────────────────────────────────────────────────────── */
.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

/* ── Zurück-Links ────────────────────────────────────────────────────────── */
.page-back-link {
  margin: 0 0 8px;
}
.page-back-link a {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.page-back-link a:hover { color: var(--amber); }
.page-back-bottom { margin-top: 40px; }

/* ── Seitentitel ────────────────────────────────────────────────────────── */
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin: 24px 0 36px;
}

/* ── Sektionen ──────────────────────────────────────────────────────────── */
.page-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(200,135,58,0.05);
}
@media (max-width: 560px) {
  .page-section { padding: 26px 20px; border-radius: 16px; }
}

/* ── Sektion Icon ───────────────────────────────────────────────────────── */
.page-section-icon {
  text-align: center;
  margin-bottom: 20px;
}
.page-section-icon img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}
/* hell/dunkel-Icon-Switching */
.page-section-icon .icon-dark  { display: none; }
.page-section-icon .icon-light { display: inline-block; }
[data-theme="dark"] .page-section-icon .icon-light { display: none; }
[data-theme="dark"] .page-section-icon .icon-dark  { display: inline-block; }

/* ── Sektion Titel ──────────────────────────────────────────────────────── */
.page-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--amber);
  margin: 0 0 16px;
  line-height: 1.2;
}

/* ── Sektion Body ───────────────────────────────────────────────────────── */
.page-section-body p {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.7;
}
.page-section-body p:last-child { margin-bottom: 0; }
.page-section-body br { display: block; content: ''; margin: 6px 0; }
.page-section-body ul {
  margin: 0 0 12px 20px;
  padding: 0;
  color: var(--charcoal);
}
.page-section-body li {
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 1rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.page-footer {
  text-align: center;
  padding: 28px 24px 48px;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  max-width: 820px;
  margin: 0 auto;
}
.page-footer a { color: var(--muted); text-decoration: none; }
.page-footer a:hover { color: var(--amber); }
