/* Vita Page Styles */

/* Main Container */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px var(--spacing);
    min-height: calc(100vh - 300px);
}

/* Intro Section */
.contact-intro {
    margin-bottom: 60px;
    text-align: left;
}

.contact-intro h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
    color: var(--color-text);
}

.contact-intro p {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 600px;
}

/* Submit Button */
.submit-btn {
    background: var(--color-text);
    color: var(--color-bg);
    border: 2px solid var(--color-text);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.submit-btn:hover {
    background: transparent;
    color: var(--color-text);
    transform: translateY(-2px);
}

/* Intro Content mit Bild + Text nebeneinander */
.vita-intro-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

/* Profilbild */
.vita-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vita-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vita-intro-content p {
    flex: 1;
    margin: 0;
}

/* Vita Sections */
.vita-section {
    margin-bottom: 40px;
}

.vita-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

/* Skills Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.skill-tag {
    background: #f5f5f5;
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--color-text);
    transition: var(--transition);
}

.skill-tag:hover {
    background: #fff;
    border-color: var(--color-text);
    transform: translateY(-2px);
}

/* Experience Items */
.experience-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 20px;
    flex-wrap: wrap;
}

.experience-title {
    flex-grow: 1;
}

.experience-title h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
}

.experience-company {
    font-size: 16px;
    color: var(--color-text-light);
}

.experience-period {
    font-size: 14px;
    color: var(--color-text-light);
    white-space: nowrap;
    font-weight: 500;
}

/* Education Items */
.education-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
    gap: 20px;
}

.education-item:first-child {
    padding-top: 0;
}

.education-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.education-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
}

.education-school {
    font-size: 16px;
    color: var(--color-text-light);
}

.education-year {
    font-size: 14px;
    color: var(--color-text-light);
    white-space: nowrap;
    font-weight: 500;
}

/* CTA Section */
.vita-cta {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.vita-cta p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.vita-cta .submit-btn {
    display: inline-block;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 40px var(--spacing);
    }
    
    .contact-intro h2 {
        font-size: 32px;
    }
    
    .contact-intro p {
        font-size: 16px;
    }
    
    /* Bild und Text untereinander auf Mobile */
    .vita-intro-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .vita-profile-image {
        width: 150px;
        height: 150px;
    }
    
    .vita-intro-content p {
        text-align: left;
    }
    
    .vita-section h3 {
        font-size: 20px;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .experience-period,
    .education-year {
        white-space: normal;
    }
    
    .education-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .vita-cta {
        margin-top: 60px;
        padding-top: 30px;
    }
    
    .vita-cta p {
        font-size: 16px;
    }
}

