:root {
  --green: #0F3D1E;
  --gold: #C9A227;
  --light: #F5F5F5;
  --dark: #222222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: #ffffff;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--green);
  color: #ffffff;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.85rem;
}
/* --- BURGER ICON (immer sichtbar) --- */
.burger {
  cursor: pointer;
  z-index: 9999;
  position: fixed;
  top: 20px;
  right: 20px;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  margin: 6px 0;
  transition: 0.3s;
}

/* --- NAVIGATION PANEL (immer mobil) --- */
nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100vh;
  background: linear-gradient(to right, #0F3D1E 0%, #222222 120%);
  backdrop-filter: blur(6px);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding-top: 80px;
  z-index: 9998;
}

nav.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  list-style:none;
  padding-left:0;
  margin-left:0;
}

nav a {
  color: #C9A227;
  font-size: 1.2rem;
  text-decoration: none;
}

nav a:hover {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  color: white;
}

/* CTA Button */
.btn-nav-primary {
  padding: 0.5rem 1rem;
  background: #ffcc00;
  color: #000 !important;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-nav-primary:hover {
  background: #ffdd33;
}

/* Hero */

.hero {
  background: linear-gradient(135deg, rgba(15,61,30,0.9), rgba(15,61,30,0.7)),
              url('pics/hero-bogenplatz.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 20px 10px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.hero-logo {
  width: 80px;        /* Standardgröße auf Desktop */
  max-width: 30vw;     /* skaliert auf kleinen Geräten automatisch */
  height: auto;        /* verhindert Verzerrung */
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.7));
}

@media (max-width: 480px) {
  .hero-logo {
    width: 120px;
    max-width: 60vw;
  }
}

.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.btn-primary:hover {
  background: #e0b842;
}

/* Sections */

.section {
  padding: 50px 20px;
}

.section-alt {
  background: var(--light);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-top: 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Events */

.list-events {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-events li {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.event-date {
  font-weight: 600;
  color: var(--green);
}

.event-title {
  margin-top: 3px;
}

/* Tabelle Könige */

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
}

th {
  text-align: left;
  background: #eeeeee;
}

/* Footer */

.footer {
  background: var(--green);
  color: #ffffff;
  padding: 15px 20px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
}

/* Responsive */

@media (max-width: 768px) {
  .nav ul {
    position: absolute;
    top: 56px;
    right: 20px;
    background: var(--green);
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    display: none;
  }

  .nav ul.nav-open {
    display: flex;
  }

  .burger {
    display: block;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

@media (min-width: 769px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.calendar-month {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.calendar-header {
  background: var(--green);
  color: white;
  padding: 10px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #ccc;
}

.calendar-grid div {
  padding: 10px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  min-height: 60px;
}

.calendar-day {
  font-weight: bold;
  background: #f5f5f5;
}

.event {
  margin-top: 5px;
  padding: 4px 6px;
  background: var(--gold);
  color: black;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.koenige-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.koenige-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.koenige-list li.more {
  display: none;
}
.termine-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.termine-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.termine-list li span.date {
  font-weight: 700;
  color: var(--green);
  display: inline-block;
  width: 120px;
}

.termine-list li span.title {
  font-weight: 600;
}

.termine-list li span.time {
  color: #666;
  margin-left: 10px;
}

.termine-list li span.location {
  color: #999;
  margin-left: 10px;
}

.koenige-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.koenige-column h3 {
  margin-bottom: 10px;
  color: var(--green);
}

.koenige-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.koenige-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.koenige-list li.more {
  display: none;
}

/* Responsive: unter 800px → 1 Spalte */
@media (max-width: 800px) {
  .koenige-grid {
    grid-template-columns: 1fr;
  }
}

.meister-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.meister-column h3 {
  margin-bottom: 10px;
  color: var(--green);
}

.meister-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meister-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.meister-list li.more {
  display: none;
}

/* Responsive: unter 800px → 1 Spalte */
@media (max-width: 800px) {
  .meister-grid {
    grid-template-columns: 1fr;
  }
}

.dokumente-buttons {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.dokumente-buttons button {
  padding: 8px 16px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.dokumente-buttons button:hover {
  background: var(--gold);
  color: black;
}

.dokumente-viewer iframe {
  margin:0px;
  padding:0px;
  width: 100%;
  height: 800px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.presse-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.presse-buttons button {
  padding: 8px 16px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.presse-buttons button:hover {
  background: var(--gold);
  color: black;
}

.presse-viewer iframe {
  width: 100%;
  height: 800px;
  border: 1px solid #ccc;
  border-radius: 6px;
}


.ics-link {
  text-decoration: none;     /* entfernt Unterstrich */
  padding: 0.5rem 1rem;
  background: var(--gold);   /* dein Goldton */
  color: #000;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s ease;
}

.ics-link:hover {
  background: #ffdd33;
  color: #000;
  text-decoration: none;     /* auch beim Hover */
}