/* Base Styles */
.homepage {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}


/* Hero Section */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 6rem 2rem;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}



.linku-image {
    text-align: center;
    padding: 2rem;

    border-radius: 1rem;

    max-width: 600px;
    margin: 0 auto;
}

.linku-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.linku-image img:hover {
    transform: scale(1.005);
}




.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}







/* Search Component */
.home-search-container {
    margin: 2rem 0;
}

.home-search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
}

.home-search-input-wrapper {
    position: relative;
    flex: 1;
}

.home-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.home-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.home-search-button {
  padding: 0.5rem 1.5rem; /* Reduziertes Padding für schmalere Breite */
  min-width: 120px; /* Mindestbreite für bessere Lesbarkeit */
  width: auto; /* Anpassbare Breite basierend auf Inhalt */
  border: none;
  border-radius: 12px;
  font-size: 0.9rem; /* Leicht reduzierte Schriftgröße */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  display: inline-flex; /* Für bessere Icon-Ausrichtung falls benötigt */
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* Abstand zwischen Icon und Text falls vorhanden */
}





.home-search-button:hover {
    color: white;
    transform: translateY(-1px);
    background-color: var(--secondary-color);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .home-search-form {
        flex-direction: column;
                  align-items: center;
            justify-content: center;
    }
    
    .home-search-button {
        width: 10%;
          align-items: center;
            justify-content: center;
    }
}


.home-search-input-wrapper {
        width: 100%;
    flex: 1;
}





/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--card-bg);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 3rem;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--light-text);
}

.step-image {
    width: 120px;
}

.step-image img {
    width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .step-content {
        text-align: center;
    }
}










/* Features/Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--light-text);
    font-size: 0.875rem;
}




/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--card-bg);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin: 0 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--light-text);
    font-size: 0.875rem;
}









/* CTA Section */
.cta {
    padding: 6rem 0;
    color: var(--light-text);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 3rem;
}

.cta-content {
    flex: 1;
    max-width: 600px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary);
}

.cta-button.primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-image img {
    max-width: 20%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cta-image img:hover {
    transform: scale(1.03);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .cta-container {
        
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
            align-items: center;

         flex-direction: column;
        max-width: 100%;
    
    }
        .cta-buttons {
        flex-direction: column;
              align-items: center;
        width: 100%;
    }
}

    

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
              align-items: center;
        width: 100%;
    }
    
    .cta-button {
        width: 10%;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}


/* Jobs Grid Layout */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
}

.no-jobs img {
    max-width: 300px;
    margin-bottom: 1.5rem;
}
