/* =====================================================================
   Azoren-Präsentation – Cinematic Design System
   Oceanic · Volcanic · Misty · Natural
   ===================================================================== */

:root {
  /* Primärfarben */
  --atlantic-deep-blue: #003049;
  --azores-blue-mist:   #1d3557;

  /* Akzentfarben */
  --azores-green:       #2a9d8f;
  --hydrangea-yellow:   #e9c46a;
  --sunset-orange:      #f4a261;

  /* Neutral */
  --lava-black:         #1d1d1d;
  --cloud-mist-white:   #f1faee;

  /* Abgeleitete Tokens */
  --ink:           var(--cloud-mist-white);
  --ink-dim:       rgba(241, 250, 238, 0.72);
  --ink-faint:     rgba(241, 250, 238, 0.42);
  --bg:            var(--lava-black);
  --bg-deep:       #0a0a0a;
  --panel:         rgba(241, 250, 238, 0.06);
  --panel-2:       rgba(241, 250, 238, 0.12);
  --panel-border:  rgba(241, 250, 238, 0.10);

  --radius:        16px;
  --radius-lg:     22px;
  --shadow-1:      0 18px 50px rgba(0, 0, 0, .45);
  --shadow-blue:   0 18px 50px rgba(0, 48, 73, .55);
  --shadow-glow:   0 0 30px rgba(42, 157, 143, .35);

  --ease:          cubic-bezier(.65, .05, .35, 1);
  --ease-soft:     cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--lava-black);
  color: var(--ink);
  font-family: 'Inter', -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body { min-height: 100vh; scroll-behavior: smooth; }
a, button { font-family: inherit; }

/* =====================================================================
   Typografie – Travel Documentary Feeling
   ===================================================================== */
h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  margin: 0 0 .4em;
  line-height: 1.1;
  color: var(--ink);
}
h1 {
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.01em;
}
h2 {
  font-size: clamp(24px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: .005em;
}
h3 { font-size: clamp(16px, 1.8vw, 22px); font-weight: 600; }
p  { color: var(--ink-dim); line-height: 1.65; font-weight: 300; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--hydrangea-yellow);
  font-size: 11px;
  font-weight: 600;
}

/* =====================================================================
   Ocean-Mist Noise Overlay (global, sehr subtil)
   ===================================================================== */
.mist-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 250;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =====================================================================
   LANDING
   ===================================================================== */
.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--atlantic-deep-blue) 60%, var(--azores-blue-mist) 100%);
}

.landing-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(.55) saturate(1.15) contrast(1.05);
}

/* Dunkler Gradient-Overlay laut Vorgabe */
.landing-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.7) 100%),
    radial-gradient(ellipse at 50% 60%, transparent 0%, rgba(0, 48, 73, .35) 80%);
}

/* Ocean-Breeze-Bewegung: leichter, langsam treibender Nebel */
.landing-overlay::after {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(241,250,238,.05), transparent 60%),
    radial-gradient(ellipse 50% 35% at 70% 60%, rgba(42,157,143,.06), transparent 60%);
  filter: blur(40px);
  animation: breeze 18s ease-in-out infinite alternate;
}
@keyframes breeze {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-3%, 2%); }
}

.landing.no-video::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, var(--bg-deep), var(--atlantic-deep-blue), var(--azores-blue-mist), var(--atlantic-deep-blue));
  background-size: 400% 400%;
  animation: oceanShift 18s ease infinite;
}
@keyframes oceanShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.landing-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 1000px;
  animation: fadeUp 1.8s var(--ease) both;
}

.landing-eyebrow {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .55em;
  color: var(--hydrangea-yellow);
  font-size: clamp(.72rem, 1.2vw, .9rem);
  font-weight: 500;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.flag-icon {
  width: 1.6em;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  vertical-align: middle;
  /* "Letterspacing" wirkt auch hier — kompensieren */
  margin-right: -.55em;
}

.landing-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--cloud-mist-white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, .65);
  margin-bottom: 1.6rem;
}
.landing-title strong {
  font-weight: 800;
  color: var(--cloud-mist-white);
  background: linear-gradient(120deg, var(--cloud-mist-white) 0%, var(--hydrangea-yellow) 60%, var(--sunset-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--ink-dim);
  letter-spacing: .04em;
  margin-bottom: 2.4rem;
}

/* Sanfter Fade unten zur Trennung */
.landing::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to top, var(--lava-black), transparent);
  z-index: 1; pointer-events: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   Floating Start-Button (Sunset Orange → Azores Green on hover)
   ===================================================================== */
