/* =========================
   GLOBAL THEME
   ========================= */
:root {
  --accent: #DEC800;
  --bg: #000000;
  --bg-2: #111111;
  --card: #1a1a1a;
  --text: #ffffff;
}

html,
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  font-weight: 300;
}

.container {
  max-width: 900px;
}

section {
  margin-bottom: 50px;
}

a {
  color: #DEC800;
  text-decoration: none;
  font-weight: 500;
}

a:link {
  color: #DEC800;
}

/* mouse over link */
a:hover {
  color: #EBAB09;

}

/* selected link */
a:active {
  color: #825f06;
}

a.social-link {
  color: #ffffff;

}

/* =========================
   DIVIDERS & TITLES
   ========================= */
.divider {
  border: none;
  height: 2px;
  background-color: var(--accent);
  width: 80%;
  margin: 0 auto 60px;
  opacity: 0.7;
}

.sub-divider {
  border: none;
  height: 1px;
  background-color: rgba(222, 200, 0, 0.4);
  width: 60%;
  margin: 40px auto 0;
}

.section-title {
  color: var(--accent);
  text-align: center;
  margin-bottom: 20px;
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lead {
  font-size: 30px;
  font-weight: 200;
}

h2 {
  text-transform: uppercase;
}

h4 {
  font-weight: 400;
  font-size: 22px;
}

/* =========================
   HERO
   ========================= */
.hero {
  padding: 180px 0;
  margin-top: 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
  background-image: url("home_images/hintergrund.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#hero {
  background-image: url("home_images/hintergrund.png");
}

#heroAlt {
  background-image: url("images/wild/wvf-titel.png");
}

#heroAlt2 {
  background-image: url("images/jugend/jugend-titel.png");
}

#heroAlt3 {
  background-image: url("images/patterns/patterns-titel.png");
}

#heroAlt4 {
  background-image: url("images/enmaa/enmaa-titel.png");
}

.hero.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-size: 70px;
  letter-spacing: 8px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  background: #DEC802;
  background: linear-gradient(to right, #DEC802 0%, #E2A409 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

/* =========================
   Hero-Titel – Responsive Größe
   ========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 50px;      /* kleinere Schrift für Tablets & Handys */
  }
  .lead {
  font-size: 20px;
}
  .section-title {
    font-size: 30px;
  }

}

section.hero {
  margin-bottom: 0px;
}


/* =========================
   NAVBAR
   ========================= */
.navbar {
  background-color: #00000086;
  background-image: linear-gradient(rgba(0, 0, 0, 0.409), rgba(117, 117, 117, 0));
  padding: 1.8rem 0;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 10px;
}

.logo-title {
  color: #EBAB09;
  font-weight: 600;
  font-size: 20px;
  background: #DEC802;
  background: linear-gradient(to right, #DEC802 0%, #E2A409 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.navbar-nav .nav-link {
  color: var(--text) !important;
  margin-left: 15px;
  /* mehr Abstand */
  padding: 6px 34px;
  /* längere/breitere Buttons */
  border: 1px solid var(--accent);
  border-radius: 50px;
  /* pillenförmig */
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
  background-color: var(--accent);
  color: #000 !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  background-color: var(--accent);
  color: #000 !important;
}

/* =========================
   NAVBAR TOGGLER (Mobile)
   ========================= */
.navbar .navbar-toggler {
  border-color: var(--accent);
  /* Rahmen in Akzentfarbe */
}

.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(222, 200, 0, .25);
}

.navbar .navbar-toggler:hover {
  background-color: rgba(222, 200, 0, 0.08);
  /* dezenter Hover-Hintergrund */
}

/* Icon in Akzentfarbe (Bootstrap 5) */
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(222,200,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22' /%3E%3C/svg%3E");
}

/* Dropdown */
.dropdown-menu {
  background-color: var(--bg-2);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 10px;
}

.dropdown-item {
  color: var(--text);
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 8px 16px;
}

.dropdown-item:hover {
  background-color: var(--accent);
  color: #000;
}

