:root {
  --vellum: #f4eee4; --vellum-2: #ebe0d1; --paper: #fffdf8; --paper-soft: #faf5ec;
  --ink: #251f1a; --muted: #675e55; --line: rgba(86, 68, 48, 0.18);
  --wine: #6d2f38; --wine-deep: #492028; --gold: #9b793e; --sage: #52695d; --sage-soft: #e4ece6;
  --focus: #075bd8; --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px; --nav-h: 82px; --shadow: 0 28px 80px rgba(60, 43, 28, 0.12);
}
body { padding-top: var(--nav-h); background: var(--vellum); font-family: var(--sans); color: var(--ink); }
.wrap { width: min(calc(100% - 34px), var(--max)); margin-inline: auto; }
::selection { background: #ead7ad; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

/* Navigation, uebernommen aus der echten Vorlage (manuskriptgedaechtnis.html) */
nav.epos-nav {
  position: fixed; inset: 0 0 auto; z-index: 2000; min-height: var(--nav-h);
  display: flex; align-items: center; gap: 22px;
  padding: 10px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  background: rgba(248,243,235,.9); border-bottom: 1px solid rgba(86,68,48,.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-link img { width: auto; height: 56px; }
.nav-cluster { margin-left: auto; display: flex; align-items: center; }
.nav-row { display: flex; align-items: center; gap: 18px; }
.nav-row-2 { display: none; }
.nav-link { color: var(--muted); font-size: 13px; font-weight: 720; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link-login { color: var(--wine); }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; color: white; background: var(--wine-deep); border-radius: 999px; font-size: 13px; font-weight: 820; text-decoration: none; }
.hamburger { display: none; width: 46px; height: 46px; margin-left: auto; padding: 11px; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.hamburger span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

@media (min-width: 1101px) {
  :root { --nav-h: 112px; }
  .logo-link img { height: 50px; }
  .nav-cluster { flex-direction: column; align-items: flex-end; gap: 7px; }
  .nav-row-2 { display: flex; opacity: .92; }
  .nav-row-2 .nav-link { font-size: 12.5px; }
}
@media (max-width: 1100px) {
  .hamburger { display: block; }
  .nav-cluster { position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; padding: 15px 20px 24px; background: var(--vellum); border-bottom: 1px solid var(--line); }
  .nav-cluster.open { display: block; }
  .nav-row { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-row-2 { display: flex; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-link { padding: 10px 6px; }
  .nav-cta { margin-top: 10px; justify-content: center; }
}
@media (max-width: 760px) {
  :root { --nav-h: 74px; }
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .logo-link img { width: auto; height: 48px; }
}

/* Footer, uebernommen aus der echten Vorlage */
.site-footer { padding: 72px 0 26px; color: #eee6dc; background: #2f2924; }
.footer-top { display: grid; grid-template-columns: 1.25fr repeat(4,1fr); gap: 28px; }
.footer-brand img { width: 180px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: #cfc4b9; font-size: 13px; }
.footer-section h3 { margin: 0 0 13px; color: white; font-size: 13px; }
.footer-section a { display: block; margin: 9px 0; color: #cfc4b9; font-size: 12px; text-decoration: none; }
.footer-section a:hover { color: white; }
.blog-cluster { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.blog-cluster p { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.blog-cluster a { color: #bfb4aa; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a99e94; font-size: 11px; }
.footer-cookie-link { margin: 14px 0 0; text-align: center; background: #2f2924; padding-bottom: 18px; }
.footer-cookie-link a { color: #cfc4b9; text-decoration: none; cursor: pointer; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(2,1fr); } .footer-brand { grid-column: 1 / -1; } }

/* Cookie-Hinweis und -Einstellungen, uebernommen aus der echten Vorlage */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 24px; color: #eee6dc; background: #2f2924; border-top: 1px solid #9b793e; transform: translateY(110%); transition: transform .3s ease; }
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { flex: 1 1 300px; margin: 0; font-size: 12px; }
#cookie-banner a { color: #e5c98e; }
.cookie-btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
#cookie-banner button, .cookie-modal-btns button { min-height: 40px; padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 0; font: inherit; }
#cookie-accept-all, .cookie-modal-save { color: #2f2924; background: #e5c98e; border: 1px solid #e5c98e; font-weight: 800; }
#cookie-reject, #cookie-settings-btn, .cookie-modal-reject { color: white; background: transparent; border: 1px solid rgba(255,255,255,.28); }
#cookie-settings-modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 20px; background: rgba(25,20,17,.72); }
#cookie-settings-modal.open { display: flex; }
.cookie-modal-card { width: min(520px,100%); max-height: 84vh; overflow: auto; padding: 30px; background: var(--paper); border-radius: 24px; color: var(--ink); }
.cookie-modal-card h2 { margin: 0; font-family: var(--serif); font-size: 32px; }
.cookie-category { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); }
.cookie-category h3, .cookie-category p { margin: 0; }
.cookie-category p { color: var(--muted); font-size: 12px; }
.cookie-toggle { position: relative; width: 44px; height: 24px; flex: 0 0 auto; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle .slider { position: absolute; inset: 0; background: #b8aea4; border-radius: 999px; }
.cookie-toggle .slider::before { content: ""; position: absolute; width: 16px; height: 16px; left: 4px; top: 4px; background: white; border-radius: 50%; transition: transform 160ms ease; }
.cookie-toggle input:checked + .slider { background: var(--wine); }
.cookie-toggle input:checked + .slider::before { transform: translateX(20px); }
.cookie-modal-btns { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* Einblend-Animation, dieselbe Klasse/Mechanik wie sitewide */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
