/*
* {
  outline: 1px solid red;
}
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Grundlayout */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #160122;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/*
nav,
#content,
footer,
#slideshow-container {
  position: relative;
  z-index: 5;
}
*/

#slideshow-container {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    margin-top:1%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
#word-layer {
  position: absolute;
  inset: 0;                /* top:0; right:0; bottom:0; left:0; */
  z-index: 10;             /* über allen Slides */
  pointer-events: none;    /* Klicks auf Slideshow weiterhin möglich */
}
.slide-image {
    position: absolute;        /* Overlay alle Bilder */
    top: 20;
    left: 0;
    width: 100%;
    height: 95%;
    object-fit: cover;          /* füllt Container */
    object-position: top;
    opacity: 0;
    transition: opacity 1s ease-in-out;  /* sanfte Überblendung */
}

/* Slideshow oben */
/*
#slideshow-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
@media (min-width: 1024px) {
    #slideshow-container {
        height: 400px;      /* Desktop: moderat, nicht zu groß */
    }
    .slide-image {
        height: 100%;
        object-fit: cover;   /* füllt Container */
    }
}

/* Desktop */
@media (min-width: 769px) {
    #slideshow-container {
        height: 800px;      /* Desktop: moderat, nicht zu groß */
    }
    .slide-image {
        height: 100%;
        object-fit: cover;   /* füllt Container */
    }
}

/* Tablets / kleine Desktops */
@media (max-width: 768px) {
    #slideshow-container {
        height: 50vh;        /* etwas kleiner als Desktop */
    }
    .slide-image {
        height: 100%;
        object-fit: cover;
    }
  .mitglied h3 {
    font-size: 1.5rem;
  }
  .message1 {
    max-width: 35ch;
    font-size: 1.5rem;
  }

}
/* 
@media (max-width: 768px) { 
  .mitglied h3 {
    font-size: 1.5rem;
  }
  .message1 {
    max-width: 35ch;
    font-size: 1.5rem;
  }
}
*/

/* Handy */
@media (max-width: 480px) {
    #slideshow-container {
        height: 45vh;        /* passt perfekt wie vorher */
    }
    .slide-image {
        height: 100%;
        object-fit: cover;
    }
  .mitglied h3 {
    font-size: 1.5rem;
  }
  .message1 {
    max-width: 35ch;
    font-size: 1.5rem;
  }
}

/*
#slideshow-container {
    width: 100%;
    max-width: 1200px;
    height: auto;            
    max-height: 600px;       
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image {
    width: 100%;
    height: auto;            
    object-fit: cover;       
    position: relative;      
    transition: opacity 1s ease-in-out;
}
*/

/*
#slideshow-container {
    height: 40vw;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;           
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image {
    width: 100%;
    height: auto;                
    object-fit: cover;           
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}
*/
/*
#slideshow-container {
  width: 100%;
  max-width: 1200px;
  min-height: 600px;       
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #160122;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;      
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
*/


/* Menü */
/*
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}
*/

@font-face {
  font-family: 'HeadyHeavy';
  src: url('../fonts/BBHHegarty-Regular.ttf') ;
  font-weight: 900;
  font-style: normal;
}

/* Content */
#content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert nur die enthaltenen Elemente, nicht Text */
}

/* Galerie Dropdown */
.dropdown {
  width: 90%;
  max-width: 1200px;
  margin: 10px auto;
}