.start-fab {
  position: absolute;
  bottom: 36px; right: 36px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  background: var(--sunset-orange);
  color: var(--lava-black);
  border: 0;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-1), 0 0 0 0 rgba(244, 162, 97, .55);
  transition: background .35s var(--ease), color .35s var(--ease),
              transform .25s var(--ease), box-shadow .35s var(--ease);
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.start-fab:hover {
  background: var(--azores-green);
  color: var(--cloud-mist-white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-1), var(--shadow-glow);
  animation: none;
}
.start-fab-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(29, 29, 29, .15);
  font-size: 16px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.start-fab:hover .start-fab-arrow {
  transform: translateX(5px);
  background: rgba(241, 250, 238, .2);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-1), 0 0 0 0 rgba(244, 162, 97, .55); }
  50%      { box-shadow: var(--shadow-1), 0 0 0 16px rgba(244, 162, 97, 0); }
}

/* =====================================================================
   PIN GATE
   ===================================================================== */
.pin-gate {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(29, 29, 29, .82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.pin-gate.visible { opacity: 1; pointer-events: auto; }

.pin-box {
  background: rgba(29, 29, 29, .55);
  border: 1px solid rgba(241, 250, 238, .12);
  padding: 38px 44px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 92vw;
  box-shadow: var(--shadow-1);
}
.pin-gate.shake .pin-box { animation: shake .55s var(--ease); }
.pin-gate.error  .pin-box { border-color: rgba(239, 71, 111, .55); box-shadow: 0 0 40px rgba(239,71,111,.35); }
.pin-gate.success .pin-box { border-color: var(--azores-green); box-shadow: 0 0 50px rgba(42,157,143,.55); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.pin-eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--hydrangea-yellow);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pin-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}
.pin-sub {
  color: var(--ink-dim);
  font-size: 13px;
  margin-bottom: 26px;
  letter-spacing: .03em;
}

.pin-inputs {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 10px;
}

.pin-digit {
  width: 58px; height: 70px;
  border-radius: 12px;
  background: rgba(241, 250, 238, .04);
  border: 2px solid rgba(241, 250, 238, .15);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--cloud-mist-white);
  outline: none;
  transition: all .3s var(--ease);
  box-shadow: inset 0 0 0 0 rgba(42, 157, 143, 0);
}
.pin-digit:focus {
  border-color: var(--azores-green);
  background: rgba(42, 157, 143, .08);
  box-shadow: 0 0 24px rgba(42, 157, 143, .45),
              inset 0 0 12px rgba(42, 157, 143, .15);
  transform: translateY(-2px);
}
.pin-gate.error .pin-digit {
  border-color: rgba(239, 71, 111, .6);
  box-shadow: 0 0 16px rgba(239, 71, 111, .35);
}

.pin-error {
  min-height: 1.4rem;
  color: #ff96ad;
  font-size: 13px;
  margin-top: 8px;
  letter-spacing: .02em;
}

.pin-close {
  position: absolute; top: 18px; right: 18px;
  background: rgba(241, 250, 238, .06);
  border: 1px solid rgba(241, 250, 238, .08);
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.pin-close:hover {
  background: rgba(241, 250, 238, .14);
  border-color: var(--azores-green);
}

/* =====================================================================
   PRESENTATION + SLIDER
   ===================================================================== */
.presentation {
  position: relative; width: 100%;
  min-height: 100vh;
  background: var(--lava-black);
  display: none;
}
.presentation.revealed { display: block; }

.slider-container {
  position: relative;
  width: 100%; height: 100vh;
  overflow: hidden;
  background: var(--lava-black);
}

.slider-stage { position: absolute; inset: 0; }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
  padding: 32px;
}
.slide.entering { opacity: 0; }
.slide.active   { opacity: 1; transform: scale(1); }
.slide.leaving  { opacity: 0; transform: scale(.98); }

