/* --- PREMIUM GLASSMORPHISM VARIABLES --- */
:root {
    --primary: #0f172a;        /* Deep Slate */
    --accent-1: #3b82f6;       /* Bright Blue */
    --accent-2: #0ea5e9;       /* Cyan */
    --accent-3: #8b5cf6;       /* Purple (for mesh mix) */
    
    --bg-base: #f8fafc;        /* Very light slate */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 99px;
    
    --transition-snappy: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- MESH GRADIENT BACKGROUND --- */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #e2e8f0;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite alternate ease-in-out;
}

.color-1 {
    top: -10%; left: -10%;
    width: 60vw; height: 60vw;
    background: var(--accent-1);
    animation-delay: 0s;
}

.color-2 {
    bottom: -20%; right: -10%;
    width: 70vw; height: 70vw;
    background: var(--accent-2);
    animation-delay: -5s;
}

.color-3 {
    top: 30%; left: 40%;
    width: 50vw; height: 50vw;
    background: #e0f2fe;
    animation-delay: -10s;
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 10%) scale(1.1); }
    100% { transform: translate(-5%, 15%) scale(0.9); }
}

/* --- UTILITIES & TYPOGRAPHY --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section { padding: 8rem 0; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title { margin-bottom: 4rem; text-align: center; }
.section-title h2 { font-size: 3rem; color: var(--primary); }
.eyebrow {
    display: inline-block;
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-pill);
}

.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* --- GLASSMORPHISM COMPONENTS --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.hover-float { transition: var(--transition-smooth); }
.hover-float:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.hover-glow { transition: var(--transition-smooth); }
.hover-glow:hover {
    transform: scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-snappy);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-1);
    transform: translateY(-2px);
}

.btn-glow { box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3); }
.btn-glow:hover { box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4); }

.btn-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary);
}

.btn-glass:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background: var(--primary);
    color: white !important;
    font-size: 0.9rem;
}

.btn-nav:hover { background: var(--accent-1); }

/* --- NAVBAR --- */
.glass-nav {
    position: fixed;
    top: 1rem;
    left: 5%;
    width: 90%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-snappy);
}

.nav-links a:hover { color: var(--primary); }
.menu-icon { display: none; font-size: 1.4rem; color: var(--primary); cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* Account for nav */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: #10b981; /* Green for available/active */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 90%; }
.hero-actions { display: flex; gap: 1rem; }

.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.profile-card-hero {
    width: 100%; max-width: 450px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hover-tilt:hover { transform: rotate(0deg) scale(1.02); }

.profile-image-container {
    width: 100%; height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--glass-shadow);
}

.medical-abstract-img { width: 100%; height: 100%; object-fit: cover; }
.image-overlay-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15,23,42,0.6) 0%, transparent 50%);
    z-index: 1;
}

.profile-info-floating {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex; gap: 0.5rem; align-items: center;
    z-index: 2;
}

.fb-1 { top: 10%; right: -10%; animation: floatBadge 6s infinite ease-in-out alternate; }
.fb-2 { bottom: 15%; left: -10%; animation: floatBadge 5s infinite ease-in-out alternate-reverse; }

@keyframes floatBadge { from { transform: translateY(0); } to { transform: translateY(-15px); } }

