/* =========================
   Base
   ========================= */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #fff;

  /* Fullscreen background image */
  background: url("../image/cropped-singapore-2064905-scaled-1.jpg")
              center / cover no-repeat fixed;
}

/* Readability overlay (subtle) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
  z-index: 0;
}

/* =========================
   Layout containers
   ========================= */
.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* =========================
   Skip link (accessibility)
   ========================= */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* =========================
   Header / Hero (Startseite)
   ========================= */
.site-header {
  position: relative;
  z-index: 1;
}

.brand {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.2px;
}

.brand-sub {
  margin: 6px 0 0;
  opacity: 0.9;
}

.site-main {
  position: relative;
  z-index: 1;
  padding-bottom: 120px; /* Platz für Bottom-Nav */
}

.hero {
  max-width: 760px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(4px);
}

.hero h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.hero p {
  margin: 0;
  opacity: 0.95;
}

/* =========================
   Popup-Layout (Kontakt / Impressum)
   ========================= */
.popup-layout .site-main {
  padding-bottom: 120px;
}

/* Das eigentliche "Popup" */
.popup-layout .popup-panel {
  position: relative;
  z-index: 2;

  margin: 0px auto 0;           /* Streifen oben sichtbar */
  max-width: 1100px;
  width: calc(100% - 32px);

  background: #ffffff;
  color: #111;

  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);

  max-height: calc(100vh - 150px - 100px - 24px); /*vorher*/
  /*max-height: calc(100vh - 100px - 16px); /* Navbar (100) + kleine Luft */
  overflow: auto;
}

/* Links im Popup */
.popup-layout .popup-panel a {
  color: #0b57d0;
}

/* Hero innerhalb Popup neutralisieren */
.popup-layout .popup-panel .hero {
  background: transparent;
  border: 0;
  backdrop-filter: none;
  padding: 0;
  max-width: none;
}

.popup-layout .popup-panel .hero p {
  opacity: 1;
}

/* =========================
   Iframe overlay (Ticketsystem)
   ========================= */
#iframe-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 100px); /* Platz für Navbar */
  display: none;
  background: #000;
  z-index: 10;
}

#tickets-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   Bottom navigation
   ========================= */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  z-index: 5;

  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  padding: 0 32px;
}

.bottom-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;

  height: 100%;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.bottom-nav__list a {
  display: inline-block;
  padding: 10px 16px;

  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;

  transition: background 0.15s ease, transform 0.15s ease;
}

.bottom-nav__list a:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.bottom-nav__list a:active {
  transform: translateY(0);
}

.nav-right {
  margin-left: auto;
  color: #ccc;
  font-size: 14px;
  white-space: nowrap;
}

/* =========================
   Mobile tweaks
   ========================= */
@media (max-width: 700px) {
  .bottom-nav {
    height: 110px;
  }

  .site-main {
    padding-bottom: 135px;
  }

  .popup-layout .popup-panel {
    margin-top: 120px;
    max-height: calc(100vh - 120px - 110px - 16px); /*vorher*/
	max-height: calc(100vh - 140px - 100px - 24px);
    border-radius: 12px;
  }
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 12px;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.cookie-btn--primary {
  background: #fff;
  color: #111;
}

.cookie-btn--secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
}