:root {
  --bg: #0a0805;
  --bg2: #12100c;
  --bg3: #1a1610;
  --surface: #1f1a13;
  --surface2: #2a2318;
  --border: rgba(180,120,40,0.2);
  --border2: rgba(180,120,40,0.4);
  --gold: #c8922a;
  --gold2: #e8b84b;
  --gold3: #f5d070;
  --red: #8b1a1a;
  --red2: #b02020;
  --text: #e8dcc8;
  --text2: #a89878;
  --text3: #6a5840;
  --nav-h: 70px;
  --hero-image-width: 100%;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,8,5,0.96);
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem; color: var(--gold2); letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(200,146,42,0.4);
  cursor: pointer; white-space: nowrap;
}
.nav-logo span { color: var(--red2); }

.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: block; padding: 0 1.1rem;
  height: var(--nav-h); line-height: var(--nav-h);
  color: var(--text2); font-family: 'Crimson Pro', serif; font-size: 1rem;
  text-decoration: none; background: none; border: none; cursor: pointer;
  letter-spacing: 0.5px; transition: color 0.2s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { color: var(--gold2); }
.nav-links > li > a.active { color: var(--gold2); }

.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(15,12,8,0.98); border: 1px solid var(--border2);
  min-width: 220px; z-index: 100;
}
.nav-links li:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.6rem 1.2rem;
  color: var(--text2); text-decoration: none; font-size: 0.95rem;
  transition: all 0.15s;
}
.dropdown a:hover { color: var(--gold2); background: rgba(200,146,42,0.08); padding-left: 1.6rem; }
.dropdown-group { padding: 0.4rem 0; border-top: 1px solid var(--border); }
.dropdown-group:first-child { border-top: none; }
.dropdown-group-label {
  padding: 0.3rem 1.2rem 0.1rem; font-size: 0.78rem;
  color: var(--text3); text-transform: uppercase; letter-spacing: 1px;
}


.instagram-btn {
  display: none;
  align-items: center;
  gap: 0.45rem;
  align-self: center;
  flex-shrink: 0;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border: 1px solid var(--border2);
  border-radius: 999px;
  color: var(--gold);
  background: transparent;
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  margin-left: 0.5rem;
}
.instagram-btn:hover {
  border-color: var(--gold);
  color: var(--gold2);
  background: rgba(200,146,42,0.08);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--gold); display: block; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(10,8,5,0.98); z-index: 999; overflow-y: auto; padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-nav-item {
  padding: 0.8rem 1rem; color: var(--text2); font-size: 1.1rem;
  display: block; border-bottom: 1px solid var(--border);
  text-decoration: none; cursor: pointer; background: none;
  width: 100%; text-align: left;
}
.mobile-nav-item:hover { color: var(--gold2); }
.mobile-nav-sub { padding-left: 1.5rem; }
.mobile-sub-label {
  padding: 0.5rem 1rem 0.1rem; color: var(--text3);
  font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
}

.ticker-wrap {
  background: var(--red); padding: 0.5rem 0;
  overflow: hidden; position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--red), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(270deg, var(--red), transparent); }
.ticker {
  display: inline-flex; gap: 80px; white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker span { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.ticker span::before { content: '✦ '; color: rgba(255,255,255,0.5); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center bottom, #2a1a08 0%, var(--bg) 70%);
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.15;
  background: repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(180,120,40,0.03) 60px, rgba(180,120,40,0.03) 61px);
}
.hero-ornament {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(200,146,42,0.1);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hero-ornament:nth-child(2) { width: 600px; height: 600px; }
.hero-ornament:nth-child(3) { width: 800px; height: 800px; border-color: rgba(200,146,42,0.06); }
.hero-ornament:nth-child(4) { width: 1000px; height: 1000px; border-color: rgba(200,146,42,0.04); }
.hero-content { position: relative; z-index: 1; padding: 2rem; padding-top: 5.4rem; width: 100%; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-image-top {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  margin: 0 auto -3.2rem;
  padding: 0 1rem;
  pointer-events: none;
}
.hero-image-frame {
  width: min(960px, var(--hero-image-width));
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(26,22,16,0.98), rgba(12,10,7,0.98));
  border: 1px solid var(--border2);
  box-shadow: 0 24px 70px rgba(0,0,0,0.44);
  overflow: hidden;
}
.hero-image-overlap {
  width: 100%;
  display: block;
  max-height: 44vh;
  object-fit: cover;
}

.hero-eyebrow {
  font-size: 0.85rem; letter-spacing: 4px; color: var(--red2);
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem); color: var(--gold2);
  line-height: 1.1; margin-bottom: 0.3rem;
  text-shadow: 0 0 40px rgba(200,146,42,0.3), 0 0 80px rgba(200,146,42,0.1);
}
.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.6rem); color: var(--text2);
  letter-spacing: 3px; margin-bottom: 2.5rem; font-style: italic;
}
.hero-divider {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2.5rem;
}
.hero-text { max-width: 680px; font-size: 1.15rem; line-height: 1.8; color: var(--text2); margin: 0 auto 3rem; text-align: center; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block; padding: 0.9rem 2.5rem;
  border: 1px solid var(--gold); color: var(--gold2);
  font-family: 'Crimson Pro', serif; font-size: 1rem; letter-spacing: 2px;
  text-decoration: none; cursor: pointer; background: transparent;
  transition: all 0.3s; text-transform: uppercase;
}
.btn-primary:hover { background: var(--gold); color: var(--bg); }
.btn-secondary {
  display: inline-block; padding: 0.9rem 2.5rem;
  border: 1px solid var(--border2); color: var(--text2);
  font-family: 'Crimson Pro', serif; font-size: 1rem; letter-spacing: 2px;
  text-decoration: none; cursor: pointer; background: transparent;
  transition: all 0.3s; text-transform: uppercase;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold2); }