.slide img, .slide video {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 6px;
  box-shadow:
    0 30px 80px rgba(0, 48, 73, .55),
    0 8px 30px rgba(0, 0, 0, .5);
}

/* Click zones */
.click-zone {
  position: absolute; top: 0; bottom: 0;
  width: 35%; z-index: 10;
  cursor: pointer;
}
.click-zone.left  { left: 0; }
.click-zone.right { right: 0; }
.click-zone::after {
  content: ""; position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background-color: rgba(29, 29, 29, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(241, 250, 238, .18);
  opacity: 0;
  transition: opacity .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
}
.click-zone.left::after  { left: 1.8rem;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1faee'><path d='M15 6l-6 6 6 6'/></svg>"); }
.click-zone.right::after { right: 1.8rem; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1faee'><path d='M9 6l6 6-6 6'/></svg>"); }
.click-zone:hover::after {
  opacity: 1;
  background-color: rgba(42, 157, 143, .35);
  border-color: var(--azores-green);
  box-shadow: 0 0 28px rgba(42, 157, 143, .55);
}

/* =====================================================================
   TOPBAR  (breadcrumb + menu button)
   ===================================================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.topbar > * { pointer-events: auto; }
.topbar.visible { opacity: 1; }

.crumbs {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.crumbs strong { color: var(--cloud-mist-white); font-weight: 600; }
.crumbs .accent { color: var(--hydrangea-yellow); font-weight: 600; }

/* Hamburger als drei Linien (Cloud Mist White) */
.menu-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(29, 29, 29, .45);
  border: 1px solid rgba(241, 250, 238, .14);
  color: var(--cloud-mist-white);
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .3s var(--ease);
}
.menu-btn:hover {
  border-color: var(--azores-green);
  color: var(--azores-green);
  box-shadow: var(--shadow-glow);
}
.menu-btn::before {
  content: "";
  width: 18px; height: 12px;
  background:
    linear-gradient(var(--cloud-mist-white), var(--cloud-mist-white)) top    / 18px 2px no-repeat,
    linear-gradient(var(--cloud-mist-white), var(--cloud-mist-white)) center / 18px 2px no-repeat,
    linear-gradient(var(--cloud-mist-white), var(--cloud-mist-white)) bottom / 18px 2px no-repeat;
  transition: background .3s var(--ease);
}
.menu-btn:hover::before {
  background:
    linear-gradient(var(--azores-green), var(--azores-green)) top    / 18px 2px no-repeat,
    linear-gradient(var(--azores-green), var(--azores-green)) center / 18px 2px no-repeat,
    linear-gradient(var(--azores-green), var(--azores-green)) bottom / 18px 2px no-repeat;
}

/* Topbar Aktionsleiste (Fullscreen + Menü) */
.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(241, 250, 238, .04);
  border: 1px solid rgba(241, 250, 238, .14);
  border-radius: 999px;
  color: var(--cloud-mist-white);
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}
.icon-btn:hover {
  border-color: var(--azores-green);
  color: var(--azores-green);
  box-shadow: var(--shadow-glow);
}
.icon-btn .fs-icon { display: block; }
.icon-btn .fs-exit { display: none; }
.icon-btn[aria-pressed="true"] .fs-enter { display: none; }
.icon-btn[aria-pressed="true"] .fs-exit  { display: block; }
.icon-btn[aria-pressed="true"] {
  color: var(--sunset-orange);
  border-color: var(--sunset-orange);
}

/* =====================================================================
   BOTTOMBAR (prev / progress / next) — Hydrangea-Yellow Progress
   ===================================================================== */
.bottombar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.bottombar.visible { opacity: 1; }

.bottombar .nav-btn {
  background: rgba(241, 250, 238, .08);
  color: var(--cloud-mist-white);
  border: 1px solid rgba(241, 250, 238, .12);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .3s var(--ease);
}
.bottombar .nav-btn:hover {
  background: rgba(42, 157, 143, .25);
  border-color: var(--azores-green);
  color: var(--azores-green);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.bottombar .nav-btn[disabled] {
  opacity: .25; cursor: not-allowed;
  transform: none; box-shadow: none;
  background: rgba(241, 250, 238, .04);
  color: var(--ink-faint);
  border-color: rgba(241, 250, 238, .06);
}

.progress {
  flex: 1; height: 4px;
  background: rgba(241, 250, 238, .12);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 6px;
}
.progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--hydrangea-yellow), var(--sunset-orange));
  box-shadow: 0 0 12px rgba(233, 196, 106, .55);
  transition: width .5s var(--ease);
  width: 0%;
}

