/* === GRUNDLAYOUT === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  background: white;
  color: black;
  text-align: center;
}

.page-wrapper {
  background-color: white;
  min-height: 100vh;
  padding-top: 1em;
  display: flex;
  flex-direction: column;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}


main {
  flex: 1;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Hauptinhalt flexibel dehnbar */
main {
  flex: 1 0 auto;
}

/* === HERO-BILD === */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* === FESTIVAL-NAVIGATION === */
.festival-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: white;
  backdrop-filter: blur(6px);
  padding: 0.75em 1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);

  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: fixed;
}

/* Logo links */
.festival-nav .logo {
  padding-left: 2em;
  margin-right: 2em;
}

.festival-nav .logo img {
  height: 40px;
  vertical-align: middle;
}

/* ZENTRIERTER Menüblock */

/* UL = Menüliste zentriert */
.menu-center ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2em;
}

/* Menü-Links */
.menu-center a {
  color: #0000ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  padding: 0.5em;
  transition: color 0.3s ease;
}

.menu-center a:hover {
  color: #f6e71a;
}

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

.festival-nav .dropdown-content {
  display: none;

  position: absolute;
  top: calc(100% + 0.3em);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 0.5em 0;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.festival-nav .dropdown:hover .dropdown-content {
  display: block;
}

.festival-nav .dropdown-content li {
  padding: 0.4em 1em;
  text-align: left;
  white-space: nowrap;
}

.festival-nav .dropdown-content li a {
    color: #0000ff;
  display: block;
}

.festival-nav .dropdown-content li a:hover {
  color: #f6e71a;
}

.festival-nav .arrow {
  font-size: 0.8em;
  color: #0000ff;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
}
/* === FOOTER === */
footer {
  background-color: white; /* schwarz wie Seitenhintergrund */
  color: #ccc;
  font-size: 0.9em;
  text-align: center;
  padding: 1.5em 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Footer bleibt unten */


/*f6e71a* Farbe gelb */ 
footer a {
  color: #0000ff; /* ISFF-Rot */
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f6e71a;
}

@media (max-width: 600px) {
  footer {
    font-size: 0.8em;
    padding: 1em 0.5em;
  }
}

.festival-content {
  padding: 5em;
  max-width: 800px;
    font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  color: #d74927;
  line-height: 1.6;
}

/* Impressum- & Datenschutzseite */
.impressum-content {
  padding: 2em;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  color: black;
  line-height: 1.6;
}

.impressum-content h1,
.impressum-content h2 {
  color: var(--farbe-gold, #d74927);
  margin-top: 2em;
}

.impressum-content a {
  color: var(--farbe-gold, #d74927);
  text-decoration: underline;
}

.impressum-content a:hover {
  color: #f6e71a;
  text-decoration: none;
}

.impressum-content p {

  margin-bottom: 1.5em;
}

.backlink {
  display: inline-block;
  margin-top: 1em;
  font-weight: bold;
}


.programm-kacheln {
  display: flex;
  flex-wrap: wrap; /* erlaubt Zeilenumbruch */
  gap: 2em;
  justify-content: left;
  padding: 2em;
  background: white;
}

.programm-kacheln img {
  padding-top: 0em;
  width: 100%;
  max-width: 500px; /* z. B. jede Kachel maximal 300px breit */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.isff-logo {
  max-width: 100%;
  height: auto;
  margin-top: 2.5 em;
  margin-bottom: 1em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.dropdown-title {
    color: #0000ff;
  font-weight: 600;
  font-size: 1em;
  padding: 0.5em;
  cursor: default;
}



.programm-page {
  padding-top: 2em;
  max-width: 100%;
  margin: 0 auto;
  background-color: white;
  text-align: center;
  color: black; /* je nach Hintergrund */


}

.programm-page h1 {
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase; /* Versalien */
  letter-spacing: 0.05em;
  color: #d74927; /* ISFF-Rot */
  margin-bottom: 1em;
  margin-top: 0;
}
.festival {
  background: #fff;
  color: #111;
  padding: 2em;
  max-width: 800px;
  margin: 0 auto;
  border-left: 0px solid #d74927; /* ISFF-Rot */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  line-height: 1.6;
  border-radius: 8px;
}
.ticketing {
  color: #111;
  min-height: 100vh;
  background-color: #d74927;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center; /* wichtig für img-Zentrierung */
}

.ticketing img {
  max-height: 100vh;
  height: auto;
  width: auto;
  display: inline-block; /* sorgt für zentrierbares Verhalten */
}

.ticketing, .festival h2 {
  margin-top: 0;
  color: #d74927;
  font-size: 1.6em;
}

.ticketing, .festival p {
  margin-bottom: 1em;
}

.ticketing, .festival strong {
  color: #d74927; /* Akzentfarbe */
}

@media (max-width: 600px) {
  .ticketing, .festival {
    padding: 1.5em 1em;
    margin: 2em 1em;
  }

  .ticketing, .festival h2 {
    font-size: 1.4em;
  }
}




.universal-image {
  margin-top: 3em;
  margin-bottom: 0em;
  text-align: center;
}

.universal-image img {
  max-width: 800px;
  height: auto;
  border-radius: 8px; /* optional für abgerundete Ecken */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* optionaler Schatten */
}
.logo-svg {
  width: 100px;
  height: auto;
  color: #0000ff; /* ISFF-Rot */
}


.mainaqila-button img {
  max-width: 100px; /* kleiner machen */
  height: auto;
  background-color: black;
  border: 2px solid #d74927; /* ISFF-Rot */
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mainaqila-button img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  color: #0000ff;
  cursor: pointer;
  margin-left: auto;
  margin-right: 1em;
}

/* Mobile Menüausblendung */
.festival-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  background: #fff;
  position: relative;
}

.nav-left .logo img {
  height: 40px;
}

.menu-toggle {
  display: none;
    color: #0000ff;

  background: none;
  border: none;
  font-size: 1.8em;
  cursor: pointer;
}

@media (min-width: 769px) {
  .menu-center {
    flex-grow: 1;
    display: flex;
    color: #0000ff;
    justify-content: center;
    align-items: center;
  }
}


.menu-center ul {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

.menu-center li {
  position: relative;
}

/* Dropdown */
.dropdown-content {
  display: none;
  color: #0000ff;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* Standard: Ausblenden */
.nur-mobil {
  display: none;
}

/* Sichtbar auf Mobilgeräten */
@media (max-width: 768px) {
  .nur-mobil {
    display: block;
  }
}


/* Responsive ab 768px und kleiner */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nur-mobil {
    padding-top: 1em;
    display: block;
  }

  .menu-center {
    display: none; /* zunächst versteckt */
    flex-direction: column;
    color: #0000ff; 
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1em;
    z-index: 999;
    transition: all 0.3s ease;
  }

  .menu-center.active {
    display: flex; /* bei Aktivierung sichtbar */
  }

  .menu-center ul {
    flex-direction: column;
    gap: 1em;
  }
  .dropdown-content {
    display: none;
    position: static;
    box-shadow: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown .dropdown-title {
    font-weight: bold;
    cursor: pointer;
  }

}
 .ticketlink-label {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #d74927; /* ISFF-Rot oder was du willst */
  }