.btn-full { width: 100%; text-align: center; }

section { padding: 5rem 0; }
.inner-page { padding-top: var(--nav-h); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { font-size: 0.78rem; letter-spacing: 4px; color: var(--red2); text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-family: 'Cinzel Decorative', serif; font-size: clamp(1.6rem,4vw,2.4rem); color: var(--gold2); margin-bottom: 1rem; }
.section-divider { width: 60px; height: 1px; background: var(--gold); margin: 0 auto; }

.news-card { background: var(--surface); border: 1px solid var(--border); padding: 2.5rem; max-width: 800px; margin: 0 auto; }
.news-card p { font-size: 1.1rem; line-height: 1.9; color: var(--text2); }
.news-img { margin-top: 2rem; border: 1px solid var(--border2); }
.img-placeholder {
  width: 100%; aspect-ratio: 16/9; background: var(--surface2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--text3);
}
.ph-icon { font-size: 2.5rem; }
.img-placeholder span { font-size: 0.85rem; letter-spacing: 1px; }

.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--border); text-align: center;
}
.stat-box { background: var(--bg); padding: 3rem 2rem; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: var(--gold2); line-height: 1; }
.stat-label { color: var(--text3); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 0.5rem; }

.year-filter,
.gallery-subfilter {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.gallery-subfilter {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.year-btn,
.subgallery-btn {
  position: relative;
  padding: 0.68rem 1.3rem;
  border: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(31,26,19,0.9), rgba(18,16,12,0.96));
  color: var(--text2);
  cursor: pointer;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.22s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.subgallery-btn {
  font-family: 'Crimson Pro', serif;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0.4px;
}

.year-btn:hover,
.year-btn.active,
.subgallery-btn:hover,
.subgallery-btn.active {
  border-color: var(--gold);
  color: var(--gold2);
  background: linear-gradient(180deg, rgba(200,146,42,0.14), rgba(31,26,19,0.96));
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.year-btn::after,
.subgallery-btn::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,184,75,0.65), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.year-btn:hover::after,
.year-btn.active::after,
.subgallery-btn:hover::after,
.subgallery-btn.active::after {
  opacity: 1;
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1px; background: var(--border); }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; background: var(--surface2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10,8,5,0.9)); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
  color: var(--gold2); font-family: 'Cinzel Decorative', serif; font-size: 0.85rem;
  transform: translateY(10px); opacity: 0; transition: all 0.3s;
}
.gallery-item:hover .gallery-label { transform: translateY(0); opacity: 1; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--text3);
}
.gallery-placeholder .icon { font-size: 2rem; }
.gallery-placeholder span { font-size: 0.8rem; letter-spacing: 1px; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.video-card { background: var(--surface); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: border-color 0.3s; }
.video-card:hover { border-color: var(--gold); }
.video-thumb { aspect-ratio: 16/9; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); }
.video-info { padding: 1rem; }
.video-title { color: var(--gold2); font-family: 'Cinzel Decorative', serif; font-size: 0.8rem; margin-bottom: 0.4rem; }
.video-meta { color: var(--text3); font-size: 0.85rem; font-style: italic; }