.caption {
  position: fixed; bottom: 64px; left: 0; right: 0; z-index: 55;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: .28em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.caption.visible { opacity: 1; }
.caption .tagline {
  color: var(--hydrangea-yellow);
  font-weight: 600;
  margin-left: 10px;
  letter-spacing: .22em;
}
.caption .location {
  display: inline-block;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(241, 250, 238, .18);
  color: var(--sunset-orange);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: none;
  font-size: 11px;
}

/* =====================================================================
   MENU OVERLAY  (Atlantic Deep Blue 80% Opacity, Slide + Fade)
   ===================================================================== */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background:
    linear-gradient(160deg, rgba(0, 48, 73, .92) 0%, rgba(29, 53, 87, .88) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  overflow-y: auto;
  padding: 90px 32px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.menu-overlay.open {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s;
}

/* Dezenter Nebel-Layer im Menü */
.menu-overlay::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(42, 157, 143, .15), transparent),
    radial-gradient(ellipse 50% 35% at 80% 80%, rgba(244, 162, 97, .12), transparent);
  pointer-events: none;
}

.menu-close {
  position: fixed; top: 22px; right: 22px;
  background: rgba(241, 250, 238, .08);
  border: 1px solid rgba(241, 250, 238, .14);
  color: var(--cloud-mist-white);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .3s var(--ease);
}
.menu-close:hover {
  background: rgba(244, 162, 97, .2);
  border-color: var(--sunset-orange);
  color: var(--sunset-orange);
}

.menu-header {
  position: relative;
  max-width: 1040px;
  margin: 0 auto 32px;
}
.menu-header .eyebrow { margin-bottom: 12px; }
.menu-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.menu-header h2 strong { color: var(--hydrangea-yellow); font-weight: 700; }
.menu-header p {
  font-size: 14px;
  max-width: 60ch;
  letter-spacing: .02em;
}

.menu-grid {
  position: relative;
  max-width: 1040px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.menu-card {
  text-align: left;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  background: rgba(241, 250, 238, .06);
  border: 1px solid rgba(241, 250, 238, .10);
  color: var(--cloud-mist-white);
  font-family: inherit;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              transform .3s var(--ease), box-shadow .35s var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: menuCardIn .55s var(--ease) both;
}
.menu-overlay.open .menu-card { animation-play-state: running; }
.menu-card:nth-child(1) { animation-delay: .05s; }
.menu-card:nth-child(2) { animation-delay: .10s; }
.menu-card:nth-child(3) { animation-delay: .15s; }
.menu-card:nth-child(4) { animation-delay: .20s; }
.menu-card:nth-child(5) { animation-delay: .25s; }

@keyframes menuCardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-card:hover {
  background: rgba(42, 157, 143, .18);
  border-color: var(--azores-green);
  color: var(--azores-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue), var(--shadow-glow);
}
.menu-card .num {
  font-family: 'Inter', sans-serif;
  color: var(--hydrangea-yellow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.menu-card .ttl {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: -.005em;
  color: inherit;
}
.menu-card .sub {
  font-size: 13px;
  color: var(--ink-dim);
  margin-top: 4px;
  font-weight: 300;
}

.menu-card.active {
  background: rgba(244, 162, 97, .18);
  border-color: var(--sunset-orange);
}
.menu-card.active .ttl,
.menu-card.active .num { color: var(--sunset-orange); }

/* =====================================================================
   INTRO ZOOM OVERLAY (User-Asset-Sequenz, Crossfade + Ken-Burns)
   ===================================================================== */
.zoom-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--lava-black);
  overflow: hidden;
  display: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.zoom-overlay.active     { opacity: 1; }
.zoom-overlay.fading-out { opacity: 0; }

.zoom-stage {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--atlantic-deep-blue) 0%, var(--lava-black) 80%);
  overflow: hidden;
}

