/* === Lokale Fonts: Outfit Regular + Bold === */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Regular.woff2') format('woff2'),
       url('../fonts/Outfit-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Bold.woff2') format('woff2'),
       url('../fonts/Outfit-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
    
  html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      overflow-x: hidden;
      background: #000;
      color: #fff;
     font-family: 'Outfit', sans-serif;
     font-weight: 400; /* Standardgewicht für Fließtext */
    }

  h1, h2, h3, strong {
  font-weight: 700; /* Nutzt Outfit Bold */
}

    section {
      position: relative;
      min-height: 100vh;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
section.spacer {
  min-height: 100px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;              /* volle Breite der Seite */
  background: #000;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  user-select: none;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

/* der eigentliche Textblock */
section.spacer > * {
  max-width: 60%;           /* Textbereich begrenzen */
  margin-left: auto;
  margin-right: auto;
}

/* Stil für h2 */
section.spacer h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #fff;
}

/* Stil für h3 */
section.spacer h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.1em;
  color: #fff;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  text-shadow: none;
}

/* === Einheitlicher Textstil für Fließtext, Captions & Videowall === */
section.spacer p,
.caption p,
#videowall .background-text {
  color: rgba(255,228,225, 0.9);/* zart-rosa */
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.6rem); /* Einheitlich skaliert */
  line-height: 1.4;
  letter-spacing: 0.01em;
  opacity: 0.9;
  text-shadow:
    0 0 6px rgba(255, 0, 0, 0.15),
    0 0 12px rgba(255, 0, 0, 0.08);
}

/* --- Layout-Anpassungen pro Bereich --- */
section.spacer p {
  text-align: center;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.caption p {
  max-width: 90%;
  margin: 0;
}

#videowall .background-text {
  text-align: center;
  max-width: 90vw;
  padding: 0 10vw; /* nur seitliches Padding */
  backdrop-filter: blur(4px);
}

/* --- Intro --- */
section.intro {
position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;   /* vertikal zentriert */
  justify-content: center; /* horizontal zentriert */
  background: #000;      /* schwarzer Hintergrund */
  text-align: center;
  color: #fff;           /* Grundfarbe Weiß */
  animation: introFadeIn 1.2s ease-out forwards;
  opacity: 0;
}

/* Inhalt */
.intro-content {
    bottom: 10vh;
  max-width: 900px;
  animation: textFade 1.4s ease-out 0.3s forwards;
  opacity: 0;
}

.intro-content p,
.intro-content .hint {
  color: #fff;
  text-shadow: none;
  font-size: clamp(1rem, 1.6vw, 1.8rem);
  line-height: 1.1;
  margin: 0.4rem 0;
}

.intro-content .hint {
  font-size: clamp(0.8rem, 1.2vw, 1.2rem);
  opacity: 0.8;
}


/* --- Animationen --- */
@keyframes introFadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}

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



  /* --- Bewegliche Video-Wand --- */
#videowall {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  overflow: hidden;

  display: flex;
  align-items: center; /* vertikal zentriert */
  justify-content: center; /* horizontal zentriert */
}
    
.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 25vw;      /* 4:3 Verhältnis durch Höhe */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: none;
  border-radius: 8px;
  transform: scale(0.65); 
  transform-origin: center;
  transition: transform 1s linear, z-index 0.5s ease;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  transform: scale(0.65); 
  transform-origin: center;
  object-fit: contain;
  pointer-events: none;
}


section.map iframe {
  width: 85vw;
  height: 85vh;
  background: #000;
  color: #fff;
  border: 0;
}

/* --- Hero-Sound-Button mittig unter dem Titel --- */

/* Container für Titel + Button */
.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sound-btn {
  position: relative;
  margin-top: 3rem; /* ↑ Abstand zwischen Titel und Button */
  z-index: 5;

  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  color: rgba(255,228,225);
  background: transparent;
  border: 2px solid crimson;
  border-radius: 50px;
  padding: 10px 24px;
  cursor: pointer;
  text-shadow:
    0 0 20px rgba(255, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 0, 0.35),
    0 0 60px rgba(255, 0, 0, 0.25);
  box-shadow:
    0 0 20px rgba(255, 0, 0, 0.3),
    inset 0 0 10px rgba(255, 0, 0, 0.2);
  transition: opacity .4s ease, transform .4s ease, box-shadow .4s ease;
}

.sound-btn:hover {
  box-shadow:
    0 0 30px rgba(255,0,0,0.5),
    inset 0 0 12px rgba(255,0,0,0.3);
}

.sound-btn.hide {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}




/* --- Floating Button (Audio-Toggle) --- */
#audioToggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  color: rgba(255,228,225); /* zartrosa Füllung */
  background: transparent;
  border: 2px solid crimson;
  border-radius: 50px;
  padding: 10px 24px;
  cursor: pointer;
  text-shadow:
    0 0 20px rgba(255, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 0, 0.35),
    0 0 60px rgba(255, 0, 0, 0.25);
  box-shadow:
    0 0 20px rgba(255, 0, 0, 0.3),
    inset 0 0 10px rgba(255, 0, 0, 0.2);
  transition:
    opacity .35s ease,
    transform .35s ease,
    box-shadow .4s ease,
    border-color .4s ease;
  
  /* Anfangszustand: unsichtbar, keine Interaktion */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* Sichtbar beim Scrollen */
#audioToggle.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Aktiv (Sound läuft) */
#audioToggle.active {
  color: rgba(255,228,225);
  border-color: rgba(255, 0, 0, 0.9);
  text-shadow:
    0 0 25px rgba(255, 0, 0, 0.7),
    0 0 45px rgba(255, 0, 0, 0.5);
  box-shadow:
    0 0 35px rgba(255, 0, 0, 0.6),
    inset 0 0 15px rgba(255, 0, 0, 0.3);
  transform: translateY(0) scale(1.05);
}