.aktuelles-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.aktuelles-item { background: var(--surface); border: 1px solid var(--border); padding: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.aktuelles-date { color: var(--text3) !important; font-size: 0.8rem !important; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem; }
.aktuelles-title { font-family: 'Cinzel Decorative', serif !important; color: var(--gold2) !important; font-size: 1.2rem !important; margin-bottom: 1rem; }
.aktuelles-text { color: var(--text2) !important; line-height: 1.9 !important; font-size: 1.1rem !important; }
.aktuelles-img { width: 100% !important; margin-top: 1.5rem !important; margin-bottom: 2rem !important; border: 1px solid var(--border2); display: block; }
#home-news-box { max-width: 800px; margin: 0 auto; }

.guestbook-entries { max-width: 700px; margin: 0 auto; }
.gb-entry { border-left: 2px solid var(--gold); padding: 1.2rem 1.5rem; margin-bottom: 1.5rem; background: var(--surface); }
.gb-entry-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.gb-name { color: var(--gold2); font-weight: 600; font-size: 1rem; }
.gb-date { color: var(--text3); font-size: 0.85rem; font-style: italic; }
.gb-text { color: var(--text2); line-height: 1.7; font-size: 1rem; }

.gb-form { max-width: 700px; margin: 3rem auto 0; background: var(--surface); padding: 2rem; border: 1px solid var(--border); }
.gb-form-title { color: var(--gold); font-family: 'Cinzel Decorative', serif; font-size: 1rem; margin-bottom: 1.5rem; letter-spacing: 1px; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; color: var(--text2); font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border2);
  color: var(--text); padding: 0.7rem 1rem;
  font-family: 'Crimson Pro', serif; font-size: 1rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 100px; resize: vertical; }

.contact-info { text-align: center; max-width: 500px; margin: 0 auto; }
.contact-detail { margin-bottom: 1rem; font-size: 1.1rem; color: var(--text2); }
.contact-detail a { color: var(--gold2); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }
.contact-note { color: var(--text3); font-size: 0.95rem; line-height: 1.7; margin-top: 1.5rem; }
.contact-address { margin-top: 3rem; padding: 2rem; background: var(--surface); border: 1px solid var(--border); }
.address-label { color: var(--text3); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.address-text { color: var(--text2); line-height: 1.8; }

.history-content { max-width: 800px; margin: 0 auto; }
.history-content p { font-size: 1.1rem; line-height: 1.9; color: var(--text2); margin-bottom: 1.5rem; }
.history-content h3 { font-family: 'Cinzel Decorative', serif; color: var(--gold2); font-size: 1.1rem; margin: 2rem 0 0.8rem; }

footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 0; text-align: center; }
.footer-logo { font-family: 'Cinzel Decorative', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: 1rem; }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text3); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold2); }
.footer-copy { color: var(--text3); font-size: 0.85rem; }

.scroll-top {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 1999;
  width: 40px; height: 40px; background: var(--surface);
  border: 1px solid var(--border2); color: var(--text2);
  cursor: pointer; display: none; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.2s;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { border-color: var(--gold); color: var(--gold2); }

.admin-trigger {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 2000;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gold); font-size: 1.2rem;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.admin-trigger:hover { border-color: var(--gold); background: var(--surface2); }

.admin-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(5,4,3,0.8); backdrop-filter: blur(4px);
}
.admin-overlay.open { display: flex; align-items: flex-start; justify-content: flex-end; }
.admin-panel {
  width: min(480px, 100vw); height: 100vh;
  background: var(--bg2); border-left: 1px solid var(--border2);
  display: flex; flex-direction: column; overflow: hidden;
}
.admin-header {
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); flex-shrink: 0;
}
.admin-title { font-family: 'Cinzel Decorative', serif; color: var(--gold); font-size: 1rem; }
.admin-close { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 1.3rem; padding: 4px; }
.admin-close:hover { color: var(--gold2); }

