/* =============== BASISLAYOUT =============== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

body {
  background: linear-gradient(135deg, #e3f2fd, #fff);
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============== HEADER / NAVIGATION =============== */
header {
  background: #1976d2;
  color: white;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

header .logo-area h1 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

header .logo-area p {
  font-size: 0.9rem;
  opacity: 0.8;
}

nav {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

nav button {
  background: white;
  border: none;
  color: #1976d2;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav button:hover {
  background: #bbdefb;
  transform: translateY(-2px);
}

/* =============== MAIN INHALT =============== */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.5s ease-in-out;
}

section {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

section.visible {
  display: block;
}

h2 {
  color: #1976d2;
  margin-bottom: 1rem;
}

/* =============== HERO / STARTSEITE =============== */
.hero {
  text-align: center;
  background: linear-gradient(135deg, #90caf9, #bbdefb);
  padding: 2rem;
  border-radius: 12px;
  color: #0d47a1;
  margin-bottom: 2rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1rem;
}

.cta {
  background: #0d47a1;
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s;
}

.cta:hover {
  background: #1565c0;
  transform: scale(1.05);
}

/* =============== INFO-KARTEN =============== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: #e3f2fd;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* =============== FORMULARE (Tickets + Kontakt) =============== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

label {
  font-weight: 600;
}

input, select, textarea, button {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

button {
  background: #1976d2;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.1s ease;
}

button:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

.message {
  margin-top: 1rem;
  font-weight: 600;
}

/* =============== TICKET ANZEIGE =============== */
.ticket {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  background: #f5f5f5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.ticket:hover {
  transform: scale(1.01);
}

/* =============== GALERIE =============== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* =============== FAQ =============== */
details {
  background: #f5f5f5;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

details summary {
  font-weight: 600;
  color: #1976d2;
}

details p {
  margin-top: 0.5rem;
}

/* =============== KONTAKT =============== */
#contact form {
  background: #e3f2fd;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* =============== FOOTER =============== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #1976d2;
  color: white;
  margin-top: auto;
  font-size: 0.9rem;
}

/* =============== ANIMATIONEN =============== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============== MODAL =============== */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}


/* =============== RESPONSIVE =============== */
@media (max-width: 700px) {
  header h1 {
    font-size: 1.5rem;
  }

  main {
    margin: 1rem;
    padding: 1.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  nav button {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-content form input {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#paymentResult {
  margin-top: 1rem;
  font-weight: bold;
  color: green;
  text-align: center;
}