/* Farbverlauf für Buttons */
.navbar-nav .nav-link {
  background: linear-gradient(90deg, #DEC800 0%, #EBAB09 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 2px solid transparent;
  position: relative;
  transition: all 0.3s ease;
}

/* Rahmen mit Farbverlauf */
.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(90deg, #DEC800, #EBAB09);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.3s ease;
}

/* Hover: Verlauf füllt den Hintergrund */
.navbar-nav .nav-link:hover {
  background: linear-gradient(90deg, #DEC800, #EBAB09);
  -webkit-text-fill-color: #000;
  color: #000 !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  background: linear-gradient(90deg, #DEC800, #EBAB09);
  -webkit-text-fill-color: #000;
  color: #000 !important;
  border: none;
}

/* Scroll-Verhalten */
.navbar {
  transition: all 0.4s ease;
}

.navbar.shrink {
  padding: 0.8rem 0;
  background-color: rgba(17, 17, 17, 0.316);
  backdrop-filter: blur(10px);
}

.navbar.shrink .navbar-brand img {
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
}

/* =========================
   Navbar Language Dropdown
   ========================= */
.navbar .dropdown-toggle {
  padding-right: 0.5rem;
  color: inherit;
  transition: all 0.3s ease;

}

.navbar .dropdown-toggle:hover {
  color: linear-gradient(90deg, #DEC800 0%, #EBAB09 100%);
}

.navbar .dropdown-menu {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 8px;
  min-width: 8rem;
}

.navbar .dropdown-item {
  color: #fff;
  transition: background 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
  background: linear-gradient(90deg, #DEC800 0%, #EBAB09 100%);
  color: #000;
}


.navbar .nav-link:focus,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-item:focus,
.navbar .btn:focus {
  outline: none !important;
  box-shadow: none !important;
}


/* =========================
   TEXT & ANIMATIONS
   ========================= */
.text-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.text-section.visible {
  opacity: 1;
  transform: translateY(0);
}

iframe {
  border-radius: 8px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

iframe.visible {
  opacity: 1;
  transform: translateY(0);
}



/* =========================
   ABOUT
   ========================= */
.about-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.about-text {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease;
}

.about-section.visible .about-text,
.about-section.visible .about-img {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background-color: var(--bg-2);
  text-align: center;
  padding: 20px 0;
  color: #ccc;
  margin-top: 50px;
  font-size: 12px;
  font-weight: 500;

}

#sprache {
  font-weight: 800;
  text-decoration: underline;
}

/* =========================
   SCROLL-TO-TOP BUTTON
   ========================= */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  background-color: rgba(17, 17, 17, 0.164);
  backdrop-filter: blur(10px);

}

#scrollTopBtn:hover {
  transform: translateY(-2px);

}

/* =========================
   SOCIAL ICON BUTTONS
   ========================= */
.socials {
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 2px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  background: linear-gradient(90deg, #DEC800, #EBAB09);

}

.social-link:active {
  font-weight: 500;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* =========================
   FORM (dark)
   ========================= */
.form-control,
.form-select,
.form-control:focus {
  background: #0f0f0f;
  color: #fff;
  border: 1px solid #333;
}


/* =========================
   LIGHTBOX / VOLLANSICHT (Galerie)
   ========================= */


/* Bildunterschrift unter Galerie-Bildern */
.gallery-caption {
  font-size: 0.95rem;
  color: #ddd;
  margin-top: 8px;
  text-align: center;
}


/* Lightbox-Bild */
.lightbox-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* =========================
   Lightbox – Bildgrößenbegrenzung
   ========================= */
.lightbox-img {
  max-width: 100vw;   /* nicht breiter als der Bildschirm */
  max-height: 80vh;  /* nicht höher als der Bildschirm */
  width: auto;
  height: auto;
  object-fit: contain; /* zeigt das gesamte Bild */
  display: block;
  margin: 0 auto;
}

#lightboxModal .modal-dialog {
  max-width: 100vw !important;
  margin: 0;
}

#lightboxModal .modal-content {
  background: #0000004b !important;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(10px);
  border: none !important;
  border-radius: 0 !important;
  height: 100vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

#lightboxModal .modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.lightbox-img {
  display: block;
  max-width: 1200px;
  /* maximale Breite */
  width: 100%;
  /* nimmt verfügbare Breite bis 1200px ein */
  height: auto;
  /* proportional skalieren */
  object-fit: contain;
  /* verhindert Beschneidung */
  margin: 0 auto;
  /* horizontal zentrieren */
}

#lightboxCaption {
  color: var(--accent, #DEC800);
  font-weight: 500;
  margin-bottom: 50px;
}

/* Pfeilbuttons im Vollbildmodus */
#lightboxModal .btn {
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#lightboxModal .btn:hover {
  opacity: 1;
}

.text-section iframe {
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* =========================
   LIGHTBOX – Close-Button Position
   ========================= */
#lightboxModal .modal-header {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: auto;
  border: none;
  background: transparent;
  padding: 0;
  z-index: 20;
}

#lightboxModal .btn-close-#ddd {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 30;
  filter: invert(1);
  /* Weißes Icon auf dunklem Hintergrund */
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#lightboxModal .btn-close-#ddd:hover {
  opacity: 1;
}