/* Videos */
.video-wrapper {
  width: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/*
.video-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.video-container video {
  width: 100%;
  max-width: 600px;
  display: block;
}
*/

.video-container {
  position: relative;        /* absolut-positionierte Kinder beziehen sich auf diesen Container */
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-container video {
  width: 100%;
  display: block;
}

/* Overlay-Text */
.video-overlay {
  position: absolute;        /* Overlay über dem Video */
  top: 0px;                 /* Abstand vom oberen Rand */
  left: 0px;                /* Abstand vom linken Rand */
  padding: 4px 10px;
  font-size: 1.1rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;      /* Klicks gehen durchs Overlay */
}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background-color: #160122;
}

/* Buttons */
.button {
  background-color: #3a0f53;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.button:hover {
  background-color: #5e1c85;
  transform: scale(1.05);
}

nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

nav button {
  background: transparent;
  border: 2px solid #ffffff66;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

nav button:hover {
  background: #ffffff22;
}

.message1 {
    position: relative;
    text-align: justify;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.2rem;
    /* color: white; */
    color: #D06C1B;
}
.message2 {
    position: relative;
    text-align: justify;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.2rem;
    color: white;
}
.termine {
    /*display: flex;*/
    align-items: center;
    gap: 6px;
    /*background-color: yellow;*/
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
    font-size: 1.4rem;
    color: #D06C1B;
}
.termine_headline {
    /*display: flex;*/
    align-items: center;
    gap: 6px;
    /*background-color: yellow;*/
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
    font-size: 1.4rem;
    color: red;
}
.termine img {
    width: auto;
    height: 20px;  
}
.termin-inline {
  display: inline-flex;
  align-items: center;
  /*gap: 6px;*/
}

/*
.termin-inline img {
  height: 16px;
  width: auto;
}
  */
.termin-inline img {
  height: 20px;     /* oder 18px */
  width: auto;      /* WICHTIG */
  margin-left: px;
  object-fit: contain;
  flex-shrink: 0;
}

.termin-abs {
  position: relative;
  display: inline-block;
  padding-right: 20px; /* Platz für das Icon */
}

.termin-abs img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: auto;
}
/*
.termin-text {
  display: inline;
}

.termin-icon {
  height: 20px;
  width: auto;
  margin-left: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}
*/
.termin {
  display: inline-flex;       /* Text + Icon in einer Zeile */
  align-items: center;        /* vertikal mittig */
  gap: 4px;                   /* Abstand zwischen Text und Icon */
  font-size: 1.4rem;
  color: #D06C1B;
  line-height: 1.7;
}

.termin-icon {
  /* dies beeinflusst die icon bei terminen check_ok und check_no !! */
  position: relative;
  top: 10px;
  height: 22px !important;    /* feste Höhe */
  width: auto !important;     /* verhindert Streckung */
  flex-shrink: 0 !important;  /* Icon wird nicht kleiner */
  display: inline-block !important; /* zwingt block-freie Darstellung */
  vertical-align:auto;
}

.fit-picture {
  height: 22px !important;    /* feste Höhe */
  width: auto;
  display: inline-flex;       /* Text + Icon in einer Zeile */
  display: inline-block !important; /* zwingt block-freie Darstellung */
  align-items: center;        /* vertikal mittig */
  flex-shrink: 0 !important;  /* Icon wird nicht kleiner */
  vertical-align: auto;
}

/* Hintergrund-Logo halb transparent */
.message2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background-image: url("../images/headyjuicehiresnonblack.jpg"); /* Pfad anpassen! */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.25;              /* Transparenz */
    transform: translate(-50%, -50%);
    pointer-events: none;       /* Text bleibt klickbar */
    
    z-index: 0;
}

/* Text darüber */
.message2 * {
    position: relative;
    z-index: 1;
}

.download-list {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2b0a3a;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.download-item button {
    background: #5e1c85;
    border: none;
    padding: 8px 14px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.download-item button:hover {
    background: #7e28b0;
}

.band {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.bandtext {
  font-size: 1.1em;
  margin-bottom: 40px;
}

.bandmitglieder {
  display: block;
}

.mitglied {
  margin-bottom: 40px;
  text-align: center;
}

.mitglied img {
  width: 250px;
  margin-bottom: 15px;
  margin-top: 25px;
}
.mitglied.highlight img {
  width: 100%;
  max-width: 720px;
  height: auto;
}

.mitglied h3 {
  font-size: 1.8rem;            /* größerer Font */
  color: #c62828;             /* auffällige Farbe (z. B. Rot) */
  margin: 0 0 8px 0;
  letter-spacing: 1px;
  text-transform: uppercase;    /* optional */
}
@media (max-width: 768px) {
  .mitglied.highlight img {
    max-width: 100%;
  }
}
/*
#background {
  position: relative;
  width: 100%;
  height: 100%;
}
*/
/*
#background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.word {
  position: absolute;
  opacity: 0;
  animation: glow 4s ease-in-out forwards;
  white-space: nowrap;
}
@keyframes glow {
  0% { opacity: 0; transform: scale(0.9); }
  30% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1); }
}
*/

/* === Animated Word Background === */
#background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.word {
  position: absolute;
  white-space: nowrap;
  /* font-family: 'Arial Black', sans-serif; */
  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
  /* font-family: 'Anton', sans-serif;
  font-weight: 400; /* Anton ist immer fett */
  font-family: 'HeadyHeavy', sans-serif;
  opacity: 0;
  animation-name: glow;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  /* text-shadow: 0 0 35px grey; */
  /* animation: glow 4s ease-in-out forwards; */
  /* #160122 */
  -webkit-text-stroke: 1px #222222;  
  text-stroke: 1px #222222;          
}

#word-layer-fullscreen {
  position: fixed;       /* über den gesamten Viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;  /* Klicks passieren weiterhin */
  z-index: 9999;         /* extrem hoch, über allem */
}
@keyframes glow {
  0% { opacity: 0; transform: scale(0.9);}
  30% { opacity: 1; transform: scale(1);}
  70% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1);}
}

/* ** TEST *** */
/*
html, body {
  width: 100%;
  height: 100%;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 0, 0, 0.05);
  z-index: 1;
  pointer-events: none;
}

.word {
  opacity: 1 !important;
  animation: none !important;
  color: lime !important;
  font-size: 40px !important;
}
*/
#background {
  position: fixed;      /* fixiert auf dem ganzen Bildschirm */
  top: 50vh;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;           /* Hintergrund, unter Nav & Slideshow */
  pointer-events: none; /* Klicks gehen durch */
}
/*
.word {
  position: absolute;
  font-family: 'Arial Black', sans-serif;
  color: lime;            
  font-size: 30px;
  opacity: 1;
  z-index: 1;             
  white-space: nowrap;
}
*/
/*
.word {
  position: absolute !important;
  color: lime !important;
  font-size: 40px !important;
  opacity: 1 !important;
  animation: none !important;
  z-index: 10 !important;
}
  */