/* =========================================
   1. FARBEN & VARIABLEN (Aus deiner Vorlage)
   ========================================= */
:root {
  --bg0: #050508; /* Sehr dunkles Schwarz/Blau */
  --bg1: #0a0f18; /* Etwas helleres Schwarz/Blau */

  --surface: rgba(255,255,255,.04);
  --surface2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);

  --text: #eaf0ff;
  --muted: rgba(234,240,255,.65);

  --radius: 18px;
  --radius-sm: 14px;

  /* Blau-Töne */
  --brand: #2563eb;       /* Kräftiges Blau */
  --brand2: #00bfff;      /* Helles Blau / Cyan (Glow) */
  --teal: #00d3b6;        /* Akzentfarbe */

  --shadow: 0 10px 30px rgba(0,0,0,.5);
  --shadow2: 0 18px 50px rgba(0,0,0,.6);

  --nav-h: 72px;
}

/* =========================================
   2. GRUNDLAGEN
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg0);
  color: var(--text);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  margin-bottom: 15px;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* =========================================
   3. NAVIGATION & DROPDOWNS
   ========================================= */
header {
  background-color: var(--bg1);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.brand img {
  height: 40px;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav ul > li > a:not(:last-child) {
  padding: 10px 15px;
  border-radius: 8px;
}

.nav ul > li > a:hover {
  color: var(--brand2);
}

/* Dropdown-Menüs */
.dropdown {
  position: relative;
}

.dropdown .menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  
  background: #0d1524;
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
  
  transition: all 0.25s ease;
}

.dropdown .menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.dropdown:hover .menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.dropdown .menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  display: block;
}

.dropdown .menu a:hover:not([style*="not-allowed"]) {
  background: rgba(37, 99, 235, 0.15);
  color: #fff;
  padding-left: 18px;
  text-shadow: 0 0 5px var(--brand2);
}

/* --- AUTOMATISCHER BUTTON-STYLE (TICKETS & KONTAKT) --- */
/* Macht den allerletzten Navigations-Link automatisch zum Button! */
.nav ul li:last-child a {
  background-color: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  border: none;
}

.nav ul li:last-child a:hover {
  background-color: #1d4ed8;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

#nav-toggle, .burger {
  display: none;
}

/* =========================================
   4. HERO BEREICH & COUNTDOWN
   ========================================= */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%);
}

.grad {
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
}

.lead {
  max-width: 700px;
  margin: 20px auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.cd-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 25px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.cd-item:hover {
  border-color: var(--brand2);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
  transform: translateY(-3px);
}

.cd-item span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--brand2);
}

.cd-item small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover {
  background: #1d4ed8;
  box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--brand2);
  border: 1px solid var(--brand2);
}

.btn.ghost:hover {
  background: rgba(0, 191, 255, 0.1);
}

/* =========================================
   5. BEREICHE & GALERIE
   ========================================= */
.section-card {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 8, 0.85);
  color: var(--text);
  padding: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

/* =========================================
   6. PARTNER / KOOPERATIONEN
   ========================================= */
.partners {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.partners-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  width: 180px;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.partner-card img {
  max-width: 80%;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(100%) opacity(0.8);
  transition: filter 0.3s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--brand);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
  outline: none;
}

.partner-card:hover img {
  filter: grayscale(0%) opacity(1);
}

.partner-fallback {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--muted);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.02);
}

/* =========================================
   7. STORYLINE TIMELINE
   ========================================= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand2);
  box-shadow: 0 0 12px var(--brand2);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 25px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(8px);
  border-color: var(--brand);
  box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
}

.timeline-meta {
  color: var(--brand2);
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.timeline-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* =========================================
   8. RÜCKBLICK STATISTIKEN
   ========================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.15);
  border-color: var(--brand2);
}

.stat-value {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--brand2);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.stat-label {
  color: var(--muted);
  font-size: 1.1rem;
}

/* =========================================
   9. KONTAKTFORMULAR & FAQ
   ========================================= */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.faq-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.faq-list details:hover {
  border-color: var(--brand2);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none; 
  color: var(--text);
  transition: color 0.3s;
}

.faq-list details[open] summary {
  color: var(--brand2);
  margin-bottom: 10px;
}

.faq-list .answer {
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* =========================================
   10. FOOTER
   ========================================= */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

footer a {
  color: var(--muted);
  margin: 0 10px;
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--brand2);
}           