/* =========================
   TAG FILTER BUTTONS
   ========================= */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--text);
  border-radius: 30px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover {
  background: linear-gradient(90deg, #DEC800, #EBAB09);
  color: #000;
  transform: translateY(-2px);

}

.filter-btn.active {
  background: linear-gradient(90deg, #DEC800, #EBAB09);
  color: #000;
  font-weight: 500;
}

/* =========================
   Info-Karten
   ========================= */
.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent, #DEC800);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.info-title {
  font-weight: 600;
  color: var(--accent, #DEC800);
}

.info-subtitle {
  font-weight: 400;
  color: #aaa;
}

.info-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* quadratisch */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  /*filter: saturate(0);*/
  transition: all 0.5s ease;

}

.info-card:hover img {
  /*filter: saturate(1);*/

}

.info-card p {
  font-size: 14px;
  color: #ddd;
}

.info-card .btn {
  border-radius: 30px;
  border-color: var(--accent, #DEC800);
  color: #ddd;
  transition: all 0.3s ease;
}

.info-card .btn:hover {
  background: linear-gradient(90deg, #DEC800, #EBAB09);
  color: #000;
  transform: translateY(-2px);
}

.info-card h6 {
  color: #ddd;
  font-style: italic;
}

/* =========================
   Bild/Text Sektionen
   ========================= */
.text-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.text-section h2.section-title {
  color: var(--accent, #DEC800);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.text-section p {
  color: #ddd;
  line-height: 1.6;
}

.text-section .btn {
  border-radius: 30px;
  border-color: var(--accent, #DEC800);
  color: #ddd;
  transition: all 0.3s ease;
}

.text-section .btn:hover {
  background: var(--accent, #DEC800);
  color: #000;
}

.credits {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  text-align: center;
  margin-top: 1rem;
}

.credits strong {
  color: var(--accent, #DEC800);
  font-weight: 600;
}

.text-section p {
  color: #ddd;
  line-height: 1.6;
}

.text-section img {
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.section-title {
  color: var(--accent, #DEC800);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.screening {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  text-align: left;
  margin-top: 1rem;
}

.screening strong {
  color: var(--accent, #DEC800);
  font-weight: 600;
}

/* =========================
   Sektion – 4 Bilder in Zweierreihen
   ========================= */
.text-section img.lightbox-trigger {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-section img.lightbox-trigger:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* =========================
   Karussell-Galerie – zentriert & max 900px
   ========================= */
#projectCarousel {
  max-width: 900px;
  margin: 0 auto;
}

#projectCarousel img {
  max-height: 50vh;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#projectCarousel img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  /* filter: invert(1);*/
  width: 2.5rem;
  height: 2.5rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

/* =========================
   Pfeile im Projekt-Karussell vertikal zentrieren
   (nur für patterns-of-our-universe)
   ========================= */
#projectCarousel {
  position: relative; /* falls überschrieben wurde */
}

#projectCarousel .carousel-control-prev,
#projectCarousel .carousel-control-next {
  /* Kreis-Button */
  display: flex !important;
  align-items: center;
  justify-content: center;

  /* Größe & Look */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  transition: background 0.2s ease, opacity 0.2s ease;

  /* WICHTIG: vertikal mittig */
  top: 50%;
  bottom: auto;               /* Bootstrap's bottom:0 neutralisieren */
  transform: translateY(-50%);/* echte Zentrierung */
  z-index: 2;
}

#projectCarousel .carousel-control-prev:hover,
#projectCarousel .carousel-control-next:hover {
  background: rgba(0,0,0,0.8);
}

/* Position am Rand */
#projectCarousel .carousel-control-prev { left: 12px; right: auto; }
#projectCarousel .carousel-control-next { right: 12px; left: auto; }

/* Icons sauber mittig skalieren */
#projectCarousel .carousel-control-prev-icon,
#projectCarousel .carousel-control-next-icon {
  width: 24px;
  height: 24px;
  filter: invert(1);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: auf kleineren Screens etwas näher ans Bild rücken */
@media (max-width: 576px) {
  #projectCarousel .carousel-control-prev { left: 6px; }
  #projectCarousel .carousel-control-next { right: 6px; }
  #projectCarousel .carousel-control-prev,
  #projectCarousel .carousel-control-next { width: 48px; height: 48px; }
}

#projectCarousel .carousel-arrow {
  font-size: 2.5rem;
  color: white;
  line-height: 1;
}

/* =========================
   Horizontale Galerie
   ========================= */
.horizontal-gallery-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.horizontal-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 3rem;
  /* Platz für Pfeile */
  scroll-snap-type: x mandatory;
}

.horizontal-gallery::-webkit-scrollbar {
  display: none;
}

.horizontal-gallery img {
  object-fit: contain;         /* zeigt das gesamte Bild */
  height: auto;                /* passt sich der natürlichen Höhe an */
  max-height: 200px;           /* optional: maximale Höhe festlegen */
  width: auto;                 /* Bildbreite dynamisch */
  border-radius: 10px;
  margin-right: 10px;
  background-color: #111;      /* optional: dunkler Hintergrund, wenn Ränder sichtbar */
}

.horizontal-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Pfeile */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #ddd;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.scroll-btn.left {
  left: 0.5rem;
}

.scroll-btn.right {
  right: 0.5rem;
}

/* =========================
   Pfeile in der Karussell-Galerie – Zentriert im Kreis
   ========================= */
.scroll-btn,
.carousel-control-prev,
.carousel-control-next {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.scroll-btn:hover,
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Pfeil-Icons im Bootstrap-Karussell */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  filter: invert(1); /* Weißer Pfeil */
  background-size: contain;
}