/* Hover-Effekt */
#audioToggle:hover {
  box-shadow:
    0 0 30px rgba(255, 0, 0, 0.5),
    inset 0 0 12px rgba(255, 0, 0, 0.3);
}



/* === Bild-Showcase === */
.image-showcase {
  width: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20vh;
  padding: 10vh 0;
}

/* --- Grundlayout --- */
.image-block {
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw;
  flex-wrap: wrap; /* für Mobile */
}

/* --- Bilder --- */
.image-block img {
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
  transition: transform 1s ease, opacity 1s ease;
  opacity: 0.95;
  max-width: 100%;
}

/* sanftes Einblenden (wenn Intersection Observer aktiv ist) */
.image-block img.visible {
  opacity: 1;
  transform: scale(1.02);
}

/* === Captions richtig neben Bildern platzieren === */

/* Container für Bild + Text */
.image-block.with-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 5vw;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap; /* ❗ verhindert Untereinander */
}

/* Bildgröße */
.image-block.with-text img {
  width: 55%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* --- Text rechts vom Bild --- */
.image-block.with-text.left {
  flex-direction: row; /* Bild links, Text rechts */
  justify-content: flex-start;
}

.image-block.with-text.left .caption {
  width: 40%;
  text-align: right;
  align-self: center;
}
.image-block.with-text.left .caption p {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
/* --- Text links vom Bild --- */
.image-block.with-text.right {
  flex-direction: row-reverse; /* Bild rechts, Text links */
  justify-content: flex-end;
}

.image-block.with-text.right .caption {
  width: 40%;
  text-align: left;
  align-self: center;
}

/* --- Typografie --- */
.caption p {
  color: rgba(255,228,225, 0.9);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 6px rgba(255, 0, 0, 0.15),
    0 0 12px rgba(255, 0, 0, 0.08);
  margin: 0;
  opacity: 0.95;
}

/* --- QR-Code-Stil --- */
.caption img {
  display: block;
  width: 40%;
  max-width: 100px;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: 0;
  border: 2px solid crimson;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.9);
  box-shadow:
    0 0 30px rgba(255,0,0,0.5),
    0 0 60px rgba(255,0,0,0.25),
    inset 0 0 15px rgba(255,0,0,0.35);
  filter: brightness(1) contrast(1.1) opacity(0.9);
  transition: all 0.4s ease;
}

.caption img:hover {
  box-shadow:
    0 0 50px rgba(255,0,0,0.7),
    inset 0 0 20px rgba(255,0,0,0.4);
  filter: brightness(1.1) contrast(1.2) opacity(1);
}

/* === 🔴 Einheitlicher Neon-Text-Look === */
.neon-text {
  position: relative;
  display: inline-block;
  text-align: center;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

/* Innenfüllung */
.neon-text .fill {
  position: relative;
  color: rgba(255,228,225);
  text-shadow:
    0 0 20px rgba(255, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 0, 0.35),
    0 0 60px rgba(255, 0, 0, 0.25);
  z-index: 1;
}

/* Outline-Ebene */
.neon-text .stroke {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 2.5px crimson;
  text-stroke: 2.5px crimson;
  z-index: 0;
  pointer-events: none;
}

/* Variationen: Größe nach Elementtyp */
h1.neon-text {
  font-size: clamp(2.8rem, 6.5vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

h2.neon-text {
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

h3.neon-text {
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

p.neon-text {
  font-size: clamp(1rem, 1.6vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Sanftes Einblenden, optional */
.neon-text {
  opacity: 0;
  transform: translateY(10px);
  animation: neonFade 1.4s ease-out 0.3s forwards;
}
@keyframes neonFade {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  /* --- Spacers etwas breiter --- */
  section.spacer > * {
    max-width: 90% !important;
  }

  section.spacer p,
  .caption p,
  #videowall .background-text {
    max-width: 90% !important;
    text-align: center !important;
  }

  /* --- Bilder mit Text --- */
  .image-block.with-text {
    flex-direction: column !important; /* Bild & Text untereinander */
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 1.5rem;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Richtungsvarianten neutralisieren */
  .image-block.with-text.left,
  .image-block.with-text.right {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* --- Bildgröße --- */
  .image-block.with-text img {
    width: 100%;
    max-width: 90% !important;
    height: auto;
    order: 1; /* Bild zuerst */
  }

  /* --- Captionbereich --- */
  .image-block.with-text .caption {
    width: 90% !important;
    max-width: 90% !important;
    text-align: center !important;
    order: 2; /* Caption unter dem Bild */
    margin-top: 1rem;
  }


  .image-block.with-text .caption p {
    max-width: 90% !important;
    text-align: center !important;
    margin: 0 auto;
    line-height: 1.4;
  }

   .image-block.with-text.left .caption,
  .image-block.with-text.left .caption p,
  .image-block.with-text.right .caption,
  .image-block.with-text.right .caption p {
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* --- QR-Code --- */
  .caption img {
    margin: 1rem auto 0 auto;
    display: block;
    width: 25% !important;
    max-width: 120px;
  }

  /* --- Audio-Button --- */
  #audioToggle {
    bottom: 10px;
    right: 10px;
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .sound-btn {
    margin-top: 2.5rem;
  }
    /* 🎞️ Videos in mobiler Ansicht etwas größer darstellen */
  .video-wrapper {
    width: 40vw;           /* vorher: 25vw */
    aspect-ratio: 4 / 3;
    transform: scale(0.9); /* leicht größer, aber nicht überlappend */
  }

  .video-wrapper iframe {
    border-radius: 6px;
  }

}
