/* 
 * Hero CSS für wissen4vertrieb.de
 * Definiert die Hero-Bereiche für verschiedene Seitentypen
 */

/* Hero Container */
.hero-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 4rem 0;
  color: white;
  position: relative;
}

.blog-hero .hero-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.blog-hero .hero-tagline {
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--accent-color);
}

.blog-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-hero .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero .search-container {
  max-width: 600px;
  margin: 2rem auto;
}

.blog-hero .search-form .form-control {
  height: 3.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 4px 0 0 4px;
}

.blog-hero .search-form .btn {
  padding: 0 1.5rem;
  font-size: 1.1rem;
  border-radius: 0 4px 4px 0;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.blog-hero .featured-post {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.blog-hero .featured-label {
  display: inline-block;
  background: var(--primary-color);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-hero .featured-title {
  font-size: 1.4rem;
  margin: 0;
}

.blog-hero .featured-title a {
  color: white;
  text-decoration: none;
}

.blog-hero .featured-title a:hover {
  color: var(--accent-color);
}

/* Homepage Hero */
.home-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: var(--primary-color);
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/hero-background.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: subtleZoom 20s ease-out infinite alternate;
}

.home-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,19,115,0.95) 0%, rgba(12,120,180,0.92) 100%);
    z-index: 1;
    animation: subtleFade 20s ease-out infinite alternate;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes subtleFade {
    0% {
        opacity: 0.94;
    }
    100% {
        opacity: 0.98;
    }
}

.home-hero .container {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.home-hero .hero-logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.home-hero .hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 1);
    margin-top: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home-hero .hero-title {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.home-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home-hero .hero-cta .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-hero .hero-cta .btn:hover {
    transform: translateY(-2px);
    background-color: var(--accent-color-hover);
    border-color: var(--accent-color-hover);
}

/* Hero Features */
.hero-features {
    margin-top: 4rem;
}

.feature-item {
    height: 100%;
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 1.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Spezieller Hover-Effekt nur für vertikale Bewegung */
.feature-item.vertical-hover {
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-item.vertical-hover:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.20);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item .feature-icon {
    margin-bottom: 1.5rem;
    color: white;
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.feature-item .feature-icon i {
    display: block;
    font-size: 3rem;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
}

.feature-item .feature-content {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .home-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .home-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        margin-top: 3rem;
    }
    
    .feature-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: auto;
        padding: 5rem 0;
    }
    
    .home-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .home-hero .hero-logo {
        max-width: 200px;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
} 
