:root {
  --card: #1a120f;
  --line: #5a3a21;
  --text: #f5e4c2;
  --muted: #d1b384;
  --gold: #ffd27a;
}

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

body {
  font-family: "Oswald", sans-serif;
  line-height: 1.45;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 94, 31, 0.25), transparent 30%),
    radial-gradient(circle at 86% 24%, rgba(255, 181, 71, 0.18), transparent 35%),
    linear-gradient(180deg, #090606 0%, #120b09 40%, #090606 100%);
}

.embers { position: fixed; inset: 0; pointer-events: none; opacity: 0.7; }
.container { width: min(1080px, 92%); margin: 0 auto; }

.sidebar-toggle {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  border: 1px solid #6a4a28;
  background: linear-gradient(135deg, #ffd27a, #ffb547);
  color: #2a1200;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  min-height: 42px;
  font-weight: 700;
  cursor: pointer;
}

.quick-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(280px, 85vw);
  height: 100vh;
  max-height: 100dvh;
  z-index: 1050;
  padding: 64px 14px 14px;
  background: rgba(20, 12, 9, 0.96);
  border-right: 1px solid #5a3a21;
  backdrop-filter: blur(4px);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.quick-sidebar.open { transform: translateX(0); }
.quick-sidebar h3 { margin: 0 0 0.7rem; font-family: "Cinzel", serif; color: #ffd696; }

.quick-sidebar a {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 196, 116, 0.25);
  border-radius: 10px;
  padding: 0.5rem 0.62rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.quick-sidebar a.link-active {
  border-color: #ffb547;
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.25);
}

.sidebar-section-title {
  margin: 0.6rem 0 0.4rem;
  color: #ffd79c;
  font-weight: 700;
}

.sidebar-main { display: block; font-weight: 700; }
.sidebar-sub {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
  margin-top: 0.08rem;
}

.hero { text-align: center; padding: 2.2rem 0 1.2rem; }
.brand { color: var(--muted); margin: 0; font-size: clamp(0.95rem, 2.2vw, 1.15rem); }
.title {
  margin: 0.2rem 0 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2.6rem, 11vw, 7rem);
  line-height: 0.95;
  color: #ffdda0;
  text-shadow: 0 1px 0 #fff6d4, 0 2px 0 #d99834, 0 0 20px rgba(255, 168, 66, 0.36);
}
.subtitle { margin: 0.35rem 0 0; font-size: clamp(1.3rem, 4vw, 2.5rem); color: #ff6d36; letter-spacing: 0.08em; }
.intro { margin: 0.9rem auto 0; max-width: 62ch; font-size: clamp(1rem, 2.4vw, 1.2rem); }

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 45%), var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  margin-bottom: 0.9rem;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
h2 { margin: 0 0 0.55rem; font-family: "Cinzel", serif; color: #ffd696; font-size: clamp(1.25rem, 3.4vw, 1.8rem); }
h3 { margin: 0 0 0.35rem; font-size: 1.15rem; color: #ffcf8b; }

.facts, .points { margin: 0; padding-left: 1.1rem; }
.points { list-style: none; padding: 0; }
.points li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  border-bottom: 1px dashed rgba(255, 196, 116, 0.25);
  padding: 0.34rem 0;
}

.points-collapse,
.termine-collapse {
  border: 1px solid rgba(255, 196, 116, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.2rem 0.65rem 0.6rem;
}

.points-collapse summary,
.termine-collapse summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffd27a;
  padding: 0.55rem 0;
}

.points-collapse[open] summary,
.termine-collapse[open] summary {
  border-bottom: 1px dashed rgba(255, 196, 116, 0.25);
  margin-bottom: 0.45rem;
}

.termine-list { display: grid; gap: 0.65rem; }
.termin-row {
  border: 1px solid rgba(255, 196, 116, 0.25);
  border-radius: 10px;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
}
.termin-date { margin: 0; color: #ffb87a; font-weight: 700; }
.termin-main { margin: 0.14rem 0 0; font-weight: 700; }
.termin-mode { margin: 0.14rem 0 0.3rem; color: var(--muted); }
.termin-link {
  color: #2a1200;
  text-decoration: none;
  background: linear-gradient(135deg, #ffd27a, #ffb547);
  border: 1px solid #6a4a28;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}

.note { color: #ffd774; font-weight: 700; }
.heading-row { display: flex; justify-content: space-between; gap: 0.7rem; align-items: center; flex-wrap: wrap; }
.place { color: var(--muted); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.result-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: 1px solid rgba(255, 196, 116, 0.2);
  border-radius: 8px;
  overflow: hidden;
}
.result-table th,
.result-table td {
  border-bottom: 1px solid rgba(255, 196, 116, 0.16);
  padding: 0.5rem 0.55rem;
  text-align: left;
}
.result-table th { color: #ffd79c; background: rgba(255, 255, 255, 0.03); }
.result-table tr:last-child td { border-bottom: 0; }


.hero-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-link {
  color: #2a1200;
  text-decoration: none;
  background: linear-gradient(135deg, #ffd27a, #ffb547);
  border: 1px solid #6a4a28;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.footer { text-align: center; color: var(--muted); padding-bottom: 1.8rem; }
.footer a { color: var(--gold); display: inline-block; padding: 0.35rem 0.5rem; min-height: 40px; }

@media (max-width: 1024px) {
  .container { width: min(1080px, 94%); }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .hero { padding-top: 1.7rem; }
}

@media (max-width: 620px) {
  .hero-actions { width: 100%; }
  .hero-actions .cta-link { width: 100%; justify-content: center; }
  .container { width: 95%; }
  .hero { padding: 1.35rem 0 1rem; }
  .panel { border-radius: 14px; }
  .points li { align-items: flex-start; flex-direction: column; gap: 0.1rem; }
  .heading-row { align-items: flex-start; }
  .sidebar-toggle { top: 10px; left: 10px; }
  .result-table { min-width: 520px; }
}
