/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(180deg, #9EC9FE 0%, var(--background) 45%);
    padding: 4rem 2rem;
    font-family: 'Inter', 'Arial', sans-serif;
}

.hero-content {
    flex: 1;
    padding-right: 4rem;
    max-width: 600px;
}

.hero-content a {
    text-decoration: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1a365d;
    line-height: 1.1;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 400;
}

.services-list {
    margin-bottom: 3rem;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    color: #2d3748;
    line-height: 1.6;
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.services-list li:before {
    content: "✓";
    color: #4299e1;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    background: #ebf8ff;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    min-width: 30px;
    text-align: center;
}

.services-list li:last-child {
    border-bottom: none;
}

.cta-button {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.cta-button:hover {
    background: var(--primary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

/* Services Section */
.services-section {
    padding: 6rem 2rem;
    background: var(--background);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.services-image {
    display: flex;
    justify-content: center;
}

.services-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.services-image img:hover {
    transform: scale(1.02);
}

.services-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-item {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #4299e1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateX(10px);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
}

.deadline-badge {
    display: inline-block;
    background: #fed7d7;
    color: #c53030;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.8rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item {
    animation: fadeInUp 0.6s ease-out;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }

/* timeline section */

.timeline-container {
    background-color: var(--background);
    padding: 20px;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.timeline-container h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    margin-top: 0;
}

.timeline-container h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
    border-radius: 2px;
}

.timeline-container .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Zentrale Linie */
.timeline-container .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #3498db;
    border-radius: 2px;
}

.timeline-container .timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-container .timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-container .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Rechte Elemente (ungerade) */
.timeline-container .timeline-item:nth-child(odd) .timeline-content {
    right: -60%;
}

/* Linke Elemente (gerade) - Korrektur: Abstand von der Linie */
.timeline-container .timeline-item:nth-child(even) .timeline-content {
    left: -10%;
}

/* Kreise auf der Linie */
.timeline-container .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3498db;
    border: 4px solid white;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.timeline-container h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.4rem;
    margin-top: 0;
}

.timeline-container p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Card Layout */
.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.card-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.card-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.4rem;
}

.card p {
    color: var(--text);
    line-height: 1.6;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.card-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Contact Section */
.contact {
    background: var(--background);
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: var(--primary);
    margin-top: 0;
}

.contact-card p {
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-block;
    color: var(--secondary);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.phone-btn {
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whatsapp-btn {
    background: var(--background);
    color: var(--whatsapp);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phone-btn:hover, .whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Partner Section */
.partners {
    background: var(--background);
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.partners-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.partner-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.partner-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.partner-content {
    padding: 2rem;
}

.partner-content h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.5rem;
}

.partner-content p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.partner-link {
    display: inline-block;
    color: var(--secondary);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    /* hero */
    .hero-image img {
        max-width: 100%;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content a {
        font-size: 0.7rem;
    }

    .services-list li {
        justify-content: center;
        text-align: left;
    }
    /* service */
    .services-section {
        padding: 4rem 1rem;
    }
    /* timeline */
        .timeline-container .timeline::before {
        left: 20px;
    }
    
    .timeline-container .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
    
    .timeline-container .timeline-item::after {
        left: 20px;
    }
    
    .timeline-container h2 {
        font-size: 2rem;
    }
    /* card */
    .card-grid {
        grid-template-columns: 1fr;
    }
    /* contact */
    .contact {
    padding: 4rem 1rem;
    }
    .contact-header h2 {
    font-size: 2rem;
    }
    .contact-cards {
    grid-template-columns: 1fr;
    }
    /* partner */
    .partner-grid {
    grid-template-columns: 1fr;
    }
    
    .partners-header h2 {
    font-size: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    /* service */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-image {
        order: 2;
    }
    
    .services-list-detailed {
        order: 1;
    }
    
    .services-header h2 {
        font-size: 2.2rem;
    }
}