/* Process Diagram Styles */

.process-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

.process-step {
    background: #ffffff;
    padding: 2.5rem 2rem 2rem;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(0, 156, 222, 0.35);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Einfache Verbindungslinien */
.process-step:nth-child(odd):not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3.5rem;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: var(--color-primary);
    opacity: 0.5;
}

.process-step:nth-child(1)::before,
.process-step:nth-child(2)::before,
.process-step:nth-child(3)::before {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 2px;
    height: 2rem;
    background: var(--color-primary);
    opacity: 0.5;
}

/* Hover-Effekte */
.process-step:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 156, 222, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.08);
}

/* Icon-Container */
.process-icon-wrapper {
    position: absolute;
    top: -0.75rem;
    left: 2rem;
    background: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 156, 222, 0.35);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    text-align: center;
    line-height: 1.25rem;
}

/* Titel und Content Styles */
.process-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #001373;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-primary);
    width: 2.5rem;
    transition: width 0.3s ease;
}

.process-step:hover .process-title {
    width: 100%;
}

.process-description {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-diagram {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-step {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .process-icon-wrapper {
        left: 1.5rem;
    }

    .process-step::before,
    .process-step::after {
        display: none;
    }
} 