/* ============================================
   ZAUR PRO — MAIN STYLESHEET
   German Design · Dark Theme · Mobile-first
   ============================================ */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #525252;
    --accent: #2563EB;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.25);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10,10,10,0.95);
    border-bottom-color: var(--border);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-text {
    color: var(--text-primary);
}

.logo-dot {
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(99,102,241,0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 80%, rgba(37,99,235,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    margin-bottom: 16px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.hero-photo-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.hero-photo-ring {
    position: absolute;
    inset: -8px;
    border: 1px solid var(--border);
    border-radius: 50%;
    animation: spin 20s linear infinite;
    border-top-color: var(--accent);
    border-right-color: transparent;
    border-bottom-color: var(--accent);
    border-left-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: var(--bg-secondary);
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 16px;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-photo {
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.about-photo-placeholder {
    width: 320px;
    height: 380px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: var(--accent);
    opacity: 0.6;
}

.about-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 24px 32px;
    display: flex;
    gap: 32px;
}

.about-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.skill-group {
    padding: 32px;
    transition: var(--transition);
    cursor: default;
}

.skill-group:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.skill-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.skill-group-icon {
    font-size: 2rem;
}

.skill-group-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.skill-icon {
    font-size: 1.1rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-bar {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-bar-fill.animated {
    /* width set by JS */
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */

.experience-section {
    background: var(--bg-secondary);
    padding: 120px 0;
}

.experience-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.timeline-content {
    padding: 24px 28px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-hover);
}

.timeline-header {
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.timeline-period {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   VALUES / DSGVO SECTION
   ============================================ */

.values-section {
    padding: 120px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA / FOOTER SECTION
   ============================================ */

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.cta-section {
    text-align: center;
    padding: 100px 0 80px;
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.sep {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ============================================
   RESPONSIVE — MOBILE FIRST
   ============================================ */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: 1;
    }

    .hero-photo-wrapper {
        width: 240px;
        height: 240px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .about-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 24px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 24px;
        border-left: 1px solid var(--border);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }

    .nav-list.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero-section {
        min-height: 90vh;
        padding-top: 100px;
    }

    .hero-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 80px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .experience-timeline {
        padding-left: 32px;
    }

    .timeline-dot {
        left: -26px;
    }

    .cta-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-card {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-photo-wrapper {
        width: 160px;
        height: 160px;
    }

    .skill-group {
        padding: 20px;
    }
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
    background: var(--accent);
    color: #fff;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