.admin-login { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.admin-login-hint { color: var(--text2); font-size: 0.9rem; }
.admin-demo-hint { color: var(--text3); font-size: 0.75rem; margin-top: 0.5rem; }
.admin-demo-hint code { color: var(--gold); }

.admin-main-wrap { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-tabs { display: flex; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.admin-tab {
  flex: 1; padding: 0.8rem 0.4rem; background: none; border: none;
  border-bottom: 2px solid transparent; color: var(--text2);
  cursor: pointer; font-family: 'Crimson Pro', serif; font-size: 0.85rem;
  transition: all 0.2s; text-align: center; letter-spacing: 0.3px;
}
.admin-tab:hover { color: var(--gold2); }
.admin-tab.active { color: var(--gold2); border-bottom-color: var(--gold); }
.admin-scroll { flex: 1; overflow-y: auto; }
.admin-content { padding: 1.5rem; }

.admin-section-title { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.admin-field { margin-bottom: 1rem; }
.admin-field label { display: block; font-size: 0.8rem; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.4rem; }
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%; background: var(--bg); border: 1px solid var(--border2);
  color: var(--text); padding: 0.6rem 0.8rem;
  font-family: 'Crimson Pro', serif; font-size: 0.95rem; outline: none;
}
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus { border-color: var(--gold); }
.admin-field select option { background: var(--bg2); }
.admin-field textarea { min-height: 80px; resize: vertical; }

.upload-zone {
  border: 2px dashed var(--border2); padding: 2rem; text-align: center;
  cursor: pointer; transition: all 0.2s; margin-bottom: 1rem;
}
.upload-zone:hover { border-color: var(--gold); background: rgba(200,146,42,0.04); }
.upload-zone p { color: var(--text2); font-size: 0.9rem; }
.upload-zone input { display: none; }
.upload-icon { font-size: 2rem; margin-bottom: 0.5rem; color: var(--gold); }
.upload-hint { font-size: 0.8rem; color: var(--text3); margin-top: 0.3rem; }

.uploaded-files { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.uploaded-file {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); padding: 0.6rem 0.8rem; border: 1px solid var(--border);
}
.uploaded-file span { font-size: 0.85rem; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.file-del { background: none; border: none; color: var(--red2); cursor: pointer; padding: 0 4px; font-size: 1rem; }
.file-del:hover { color: #e03030; }

.btn-admin {
  width: 100%; padding: 0.7rem; background: var(--gold); color: var(--bg);
  border: none; cursor: pointer; font-family: 'Cinzel Decorative', serif; font-size: 0.85rem;
  letter-spacing: 1px; transition: background 0.2s;
}
.btn-admin:hover { background: var(--gold2); }

.btn-danger {
  width: 100%; padding: 0.65rem; background: transparent;
  border: 1px solid var(--red2); color: var(--red2);
  cursor: pointer; font-family: 'Crimson Pro', serif; font-size: 0.9rem;
  transition: all 0.2s; letter-spacing: 0.5px;
}
.btn-danger:hover { background: var(--red); color: white; border-color: var(--red); }

.admin-entry-list { display: flex; flex-direction: column; gap: 0.6rem; }
.admin-entry {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); padding: 0.6rem 0.8rem; border: 1px solid var(--border); font-size: 0.85rem;
}
.admin-entry-info { flex: 1; min-width: 0; }
.admin-entry-name { color: var(--gold2); font-weight: 600; }
.admin-entry-preview { color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-entry-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.btn-icon { background: none; border: 1px solid var(--border2); color: var(--text2); padding: 4px 8px; cursor: pointer; font-size: 0.8rem; }
.btn-icon:hover { border-color: var(--gold); color: var(--gold2); }
.btn-icon.del:hover { border-color: var(--red2); color: var(--red2); }

.status-msg { padding: 0.6rem 1rem; font-size: 0.85rem; margin-top: 0.5rem; border-left: 3px solid; }
.status-success { background: rgba(50,120,50,0.1); border-color: #4a8; color: #4a8; }
.status-error   { background: rgba(180,40,40,0.1); border-color: var(--red2); color: var(--red2); }

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 4000;
  background: rgba(5,4,3,0.95); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: 1px solid var(--border2); color: var(--text2);
  width: 44px; height: 44px; cursor: pointer; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold2); }
.lightbox-img { max-width: 90vw; max-height: 85vh; border: 1px solid var(--border2); display: block; }
.lightbox-placeholder {
  background: var(--surface); padding: 4rem;
  text-align: center; border: 1px solid var(--border2);
}
.lightbox-placeholder .lp-icon { font-size: 4rem; margin-bottom: 1rem; }
.lightbox-placeholder .lp-name { font-family: 'Cinzel Decorative', serif; color: var(--gold2); font-size: 1.1rem; }
.lightbox-placeholder .lp-year { color: var(--text3); margin-top: 0.5rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  section { padding: 3rem 0; }
  .hero-btns { flex-direction: column; align-items: center; }
  .admin-panel { width: 100vw; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

html { scroll-behavior: smooth; }
.page-section { scroll-margin-top: var(--nav-h); }
.page-home { padding-top: var(--nav-h); }
.page-alt { background: var(--bg2); }
.header-img-wrap { background: var(--bg2); text-align: center; line-height: 0; }
.header-img { width: min(var(--hero-image-width, 100%), 100%); max-width: 100%; height: auto; display: block; margin: 0 auto; }
.ticker-wrap { display: none !important; }
#onepage > .page-section > .container,
#onepage > .page-section > section > .container { position: relative; }
.status-msg { padding: 0.6rem 1rem; font-size: 0.85rem; margin-top: 0.8rem; border-left: 3px solid; }
.status-success { background: rgba(50,120,50,0.1); border-color: #4a8; color: #4a8; }
.status-error { background: rgba(180,40,40,0.1); border-color: var(--red2); color: var(--red2); }
@media(max-width: 900px) {
  .page-home { padding-top: calc(var(--nav-h) - 10px); }
}

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero-image-top { width: calc(100% - 1rem); margin-bottom: -2.2rem; }
  .hero-content { padding-top: 3.8rem; }
}
@media (max-width: 640px) {
  .year-filter,
  .gallery-subfilter { gap: 0.5rem; }
  .year-btn,
  .subgallery-btn { width: 100%; max-width: 420px; }

  .hero { justify-content: flex-start; padding-top: calc(var(--nav-h) + 1rem); }
  .hero-image-top { width: calc(100% - 1rem); margin-bottom: -1.4rem; }
  .hero-image-frame { width: min(var(--hero-image-width), 100%); }
  .hero-image-overlap { max-height: 30vh; }
  .hero-content { padding-top: 2.6rem; }
}

.hero .hero-eyebrow, .hero .hero-title, .hero .hero-sub, .hero .hero-divider, .hero .hero-text, .hero .hero-btns { margin-left: auto; margin-right: auto; }

.legal-modal {
  display: none; position: fixed; inset: 0; z-index: 5000;
  background: rgba(5,4,3,0.85); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.legal-modal.open { display: flex; }
.legal-modal-box {
  width: 100%; max-width: 720px; max-height: 85vh;
  background: var(--bg2); border: 1px solid var(--border2);
  display: flex; flex-direction: column;
}
.legal-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.legal-modal-title {
  font-family: 'Cinzel Decorative', serif; color: var(--gold2); font-size: 1rem;
}
.legal-modal-close {
  background: none; border: 1px solid var(--border2); color: var(--text2);
  width: 36px; height: 36px; cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.legal-modal-close:hover { border-color: var(--gold); color: var(--gold2); }
.legal-modal-body {
  flex: 1; overflow-y: auto; padding: 1.5rem;
  color: var(--text2); font-size: 1rem; line-height: 1.8;
}
.legal-modal-body h2 {
  font-family: 'Cinzel Decorative', serif; color: var(--gold);
  font-size: 0.9rem; margin: 1.5rem 0 0.5rem; letter-spacing: 1px;
}
.legal-modal-body h2:first-child { margin-top: 0; }
.legal-modal-body p { margin-bottom: 0.8rem; }
.legal-modal-body a { color: var(--gold2); }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 4500;
  background: var(--surface); border-top: 1px solid var(--border2);
  padding: 1.2rem 2rem;
}
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cookie-text strong {
  display: block; color: var(--gold2); font-family: 'Crimson Pro', serif;
  font-size: 1rem; margin-bottom: 0.3rem;
}
.cookie-text p { color: var(--text2); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.cookie-btns { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-btn-accept {
  padding: 0.6rem 1.6rem; background: var(--gold); color: var(--bg);
  border: none; cursor: pointer; font-family: 'Crimson Pro', serif;
  font-size: 0.95rem; letter-spacing: 0.5px; transition: background 0.2s;
}
.cookie-btn-accept:hover { background: var(--gold2); }
.cookie-btn-info {
  padding: 0.6rem 1.2rem; background: transparent;
  border: 1px solid var(--border2); color: var(--text2);
  cursor: pointer; font-family: 'Crimson Pro', serif; font-size: 0.95rem;
  transition: all 0.2s;
}
.cookie-btn-info:hover { border-color: var(--gold); color: var(--gold2); }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; gap: 1rem; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-info { flex: 1; text-align: center; }
}

.video-thumb { position: relative; }
.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gold2);
  background: rgba(10,8,5,0.35);
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.video-card:hover .video-play-overlay { opacity: 1; }
.video-card { cursor: pointer; }

.progress-wrap {
  margin-top: 0.8rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.progress-bar {
  flex: 1; height: 8px;
  background: var(--surface2); border-radius: 4px;
  overflow: hidden; position: relative;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 4px;
  transition: width 0.2s ease;
}
.progress-indeterminate {
  width: 40% !important;
  animation: progress-slide 1.4s ease-in-out infinite;
}
@keyframes progress-slide {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(180%); }
  100% { transform: translateX(180%); }
}
.progress-label {
  font-size: 0.82rem; color: var(--gold2);
  min-width: 100px; text-align: right;
  font-family: 'Crimson Pro', serif;
  white-space: nowrap;
}
