/* =============================
   hero.css
============================= */
.hero {
  position: relative;
  color: var(--white); /* Use variable */
  padding: 180px 0 100px; /* Adjusted padding */
  text-align: center;
  overflow: hidden;
  z-index: 1;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(5, 22, 77, 0.65);
  z-index: 0;
}
.hero .container {
  position: relative;
}
.img_logo {
  position: absolute;
  top: 50px;
  left: 60px;
  z-index: 1;
  max-width: 200px;
  margin: 0;
}
.img_claim {
  position: absolute;
  top: 65px;
  right: 60px;
  z-index: 1;
  max-width: 200px;
  margin: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.7em;
  margin-bottom: 25px; /* Increased margin */
  font-weight: 700;
}
/* Removed animated-gradient styles */
.animated-gradient {
    color: var(--secondary-yellow);
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 3s linear infinite;
}

.hero p {
  font-size: 1.2em;
  line-height: 1.7; /* Use global line-height */
  max-width: 650px; /* Limit paragraph width */
  margin-left: auto;
  margin-right: auto;
}

/* Note: .cta-button styles are now handled globally in global.css */
/* We might need specific overrides here if needed later */


/* Scroll-down-Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #FFD700;
  opacity: 0.8;
  cursor: pointer;
  transition: transform 0.3s;
}
.scroll-down:hover {
  transform: translateX(-50%) translateY(-5px);
}



/* =============================
   HERO SECTION - MOBILE OPTIMIZATIONS
============================= */
@media (max-width: 768px) {
    .hero {
        padding: 95px 0 95px;
        text-align: center;
    }

    /* Logo zentrieren und anpassen */
    .img_logo {
        position: absolute;
        max-width: 200px; /* Ggf. Größe anpassen für zentrierte Darstellung */
        top: 50px;
        left: 50%; /* Horizontal zentrieren */
        transform: translateX(-50%); /* Korrektur für die Zentrierung */
        z-index: 1;
        margin: 0;
    }

    /* Claim ausblenden */
    .img_claim {
        display: none; /* Claim auf Mobilgeräten ausblenden */
    }

    /* Textgrößen anpassen */
    .hero h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
        margin-top: 15px; /* Mehr Abstand nach oben, da Logo jetzt zentriert ist */
        line-height: normal;
    }
    .hero p {
        font-size: 1em;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Anpassung für den Auswahl-Hinweis und das Dropdown */
    .hero p[style*="margin-top: 30px"] {
        margin-top: 20px !important;
        font-size: 0.85em;
    }

    #role-select {
        padding: 12px 20px;
        padding-right: 45px;
        font-size: 0.95em;
        width: 80%;
        max-width: 300px;
        margin-bottom: 0;
    }

    /* Scroll-Down-Indikator ggf. anpassen oder ausblenden */
    .scroll-down {
        bottom: 15px;
        font-size: 1.5rem;
    }

    /* Container-Padding auf Mobile reduzieren, falls nötig */
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
        height: 109px;
        padding: 10px;
    }
}

/* Zusätzliche Anpassung für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6em;
        margin-top: 0px; /* Abstand ggf. weiter anpassen */
    }
    .img_logo {
        max-width: 150px; /* Logo noch kleiner */
        top: 40px;
    }
    #role-select {
        width: 90%;
    }
}
