.text-vfcolor {
  color: #fff7e6;
  color: #f4f2ed;
}

.text-nav {
  color: #fff7e6;
}

.text-sectionheading {
  color: #091617;
  letter-spacing: -0.05em;
}
header .flex-1 {
  margin-left: -1rem;
}
.sticky {
  background-color: #091617 !important;
}

@media (min-width: 1024px) {
  header .lg\:px-16 {
    padding-left: 2rem;
  }
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: rgba(9, 22, 23, 0.95);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1;
  border-radius: 8px;
  top: calc(100% + 0.5rem);
  padding: 0.5rem 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  color: #fff7e6;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

.dropdown > a::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 0.5em;
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}
/* Loading Spinner */

/* Keyframes für die Animation */
@keyframes square-animation {
  0% {
    left: 0;
    top: 0;
  }
  10.5% {
    left: 0;
    top: 0;
  }
  12.5% {
    left: 32px;
    top: 0;
  }
  23% {
    left: 32px;
    top: 0;
  }
  25% {
    left: 64px;
    top: 0;
  }
  35.5% {
    left: 64px;
    top: 0;
  }
  37.5% {
    left: 64px;
    top: 32px;
  }
  48% {
    left: 64px;
    top: 32px;
  }
  50% {
    left: 32px;
    top: 32px;
  }
  60.5% {
    left: 32px;
    top: 32px;
  }
  62.5% {
    left: 32px;
    top: 64px;
  }
  73% {
    left: 32px;
    top: 64px;
  }
  75% {
    left: 0;
    top: 64px;
  }
  85.5% {
    left: 0;
    top: 64px;
  }
  87.5% {
    left: 0;
    top: 32px;
  }
  98% {
    left: 0;
    top: 32px;
  }
  100% {
    left: 0;
    top: 0;
  }
}

/* Spinner initial hidden */
#loading-spinner {
  display: none;
}

.loader {
  position: relative;
  width: 72px; /* Verkleinere die Breite um 25% */
  height: 72px; /* Verkleinere die Höhe um 25% */
  transform: rotate(45deg);
}

.loader-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 21px; /* Verkleinere die Breite um 25% */
  height: 21px; /* Verkleinere die Höhe um 25% */
  margin: 1.5px; /* Verkleinere den Abstand um 25% */
  border-radius: 0px;
  background: white;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: square-animation 10s ease-in-out infinite both;
}

.loader-square:nth-of-type(0) {
  animation-delay: 0s;
}
.loader-square:nth-of-type(1) {
  animation-delay: -1.4285714286s;
}
.loader-square:nth-of-type(2) {
  animation-delay: -2.8571428571s;
}
.loader-square:nth-of-type(3) {
  animation-delay: -4.2857142857s;
}
.loader-square:nth-of-type(4) {
  animation-delay: -5.7142857143s;
}
.loader-square:nth-of-type(5) {
  animation-delay: -7.1428571429s;
}
.loader-square:nth-of-type(6) {
  animation-delay: -8.5714285714s;
}
.loader-square:nth-of-type(7) {
  animation-delay: -10s;
}

/* Style für die Navigationslinks */
.nav-link a {
  color: #fff; /* Hellere Schriftfarbe */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/* Style für das aktive Navigationslink */
.nav-link a.active {
  color: #ff8215; /* Dunklere Schriftfarbe */
}

/* Style für die Navigationbar, wenn gescrollt wird */
.scroll {
  background-color: #091617 !important; /* Dunkle Hintergrundfarbe */
}

/* Style für das klebenbleiben der Navigationbar */
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* Styles für Hero-Section */
.hero-section {
  background-image: url('/assets/img/heroneu-min.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.text-heroheading {
  color: #f4f2ed;
  letter-spacing: -0.05em;
  font-size: 5rem;
}

/* windstatic blocks */

.windstatic {
  background: radial-gradient(100% 225% at 0 100%, #ff04f5 0, #001aff 100%),
    linear-gradient(270deg, #fb00a5 50%, #0400cb 100%),
    linear-gradient(300deg, #8dada4 0, #32de81 100%),
    linear-gradient(7deg, #1dadfe 0, #16009a 50%);
  background-blend-mode: color-dodge, color-burn, color-burn, normal;
}

header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  padding: 16px 0;
  transition: background-color 0.5s ease-in-out;
  z-index: 1000;
}
header.scroll {
  background-color: rgba(0, 0, 0, 0.8);
}
nav a {
  color: white;
  padding: 10px;
}
section {
  padding-top: 60px; /* Adjust this if your header height changes */
}

/* feature cards hover deactivation */
@media all and (max-width: 1023px) {
  .custom-order {
    order: -1;
  }
  .topics-area {
    gap: 0;
  }
}
@media (max-width: 768px) {
  .card1:hover,
  .card2:hover,
  .card3:hover {
    transform: none;
    background-color: initial;
    mix-blend-mode: normal;
  }
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.active {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.active {
  transform: rotate(180deg);
}
header .flex-1 {
  margin-left: -1rem;
}

@media (min-width: 1024px) {
  header .lg\:px-16 {
    padding-left: 2rem;
  }
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  background-color: rgba(9, 22, 23, 0.95);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1;
  border-radius: 8px;
  top: calc(100% + 0.5rem);
  padding: 0.5rem 0;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
  color: #fff7e6;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

/* Dropdown arrow */
.dropdown > a::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 0.5em;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Show dropdown when parent is active */
.dropdown.active .dropdown-content {
  display: block;
}

.dropdown.active > a::after {
  transform: rotate(180deg);
}

@media all and (max-width: 1200px) {
  #ablauf,
  #vf-was,
  #vf-warum,
  #about,
  #vision,
  #filmarbeit {
    min-height: auto;
    height: auto;
  }
}

@media all and (max-width: 768px) {
  header .flex-1 {
    margin-left: -6px !important;
  }

  svg {
    fill: #fff !important;
    cursor: pointer;
  }

  /* Mobile menu styles */
  #menu {
    display: block !important;
    position: fixed !important;
    top: 0px;
    left: -120%;
    width: calc(100% - 55px);
    height: 100%;
    transition: 0.3s;
    background: #091617;
    padding: 30px;
  }

  #menu.active {
    display: block;
    left: 0 !important;
    transition: 0.3s;
  }

  .dropdown.active .dropdown-content {
    display: block;
    visibility: visible;
    opacity: 1;
    position: inherit;
  }

  #hero {
    background-position: center !important;
  }

  .m-full {
    height: auto !important;
  }

  .hero-section {
    background-position: center !important;
    background-size: cover;
  }
}
@media all and (max-width: 767px) {
  .text-heroheading {
    font-size: 3.2rem;
    line-height: 1.2;
  }
}

/* NEUE SECTIONS STYLING */

/* Feinere Abstufung für verschiedene Bildschirmgrößen */
@media screen and (max-width: 1024px) {
  .hero-section {
    background-position: 45% center;
    background-size: cover;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    background-position: 40% center;
    background-size: cover;
  }
}

@media screen and (max-width: 640px) {
  .hero-section {
    background-position: 35% center;
    background-size: cover;
  }
}

/* Für sehr schmale Bildschirme */
@media screen and (max-width: 480px) {
  .hero-section {
    background-position: 30% center;
    background-size: cover;
  }
}

/* Für Geräte im Landscape-Modus */
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-section {
    background-position: center 30%;
    background-size: cover;
  }
}