/* Mapbox-Karte füllt die zoom-stage */
.zoom-map {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.zoom-map .mapboxgl-canvas { outline: none; }
.zoom-map .mapboxgl-ctrl,
.zoom-map .mapboxgl-ctrl-attrib { display: none !important; }

/* Jeder Sequenz-Schritt ist eine eigene Layer, die übereinander gestapelt
   wird. Crossfade per opacity. */
.zoom-layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.zoom-layer.active  { opacity: 1; }
.zoom-layer.leaving { opacity: 0; }

.zoom-layer img,
.zoom-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--lava-black);
  will-change: transform;
}

/* Ken-Burns-Zoom für Bilder. Per CSS-Variablen pro Step gesetzt:
   --zoom-from, --zoom-to, --origin-x, --origin-y, --duration */
.zoom-layer.ken-burns img {
  transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
  animation: kenBurns var(--duration, 3s) cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes kenBurns {
  from { transform: scale(var(--zoom-from, 1));   }
  to   { transform: scale(var(--zoom-to, 1.15)); }
}

/* Vignette über der Sequenz für Tiefe */
.zoom-stage::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 240px 60px rgba(0, 0, 0, .75);
  z-index: 2;
}

/* Label pro Step ("Earth from Space", "Europe", …) */
.zoom-label {
  position: absolute;
  bottom: 12vh; left: 0; right: 0;
  text-align: center;
  z-index: 4;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--cloud-mist-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.zoom-label.visible {
  opacity: 1;
  transform: translateY(0);
}
.zoom-label::before {
  content: "";
  display: block;
  width: 36px; height: 2px;
  background: var(--hydrangea-yellow);
  margin: 0 auto 14px;
  box-shadow: 0 0 12px rgba(233, 196, 106, .6);
}

.intro-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--lava-black), var(--atlantic-deep-blue), var(--azores-blue-mist), var(--atlantic-deep-blue));
  background-size: 400% 400%;
  animation: oceanShift 6s ease infinite;
  display: none;
  z-index: 1;
}
.intro-fallback.active { display: block; }

