/* 
 * Hero-Section CSS für Intuatem
 * Diese Datei enthält alle CSS-Definitionen für die Hero-Section
 */

/* Basis-Struktur der Hero-Section */
.hero-section {
  position: relative;
  overflow: hidden;
  margin: 0 !important; /* Kein Margin oben und unten, mit höherer Spezifität */
  padding: 0 !important; /* Kein Padding, mit höherer Spezifität */
  display: block; /* Sicherstellen, dass es ein Block-Element ist */
}

/* Überschreiben des Standardverhaltens für aufeinanderfolgende Sektionen */
section.hero-section + section {
  margin-top: 0 !important;
}

.hero-image-container {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin: 0; /* Kein Margin */
  padding: 0; /* Kein Padding */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Entfernt möglichen Whitespace unter dem Bild */
  margin: 0; /* Kein Margin */
  padding: 0; /* Kein Padding */
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 800px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 4px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Anpassungen für Hero-Section */
@media (max-width: 768px) {
  .hero-image-container {
    height: 450px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-image-container {
    height: 350px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}