/* --- ABOUT SECTION --- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.about-card { position: relative; }
.quote-mark {
    font-size: 4rem; position: absolute; top: 1rem; right: 2rem;
    opacity: 0.1; color: var(--primary);
}
.pt-gradient { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.about-lead { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; font-style: italic; }
.about-card p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.1rem; }

.personal-details { display: flex; gap: 2rem; border-top: 1px solid var(--glass-border); padding-top: 1.5rem; }
.detail-item { display: flex; flex-direction: column; }
.detail-item .label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.detail-item .value { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

.motivation-card h3 { font-size: 1.8rem; color: var(--primary); }
.motivation-card p { color: var(--text-muted); }
.gradient-line { height: 3px; width: 50px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); margin: 1.5rem 0; border-radius: 3px; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; font-weight: 600; color: var(--primary); }
.check-list i { color: var(--accent-2); }

/* --- TIMELINE (Erfahrung) --- */
.timeline-modern { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-modern::before {
    content: ''; position: absolute; left: 150px; top: 0; bottom: 0;
    width: 2px; background: rgba(59, 130, 246, 0.2);
}

.timeline-row { display: flex; gap: 3rem; margin-bottom: 3rem; position: relative; }
.timeline-time { width: 120px; text-align: right; padding-top: 1.5rem; flex-shrink: 0; }
.timeline-time .year { display: block; font-weight: 800; color: var(--primary); font-size: 1.1rem; }
.timeline-time .location { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.timeline-card { flex-grow: 1; padding: 2rem; }
.card-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.icon-wrap {
    width: 60px; height: 60px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.gradient-bg { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); }
.gradient-bg-2 { background: linear-gradient(135deg, #f43f5e, #fb923c); }
.gradient-bg-3 { background: linear-gradient(135deg, #10b981, #0ea5e9); }

.timeline-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 0.3rem; }
.company { font-weight: 600; color: var(--accent-1); font-size: 0.95rem; }

.glass-list { list-style: none; }
.glass-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--text-muted); }
.glass-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-2);
}

/* --- AUSBILDUNG CARDS --- */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.edu-card { text-align: center; padding: 3rem 2rem; }
.edu-icon {
    width: 70px; height: 70px; background: rgba(255, 255, 255, 0.5);
    border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--accent-1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.edu-year { font-weight: 800; color: var(--accent-2); margin-bottom: 0.5rem; }
.edu-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.edu-inst { display: block; font-weight: 600; color: var(--text-muted); margin-bottom: 1rem; font-size: 0.9rem; }
.edu-desc { color: var(--text-muted); font-size: 0.95rem; }

/* --- SKILLS --- */
.skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.skills-info p { font-size: 1.1rem; color: var(--text-muted); }

.lang-skills { display: flex; flex-direction: column; gap: 1.5rem; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-weight: 700; color: var(--primary); }
.skill-info span:last-child { color: var(--accent-1); }
.progress-track { width: 100%; height: 10px; background: rgba(15, 23, 42, 0.05); border-radius: var(--radius-pill); overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); border-radius: var(--radius-pill); }

.chip-container { display: flex; flex-wrap: wrap; gap: 1rem; }
.glass-chip {
    padding: 0.8rem 1.5rem; background: rgba(255,255,255,0.6);
    border: 1px solid var(--glass-border); border-radius: var(--radius-pill);
    font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.5rem;
    transition: var(--transition-snappy); cursor: default;
}
.glass-chip:hover { background: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.glass-chip i { color: var(--accent-2); }
.highlight-chip { background: var(--primary); color: white; border-color: var(--primary); }
.highlight-chip i { color: var(--accent-2); }
.highlight-chip:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); }

/* --- FOOTER CTA --- */
.footer-cta { padding: 4rem 0 2rem; }
.footer-card { padding: 5rem 3rem; background: rgba(255, 255, 255, 0.8); }
.lead-text { font-size: 1.25rem; max-width: 700px; margin: 0 auto; color: var(--text-muted); }

.contact-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-item {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem 2.5rem; background: white; border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    text-align: left;
}
.contact-icon {
    width: 60px; height: 60px; background: var(--bg-base);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent-1);
}
.contact-item span { display: block; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.contact-item strong { display: block; font-size: 1.2rem; color: var(--primary); }

.footer-bottom { text-align: center; margin-top: 4rem; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }

/* --- ANIMATIONS (Intersection Observer classes) --- */
.fade-in { opacity: 0; transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.appear { opacity: 1; transform: translate(0); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid, .skills-layout { grid-template-columns: 1fr; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { justify-content: center; margin-top: 3rem; }
    .profile-card-hero { transform: rotate(0); }
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .glass-nav { top: 0; left: 0; width: 100%; border-radius: 0; padding: 0.5rem 0; }
    .nav-links {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; transition: 0.4s ease-in-out;
    }
    .nav-links.active { left: 0; }
    .menu-icon { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .timeline-modern::before { left: 40px; }
    .timeline-row { flex-direction: column; gap: 1rem; }
    .timeline-time { text-align: left; padding-top: 0; padding-left: 60px; width: 100%; }
    .timeline-card { margin-left: 50px; }
    .cards-grid-3 { grid-template-columns: 1fr; }
    .contact-item { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .glass-card { padding: 1.5rem; }
    .personal-details { flex-direction: column; gap: 1rem; }
}
