/* ░░░░░ Kaiser Samuel — Hofstil ░░░░░ */
:root {
  --gold: #d4af37;
  --gold-bright: #f6d873;
  --gold-deep: #9c7a1e;
  --royal: #5a0d1c;
  --royal-deep: #3a0712;
  --ink: #1a1208;
  --parch: #f5ecd6;
  --parch-line: #e6d6ad;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--ink);
  background: var(--parch);
  line-height: 1.7;
  font-size: 1.12rem;
  overflow-x: hidden;
}

/* ── Proklamationsband ── */
.proclamation-bar {
  background: var(--royal-deep);
  color: var(--gold-bright);
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: .55rem 1rem;
  border-bottom: 2px solid var(--gold);
}
.proclamation-bar strong { color: #fff; }

/* ── HERO ── */
.hero {
  position: relative;
  text-align: center;
  padding: 3.5rem 1.25rem 4.5rem;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--royal) 0%, var(--royal-deep) 60%, #240409 100%);
  color: var(--parch);
  border-bottom: 4px solid var(--gold);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(212,175,55,.10) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 35%, rgba(212,175,55,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 80%, rgba(212,175,55,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 65% 70%, rgba(212,175,55,.06) 0 2px, transparent 3px);
  pointer-events: none;
}
.hero-eagle {
  font-size: 3rem;
  filter: sepia(1) saturate(3) hue-rotate(-15deg) brightness(1.1);
  opacity: .9;
  margin-bottom: .5rem;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-kicker {
  font-family: 'Cinzel', serif;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--gold-bright);
  margin-bottom: .4rem;
}
.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: .95;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-bright) 45%, var(--gold) 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
  margin-bottom: .6rem;
}
.hero-title span { display: block; }
.hero-sub {
  font-style: italic;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  color: var(--parch-line);
  margin-bottom: 2rem;
}

/* ── Thron / Bild ── */
.throne {
  position: relative;
  max-width: 460px;
  margin: 0 auto 2rem;
  border: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--royal-deep);
  box-shadow: 0 0 0 2px var(--gold-deep), 0 18px 50px rgba(0,0,0,.55);
  overflow: hidden;
}
.throne img { display: block; width: 100%; height: auto; }
.throne-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
  color: var(--gold-bright);
  text-align: center;
}
.throne--placeholder img { display: none; }
.throne--placeholder .throne-fallback { display: flex; }
.crown-big { font-size: 4rem; margin-bottom: 1rem; }
.throne-fallback code {
  font-family: ui-monospace, monospace;
  background: rgba(0,0,0,.35);
  padding: .1em .4em;
  border-radius: 4px;
  font-size: .85em;
}
.throne figcaption {
  font-style: italic;
  font-size: .85rem;
  color: var(--gold-bright);
  background: var(--royal-deep);
  padding: .7rem 1rem;
  border-top: 2px solid var(--gold-deep);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--royal-deep);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  padding: .85rem 1.8rem;
  border-radius: 50px;
  border: 2px solid #fff3cf;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 28px rgba(0,0,0,.45); }

/* ── Sektionen ── */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--royal);
  margin-bottom: 1.2rem;
  position: relative;
}
.section-title::after {
  content: "⚜";
  display: block;
  color: var(--gold-deep);
  font-size: 1.2rem;
  margin-top: .6rem;
}
.section-title.light { color: var(--gold-bright); }
.lead { max-width: 620px; margin: 0 auto 1.5rem; }
.lead.small { font-size: 1rem; opacity: .9; }
.lead.light { color: var(--parch-line); }

/* ── Gleichung ── */
.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto;
}
.eq-part {
  background: #fff;
  border: 2px solid var(--parch-line);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  min-width: 160px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.eq-word {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--royal);
  letter-spacing: .03em;
}
.eq-note { display: block; font-style: italic; font-size: .85rem; opacity: .7; margin-top: .3rem; }
.eq-op {
  display: flex; align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem; color: var(--gold-deep);
}
.eq-result {
  background: linear-gradient(180deg, var(--royal), var(--royal-deep));
  border-color: var(--gold);
}
.eq-result .eq-word { color: var(--gold-bright); }
.eq-result .eq-note { color: var(--parch-line); opacity: .9; }

/* ── Dekrete ── */
.decree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
  text-align: left;
}
.decree {
  background: #fff;
  border: 1px solid var(--parch-line);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  transition: transform .15s ease;
}
.decree:hover { transform: translateY(-3px); }
.decree-no {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 1.1rem;
  display: block;
  margin-bottom: .4rem;
}

/* ── Fakten ── */
.facts { background: var(--royal-deep); max-width: none; color: var(--parch); }
.facts .section-title { color: var(--gold-bright); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 2rem auto 0;
}
.fact-num {
  display: block;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--gold-bright);
  line-height: 1;
}
.fact-label { display: block; font-style: italic; font-size: .95rem; color: var(--parch-line); margin-top: .5rem; }

/* ── Audienz ── */
.audience {
  background: radial-gradient(120% 90% at 50% 0%, var(--royal) 0%, var(--royal-deep) 70%);
  max-width: none;
  color: var(--parch);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}
.seal {
  font-size: 3rem;
  color: var(--gold-bright);
  margin-bottom: .5rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
}
.audience-note { font-style: italic; margin-top: 1.5rem; color: var(--gold-bright); }

/* ── Footer ── */
.footer {
  text-align: center;
  background: #240409;
  color: var(--parch-line);
  padding: 2.5rem 1.5rem;
  font-size: .95rem;
}
.footer-crest { font-size: 2rem; margin-bottom: .5rem; }
.footer strong { color: var(--gold-bright); }
.footer-fine { font-size: .8rem; opacity: .6; margin-top: .8rem; max-width: 520px; margin-inline: auto; }
