/* Berater-Profil - Premium Design */
/* Inherits all base styles from base.css */

/* CV-specific layout */
.cv-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

.cv-main {
    padding: 120px 0 0;
}

/* Subtle back button */
.nav-cta-muted {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--gray);
}

.nav-cta-muted:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: transparent;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-hero {
    animation: fadeInUp 0.6s ease-out;
}

.profile-stats {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.profile-section {
    animation: fadeInUp 0.5s ease-out both;
}

.profile-section:nth-child(1) { animation-delay: 0.15s; }
.profile-section:nth-child(2) { animation-delay: 0.2s; }
.profile-section:nth-child(3) { animation-delay: 0.25s; }
.profile-section:nth-child(4) { animation-delay: 0.3s; }
.profile-section:nth-child(5) { animation-delay: 0.35s; }

.cta-section {
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

/* Hero */
.profile-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 0;
    flex-wrap: wrap;
    position: relative;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 26, 31, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.profile-topline {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.profile-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    display: inline-block;
    padding: 6px 14px;
    background: rgba(196, 26, 31, 0.1);
    border-radius: 4px;
}

.profile-intro h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 12px;
    color: var(--white);
    line-height: 1.1;
}

.profile-role {
    font-size: 1.125rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.profile-tagline {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--red);
    margin-bottom: 32px;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Availability Badge */
.profile-available {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    color: #4ade80;
    font-size: 0.875rem;
    font-weight: 600;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(196, 26, 31, 0.3);
}

.btn-primary svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 26, 31, 0.4);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 64px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.stat {
    padding: 28px 20px;
    background: var(--black);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.stat:hover {
    background: rgba(255,255,255,0.03);
}

.stat:hover .stat-value {
    color: var(--red);
}

.stat-icon {
    display: none;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 8px;
    line-height: 1;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Sections */
.profile-section {
    margin-bottom: 48px;
}

.profile-section h2 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-section h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--red);
    border-radius: 2px;
}

.profile-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent);
}

/* Clients */
.profile-clients {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-clients span {
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}

.profile-clients span:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* Focus Cards */
.profile-focus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.focus-card {
    padding: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.focus-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.focus-card:hover {
    background: rgba(196, 26, 31, 0.08);
    border-color: rgba(196, 26, 31, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.focus-card:hover::after {
    opacity: 1;
}

.focus-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 26, 31, 0.15);
    border: 1px solid rgba(196, 26, 31, 0.3);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--red);
    transition: all 0.3s ease;
}

.focus-card:hover .focus-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.05);
}

.focus-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.focus-card p {
    font-size: 0.9375rem;
    color: var(--gray-text-light);
    line-height: 1.6;
}

/* Highlight Cards */
.profile-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    padding: 32px 36px;
    background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--red) 0%, rgba(196, 26, 31, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(196, 26, 31, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card:hover::after {
    opacity: 1;
}

/* First highlight is featured */
.highlight-card:first-child {
    background: linear-gradient(145deg, rgba(196, 26, 31, 0.12) 0%, rgba(255,255,255,0.03) 100%);
    border-color: rgba(196, 26, 31, 0.3);
    padding: 36px 40px;
}

.highlight-card:first-child::before {
    opacity: 1;
    width: 4px;
}

.highlight-card:first-child h3 {
    font-size: 1.75rem;
}

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

.highlight-client {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    background: rgba(196, 26, 31, 0.15);
    border: 1px solid rgba(196, 26, 31, 0.3);
    border-radius: 50px;
}

.highlight-result {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ade80;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.highlight-card > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tags span {
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.2s ease;
}

.highlight-card:hover .highlight-tags span {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

/* Tech */
.profile-tech {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-core {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-core span {
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}

.tech-core span:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.tech-also {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-also span {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-text-light);
    transition: all 0.3s ease;
}

.tech-also span:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: var(--white);
}

/* Profile CTA */
.profile-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 40px 48px;
    background: linear-gradient(145deg, rgba(196, 26, 31, 0.1) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(196, 26, 31, 0.25);
    border-radius: 20px;
    margin-bottom: 80px;
}

.profile-cta-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 500px;
}

.profile-cta .btn-primary {
    flex-shrink: 0;
    padding: 16px 32px;
    font-size: 1rem;
}

/* International Locations */
.profile-international {
    margin-bottom: 56px;
}

.profile-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-locations span {
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}

.profile-locations span:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* CTA is now outside .cv-container, no width hack needed */

/* Responsive */

@media (max-width: 768px) {
    .cv-container {
        padding: 0 20px;
    }

    .nav-content {
        padding: 0 20px;
    }

    .profile-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .profile-cta-content p {
        max-width: none;
    }

    .profile-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .profile-hero {
        flex-direction: column;
        gap: 32px;
    }

    .profile-hero::before {
        display: none;
    }

    .profile-topline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .profile-intro h1 {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .profile-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-icon {
        display: none;
    }

    .profile-focus {
        grid-template-columns: 1fr;
    }

    .focus-card {
        padding: 24px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .profile-eyebrow {
        font-size: 0.625rem;
        padding: 5px 10px;
        letter-spacing: 2px;
    }

    .profile-available {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .profile-intro h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .profile-role {
        font-size: 1rem;
    }

    .profile-tagline {
        font-size: 0.9375rem;
        padding-left: 14px;
    }

    .profile-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 20px 12px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.625rem;
    }

    .highlight-card {
        padding: 20px;
    }

    .highlight-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .highlight-card h3 {
        font-size: 1.125rem;
    }

    .focus-icon {
        width: 44px;
        height: 44px;
    }

    .focus-card h3 {
        font-size: 1.0625rem;
    }

    .profile-section h2 {
        font-size: 0.625rem;
    }

    .profile-clients span {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    .tech-core span {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
}