.intro-skip {
  position: absolute; bottom: 26px; right: 26px;
  z-index: 5;
  padding: 10px 18px;
  background: rgba(29, 29, 29, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(241, 250, 238, .2);
  border-radius: 999px;
  color: var(--cloud-mist-white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.intro-skip:hover {
  background: var(--azores-green);
  border-color: var(--azores-green);
  color: var(--cloud-mist-white);
  box-shadow: var(--shadow-glow);
}

/* =====================================================================
   CARTOON-MAP-INTRO (handgezeichnete interaktive SVG-Karte)
   ===================================================================== */
.cmap-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: #1d3557;
  overflow: hidden;
  display: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.cmap-overlay.active     { opacity: 1; }
.cmap-overlay.fading-out { opacity: 0; }

.cmap-stage {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.cmap-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  font-family: 'Poppins', sans-serif;
}

.cmap-title-eyebrow {
  fill: #fffdf3;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .42em;
  opacity: .8;
}
.cmap-title-main {
  fill: #fffdf3;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* Routenlinie zeichnet sich beim Animieren via JS strokeDashoffset */
.cmap-route { pointer-events: none; }

/* Vehikel (Flugzeug / Schiff) */
.cmap-vehicle {
  transition: opacity .6s ease;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.35));
}
.cmap-vehicle.leaving { opacity: 0; }

/* Marker */
.cmap-marker {
  cursor: default;
}
.cmap-marker.unlocked { cursor: pointer; }

.cmap-marker-card {
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.cmap-marker.unlocked .cmap-marker-card,
.cmap-marker[data-kind="start"] .cmap-marker-card,
.cmap-marker[data-kind="transit"] .cmap-marker-card {
  opacity: 1;
  pointer-events: auto;
}

.cmap-leader {
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.cmap-marker.unlocked .cmap-leader,
.cmap-marker[data-kind="start"] .cmap-leader,
.cmap-marker[data-kind="transit"] .cmap-leader {
  opacity: .55;
}

.cmap-marker-name {
  fill: #1d1d1d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.cmap-marker-sub {
  fill: #5a6470;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* Marker-Dot pulsiert dezent solange unlocked */
.cmap-marker-dot {
  transition: r .3s ease, fill .3s ease;
}
.cmap-marker.locked .cmap-marker-dot {
  fill: #b8c2cc;
}
.cmap-marker.unlocked:hover .cmap-marker-dot { r: 9; }
.cmap-marker.unlocked:hover .cmap-marker-bg  { stroke: #2a9d8f; }

/* Pulsierender Ring beim Freischalten */
.cmap-marker.just-unlocked .cmap-marker-pulse {
  animation: cmapPulse 1.3s ease-out;
}
@keyframes cmapPulse {
  0%   { r: 6;  opacity: 1; }
  100% { r: 60; opacity: 0; }
}

/* Lock-Icon nur bei locked, Flag-Icon nur bei unlocked */
.cmap-marker.locked   .cmap-marker-flag { display: none; }
.cmap-marker.unlocked .cmap-marker-lock { display: none; }

.cmap-hint {
  position: absolute;
  bottom: 30px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,253,243,.85);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.cmap-skip {
  position: absolute; bottom: 26px; right: 26px;
  z-index: 5;
  padding: 10px 18px;
  background: rgba(29, 29, 29, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(241, 250, 238, .2);
  border-radius: 999px;
  color: var(--cloud-mist-white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.cmap-skip:hover {
  background: var(--azores-green);
  border-color: var(--azores-green);
  box-shadow: var(--shadow-glow);
}

/* =====================================================================
   EMPTY STATE
   ===================================================================== */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--ink-dim);
  max-width: 520px;
}
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state p strong { color: var(--cloud-mist-white); }
.empty-state code {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  background: rgba(241, 250, 238, .08);
  border-radius: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--hydrangea-yellow);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 600px) {
  .pin-digit { width: 48px; height: 60px; font-size: 22px; }
  .pin-box { padding: 28px 20px; }
  .bottombar .nav-btn { padding: 8px 14px; font-size: 11px; }
  .caption { display: none; }
  .start-fab { bottom: 22px; right: 22px; padding: 12px 20px; font-size: 11px; }
  .start-fab-arrow { width: 22px; height: 22px; font-size: 13px; }
  .menu-overlay { padding: 80px 18px 30px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-card { padding: 16px 16px 18px; }
  .menu-card .ttl { font-size: 18px; }
}

/* Reduzierte Bewegung: respektvoll deaktivieren */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   FULLSCREEN MODE
   Komplett aufgeräumt: nur Bild + Links/Rechts-Navigation, alles andere weg.
   ===================================================================== */
/* Im Vollbild Landing und Chrome nur ausblenden, wenn die Präsentation
   auch wirklich gestartet wurde — sonst sieht der User auf der Intro-Seite
   nur ein schwarzes Bild. */
body.is-fullscreen:has(.presentation.revealed) .landing,
body.is-fullscreen .topbar,
body.is-fullscreen .bottombar,
body.is-fullscreen .caption,
body.is-fullscreen .mist-overlay,
body.is-fullscreen #pin-gate {
  display: none !important;
}

body.is-fullscreen .presentation.revealed {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  z-index: 1000;
  display: block !important;
  background: #000;
}

body.is-fullscreen .slider-container,
body.is-fullscreen .slider-stage {
  height: 100vh;
  width: 100vw;
}

/* Bilder im Vollbild ohne Drop-Shadow, voll ausgereizt */
body.is-fullscreen .slider-stage img,
body.is-fullscreen .slider-stage video {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Click-Zones im Vollbild etwas dezenter, Pfeile aber jederzeit sichtbar */
body.is-fullscreen .click-zone::after {
  opacity: .35;
}
body.is-fullscreen .click-zone:hover::after {
  opacity: 1;
}
